:root {
  --bg: #06131f;
  --bg-alt: #0b2133;
  --surface: rgba(8, 28, 44, 0.78);
  --surface-strong: rgba(11, 35, 55, 0.96);
  --surface-soft: rgba(255, 255, 255, 0.06);
  --text: #f3f7fb;
  --muted: #9eb2c3;
  --line: rgba(160, 203, 233, 0.18);
  --primary: #7df9c6;
  --primary-strong: #20d8b4;
  --accent: #ffd166;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  --radius: 28px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Sora", sans-serif;
  background:
    radial-gradient(circle at 20% 15%, rgba(125, 249, 198, 0.2), transparent 30%),
    radial-gradient(circle at 80% 18%, rgba(255, 209, 102, 0.18), transparent 24%),
    linear-gradient(160deg, #04101a 0%, #081723 45%, #0c2234 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  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: 52px 52px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent 85%);
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

p,
li {
  color: var(--muted);
  line-height: 1.7;
}

h1,
h2,
h3,
strong,
.brand strong,
.eyebrow,
.button {
  font-family: "Space Grotesk", sans-serif;
}

h1,
h2,
h3,
p,
ul {
  margin-top: 0;
}

.site-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 24px 0 40px;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 18px;
  margin-bottom: 28px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(4, 16, 26, 0.76);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand img {
  width: 48px;
  height: 48px;
}

.brand span {
  display: grid;
  gap: 3px;
}

.brand strong {
  color: var(--text);
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.brand em {
  color: var(--muted);
  font-style: normal;
  font-size: 0.78rem;
}

.primary-nav {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.primary-nav a {
  padding: 10px 14px;
  color: var(--muted);
  border-radius: 999px;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible,
.primary-nav a.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  color: #022a22;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  background: linear-gradient(135deg, var(--primary), #b4ffd8);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 18px 44px rgba(32, 216, 180, 0.22);
}

.button.secondary,
.button.ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
}

.panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(12, 34, 52, 0.82), rgba(6, 19, 31, 0.9));
  box-shadow: var(--shadow);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.9fr);
  gap: 36px;
  align-items: center;
  padding: 72px;
}

.hero::after,
.subpage-hero::after,
.accent-panel::after {
  content: "";
  position: absolute;
  inset: auto -10% -30% auto;
  width: 280px;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(125, 249, 198, 0.28), transparent 68%);
  pointer-events: none;
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1,
.subpage-hero h1 {
  margin-bottom: 18px;
  color: var(--text);
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero-text,
.subpage-hero p,
.section-heading p,
.trust-copy p {
  max-width: 62ch;
  font-size: 1.02rem;
}

.cta-row,
.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-visual {
  position: relative;
  min-height: 460px;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(20px);
}

.orb-one {
  inset: 20px auto auto 12%;
  width: 180px;
  height: 180px;
  background: rgba(125, 249, 198, 0.18);
}

.orb-two {
  inset: auto 8% 30px auto;
  width: 140px;
  height: 140px;
  background: rgba(255, 209, 102, 0.2);
}

.hero-card {
  position: absolute;
  display: grid;
  gap: 10px;
  width: min(100%, 320px);
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  backdrop-filter: blur(18px);
}

.hero-card span,
.contact-label,
.timeline-label {
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-card strong,
.product-card h3,
.feature-card h3,
.section-heading h2,
.trust-copy h2,
.contact-panel h2,
.prose-card h2,
.timeline-panel p,
.legal-card h2 {
  color: var(--text);
}

.stack-top {
  inset: 18px 0 auto auto;
}

.stack-middle {
  inset: 156px auto auto 6%;
}

.stack-bottom {
  inset: auto 14% 8px auto;
}

.platform-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 26px 0 56px;
  padding: 1px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
}

.platform-strip div {
  padding: 18px 20px;
  color: var(--muted);
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
}

.platform-strip div:first-child {
  color: var(--text);
  font-weight: 600;
}

.content-block {
  margin-bottom: 56px;
}

.section-heading {
  margin-bottom: 24px;
}

.section-heading h2,
.trust-copy h2,
.contact-panel h2,
.prose-card h2 {
  margin-bottom: 14px;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.narrow {
  max-width: 720px;
}

.product-grid,
.feature-grid,
.two-column {
  display: grid;
  gap: 22px;
}

.product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card,
.feature-card,
.prose-card,
.legal-card,
.timeline-panel,
.contact-panel {
  padding: 28px;
}

.product-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  color: var(--bg);
  font-weight: 700;
  background: var(--accent);
  border-radius: 50%;
}

.product-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin-bottom: 18px;
  border-radius: 22px;
  border: 1px solid var(--line);
}

.meta-list,
.checklist,
.legal-card ul {
  padding-left: 18px;
}

.meta-list li,
.checklist li,
.legal-card li {
  margin-bottom: 10px;
}

.product-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.product-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.product-tag {
  padding: 8px 12px;
  color: var(--text);
  font-size: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.link-row a {
  padding: 10px 14px;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.accent-panel {
  background: linear-gradient(180deg, rgba(20, 53, 78, 0.96), rgba(8, 23, 37, 0.96));
}

.feature-layout,
.trust-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: start;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.checklist-panel {
  padding: 28px;
}

.contact-grid,
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.timeline-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 6px 6px 0;
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.subpage-hero {
  padding: 56px;
  margin-bottom: 28px;
}

.two-column {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.legal-shell {
  max-width: 980px;
}

.legal-intro {
  margin-bottom: 20px;
}

.legal-card h2 {
  margin-top: 34px;
  margin-bottom: 12px;
  font-size: 1.35rem;
}

.legal-card h2:first-child {
  margin-top: 0;
}

@media (max-width: 980px) {
  .site-header {
    position: relative;
    top: 0;
    border-radius: 28px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .primary-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(4, 16, 26, 0.94);
  }

  .primary-nav.is-open {
    display: flex;
  }

  .hero,
  .feature-layout,
  .trust-layout,
  .product-grid,
  .feature-grid,
  .contact-grid,
  .timeline-grid,
  .two-column {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 44px 28px;
  }

  .hero-visual {
    min-height: 360px;
  }

  .platform-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: min(calc(100% - 20px), var(--max-width));
    padding-top: 12px;
  }

  .site-header,
  .hero,
  .subpage-hero,
  .product-card,
  .feature-card,
  .prose-card,
  .legal-card,
  .timeline-panel,
  .contact-panel,
  .checklist-panel {
    padding: 22px;
  }

  .hero h1,
  .subpage-hero h1 {
    font-size: clamp(2.2rem, 12vw, 3.5rem);
  }

  .brand em {
    display: none;
  }

  .platform-strip {
    grid-template-columns: 1fr;
  }

  .hero-card {
    position: relative;
    inset: auto;
    width: 100%;
    margin-bottom: 14px;
  }

  .hero-visual {
    display: grid;
    min-height: auto;
  }
}
