:root {
  --bg: #070b09;
  --bg-elevated: #101612;
  --bg-deep: #0c1210;
  --ink: #f4f1ea;
  --ink-2: #d8d4cb;
  --muted: #9aa59e;
  --line: rgba(244, 241, 234, 0.1);
  --line-strong: rgba(244, 241, 234, 0.18);
  --signal: #19a86a;
  --signal-deep: #3dd68c;
  --signal-glow: rgba(25, 168, 106, 0.22);
  --white: #ffffff;
  --header-bg: #ffffff;
  --header-ink: #0c1210;
  --header-muted: #5a655f;
  --max: 1120px;
  --font-brand: "Unbounded", system-ui, sans-serif;
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Sora", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.65;
  background: var(--bg);
  overflow-x: hidden;
}

a {
  color: var(--signal-deep);
  text-underline-offset: 0.18em;
}

a:hover {
  color: #fff;
}

img {
  max-width: 100%;
  display: block;
}

.wrap {
  width: min(100% - 2.25rem, var(--max));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

/* Header — stays white */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(18px) saturate(1.2);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: rgba(12, 18, 16, 0.08);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--header-ink);
  text-decoration: none;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  box-shadow: 0 8px 20px rgba(12, 18, 16, 0.12);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-text strong {
  font-family: var(--font-brand);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.03em;
  color: var(--header-ink);
}

.brand-text span {
  font-size: 0.68rem;
  color: var(--header-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.2rem 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--header-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--header-ink);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.62rem 1.05rem;
  border-radius: 999px;
  background: var(--header-ink);
  color: #f4f1ea !important;
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: -0.01em;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}

.nav-cta:hover {
  background: var(--signal);
  color: #04140c !important;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  background: #fff;
  border: 1px solid rgba(12, 18, 16, 0.12);
  color: var(--header-ink);
  border-radius: 10px;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  font-weight: 600;
  font-family: inherit;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    left: 1.125rem;
    right: 1.125rem;
    top: calc(100% + 0.35rem);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.55rem;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(12, 18, 16, 0.1);
    border-radius: 18px;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.18);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    display: block;
    padding: 0.9rem 0.85rem;
    color: var(--header-muted);
  }

  .nav-links a:hover,
  .nav-links a[aria-current="page"] {
    color: var(--header-ink);
  }

  .nav-cta {
    margin: 0.35rem 0.45rem 0.55rem;
    justify-content: center;
  }
}

/* Hero — full-bleed atmosphere */
.hero {
  position: relative;
  min-height: min(100svh, 900px);
  display: grid;
  align-items: end;
  padding: clamp(5.5rem, 14vw, 8.5rem) 0 clamp(3.5rem, 8vw, 5.5rem);
  overflow: hidden;
  background: var(--bg-deep);
  color: #f4f1ea;
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 55% 50% at 78% 35%, rgba(25, 168, 106, 0.35), transparent 60%),
    radial-gradient(ellipse 40% 45% at 20% 80%, rgba(25, 168, 106, 0.12), transparent 55%),
    linear-gradient(160deg, #0c1210 0%, #121a17 45%, #0a100e 100%);
}

.hero-visual canvas,
.hero-mesh {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-mesh {
  opacity: 0.55;
  background-image:
    linear-gradient(rgba(244, 241, 234, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 241, 234, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 70% 40%, black 10%, transparent 68%);
  animation: meshDrift 28s linear infinite;
}

.hero-orb {
  position: absolute;
  width: min(58vw, 560px);
  height: min(58vw, 560px);
  right: -6%;
  top: 8%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.18), transparent 28%),
    radial-gradient(circle at 50% 50%, rgba(25, 168, 106, 0.55), transparent 68%);
  filter: blur(8px);
  animation: orbFloat 12s var(--ease) infinite;
}

.hero-ring {
  position: absolute;
  width: min(34vw, 320px);
  height: min(34vw, 320px);
  right: 14%;
  bottom: 16%;
  border-radius: 50%;
  border: 1px solid rgba(244, 241, 234, 0.16);
  box-shadow: inset 0 0 60px rgba(25, 168, 106, 0.12);
  animation: ringPulse 6s ease-in-out infinite;
}

@keyframes meshDrift {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-72px, -72px, 0);
  }
}

@keyframes orbFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(-24px, 30px, 0) scale(1.04);
  }
}

@keyframes ringPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.55;
  }
  50% {
    transform: scale(1.07);
    opacity: 1;
  }
}

.hero .wrap {
  z-index: 2;
}

.hero-brand {
  margin: 0 0 1.1rem;
  font-family: var(--font-brand);
  font-weight: 600;
  font-size: clamp(2.8rem, 9.5vw, 5.4rem);
  line-height: 0.94;
  letter-spacing: -0.045em;
  max-width: 12ch;
  color: #fff;
  animation: riseIn 0.9s var(--ease) both;
}

.hero h1 {
  margin: 0 0 1.15rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.45rem, 3.2vw, 2.1rem);
  line-height: 1.25;
  letter-spacing: -0.025em;
  max-width: 18ch;
  color: rgba(244, 241, 234, 0.92);
  animation: riseIn 0.9s var(--ease) 0.08s both;
}

.hero-lead {
  margin: 0 0 1.75rem;
  max-width: 34rem;
  color: rgba(244, 241, 234, 0.68);
  font-size: 1.05rem;
  font-weight: 400;
  animation: riseIn 0.9s var(--ease) 0.14s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  animation: riseIn 0.9s var(--ease) 0.2s both;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.94rem;
  text-decoration: none;
  border: 1px solid transparent;
  font-family: inherit;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease),
    color 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--signal);
  color: #04140c;
}

