/* ------- Reset / base ------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img { max-width: 100%; display: block; }

:root {
  --ink: #0F172A;          /* near-black navy */
  --ink-2: #1E293B;        /* lighter navy */
  --ink-mute: #64748B;
  --paper: #FAFAF7;        /* warm off-white */
  --paper-2: #F1F0EA;
  --line: #E2E0D8;
  --accent: #F59E0B;       /* warm amber */
  --accent-2: #D97706;
  --good: #16A34A;
  --bad:  #DC2626;
  --shadow: 0 1px 2px rgba(15,23,42,.04), 0 8px 24px rgba(15,23,42,.06);
  --shadow-lg: 0 24px 56px rgba(15,23,42,.14);
  --radius: 14px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .6em; }
h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 600; }
p  { margin: 0 0 1em; }
a  { color: var(--ink); }

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.accent { color: var(--accent-2); }

/* ------- Nav ------- */
nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,250,247,.85);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1080px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { text-decoration: none; display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -0.02em; }
.brand-dot {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(245,158,11,.18);
}
.nav-cta {
  text-decoration: none;
  background: var(--ink); color: var(--paper);
  padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: .92rem;
}
.nav-cta:hover { background: var(--ink-2); }

/* ------- Hero ------- */
.hero {
  padding: 56px 0 24px;
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
}
.hero-inner { max-width: 880px; margin: 0 auto; padding: 0 24px; text-align: left; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .12em; font-size: .78rem;
  color: var(--ink-mute); font-weight: 600; margin-bottom: 18px;
}
.subhead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--ink-2); max-width: 700px;
  margin-bottom: 36px;
}

/* ------- Demo card (the killer feature) ------- */
.demo-card {
  background: var(--ink); color: var(--paper);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  margin-top: 8px;
}
.demo-header {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-bottom: 16px;
}
.demo-pill {
  background: var(--accent); color: var(--ink);
  padding: 4px 10px; border-radius: 6px;
  font-size: .72rem; font-weight: 700; letter-spacing: .08em;
}
.demo-tagline { font-size: .98rem; color: rgba(250,250,247,.85); }
.demo-form {
  display: flex; gap: 12px; flex-wrap: wrap;
}
.demo-form input[type=tel] {
  flex: 1 1 240px;
  font-size: 1.05rem;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid rgba(250,250,247,.15);
  background: rgba(255,255,255,.08);
  color: var(--paper);
  outline: none;
  font-family: inherit;
}
.demo-form input[type=tel]::placeholder { color: rgba(250,250,247,.4); }
.demo-form input[type=tel]:focus {
  border-color: var(--accent);
  background: rgba(255,255,255,.12);
}
.demo-form button {
  background: var(--accent); color: var(--ink);
  border: 0; padding: 0 22px;
  border-radius: 10px;
  font-family: inherit; font-weight: 700; font-size: 1.05rem;
  cursor: pointer; transition: transform .1s ease, background .2s ease;
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 50px;
}
.demo-form button:hover { background: var(--accent-2); transform: translateY(-1px); }
.demo-form button:active { transform: translateY(0); }
.demo-form button:disabled { background: rgba(245,158,11,.4); cursor: wait; }
.btn-arrow { transition: transform .15s ease; }
.demo-form button:hover .btn-arrow { transform: translateX(3px); }
.demo-status {
  margin: 16px 0 0;
  font-size: .95rem;
  min-height: 1.4em;
  font-weight: 500;
}
.demo-status.success { color: #BBF7D0; }
.demo-status.error { color: #FECACA; }
.demo-status.pending { color: rgba(250,250,247,.7); }
.demo-disclaimer {
  margin: 14px 0 0;
  font-size: .78rem;
  color: rgba(250,250,247,.55);
  line-height: 1.5;
}

/* ------- Math section ------- */
.math { padding: 80px 0 60px; }
.math h2 { max-width: 700px; margin-bottom: 36px; }
.math-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin-bottom: 36px;
}
.math-card {
  background: white; border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
}
.math-stat {
  font-size: 2.2rem; font-weight: 800;
  color: var(--accent-2); letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.math-card p { margin: 0; color: var(--ink-2); font-size: .97rem; }
.math-note {
  font-size: 1.05rem; font-weight: 600; color: var(--ink-2);
  border-top: 1px solid var(--line); padding-top: 24px; max-width: 720px;
}
@media (max-width: 720px) {
  .math-grid { grid-template-columns: 1fr; }
}

/* ------- How ------- */
.how { padding: 60px 0; background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.how-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 28px; }
.how-steps li {
  display: grid; grid-template-columns: 64px 1fr; gap: 8px 22px; align-items: start;
}
.step-num {
  grid-column: 1; grid-row: 1 / span 2;       /* span both rows so h3+p both sit in col 2 */
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--ink); color: var(--paper);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700;
}
.how-steps h3 { grid-column: 2; margin: 4px 0 0; font-size: 1.15rem; }
.how-steps p  { grid-column: 2; color: var(--ink-2); margin: 0; }

/* ------- Features ------- */
.features { padding: 80px 0; }
.features h2 { margin-bottom: 28px; }
.features-grid {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 28px;
}
.features-grid li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: .98rem;
}
.features-grid strong { color: var(--ink); font-weight: 600; }
@media (max-width: 720px) {
  .features-grid { grid-template-columns: 1fr; }
}

