.gov-strip { background: var(--brand-2); color: #d6e8e5; font-size: 12.5px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .gov-strip { background: #0b1312; } }
.gov-strip .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 36px; }
.lang-toggle { flex: none; display: inline-flex; border: 1px solid rgba(255,255,255,.25); border-radius: 6px; overflow: hidden; }
.lang-toggle button { background: transparent; border: 0; color: #d6e8e5; padding: 3px 10px; cursor: pointer; font-size: 12.5px; }
.lang-toggle button[aria-pressed="true"] { background: rgba(255,255,255,.18); color: #fff; font-weight: 600; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }

header.site { background: var(--surface); border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); min-width: 0; }
.brand img { width: 52px; height: 52px; object-fit: contain; flex: none; }
.brand .mark { width: 48px; height: 48px; border-radius: 12px; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 13px; letter-spacing: .04em; flex: none; }
.brand .t1 { font-size: 12px; color: var(--ink-3); letter-spacing: .02em; }
.brand .t2 { font-family: var(--serif); font-weight: 700; font-size: 19px; line-height: 1.2; }
nav.main { display: flex; gap: 4px; }
nav.main a { white-space: nowrap; text-decoration: none; color: var(--ink-2); padding: 8px 12px; border-radius: 8px; font-weight: 500; font-size: 14.5px; }
nav.main a:hover, nav.main a[aria-current="page"] { background: var(--brand-tint); color: var(--brand); }
@media (max-width: 760px) { nav.main .hide-sm { display: none; } .brand .t1 { display: none; } .brand .t2 { font-size: 16px; } }
@media (max-width: 560px) { .gov-strip .gs-long { display: none; } header.site .wrap { min-height: 64px; gap: 8px; } .brand img, .brand .mark { width: 40px; height: 40px; font-size: 11px; } .brand .t2 { font-size: 15px; } nav.main a { padding: 6px 8px; font-size: 13px; } nav.main a[data-nav="new"] { display: none; } }

main { min-height: calc(100vh - 300px); }

/* Home */
.hero { padding: 56px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 28px; } .hero { padding: 32px 0 24px; } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--brand); background: var(--brand-tint); padding: 4px 10px; border-radius: 999px; }
.hero h1 { font-family: var(--serif); font-size: clamp(30px, 4.4vw, 46px); line-height: 1.12; margin: 16px 0 14px; letter-spacing: -.01em; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero p.lead { font-size: 17px; color: var(--ink-2); max-width: 560px; margin: 0 0 28px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.quick-track { margin-top: 28px; padding: 16px; display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; align-items: end; }
.quick-track .field { margin: 0; }
@media (max-width: 640px) { .quick-track { grid-template-columns: 1fr; } }

.how { padding: 24px; }
.how h2 { font-size: 15px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); margin-bottom: 18px; font-family: var(--font); }
.how ol { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 18px; }
.how li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; counter-increment: s; }
.how li::before { content: counter(s); width: 32px; height: 32px; border-radius: 50%; background: var(--brand-tint); color: var(--brand); font-weight: 700; display: grid; place-items: center; }
.how b { display: block; font-size: 15px; }
.how span { font-size: 14px; color: var(--ink-3); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.stats > div { padding: 22px 20px; border-right: 1px solid var(--line); }
.stats > div:last-child { border-right: 0; }
.stats .n { font-family: var(--serif); font-size: 30px; font-weight: 700; color: var(--brand); line-height: 1.1; }
.stats .l { font-size: 13px; color: var(--ink-3); margin-top: 4px; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } .stats > div:nth-child(2) { border-right: 0; } .stats > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
.stats-cap { font-size: 12.5px; color: var(--ink-3); padding: 10px 0 0; }

.section { padding: 48px 0; }
.section h2.sh { font-family: var(--serif); font-size: 26px; margin-bottom: 8px; }
.section p.sub { color: var(--ink-3); margin: 0 0 24px; }
.tips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .tips { grid-template-columns: 1fr; } }
.tip { padding: 20px; }
.tip h3 { font-size: 16px; margin-bottom: 6px; }
.tip p { margin: 0 0 10px; color: var(--ink-2); font-size: 14px; }

/* Wizard */
.page-head { padding-top: 32px; padding-bottom: 20px; }
.page-head h1 { font-family: var(--serif); font-size: clamp(26px, 3.4vw, 34px); }
.page-head p { color: var(--ink-3); margin: 6px 0 0; }
.stepper { display: flex; gap: 8px; margin: 20px 0 24px; list-style: none; padding: 0; }
.stepper li { flex: 1; display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--ink-3); font-weight: 500; }
.stepper li::before { content: ''; height: 4px; border-radius: 4px; background: var(--line); }
.stepper li.done::before, .stepper li.active::before { background: var(--brand); }
.stepper li.active { color: var(--ink); font-weight: 600; }

