:root {
  color-scheme: dark;
  --background: #090909;
  --surface: #0e0e0e;
  --text: #f3f3f0;
  --muted: #969696;
  --line: #292929;
  --success: #a7f3c1;
  font-family: Arial, Helvetica, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--background); scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; color: var(--text); background: var(--background); }
a { color: inherit; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-header {
  width: min(760px, calc(100% - 40px));
  height: 90px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}
.logo-link { width: clamp(150px, 25vw, 190px); line-height: 0; }
.logo-link img { display: block; width: 100%; height: auto; }
.header-label { color: var(--muted); font-size: .78rem; font-weight: 400; letter-spacing: .03em; }

.page-shell { width: min(760px, calc(100% - 40px)); margin: 0 auto; }
.intro-block { padding: clamp(70px, 11vw, 118px) 0 40px; }
.eyebrow { margin: 0 0 18px; color: var(--muted); font-size: .72rem; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3, p { text-wrap: pretty; }
h1 { max-width: 680px; margin: 0; font-size: clamp(2.7rem, 8vw, 5.25rem); font-weight: 400; line-height: .98; letter-spacing: -.055em; }
h1 span, h1 small { display: block; }
h1 small { margin-top: 18px; color: #b9b9b9; font-size: .34em; font-weight: 400; line-height: 1.15; letter-spacing: -.025em; }
.intro { max-width: 530px; margin: 24px 0 0; color: #b8b8b8; font-size: 1rem; font-weight: 400; line-height: 1.6; }

.checker-card { padding: 26px; border: 1px solid var(--line); background: var(--surface); }
.rules { margin: -2px 0 28px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.rules-title { margin: 0 0 15px; color: var(--text); font-size: .72rem; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; }
.rules-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.rules-grid > div { min-width: 0; padding: 0 16px; }
.rules-grid > div:first-child { padding-left: 0; }
.rules-grid > div + div { border-left: 1px solid var(--line); }
.rules-grid span { display: block; margin-bottom: 8px; color: #686868; font-family: "Courier New", monospace; font-size: .68rem; }
.rules-grid p { margin: 0; color: #9d9d9d; font-size: .78rem; line-height: 1.52; }
.rules-grid strong { color: var(--text); font-weight: 400; }
label { display: block; margin: 0 0 10px; font-size: .84rem; font-weight: 400; }
.input-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; border: 1px solid #4b4b4b; background: var(--background); }
input { min-width: 0; height: 58px; padding: 0 16px; border: 0; border-radius: 0; outline: 0; color: var(--text); background: transparent; font-family: "Courier New", monospace; font-size: .92rem; font-weight: 400; }
input::placeholder { color: #626262; }
input:focus { box-shadow: inset 0 0 0 1px var(--text); }
input.invalid { box-shadow: inset 0 0 0 1px #ef8f8f; }
.input-row button { min-width: 160px; padding: 0 18px; border: 0; border-left: 1px solid #4b4b4b; border-radius: 0; color: #090909; background: var(--text); display: flex; align-items: center; justify-content: space-between; gap: 18px; font-size: .88rem; font-weight: 500; cursor: pointer; }
.input-row button:hover { background: #d9d9d5; }
.input-row button:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
.input-row button:disabled { opacity: .55; cursor: wait; }
.input-row button b { font-size: 1.1rem; font-weight: 400; }
.help { margin: 11px 0 0; color: #737373; font-size: .75rem; line-height: 1.45; }
.snapshot-note { margin: 18px 0 0; color: #7f7f7f; font-size: .74rem; line-height: 1.55; }
.snapshot-note + .snapshot-note { margin-top: 8px; }
.snapshot-note span { margin-right: 7px; color: #bdbdbd; text-transform: uppercase; letter-spacing: .06em; }
.snapshot-note a { color: #c7c7c7; text-decoration: none; }
.snapshot-note a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

.result { margin-top: 22px; padding: 0 18px 18px; border: 1px solid var(--line); background: #0a0a0a; }
.result.is-eligible { border-color: #44604c; box-shadow: inset 0 2px 0 var(--success); }
.result-head { min-height: 50px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--muted); font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; }
.result-head button { padding: 0; border: 0; color: var(--text); background: transparent; font-size: .76rem; cursor: pointer; }
.result-head button:hover { text-decoration: underline; text-underline-offset: 4px; }
.result-main { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start; padding: 28px 0 26px; border-top: 1px solid var(--line); }
.result-icon { width: 52px; height: 52px; border: 1px solid currentColor; border-radius: 50%; display: grid; place-items: center; color: var(--success); font-size: 1.25rem; }
.result.not-found .result-icon { color: #efb1b1; }
.result-kicker { margin: 2px 0 8px; color: var(--success); font-size: .7rem; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; }
.result.not-found .result-kicker { color: #efb1b1; }
.result h2 { margin: 0; font-size: clamp(1.8rem, 5vw, 2.65rem); font-weight: 400; line-height: 1.04; letter-spacing: -.035em; }
.result-copy { max-width: 590px; margin: 12px 0 0; color: #aaa; font-size: .94rem; line-height: 1.6; }
.result-details { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.result-details > div { min-width: 0; padding: 17px 14px 17px 0; }
.result-details > div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.result-details span { display: block; margin-bottom: 7px; color: #686868; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.result-details strong { display: block; overflow: hidden; color: var(--text); font-family: "Courier New", monospace; font-size: .78rem; font-weight: 400; line-height: 1.35; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.support-link { display: block; padding: 17px 0 0; color: #bdbdbd; font-size: .78rem; text-decoration: none; }
.support-link:hover { color: var(--text); }

.next-steps { padding: clamp(82px, 13vw, 132px) 0 96px; }
.process-label { margin-bottom: 24px; }
.timeline { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.timeline li { min-height: 154px; display: grid; grid-template-columns: 126px minmax(0, 1fr); gap: 28px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.step-art { width: 126px; height: 110px; margin: 0; overflow: hidden; background: #111; }
.step-art img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) contrast(1.04); transition: transform .35s ease; }
.timeline li:hover .step-art img { transform: scale(1.035); }
.step-content { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 18px; align-items: start; }
.step-number { color: #686868; font-family: "Courier New", monospace; font-size: .74rem; }
.timeline h3 { margin: 0 0 9px; font-size: 1rem; font-weight: 500; line-height: 1.3; }
.timeline p { max-width: 470px; margin: 0; color: var(--muted); font-size: .93rem; line-height: 1.55; }
.important-note { margin: 28px 0 0; padding-left: 154px; color: #b7b7b7; font-size: .82rem; line-height: 1.6; }
.important-note span { margin-right: 8px; color: var(--text); font-weight: 500; }

.teaser-section { padding: 0 0 96px; }
.teaser-section h2 { margin: 0 0 28px; font-size: clamp(1.9rem, 5vw, 3.2rem); font-weight: 400; line-height: 1.05; letter-spacing: -.035em; }
.video-frame { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border: 1px solid var(--line); background: #000; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-link { display: inline-block; margin-top: 14px; color: #999; font-size: .76rem; text-decoration: none; }
.video-link:hover { color: var(--text); }

footer { width: min(760px, calc(100% - 40px)); margin: 0 auto; padding: 25px 0 36px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 24px; color: #6f6f6f; font-size: .72rem; }
footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
footer a { color: #9b9b9b; text-decoration: none; }
footer a:hover { color: var(--text); }
[hidden] { display: none !important; }

@media (max-width: 620px) {
  .site-header, .page-shell, footer { width: min(100% - 28px, 760px); }
  .site-header { height: 80px; }
  .logo-link { width: 142px; }
  .header-label { font-size: .68rem; }
  .intro-block { padding-top: 58px; }
  h1 { font-size: clamp(2.55rem, 14vw, 4rem); }
  .checker-card { padding: 18px; }
  .rules-grid { grid-template-columns: 1fr; }
  .rules-grid > div { padding: 12px 0; }
  .rules-grid > div:first-child { padding-top: 0; }
  .rules-grid > div + div { border-top: 1px solid var(--line); border-left: 0; }
  .input-row { grid-template-columns: 1fr; }
  .input-row button { min-width: 0; height: 52px; border-top: 1px solid #4b4b4b; border-left: 0; }
  .result-main { grid-template-columns: 1fr; }
  .result-details { grid-template-columns: 1fr; }
  .result-details > div + div { padding-left: 0; border-top: 1px solid var(--line); border-left: 0; }
  .timeline li { min-height: auto; grid-template-columns: 92px minmax(0, 1fr); gap: 16px; padding: 18px 0; }
  .step-art { width: 92px; height: 92px; }
  .step-content { grid-template-columns: 1fr; gap: 8px; }
  .important-note { padding-left: 0; }
  .teaser-section { padding-bottom: 72px; }
  footer { align-items: flex-start; flex-direction: column; line-height: 1.4; }
}

@media (min-width: 621px) and (max-width: 780px) {
  .result-details { grid-template-columns: repeat(2, 1fr); }
  .result-details > div:nth-child(3) { padding-left: 0; border-top: 1px solid var(--line); border-left: 0; }
  .result-details > div:nth-child(4) { border-top: 1px solid var(--line); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
