/* Service Alvarra · concept build · styles */

@font-face { font-family: "Atkinson Hyperlegible Next"; src: url(fonts/atkinson-next-latin.woff2) format("woff2"); font-weight: 200 800; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Atkinson Hyperlegible Next"; src: url(fonts/atkinson-next-latin-ext.woff2) format("woff2"); font-weight: 200 800; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Atkinson Hyperlegible Mono"; src: url(fonts/atkinson-mono-latin.woff2) format("woff2"); font-weight: 400 700; font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F, U+2212; }
@font-face { font-family: "Noto Sans Tamil"; src: url(fonts/noto-sans-tamil.woff2) format("woff2"); font-weight: 400 700; font-display: swap;
  unicode-range: U+0964-0965, U+0B82-0BFA, U+200C-200D, U+20B9, U+25CC; }
/* metric-matched fallback so the swap does not shift the layout */
@font-face { font-family: "AHN Fallback"; src: local("Arial"), local("Helvetica Neue"), local("Helvetica"); size-adjust: 103%; ascent-override: 92%; descent-override: 24%; line-gap-override: 0%; }

:root {
  --paper: #F1F4F2;      /* security paper */
  --ink: #0D2B23;        /* passport green */
  --acc: #FFB81C;        /* marigold: primary action, your thread, focus halo */
  --tint: #E2E9E5;       /* ink at ~7% on paper */
  --mute: #34493F;       /* 8.6:1 on paper, 7.7:1 on tint */
  --rule: #0D2B23;
  --hair: rgba(13, 43, 35, .22);
  --ctl: #4A5F56;        /* control borders, 5.9:1 */
  --on-ink: #F1F4F2;
  --on-ink-mute: #B9C8C1; /* 8.7:1 on ink */
  --f: "Atkinson Hyperlegible Next", "AHN Fallback", system-ui, sans-serif;
  --m: "Atkinson Hyperlegible Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --hdr: 64px;
  --r: 6px;
  --e-out: cubic-bezier(.2, .7, .1, 1);
  --e-io: cubic-bezier(.65, 0, .25, 1);
  --t1: .18s; --t2: .42s; --t3: .9s;
  --pad: 20px;
}
:lang(zh-Hans) { --f: "Atkinson Hyperlegible Next", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; --m: "Atkinson Hyperlegible Mono", "Noto Sans SC", "PingFang SC", monospace; }
:lang(ta) { --f: "Atkinson Hyperlegible Next", "Noto Sans Tamil", "Tamil Sangam MN", "Latha", sans-serif; --m: "Atkinson Hyperlegible Mono", "Noto Sans Tamil", "Tamil Sangam MN", monospace; }

