/* Zerpago — marketing site.
   Static HTML and CSS, no build step. The palette is the app's own, exactly
   as recorded in CLAUDE.md's design system — gradient #3A4EFB → #33A4FA,
   navy #252943, lime #E3FF3B used sparingly, tints #DEE0ED / #EEF0F8 — so
   the site and the product read as one piece of work. Light-first, because
   the product is light; one navy band carries the pricing. */

:root {
  --indigo: #3a4efb;
  --sky: #33a4fa;
  --lime: #e3ff3b;
  --grad: linear-gradient(135deg, #3a4efb 0%, #33a4fa 100%);

  --navy: #252943;
  --navy-2: #4b5173;
  --navy-3: #868bab;
  --tint: #eef0f8;
  --tint-2: #dee0ed;
  --line: #e4e6f0;
  --paper: #ffffff;

  --success: #16b36a;

  --r: 16px;
  --r-lg: 24px;
  --wrap: 1180px;
  --shadow-sm: 0 1px 2px rgba(37, 41, 67, .05);
  --shadow: 0 24px 48px -28px rgba(37, 41, 67, .35);
  --shadow-lg: 0 48px 90px -40px rgba(37, 41, 67, .45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--navy);
  font: 400 16.5px/1.65 "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, .amt, .logo-word { font-family: Sora, "Plus Jakarta Sans", system-ui, sans-serif; letter-spacing: -.03em; }
h1, h2, h3 { margin: 0; line-height: 1.1; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: auto; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* ── buttons ───────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 24px; border-radius: 12px; border: 1px solid transparent;
  background: var(--grad); color: #fff;
  font-weight: 700; font-size: 15px; letter-spacing: -.01em; white-space: nowrap;
  box-shadow: 0 10px 24px -12px rgba(58, 78, 251, .8);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, color .16s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 16px 32px -14px rgba(58, 78, 251, .9); }
.btn-sm { padding: 9px 17px; font-size: 14px; box-shadow: none; }
.btn-lg { padding: 15px 28px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-ghost { background: none; color: var(--navy); border-color: var(--tint-2); box-shadow: none; }
.btn-ghost:hover { border-color: var(--indigo); color: var(--indigo); box-shadow: none; }
.btn-ghost.btn-light { color: #fff; border-color: rgba(255,255,255,.3); }
.btn-ghost.btn-light:hover { border-color: #fff; color: #fff; }
.btn-lime { background: var(--lime); color: #1b1d10; box-shadow: 0 12px 28px -14px rgba(227,255,59,.8); }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.cta-row.centered { justify-content: center; }

/* ── labels ────────────────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px 7px 11px; border-radius: 999px;
  background: var(--tint); border: 1px solid var(--line);
  color: var(--navy-2); font-size: 12.5px; font-weight: 600;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 3px rgba(22,179,106,.16); }
.kicker { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--indigo); margin-bottom: 18px; }
.kicker.light { color: rgba(255,255,255,.6); }

/* ── nav ───────────────────────────────────────────────────────────── */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.82); backdrop-filter: saturate(170%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .25s; }
.nav.stuck { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 32px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-mark { flex: 0 0 auto; width: 32px; }
.logo-word { font-weight: 800; font-size: 19px; }
.nav-links { display: flex; gap: 2px; margin-right: auto; }
.nav-links a { padding: 9px 14px; border-radius: 9px; font-size: 14.5px; font-weight: 600; color: var(--navy-2); transition: color .18s, background .18s; }
.nav-links a:hover { color: var(--navy); background: var(--tint); }

/* ── hero ──────────────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding: 72px 0 96px; }
.hero-wash {
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 520px at 78% 8%, rgba(51,164,250,.16), transparent 62%),
    radial-gradient(760px 500px at 10% 0%, rgba(58,78,251,.12), transparent 60%),
    linear-gradient(180deg, var(--tint) 0%, rgba(238,240,248,0) 72%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.02fr .98fr; gap: 56px; align-items: center; }
.hero-copy .eyebrow { margin-bottom: 26px; }
h1 {
  font-size: clamp(40px, 5.6vw, 66px); font-weight: 800; margin-bottom: 22px;
  /* Let the browser balance the lines rather than a hard <br>, which broke
     badly at in-between widths. */
  text-wrap: balance; max-width: 13ch;
}
.lead { font-size: 18.5px; line-height: 1.6; color: var(--navy-2); max-width: 32em; }
.hero-note { margin-top: 22px; font-size: 14px; color: var(--navy-3); }
.hero-note strong { color: var(--navy); }
.save, .badge {
  display: inline-block; padding: 3px 9px; border-radius: 999px;
  background: var(--lime); color: #1b1d10;
  font-size: 11.5px; font-weight: 800; letter-spacing: .02em;
}
.hero-note .save { margin-right: 6px; }
.plan-label .badge { margin-left: 8px; vertical-align: 2px; }
/* The struck-through list price sits beside the real one, not above it. */
.plan-price s { font-size: 22px; font-weight: 600; color: var(--navy-3); text-decoration-thickness: 2px; }
.plan-note s { color: var(--navy-3); }
.plan-note strong { color: var(--navy); }

/* phone frames — the product is the imagery */
.phone {
  margin: 0; border-radius: 30px; padding: 9px; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.phone img { border-radius: 22px; }
.hero-art { position: relative; display: flex; justify-content: center; align-items: center; min-height: 560px; }
.hero-art .phone { width: 272px; }
.phone-front { position: relative; z-index: 2; box-shadow: var(--shadow-lg); }
.phone-back {
  position: absolute; right: 2px; top: 52%; transform: translateY(-50%) rotate(5deg) scale(.86);
  opacity: .96; z-index: 1;
}

/* ── facts ─────────────────────────────────────────────────────────── */
.facts { background: var(--navy); color: #fff; padding: 30px 0; }
.facts ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.facts li { padding-left: 16px; border-left: 2px solid rgba(255,255,255,.16); }
.facts strong { display: block; font-size: 15.5px; font-weight: 700; }
.facts span { display: block; margin-top: 2px; font-size: 13px; color: rgba(255,255,255,.58); }

/* ── blocks ────────────────────────────────────────────────────────── */
.block { padding: 104px 0; }
.block-tint { background: var(--tint); }
.block-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.block-inner.reversed .block-copy { order: 2; }
.block h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; margin-bottom: 18px; }
.block-copy > p { font-size: 17px; color: var(--navy-2); max-width: 34em; }
.block-art { display: flex; justify-content: center; }
.block-art .phone { width: 268px; }

.specs { margin-top: 28px; }
.specs li { position: relative; padding-left: 28px; margin-bottom: 13px; font-size: 15.5px; color: var(--navy-2); }
.specs li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 7px; height: 7px;
  border-radius: 2px; background: var(--grad);
}

/* ── capabilities ──────────────────────────────────────────────────── */
.caps { background: var(--navy); color: #fff; padding: 104px 0; }
.caps .head { margin-bottom: 52px; }
.caps h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; }
.cap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r); overflow: hidden; }
.cap-grid > div { background: var(--navy); padding: 28px 24px; transition: background .25s; }
.cap-grid > div:hover { background: #2c3050; }
.cap-grid h3 { font-size: 16px; font-weight: 700; margin-bottom: 9px; }
.cap-grid p { font-size: 14px; line-height: 1.55; color: rgba(255,255,255,.6); }

/* ── pricing ───────────────────────────────────────────────────────── */
.pricing { padding: 104px 0; background: var(--tint); }
.head.centered { text-align: center; max-width: 620px; margin: 0 auto 48px; }
.pricing h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; margin-bottom: 14px; }
.head .sub { color: var(--navy-2); font-size: 17px; }

.plans { display: grid; grid-template-columns: 1.05fr .95fr; gap: 20px; align-items: start; max-width: 900px; margin: 0 auto; }
.plan { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 34px 30px; box-shadow: var(--shadow-sm); }
.plan-main { border: 1.5px solid rgba(58,78,251,.35); box-shadow: 0 34px 70px -40px rgba(58,78,251,.6); }
.plan-label { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--navy-3); }
.plan-price { display: flex; align-items: baseline; gap: 8px; margin: 16px 0 4px; }
.plan-price .amt { font-size: 44px; font-weight: 800; letter-spacing: -.035em; }
.plan-main .plan-price .amt { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plan-price .per { font-size: 15px; font-weight: 600; color: var(--navy-3); }
.plan-note { font-size: 14.5px; color: var(--navy-2); margin-bottom: 26px; }
.ticks { margin-bottom: 28px; }
.ticks li { position: relative; padding-left: 28px; margin-bottom: 12px; font-size: 15px; color: var(--navy-2); }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: 8px; width: 6px; height: 11px;
  border-right: 2px solid var(--indigo); border-bottom: 2px solid var(--indigo);
  transform: rotate(42deg);
}
.fineprint { max-width: 60ch; margin: 34px auto 0; text-align: center; font-size: 14px; color: var(--navy-3); }

/* ── faq ───────────────────────────────────────────────────────────── */
.faq-section { padding: 104px 0; }
.faq-wrap { max-width: 860px; }
.faq-section .head { margin-bottom: 36px; }
.faq-section h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative; list-style: none; cursor: pointer;
  padding: 22px 48px 22px 0; font-size: 17px; font-weight: 700; letter-spacing: -.015em;
  transition: color .18s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--indigo); }
