:root {
  --harbor: #17304f;
  --harbor-2: #22426b;
  --emerald: #1d8a66;
  --gold: #c7932e;
  --sky: #3d78c9;
  --ink: #161c26;
  --muted: #5a6372;
  --paper: #fbfaf7;
  --cream: #f1f4f7;
  --line: #e0e5eb;
  --red: #b23a2b;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(18, 30, 48, .06), 0 8px 28px rgba(18, 30, 48, .09);
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font: 400 17px/1.65 var(--sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: var(--harbor-2); }
h1, h2, h3 { font-family: var(--serif); line-height: 1.15; color: var(--harbor); margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.7rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }

.container { width: min(1120px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 40px); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--harbor); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }

.eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--emerald); margin-bottom: .8em; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 24px; border-radius: 999px; border: 2px solid var(--harbor);
  background: var(--harbor); color: #fff; font: 600 1rem var(--sans);
  text-decoration: none; cursor: pointer; transition: background .2s, color .2s, transform .2s;
}
.btn:hover { background: var(--harbor-2); border-color: var(--harbor-2); transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.btn-ghost { background: transparent; color: var(--harbor); }
.btn-ghost:hover { background: var(--harbor); color: #fff; }
.btn-small { padding: 8px 18px; font-size: .92rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 250, 247, .9); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--harbor); }
.brand-mark { width: 34px; height: 34px; }
.brand-text { font: 700 1.25rem var(--serif); }
.brand-text span { color: var(--emerald); }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .96rem; }
.nav-links a:not(.btn):hover { color: var(--emerald); }
.nav-links .signin { color: var(--harbor) !important; font-weight: 600 !important; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--harbor); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  padding: 84px 0 96px;
  background:
    radial-gradient(900px 420px at 92% -10%, rgba(61, 120, 201, .15), transparent 60%),
    radial-gradient(700px 380px at -10% 110%, rgba(29, 138, 102, .12), transparent 60%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 36em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-note { margin: 22px 0 0; font-size: .92rem; font-weight: 500; color: var(--muted); }

/* Hero mock of the comparison app */
.mock {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow);
  overflow: hidden; font-size: .88rem;
}
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: var(--harbor); color: #c9d6e8; font-weight: 600; font-size: .8rem; }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .3); }
.mock-bar span { margin-left: 8px; }
.mock-filters { display: flex; flex-wrap: wrap; gap: 6px; padding: 14px 16px 6px; }
.mock-filters b { padding: 4px 10px; border-radius: 999px; background: var(--cream); border: 1px solid var(--line); color: var(--harbor); font-weight: 600; font-size: .78rem; }
.mock table { width: 100%; border-collapse: collapse; }
.mock th, .mock td { padding: 10px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.mock th { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.mock td:last-child, .mock th:last-child { text-align: right; }
.mock tr.best td { background: rgba(29, 138, 102, .07); }
.mock .rate { font: 700 1.05rem var(--serif); color: var(--harbor); }
.mock tr.best .rate { color: var(--emerald); }
.mock .tag { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: var(--emerald); color: #fff; font-size: .68rem; font-weight: 700; letter-spacing: .04em; }
.mock-foot { padding: 12px 16px; display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: .78rem; }
.mock-foot b { padding: 6px 12px; border-radius: 999px; background: var(--harbor); color: #fff; font-size: .78rem; }

/* Sections */
.section { padding: 92px 0; }
.band { background: var(--cream); border-block: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head p:last-child:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }

.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.two { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.pillar { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.pillar p { color: var(--muted); margin: 0; font-size: .97rem; }
.icon { width: 46px; height: 46px; border-radius: 12px; background: var(--cream); display: grid; place-items: center; margin-bottom: 18px; }
.icon svg { width: 24px; height: 24px; fill: none; stroke: var(--harbor); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }

/* Platform modules */
.modules { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 24px; }
.module {
  display: flex; flex-direction: column; gap: 14px; padding: 30px; background: #fff;
  border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow);
  border-top: 5px solid var(--line);
}
.module.live { border-top-color: var(--emerald); }
.module.next { border-top-color: var(--sky); }
.module.later { border-top-color: var(--gold); }
.module p { color: var(--muted); margin: 0; }
.module .checks { margin: 0; font-size: .95rem; color: var(--muted); }
.module .btn { margin-top: auto; align-self: flex-start; }
.status { align-self: flex-start; padding: 4px 12px; border-radius: 999px; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.live .status { background: rgba(29, 138, 102, .12); color: var(--emerald); }
.next .status { background: rgba(61, 120, 201, .12); color: var(--sky); }
.later .status { background: rgba(199, 147, 46, .15); color: #8a6115; }
.modules { grid-template-columns: repeat(3, 1fr); }
.module.addon { border-top-color: var(--gold); }
.addon .status { background: rgba(199, 147, 46, .15); color: #8a6115; }
.addons-head { max-width: 720px; margin: 56px 0 24px; }
.addons-head p { color: var(--muted); margin: 0; }
.addons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.addons-note { margin: 20px 0 0; font-size: .9rem; color: var(--muted); }

/* Product types */
.types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.type { padding: 28px; border-radius: var(--radius); background: var(--harbor); color: #dbe4f0; }
.type h3 { color: #fff; margin-bottom: .2em; }
.type .abbr { font: 700 2.2rem var(--serif); color: var(--gold); margin: 0 0 6px; }
.type p { margin: 0; font-size: .96rem; }
.type ul { margin: 14px 0 0; padding-left: 18px; font-size: .92rem; color: #b9c7da; }

/* Split / steps */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.split .btn { margin-top: 10px; }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps li { position: relative; counter-increment: step; padding: 0 0 26px 64px; color: var(--muted); }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 21px; top: 46px; bottom: 6px; width: 2px; background: var(--line); }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: #fff; color: var(--harbor); font: 700 1.1rem var(--serif);
  border: 1px solid var(--line);
}
.steps strong { display: block; color: var(--harbor); font: 600 1.15rem/1.3 var(--serif); margin: 8px 0 4px; }

/* Audiences */
.audience { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.audience p { color: var(--muted); margin: 0; font-size: .97rem; }

.checks { list-style: none; padding: 0; margin: 0 0 26px; }
.checks li { position: relative; padding-left: 28px; margin-bottom: 8px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: 16px; height: 9px;
  border-left: 2.5px solid var(--emerald); border-bottom: 2.5px solid var(--emerald);
  transform: rotate(-45deg) translateY(-3px);
}
.notice { margin: 40px 0 0; padding: 16px 20px; border-radius: 10px; background: #fff; border: 1px solid var(--line); color: var(--muted); font-size: .9rem; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
  font: 600 1.12rem/1.35 var(--serif); color: var(--harbor);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font: 400 1.6rem var(--sans); color: var(--emerald); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-right: 40px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.contact-grid > div > p { color: var(--muted); }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; }
.contact-list li { padding: 14px 0; border-top: 1px solid var(--line); }
.contact-list span { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact-list a { font-weight: 600; }

.form { position: relative; background: #fff; padding: 32px; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.field small { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 10px;
}
.field textarea { resize: vertical; min-height: 120px; }
.field [aria-invalid="true"] { border-color: var(--red); background: #fdf3f1; }
.form-note { margin: 14px 0 0; font-size: .93rem; color: var(--muted); min-height: 1.4em; }
.recaptcha-note { margin: 10px 0 0; font-size: .78rem; color: var(--muted); line-height: 1.5; }
.recaptcha-note a { color: var(--muted); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.site-footer { background: var(--harbor); color: #cdd8e6; padding: 44px 0; font-size: .93rem; }
.site-footer a { color: #fff; }
.footer-grid { display: flex; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.footer-brand { font: 600 1.15rem var(--serif); color: #fff; margin-bottom: .3em; }
.footer-meta { text-align: right; margin: 0; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid, .contact-grid, .split { grid-template-columns: 1fr; gap: 44px; }
  .modules { grid-template-columns: 1fr; }
  .three, .types { grid-template-columns: 1fr 1fr; }
  .two { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0; display: none;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px;
    background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-links .btn { margin-top: 16px; }
  .hero { padding: 56px 0 64px; }
  .section { padding: 68px 0; }
  .three, .types, .modules, .addons { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr; gap: 0; }
  .form, .module { padding: 24px; }
  .mock th:nth-child(2), .mock td:nth-child(2) { display: none; }
  .footer-meta { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