html { font-size: 100%; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 16px); }
html[data-ts="2"] { font-size: 112.5%; }
html[data-ts="3"] { font-size: 125%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--f); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
:lang(zh-Hans) body { line-break: strict; word-break: normal; overflow-wrap: anywhere; }
:lang(ta) body { line-height: 1.75; }
h1, h2, h3, p, dl, dd, ol, ul, figure, blockquote { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: .2em; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
img, svg, canvas { display: block; }
.ic { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.mono { font-family: var(--m); }
[hidden] { display: none !important; }

/* Focus: thick ink ring + marigold halo, visible on paper and on ink */
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; box-shadow: 0 0 0 7px var(--acc); border-radius: 2px; }
.std :focus-visible, .foot :focus-visible { outline-color: var(--paper); }
main:focus { outline: none; }

.skip { position: fixed; left: 12px; top: -120px; max-width: calc(100vw - 24px); z-index: 100; background: var(--acc); color: var(--ink); padding: 12px 16px; font-weight: 700; border-radius: var(--r); text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1360px; margin: 0 auto; padding-inline: var(--pad); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 12px 20px; border-radius: var(--r); border: 0; font-weight: 700; font-size: 1.0625rem; line-height: 1.2; text-decoration: none; transition: background-color var(--t1), transform var(--t1) var(--e-out), box-shadow var(--t1); }
.btn .ic { transition: transform var(--t2) var(--e-out); }
.btn:hover .ic { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-acc { background: var(--acc); color: var(--ink); box-shadow: inset 0 -2px 0 rgba(13, 43, 35, .28); }
.btn-acc:hover { background: #FFC444; }
.btn-line { background: transparent; color: var(--ink); border: 2px solid var(--ink); min-height: 48px; padding: 10px 16px; font-size: 1rem; }
.btn-line:hover { background: var(--paper); }
.btn-text { background: none; border: 0; padding: 12px 4px; font-weight: 700; text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1.5px; min-height: 48px; }

/* ---------- Header ---------- */
.hdr { position: sticky; top: 0; z-index: 50; height: var(--hdr); display: flex; align-items: center; gap: 16px; padding-inline: var(--pad); background: var(--paper); border-bottom: 1px solid var(--hair); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; margin-right: auto; }
.brand-mark { width: 34px; height: 34px; color: var(--ink); flex: none; }
.bm-acc { fill: var(--acc); stroke: var(--ink); stroke-width: 1.2; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; overflow: hidden; }
.brand-name, .brand-rep { overflow: hidden; text-overflow: ellipsis; }
:lang(ta) .brand-name { font-size: .9375rem; }
:lang(ta) .brand-rep { font-size: .6875rem; }
.brand-name { font-weight: 800; font-size: 1.0625rem; letter-spacing: -.01em; white-space: nowrap; }
.brand-rep { font-family: var(--m); font-size: .75rem; color: var(--mute); white-space: nowrap; }
.nav { display: none; }
.hdr-r { display: flex; align-items: center; gap: 8px; }
.lang { position: relative; }
.lang-btn, .menu-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; min-width: 44px; padding: 8px 10px; background: transparent; border: 1.5px solid var(--ctl); border-radius: var(--r); font-weight: 700; font-size: .9375rem; }
.lang-btn:hover, .menu-btn:hover { background: var(--tint); }
.lang-cur { min-width: 2ch; }
.lang-list { position: absolute; right: 0; top: calc(100% + 8px); background: var(--paper); border: 2px solid var(--ink); border-radius: var(--r); padding: 6px; min-width: 200px; display: none; box-shadow: 0 18px 40px -18px rgba(13, 43, 35, .45); }
.lang.open .lang-list { display: block; }
.lang-list button { display: flex; width: 100%; align-items: center; justify-content: space-between; min-height: 48px; padding: 8px 12px; background: none; border: 0; border-radius: 4px; font-size: 1.0625rem; text-align: start; }
.lang-list button:hover { background: var(--tint); }
.lang-list button[aria-pressed="true"] { font-weight: 800; }
.lang-list button[aria-pressed="true"]::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 1.5px var(--ink); }
.menu-btn span { display: none; }
.nav.open { display: flex; position: fixed; inset: var(--hdr) 0 auto 0; flex-direction: column; background: var(--paper); border-bottom: 2px solid var(--ink); padding: 8px var(--pad) 20px; }
.nav.open a { padding: 14px 0; font-size: 1.25rem; font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--hair); }

/* ---------- Hero / field ---------- */
.hero { position: relative; background: var(--paper); }
.hero-pin { position: relative; min-height: calc(100svh - var(--hdr)); }
.field { position: absolute; inset: 0; overflow: clip; pointer-events: none; }
.field canvas { position: sticky; top: 0; width: 100%; height: 100svh; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1fr; padding: 28px var(--pad) 40px; max-width: 1440px; margin: 0 auto; }
.h1 { font-weight: 800; font-size: clamp(2.6rem, 11.6vw, 6.4rem); line-height: .96; letter-spacing: -.04em; text-wrap: balance; max-width: 11ch; justify-self: start; }
:lang(zh-Hans) .h1 { letter-spacing: 0; line-height: 1.14; max-width: 9em; font-size: clamp(2.2rem, 10vw, 5.4rem); }
:lang(ta) .h1 { letter-spacing: -.01em; line-height: 1.3; max-width: 13em; font-size: clamp(1.9rem, 8vw, 4.1rem); }
:lang(ms) .h1 { max-width: 12ch; }
.h1-in { display: inline; }
.lede { margin-top: 18px; max-width: 34ch; font-size: 1.125rem; line-height: 1.5; justify-self: start; }
:lang(zh-Hans) .lede { max-width: 24em; }
.band { position: relative; height: clamp(290px, 40svh, 380px); margin-top: 8px; }
.sort-note { position: absolute; left: 0; right: 0; top: 0; max-width: 32ch; font-weight: 700; font-size: .9375rem; line-height: 1.35; opacity: 0; transform: translateY(8px); transition: opacity var(--t2), transform var(--t2) var(--e-out); background: var(--paper); padding: 6px 8px 6px 0; }
.sort-note.on { opacity: 1; transform: none; }
.hint { position: absolute; left: 0; bottom: 4px; font-size: .875rem; font-weight: 700; color: var(--mute); background: var(--paper); padding: 2px 6px 2px 0; transition: opacity var(--t2); }
.hint-t { display: none; }
@media (hover: none) { .hint-m { display: none; } .hint-t { display: inline; } }
.hero.sorted .hint, .hero.picked .hint { opacity: 0; }

