:root {
  --bg: #05140f;
  --panel: rgba(255, 255, 255, 0.045);
  --panel-strong: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.11);
  --text: #eafff6;
  --muted: rgba(234, 255, 246, 0.68);
  --brand: #10b981;
  --mint: #6ee7b7;
  --gold: #f5c451;
  --max-width: 1160px;
  --radius: 16px;
  --shadow: 0 24px 60px rgba(1, 12, 8, 0.4);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 66px; }
body {
  margin: 0;
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--text);
  font-size: 16px;
  line-height: 1.55;
  background:
    radial-gradient(circle at top left, rgba(16, 185, 129, 0.14), transparent 24%),
    radial-gradient(circle at 88% 8%, rgba(110, 231, 183, 0.1), transparent 26%),
    linear-gradient(180deg, #07190f 0%, #04100b 100%);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.page-shell { position: relative; overflow: clip; }
.wrap { width: min(var(--max-width), 100%); margin: 0 auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.6rem clamp(1.1rem, 3vw, 2.2rem);
  backdrop-filter: blur(16px);
  background: rgba(4, 14, 10, 0.62);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.brand { display: flex; align-items: center; gap: 0.5rem; font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 1.2rem; letter-spacing: -0.02em; }
.brand .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 3px rgba(16,185,129,0.22); }
.brand b { color: var(--mint); }
.site-nav { display: flex; gap: 1.2rem; align-items: center; font-size: 0.9rem; color: var(--muted); }
.site-nav a:not(.nav-cta):hover { color: var(--mint); }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.7rem 1.3rem; border-radius: 999px; font-weight: 700; font-size: 0.92rem;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 130ms ease, box-shadow 130ms ease, background 130ms ease;
}
.button-primary { background: linear-gradient(135deg, var(--brand), #34d399); color: #04120c; box-shadow: 0 10px 24px rgba(16,185,129,0.3); }
.button-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(16,185,129,0.38); }
.button-secondary { background: var(--panel); border-color: var(--line); color: var(--text); }
.button-secondary:hover { background: var(--panel-strong); transform: translateY(-2px); }
.nav-cta { padding: 0.5rem 1rem; }

/* Sections */
.section { padding: clamp(2rem, 4vw, 3.4rem) clamp(1.1rem, 4vw, 2.4rem); }
.section > .wrap { width: min(var(--max-width), 100%); margin: 0 auto; }
.eyebrow { display: inline-block; font-family: "Space Grotesk", sans-serif; font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(234, 255, 246, 0.5); margin: 0 0 0.7rem; }
h1, h2, h3, h4 { font-family: "Space Grotesk", "Manrope", sans-serif; letter-spacing: -0.02em; line-height: 1.1; margin: 0; }
h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.45rem, 2.4vw, 2rem); }
p { line-height: 1.58; color: var(--muted); margin: 0.5rem 0; }
.section-heading { max-width: 56ch; margin-bottom: 1.6rem; }
.section-heading p { font-size: 1rem; }
.lead { color: var(--muted); }

/* Hero */
.hero {
  position: relative; display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.85fr);
  gap: clamp(1.4rem, 3.5vw, 3rem); align-items: center;
  padding: clamp(2rem, 4.5vw, 3.6rem) clamp(1.1rem, 4vw, 2.4rem) clamp(1.6rem, 3vw, 2.4rem);
}
.hero > .wrap { display: contents; }
.hero-grid {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.14;
  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: 66px 66px; mask-image: radial-gradient(circle at 30% 40%, black 30%, transparent 80%);
}
.hero-copy { position: relative; z-index: 2; }
.hero h1 span { color: var(--mint); }
.hero-text { font-size: clamp(1rem, 1.3vw, 1.12rem); max-width: 46ch; margin: 1rem 0 1.4rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-bottom: 1.2rem; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip-mini { font-size: 0.78rem; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 0.3rem 0.7rem; background: rgba(255,255,255,0.03); }
.chip-mini b { color: var(--text); font-weight: 700; }

/* Flow panel */
.flow-panel { position: relative; z-index: 2; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; box-shadow: var(--shadow); backdrop-filter: blur(18px); }
.flow-label { font-family: "Space Grotesk", sans-serif; font-size: 0.7rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted); margin: 0 0 0.8rem; }
.flow-step { display: flex; align-items: center; gap: 0.8rem; padding: 0.7rem 0.85rem; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,0.03); margin-bottom: 0.5rem; }
.flow-step .ic { width: 32px; height: 32px; border-radius: 9px; flex: none; display: grid; place-items: center; background: rgba(16,185,129,0.16); color: var(--mint); font-weight: 800; font-size: 0.9rem; }
.flow-step h4 { margin: 0; font-size: 0.92rem; font-family: "Manrope"; font-weight: 700; }
.flow-step p { margin: 0.1rem 0 0; font-size: 0.8rem; }
.flow-foot { margin-top: 0.7rem; padding-top: 0.7rem; border-top: 1px solid var(--line); font-size: 0.78rem; color: var(--muted); }