.btn-primary:hover {
  background: #2bc480;
  color: #04140c;
}

.btn-ghost {
  border-color: rgba(244, 241, 234, 0.22);
  color: #f4f1ea;
  background: rgba(255, 255, 255, 0.04);
}

.btn-ghost:hover {
  border-color: rgba(244, 241, 234, 0.4);
  color: #fff;
}

.hero .btn-ghost {
  color: #f4f1ea;
}

.section .btn-ghost,
.page-hero .btn-ghost,
footer .btn-ghost {
  border-color: var(--line-strong);
  color: #f4f1ea;
  background: rgba(255, 255, 255, 0.04);
}

.section .btn-ghost:hover,
.page-hero .btn-ghost:hover,
footer .btn-ghost:hover {
  border-color: rgba(244, 241, 234, 0.4);
  color: #fff;
}

.disclaimer {
  max-width: 38rem;
  padding: 1rem 1.1rem;
  border-left: 2px solid rgba(25, 168, 106, 0.7);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(244, 241, 234, 0.72);
  font-size: 0.9rem;
  backdrop-filter: blur(8px);
  animation: riseIn 0.9s var(--ease) 0.28s both;
}

.section .disclaimer,
.prose .disclaimer {
  border-left-color: var(--signal);
  background: rgba(25, 168, 106, 0.1);
  color: rgba(244, 241, 234, 0.75);
}

/* Content below hero — black + white */
.section {
  padding: clamp(3.25rem, 7vw, 5.5rem) 0;
  position: relative;
  background: var(--bg);
  color: var(--ink);
}

.section-head {
  margin-bottom: 2rem;
  max-width: 38rem;
}

.section-head h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.55rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: #fff;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.split {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .split-2 {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
    align-items: start;
  }

  .split-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }
}

.feature-rail {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

@media (min-width: 900px) {
  .feature-rail {
    grid-template-columns: repeat(3, 1fr);
  }
}

.block {
  padding: 1.6rem 0 1.7rem;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 900px) {
  .feature-rail .block {
    padding: 1.7rem 1.5rem 1.8rem 0;
    border-bottom: 0;
    border-right: 1px solid var(--line);
  }

  .feature-rail .block:last-child {
    border-right: 0;
    padding-right: 0;
  }

  .feature-rail .block:first-child {
    padding-left: 0;
  }
}

.block h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
}

.block p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.step-num {
  display: inline-block;
  margin-bottom: 0.7rem;
  color: var(--signal-deep);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.status-list {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.status-list li {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.96rem;
}

.status-list strong {
  font-family: var(--font-display);
  color: var(--signal-deep);
  font-weight: 650;
  letter-spacing: -0.01em;
}

.status-list span {
  color: var(--muted);
}

.band {
  background:
    radial-gradient(700px 280px at 10% 0%, rgba(25, 168, 106, 0.12), transparent 55%),
    linear-gradient(180deg, #0a100e 0%, var(--bg) 100%);
  border-block: 1px solid var(--line);
}

.panel-dark {
  background: var(--bg-elevated);
  color: #f4f1ea;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.panel-dark::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -60px;
  top: -80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(25, 168, 106, 0.35), transparent 70%);
  pointer-events: none;
}

.panel-dark h2,
.panel-dark h3 {
  color: #fff;
}

.panel-dark p,
.panel-dark li,
.panel-dark span {
  color: rgba(244, 241, 234, 0.68);
}

.panel-dark .status-list strong {
  color: #3dd68c;
}

.panel-dark .status-list li {
  border-top-color: rgba(244, 241, 234, 0.1);
}

/* FAQ */
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 1.1rem 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  font-family: var(--font-display);
  letter-spacing: -0.015em;
  color: #fff;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  float: right;
  color: var(--signal-deep);
  font-weight: 600;
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  margin: 0.9rem 0 0.15rem;
  color: var(--muted);
  font-size: 0.98rem;
}

/* Prose */
.prose {
  max-width: 44rem;
}

.prose h1 {
  margin: 0 0 1rem;
  font-family: var(--font-brand);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  color: #fff;
}

.prose h2 {
  margin: 2.1rem 0 0.7rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
}

.prose p,
.prose li {
  color: var(--muted);
}

.prose ul {
  padding-left: 1.15rem;
}

.prose strong {
  color: #fff;
}

.page-hero {
  padding: clamp(3rem, 8vw, 5rem) 0 1.25rem;
  background:
    radial-gradient(600px 240px at 80% 0%, rgba(25, 168, 106, 0.16), transparent 60%),
    var(--bg);
  color: var(--ink);
}

.page-hero h1 {
  color: #fff;
}

.page-hero p {
  max-width: 40rem;
  color: var(--muted);
  margin: 0.85rem 0 0;
}

.toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.toc a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
  border-bottom: 1px solid transparent;
}

.toc a:hover {
  color: #fff;
  border-bottom-color: var(--signal);
}

.prose h3 {
  margin: 1.5rem 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  color: #fff;
}

.callout {
  margin: 1.35rem 0;
  padding: 1.1rem 1.2rem;
  border-left: 2px solid var(--signal);
  background: rgba(25, 168, 106, 0.1);
  border-radius: 0 16px 16px 0;
}

.callout strong {
  color: var(--signal-deep);
}

/* Footer */
.site-footer {
  margin-top: 0;
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 2.75rem;
  background: #050807;
}

.footer-grid {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 720px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

.site-footer h4 {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  font-weight: 650;
}

.site-footer p,
.site-footer a {
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 0.45rem;
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

.footer-note {
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
