:root {
  color-scheme: dark;
  --primary: #a61d2a;
  --secondary: #e6be88;
  --background: #292d32;
  --surface: #1d2024;
  --text: #ededed;
  --text-secondary: #616266;
  --muted: #b2b3b5;
  --subtle: #929397;
  --fade-light: #606060;
  --fade-dark: #272727;
  --line: rgba(237, 237, 237, 0.14);
  --line-strong: rgba(237, 237, 237, 0.25);
  --radius-small: 12px;
  --radius-medium: 18px;
  --content: 1180px;
  --reading: 720px;
  --page-padding: clamp(20px, 4vw, 48px);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background: linear-gradient(to bottom right, var(--fade-light) 0%, var(--background) 48%, var(--fade-dark) 100%) fixed;
  color: var(--text);
  font-family: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; }

:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 4px;
  border-radius: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--text);
  color: var(--background);
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid transparent;
}

.navigation {
  width: min(100%, calc(var(--content) + var(--page-padding) * 2));
  min-height: 72px;
  margin: 0 auto;
  padding: 0 var(--page-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wordmark { display: inline-flex; align-items: center; }
.brand-logo { display: block; width: 48px; height: auto; }
.header-brand-name { position: absolute; left: 50%; color: var(--secondary); font-size: 36px; font-style: italic; font-weight: 700; letter-spacing: -.04em; transform: translateX(-50%); }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: var(--muted); font-size: 14px; transition: color 160ms ease; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }

.nav-toggle { display: none; width: 42px; height: 42px; padding: 11px; border: 0; border-radius: 50%; background: transparent; color: var(--text); cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 1px; margin: 5px 0; background: currentColor; transition: transform 160ms ease; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }

.hero {
  width: min(100%, calc(var(--content) + var(--page-padding) * 2));
  min-height: calc(90svh - 73px);
  margin: 0 auto;
  padding: clamp(60px, 8vh, 96px) var(--page-padding) 72px;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
}

.eyebrow {
  margin: 0 0 28px;
  color: var(--secondary);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 880px;
  margin: 0;
  font-size: clamp(54px, 9vw, 112px);
  font-weight: 650;
  letter-spacing: -.065em;
  line-height: .94;
  text-wrap: balance;
}

.hero-description {
  max-width: 560px;
  margin: 34px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 24px);
  letter-spacing: -.02em;
}

.hero-actions { margin-top: 42px; }

.button {
  min-height: 52px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--primary);
  border-radius: 999px;
  background: var(--primary);
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  transition: transform 160ms ease, background-color 160ms ease;
}

.button:hover { transform: translateY(-2px); background: #ba2433; }

.page-shell {
  width: min(100%, calc(var(--content) + var(--page-padding) * 2));
  min-height: 68vh;
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) var(--page-padding) clamp(96px, 14vw, 180px);
}

.legal-page { padding-bottom: clamp(48px, 6vw, 80px); }
.legal-page .page-header { margin-bottom: 44px; }
.legal-page .prose section + section { margin-top: 36px; }
.legal-page .prose h2 { margin-bottom: 6px; }
.legal-page .prose h3 { margin: 26px 0 6px; }

.page-header { max-width: 820px; margin-bottom: 72px; }
.page-header h1 { margin: 0; font-size: clamp(48px, 7vw, 84px); line-height: 1; letter-spacing: -.055em; }
.page-intro { max-width: 660px; margin: 28px 0 0; color: var(--muted); font-size: clamp(19px, 2.3vw, 24px); letter-spacing: -.02em; }
.updated { margin-top: 22px; color: var(--subtle); font-size: 14px; }

.prose { max-width: var(--reading); }
.prose section + section { margin-top: 54px; }
.prose h2 { margin: 0 0 16px; font-size: 24px; letter-spacing: -.03em; }
.prose h3 { margin: 34px 0 12px; font-size: 18px; letter-spacing: -.02em; }
.prose p, .prose li { color: var(--muted); }
.prose p { margin: 0 0 18px; }
.prose ul { padding-left: 20px; }
.prose li + li { margin-top: 7px; }
.prose a { color: var(--text); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 4px; }
.notice { padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius-small); background: var(--surface); }

.contact-card {
  max-width: 720px;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius-medium);
  background: var(--surface);
}