/* Stat strip */
.stat-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 1.2rem; }
.stat-cell { background: #0a1f16; padding: 1.1rem 1.2rem; }
.stat-cell .num { font-family: "Space Grotesk"; font-size: 1.7rem; font-weight: 700; color: var(--mint); line-height: 1; }
.stat-cell .lbl { font-size: 0.85rem; color: var(--muted); margin-top: 0.35rem; }

/* Feature grid (denser) */
.feat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 0.8rem; }
.feat { background: var(--panel); border: 1px solid var(--line); border-radius: 13px; padding: 1.05rem 1.1rem; transition: border-color 150ms ease, transform 150ms ease; }
.feat:hover { border-color: rgba(16,185,129,0.4); transform: translateY(-3px); }
.feat h3 { font-family: "Manrope"; font-weight: 800; font-size: 1.02rem; margin-bottom: 0.3rem; }
.feat h3 .fic { color: var(--mint); margin-right: 0.4rem; }
.feat p { margin: 0; font-size: 0.9rem; line-height: 1.5; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0.8rem; counter-reset: step; }
.step { background: var(--panel); border: 1px solid var(--line); border-radius: 13px; padding: 1rem; position: relative; }
.step .sn { font-family: "Space Grotesk"; font-size: 0.8rem; font-weight: 700; color: rgba(234, 255, 246, 0.5); }
.step h4 { font-family: "Manrope"; font-size: 0.98rem; font-weight: 800; margin: 0.2rem 0 0.3rem; }
.step p { margin: 0; font-size: 0.87rem; }

/* Two-column cards */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.duo-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; }
.duo-card h3 { font-family: "Manrope"; font-weight: 800; font-size: 1.15rem; margin-bottom: 0.5rem; }
.duo-card .kicker { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(234, 255, 246, 0.5); }
.duo-card ul { margin: 0.7rem 0 0; padding-left: 1.1rem; }
.duo-card li { font-size: 0.9rem; margin-bottom: 0.4rem; color: var(--muted); }

/* Compliance list */
.comp-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.6rem; margin-top: 0.4rem; }
.comp-item { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.9rem; color: var(--muted); border: 1px solid var(--line); border-radius: 11px; padding: 0.75rem 0.85rem; background: rgba(255,255,255,0.02); }
.comp-item b { color: var(--text); font-weight: 700; display: block; font-size: 0.92rem; }
.comp-item .ck { color: rgba(234, 255, 246, 0.4); flex: none; }

/* Engagement */
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 0.8rem; }
.tier { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; display: flex; flex-direction: column; }
.tier.featured { border-color: rgba(16,185,129,0.5); background: linear-gradient(180deg, rgba(16,185,129,0.1), rgba(255,255,255,0.02)); }
.tier h3 { font-family: "Manrope"; font-weight: 800; font-size: 1.1rem; }
.tier .price { font-family: "Space Grotesk"; font-size: 1.1rem; color: var(--text); margin: 0.3rem 0 0.6rem; }
.tier p { font-size: 0.88rem; margin: 0 0 0.6rem; }
.tier ul { margin: 0; padding-left: 1.1rem; }
.tier li { font-size: 0.85rem; margin-bottom: 0.35rem; color: var(--muted); }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 0.9rem 0; }
.faq summary { cursor: pointer; font-family: "Manrope"; font-weight: 700; font-size: 1rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: rgba(234, 255, 246, 0.4); font-size: 1.2rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { font-size: 0.92rem; margin: 0.7rem 0 0; max-width: 72ch; }

/* Story */
.story { background: linear-gradient(135deg, rgba(16,185,129,0.1), rgba(255,255,255,0.02)); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.2rem); }
.story h2 { max-width: 24ch; }
.story p { max-width: 66ch; font-size: 0.98rem; }
.story .sig { margin-top: 0.9rem; font-size: 0.88rem; color: rgba(234, 255, 246, 0.6); font-weight: 600; }

