/* Version 1, revamped (2026-10-28): a professional, modern look for the /v1/ pages.
   Light sections, deep navy hero and footer, one grey-teal accent (version 2's), no neon or glow.
   Same words as version 2 (since 2026-10-28); its own layout and look.
   No inline styles anywhere: the server's Content-Security-Policy blocks them.
   Contrast of every text/background pair checked (all at least 4.5:1). */

@font-face {
  font-family: "Ubuntu Sans";
  src: url("/assets/fonts/ubuntu-sans.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #0f1b2d;            /* headings */
  --text: #334155;           /* body text */
  --muted: #5b6b80;
  --bg: #ffffff;
  --bg-soft: #f5f8fb;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  --navy: #0b1f33;
  --navy-deep: #0a1628;
  --accent: #52747a;         /* deep grey teal: buttons, links, icons on light backgrounds (5.1:1 on white) */
  --accent-hover: #446065;
  --accent-soft: #edf2f3;
  --accent-on-dark: #98b5ba; /* version 2's grey teal, on navy (7.7:1) */
  --on-dark: #cbd5e1;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(15, 27, 45, 0.06), 0 1px 3px rgba(15, 27, 45, 0.08);
  --shadow: 0 4px 6px -1px rgba(15, 27, 45, 0.07), 0 10px 24px -6px rgba(15, 27, 45, 0.12);
  --shadow-lg: 0 24px 48px -12px rgba(10, 22, 40, 0.35);
  --header-h: 72px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
}

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Ubuntu Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main { flex: 1 0 auto; }
img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0; letter-spacing: -0.015em; text-wrap: balance; }
p { margin: 0; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

.skip {
  position: absolute; left: 12px; top: -64px; z-index: 100;
  padding: 0.6rem 1rem; border-radius: 8px;
  background: var(--accent); color: #fff; font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; color: #fff; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 1.5em; height: 1.5em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 6;
  stroke-linecap: round; stroke-linejoin: round;
}
.neon-icon { color: var(--accent); }
.accent { color: var(--accent); }

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  min-height: var(--header-h);
}
.brand { display: block; flex: none; }
.brand img { height: 28px; width: auto; }   /* heights must match SITE_HEIGHTS in tools/make_logo_v1_modern.py */
.nav { display: none; gap: 2rem; margin-left: auto; }
.nav a { color: var(--text); text-decoration: none; font-weight: 500; font-size: 0.96rem; }
.nav a:hover { color: var(--accent); }
.header-cta { padding: 0.6rem 1rem; font-size: 0.92rem; }
.long { display: none; }
/* Phones: a smaller header button so the logo and the button fit side by side (.btn's own
   padding would otherwise win); below 360 px only the logo fits, and the hero's button is just below. */
@media (max-width: 559px) {
  .site-header .wrap { gap: 0.75rem; }
  .btn.header-cta { padding: 0.55rem 0.75rem; font-size: 0.9rem; }
}
@media (max-width: 359px) { .btn.header-cta { display: none; } }
@media (min-width: 560px) {
  .brand img { height: 34px; }
  .long { display: inline; }
}
@media (min-width: 980px) {
  .nav { display: flex; }
  .header-cta { margin-left: 0.5rem; }
}
@media (min-width: 1180px) { .brand img { height: 42px; } }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.9rem 1.4rem; border-radius: var(--radius-sm); border: 1.5px solid transparent;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.btn .icon { width: 1.1em; height: 1.1em; stroke-width: 9; }
.btn-primary { color: #fff; background: var(--accent); box-shadow: var(--shadow-sm); }
.btn-primary:hover { color: #fff; background: var(--accent-hover); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-ghost { color: #fff; background: transparent; border-color: rgba(255, 255, 255, 0.35); }
.btn-ghost:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, 0.06); }

/* ---------------------------------------------------------------- section parts */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  color: var(--accent); font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }

.section { position: relative; padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-weight: 800; font-size: clamp(1.85rem, 3.6vw, 2.6rem); margin: 0.8rem 0 0.9rem; }
.section-head p { color: var(--muted); font-size: 1.1rem; }

/* light and soft sections alternate */
#how-it-works, .offer, #why, #faq { background: var(--bg-soft); }

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative; overflow: clip; color: var(--on-dark);
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3.5rem, 7vw, 6rem);
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(152, 181, 186, 0.10), transparent 60%),
    radial-gradient(700px 500px at -10% 90%, rgba(56, 189, 248, 0.08), transparent 60%),
    linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 55%, #12324f 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%);
  mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.hero .wrap { position: relative; display: grid; gap: 3rem; align-items: center; }
