:root {
    --navy: #0B1F3A; --navy-2: #10284A; --navy-3: #143158;
    --teal: #5EEAD4; --teal-ink: #072320; --teal-deep: #0F766E;
    --ink: #0B1F3A; --ink-soft: #4A5B73; --line: #E3E8EF;
    --paper: #FFFFFF; --paper-2: #F5F7FA;
    --display: "Archivo", system-ui, sans-serif; --text: "Geist", system-ui, sans-serif;
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body { margin: 0; font-family: var(--text); color: var(--ink); background: var(--paper); line-height: 1.55; -webkit-font-smoothing: antialiased; }
  h1, h2, h3 { font-family: var(--display); line-height: 1.1; margin: 0; letter-spacing: -0.01em; }
  a { color: inherit; }
  .wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
  .btn { display: inline-block; font-weight: 600; text-decoration: none; padding: 14px 24px; border-radius: 10px; font-size: 1.02rem; }
  .btn-primary { background: var(--teal); color: var(--teal-ink); }
  .btn-primary:hover { background: #7FF0DF; }
  .btn-ghost { border: 1.5px solid rgba(255,255,255,.35); color: #fff; }
  .btn-ghost:hover { border-color: var(--teal); }
  .eyebrow { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-deep); margin-bottom: 12px; }

  /* nav */
  .nav { position: absolute; inset: 0 0 auto 0; z-index: 2; }
  .nav .wrap { display: flex; align-items: center; justify-content: space-between; padding-block: 18px; }
  .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-family: var(--display); font-weight: 700; }
  .brand .badge { width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
  .brand img { width: 36px; height: 36px; }
  .nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; align-items: center; }
  .nav ul a { color: #D6DEEA; text-decoration: none; font-size: .95rem; }
  .nav ul a:hover { color: #fff; }
  .nav .btn { padding: 10px 18px; font-size: .92rem; }

  /* hero */
  .hero { background: radial-gradient(1200px 600px at 80% -10%, #1B3F6E 0%, transparent 60%), var(--navy); color: #fff; padding: 150px 0 100px; }
  .hero h1 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); font-weight: 800; max-width: 15ch; }
  .hero h1 em { font-style: normal; color: var(--teal); }
  .hero p.sub { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #C9D4E3; max-width: 46ch; margin: 22px 0 32px; }
  .hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; }
  .hero .note { margin-top: 14px; font-size: .9rem; color: #93A5BE; }

  section { padding: 88px 0; }
  section h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; max-width: 22ch; }

  /* pain */
  .pain { background: var(--paper-2); }
  .pain ul { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; }
  .pain li { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px 18px 50px; position: relative; font-weight: 500; }
  .pain li::before { content: ""; position: absolute; left: 20px; top: 24px; width: 12px; height: 12px; border-radius: 50%; background: #F87171; box-shadow: 0 0 0 4px #FEE2E2; }
  .pain .line { margin-top: 36px; font-family: var(--display); font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 700; max-width: 40ch; }

  /* what we do */
  .cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 40px; }
  .card { border: 1px solid var(--line); border-radius: 16px; padding: 28px; }
  .card .ico { width: 44px; height: 44px; border-radius: 12px; background: #E6FBF7; display: grid; place-items: center; margin-bottom: 18px; color: var(--teal-deep); }
  .card h3 { font-size: 1.35rem; margin-bottom: 10px; }
  .card p { margin: 0; color: var(--ink-soft); }
  .more { margin-top: 28px; font-weight: 600; color: var(--teal-deep); text-decoration: none; display: inline-block; }

  /* steps */
  .steps { background: var(--navy); color: #fff; }
  .steps .eyebrow { color: var(--teal); }
  .steps ol { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; counter-reset: s; }
  .steps li { background: var(--navy-2); border: 1px solid var(--navy-3); border-radius: 16px; padding: 26px; counter-increment: s; }
  .steps li::before { content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--teal); color: var(--teal-ink); font-weight: 700; margin-bottom: 16px; }
  .steps h3 { font-size: 1.15rem; margin-bottom: 8px; }
  .steps p { margin: 0; color: #B7C5D8; }

  /* partner */
  .partner .intro { max-width: 60ch; color: var(--ink-soft); font-size: 1.1rem; margin: 18px 0 0; }
  .pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0; margin-top: 44px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
  .pillars > div { padding: 30px 28px; border-right: 1px solid var(--line); }
  .pillars > div:last-child { border-right: 0; }
  .pillars .k { font-family: var(--display); font-weight: 800; font-size: 1.6rem; color: var(--teal-deep); margin-bottom: 8px; }
  .pillars p { margin: 0; color: var(--ink-soft); }
  @media (max-width: 760px) { .pillars > div { border-right: 0; border-bottom: 1px solid var(--line); } .pillars > div:last-child { border-bottom: 0; } }

  /* proof */
  .proof .grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
  .score { background: var(--navy); color: #fff; border-radius: 20px; padding: 36px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; text-align: center; gap: 12px; }
  .score .n { font-family: var(--display); font-size: 4.2rem; font-weight: 800; line-height: 1; }
  .score .before .n { color: #F5B85C; }
  .score .after .n { color: var(--teal); }
  .score .lbl { font-size: .85rem; color: #A7B6CB; margin-top: 6px; }
  .score .arrow { font-size: 2rem; color: #A7B6CB; }
  .score .foot { grid-column: 1 / -1; font-size: .9rem; color: #C9D4E3; border-top: 1px solid var(--navy-3); padding-top: 14px; margin-top: 10px; }
  .proof ul { padding-left: 20px; margin: 20px 0 28px; color: var(--ink-soft); }
  .proof li { margin-bottom: 8px; }

  /* belief */
  .belief { background: var(--paper-2); text-align: center; }
  .belief blockquote { margin: 0 auto; max-width: 30ch; font-family: var(--display); font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 700; line-height: 1.3; }

  /* owners */
  .owners ul { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
  .owners li strong { display: block; font-family: var(--display); font-size: 1.1rem; margin-bottom: 4px; }
  .owners li { color: var(--ink-soft); border-top: 3px solid var(--teal); padding-top: 16px; }
  .owners li strong { color: var(--ink); }

  /* faq */
  .faq { background: var(--paper-2); }
  .faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; margin-top: 12px; max-width: 760px; }
  .faq summary { font-weight: 600; cursor: pointer; }
  .faq details p { margin: 10px 0 0; color: var(--ink-soft); }

  /* final */
  .final { background: var(--navy); color: #fff; text-align: center; }
  .final h2 { margin-inline: auto; }
  .final p { color: #C9D4E3; margin: 16px 0 28px; }

  footer { background: #07162A; color: #8EA0B8; font-size: .88rem; padding: 32px 0; }
  footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
  footer a { color: #C9D4E3; }

  @media (max-width: 760px) {
    .nav ul li:not(:last-child) { display: none; }
    .hero { padding: 120px 0 72px; }
    section { padding: 64px 0; }
    .proof .grid { grid-template-columns: 1fr; gap: 32px; }
    .score { padding: 28px 20px; }
    .score .n { font-size: 3.2rem; }
  }

/* inner pages */
.page-hero { background: radial-gradient(900px 500px at 85% -20%, #1B3F6E 0%, transparent 60%), var(--navy); color: #fff; padding: 140px 0 72px; }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); font-weight: 800; max-width: 20ch; }
.page-hero p.sub { color: #C9D4E3; font-size: clamp(1.02rem, 1.5vw, 1.2rem); max-width: 52ch; margin: 18px 0 0; }
.page-hero .ctas { margin-top: 28px; }
.nav ul a.on { color: #fff; font-weight: 600; }

/* services */
.svc { display: grid; grid-template-columns: 70px 1fr; gap: 8px 24px; padding: 40px 0; border-bottom: 1px solid var(--line); }
.svc:last-child { border-bottom: 0; }
.svc .num { font-family: var(--display); font-weight: 800; font-size: 2.4rem; color: var(--teal-deep); line-height: 1; }
.svc h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); max-width: none; }
.svc .pain-txt { color: var(--ink-soft); margin: 10px 0 18px; max-width: 62ch; }
.svc .cols { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; }
.svc .box { border-radius: 12px; padding: 18px 20px; }
.svc .build { background: var(--paper-2); }
.svc .get { background: #E6FBF7; }
.svc .box b { display: block; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; color: var(--teal-deep); }
.svc .box p { margin: 0; }
.svc .ours { background: var(--paper-2); margin-top: 16px; }
.svc .ours ul { margin: 0; padding-left: 18px; }
.svc .ours li { margin-bottom: 6px; }
.svc .ours li:last-child { margin-bottom: 0; }
.plans table { width: 100%; border-collapse: collapse; margin-top: 32px; background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.plans th, .plans td { text-align: left; padding: 18px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.plans th { background: var(--navy); color: #fff; font-family: var(--display); }
.plans td:first-child { font-family: var(--display); font-weight: 800; font-size: 1.15rem; white-space: nowrap; }
.plans .after { margin-top: 20px; color: var(--ink-soft); }

/* free scan */
.scan-grid { display: grid; grid-template-columns: 1fr 440px; gap: 48px; align-items: start; }
.form { background: #fff; color: var(--ink); border-radius: 18px; padding: 28px; box-shadow: 0 20px 60px rgba(7,22,42,.25); }
.form h3 { font-size: 1.3rem; margin-bottom: 4px; }
.form label { display: block; font-weight: 600; font-size: .92rem; margin: 14px 0 6px; }
.form label small { font-weight: 400; color: var(--ink-soft); }
.form input, .form select { width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; border: 1px solid #C2CAD6; border-radius: 10px; background: #fff; color: var(--ink); }
.form input:focus, .form select:focus { outline: 2px solid var(--teal); border-color: var(--teal-deep); }
.form .sms { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .8rem; color: var(--ink-soft); line-height: 1.45; }
.form .sms input { width: auto; margin-top: 3px; }
.form button { width: 100%; margin-top: 18px; border: 0; cursor: pointer; font: inherit; font-weight: 700; font-size: 1.05rem; padding: 15px; border-radius: 10px; background: var(--teal); color: var(--teal-ink); }
.form .fine { font-size: .82rem; color: var(--ink-soft); text-align: center; margin: 10px 0 0; }
.hp { position: absolute; left: -9999px; }
.checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-top: 32px; }
.checks div { border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; }
.checks b { display: block; font-family: var(--display); margin-bottom: 4px; }
.checks span { color: var(--ink-soft); font-size: .95rem; }
.gets { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.gets li { padding-left: 34px; position: relative; font-weight: 500; }
.gets li::before { content: "✓"; position: absolute; left: 0; top: -1px; width: 24px; height: 24px; border-radius: 50%; background: var(--teal); color: var(--teal-ink); display: grid; place-items: center; font-size: .8rem; font-weight: 700; }

/* about */
.prose { max-width: 68ch; }
.prose p { font-size: 1.08rem; color: var(--ink-soft); }
.prose h2 { margin-bottom: 16px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }

@media (max-width: 860px) {
  .scan-grid, .two { grid-template-columns: 1fr; gap: 32px; }
  .svc { grid-template-columns: 1fr; }
  .svc .cols { grid-template-columns: 1fr; }
  .plans td:first-child { white-space: normal; }
  .page-hero { padding: 118px 0 56px; }
}

/* forms (shared) */
.form .msg { margin-top: 12px; font-size: .92rem; color: #B42318; }
.form .msg a { color: inherit; font-weight: 600; }
.form button:disabled { opacity: .6; cursor: wait; }
.form .ok { text-align: center; padding: 36px 8px; }
.form .ok b { display: block; font-family: var(--display); font-size: 1.5rem; margin-bottom: 8px; }
.form .ok span { color: var(--ink-soft); }
.form textarea { width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; border: 1px solid #C2CAD6; border-radius: 10px; min-height: 130px; resize: vertical; }
.form textarea:focus { outline: 2px solid var(--teal); border-color: var(--teal-deep); }
.form .sms a { color: inherit; }

/* legal + guide */
.legal { max-width: 72ch; }
.legal h2 { font-size: 1.25rem; max-width: none; margin: 34px 0 10px; }
.legal p, .legal li { color: var(--ink-soft); }
.legal ul { padding-left: 22px; }
.legal .eff { color: var(--ink-soft); font-size: .95rem; }
.guide-grid { display: grid; grid-template-columns: 1fr 340px; gap: 56px; align-items: center; }
.guide-cover { border-radius: 14px; box-shadow: 0 24px 60px rgba(7,22,42,.35); width: 100%; display: block; }
.reasons { counter-reset: r; list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.reasons li { counter-increment: r; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px 16px 58px; position: relative; font-weight: 600; }
.reasons li::before { content: counter(r, decimal-leading-zero); position: absolute; left: 18px; top: 15px; font-family: var(--display); font-weight: 800; color: var(--teal-deep); }
@media (max-width: 860px) { .guide-grid { grid-template-columns: 1fr; } .guide-cover { max-width: 300px; } }

.skip { position:absolute; left:-9999px; } .skip:focus { left:16px; top:16px; z-index:10; background:#fff; color:var(--ink); padding:10px 14px; border-radius:8px; }

.nav ul a.btn, .nav ul a.btn:hover { color: var(--teal-ink); }
footer .links { flex: 1; display: flex; flex-wrap: wrap; gap: 6px 18px; padding-bottom: 14px; margin-bottom: 4px; border-bottom: 1px solid #13263F; }
footer .links a { text-decoration: none; font-weight: 600; }

/* nav: right side + mobile menu */
.nav-r { display: flex; align-items: center; gap: 10px; }
.brand .bs, .nav .menu, .nav .cta-m { display: none; }
@media (max-width: 760px) {
  .nav ul li:not(:last-child) { display: list-item; }
  .nav .cta-m { display: inline-block; }
  .nav .cta-d { display: none !important; }
  .nav .menu { display: grid; gap: 4px; align-content: center; justify-items: center; width: 44px; height: 44px; border: 1.5px solid rgba(255,255,255,.3); border-radius: 10px; background: transparent; cursor: pointer; padding: 0; }
  .nav .menu span { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s, opacity .2s; }
  .nav.open .menu span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav.open .menu span:nth-child(2) { opacity: 0; }
  .nav.open .menu span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .nav #menu { display: none; position: absolute; left: 16px; right: 16px; top: 72px; flex-direction: column; align-items: stretch; gap: 0; background: var(--navy-2); border: 1px solid var(--navy-3); border-radius: 14px; padding: 8px; box-shadow: 0 20px 50px rgba(0,0,0,.35); }
  .nav.open #menu { display: flex; }
  .nav #menu a { display: block; padding: 14px 16px; font-size: 1.05rem; color: #fff; border-radius: 10px; }
  .nav #menu a:hover, .nav #menu a.on { background: var(--navy-3); }
}
@media (max-width: 480px) { .brand .bt { display: none; } .brand .bs { display: inline; } }
@media (prefers-reduced-motion: reduce) { .nav .menu span { transition: none; } }

/* plans table on phones: one block per plan instead of three squeezed columns */
@media (max-width: 640px) {
  .plans table, .plans tbody, .plans tr, .plans td { display: block; width: 100%; }
  .plans thead { display: none; }
  .plans tr { padding: 16px 18px; border-bottom: 1px solid var(--line); }
  .plans tr:last-child { border-bottom: 0; }
  .plans td { padding: 2px 0; border: 0; }
  .plans td:first-child { font-size: 1.2rem; }
  .plans td:nth-child(2) { color: var(--teal-deep); font-weight: 600; font-size: .95rem; }
  .plans td:nth-child(3) { color: var(--ink-soft); margin-top: 4px; }
}

.form h2.form-title { font-size: 1.3rem; margin-bottom: 4px; max-width: none; }

footer .social { display: flex; gap: 16px; margin-left: auto; }
footer .social a { text-decoration: none; font-weight: 600; }
@media (max-width: 640px) { footer .social { margin-left: 0; } }

/* footer: row 1 = pages + social, row 2 = legal + contact */
footer .ftop { width: 100%; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-bottom: 14px; margin-bottom: 4px; border-bottom: 1px solid #13263F; }
footer .ftop .links { flex: none; width: auto; padding: 0; margin: 0; border: 0; }
footer .ftop .social { margin-left: 0; }

/* about: meet keith */
.meet { background: var(--paper-2); }
.meet-grid { display: grid; grid-template-columns: 280px 1fr; gap: 48px; align-items: center; max-width: 860px; }
.meet-grid img { width: 280px; height: 280px; object-fit: cover; border-radius: 16px; display: block; }
@media (max-width: 760px) {
  .meet-grid { grid-template-columns: 1fr; gap: 24px; }
  .meet-grid img { width: 200px; height: 200px; }
}

/* plan pages (/plans/<plan>): ads link to a section, e.g. /plans/essentials#fast-reply */
.page-hero .eyebrow { color: var(--teal); }
.plan-toc { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 8px 0 24px; border-bottom: 1px solid var(--line); }
.plan-toc b { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin-right: 6px; }
.plan-toc a { font-size: .95rem; font-weight: 600; color: var(--ink); text-decoration: none; background: var(--paper-2); border: 1px solid var(--line); border-radius: 8px; padding: 7px 12px; }
.plan-toc a:hover { border-color: var(--teal-deep); color: var(--teal-deep); }
.svc[id] { scroll-margin-top: 90px; }
.svc .proof { margin: 14px 0 0; font-size: .95rem; color: var(--ink-soft); }
.svc .proof b { color: var(--teal-deep); }
.steps .after { margin: 28px 0 0; color: #B7C5D8; max-width: 70ch; }
.steps .ctas { margin-top: 24px; display: flex; gap: 12px; flex-wrap: wrap; }
.plan-also { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 28px 0 0; }
.plan-also b { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin-right: 6px; }
.plan-also a { font-weight: 600; color: var(--teal-deep); }
.proof-big { margin: 28px 0 0; font-family: var(--display); font-size: 1.2rem; font-weight: 700; }
.proof-big b { color: var(--teal-deep); }
.svc .proof a { font-weight: 600; color: var(--teal-deep); text-decoration: none; }
.plans .learn { font-weight: 600; color: var(--teal-deep); white-space: nowrap; text-decoration: none; }
.svc .inplan { margin: 14px 0 0; font-size: .95rem; color: var(--ink-soft); }
.svc .inplan a { font-weight: 600; color: var(--teal-deep); }

/* Cookie choices (EU/UK visitors only, Nov 17): tracking waits for Accept */
#consent{position:fixed;left:16px;right:16px;bottom:16px;z-index:2147483000;max-width:560px;margin:0 auto;background:var(--paper);color:var(--ink);
  border:1px solid var(--line);border-radius:16px;box-shadow:0 12px 40px rgba(11,31,58,.22);padding:18px 20px;font:15px/1.5 var(--text)}
#consent p{margin:0 0 12px}
#consent a{color:var(--teal-deep);text-decoration:underline}
#consent div{display:flex;gap:10px;flex-wrap:wrap}
#consent .btn{min-height:44px}
#consent .btn:not(.btn-primary){background:var(--paper-2);color:var(--ink);border:1px solid var(--line)}
