:root {
  --bg: #132c33;
  --bg-soft: #1a363d;
  --panel: rgba(19, 44, 51, 0.76);
  --panel-strong: rgba(24, 53, 60, 0.94);
  --line: rgba(126, 154, 162, 0.2);
  --text: #eff5f4;
  --muted: #a8bcc1;
  --accent: #7e9aa2;
  --accent-2: #274047;
  --glow: rgba(126, 154, 162, 0.22);
  --shadow: 0 24px 80px rgba(5, 12, 15, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans SC", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 14% 18%, rgba(126, 154, 162, 0.18), transparent 28%),
    radial-gradient(circle at 86% 16%, rgba(39, 64, 71, 0.3), transparent 24%),
    linear-gradient(180deg, #0f242a 0%, #132c33 55%, #10262c 100%);
  min-height: 100vh;
}

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

.site-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding-bottom: 48px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.brand-mark {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 20px var(--glow);
}

.nav {
  display: flex;
  gap: 22px;
}

.nav a,
.button {
  color: var(--text);
  text-decoration: none;
}

.nav a {
  font-size: 14px;
  color: var(--muted);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #f4f8f7;
  font-weight: 700;
  box-shadow: 0 12px 36px rgba(39, 64, 71, 0.32);
}

.button-secondary,
.button-ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
  min-height: calc(100vh - 90px);
  padding: 32px 0 40px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1,
.legal-hero h1,
.section-heading h2,
.stats-card h2,
.cta-card h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.02;
}

.hero h1 {
  font-size: clamp(44px, 7vw, 78px);
  max-width: 10ch;
}

.legal-hero h1 {
  font-size: clamp(36px, 5vw, 56px);
}

.hero-text {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

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

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.hero-metrics div,
.feature-card,
.timeline-item,
.faq-list details,
.cta-card,
.testimonial,
.panel-card,
.floating-note,
.stats-card {
  border: 1px solid var(--line);
}

.hero-metrics div {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.hero-metrics strong {
  display: block;
  margin-bottom: 8px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 20px;
}

.hero-metrics span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.glass {
  background: var(--panel);
  backdrop-filter: blur(22px);
  box-shadow: var(--shadow);
}

.hero-panel {
  position: relative;
}

.panel-card {
  padding: 24px;
  border-radius: 28px;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 14px;
}

.status {
  color: var(--accent);
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.panel-grid article {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.035);
}

.panel-grid span,
.panel-grid small {
  display: block;
}

.panel-grid span,
.panel-grid small,
.logo-strip p,
.feature-card p,
.timeline-item p,
.testimonial span,
.faq-list p,
.cta-card p {
  color: var(--muted);
}

.panel-grid strong {
  display: block;
  margin: 10px 0 8px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 32px;
}

.floating-note {
  position: absolute;
  right: -12px;
  bottom: -24px;
  width: min(280px, 78%);
  padding: 18px;
  border-radius: 20px;
}

.floating-note span {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
}

.floating-note p {
  margin: 0;
  line-height: 1.7;
}

.logo-strip,
.section {
  padding-top: 48px;
}

.logo-strip {
  padding-bottom: 10px;
}

.logo-strip p {
  margin: 0;
  text-align: center;
}

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

.section-heading h2,
.stats-card h2,
.cta-card h2 {
  font-size: clamp(30px, 5vw, 52px);
}

.feature-grid,
.stats-grid,
.timeline {
  display: grid;
  gap: 18px;
}

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

.feature-card,
.timeline-item,
.faq-list details {
  padding: 24px;
  border-radius: 24px;
  background: var(--panel-strong);
}

.feature-card h3,
.timeline-item h3 {
  margin-top: 0;
  font-size: 22px;
}

.feature-card p,
.timeline-item p,
.faq-list p,
.cta-card p {
  margin-bottom: 0;
  line-height: 1.8;
}

.legal-shell {
  padding-bottom: 24px;
}

.legal-topbar {
  margin-bottom: 8px;
}

.legal-main {
  padding-top: 12px;
}

.legal-hero,
.legal-card {
  border: 1px solid var(--line);
}

.legal-hero {
  padding: 32px;
  border-radius: 30px;
}

.legal-meta {
  margin: 16px 0 0;
  color: var(--accent);
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.legal-card {
  padding: 24px;
  border-radius: 24px;
}

.legal-card h2 {
  margin: 0 0 12px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 24px;
  line-height: 1.2;
}

.legal-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
}

.stats-card {
  padding: 28px;
  border-radius: 30px;
}

.stats-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
}

.stats-grid div {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
}

.stats-grid strong {
  display: block;
  margin-bottom: 12px;
  color: var(--accent);
  font-family: "Space Grotesk", sans-serif;
  font-size: 28px;
}

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

.timeline-item span {
  color: var(--accent);
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.testimonial {
  padding: 30px;
  border-radius: 28px;
  text-align: center;
}

.testimonial blockquote {
  margin: 14px auto;
  max-width: 820px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(24px, 4vw, 40px);
  line-height: 1.25;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

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

.faq-list p {
  margin-top: 12px;
}

.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px;
  border-radius: 30px;
  background:
    radial-gradient(circle at top left, rgba(126, 154, 162, 0.14), transparent 38%),
    radial-gradient(circle at bottom right, rgba(39, 64, 71, 0.22), transparent 34%),
    #19343b;
}

.site-footer {
  margin-top: 24px;
  padding: 28px 0 12px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 18px;
}

.footer-grid strong {
  display: block;
  margin-bottom: 10px;
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  font-size: 14px;
}

.footer-grid p,
.footer-grid a,
.footer-meta {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
  text-decoration: none;
}

.footer-meta {
  text-align: center;
}

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

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

.js .animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.js .animate-on-scroll.reveal {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .topbar,
  .cta-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero,
  .feature-grid,
  .stats-grid,
  .timeline,
  .legal-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 12px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .nav {
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  .floating-note {
    position: static;
    width: 100%;
    margin-top: 16px;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: min(100% - 20px, 1180px);
  }

  .topbar {
    padding: 14px 0;
  }

  .nav {
    display: none;
  }

  .hero h1 {
    max-width: none;
  }

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

  .section,
  .logo-strip {
    padding-top: 36px;
  }
}
