@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&family=IBM+Plex+Sans:wght@400;500;600&family=Sora:wght@500;600;700&display=swap");

:root {
  --bg: #06080d;
  --bg-soft: #0a0f18;

  --brand-dark: #070b12;
  --brand-dark-2: #0d141f;
  --brand-dark-3: #121c29;

  --surface: rgba(16, 23, 34, 0.82);
  --surface-soft: rgba(20, 28, 40, 0.72);
  --surface-subtle: rgba(255, 255, 255, 0.045);

  --text: #f3efe6;
  --text-soft: #a8b0be;
  --text-muted: #6f7a8a;
  --text-inverse: #070b12;

  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.16);

  --accent: #18d8f5;
  --accent-soft: rgba(24, 216, 245, 0.16);
  --accent-glow: rgba(24, 216, 245, 0.28);

  --gold: #d6a64a;
  --gold-light: #f0c76a;
  --gold-soft: rgba(240, 199, 106, 0.18);

  --shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
  --shadow-heavy: 0 44px 110px rgba(0, 0, 0, 0.42);

  --radius-xl: 36px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --content-width: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 8%, rgba(24, 216, 245, 0.13), transparent 30%),
    radial-gradient(circle at 82% 18%, rgba(240, 199, 106, 0.08), transparent 24%),
    linear-gradient(180deg, #06080d 0%, #080d14 52%, #06080d 100%);
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.42), transparent 82%);
  pointer-events: none;
}

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

img,
svg {
  display: block;
}

.page-shell {
  position: relative;
  width: min(calc(100% - 40px), var(--content-width));
  margin: 0 auto;
  padding-bottom: 32px;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 20px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(7, 11, 18, 0.92);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.site-header.is-scrolled {
  background: rgba(7, 11, 18, 0.97);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand-lockup,
.footer-lockup {
  display: block;
  width: auto;
  height: 54px;
}

.footer-lockup {
  height: 36px;
}

.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  font-size: 0.95rem;
}

.site-nav a {
  color: var(--text-soft);
}

.site-nav a:hover {
  color: var(--text);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.site-nav .nav-cta {
  min-height: 42px;
  padding: 0 18px;
  color: #070b12;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border: 1px solid rgba(240, 199, 106, 0.45);
  box-shadow: 0 16px 30px rgba(214, 166, 74, 0.18);
}

.nav-cta:hover,
.button:hover {
  transform: translateY(-1px);
}

.site-nav .nav-cta:hover {
  color: #070b12;
  background: linear-gradient(135deg, #f6d688, #dca94d);
}

.section {
  padding: 56px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: 44px;
  align-items: center;
  padding-top: 88px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--gold-light);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), rgba(24, 216, 245, 0.05));
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--text);
  font-family: "Sora", system-ui, sans-serif;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 12ch;
  font-size: clamp(3.35rem, 6vw, 6.2rem);
}

h2 {
  font-size: clamp(2rem, 3vw, 3.4rem);
}

h3 {
  font-size: 1.24rem;
}

p {
  margin: 0;
  color: var(--text-soft);
}

.lede {
  max-width: 62ch;
  margin-top: 24px;
  font-size: 1.14rem;
}

.lede.narrow {
  max-width: 56ch;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  font-weight: 600;
}

.button-primary {
  color: #070b12;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border-color: rgba(240, 199, 106, 0.42);
  box-shadow: 0 18px 36px rgba(214, 166, 74, 0.18);
}

.button-secondary {
  color: var(--text);
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.055);
}

.proof-ribbon {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.proof-ribbon span {
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-soft);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8rem;
}

.hero-mirror {
  position: relative;
}

.mirror-card {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  padding: 30px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(160deg, rgba(11, 16, 24, 0.98), rgba(18, 28, 41, 0.94)),
    linear-gradient(180deg, rgba(24, 216, 245, 0.09), transparent 45%);
  box-shadow: var(--shadow-heavy);
  isolation: isolate;
}

.mirror-glow,
.mirror-grid {
  position: absolute;
  inset: 0;
}

.mirror-glow {
  background:
    radial-gradient(circle at 28% 20%, rgba(24, 216, 245, 0.22), transparent 24%),
    radial-gradient(circle at 72% 72%, rgba(240, 199, 106, 0.1), transparent 28%);
}

.mirror-grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.96), transparent 100%);
}

.signal-stack {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 28px;
}

.signal-head p {
  color: var(--text-soft);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.signal-head h2 {
  max-width: 9ch;
}

.signal-panel {
  display: grid;
  gap: 14px;
}

.signal-panel div,
.matrix-column,
.cta-panel,
.surface-card,
.timeline-step,
.faq-item,
.legal-card {
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.032));
  box-shadow: var(--shadow);
}

.signal-panel div {
  padding: 18px 20px;
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: none;
}

.signal-panel span,
.matrix-column span,
.card-tag {
  display: block;
  color: var(--accent);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.signal-panel strong,
.matrix-column strong {
  display: block;
  margin-top: 8px;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.45;
}

.signal-caption {
  max-width: 42ch;
}

.section-heading {
  display: grid;
  gap: 18px;
  max-width: 860px;
  margin-bottom: 28px;
}

.split-heading {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  max-width: none;
  align-items: end;
}

.section-summary {
  color: var(--text-soft);
}

.privacy-principle {
  display: grid;
  gap: 20px;
}

.privacy-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  padding: 14px 18px;
  border: 1px solid rgba(240, 199, 106, 0.24);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(240, 199, 106, 0.12), rgba(240, 199, 106, 0.05));
  color: var(--text);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.9rem;
  line-height: 1.4;
  box-shadow: var(--shadow);
}

