:root {
  --bg: #F4F6FB;
  --surface: #FFFFFF;
  --ink: #14213D;
  --muted: #5B6785;
  --line: #DCE2EE;
  --brand: #2448D8;
  --brand-strong: #1B37A8;
  --brand-soft: #E8EDFF;
  --sun: #FFC233;
  --sun-soft: #FFF4D6;
  --good: #1E9E6A;
  --good-soft: #E2F5EC;
  --font: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1120px;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--surface); color: var(--ink); font: 18px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.12; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Header ---------- */
.site-head { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 22px; color: var(--ink); text-decoration: none; letter-spacing: -0.02em; }
.brand img { width: 34px; height: 34px; }
.site-nav { display: flex; gap: 24px; margin-left: auto; }
.site-nav a { color: var(--muted); text-decoration: none; font-weight: 700; font-size: 16px; }
.site-nav a:hover { color: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 12px; font: 700 17px var(--font); text-decoration: none; border: 2px solid transparent; cursor: pointer; white-space: nowrap; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-strong); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.site-head .btn { min-height: 42px; padding: 0 16px; font-size: 16px; }
@media (max-width: 760px) { .site-nav { display: none; } .site-head .btn { margin-left: auto; } }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 88px; }
.hero h1 { font-size: clamp(42px, 6vw, 72px); font-weight: 700; letter-spacing: -0.035em; }
.hero h1 .second { display: block; color: var(--brand); }
.hero .lede { font-size: 21px; color: var(--muted); margin-top: 22px; max-width: 34ch; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.assurances { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 28px 0 0; padding: 0; list-style: none; font-size: 16px; color: var(--muted); }
.assurances li { display: flex; align-items: center; gap: 8px; }
.assurances svg { flex: none; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 48px; padding-top: 48px; padding-bottom: 64px; }
}