.ask-h { font-size: 1.25rem; font-weight: 800; letter-spacing: -.01em; margin-bottom: 12px; }
.evs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ev { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 6px; min-height: 84px; padding: 12px 14px; text-align: start; background: var(--paper); border: 2px solid var(--ink); border-radius: var(--r); transition: background-color var(--t1), color var(--t1); }
.ev-n { font-weight: 800; font-size: 1.0625rem; line-height: 1.2; padding-inline-end: 14px; }
.ev-m { font-size: .875rem; line-height: 1.3; color: var(--mute); }
.ev:hover { background: var(--tint); }
.ev[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.ev[aria-pressed="true"] .ev-m { color: var(--on-ink-mute); }
.ev::after { content: ""; position: absolute; top: 12px; right: 12px; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid currentColor; transition: background-color var(--t1); }
.ev[aria-pressed="true"]::after { background: var(--acc); border-color: var(--acc); }

.path { margin-top: 28px; }
.path-h { font-weight: 800; font-size: 1.5rem; letter-spacing: -.02em; line-height: 1.15; }
.path-sub { margin-top: 4px; color: var(--mute); font-size: 1rem; }
.path-list { margin-top: 16px; counter-reset: s; }
.path-list li { position: relative; display: grid; grid-template-columns: 44px 1fr; align-items: start; padding: 9px 0; min-height: 60px; opacity: 0; transform: translateX(10px); transition: opacity .5s var(--e-out), transform .6s var(--e-out); }
.path-list li.in { opacity: 1; transform: none; }
.path-list .pl-node { width: 44px; height: 24px; }
.pl-k { font-family: var(--m); font-size: .75rem; color: var(--mute); display: block; line-height: 1.2; }
.pl-n { font-weight: 700; font-size: 1.0625rem; line-height: 1.3; display: block; }
.pl-m { font-size: .875rem; color: var(--mute); line-height: 1.4; display: block; margin-top: 2px; }
.pl-m span + span::before { content: " / "; }
.path-foot { margin-top: 18px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.path-note { font-size: .875rem; color: var(--mute); max-width: 40ch; }

/* ---------- Thesis ---------- */
.thesis { padding: clamp(88px, 14vw, 200px) var(--pad) clamp(72px, 10vw, 140px); border-top: 1px solid var(--hair); }
.thesis-in { max-width: 1360px; margin: 0 auto; display: grid; gap: 24px; }
.thesis-q { font-weight: 700; font-size: clamp(1.75rem, 4.4vw, 3.6rem); line-height: 1.1; letter-spacing: -.025em; text-wrap: balance; max-width: 22ch; }
:lang(zh-Hans) .thesis-q { letter-spacing: 0; line-height: 1.35; max-width: 16em; }
:lang(ta) .thesis-q { letter-spacing: 0; line-height: 1.4; font-size: clamp(1.4rem, 3.2vw, 2.6rem); max-width: 30em; }
.thesis-q::before { content: ""; display: block; width: 14px; height: 14px; border-radius: 50%; background: var(--ink); margin-bottom: 28px; }
.thesis figcaption { font-size: .875rem; color: var(--mute); }

/* ---------- Section heads ---------- */
.h2 { font-weight: 800; font-size: clamp(2.1rem, 6.4vw, 4.4rem); line-height: 1; letter-spacing: -.035em; text-wrap: balance; }
:lang(zh-Hans) .h2 { letter-spacing: 0; line-height: 1.2; }
:lang(ta) .h2 { letter-spacing: 0; line-height: 1.3; font-size: clamp(1.7rem, 5vw, 3.1rem); }

/* ---------- Tool ---------- */
.tool { background: var(--tint); padding: clamp(72px, 10vw, 128px) 0 clamp(72px, 10vw, 120px); position: relative; }
.tool-head { display: grid; gap: 14px; margin-bottom: 36px; }
.tool-intro { max-width: 46ch; font-size: 1.125rem; }
.tool-grid { display: grid; gap: 28px; }
.tool-side { display: grid; gap: 26px; align-content: start; }
.tq { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 18px; }
.tq-l, .q-l { font-size: .875rem; font-weight: 700; color: var(--mute); margin-bottom: 8px; padding: 0; }
.tev { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.tev label, .seg label { position: relative; display: block; cursor: pointer; min-width: 0; }
.tev span, .seg span { overflow-wrap: anywhere; }
.tool-grid > *, .tool-side > * { min-width: 0; }
.tev input, .seg input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.tev span, .seg span { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 10px 12px; border: 2px solid var(--ctl); border-radius: var(--r); background: var(--paper); font-weight: 700; font-size: 1rem; line-height: 1.25; transition: background-color var(--t1), border-color var(--t1); }
.tev span::before, .seg span::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--ink); background: var(--paper); box-shadow: inset 0 0 0 3px var(--paper); transition: background-color var(--t1); }
.tev input:checked + span, .seg input:checked + span { border-color: var(--ink); background: #fff; }
.tev input:checked + span::before, .seg input:checked + span::before { background: var(--ink); }
.tev input:hover + span, .seg input:hover + span { border-color: var(--ink); }
.tev input:focus-visible + span, .seg input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; box-shadow: 0 0 0 7px var(--acc); }
.q { border: 0; padding: 0; margin: 0; min-width: 0; }
.q legend { font-weight: 700; font-size: 1.0625rem; margin-bottom: 8px; padding: 0; line-height: 1.35; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.prog-t { font-weight: 700; font-size: 1.0625rem; }
.prog-bar { margin-top: 8px; height: 12px; border: 2px solid var(--ink); border-radius: 99px; background: var(--paper); overflow: hidden; }
.prog-bar span { display: block; height: 100%; width: 0; background: var(--ink); transition: width var(--t2) var(--e-out); }
.bring-h { font-size: 1.0625rem; font-weight: 800; margin-bottom: 8px; }
.bring-list li { padding: 8px 0; border-top: 1px solid var(--hair); font-size: 1rem; display: flex; gap: 10px; align-items: baseline; }
.bring-list li::before { content: ""; flex: none; width: 8px; height: 8px; border: 2px solid var(--ink); transform: translateY(-1px); }
.tool-acts { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; }

.steps { counter-reset: st; border-top: 2px solid var(--ink); }
.step { display: grid; grid-template-columns: 48px 1fr; gap: 0 14px; padding: 22px 0 24px; border-bottom: 1px solid var(--hair); }
.step-chk { position: relative; width: 40px; height: 40px; margin-top: 2px; }
.step-chk input { position: absolute; inset: -4px; z-index: 2; width: 48px; height: 48px; opacity: 0; margin: 0; cursor: pointer; }
.step-chk .box { display: grid; place-items: center; width: 40px; height: 40px; border: 2px solid var(--ink); border-radius: var(--r); background: var(--paper); transition: background-color var(--t1); }
.step-chk .box .ic { width: 24px; height: 24px; stroke-width: 2.6; opacity: 0; transform: scale(.6); transition: opacity var(--t1), transform var(--t2) var(--e-out); }
.step-chk input:checked + .box { background: var(--acc); }
.step-chk input:checked + .box .ic { opacity: 1; transform: none; }
.step-chk input:focus-visible + .box { outline: 3px solid var(--ink); outline-offset: 2px; box-shadow: 0 0 0 7px var(--acc); }
.step-k { font-family: var(--m); font-size: .8125rem; color: var(--mute); }
.step-n { font-size: clamp(1.25rem, 2.2vw, 1.625rem); font-weight: 800; letter-spacing: -.015em; line-height: 1.2; margin-top: 2px; }
:lang(zh-Hans) .step-n, :lang(ta) .step-n { letter-spacing: 0; }
.step-d { margin-top: 6px; max-width: 60ch; }
.step-meta { margin-top: 14px; display: grid; gap: 10px; }
.step-meta div { display: grid; grid-template-columns: 7.5em 1fr; gap: 10px; font-size: .9375rem; line-height: 1.45; }
.step-meta dt { font-family: var(--m); font-size: .8125rem; color: var(--mute); padding-top: 1px; }
.step-meta .tag { font-family: var(--m); font-size: .75rem; border: 1.5px solid var(--ctl); border-radius: 3px; padding: 0 5px; margin-inline-start: 6px; white-space: nowrap; }
.step-go { margin-top: 16px; }
.step.done .step-n { color: var(--mute); }
.step.done .step-d, .step.done .step-meta { opacity: .9; }
.disclaimer { margin-top: 20px; font-size: .9375rem; color: var(--mute); }
.print-head { display: none; }
.toast { position: fixed; left: 50%; bottom: 76px; z-index: 70; transform: translate(-50%, 20px); max-width: min(92vw, 520px); background: var(--ink); color: var(--paper); padding: 14px 18px; border-radius: var(--r); font-size: 1rem; opacity: 0; pointer-events: none; transition: opacity var(--t2), transform var(--t2) var(--e-out); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Browse ---------- */
.browse { padding: clamp(80px, 11vw, 150px) 0; }
.browse-head { display: grid; gap: 14px; margin-bottom: 40px; }
.browse-head p { max-width: 44ch; font-size: 1.125rem; }
.depts { display: grid; gap: 0 32px; border-top: 2px solid var(--ink); }
.dept { padding: 20px 0 22px; border-bottom: 1px solid var(--hair); }
.dept h3 { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 1.25rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.25; }
.dept h3 .mono { font-size: .8125rem; font-weight: 400; color: var(--mute); white-space: nowrap; }
.dept ul { margin-top: 10px; display: grid; gap: 2px; }
.dept li { font-size: 1rem; line-height: 1.45; padding: 3px 0; }
.dept li.ev-svc { font-weight: 700; }
.dept li.ev-svc::after { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); margin-inline-start: 8px; transform: translateY(-2px); }

/* ---------- Standard (ink band) ---------- */
.std { background: var(--ink); color: var(--on-ink); padding: clamp(88px, 12vw, 168px) 0; }
.std-head { display: grid; gap: 16px; margin-bottom: 48px; }
.std-head p { color: var(--on-ink-mute); max-width: 40ch; font-size: 1.125rem; }
.promises { display: grid; gap: 0 40px; border-top: 1px solid rgba(241, 244, 242, .35); }
.promises > div { padding: 22px 0 26px; border-bottom: 1px solid rgba(241, 244, 242, .2); }
.promises dt { font-weight: 800; font-size: clamp(1.4rem, 2.6vw, 2rem); letter-spacing: -.02em; line-height: 1.15; }
:lang(zh-Hans) .promises dt, :lang(ta) .promises dt { letter-spacing: 0; }
.promises dd { margin-top: 8px; color: var(--on-ink-mute); max-width: 36ch; }
.acc { margin-top: clamp(64px, 9vw, 120px); display: grid; gap: 28px; }
.acc-h { font-weight: 800; font-size: clamp(1.9rem, 4.6vw, 3.6rem); line-height: 1.05; letter-spacing: -.03em; max-width: 18ch; text-wrap: balance; }
:lang(zh-Hans) .acc-h { letter-spacing: 0; line-height: 1.3; max-width: 14em; }
:lang(ta) .acc-h { letter-spacing: 0; line-height: 1.35; max-width: 22em; font-size: clamp(1.5rem, 3.4vw, 2.6rem); }
.acc-list li { padding: 12px 0; border-top: 1px solid rgba(241, 244, 242, .2); display: flex; gap: 12px; align-items: baseline; }
.acc-list li::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--paper); transform: translateY(-1px); }
.ts { padding: 20px; border: 2px solid var(--paper); border-radius: var(--r); display: grid; gap: 12px; align-content: start; }
.ts-l { font-weight: 800; font-size: 1.125rem; }
.ts-btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ts-btns button { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 2px; min-height: 76px; padding: 8px 6px; background: transparent; color: var(--paper); border: 2px solid rgba(241, 244, 242, .55); border-radius: var(--r); font-size: .875rem; font-weight: 700; line-height: 1.2; text-align: center; }
.ts-btns button:hover { border-color: var(--paper); }
.ts-btns button[aria-pressed="true"] { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.ts-a { font-weight: 800; font-size: 1.125rem; line-height: 1; }
.ts-a2 { font-size: 1.5rem; } .ts-a3 { font-size: 1.95rem; }
.ts-note { font-size: .9375rem; color: var(--on-ink-mute); }

/* ---------- Status ---------- */
.status { padding: clamp(80px, 11vw, 150px) 0 clamp(56px, 8vw, 100px); }
.status-grid { display: grid; gap: 28px; }
.status-head { display: grid; gap: 14px; align-content: start; }
.sample-flag { font-family: var(--m); font-size: .8125rem; color: var(--mute); border-inline-start: 3px solid var(--acc); padding-inline-start: 10px; max-width: 40ch; }
.table-wrap { overflow-x: auto; min-width: 0; }
.st thead .num { white-space: normal; }
.st { width: 100%; border-collapse: collapse; font-size: 1rem; }
.st th, .st td { text-align: start; padding: 14px 12px 14px 0; border-bottom: 1px solid var(--hair); vertical-align: top; }
.st thead th { font-family: var(--m); font-size: .75rem; font-weight: 700; color: var(--mute); border-bottom: 2px solid var(--ink); line-height: 1.3; }
.st .num { text-align: end; padding-inline-end: 0; white-space: nowrap; }
.st tbody th { font-weight: 700; }
.st-s { display: inline-flex; gap: 8px; align-items: flex-start; }
.st-s .ic { width: 20px; height: 20px; margin-top: 2px; }
.st-n { display: block; font-size: .875rem; color: var(--mute); }
.st-bar { display: inline-block; width: 56px; height: 8px; border: 1.5px solid var(--ink); border-radius: 99px; margin-inline-end: 8px; vertical-align: 1px; overflow: hidden; }
.st-bar i { display: block; height: 100%; background: var(--ink); }
.st-p { font-family: var(--m); font-size: .9375rem; }
.st-hide { display: none; }

/* ---------- Accountability ---------- */
.gov { padding: clamp(56px, 8vw, 110px) 0 clamp(80px, 11vw, 150px); }
.gov-h { margin-bottom: 36px; }
.ledger { border-top: 2px solid var(--ink); }
.ledger > div { display: grid; gap: 6px; padding: 20px 0 22px; border-bottom: 1px solid var(--hair); }
.ledger dt { font-weight: 800; font-size: 1.25rem; letter-spacing: -.01em; }
.ledger dd { max-width: 62ch; }
.docs { margin-top: 28px; display: grid; gap: 0; }
.docs a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--hair); font-weight: 700; text-decoration: none; min-height: 52px; }
.docs a:hover span { text-decoration: underline; text-underline-offset: .2em; }