.faq summary::before, .faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; background: var(--navy-3); transition: transform .25s, background .18s;
}
.faq summary::before { width: 14px; height: 2px; margin-top: -1px; }
.faq summary::after { width: 2px; height: 14px; margin-top: -7px; margin-right: 6px; }
.faq details[open] summary { color: var(--indigo); }
.faq details[open] summary::before { background: var(--indigo); }
.faq details[open] summary::after { transform: scaleY(0); background: var(--indigo); }
.faq details p { padding-bottom: 24px; max-width: 70ch; color: var(--navy-2); font-size: 16px; }

/* ── cta ───────────────────────────────────────────────────────────── */
.cta { padding: 96px 0; background: var(--grad); color: #fff; text-align: center; }
.cta h2 { font-size: clamp(28px, 3.8vw, 44px); font-weight: 800; margin-bottom: 16px; }
.cta > .wrap > p { max-width: 50ch; margin: 0 auto; font-size: 17.5px; color: rgba(255,255,255,.88); }
.cta-note { margin-top: 24px !important; font-size: 13.5px; color: rgba(255,255,255,.7) !important; }

/* ── footer ────────────────────────────────────────────────────────── */
.footer { background: var(--navy); color: rgba(255,255,255,.62); padding: 64px 0 28px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; padding-bottom: 42px; }
.footer-brand p { margin-top: 14px; font-size: 14.5px; max-width: 32ch; color: rgba(255,255,255,.45); }
.footer .logo-word { color: #fff; }
.footer-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.footer-cols h4 { margin: 0 0 14px; font-size: 12.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: rgba(255,255,255,.42); }
.footer-cols a { display: block; margin-bottom: 10px; font-size: 14.5px; transition: color .18s; }
.footer-cols a:hover { color: #fff; }
.footer-base { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; color: rgba(255,255,255,.4); }

/* ── responsive ────────────────────────────────────────────────────── */
@media (max-width: 1000px) {
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .facts ul { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

@media (max-width: 880px) {
  .nav-links { display: none; }
  .hero { padding: 48px 0 72px; }
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-art { min-height: 0; }
  .block { padding: 76px 0; }
  .block-inner { grid-template-columns: 1fr; gap: 44px; }
  .block-inner.reversed .block-copy { order: 0; }
  .plans { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 34px; }
  .caps, .pricing, .faq-section { padding: 76px 0; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .nav-inner { height: 62px; gap: 12px; }
  .hero-art .phone, .block-art .phone { width: 238px; }
  /* The second phone crowds the first at this width and adds nothing. */
  .phone-back { display: none; }
  .cap-grid { grid-template-columns: 1fr; }
  .facts ul { grid-template-columns: 1fr; gap: 16px; }
  .plan { padding: 28px 22px; }
  .cta-row .btn { flex: 1 1 100%; }
}
