:root {
  --brand: #0d7377;
  --brand-strong: #095c60;
  --brand-soft: #e3f4f4;
  --accent: #f08a24;
  --ink: #0f1f2e;
  --ink-soft: #475667;
  --line: #dde5ec;
  --surface: #ffffff;
  --surface-alt: #f5f8fa;
  --ok: #1f8f55;
  --warn: #c77700;
  --bad: #c0392b;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(15, 31, 46, 0.08);
  --max: 1120px;
  --read: 760px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --brand: #38b2b7;
    --brand-strong: #6fd0d4;
    --brand-soft: #12302f;
    --ink: #eaf1f6;
    --ink-soft: #a9b8c6;
    --line: #243445;
    --surface: #0f1b27;
    --surface-alt: #13222f;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 17px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--surface);
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--brand-strong); text-underline-offset: 3px; }
a:hover { color: var(--brand); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: #0d7377; color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { width: min(var(--max), 100% - 40px); margin-inline: auto; }
.read { width: min(var(--read), 100% - 40px); margin-inline: auto; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.logo svg { width: 30px; height: 30px; flex: none; }
.nav-links { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav-links a { color: var(--ink-soft); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav-links a:hover { color: var(--brand); }
.nav-links a.btn-primary, .nav-links a.btn-primary:hover { color: #fff; }
.menu { display: none; margin-left: auto; }
.menu summary { list-style: none; cursor: pointer; font-weight: 700; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; }
.menu summary::-webkit-details-marker { display: none; }
.menu nav { position: absolute; right: 20px; top: 62px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 10px; box-shadow: var(--shadow); display: grid; min-width: 220px; }
.menu nav a { padding: 10px 12px; text-decoration: none; color: var(--ink); font-weight: 600; border-radius: 8px; }
.menu nav a:hover { background: var(--surface-alt); }
@media (max-width: 820px) { .nav-links { display: none; } .menu { display: block; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 12px; font-weight: 700; font-size: 16px; text-decoration: none; border: 2px solid transparent; cursor: pointer; line-height: 1.2; font-family: inherit; }
.btn-primary { background: #0d7377; color: #fff; }
.btn-primary:hover { background: #095c60; color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-sm { padding: 9px 16px; font-size: 14px; }

/* hero */
.hero { padding: 64px 0 40px; background: radial-gradient(1000px 420px at 85% -10%, var(--brand-soft), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-strong); background: var(--brand-soft); padding: 6px 12px; border-radius: 999px; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 14px; }
h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 850; }
h2 { font-size: clamp(25px, 3.4vw, 34px); font-weight: 800; margin-top: 0; }
h3 { font-size: 20px; font-weight: 750; }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--ink-soft); max-width: 62ch; }
.hero .lead { margin: 18px 0 26px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; color: var(--ink-soft); font-size: 14px; font-weight: 600; }
.trust-row span::before { content: "✓"; color: var(--ok); font-weight: 900; margin-right: 6px; }

/* phone mock */
.phone { width: min(330px, 100%); margin-inline: auto; background: var(--surface); border: 8px solid #12212f; border-radius: 38px; box-shadow: var(--shadow); padding: 16px 14px 18px; position: relative; }
.phone::before { content: ""; position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 80px; height: 6px; background: #12212f; border-radius: 6px; }
.phone-title { font-weight: 800; margin: 14px 4px 10px; font-size: 15px; }
.mark { background: var(--surface-alt); border: 1px solid var(--line); border-radius: 14px; padding: 12px; margin-bottom: 10px; }
.mark-top { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; color: var(--ink-soft); font-weight: 600; }
.mark-val { font-size: 22px; font-weight: 800; color: var(--ink); }
.mark-val small { font-size: 12px; color: var(--ink-soft); font-weight: 600; }
.chip { font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: 999px; }
.chip-ok { background: #dff3e8; color: #17653c; }
.chip-warn { background: #fdecd0; color: #8a5200; }
.chip-bad { background: #f9dcd8; color: #8f2a1f; }
.spark { width: 100%; height: 38px; display: block; margin-top: 4px; }
.sample-note { text-align: center; font-size: 12px; color: var(--ink-soft); margin: 8px 0 0; }

/* sections */
section { padding: 56px 0; }
.alt { background: var(--surface-alt); }
.section-head { max-width: 62ch; margin-bottom: 30px; }
.grid { display: grid; gap: 20px; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .g3 { grid-template-columns: 1fr; } .g2 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.alt .card { background: var(--surface); }
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; color: var(--ink-soft); }
.icon { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-strong); display: grid; place-items: center; margin-bottom: 14px; }
.icon svg { width: 24px; height: 24px; }
.steps { counter-reset: s; display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 24px 24px 24px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #0d7377; color: #fff; font-weight: 800; margin-bottom: 12px; }
.step p { margin: 0; color: var(--ink-soft); }

/* pricing */
.plans { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); align-items: stretch; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }
.plan { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: var(--surface); display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--brand); box-shadow: var(--shadow); position: relative; }
.plan.featured::before { content: "Best value"; position: absolute; top: -13px; left: 24px; background: #0d7377; color: #fff; font-size: 12px; font-weight: 800; padding: 4px 12px; border-radius: 999px; }
.plan ul { padding-left: 20px; margin: 14px 0 22px; color: var(--ink-soft); flex: 1; }
.plan li { margin: 6px 0; }
.price { font-size: 30px; font-weight: 850; margin: 4px 0 2px; }

/* content pages */
.page-head { padding: 44px 0 24px; background: radial-gradient(800px 300px at 90% -20%, var(--brand-soft), transparent 70%); }
.crumbs { font-size: 14px; color: var(--ink-soft); margin-bottom: 14px; }
.crumbs a { color: var(--ink-soft); }
.meta { color: var(--ink-soft); font-size: 14px; margin-top: 10px; }
.answer { border-left: 5px solid var(--brand); background: var(--brand-soft); padding: 18px 22px; border-radius: 0 var(--radius) var(--radius) 0; margin: 22px 0 8px; font-size: 18px; }
.answer strong:first-child { display: block; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-strong); margin-bottom: 4px; }
.prose { padding-bottom: 32px; }
.prose h2 { margin-top: 42px; }
.prose h3 { margin-top: 26px; }
.prose p, .prose li { color: var(--ink); }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin: 6px 0; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; margin: 18px 0; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--surface-alt); font-weight: 700; }
tr:last-child td { border-bottom: 0; }
.callout { border: 1px solid var(--line); background: var(--surface-alt); border-radius: var(--radius); padding: 18px 22px; margin: 24px 0; }
.callout.warn { border-color: #e7c58a; background: #fdf6e8; color: #4a3200; }
@media (prefers-color-scheme: dark) { .callout.warn { background: #2b2412; border-color: #6e5a20; color: #f0ddb0; } }
.prose section { padding: 24px 0 0; }
.faq details { border: 1px solid var(--line); border-radius: 12px; padding: 4px 18px; margin: 10px 0; background: var(--surface); }
.faq summary { cursor: pointer; font-weight: 700; padding: 12px 0; }
.faq details[open] summary { color: var(--brand-strong); }
.faq p { margin: 0 0 14px; color: var(--ink-soft); }
.sources { font-size: 14px; color: var(--ink-soft); }
.sources li { margin: 4px 0; }
.related { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.related a { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 14px; background: var(--surface); }
.related a:hover { border-color: var(--brand); }
.hub-list { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); margin-top: 20px; }
.hub-list a { display: block; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink); background: var(--surface); }
.hub-list a:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.hub-list strong { display: block; margin-bottom: 4px; }
.hub-list span { color: var(--ink-soft); font-size: 14px; }

/* cta */
.cta-box { background: linear-gradient(135deg, var(--brand), var(--brand-strong)); color: #fff; border-radius: 22px; padding: 34px; margin: 38px 0; }
.cta-box h2, .cta-box h3 { color: #fff; margin-bottom: 8px; }
.cta-box p { margin: 0 0 16px; color: #e6f6f6; max-width: 58ch; }
.cta-box .btn-primary { background: #fff; color: #095c60; }
.cta-box .btn-primary:hover { background: #e8f6f6; }
.cta-box .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.cta-box a { color: #fff; }
.waitlist { display: flex; flex-wrap: wrap; gap: 10px; max-width: 520px; }
.waitlist input[type="email"] { flex: 1 1 240px; padding: 13px 16px; border-radius: 12px; border: 2px solid transparent; font: inherit; background: #fff; color: #0f1f2e; }
.hero-cta .waitlist input[type="email"], .page-head .waitlist input[type="email"] { border-color: var(--line); }
.hero-cta .btn-primary { background: #0d7377; color: #fff; }
.waitlist .hp { position: absolute; left: -9999px; }
.form-msg { flex-basis: 100%; font-size: 14px; margin: 0; }
.badges { display: flex; flex-wrap: wrap; gap: 12px; }
.fineprint { font-size: 13px; color: var(--ink-soft); }
.cta-box .fineprint { color: #cdebeb; }

/* tools */
.tool { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--surface-alt); margin: 22px 0; }
.tool label { display: block; font-weight: 700; margin: 12px 0 6px; font-size: 15px; }
.tool input, .tool select { width: 100%; padding: 12px 14px; font: inherit; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); }
.tool .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .tool .row { grid-template-columns: 1fr; } }
.result { font-size: 26px; font-weight: 850; margin-top: 18px; color: var(--brand-strong); }
.result small { display: block; font-size: 14px; font-weight: 500; color: var(--ink-soft); }

/* footer */
.site-footer { border-top: 1px solid var(--line); background: var(--surface-alt); padding: 44px 0 28px; margin-top: 30px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 30px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
.foot-title { margin: 0 0 10px; font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); }
.foot-grid a { display: block; color: var(--ink); text-decoration: none; padding: 3px 0; }
.foot-grid a:hover { color: var(--brand); }
.foot-note { border-top: 1px solid var(--line); margin-top: 28px; padding-top: 18px; color: var(--ink-soft); font-size: 13px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print { .site-header, .site-footer, .cta-box { display: none; } }

.plan-name { font-size: 20px; font-weight: 750; margin: 0 0 8px; }