.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.cat { text-align: left; background: var(--surface); border: 1.5px solid var(--line); border-radius: 12px; padding: 16px; cursor: pointer; display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; transition: border-color .15s, box-shadow .15s, transform .1s; min-height: 92px; }
.cat:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.cat[aria-pressed="true"] { border-color: var(--brand); background: var(--brand-tint); }
.cat .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; }
.cat[aria-pressed="true"] .ic { background: var(--brand); color: #fff; }
.cat .ic svg { width: 22px; height: 22px; }
.cat b { display: block; font-size: 15px; margin-bottom: 2px; }
.cat span { font-size: 13px; color: var(--ink-3); line-height: 1.4; }
.cat .conf { display: inline-block; margin-top: 6px; font-size: 11.5px; font-weight: 600; color: var(--accent); }

.form-layout { display: grid; grid-template-columns: 1fr 300px; gap: 24px; align-items: start; }
@media (max-width: 900px) { .form-layout { grid-template-columns: 1fr; } .form-aside { order: -1; } }
.form-aside { padding: 20px; position: sticky; top: 16px; }
.form-aside .k { font-size: 12px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .05em; }
.form-aside .v { font-weight: 600; margin-bottom: 14px; }
.legend { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); margin: 8px 0 14px; padding-top: 8px; }
.legend:not(:first-child) { border-top: 1px solid var(--line); padding-top: 20px; margin-top: 12px; }
.counter { font-size: 12px; color: var(--ink-3); text-align: right; }
.drop { border: 1.5px dashed var(--line-2); border-radius: 10px; padding: 18px; text-align: center; color: var(--ink-3); cursor: pointer; background: var(--surface-2); }
.drop:hover, .drop.over { border-color: var(--brand); color: var(--brand); }
.drop input { display: none; }
.wizard-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.review dl { display: grid; grid-template-columns: 200px 1fr; gap: 10px 16px; margin: 0; }
.review dt { color: var(--ink-3); font-size: 14px; }
.review dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; white-space: pre-wrap; }
@media (max-width: 640px) { .review dl { grid-template-columns: 1fr; gap: 2px; } .review dd { margin-bottom: 10px; } }
.hp { position: absolute; left: -5000px; }

/* Success */
.success { text-align: center; padding: 40px 24px; max-width: 640px; margin: 32px auto; }
.success .tick { width: 64px; height: 64px; border-radius: 50%; background: var(--ok-tint); color: var(--ok); display: grid; place-items: center; margin: 0 auto 16px; }
.success h1 { font-family: var(--serif); font-size: 28px; margin-bottom: 8px; }
.refbox { display: inline-flex; align-items: center; gap: 12px; border: 1.5px dashed var(--brand); background: var(--brand-tint); border-radius: 12px; padding: 12px 16px; margin: 18px 0; font-size: 22px; font-weight: 700; color: var(--brand); }

/* Track */
.track-layout { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start; padding-bottom: 48px; }
@media (max-width: 900px) { .track-layout { grid-template-columns: 1fr; } }
.ticket-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.ticket-head h2 { font-size: 20px; margin: 4px 0 2px; overflow-wrap: anywhere; }
.progress { display: grid; grid-template-columns: repeat(5, 1fr); margin: 24px 0 8px; position: relative; }
.progress .st { text-align: center; font-size: 12.5px; color: var(--ink-3); position: relative; padding-top: 30px; }
.progress .st::before { content: ''; position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 18px; height: 18px; border-radius: 50%; background: var(--surface); border: 3px solid var(--line-2); z-index: 1; }
.progress .st::after { content: ''; position: absolute; top: 15px; left: -50%; width: 100%; height: 3px; background: var(--line); }
.progress .st:first-child::after { display: none; }
.progress .st.done::before { background: var(--brand); border-color: var(--brand); }
.progress .st.done::after, .progress .st.cur::after { background: var(--brand); }
.progress .st.cur { color: var(--ink); font-weight: 600; }
.progress .st.cur::before { border-color: var(--brand); box-shadow: 0 0 0 5px var(--brand-tint); }
@media (max-width: 520px) { .progress .st { font-size: 11px; } }
.facts { display: grid; gap: 14px; }
.facts .k { font-size: 12px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .05em; }
.facts .v { font-weight: 600; }
.callout { border-radius: 12px; padding: 18px; border: 1px solid; }
.callout.need { background: var(--accent-tint); border-color: color-mix(in srgb, var(--accent) 35%, transparent); }
.callout.done { background: var(--ok-tint); border-color: color-mix(in srgb, var(--ok) 30%, transparent); }
.callout h3 { font-size: 16px; margin-bottom: 6px; }
.stars { display: inline-flex; gap: 4px; direction: ltr; }
.stars button { background: none; border: 0; cursor: pointer; padding: 2px; color: var(--line-2); }
.stars button svg { width: 32px; height: 32px; }
.stars button.on { color: var(--accent); }

footer.site { background: var(--surface); border-top: 1px solid var(--line); margin-top: 32px; }
footer.site .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; padding-top: 28px; padding-bottom: 28px; font-size: 13.5px; color: var(--ink-3); }
footer.site h4 { font-size: 13px; color: var(--ink); margin-bottom: 8px; }
footer.site ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
footer.site a { color: var(--ink-2); text-decoration: none; }
footer.site a:hover { text-decoration: underline; }
@media (max-width: 760px) { footer.site .wrap { grid-template-columns: 1fr; } }
