:root {
  color-scheme: light;
  --bg: #f7f7f8;
  --surface: #ffffff;
  --idle: #ececf0;
  --line: #d7d7de;
  --ink: #17152d;
  --muted: #666575;
  --accent: #ff4f00;
  --brand: #15132b;
  --brand-orange: #ff5a1f;
  --on-accent: #15132b;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 10px 14px; background: var(--accent); color: var(--on-accent); font-weight: 800; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.site-nav { position: sticky; top: 0; z-index: 10; display: flex; justify-content: space-between; align-items: center; min-height: 64px; padding: 0 clamp(20px, 5vw, 72px); border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(12px); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 18px; font-weight: 850; letter-spacing: -.04em; text-decoration: none; }
.brand img { display: block; width: 30px; height: 30px; border-radius: 7px; object-fit: cover; }
.nav-links { display: flex; gap: 20px; align-items: center; }
.nav-links a { color: var(--muted); font-size: 13px; font-weight: 700; text-decoration: none; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--accent); }
.hero { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); min-height: 620px; border-bottom: 1px solid var(--line); }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(56px, 9vw, 136px) clamp(24px, 7vw, 104px); }
.kicker { margin: 0 0 28px; color: var(--accent); font-size: 12px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.hero h1 { max-width: 900px; margin: 0; color: var(--ink); font-size: clamp(54px, 9vw, 132px); font-weight: 900; letter-spacing: -.075em; line-height: .86; }
.lede { max-width: 580px; margin: 34px 0 0; color: var(--muted); font-size: clamp(17px, 2vw, 24px); font-weight: 600; line-height: 1.5; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.primary, .secondary { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border: 1px solid var(--line); font-size: 14px; font-weight: 850; text-decoration: none; }
.primary { border-color: var(--accent); background: var(--accent); color: var(--on-accent); }
.secondary { background: var(--surface); color: var(--ink); }
.hero-mark { display: grid; place-items: center; min-height: 360px; padding: clamp(32px, 5vw, 72px); border-left: 1px solid var(--line); background: var(--brand); overflow: hidden; }
.hero-mark img { display: block; width: min(100%, 420px); aspect-ratio: 1; object-fit: cover; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.feature { min-height: 240px; padding: 36px; border-right: 1px solid var(--line); }
.feature:last-child { border-right: 0; }
.feature-number { color: var(--accent); font-size: 44px; font-weight: 900; letter-spacing: -.06em; }
.feature h2 { margin: 44px 0 10px; font-size: 21px; font-weight: 850; }
.feature p { max-width: 34ch; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.test-note { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .45fr); border-bottom: 1px solid var(--line); }
.test-note h2 { margin: 0; padding: 56px clamp(24px, 7vw, 104px); font-size: clamp(32px, 5vw, 68px); letter-spacing: -.055em; line-height: 1; }
.test-note p { margin: 0; padding: 56px clamp(24px, 5vw, 72px); border-left: 1px solid var(--line); color: var(--muted); font-size: 15px; line-height: 1.75; }
.legal { max-width: 860px; min-height: 70vh; padding: clamp(48px, 8vw, 112px) clamp(24px, 6vw, 72px); margin: 0 auto; }
.legal h1 { margin: 0 0 12px; font-size: clamp(42px, 7vw, 80px); letter-spacing: -.06em; line-height: .95; }
.legal h2 { margin: 44px 0 12px; font-size: 20px; }
.legal p { color: var(--muted); font-size: 15px; line-height: 1.8; }
.meta { padding-bottom: 24px; border-bottom: 1px solid var(--line); font-size: 12px !important; }
.status { display: grid; place-items: start; gap: 18px; min-height: 70vh; padding: clamp(64px, 12vw, 160px) clamp(24px, 9vw, 128px); }
.status-code { color: var(--accent); font-size: clamp(80px, 20vw, 260px); font-weight: 900; letter-spacing: -.08em; line-height: .75; }
.status h1 { max-width: 14ch; margin: 20px 0 0; font-size: clamp(36px, 7vw, 76px); letter-spacing: -.055em; line-height: .95; }
.status p { max-width: 560px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; padding: 28px clamp(20px, 5vw, 72px); border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.site-footer a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

@media (prefers-color-scheme: dark) {
  :root { color-scheme: dark; --bg: #141228; --surface: #1b1932; --idle: #29263f; --line: #37334f; --ink: #ffffff; --muted: #b8b5c8; --accent: #ff5a1f; --on-accent: #141228; }
}
@media (max-width: 760px) {
  .nav-links { gap: 12px; }
  .nav-links a:first-child { display: none; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-mark { min-height: 300px; border-top: 1px solid var(--line); border-left: 0; }
  .feature-grid, .test-note { grid-template-columns: 1fr; }
  .feature { min-height: 210px; border-right: 0; border-bottom: 1px solid var(--line); }
  .feature:last-child { border-bottom: 0; }
  .test-note p { padding-top: 0; border-left: 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