.contact-card h2 { margin: 0 0 12px; font-size: clamp(24px, 3vw, 34px); letter-spacing: -.035em; }
.contact-card p { margin: 0; color: var(--muted); }
.contact-card .button { margin-top: 28px; }
.response-note { margin-top: 18px !important; font-size: 14px; }

.beta-card { max-width: 760px; }
.beta-guidance { max-width: 620px; margin: 22px 0 0; color: var(--muted); font-size: 15px; }
.beta-form { margin-top: 34px; display: flex; gap: 10px; }
.field { flex: 1; min-width: 0; }
.field label { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.field input {
  width: 100%;
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--fade-dark);
  color: var(--text);
  font: inherit;
}
.field input::placeholder { color: var(--subtle); }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: 14px 0 0; color: var(--subtle); font-size: 13px; }
.form-success { display: none; margin-top: 14px; color: var(--text); }
.form-success:target { display: block; }

.site-footer { border-top: 1px solid var(--line); }
.footer-inner {
  width: min(100%, calc(var(--content) + var(--page-padding) * 2));
  margin: 0 auto;
  padding: 28px var(--page-padding);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: 40px;
}
.footer-contact { justify-self: start; }
.footer-copyright { margin: 0; color: var(--subtle); font-size: 13px; }
.footer-contact .footer-support { display: inline-flex; margin-top: 5px; color: var(--muted); font-size: 13px; }
.footer-links, .social-links { display: flex; }
.footer-links { grid-column: 3; align-items: center; justify-content: flex-end; justify-self: end; flex-flow: row wrap; gap: 10px 24px; }
.social-links { grid-column: 2; grid-row: 1; align-items: center; justify-content: center; gap: 14px; }
.footer-links a { color: var(--muted); font-size: 13px; }
.social-links a { display: inline-flex; color: var(--muted); }
.footer-links a:hover, .social-links a:hover { color: var(--text); }
.social-icon { display: block; width: 19px; height: 19px; background: currentColor; mask: var(--icon) center / contain no-repeat; }
.social-icon--instagram { --icon: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27%3E%3Crect x=%273%27 y=%273%27 width=%2718%27 height=%2718%27 rx=%275%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27/%3E%3Ccircle cx=%2712%27 cy=%2712%27 r=%274%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27/%3E%3Ccircle cx=%2717.5%27 cy=%276.5%27 r=%271%27 fill=%27black%27/%3E%3C/svg%3E"); }
.social-icon--tiktok { --icon: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27%3E%3Cpath d=%27M14 2h3c.25 2.3 1.55 3.7 4 4v3c-1.55-.08-2.9-.55-4-1.35v7.85A5.5 5.5 0 1 1 11.5 10c.5 0 1 .07 1.5.2v3.2a2.5 2.5 0 1 0 1 2V2Z%27 fill=%27black%27/%3E%3C/svg%3E"); }
.social-icon--youtube { --icon: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27%3E%3Cmask id=%27b%27%3E%3Crect width=%2724%27 height=%2724%27 rx=%276%27 fill=%27white%27/%3E%3Cpath d=%27m10 8.8 6 3.2-6 3.2z%27 fill=%27black%27/%3E%3C/mask%3E%3Crect y=%274%27 width=%2724%27 height=%2716%27 rx=%275%27 fill=%27black%27 mask=%27url(%23b)%27/%3E%3C/svg%3E"); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.reveal { opacity: 0; transform: translateY(12px); transition: opacity 600ms ease, transform 600ms ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 700px) {
  .navigation { min-height: 64px; }
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 58px;
    right: var(--page-padding);
    min-width: 132px;
    padding: 8px;
    display: none;
    border: 1px solid var(--line);
    border-radius: var(--radius-small);
    background: var(--surface);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { width: 100%; padding: 10px 12px; font-size: 15px; }
  .hero { min-height: calc(90svh - 65px); }
  .hero h1 { font-size: clamp(52px, 16vw, 76px); }
  .beta-form { align-items: stretch; flex-direction: column; }
  .footer-inner { grid-template-columns: 1fr auto; row-gap: 20px; column-gap: 24px; }
  .footer-links { grid-column: 2; grid-row: 1; gap: 8px 14px; }
  .social-links { grid-column: 1 / -1; grid-row: 2; justify-self: center; }
}

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