.card-grid {
  display: grid;
  gap: 18px;
}

.three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.four-up {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.surface-card,
.timeline-step,
.faq-item,
.legal-card {
  padding: 26px;
}

.surface-card {
  display: grid;
  gap: 14px;
}

.surface-card p:not(.card-tag),
.timeline-step p,
.faq-item p,
.legal-card p {
  color: var(--text-soft);
}

.surface-card.large {
  min-height: 220px;
}

.surface-card.large h2 {
  font-size: clamp(2rem, 3.2vw, 3.1rem);
  line-height: 1.02;
}

.surface-card.large h2 .inline-link {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.surface-card.subdued {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.025));
}

.surface-card.inverted {
  background:
    linear-gradient(160deg, rgba(16, 23, 34, 0.98), rgba(22, 34, 48, 0.92));
  border-color: rgba(24, 216, 245, 0.14);
}

.surface-card.inverted p,
.surface-card.inverted .card-tag {
  color: var(--text-soft);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.timeline-step {
  display: grid;
  gap: 16px;
}

.timeline-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(24, 216, 245, 0.18), rgba(24, 216, 245, 0.05));
  color: var(--text);
  font-family: "IBM Plex Mono", monospace;
}

.matrix-section {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(760px, 1.28fr);
  gap: 28px;
  align-items: start;
}

.matrix-copy p:last-child {
  margin-top: 22px;
  max-width: 54ch;
}

.matrix-board {
  display: grid;
  gap: 16px;
}

.matrix-board.four-up {
  grid-template-columns: repeat(2, minmax(260px, 1fr));
}

.matrix-column {
  padding: 22px 24px;
}

.matrix-footnote {
  grid-column: 1 / -1;
  padding: 4px 10px 0;
  color: var(--text-muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.84rem;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(9, 13, 20, 0.98), rgba(17, 26, 38, 0.94)),
    radial-gradient(circle at top right, rgba(24, 216, 245, 0.08), transparent 24%);
  border-color: var(--border-strong);
}

.cta-panel p:last-child,
.footer-note {
  color: var(--text-soft);
}

.subpage-main {
  padding-top: 48px;
}

.page-hero {
  padding-top: 70px;
}

.policy-meta {
  display: grid;
  gap: 6px;
  margin-top: 20px;
}

.policy-meta p,
.policy-meta strong {
  color: var(--text);
}

.policy-document {
  display: grid;
  gap: 18px;
}

.policy-section {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.028));
  box-shadow: var(--shadow);
}

.policy-section h2 {
  margin-bottom: 16px;
  font-size: clamp(1.55rem, 2.2vw, 2rem);
}

.policy-section h3 {
  margin-top: 22px;
  margin-bottom: 10px;
  font-size: 1.12rem;
}

.policy-section p {
  color: var(--text-soft);
}

.policy-section p + p,
.policy-section p + ul,
.policy-section ul + p,
.policy-section h3 + p,
.policy-section h3 + ul,
.policy-section ul + h3 {
  margin-top: 12px;
}

.policy-list {
  margin: 0;
  padding-left: 22px;
  color: var(--text-soft);
}

.policy-list li + li {
  margin-top: 8px;
}

.policy-address {
  margin-top: 14px;
}

.policy-address p + p {
  margin-top: 4px;
}

.faq-list,
.legal-grid {
  display: grid;
  gap: 18px;
}

.faq-item h2,
.legal-card h2 {
  margin-bottom: 14px;
  font-size: 1.35rem;
}

.legal-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.not-found {
  display: grid;
  place-items: center;
  min-height: 100vh;
  text-align: center;
}

.inline-link {
  color: var(--gold-light);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.inline-link:hover {
  color: var(--text);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto auto;
  gap: 20px;
  align-items: end;
  margin-top: 24px;
  padding: 28px 0 18px;
}

.footer-brand {
  padding: 12px 16px;
  border: 1px solid rgba(24, 216, 245, 0.12);
  border-radius: 18px;
  background: var(--brand-dark);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.2);
}

.footer-note {
  max-width: 48ch;
  margin-top: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  color: var(--text-soft);
}

.footer-links a:hover {
  color: var(--text);
}

.footer-meta {
  color: var(--text-muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.82rem;
  text-align: right;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 620ms ease,
    transform 620ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .nav-cta,
  .button {
    transition: none;
  }
}

@media (max-width: 1100px) {
  .site-header,
  .hero,
  .split-heading,
  .matrix-section,
  .cta-panel,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-header,
  .cta-panel {
    border-radius: 28px;
  }

  .hero {
    padding-top: 64px;
  }

  .three-up,
  .four-up,
  .timeline,
  .legal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer,
  .footer-links,
  .footer-meta {
    text-align: left;
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(calc(100% - 24px), var(--content-width));
  }

  .site-header {
    position: static;
    margin-top: 12px;
    border-radius: 28px;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .brand-lockup {
    height: 42px;
  }

  .footer-lockup {
    height: 30px;
  }

  h1 {
    max-width: none;
    font-size: clamp(2.7rem, 15vw, 4.1rem);
  }

  h2 {
    font-size: clamp(1.9rem, 8vw, 2.5rem);
  }

  .section {
    padding: 42px 0;
  }

  .hero {
    gap: 28px;
    padding-top: 40px;
  }

  .mirror-card {
    min-height: 480px;
    padding: 22px;
  }

  .three-up,
  .two-up,
  .four-up,
  .timeline,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .cta-panel {
    align-items: flex-start;
  }
}
