:root {
  --bg: #08111c;
  --bg-soft: #0d1826;
  --surface: rgba(11, 22, 36, 0.88);
  --surface-strong: #101d30;
  --surface-glass: rgba(14, 24, 39, 0.68);
  --text: #f7fafc;
  --muted: #b3c0d1;
  --muted-strong: #8fa2b8;
  --line: rgba(148, 163, 184, 0.2);
  --primary: #2f7df6;
  --primary-strong: #1d5fd1;
  --primary-soft: rgba(47, 125, 246, 0.18);
  --accent: #ff8a3d;
  --accent-soft: rgba(255, 138, 61, 0.16);
  --pink: #d61a67;
  --ok: #24c27a;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(47, 125, 246, 0.22), transparent 24%),
    radial-gradient(circle at 82% 15%, rgba(214, 26, 103, 0.16), transparent 20%),
    radial-gradient(circle at bottom right, rgba(255, 138, 61, 0.14), transparent 24%),
    linear-gradient(180deg, #060e18 0%, #0a1421 58%, #0d1828 100%);
  color: var(--text);
  min-height: 100vh;
}

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

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

.site-shell {
  min-height: 100vh;
  overflow: hidden;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.narrow {
  width: min(780px, 100%);
}

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

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 82px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-mark {
  width: 164px;
  height: auto;
  max-width: 42vw;
  object-fit: contain;
  filter: brightness(0) invert(1) drop-shadow(0 12px 24px rgba(8, 17, 28, 0.18));
}

.brand-label {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand.footer-brand .brand-mark {
  width: 148px;
}

@media (max-width: 680px) {
  .brand {
    gap: 0.65rem;
  }

  .brand-mark {
    width: 132px;
  }

  .brand.footer-brand .brand-mark {
    width: 118px;
  }
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.95rem;
  padding: 0.55rem 0.7rem;
  border-radius: 999px;
  transition: 180ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 46px;
  height: 46px;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 6px auto;
  background: white;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.92rem 1.4rem;
  font-weight: 700;
  transition: 180ms ease;
  border: 1px solid transparent;
}

.button.primary {
  background: linear-gradient(135deg, var(--primary), var(--pink));
  color: white;
  box-shadow: 0 20px 44px rgba(47, 125, 246, 0.22);
}

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

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

.hero {
  position: relative;
  padding: 5.5rem 0 3.4rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 100%;
  background:
    linear-gradient(135deg, rgba(47, 125, 246, 0.08), transparent 40%),
    linear-gradient(225deg, rgba(214, 26, 103, 0.08), transparent 35%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.9fr);
  gap: 2rem;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.5rem, 4vw, 4.7rem);
  line-height: 0.98;
  margin: 0 0 1.2rem;
  letter-spacing: -0.04em;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.lead {
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.75;
  margin: 0 0 1.5rem;
}

.eyebrow,
.panel-label,
.card-tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(239, 246, 255, 0.96);
  color: var(--primary);
  padding: 0.45rem 0.85rem;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-actions,
.card-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

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

.hero-metrics div,
.panel,
.product-card,
.status-card,
.cta-panel {
  background: var(--surface-glass);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-metrics div {
  border-radius: 18px;
  padding: 1rem;
}

.hero-metrics strong {
  display: block;
  font-size: 1.45rem;
  margin-bottom: 0.3rem;
}

.hero-metrics span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.status-card,
.panel,
.product-card {
  border-radius: var(--radius);
  padding: 1.5rem;
}

.hero-product .hero-copy h1 {
  max-width: 12ch;
}

.hero-product .hero-grid {
  align-items: stretch;
}

.hero-product .status-card {
  min-height: 100%;
  background:
    linear-gradient(180deg, rgba(47, 125, 246, 0.12), rgba(255, 138, 61, 0.06)),
    var(--surface-glass);
}

.status-card h2,
.section-heading h2,
.cta-panel h2,
.split-layout h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

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

.section-heading p,
.panel p,
.product-card p,
.split-layout p,
.footer-copy,
.legal-copy p,
.small-note,
.mini-list {
  color: var(--muted);
  line-height: 1.75;
}

.three-grid,
.card-grid,
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.product-card.featured {
  background: linear-gradient(180deg, rgba(47, 125, 246, 0.2), rgba(214, 26, 103, 0.1)), var(--surface-strong);
  transform: translateY(-6px);
}

.product-card h3,
.panel h3 {
  margin: 0.7rem 0 0.5rem;
  font-size: 1.25rem;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 1.8rem;
  align-items: start;
}

.stack {
  display: grid;
  gap: 1rem;
}

.big-stat {
  display: block;
  font-size: 1.5rem;
  margin-bottom: 0.35rem;
}

.feature-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.4rem;
}

.flow-list {
  margin: 1rem 0 0;
  padding-left: 1.25rem;
  color: var(--muted);
  line-height: 1.8;
}

.check-list,
.mini-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.mini-list li {
  position: relative;
  padding-left: 1.45rem;
  margin-bottom: 0.8rem;
}

.check-list li::before,
.mini-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: var(--ok);
  transform: translateY(-50%);
}

.comparison-table {
  display: grid;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--surface-glass);
}

.table-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: transparent;
  border-top: 1px solid var(--line);
}

.table-head {
  background: var(--surface-strong);
  font-weight: 700;
  border-top: 0;
}

.table-row div:nth-child(2),
.table-row div:nth-child(3) {
  font-weight: 700;
}

