:root {
  color-scheme: dark;
  --bg: #07152c;
  --bg-glow: rgba(41, 102, 163, .18);
  --surface: #0c203b;
  --surface-raised: #102947;
  --footer: #061126;
  --text: #f2f7ff;
  --muted: #a6b9ce;
  --faint: #778da8;
  --border: rgba(180, 213, 249, .15);
  --accent: #8ac5ff;
  --accent-strong: #b4dcff;
  --button: #dceeff;
  --button-text: #092541;
  --art-top: #193c65;
  --art-bottom: #09213e;
  --art-line: rgba(182, 219, 255, .11);
  --art-ring: rgba(184, 222, 255, .22);
  --shadow: rgba(0, 10, 29, .28);
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #f5f8fc;
  --bg-glow: rgba(119, 180, 232, .17);
  --surface: #fff;
  --surface-raised: #eef5fc;
  --footer: #eaf1f8;
  --text: #152d48;
  --muted: #53677e;
  --faint: #71839a;
  --border: rgba(41, 91, 140, .17);
  --accent: #225f9d;
  --accent-strong: #1b568f;
  --button: #174f83;
  --button-text: #fff;
  --art-top: #d5e9fb;
  --art-bottom: #a9cdec;
  --art-line: rgba(25, 73, 116, .12);
  --art-ring: rgba(24, 78, 126, .28);
  --shadow: rgba(46, 90, 130, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  margin: 0;
  background: radial-gradient(ellipse 70% 47% at 80% 17%, var(--bg-glow), transparent 75%), var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
::selection { background: var(--accent); color: var(--bg); }
.site-shell { min-height: 100svh; display: flex; flex-direction: column; }
.container { width: min(100% - 80px, 1180px); margin-inline: auto; }

.site-header {
  min-height: 102px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 24px;
  font-weight: 730;
  letter-spacing: -.055em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}
.wordmark-symbol { display: inline-flex; align-items: center; gap: 4px; height: 26px; }
.wordmark-symbol span {
  width: 5px;
  height: 17px;
  border-radius: 3px;
  background: var(--accent);
  transform: skew(-27deg);
}
.wordmark-symbol span:first-child { height: 11px; opacity: .58; }
.wordmark-symbol span:last-child { height: 22px; opacity: .78; }
.wordmark-period { color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 30px; }
.header-status { color: var(--muted); display: inline-flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 600; letter-spacing: .025em; white-space: nowrap; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #78d8ba; box-shadow: 0 0 0 4px rgba(120, 216, 186, .12); }
.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 41px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  font-size: 12px;
  font-weight: 650;
  transition: background .2s, border-color .2s, transform .2s;
}
.theme-toggle:hover { background: var(--surface-raised); border-color: var(--accent); transform: translateY(-1px); }
.theme-icon { width: 17px; height: 17px; flex: none; }
.moon-icon, html[data-theme="light"] .sun-icon { display: none; }
html[data-theme="light"] .moon-icon { display: block; }

.landing-main { flex: 1; padding-top: 46px; padding-bottom: 78px; }
.hero { display: grid; grid-template-columns: 1fr .93fr; align-items: center; gap: clamp(30px, 5vw, 76px); }
.hero-copy { position: relative; z-index: 1; padding-block: 48px 66px; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 33px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.eyebrow-line { display: block; width: 31px; height: 1px; background: currentColor; }
h1, h2, p { margin-top: 0; }
.hero h1 {
  margin-bottom: 26px;
  font-size: clamp(58px, 7.5vw, 104px);
  font-weight: 690;
  letter-spacing: -.085em;
  line-height: .98;
}
.hero h1 em { color: var(--accent); font-style: normal; }
.hero-description { max-width: 490px; margin-bottom: 36px; color: var(--muted); font-size: clamp(16px, 1.5vw, 18px); line-height: 1.75; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  min-height: 53px;
  padding: 0 21px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 760;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 25px var(--shadow); }
.button-primary { color: var(--button-text); background: var(--button); }
.button span { font-size: 19px; font-weight: 400; }
.hero-note { display: inline-flex; align-items: center; gap: 10px; color: var(--faint); font-size: 13px; white-space: nowrap; }
.note-line { width: 21px; height: 1px; background: var(--faint); }

.hero-art {
  isolation: isolate;
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1 / 1.02;
  min-height: 430px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: linear-gradient(145deg, var(--art-top), var(--art-bottom) 78%);
  box-shadow: 0 28px 60px var(--shadow), inset 0 1px rgba(255,255,255,.12);
}
.art-grid {
  position: absolute;
  inset: 0;
  opacity: .8;
  background-image: linear-gradient(var(--art-line) 1px, transparent 1px), linear-gradient(90deg, var(--art-line) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 78%, transparent);
}
.art-glow { position: absolute; width: 70%; aspect-ratio: 1; left: 15%; top: 10%; border-radius: 50%; background: radial-gradient(circle, rgba(125, 192, 255, .27), transparent 68%); filter: blur(20px); }
html[data-theme="light"] .art-glow { background: radial-gradient(circle, rgba(255, 255, 255, .67), transparent 67%); }
.orbit { position: absolute; left: 50%; top: 45%; border: 1px solid var(--art-ring); border-radius: 50%; transform: translate(-50%, -50%); }
.orbit-outer { width: 83%; aspect-ratio: 1; }
.orbit-inner { width: 61%; aspect-ratio: 1; }
.orbit-outer::before, .orbit-inner::before { content: ""; position: absolute; left: 50%; top: -4px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-strong); box-shadow: 0 0 16px var(--accent); }
.orbit-inner::before { left: 12%; top: 15%; width: 5px; height: 5px; }
.art-core {
  position: absolute;
  left: 50%;
  top: 45%;
  display: grid;
  place-items: center;
  width: 43%;
  aspect-ratio: 1;
  border: 1px solid rgba(222, 241, 255, .26);
  border-radius: 50%;
  background: linear-gradient(140deg, rgba(172, 219, 255, .26), rgba(49, 112, 171, .08));
  box-shadow: inset 0 2px 30px rgba(220, 241, 255, .08), 0 22px 48px rgba(0, 22, 54, .18);
  transform: translate(-50%, -50%);
}
html[data-theme="light"] .art-core { border-color: rgba(255,255,255,.58); background: linear-gradient(145deg, rgba(255,255,255,.58), rgba(187, 220, 248, .22)); }
.art-core span { color: #e8f5ff; font-family: Georgia, serif; font-size: clamp(100px, 15vw, 208px); font-weight: 400; line-height: 1; text-shadow: 0 12px 27px rgba(1, 23, 51, .2); transform: translateY(-4%); }
html[data-theme="light"] .art-core span { color: #22649b; text-shadow: none; }
.art-node { position: absolute; width: 12px; height: 12px; border: 3px solid var(--accent-strong); border-radius: 50%; background: var(--art-bottom); box-shadow: 0 0 0 6px rgba(185, 223, 255, .12); }
.art-node-one { top: 15%; right: 21%; }
.art-node-two { left: 11%; top: 58%; width: 7px; height: 7px; border: none; background: var(--accent-strong); }
.art-caption {
  position: absolute;
  right: 27px;
  bottom: 24px;
  left: 27px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  color: #eaf6ff;
  font-size: 13px;
  line-height: 1.55;
}
html[data-theme="light"] .art-caption { color: #153c60; }
.art-caption strong { font-weight: 750; }
.caption-index { color: var(--accent-strong); font-size: 11px; font-weight: 700; letter-spacing: .14em; }

.site-footer { margin-top: auto; border-top: 1px solid var(--border); background: var(--footer); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr .8fr; gap: 50px; padding-block: 48px 52px; }
.footer-wordmark { font-size: 23px; }
.footer-brand p { margin: 16px 0 0; color: var(--muted); font-size: 13px; }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; color: var(--muted); font-size: 13px; }
.footer-column h2 { margin-bottom: 7px; color: var(--text); font-size: 12px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.footer-column a { text-decoration: none; transition: color .2s; }
.footer-column a:hover { color: var(--accent); }
.footer-address { font-style: normal; line-height: 1.6; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-block: 18px 24px; border-top: 1px solid var(--border); color: var(--faint); font-size: 11px; }

.legal-main { flex: 1; width: min(100% - 80px, 900px); margin: 0 auto; padding: 70px 0 110px; }
.back-link { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 38px; color: var(--accent); font-size: 13px; font-weight: 700; text-decoration: none; }
.back-link:hover { text-decoration: underline; }
.legal-header { padding-bottom: 40px; border-bottom: 1px solid var(--border); }
.legal-kicker { margin-bottom: 16px; color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.legal-header h1 { margin-bottom: 16px; font-size: clamp(46px, 6vw, 70px); font-weight: 690; letter-spacing: -.07em; line-height: 1.05; }
.legal-intro { max-width: 690px; margin-bottom: 22px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.legal-date { margin-bottom: 0; color: var(--faint); font-size: 12px; }
.legal-content { max-width: 760px; padding-top: 24px; color: var(--muted); font-size: 15px; line-height: 1.85; }
.legal-content section { padding-top: 26px; }
.legal-content h2 { margin-bottom: 12px; color: var(--text); font-size: 22px; font-weight: 700; letter-spacing: -.035em; line-height: 1.3; }
.legal-content h3 { margin: 26px 0 10px; color: var(--text); font-size: 17px; font-weight: 700; letter-spacing: -.02em; line-height: 1.4; }
.legal-content p { margin-bottom: 14px; }
.legal-content ul { margin: 0 0 16px; padding-left: 23px; }
.legal-content li { padding-left: 5px; margin-bottom: 8px; }
.legal-content a { color: var(--accent); text-underline-offset: 3px; }
.legal-content strong { color: var(--text); font-weight: 680; }
.legal-callout { margin-top: 38px; padding: 23px 25px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.legal-callout p:last-child { margin-bottom: 0; }
.policy-summary, .policy-toc { margin-top: 34px; padding: 26px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.policy-summary p:last-child { margin-bottom: 0; }
.policy-toc ol { margin: 17px 0 0; padding-left: 23px; }
.policy-toc li { padding-left: 4px; margin-bottom: 8px; }
.policy-toc a { text-decoration: none; }
.policy-toc a:hover { text-decoration: underline; }
.policy-table-wrap { max-width: 100%; margin: 22px 0; overflow-x: auto; border: 1px solid var(--border); border-radius: 10px; }
.policy-table { width: 100%; min-width: 660px; border-collapse: collapse; font-size: 13px; line-height: 1.5; }
.policy-table th, .policy-table td { padding: 11px 13px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.policy-table thead { background: var(--surface-raised); color: var(--text); }
.policy-table tbody th { width: 31%; color: var(--text); font-weight: 650; }
.policy-table tbody td:last-child { white-space: nowrap; font-weight: 700; }
.policy-table tbody tr:last-child th, .policy-table tbody tr:last-child td { border-bottom: 0; }
.policy-address { margin: 13px 0; color: var(--muted); font-style: normal; line-height: 1.8; }

@media (max-width: 980px) {
  .hero { gap: 28px; }
  .hero h1 { font-size: clamp(58px, 7.5vw, 80px); }
  .hero-art { min-height: 370px; }
  .footer-grid { gap: 28px; }
}
@media (max-width: 760px) {
  .container, .legal-main { width: min(100% - 40px, 600px); }
  .site-header { min-height: 82px; }
  .header-status { display: none; }
  .landing-main { padding-top: 18px; padding-bottom: 65px; }
  .hero { grid-template-columns: 1fr; gap: 12px; }
  .hero-copy { padding-block: 44px 30px; }
  .hero h1 { font-size: clamp(60px, 12vw, 88px); }
  .hero-art { width: min(100%, 540px); min-height: 0; aspect-ratio: 1.15 / 1; margin-inline: auto; }
  .art-core span { font-size: clamp(115px, 27vw, 190px); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 42px 30px; padding-block: 42px; }
  .footer-brand { grid-column: 1 / -1; }
  .legal-main { padding-top: 42px; padding-bottom: 80px; }
}
@media (max-width: 490px) {
  .wordmark { font-size: 21px; }
  .theme-toggle { width: 41px; padding: 0; justify-content: center; }
  .theme-toggle span { display: none; }
  .hero-copy { padding-top: 34px; }
  .eyebrow { font-size: 10px; gap: 8px; letter-spacing: .14em; }
  .eyebrow-line { width: 20px; }
  .hero h1 { font-size: clamp(58px, 14vw, 70px); }
  .hero-description { font-size: 15px; }
  .hero-actions { gap: 18px; }
  .hero-note { font-size: 12px; }
  .hero-art { border-radius: 20px; }
  .art-caption { right: 18px; bottom: 17px; left: 18px; font-size: 10px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 5px; }
  .legal-header h1 { font-size: 48px; }
  .legal-intro { font-size: 15px; }
  .legal-content { font-size: 14px; }
  .legal-content h2 { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