.hero .eyebrow { color: var(--accent-on-dark); }
.hero h1 { color: #fff; font-weight: 800; font-size: clamp(2.4rem, 5.6vw, 4.1rem); line-height: 1.05; margin: 1rem 0 1.3rem; }
.hero h1 .accent { display: block; color: var(--accent-on-dark); }
.lead { font-size: clamp(1.06rem, 1.5vw, 1.22rem); max-width: 35rem; color: var(--on-dark); }
.lead strong { color: #fff; font-weight: 700; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }
.ticks {
  display: flex; flex-wrap: wrap; gap: 0.45rem 1.25rem; margin: 1.5rem 0 0; padding: 0; list-style: none;
  color: var(--on-dark); font-weight: 500; font-size: 0.95rem;
}
.ticks li { display: inline-flex; align-items: center; gap: 0.45rem; }
.ticks .icon { width: 1.05em; height: 1.05em; stroke-width: 11; color: var(--accent-on-dark); }

.hero-art { position: relative; justify-self: center; width: min(100%, 420px); }
/* The picture has no frame: its edges fade into the navy hero (founder, 2026-10-28:
   "fade the graphic of the lock into the background"); the shield and lock stay clear. */
.hero-art img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 55% 50%;
  filter: saturate(0.28) contrast(0.85) brightness(0.88);   /* version 2's photo filter */
  -webkit-mask-image: radial-gradient(closest-side at 50% 50%, #000 55%, transparent 100%);
  mask-image: radial-gradient(closest-side at 50% 50%, #000 55%, transparent 100%);
}
.badge {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.55rem 0.85rem; border-radius: 999px; background: #d4dbde; color: var(--ink);   /* light cool grey */
  box-shadow: var(--shadow); font-weight: 600; font-size: 0.82rem; white-space: nowrap;
}
.badge .icon { width: 1.25em; height: 1.25em; color: var(--accent); stroke-width: 6; }
.badge-1 { left: -4%; top: 10%; }
.badge-2 { right: -4%; bottom: 10%; }
.pulse { width: 9px; height: 9px; border-radius: 50%; flex: none; background: var(--accent); animation: pulse 2.4s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(82, 116, 122, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(82, 116, 122, 0); }
  100% { box-shadow: 0 0 0 0 rgba(82, 116, 122, 0); }
}
@media (min-width: 980px) {
  .hero .wrap { grid-template-columns: 1.1fr 0.9fr; gap: 4rem; }
  .hero-art { width: min(100%, 460px); }
  .badge { font-size: 0.9rem; padding: 0.65rem 1rem; }
}
@media (max-width: 420px) { .badge-1 { left: 0; } .badge-2 { right: 0; } }

/* ---------------------------------------------------------------- facts strip */
.facts { background: var(--bg); border-bottom: 1px solid var(--line); }
.facts ul { list-style: none; margin: 0 auto; padding: 1.75rem 0; display: grid; gap: 1.25rem 1.5rem; grid-template-columns: 1fr; }
.facts li { display: flex; gap: 0.9rem; align-items: center; }
.facts .icon {
  width: 2.75rem; height: 2.75rem; padding: 0.55rem; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent); stroke-width: 6.5;
}
.facts strong { display: block; color: var(--ink); font-weight: 700; font-size: 0.98rem; line-height: 1.3; }
.facts span { display: block; color: var(--muted); font-size: 0.9rem; line-height: 1.35; }
@media (min-width: 560px) { .facts ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .facts ul { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------------------------------------------------------------- how it works */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
.step {
  position: relative; padding: 1.9rem 1.6rem 1.8rem; border-radius: var(--radius);
  background: var(--bg); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.step-num {
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem; margin-bottom: 1.2rem;
  border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; font-size: 0.95rem;
}
.step h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.55rem; }
.step p { color: var(--muted); }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .step:not(:last-child)::after {
    content: ""; position: absolute; top: 3.25rem; right: calc(-1.5rem - 1px); width: 1.5rem; height: 2px;
    background: var(--line-strong);
  }
}

/* ---------------------------------------------------------------- offer band */
.offer { padding: 0 0 clamp(3.5rem, 7vw, 5.5rem); }
.offer-panel {
  position: relative; overflow: hidden; text-align: center; color: var(--on-dark);
  padding: clamp(2.2rem, 5vw, 3.4rem) clamp(1.1rem, 4vw, 3rem); border-radius: 20px;
  background:
    radial-gradient(600px 300px at 50% -20%, rgba(152, 181, 186, 0.16), transparent 70%),
    linear-gradient(160deg, var(--navy-deep), var(--navy) 60%, #12324f);
  box-shadow: var(--shadow-lg);
}
.offer-kicker { color: var(--accent-on-dark); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; }
.offer-big {
  margin: 0.6rem 0 0.7rem; color: #fff; font-weight: 800; font-size: clamp(2.5rem, 8.5vw, 5.2rem);
  line-height: 1; letter-spacing: -0.02em; text-wrap: balance;
}
.offer-terms { color: var(--on-dark); font-weight: 600; font-size: clamp(1rem, 2vw, 1.2rem); text-wrap: balance; }
.offer-panel .btn { margin-top: 1.8rem; }

/* ---------------------------------------------------------------- what's included */
.features { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.feature {
  display: flex; gap: 1rem; align-items: flex-start; padding: 1.5rem 1.4rem;
  border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.feature:hover { border-color: var(--line-strong); box-shadow: var(--shadow); transform: translateY(-2px); }
.icon-box {
  display: grid; place-items: center; flex: none; width: 3rem; height: 3rem;
  border-radius: 12px; background: var(--accent-soft); color: var(--accent);
}
.icon-box .icon { width: 1.7rem; height: 1.7rem; }
.feature h3 { color: var(--ink); font-weight: 700; font-size: 1.08rem; margin-bottom: 0.35rem; }
.feature p { font-size: 0.98rem; color: var(--muted); }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(3, 1fr); gap: 1.3rem; } }

/* ---------------------------------------------------------------- why ardin */
.split { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.photo-frame { position: relative; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-lg); margin: 0; }
.photo-frame img { width: 100%; aspect-ratio: 586 / 380; object-fit: cover; filter: saturate(0.28) contrast(0.85) brightness(0.88); }
.photo-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(10, 22, 40, 0.88)); }
.photo-caption {
  position: absolute; left: 1.3rem; right: 1.3rem; bottom: 1.1rem; z-index: 1;
  color: #fff; font-weight: 700; font-size: clamp(1.05rem, 2vw, 1.25rem); line-height: 1.3;
}
.photo-caption span { color: var(--accent-on-dark); }
.points { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem 1.75rem; }
.point { display: flex; gap: 0.9rem; }
.point .icon {
  width: 2.4rem; height: 2.4rem; padding: 0.45rem; border-radius: 10px; margin-top: 0.05rem;
  background: var(--accent-soft); color: var(--accent);
}
.point h3 { font-size: 1.04rem; font-weight: 700; margin-bottom: 0.25rem; }
.point p { color: var(--muted); font-size: 0.96rem; }
.split .section-head { margin-bottom: 2rem; }
@media (min-width: 640px) { .points { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .split { grid-template-columns: 0.9fr 1.1fr; } }

/* ---------------------------------------------------------------- coverage */
.coverage { display: grid; gap: 1.25rem; }
.cover-card { padding: 1.8rem 1.6rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg); }
.cover-card.yes { border-top: 4px solid var(--accent); box-shadow: var(--shadow-sm); }
.cover-card.no { background: var(--bg-soft); }
.cover-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 1.1rem; }
.cover-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.8rem; }
.cover-card li { display: flex; gap: 0.7rem; align-items: flex-start; }
.cover-card li .icon { width: 1.25rem; height: 1.25rem; margin-top: 0.2rem; stroke-width: 11; }
.yes li .icon { color: var(--accent); }
.no li { color: var(--muted); }
.no li .icon { color: #94a3b8; }
.soon {
  display: inline-block; margin-left: 0.4rem; padding: 0.1rem 0.55rem; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; vertical-align: 0.1em; white-space: nowrap;
}
.cover-note { margin-top: 1.5rem; color: var(--muted); text-align: center; }
@media (min-width: 820px) { .coverage { grid-template-columns: 1fr 1fr; gap: 1.5rem; } }

/* ---------------------------------------------------------------- FAQ */
.faq { max-width: 50rem; margin-inline: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.25rem 0.25rem; cursor: pointer; list-style: none;
  color: var(--ink); font-weight: 600; font-size: 1.08rem; line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 1.75rem; height: 1.75rem; border-radius: 50%;
  background:
    linear-gradient(var(--accent), var(--accent)) center / 10px 2px no-repeat,
    linear-gradient(var(--accent), var(--accent)) center / 2px 10px no-repeat,
    var(--accent-soft);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--accent); }