/* Calculator */
.two-col { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(1.2rem, 3vw, 2.4rem); align-items: start; }
.calc-wrap { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.calc-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding: 1.2rem; border-bottom: 1px solid var(--line); }
.calc-field label { display: block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.4rem; }
.calc-input { display: flex; align-items: center; background: rgba(255,255,255,0.04); border: 1px solid var(--line); border-radius: 11px; transition: border-color 130ms, box-shadow 130ms; }
.calc-input:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(16,185,129,0.22); }
.calc-input .pfx { padding: 0 2px 0 12px; color: var(--muted); font-size: 1rem; }
.calc-input input { flex: 1; width: 100%; background: transparent; border: none; outline: none; color: var(--text); font: inherit; font-size: 1.05rem; padding: 0.7rem 0.8rem; font-variant-numeric: tabular-nums; }
.calc-input input.no-pfx { padding-left: 0.8rem; }
input[type=number]::-webkit-outer-spin-button, input[type=number]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
input[type=number] { -moz-appearance: textfield; }
.calc-plans { padding: 1rem 1.2rem 0.3rem; }
.calc-plans h4 { margin: 0 0 0.7rem; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.09em; color: var(--muted); font-family: "Manrope"; font-weight: 700; }
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 0.6rem; }
.plan { display: flex; align-items: center; gap: 0.6rem; background: rgba(255,255,255,0.03); border: 1px solid var(--line); border-radius: 11px; padding: 0.65rem 0.8rem; cursor: pointer; user-select: none; transition: border-color 130ms, background 130ms; }
.plan:hover { border-color: var(--mint); }
.plan.selected { border-color: var(--brand); background: linear-gradient(180deg, rgba(16,185,129,0.16), rgba(16,185,129,0.03)); }
.plan .pdot { width: 15px; height: 15px; border-radius: 5px; border: 2px solid var(--line); flex: none; display: grid; place-items: center; }
.plan.selected .pdot { border-color: var(--brand); background: var(--brand); }
.plan .pdot svg { width: 9px; height: 9px; opacity: 0; }
.plan.selected .pdot svg { opacity: 1; }
.plan .pct { font-size: 1rem; font-weight: 700; }
.plan .terms { font-size: 0.7rem; color: var(--muted); margin-top: 1px; }
.calc-results { margin: 1rem 1.2rem 1.2rem; border: 1px solid var(--line); border-radius: 13px; overflow: hidden; background: rgba(255,255,255,0.03); }
.calc-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); }
.calc-stat { background: #0a1f16; padding: 0.9rem 1rem; }
.calc-stat .k { font-size: 0.68rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.calc-stat .v { font-size: 1.2rem; font-weight: 800; margin-top: 0.3rem; font-variant-numeric: tabular-nums; font-family: "Space Grotesk"; }
.calc-stat .v.good { color: var(--mint); }
.calc-schedule { padding: 0.4rem; }
.calc-row { display: flex; align-items: center; justify-content: space-between; padding: 0.6rem 0.9rem; border-radius: 9px; font-variant-numeric: tabular-nums; }
.calc-row:nth-child(odd) { background: rgba(255,255,255,0.02); }
.calc-row .n { width: 22px; height: 22px; border-radius: 50%; background: rgba(16,185,129,0.18); color: var(--mint); display: grid; place-items: center; font-size: 0.72rem; font-weight: 700; margin-right: 0.8rem; flex: none; }
.calc-row .lbl { flex: 1; color: var(--muted); font-size: 0.85rem; }
.calc-row .amt { font-size: 0.95rem; font-weight: 700; }
.calc-empty { padding: 1.4rem; text-align: center; color: var(--muted); font-size: 0.85rem; }

/* CTA */
.cta-panel { background: linear-gradient(135deg, rgba(16,185,129,0.15), rgba(255,255,255,0.02)); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.6rem, 4vw, 2.6rem); text-align: center; }
.cta-panel h2 { max-width: 26ch; margin: 0 auto; }
.cta-panel p { max-width: 54ch; margin: 0.7rem auto 1.3rem; }
.cta-actions { display: flex; gap: 0.7rem; justify-content: center; flex-wrap: wrap; }
.ea-form { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; align-items: center; margin: 1rem auto 0; max-width: 480px; }
.ea-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.ea-input { flex: 1 1 220px; background: rgba(255,255,255,0.05); border: 1px solid var(--line); border-radius: 999px; color: var(--text); font: inherit; font-size: 0.95rem; padding: 0.68rem 1.1rem; outline: none; transition: border-color 130ms, box-shadow 130ms; }
.ea-input::placeholder { color: rgba(234,255,246,0.4); }
.ea-input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(16,185,129,0.22); }
.ea-btn { flex: 0 0 auto; }
.ea-status { flex-basis: 100%; margin: 0.4rem 0 0; font-size: 0.85rem; min-height: 1.2em; }
.ea-status.err { color: #ffb4a2; }
.ea-status.ok { color: var(--mint); }

footer { padding: 1.8rem clamp(1.1rem, 4vw, 2.4rem); border-top: 1px solid var(--line); margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: space-between; align-items: center; color: var(--muted); font-size: 0.85rem; }
footer a:hover { color: var(--mint); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 500ms ease, transform 500ms ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  .comp-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .two-col, .duo { grid-template-columns: 1fr; }
  .site-nav a:not(.nav-cta) { display: none; }
  .calc-inputs { grid-template-columns: 1fr; }
  .calc-summary { grid-template-columns: 1fr; }
  .comp-grid { grid-template-columns: repeat(2, 1fr); }
}
