@font-face {
  font-family: "RERU Kit JetBrains Mono";
  src: url("/reru-kit-jetbrains-mono-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; background: #0b0b0c; color: #f6f6f4; }
body { overflow-x: hidden; font-family: ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid #9ec9f0; outline-offset: 3px; }
.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; }
.skip-link { position: fixed; z-index: 10; top: 8px; left: 8px; padding: 10px 14px; background: #f6f6f4; color: #0b0b0c; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.page { min-height: 100dvh; padding: 0 clamp(20px,4vw,64px); display: grid; grid-template-rows: 72px minmax(0,1fr); }
.header { border-bottom: 1px solid #2b2c2f; display: flex; align-items: center; justify-content: space-between; }
.wordmark { width: max-content; font-family: ui-monospace,"SFMono-Regular",Menlo,monospace; font-size: 17px; font-weight: 850; letter-spacing: -.08em; }
.login { min-height: 44px; padding: 0 14px; border: 1px solid #3c3d41; display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 750; transition: border-color 180ms ease,background 180ms ease; }
.login:hover { border-color: #f6f6f4; background: #17181a; }
.login svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hero { width: min(1440px,100%); min-width: 0; min-height: calc(100dvh - 72px); margin: 0 auto; padding: 72px 64px 90px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.motion { min-width: 0; color: #f6f6f4; }
.reveal { height: clamp(80px,13vw,164px); display: flex; align-items: center; font-family: "RERU Kit JetBrains Mono","JetBrains Mono",monospace; font-weight: 800; letter-spacing: -.05em; line-height: 1; font-size: clamp(64px,12vw,150px); white-space: nowrap; color: #f6f6f4; }
.copy { max-width: 660px; margin-top: 34px; }
.copy h1 { margin: 0; font-family: "RERU Kit JetBrains Mono","JetBrains Mono",monospace; font-weight: 500; font-size: clamp(18px,2.4vw,26px); letter-spacing: -.01em; line-height: normal; color: rgba(246,246,244,.92); }
.copy h1 span { color: #f6f6f4; }
.legal-nav { position: fixed; z-index: 2; right: clamp(20px,4vw,64px); bottom: 18px; display: flex; gap: 16px; color: #777872; font-size: 10px; }
.legal-nav a { min-height: 24px; display: inline-flex; align-items: center; }
.legal-nav a:hover { color: #f6f6f4; }

.subpage { min-height: 100dvh; padding: 0 clamp(20px,4vw,64px) 64px; background: #0b0b0c; }
.subpage .header { height: 72px; }
.panel { width: min(760px,100%); margin: 0 auto; padding: clamp(64px,10vw,120px) 0; }
.panel-icon { width: 52px; height: 52px; margin-bottom: 32px; border: 1px solid #3c3d41; color: #f05a47; display: grid; place-items: center; }
.panel-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.panel h1 { margin: 0; font-family: "RERU Kit JetBrains Mono",monospace; font-size: clamp(38px,7vw,72px); letter-spacing: -.06em; line-height: .98; }
.panel p { max-width: 58ch; margin: 24px 0 0; color: #a9aaa5; font-size: 15px; line-height: 1.7; }
.panel-note { margin-top: 28px; min-height: 44px; padding: 0 13px; border: 1px solid #2b2c2f; color: #ffb48a; display: inline-flex; align-items: center; font-size: 11px; font-weight: 700; }
.legal-content { width: min(760px,100%); margin: 0 auto; padding: 72px 0; }
.legal-content h1 { margin: 0 0 54px; font-family: "RERU Kit JetBrains Mono",monospace; font-size: clamp(42px,7vw,76px); letter-spacing: -.06em; }
.legal-content section { padding: 26px 0; border-top: 1px solid #2b2c2f; }
.legal-content h2 { margin: 0 0 12px; font-family: "RERU Kit JetBrains Mono",monospace; font-size: 16px; }
.legal-content p { max-width: 68ch; margin: 0 0 12px; color: #b8b9b4; font-size: 14px; line-height: 1.7; }
.legal-content a { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 620px) {
  .page { padding: 0 16px; grid-template-rows: 62px minmax(0,1fr); }
  .header, .subpage .header { height: 62px; }
  .hero { min-height: calc(100dvh - 62px); padding: 64px 0 80px; }
  .legal-nav { right: 16px; bottom: 10px; }
  .subpage { padding: 0 16px 48px; }
  .panel, .legal-content { padding: 56px 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition-duration: .01ms !important; }
}