/* ---------- Help ---------- */
.help { background: var(--tint); padding: clamp(80px, 11vw, 150px) 0; }
.help-grid { display: grid; gap: 40px; }
.help-lead { display: grid; gap: 12px; align-content: start; }
.help-k { margin-top: 14px; font-size: .8125rem; color: var(--mute); font-weight: 700; }
.help-phone { display: inline-flex; align-items: center; gap: 14px; white-space: nowrap; font-weight: 800; font-size: clamp(2rem, 9vw, 4rem); letter-spacing: -.02em; line-height: 1; text-decoration: none; }
.help-phone .ic { width: .6em; height: .6em; stroke-width: 2; }
.help-phone:hover { text-decoration: underline; text-decoration-thickness: 3px; }
.help-list { border-top: 2px solid var(--ink); }
.help-list > div { padding: 20px 0 22px; border-bottom: 1px solid var(--hair); display: grid; gap: 6px; }
.help-list dt { font-weight: 800; font-size: 1.25rem; }

/* ---------- Footer ---------- */
.foot { background: var(--ink); color: var(--on-ink); padding: 72px 0 96px; overflow: hidden; }
.foot-top { display: grid; gap: 28px; padding-bottom: 36px; border-bottom: 1px solid rgba(241, 244, 242, .3); }
.foot-mark { font-weight: 800; font-size: clamp(3rem, 13.4vw, 12.5rem); line-height: .9; letter-spacing: -.05em; min-width: 0; text-wrap: balance; }
:lang(ms) .foot-mark { font-size: clamp(2.6rem, 10.4vw, 9.6rem); }
.foot-top > * { min-width: 0; }
:lang(zh-Hans) .foot-mark { letter-spacing: 0; font-size: clamp(2.6rem, 9.6vw, 9rem); }
:lang(ta) .foot-mark { letter-spacing: 0; font-size: clamp(2.2rem, 8.4vw, 7.2rem); line-height: 1.15; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.foot-nav a { padding: 10px 0; font-weight: 700; }
.foot-legal { padding-top: 28px; display: grid; gap: 10px; font-size: .9375rem; color: var(--on-ink-mute); max-width: 80ch; }
.foot-legal .concept { color: var(--on-ink); font-weight: 700; }
.foot-row { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 8px; }
.foot-row a { color: var(--on-ink); }

/* ---------- Concept badge ---------- */
.concept-badge { position: fixed; left: 12px; bottom: 12px; z-index: 60; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: var(--r); background: var(--ink); color: var(--paper); font: 700 12px/1.2 "Atkinson Hyperlegible Next", "AHN Fallback", system-ui, sans-serif; text-decoration: none; box-shadow: 0 8px 24px -12px rgba(13, 43, 35, .6); transition: transform var(--t1); }
.concept-badge:hover { transform: translateY(-1px); }

/* ---------- Heading reveals (headings only) ---------- */
.js .rv { clip-path: inset(-20% -10% 100% -10%); transform: translateY(24px); transition: clip-path 1s var(--e-out), transform 1s var(--e-out); }
.js .rv.in { clip-path: inset(-20% -10% -20% -10%); transform: none; }
.js .hero .h1-in { display: inline-block; clip-path: inset(0 0 100% 0); transform: translateY(.3em); animation: h1in 1s var(--e-out) .1s forwards; }
@keyframes h1in { to { clip-path: inset(-10% -5% -10% -5%); transform: none; } }

/* ---------- Tablet ---------- */
@media (min-width: 640px) {
  :root { --pad: 32px; }
  .evs { grid-template-columns: repeat(4, 1fr); }
  .ev { min-height: 96px; }
  .menu-btn span { display: inline; }
  .depts { grid-template-columns: 1fr 1fr; }
  .promises { grid-template-columns: 1fr 1fr; }
  .tev { grid-template-columns: repeat(4, 1fr); }
  .step { grid-template-columns: 56px 1fr; }
}
@media (min-width: 640px) and (max-width: 1079px) {
  .evs { grid-template-columns: 1fr 1fr; }
  .tev { grid-template-columns: 1fr 1fr; }
}

/* ---------- Desktop ---------- */
@media (min-width: 1080px) {
  :root { --pad: 40px; --hdr: 72px; }
  .nav { display: flex; gap: 4px; margin-inline: auto 12px; }
  .nav a { padding: 10px 12px; font-weight: 700; font-size: .9375rem; text-decoration: none; border-radius: var(--r); }
  .nav a:hover { background: var(--tint); text-decoration: underline; }
  .menu-btn { display: none; }
  .brand { margin-right: 0; }
  .lang-btn { padding-inline: 12px; }

  .hero.pinned { height: calc(100svh - var(--hdr) + 45vh); }
  .hero.pinned .hero-pin { position: sticky; top: var(--hdr); height: calc(100svh - var(--hdr)); min-height: 640px; }
  .hero.pinned .field canvas { position: absolute; inset: 0; height: 100%; }
  .hero-grid { height: 100%; grid-template-columns: repeat(12, 1fr); grid-template-rows: auto auto 1fr auto; column-gap: 24px; padding: clamp(28px, 6vh, 64px) var(--pad) clamp(28px, 5vh, 52px); }
  .h1 { grid-column: 1 / 9; grid-row: 1; font-size: clamp(4rem, 6.7vw, 6.6rem); max-width: none; }
  :lang(zh-Hans) .h1 { font-size: clamp(3.4rem, 5.6vw, 5.6rem); max-width: 8.2em; }
  :lang(ta) .h1 { font-size: clamp(2.6rem, 3.9vw, 4rem); max-width: 12.5em; }
  .lede { grid-column: 1 / 6; grid-row: 2; font-size: 1.25rem; margin-top: 22px; }
  .band { grid-column: 9 / 13; grid-row: 1 / 5; height: auto; }
  .sort-note { font-size: 1rem; }
  .hint { bottom: 0; }
  .ask { grid-column: 1 / 9; grid-row: 4; align-self: end; }
  .ask-h { font-size: 1.375rem; }
  .evs { grid-template-columns: repeat(4, 1fr); }
  .path { grid-column: 9 / 13; grid-row: 1 / 5; margin-top: 0; align-self: start; padding: 6px 0 0 8px; }
  .path-list li { min-height: 58px; padding: 8px 0; }

  .thesis-in { grid-template-columns: repeat(12, 1fr); column-gap: 24px; }
  .thesis blockquote { grid-column: 3 / 12; }
  .thesis figcaption { grid-column: 3 / 9; }

  .tool-head { grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: end; }
  .tool-head .h2 { grid-column: 1 / 7; }
  .tool-intro { grid-column: 8 / 13; }
  .tool-grid { grid-template-columns: repeat(12, 1fr); column-gap: 24px; }
  .tool-side { grid-column: 1 / 5; position: sticky; top: calc(var(--hdr) + 24px); align-self: start; max-height: calc(100svh - var(--hdr) - 40px); overflow: auto; padding: 2px 6px 8px 2px; }
  .tev { grid-template-columns: 1fr 1fr; }
  .tool-main { grid-column: 5 / 13; padding-inline-start: 32px; }
  .step { grid-template-columns: 64px 1fr; padding: 28px 0 30px; }
  .step-meta { grid-template-columns: 1fr 1fr; column-gap: 24px; }
  .step-meta .m-docs { grid-column: 1 / -1; }

  .browse-head { grid-template-columns: 7fr 5fr; column-gap: 24px; align-items: end; }
  .depts { grid-template-columns: repeat(3, 1fr); column-gap: 40px; }

  .std-head { grid-template-columns: 7fr 5fr; column-gap: 24px; align-items: end; }
  .promises { grid-template-columns: repeat(3, 1fr); column-gap: 40px; }
  .acc { grid-template-columns: repeat(12, 1fr); column-gap: 24px; }
  .acc-h { grid-column: 1 / 8; }
  .acc-list { grid-column: 1 / 7; }
  .ts { grid-column: 8 / 13; grid-row: 1 / 3; align-self: end; }

  .status-grid { grid-template-columns: repeat(12, 1fr); column-gap: 24px; }
  .status-head { grid-column: 1 / 5; }
  .table-wrap { grid-column: 5 / 13; }
  .st-hide { display: inline-block; }

  .ledger > div { grid-template-columns: 4fr 8fr; column-gap: 24px; padding: 24px 0 26px; }
  .docs { grid-template-columns: repeat(4, 1fr); column-gap: 24px; }

  .help-grid { grid-template-columns: 6fr 1fr 5fr; }
  .help-list { grid-column: 3; }

  .foot-top { grid-template-columns: 1fr; }
}
@media (min-width: 1080px) and (max-height: 700px) {
  .hero.pinned { height: auto; }
  .hero.pinned .hero-pin { position: relative; top: 0; height: auto; min-height: calc(100svh - var(--hdr)); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .rv, .js .hero .h1-in { clip-path: none; transform: none; animation: none; }
  .path-list li { opacity: 1; transform: none; }
}

/* ---------- Print: the checklist only ---------- */
@media print {
  @page { margin: 16mm; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .hdr, .hero, .thesis, .browse, .std, .status, .gov, .help, .foot, .concept-badge, .skip, .tool-side, .toast, .step-go, .tool-head .tool-intro { display: none !important; }
  .tool { background: #fff; padding: 0; }
  .tool-grid { display: block; }
  .tool-main { padding: 0; }
  .print-head { display: block; margin-bottom: 12pt; font-size: 12pt; }
  .step { break-inside: avoid; padding: 10pt 0; }
  .step-chk .box { border-color: #000; }
  .js .rv { clip-path: none; transform: none; }
}
.st th, .st td { overflow-wrap: anywhere; }
@media (max-width: 639px) {
  :lang(ta) .tev, :lang(ta) .seg { grid-template-columns: 1fr; }
  :lang(ta) .brand-name { white-space: normal; font-size: .875rem; line-height: 1.15; }
  :lang(ta) .brand-rep { display: none; }
}
@media (max-width: 639px) {
  .brand-name { white-space: normal; line-height: 1.1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  :lang(ms) .brand-name { font-size: 1rem; }
}
@media (min-width: 1080px) {
  .path-list .pl-k { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .path-list li { min-height: 0; padding: 7px 0 9px; }
  .path-list .pl-node { height: 26px; }
}