.table-row:not(.table-head) div:nth-child(3) {
  color: #d9ecff;
}

.price-pill {
  display: inline-flex;
  padding: 0.48rem 0.8rem;
  border-radius: 999px;
  margin: 0.7rem 0 0.9rem;
  background: linear-gradient(135deg, rgba(47, 125, 246, 0.16), rgba(214, 26, 103, 0.16));
  color: #fff;
  font-weight: 700;
}

.screenshot-panel .screen {
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid var(--line);
  overflow: hidden;
}

.screen-top {
  display: flex;
  gap: 0.5rem;
  padding: 1rem;
  border-bottom: 1px solid var(--line);
}

.screen-top span {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
}

.screen-body {
  padding: 1rem;
  display: grid;
  gap: 0.9rem;
}

.screen-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.screen-card {
  height: 92px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(47, 125, 246, 0.18), rgba(214, 26, 103, 0.1));
  border: 1px solid rgba(255,255,255,0.08);
}

.screen-card.large {
  position: relative;
}

.screen-card.large::before,
.screen-card.large::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
}

.screen-card.large::before {
  top: 22px;
}

.screen-card.large::after {
  top: 44px;
  right: 70px;
}

.screen-card.large {
  height: 122px;
}

.screen-card.tall {
  height: 150px;
}

.cta-section {
  padding-bottom: 6rem;
}

.cta-panel {
  border-radius: 28px;
  padding: 2.2rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(47, 125, 246, 0.14), rgba(214, 26, 103, 0.08)),
    var(--surface-glass);
}

.site-footer {
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

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

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

.legal-shell .section {
  min-height: calc(100vh - 82px);
}

.legal-copy {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.legal-copy h1,
.doc-shell h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.legal-copy h2,
.doc-section h2 {
  margin: 0 0 0.85rem;
  font-size: 1.5rem;
}

.legal-copy h3,
.doc-section h3 {
  margin: 1.25rem 0 0.65rem;
  font-size: 1.1rem;
}

.legal-copy ul,
.legal-copy ol,
.doc-section ul,
.doc-section ol {
  color: var(--muted);
  line-height: 1.8;
  padding-left: 1.2rem;
}

.legal-copy li,
.doc-section li {
  margin-bottom: 0.45rem;
}

.legal-copy section + section,
.doc-section + .doc-section {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.doc-shell {
  display: grid;
  gap: 1.5rem;
}

.doc-intro {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.doc-grid {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.doc-nav,
.doc-content,
.launch-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.doc-nav {
  padding: 1.5rem;
  position: sticky;
  top: 108px;
}

.doc-nav h2 {
  margin: 0 0 1rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-strong);
}

.doc-nav a {
  display: block;
  padding: 0.65rem 0.8rem;
  border-radius: 14px;
  color: var(--muted);
  transition: 180ms ease;
}

.doc-nav a:hover {
  background: rgba(255,255,255,0.05);
  color: var(--text);
}

.doc-content {
  padding: 1.9rem;
}

.doc-section p {
  color: var(--muted);
  line-height: 1.78;
}

.code-block {
  margin-top: 1rem;
  background: #06101a;
  border: 1px solid rgba(47, 125, 246, 0.24);
  border-radius: 20px;
  padding: 1rem;
  overflow-x: auto;
}

.code-block pre {
  margin: 0;
  color: #d4e6ff;
  font-size: 0.88rem;
  line-height: 1.7;
  white-space: pre-wrap;
  word-break: break-word;
}

.callout {
  margin-top: 1rem;
  border-radius: 18px;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  color: var(--muted);
}

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

.launch-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.launch-panel {
  padding: 1.5rem;
}

.launch-panel h3 {
  margin: 0 0 0.75rem;
  font-size: 1.2rem;
}

.launch-panel ul {
  padding-left: 1.1rem;
  color: var(--muted);
  line-height: 1.75;
}

.launch-panel li {
  margin-bottom: 0.4rem;
}

.hero-simple {
  padding-bottom: 1.5rem;
}

.hero-home .hero-panel,
.hero-product .hero-panel {
  position: relative;
}

.hero-home .hero-panel::after,
.hero-product .hero-panel::after {
  content: "";
  position: absolute;
  inset: -10% -6% auto auto;
  width: 120px;
  height: 120px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255,138,61,0.34) 0%, rgba(255,138,61,0) 72%);
  filter: blur(8px);
  pointer-events: none;
}

.site-nav .button.ghost {
  padding-inline: 1rem;
}

.section-heading .eyebrow {
  margin-bottom: 0.9rem;
}

.product-card,
.panel {
  position: relative;
}

.product-card::before,
.panel::before,
.status-card::before,
.cta-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(145deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.small-note {
  margin-top: 1rem;
  font-size: 0.92rem;
}

@media (max-width: 980px) {
  .hero-grid,
  .split-layout,
  .cta-panel,
  .three-grid,
  .card-grid,
  .trust-grid,
  .doc-grid,
  .launch-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }

  .doc-nav {
    position: static;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border-radius: 24px;
    background: rgba(8, 17, 28, 0.96);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a,
  .site-nav .button {
    justify-content: center;
  }

  .hero-copy h1 {
    font-size: clamp(2.2rem, 10vw, 3.4rem);
  }

  .lead {
    font-size: 1rem;
  }

  .table-row {
    grid-template-columns: 1.5fr 1fr 1fr;
    font-size: 0.92rem;
  }
}