/* ------- Pricing ------- */
.pricing { padding: 60px 0; background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pricing-card {
  background: white; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 36px; max-width: 720px;
  box-shadow: var(--shadow);
}
.pricing-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  padding-bottom: 24px; border-bottom: 1px solid var(--line); margin-bottom: 24px;
}
.pricing-label { font-size: .85rem; color: var(--ink-mute); margin-bottom: 8px; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.pricing-amount { font-size: 2.2rem; font-weight: 800; letter-spacing: -0.02em; }
.pricing-period { font-size: 1rem; color: var(--ink-mute); font-weight: 600; }
.guarantee {
  background: rgba(245,158,11,.08); border-left: 3px solid var(--accent);
  padding: 14px 18px; border-radius: 8px; font-size: .97rem; color: var(--ink-2); margin: 0 0 24px;
}
.pricing-cta {
  display: inline-block; text-decoration: none;
  background: var(--ink); color: var(--paper);
  padding: 14px 24px; border-radius: 10px; font-weight: 700;
}
.pricing-cta:hover { background: var(--ink-2); }

/* ------- FAQ ------- */
.faq { padding: 80px 0; }
.faq h2 { margin-bottom: 28px; }
.faq details {
  border-bottom: 1px solid var(--line); padding: 18px 0;
}
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  cursor: pointer; font-weight: 600;
  font-size: 1.05rem; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 1.4rem; color: var(--ink-mute); font-weight: 400;
  transition: transform .15s ease;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 12px 0 0; color: var(--ink-2); font-size: .98rem; max-width: 760px; }

/* ------- Final CTA ------- */
.final-cta {
  padding: 80px 0; background: var(--ink); color: var(--paper); text-align: center;
}
.final-cta h2 { color: var(--paper); }
.final-cta p { color: rgba(250,250,247,.8); max-width: 540px; margin: 0 auto 24px; }
.final-cta-btn {
  display: inline-block; text-decoration: none;
  background: var(--accent); color: var(--ink);
  padding: 16px 28px; border-radius: 10px; font-weight: 700; font-size: 1.05rem;
}
.final-cta-btn:hover { background: var(--accent-2); }

/* ------- Footer ------- */
footer {
  padding: 36px 0; background: var(--paper-2); border-top: 1px solid var(--line);
  font-size: .87rem; color: var(--ink-mute);
}
.footer-inner { display: grid; gap: 16px; }
.footer-sub { margin: 6px 0 0; }
.footer-disclaimer { margin: 0; max-width: 720px; }
@media (min-width: 720px) {
  .footer-inner { grid-template-columns: 1fr 1.4fr; align-items: start; }
}