.faq .answer { padding: 0 0.25rem 1.35rem; max-width: 46rem; color: var(--text); }
/* FAQ answers with more than one paragraph or a list (the pricing answer, 2026-10-28) */
.faq .answer > * + * { margin-top: 0.75rem; }
.faq .answer ul { margin-bottom: 0; padding-left: 1.2rem; }
.faq .answer li + li { margin-top: 0.35rem; }
.faq .answer li::marker { color: var(--accent); }

/* ---------------------------------------------------------------- get started */
.start {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  background:
    radial-gradient(700px 400px at 90% 0%, rgba(152, 181, 186, 0.10), transparent 60%),
    linear-gradient(160deg, var(--navy-deep), var(--navy) 60%, #12324f);
}
.start-card {
  display: grid; gap: 2rem; align-items: start;
  padding: clamp(1.5rem, 5vw, 3rem); border-radius: 20px; background: #fff; color: var(--ink);
  box-shadow: var(--shadow-lg);
}
.start-card h2 { color: var(--ink); font-weight: 800; font-size: clamp(1.9rem, 4vw, 2.7rem); }
.start-card .intro { color: var(--muted); font-size: 1.1rem; margin: 0.8rem 0 0.5rem; }
.trial { color: var(--accent); font-weight: 800; font-size: clamp(1.7rem, 4.2vw, 2.7rem); line-height: 1.05; text-wrap: balance; }
.trial-terms { color: var(--ink); font-weight: 600; margin-top: 0.55rem; text-wrap: balance; }
@media (min-width: 900px) { .start-card { grid-template-columns: 0.9fr 1.1fr; gap: 3rem; } }

.contact-form { display: grid; gap: 0.95rem; }
.contact-form h3 { color: var(--ink); font-size: 1.15rem; font-weight: 700; }
.field-row { display: grid; gap: 0.95rem; }
.field { display: grid; gap: 0.35rem; min-width: 0; }
.field label { color: var(--ink); font-weight: 600; font-size: 0.9rem; }
.field .opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-width: 0; padding: 0.72rem 0.85rem;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: #fff; color: var(--ink);
  font: inherit; font-size: 1rem; line-height: 1.35;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field textarea { resize: vertical; min-height: 5.5rem; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 2.4rem; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 1.25rem) 55%, calc(100% - 0.9rem) 55%;
  background-size: 6px 6px, 6px 6px; background-repeat: no-repeat;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(82, 116, 122, 0.2);
}
.contact-form .btn { margin-top: 0.3rem; width: 100%; }
.contact-form .btn:disabled { cursor: progress; opacity: 0.8; transform: none; }
.form-note { color: var(--muted); font-size: 0.88rem; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--navy-deep); color: #94a3b8; padding: 3rem 0 2rem; font-size: 0.95rem; }
.footer-grid { display: grid; gap: 2rem; }
.footer-brand img { height: 37px; width: auto; margin-bottom: 1rem; }   /* FOOTER_HEIGHTS in tools/make_logo_v1_modern.py */
.footer-brand p { color: var(--on-dark); }
.footer-grid h2 {
  margin-bottom: 0.9rem; color: var(--accent-on-dark);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.footer-grid a { color: var(--on-dark); text-decoration: none; }
.footer-grid a:hover { color: #fff; }
.legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.5rem 1.5rem;
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 0.88rem;
}
/* Short footer (thank-you, error and 404 pages): no divider above the only row. */
.site-footer .wrap > .legal:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.site-footer:has(.wrap > .legal:first-child) { padding: 2rem 0; }
.version-switch {
  display: inline-block; padding: 0.25rem 0.75rem; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18); color: var(--on-dark); font-size: 0.8rem; text-decoration: none;
}
.version-switch:hover { color: #fff; border-color: rgba(255, 255, 255, 0.4); }
@media (min-width: 820px) { .footer-grid { grid-template-columns: 2fr 1fr; } }

/* ---------------------------------------------------------------- plain pages (privacy, thank-you, error) */
.page { padding: clamp(3rem, 7vw, 5rem) 0 clamp(4rem, 8vw, 6rem); }
.prose { max-width: 46rem; }
.prose h1 { font-weight: 800; font-size: clamp(2.1rem, 4.6vw, 3rem); margin: 0.8rem 0 0.6rem; }
.prose .updated { color: var(--muted); margin-bottom: 2rem; }
.prose h2 { font-size: 1.3rem; font-weight: 700; margin: 2.2rem 0 0.6rem; }
.prose p { margin: 0 0 1rem; }
.prose ul { margin: 0 0 1rem; padding-left: 1.2rem; }
.prose li { margin-bottom: 0.4rem; }
.prose li::marker { color: var(--accent); }

.result { text-align: center; }
.result .result-icon {
  display: grid; place-items: center; width: 5rem; height: 5rem; margin: 0 auto 1.5rem;
  border-radius: 50%; background: var(--accent-soft); color: var(--accent);
}
.result .result-icon .icon { width: 2.4rem; height: 2.4rem; stroke-width: 10; }
.result h1 { font-weight: 800; font-size: clamp(1.9rem, 4.4vw, 2.6rem); margin-bottom: 0.9rem; }
.result p { color: var(--muted); font-size: 1.1rem; max-width: 34rem; margin-inline: auto; }
.result .cta-row { justify-content: center; }
.result .btn-ghost { color: var(--accent); border-color: var(--line-strong); }

/* 404 page (the main site's, since version 1 became the main site on 2026-10-28) */
.notfound { text-align: center; }
.notfound .code { color: var(--accent); font-weight: 800; font-size: clamp(5rem, 18vw, 9rem); line-height: 1; }
.notfound h1 { font-weight: 800; font-size: clamp(1.9rem, 4.5vw, 2.8rem); margin: 1rem 0 0.8rem; }
.notfound p { color: var(--muted); font-size: 1.1rem; }
.notfound .cta-row { justify-content: center; }
.notfound .btn-ghost { color: var(--accent); border-color: var(--line-strong); }

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

/* ---------------------------------------------------------------- pricing (2026-11-02)
   Two price cards and a calculator (assets/js/pricing.js), before Get Started. */
.pricing { display: grid; gap: 1.25rem; align-items: start; }
@media (min-width: 760px) { .pricing { grid-template-columns: 1fr 1fr; } .calc { grid-column: 1 / -1; } }
@media (min-width: 1080px) { .pricing { grid-template-columns: 1fr 1fr 1.15fr; } .calc { grid-column: auto; } }
.price-card { padding: 1.8rem 1.6rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg); box-shadow: var(--shadow-sm); }
.price-card h3 { font-size: 1.15rem; font-weight: 700; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.2rem 0.55rem; margin: 0.9rem 0 0.25rem; }
.price .amount { color: var(--ink); font-weight: 800; font-size: clamp(2.3rem, 4vw, 2.8rem); line-height: 1; letter-spacing: -0.02em; }
.price .per { color: var(--muted); font-weight: 500; }
.price-for { color: var(--accent); font-weight: 600; margin-bottom: 1.3rem; }
.price-card ul { list-style: none; margin: 0; padding: 1.3rem 0 0; border-top: 1px solid var(--line); display: grid; gap: 0.75rem; }
.price-card li { display: flex; gap: 0.65rem; align-items: flex-start; }
.price-card li .icon { flex: none; width: 1.2rem; height: 1.2rem; margin-top: 0.2rem; color: var(--accent); stroke-width: 11; }
.calc {
  padding: 1.8rem 1.6rem; border-radius: var(--radius); color: var(--on-dark); box-shadow: var(--shadow-lg);
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 55%, #12324f 100%);
}
.calc h3 { color: #fff; font-size: 1.15rem; font-weight: 700; margin-bottom: 1.1rem; }
.calc-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; align-items: end; }   /* boxes line up when a label wraps */
.calc .field label { color: var(--on-dark); }
.calc .field input { font-size: 1.15rem; font-weight: 700; }
.calc-lines { margin: 1.4rem 0 0; display: grid; gap: 0.6rem; }
.calc-lines div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.calc-lines dd { margin: 0; color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc-total { margin-top: 0.35rem; padding-top: 0.9rem; border-top: 1px solid rgba(255, 255, 255, 0.16); }
.calc-total dt { color: #fff; font-weight: 700; }
.calc-total output { color: var(--accent-on-dark); font-weight: 800; font-size: 2rem; line-height: 1; }
.calc-note { margin: 0.9rem 0 1.3rem; font-size: 0.9rem; }
.calc .btn { width: 100%; }
