/* Plain Giant: light theme only, as designed. Fonts are self-hosted (OFL, see /fonts). */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/fonts/plus-jakarta-sans-latin-wght.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-latin-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #fafaf8;
  --bg-alt: #f8f8f6;
  --surface: #ffffff;
  --ink: #0a0a0a;
  --body: #5d5d5d;
  --muted: #6b6b68;
  --nav: #525251;
  --label: #545454;
  --line: #e5e5e2;
  --blue: #1a56db;
  --blue-dark: #1546b3;
  --blue-line: #b7c9ef;
  --blue-soft-line: #d1ddf8;
  --green: #166534; --green-bg: #f0fdf4; --green-line: #bbf7d0; --green-bar: #4ade80;
  --amber: #92400e; --amber-bg: #fffbeb; --amber-line: #fde68a;
  --red: #991b1b; --red-bg: #fef2f2; --red-line: #fecaca;
  --heading: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --text: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: 24px;
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font: 400 16px/1.55 var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3 { font-family: var(--heading); color: var(--ink); font-weight: 800; letter-spacing: -0.032em; margin: 0; }
p { margin: 0; }
a { color: inherit; }
img, svg { display: block; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.container--frame { padding: 0 48px; }

.skip-link { position: absolute; left: 12px; top: -48px; z-index: 20; background: var(--surface); color: var(--ink); padding: 8px 12px; border-radius: 6px; }
.skip-link:focus { top: 12px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(250, 250, 248, 0.94);
  backdrop-filter: saturate(1.2) blur(8px);
  -webkit-backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 4px rgba(10, 10, 10, 0.04);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 16px; }
.wordmark { font: 800 23.5px/1 var(--heading); letter-spacing: -0.036em; color: #050505; text-decoration: none; white-space: nowrap; }
.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav a:not(.btn) { color: var(--nav); text-decoration: none; font-size: 14.5px; font-weight: 500; white-space: nowrap; }
.site-nav a:not(.btn):hover { color: var(--ink); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 44px; padding: 0 23px; border: 0; border-radius: 6px;
  background: var(--blue); color: #fff; text-decoration: none;
  font: 600 14.5px/1 var(--text); letter-spacing: -0.01em; cursor: pointer; white-space: nowrap;
}
.btn:hover { background: var(--blue-dark); }
.btn:disabled { opacity: 0.65; cursor: progress; }
.btn--sm { height: 35px; padding: 0 16px; font-size: 14px; }
.btn--block { display: flex; width: 100%; }

/* Hero */
.hero { padding: 96px 0 96px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 544px); gap: 56px; align-items: start; }
.pill {
  display: inline-block; margin-bottom: 18px; padding: 4px 12px;
  border: 1px solid var(--blue-line); border-radius: 999px;
  color: var(--blue); font-size: 12.5px; font-weight: 600; line-height: 16px;
}
.hero h1 { font-size: 48px; line-height: 1; }
.lede { margin-top: 22px; max-width: 544px; font-size: 18px; line-height: 28px; color: var(--body); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 34px; }
.text-link { color: var(--muted); font-size: 14px; font-weight: 500; text-decoration: none; padding: 8px 0; }
.text-link:hover { color: var(--ink); }

/* Illustrative comparison card */
.compare {
  margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  box-shadow: 0 1px 2px rgba(10, 10, 10, 0.04), 0 14px 32px -12px rgba(10, 10, 10, 0.12);
  font-size: 12px; line-height: 18px; color: var(--muted);
}
.compare-caption { padding: 9px 16px; font-size: 11px; background: #fbfbfa; border-bottom: 1px solid var(--line); }
.compare-search {
  display: flex; align-items: center; gap: 10px; padding: 13px 16px;
  background: var(--bg); border-bottom: 1px solid var(--line);
  color: var(--ink); font-size: 14px; line-height: 18px;
}
.compare-search svg { flex: none; color: var(--muted); }
.compare-product { padding: 9px 16px 9px; background: var(--bg); border-bottom: 1px solid var(--line); font-size: 12px; }
.compare-product strong { color: var(--ink); font-weight: 600; margin-right: 12px; }
.offers { list-style: none; margin: 0; padding: 0; }
.offer { position: relative; display: flex; justify-content: space-between; gap: 16px; padding: 16px 20px 15px 24px; border-bottom: 1px solid var(--line); }
.offer--best::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--green-bar); }
.offer-name { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; color: var(--ink); font-size: 14px; font-weight: 600; line-height: 20px; }
.badge { padding: 1px 7px; border: 1px solid; border-radius: 4px; font-size: 10.5px; font-weight: 600; line-height: 16px; letter-spacing: 0; }
.offer-pack { display: flex; flex-wrap: wrap; gap: 2px 16px; margin-top: 7px; color: #606060; }
.chip { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 2px 8px; border-radius: 5px; font-weight: 600; line-height: 18px; }
.chip svg { flex: none; }
.offer-math { margin-top: 11px; font-size: 11px; line-height: 18px; }
.offer-total { flex: none; text-align: right; }
.price { font: 700 20px/26px var(--text); letter-spacing: -0.01em; }
.price-note { font-size: 11px; line-height: 14px; }
.tone-green .badge, .tone-green.chip { color: var(--green); background: var(--green-bg); border-color: var(--green-line); }
.tone-amber .badge, .tone-amber.chip { color: var(--amber); background: var(--amber-bg); border-color: var(--amber-line); }
.tone-red .badge, .tone-red.chip { color: var(--red); background: var(--red-bg); border-color: var(--red-line); }
.tone-green .price { color: var(--green); }
.tone-amber .price { color: var(--amber); }
.tone-red .price { color: var(--red); }
.compare-foot { padding: 13px 16px 15px; background: #fcfcfb; font-size: 11px; line-height: 16px; }
.compare-foot p:first-child { color: #535352; font-size: 12px; line-height: 18px; font-weight: 500; margin-bottom: 4px; }

/* Sections */
.section { padding: 112px 0; border-top: 1px solid var(--line); }
.section--alt { background: var(--bg-alt); }
.section h1, .section h2 { font-size: 36px; line-height: 1.12; }
.section-lede { margin-top: 20px; max-width: 664px; font-size: 18px; line-height: 28px; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin: 58px 0 0; padding: 0; }
.step-num { display: block; font: 700 36px/1 var(--heading); letter-spacing: -0.02em; color: var(--blue); }
.steps h3 { margin-top: 20px; font-size: 19px; line-height: 24px; font-weight: 700; letter-spacing: -0.025em; }
.steps p { margin-top: 14px; font-size: 14px; line-height: 22.5px; }
.section--who { padding: 96px 0 100px; }
.measure { max-width: 700px; margin: 0 auto; }

/* Waiting list */
.waitlist { padding-top: 72px; text-align: center; }
.waitlist h2 { line-height: 1.05; }
.waitlist-sub { margin-top: 20px; font-size: 16px; }
.site-form {
  max-width: 448px; margin: 36px auto 0; padding: 28px; text-align: left;
  background: var(--surface); border: 1px solid var(--blue-soft-line); border-radius: 12px;
}
.field + .field { margin-top: 13px; }
.field label { display: block; margin-bottom: 6px; color: var(--label); font-size: 12px; font-weight: 500; line-height: 16px; }
.field .req { color: var(--blue); }
.field .opt { color: var(--muted); font-weight: 400; }
.field input, .field textarea {
  display: block; width: 100%; height: 42px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: 6px; background: var(--bg);
  color: var(--ink); font: 400 14px/1 var(--text);
}
.field input::placeholder { color: var(--muted); opacity: 1; }
.field textarea { height: auto; padding: 10px 12px; line-height: 1.5; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); background: var(--surface); }
.turnstile:not(:empty) { margin-top: 16px; }
.site-form .btn { margin-top: 16px; font-size: 14px; }
.form-status:not(:empty) { margin-top: 14px; padding: 10px 12px; border-radius: 6px; font-size: 13.5px; line-height: 20px; text-align: center; background: var(--bg); color: var(--ink); }
.form-status[data-kind="success"] { background: var(--green-bg); color: var(--green); font-weight: 600; }
.form-status[data-kind="error"] { background: var(--red-bg); color: var(--red); }
.form-note { margin-top: 18px; color: var(--muted); font-size: 11px; line-height: 16px; text-align: center; }
.form-note a { text-underline-offset: 2px; }
.waitlist .after-form { height: 72px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 54px 0 48px; background: var(--bg); }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px 48px; }
.footer-inner > div { flex: 1 1 auto; min-width: 0; }
.wordmark--sm { font-size: 16px; display: inline-block; margin-left: 6px; }
.disclosure { margin-top: 20px; color: var(--muted); font-size: 12px; line-height: 19px; }
.legal-nav { flex: none; display: flex; gap: 24px; padding-top: 2px; }
.legal-nav a { color: var(--muted); font-size: 12px; text-decoration: none; white-space: nowrap; }
.legal-nav a:hover { color: var(--ink); text-decoration: underline; }

/* Legal pages */
.legal { padding: 56px 0 96px; }
.legal .measure { max-width: 760px; }
.legal h1 { margin-top: 32px; font-size: 40px; line-height: 1.1; }
.legal .meta { margin-top: 12px; color: var(--muted); font-size: 14px; }
.legal h2 { margin-top: 40px; font-size: 22px; line-height: 1.25; letter-spacing: -0.03em; font-weight: 700; }
.legal p, .legal li { font-size: 16px; line-height: 1.65; color: #3f3f3e; }
.legal p { margin-top: 14px; }
.legal ul { margin: 14px 0 0; padding-left: 22px; }
.legal li + li { margin-top: 6px; }
.legal a { color: var(--blue); text-underline-offset: 2px; }
mark.confirm, mark.source { padding: 1px 5px; border-radius: 4px; font-size: 0.92em; font-weight: 600; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
mark.confirm { background: #fef3c7; color: #78350f; }
mark.source { background: #fee2e2; color: #7f1d1d; }

/* Responsive */
@media (max-width: 960px) {
  .hero { padding: 64px 0 72px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .compare { max-width: 600px; }
  .container--frame { padding: 0 var(--gutter); }
}
@media (max-width: 720px) {
  :root { --gutter: 16px; --header-h: 56px; }
  .site-nav { gap: 0; }
  .site-nav a:not(.btn) { display: none; }
  .wordmark { font-size: 20px; }
  .hero { padding: 40px 0 56px; }
  .hero h1 { font-size: clamp(26px, 8.6vw, 40px); line-height: 1.04; }
  .lede { font-size: 17px; line-height: 26px; }
  .section { padding: 72px 0; }
  .section h1, .section h2 { font-size: 29px; }
  .section-lede { font-size: 17px; line-height: 26px; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 32px; margin-top: 40px; }
  .steps h3 { margin-top: 12px; }
  .waitlist { padding-top: 56px; }
  .site-form { padding: 20px; }
  .waitlist .after-form { height: 32px; }
  .offer { padding: 15px 14px 15px 18px; gap: 10px; }
  .footer-inner { flex-direction: column; }
  .site-footer { padding: 40px 0; }
  .legal { padding: 32px 0 64px; }
  .legal h1 { font-size: 32px; }
}
@media (max-width: 360px) {
  .btn--sm { padding: 0 12px; font-size: 13.5px; }
}
