:root {
  --bg: #08101d;
  --bg-soft: #101c32;
  --paper: #f3eee4;
  --text: #f9f6ef;
  --muted: #b6c4d2;
  --teal: #75e0c0;
  --gold: #f7c46b;
  --line: rgba(255, 255, 255, 0.12);
  --panel: rgba(10, 18, 35, 0.7);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top right, rgba(117, 224, 192, 0.18), transparent 28%),
    radial-gradient(circle at 15% 20%, rgba(247, 196, 107, 0.16), transparent 24%),
    linear-gradient(180deg, #09101d 0%, #0d1830 48%, #112338 100%);
  color: var(--text);
  font-family: "Avenir Next", "Segoe UI", ui-sans-serif, system-ui, sans-serif;
  min-height: 100vh;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 24px 24px;
}

.site-header,
.site-footer,
main {
  position: relative;
  z-index: 1;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 22px 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
  text-decoration: none;
}

.brand img {
  width: 52px;
  height: 52px;
}

.brand strong {
  display: block;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

.brand span {
  color: var(--muted);
  font-size: 0.88rem;
}

nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

main {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 48px;
}

.hero {
  min-height: calc(100svh - 110px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  align-items: center;
  gap: 48px;
  padding: 24px 0 72px;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero h1,
.section h2 {
  margin: 0;
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.hero h1 {
  max-width: 10ch;
  font-size: clamp(3.4rem, 9vw, 6.9rem);
}

.hero-text,
.section-heading p,
.surface p,
.panel p,
.receipt-copy p,
.safety-grid p,
.final-cta p,
.comparison-card p,
.tier p,
.problem-grid p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-text {
  max-width: 38rem;
  margin: 20px 0 0;
  font-size: 1.08rem;
}

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

.button,
.copy {
  border: none;
  border-radius: 999px;
  padding: 14px 22px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

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

.button.primary,
.copy {
  background: linear-gradient(135deg, var(--teal), #56c4b0);
  color: #08211d;
}

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

.hero-points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  max-width: 40rem;
}

.hero-points li::before {
  content: "✦";
  color: var(--teal);
  margin-right: 10px;
}

.hero-art {
  display: flex;
  justify-content: center;
}

.poster {
  position: relative;
  width: min(100%, 470px);
  min-height: 560px;
  border-radius: 40px;
  padding: 36px;
  background:
    radial-gradient(circle at 20% 18%, rgba(247, 196, 107, 0.24), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.03) 100%);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.poster::after {
  content: "";
  position: absolute;
  inset: auto -30% -42% auto;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(117, 224, 192, 0.33), transparent 70%);
}

.poster-logo {
  width: 108px;
  height: 108px;
}

.poster-card,
.poster-stats article,
.surface,
.panel,
.receipt,
.safety-grid article,
.support-strip,
.final-cta {
  backdrop-filter: blur(16px);
}

.poster-card {
  margin-top: 24px;
  width: fit-content;
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border-radius: 24px;
  background: rgba(9, 17, 31, 0.66);
  border: 1px solid rgba(255,255,255,0.14);
}

.poster-card span,
.poster-card small {
  color: var(--muted);
}

.poster-card strong {
  font-size: 1.12rem;
}

.poster-stats {
  margin-top: 180px;
  display: grid;
  gap: 14px;
}

.poster-stats article {
  padding: 18px;
  border-radius: 22px;
  background: rgba(9, 17, 31, 0.62);
  border: 1px solid rgba(255,255,255,0.12);
}

.poster-stats span,
.receipt small,
.receipt-top {
  color: var(--muted);
}

.poster-stats strong,
.receipt-grid strong,
.receipt-metric strong {
  display: block;
  margin-top: 6px;
  font-size: 1.25rem;
}

.support-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(10, 18, 35, 0.54);
}

.support-strip strong,
.surface h3,
.panel h3,
.receipt-copy h3,
.safety-grid h3,
.final-cta h2 {
  display: block;
  margin-bottom: 8px;
}

.support-strip span {
  color: var(--muted);
}

.section {
  padding: 88px 0 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.section h2 {
  font-size: clamp(2.1rem, 4vw, 4.2rem);
}

.pricing-title {
  margin: 0;
  font-size: clamp(2.8rem, 7vw, 5.3rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

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

.problem-grid,
.comparison-grid,
.proof-grid,
.step-grid,
.pricing-grid {
  display: grid;
  gap: 18px;
}

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

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

.surface,
.panel,
.receipt,
.safety-grid article,
.final-cta,
.problem-grid article,
.comparison-card,
.tier,
.pricing-preview,
.proof-grid article {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--panel);
}

.surface,
.panel,
.safety-grid article,
.problem-grid article,
.comparison-card,
.tier,
.proof-grid article {
  padding: 24px;
}

.install-secondary {
  margin-top: 18px;
}

.card-kicker,
.tier-badge,
.step-label,
.mini-stat {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card-kicker,
.tier-badge {
  margin-bottom: 14px;
}

.step-label {
  margin-bottom: 16px;
  color: var(--teal);
}

.comparison-card h3,
.problem-grid h3,
.proof-grid strong,
.tier h2 {
  margin-top: 0;
}

.pill-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.pill-list li {
  color: var(--text);
  line-height: 1.6;
}

.pill-list li::before {
  content: "•";
  color: var(--teal);
  margin-right: 10px;
}

.pricing-preview {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 28px;
}

.demo-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 18px;
}

.demo-stage,
.demo-sidebar {
  display: grid;
  gap: 18px;
}

.demo-screen,
.demo-breakdown-card,
.demo-first-win article {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--panel);
}

.demo-screen {
  display: none;
  padding: 28px;
  min-height: 440px;
}

.demo-screen.active {
  display: grid;
  align-content: start;
  gap: 18px;
}

.demo-screen h3 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.demo-support,
.demo-note,
.demo-breakdown-card p,
.demo-events span,
.demo-first-win small {
  color: var(--muted);
  line-height: 1.65;
}

.demo-progress {
  width: 100%;
  height: 12px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.demo-progress span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--gold), var(--teal));
  transition: width 240ms ease;
}

.demo-counter {
  display: grid;
  gap: 8px;
}

.demo-counter strong {
  font-size: clamp(3rem, 8vw, 5rem);
  letter-spacing: -0.07em;
}

.demo-events,
.demo-first-win {
  display: grid;
  gap: 14px;
}

.demo-events {
  margin: 0;
  padding: 0;
  list-style: none;
}

.demo-events li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.demo-events li.protected {
  border-color: rgba(247, 196, 107, 0.24);
  background: rgba(247, 196, 107, 0.08);
}

.demo-events strong,
.demo-first-win strong {
  font-size: 1.05rem;
}

.demo-breakdown,
.demo-first-win {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.demo-breakdown {
  display: grid;
  gap: 14px;
}

.demo-breakdown-card,
.demo-first-win article {
  padding: 18px;
}

.demo-breakdown-card small,
.demo-first-win small {
  display: block;
}

.demo-breakdown-card strong {
  display: block;
  margin-top: 10px;
  font-size: 1.6rem;
  letter-spacing: -0.04em;
}

.demo-breakdown-card p {
  margin: 10px 0 0;
}

.tier {
  display: grid;
  gap: 14px;
}

.tier-live {
  background:
    radial-gradient(circle at top right, rgba(117, 224, 192, 0.18), transparent 30%),
    var(--panel);
}

.tier-price {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.05em;
}

.tier-price small {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 600;
}

.tier-subhead {
  margin: 0;
}

.pricing-notes {
  margin-top: 18px;
}

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

.faq-item {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
  backdrop-filter: blur(16px);
  padding: 20px 22px;
}

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

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

.faq-item p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.72;
}

.source-list {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 10px;
}

.source-list a {
  color: var(--teal);
}

pre {
  margin: 18px 0;
  padding: 16px;
  border-radius: 18px;
  background: rgba(5, 12, 24, 0.84);
  border: 1px solid rgba(255,255,255,0.08);
  overflow-x: auto;
  color: #d6f5ea;
}

code {
  font-family: "SFMono-Regular", "Menlo", monospace;
  font-size: 0.9rem;
}

.workflow-tabs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.tab {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  padding: 12px 16px;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.tab.active {
  background: rgba(117, 224, 192, 0.12);
  color: var(--text);
  border-color: rgba(117, 224, 192, 0.35);
}

.panels .panel {
  display: none;
}

.panels .panel.active {
  display: block;
}

.receipt {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr);
  gap: 28px;
  padding: 26px;
}

.receipt-screen {
  border-radius: 24px;
  padding: 22px;
  background: linear-gradient(180deg, rgba(14, 24, 44, 0.95), rgba(9, 16, 29, 0.95));
  border: 1px solid rgba(255,255,255,0.08);
}

.receipt-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.92rem;
}

.receipt-metric {
  padding: 28px 0 22px;
}

.receipt-metric strong {
  font-size: 3.2rem;
}

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

.receipt-grid article {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
}

.final-cta {
  padding: 32px;
  text-align: center;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 20px 28px 28px;
  color: var(--muted);
}

.site-footer > div {
  display: grid;
  gap: 4px;
}

.site-footer nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

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

.docs-page main {
  width: min(920px, calc(100% - 40px));
}

.prose {
  padding-bottom: 64px;
}

.prose h1 {
  margin: 0;
  font-size: clamp(2.8rem, 7vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.prose h2,
.prose h3 {
  margin: 30px 0 12px;
}

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

.prose ul,
.prose ol {
  padding-left: 1.4rem;
}

.policy-card {
  margin-top: 24px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--panel);
  backdrop-filter: blur(16px);
}

@media (max-width: 980px) {
  .hero,
  .receipt {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-bottom: 40px;
  }

  .support-strip,
  .surface-grid,
  .safety-grid,
  .problem-grid,
  .comparison-grid,
  .proof-grid,
  .step-grid,
  .pricing-grid,
  .demo-shell,
  .demo-breakdown,
  .demo-first-win {
    grid-template-columns: 1fr;
  }

  .pricing-preview {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  main {
    width: min(100% - 28px, 1180px);
  }

  .hero h1 {
    max-width: 9ch;
  }

  .poster {
    min-height: 500px;
    padding: 24px;
  }

  .poster-stats {
    margin-top: 144px;
  }
}