/* Phone with a live conversation */
.phone-stage { position: relative; display: flex; justify-content: center; }
.phone {
  width: 340px; max-width: 100%; background: #0F172A; border-radius: 44px; padding: 12px;
  box-shadow: 0 30px 60px -20px rgba(20,33,61,.35), 0 0 0 1px rgba(20,33,61,.08);
}
.screen { background: #F7F8FC; border-radius: 34px; overflow: hidden; height: 670px; display: flex; flex-direction: column; }
.screen-top { display: flex; align-items: center; gap: 10px; padding: 18px 18px 12px; background: #fff; border-bottom: 1px solid var(--line); }
.screen-top .who { font-weight: 700; font-size: 16px; line-height: 1.2; }
.screen-top .sub { font-size: 13px; color: var(--muted); }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-weight: 700; flex: none; }
.chat { flex: 1; padding: 16px 14px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
.pill { align-self: center; font-size: 13px; color: var(--muted); background: #E9EDF5; padding: 3px 12px; border-radius: 999px; }
.pill.missed { color: #A93F06; background: #FFE6D5; }
.msg { max-width: 82%; padding: 9px 13px; border-radius: 18px; font-size: 15px; line-height: 1.4; }
.msg.them { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.msg.biz { align-self: flex-end; background: var(--brand); color: #fff; border-bottom-right-radius: 6px; }
.msg small { display: block; font-size: 11px; opacity: .75; margin-bottom: 2px; font-weight: 700; }
.typing { align-self: flex-end; display: flex; gap: 4px; padding: 12px 14px; background: var(--brand-soft); border-radius: 18px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); opacity: .5; animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: 1; transform: translateY(-2px); } }

.notify {
  position: absolute; right: -24px; bottom: -28px; width: 260px; background: #fff; border-radius: 16px; padding: 12px 14px;
  box-shadow: 0 18px 40px -12px rgba(20,33,61,.35); border: 1px solid var(--line); display: flex; gap: 10px; align-items: flex-start;
}
.notify img { width: 30px; height: 30px; flex: none; }
.notify b { display: block; font-size: 14px; }
.notify span { font-size: 14px; color: var(--muted); line-height: 1.35; display: block; }
@media (max-width: 1080px) { .notify { right: 0; } }
section[id] { scroll-margin-top: 84px; }
@media (max-width: 420px) { .notify { position: static; width: 100%; margin-top: 14px; } .phone-stage { flex-direction: column; align-items: center; } }

/* Sequenced reveal: one orchestrated moment, only when motion is welcome */
.js .reveal { opacity: 0; transform: translateY(8px); }
.js .reveal.on { opacity: 1; transform: none; transition: opacity .35s ease, transform .35s ease; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } .typing { display: none !important; } }

/* ---------- Sections ---------- */
section { padding: 96px 0; }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(32px, 4.2vw, 46px); font-weight: 700; }
.section-head p { font-size: 20px; color: var(--muted); margin-top: 14px; }
@media (max-width: 700px) { section { padding: 68px 0; } }

/* How it works: a real sequence, so it's numbered by time */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.timeline li { background: var(--bg); border-radius: var(--radius); padding: 24px; position: relative; }
.timeline .when { display: inline-block; font-weight: 700; font-size: 14px; color: var(--brand); background: var(--brand-soft); padding: 3px 10px; border-radius: 999px; margin-bottom: 14px; }
.timeline h3 { font-size: 21px; margin-bottom: 8px; }
.timeline p { color: var(--muted); font-size: 17px; }
.timeline li.done { background: var(--good-soft); }
.timeline li.done .when { color: #12704A; background: #fff; }
@media (max-width: 900px) { .timeline { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .timeline { grid-template-columns: 1fr; } }

/* Product */
.product { background: var(--bg); }
.product-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: center; }
.shot { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(20,33,61,.35); background: #fff; }
.points { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.points h3 { font-size: 21px; margin-bottom: 6px; display: flex; gap: 10px; align-items: center; }
.points p { color: var(--muted); font-size: 17px; }
.dot { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.dot.sun { background: var(--sun); } .dot.blue { background: var(--brand); } .dot.green { background: var(--good); }
@media (max-width: 900px) { .product-grid { grid-template-columns: 1fr; } }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { border: 1px solid var(--line); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; background: #fff; }
.plan.featured { border: 2px solid var(--brand); position: relative; }
.plan.featured .tag { position: absolute; top: -13px; left: 28px; background: var(--brand); color: #fff; font-size: 13px; font-weight: 700; padding: 3px 12px; border-radius: 999px; }
.plan h3 { font-size: 22px; }
.plan .for { color: var(--muted); font-size: 16px; margin-top: 4px; }
.price { font-size: 44px; font-weight: 700; letter-spacing: -0.03em; margin: 20px 0 2px; }
.price span { font-size: 17px; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 10px; align-content: start; font-size: 16px; flex: 1; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li svg { flex: none; margin-top: 4px; }
.plan .btn { width: 100%; }
.price-note { margin-top: 24px; color: var(--muted); font-size: 16px; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 480px; } }

/* FAQ */
.faq { background: var(--bg); }
.faq-list { max-width: 780px; display: grid; gap: 12px; }
details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 22px; }
summary { cursor: pointer; list-style: none; font-weight: 700; font-size: 19px; padding: 20px 32px 20px 0; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: 16px; font-size: 26px; color: var(--brand); font-weight: 400; }
details[open] summary::after { content: "–"; }
details p { padding: 0 0 20px; color: var(--muted); font-size: 17px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact-copy p { color: var(--muted); font-size: 19px; margin-top: 14px; }
.form { background: var(--bg); border-radius: 18px; padding: 28px; display: grid; gap: 16px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 700; font-size: 15px; }
.form input, .form textarea, .form select { font: 17px var(--font); color: var(--ink); padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: #fff; width: 100%; }
.form textarea { min-height: 110px; resize: vertical; }
.form input:focus, .form textarea:focus, .form select:focus { outline: 2px solid var(--brand); border-color: var(--brand); }
.form .btn { width: 100%; }
.form .fine { font-size: 14px; color: var(--muted); }
.hidden { display: none; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 520px) { .form .row2 { grid-template-columns: 1fr; } }

/* Footer */
.site-foot { border-top: 1px solid var(--line); padding: 36px 0 48px; font-size: 15px; color: var(--muted); }
.site-foot .wrap { display: flex; gap: 20px 40px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.site-foot .brand { font-size: 18px; }
.site-foot .brand img { width: 26px; height: 26px; }
.site-foot nav { display: flex; gap: 20px; }
.site-foot a { color: var(--muted); }

/* Simple pages (privacy, thanks) */
.page { max-width: 760px; margin: 0 auto; padding: 64px 20px 96px; }
.page h1 { font-size: clamp(34px, 5vw, 48px); margin-bottom: 12px; }
.page h2 { font-size: 24px; margin: 36px 0 10px; }
.page p, .page li { color: #2C3A5A; font-size: 18px; }
.page p + p { margin-top: 12px; }
.page ul { padding-left: 22px; }
.page .meta { color: var(--muted); font-size: 16px; }

/* Founding offer */
.founding { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; background: #FFF4D6; border: 1px solid #F5D98A; border-radius: 18px; padding: 20px 24px; margin-bottom: 28px; }
.founding-tag { flex: none; background: var(--sunflower, #FFC233); color: #3D2B00; font-weight: 700; font-size: 14px; padding: 4px 12px; border-radius: 999px; }
.founding-text { flex: 1 1 320px; margin: 0; font-size: 17px; color: #3D2B00; }
.founding .btn { flex: none; }

.plans.one { grid-template-columns: minmax(0, 520px); justify-content: center; }
.plans.one .plan ul { grid-template-columns: 1fr; }

.btn-quiet-link { display: block; text-align: center; margin-top: 10px; color: var(--brand); font-weight: 600; text-decoration: none; }
@media (max-width: 640px) { .hide-sm { display: none; } }
