:root {
  color-scheme: dark;
  --bg: #07111f;
  --bg-elevated: #0d1a2b;
  --bg-soft: #11233a;
  --text: #f5f8fc;
  --muted: #a9b8c9;
  --line: rgba(213, 229, 246, 0.16);
  --accent: #2ee59d;
  --accent-strong: #7bf7c4;
  --blue: #6ca8ff;
  --max: 1160px;
  --radius: 18px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", sans-serif;
}

* {
  box-sizing: border-box;
  min-width: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 85% 12%, rgba(46, 229, 157, 0.11), transparent 28rem),
    radial-gradient(circle at 10% 54%, rgba(108, 168, 255, 0.09), transparent 30rem),
    var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 17, 31, 0.84);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(100% - 32px, var(--max));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.nav-links,
.footer-brand,
.site-footer nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 11px;
  font-size: 1.15rem;
  font-weight: 840;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.brand-mark {
  width: 40px;
  height: 24px;
  padding: 4px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 32px rgba(46, 229, 157, 0.24);
}

.brand-mark span {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg);
}

.brand-mark.small {
  width: 32px;
  height: 20px;
}

.brand-mark.small span {
  width: 12px;
  height: 12px;
}

.nav-links {
  gap: 24px;
}

.nav-links a,
.site-footer a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 680;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"],
.site-footer a:hover {
  color: var(--accent-strong);
}

.hero {
  width: min(100% - 32px, var(--max));
  min-height: calc(100vh - 72px);
  margin: 0 auto;
  padding: 80px 0;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: 72px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin-top: 0;
  letter-spacing: -0.045em;
}

h1 {
  margin-bottom: 26px;
  font-size: clamp(4rem, 9vw, 7.2rem);
  line-height: 0.88;
}

.hero h1 {
  font-size: clamp(3.4rem, 6vw, 5.4rem);
  white-space: nowrap;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.4rem, 5vw, 4.3rem);
  line-height: 1;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
}

.hero-text,
.section-heading > p:last-child,
.legal-hero > p {
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.22rem);
}

.hero-text {
  max-width: 600px;
  margin: 0 0 34px;
}

.primary-button {
  display: inline-flex;
  min-height: 50px;
  padding: 0 21px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--accent);
  color: #04130d;
  font-weight: 820;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease;
}

.primary-button:hover {
  transform: translateY(-2px);
  background: var(--accent-strong);
}

.primary-button:focus-visible,
.nav-links a:focus-visible,
.site-footer a:focus-visible,
.brand:focus-visible,
.legal-content a:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.switch-stage {
  position: relative;
  aspect-ratio: 1.16;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.01)),
    var(--bg-elevated);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.28);
}

.switch-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
  opacity: 0.45;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(46, 229, 157, 0.18);
  border-radius: 50%;
}

.orbit-one {
  width: 82%;
  aspect-ratio: 1;
}

.orbit-two {
  width: 58%;
  aspect-ratio: 1;
}

.switch-control {
  position: relative;
  z-index: 2;
  width: min(72%, 360px);
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background: rgba(7, 17, 31, 0.88);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
}

.switch-track {
  width: 100%;
  aspect-ratio: 2.2;
  padding: 7%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 46px rgba(46, 229, 157, 0.28);
}

.switch-knob {
  height: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--bg);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
}

.switch-label {
  display: block;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

.content-section {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 112px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 46px;
}

.section-heading > p:last-child {
  margin: 0;
}

.placeholder-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.placeholder-grid article {
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(13, 26, 43, 0.78);
}

.placeholder-grid article > span {
  display: block;
  margin-bottom: 74px;
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.8rem;
}

.placeholder-grid p,
.legal-content p {
  margin: 0;
  color: var(--muted);
}

.legal-main {
  width: min(100% - 32px, 900px);
  margin: 0 auto;
  padding: 96px 0 120px;
}

.legal-hero {
  padding-bottom: 52px;
  border-bottom: 1px solid var(--line);
}

.legal-hero h1 {
  max-width: 820px;
  font-size: clamp(3.6rem, 8vw, 6.4rem);
}

.legal-hero > p {
  max-width: 700px;
}

.draft-notice {
  margin-top: 30px;
  padding: 18px 20px;
  border: 1px solid rgba(46, 229, 157, 0.34);
  border-radius: 12px;
  background: rgba(46, 229, 157, 0.08);
  color: var(--muted);
}

.draft-notice strong {
  color: var(--text);
}

.legal-content section {
  padding: 38px 0;
  border-bottom: 1px solid var(--line);
}

.legal-content h2 {
  margin-bottom: 12px;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
}

.legal-content a {
  color: var(--accent-strong);
}

.site-footer {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 34px 0 46px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 22px 32px;
  border-top: 1px solid var(--line);
}

.footer-brand {
  gap: 10px;
}

.site-footer nav {
  gap: 22px;
}

.site-footer > p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

@media (max-width: 840px) {
  .hero {
    min-height: auto;
    padding: 72px 0;
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .switch-stage {
    max-height: 560px;
  }

  .placeholder-grid {
    grid-template-columns: 1fr;
  }

  .placeholder-grid article {
    min-height: 0;
  }

  .placeholder-grid article > span {
    margin-bottom: 44px;
  }
}

@media (max-width: 580px) {
  .nav-shell {
    min-height: 64px;
  }

  .nav-links {
    gap: 14px;
  }

  .nav-links a {
    font-size: 0.86rem;
  }

  .nav-links a:first-child {
    display: none;
  }

  .brand {
    font-size: 1rem;
  }

  .brand-mark {
    width: 34px;
    height: 21px;
  }

  .brand-mark span {
    width: 13px;
    height: 13px;
  }

  .hero {
    padding: 58px 0;
  }

  h1 {
    font-size: clamp(3.4rem, 18vw, 5rem);
  }

  .hero h1 {
    font-size: clamp(2.9rem, 14.5vw, 4.8rem);
  }

  .switch-stage {
    border-radius: 24px;
  }

  .switch-control {
    width: 78%;
    padding: 22px;
  }

  .content-section,
  .legal-main {
    padding-top: 76px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer nav {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .primary-button {
    transition: none;
  }
}
