@font-face { font-family: "Readex Pro"; src: url("readex.ttf") format("truetype"); font-weight: 160 700; font-display: swap; }
:root { --g: #2B3D16; --y: #FEFCE0; --b: #7C0631; --bg: #F6F4EA; --line: #e6e2cf; --mu: #6b6f5e; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: #1c260f; font-family: "Readex Pro", system-ui, Tahoma, sans-serif; font-size: 15px; }
.j { max-width: 460px; margin: 0 auto; padding: 20px 18px 40px; min-height: 100vh; }
.j-top { display: flex; align-items: center; justify-content: space-between; height: 48px; }
.j-key { height: 34px; }
.j-back { width: 40px; height: 40px; border-radius: 20px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; color: var(--g); font-size: 26px; text-decoration: none; line-height: 1; }
[dir=rtl] .j-back { transform: scaleX(-1); }
.j-link { color: var(--g); font-size: 13px; text-decoration: none; }
.j-progress { display: flex; height: 6px; background: #e8e4cc; border-radius: 3px; margin-top: 14px; overflow: hidden; }
.j-progress span { display: block; height: 100%; background: var(--g); border-radius: 3px; }
.j-count { color: var(--mu); font-size: 12px; margin: 8px 0 14px; }
.j-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px 18px; display: flex; flex-direction: column; gap: 8px; }
h1 { font-size: 21px; margin: 0; }
.j-sub { color: var(--mu); margin: 0 0 10px; line-height: 1.6; }
label { font-size: 13px; font-weight: 500; margin-top: 6px; }
input:not([type=radio]):not([type=checkbox]):not([type=file]) { width: 100%; height: 50px; border: 1.5px solid var(--line); border-radius: 14px; padding: 0 14px; font: inherit; background: #fff; }
input:focus { outline: none; border-color: var(--g); box-shadow: 0 0 0 3px rgba(43,61,22,.12); }
.j-phone { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 14px; overflow: hidden; }
.j-phone span { padding: 0 12px; color: var(--mu); border-right: 1px solid var(--line); height: 50px; display: grid; place-items: center; }
.j-phone input { border: 0 !important; box-shadow: none !important; }
.j-code { text-align: center; font-size: 26px; letter-spacing: 12px; font-weight: 600; }
.j-types { border: 0; padding: 0; margin: 8px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.j-types legend { font-size: 13px; font-weight: 500; margin-bottom: 8px; padding: 0; }
.j-type { margin: 0; cursor: pointer; }
.j-type input { position: absolute; opacity: 0; }
.j-type span { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 4px; border: 1.5px solid var(--line); border-radius: 14px; font-size: 13px; text-align: center; min-height: 54px; justify-content: center; }
.j-type img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.j-type input:checked + span { border-color: var(--g); background: var(--y); font-weight: 600; }
.j-type input:focus-visible + span { outline: 2px solid var(--b); }
.j-btn { margin-top: 14px; height: 52px; border: 0; border-radius: 26px; background: var(--g); color: var(--y); font: inherit; font-weight: 600; font-size: 16px; cursor: pointer; }
.j-btn:focus-visible, .j-ghost:focus-visible { outline: 3px solid var(--b); outline-offset: 2px; }
.j-ghost { background: none; border: 0; color: var(--g); font: inherit; font-size: 14px; cursor: pointer; text-decoration: underline; padding: 8px 4px; }
.j-skip { align-self: center; }
.j-row { display: flex; justify-content: space-between; }
.j-err { color: var(--b); font-size: 13px; margin: 2px 0 0; }
.j-hint { color: var(--mu); font-size: 12px; margin: 4px 0 0; }
.j-alert { background: #fbe9ee; color: var(--b); border-radius: 12px; padding: 10px 14px; margin-bottom: 10px; font-size: 14px; }
.j-alert--ok { background: #eef4e4; color: var(--g); }
.j-drop { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 26px; border: 2px dashed #d9d3a6; border-radius: 18px; background: var(--y); cursor: pointer; text-align: center; }
.j-drop input { max-width: 100%; }
.j-drop img { width: 96px; height: 96px; border-radius: 48px; object-fit: cover; }
.j-terms { max-height: 260px; overflow: auto; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; font-size: 13px; line-height: 1.8; color: #333; }
.j-check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 14px; }
.j-check input { width: 20px; height: 20px; accent-color: var(--g); margin-top: 2px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
