/* PocketPilot marketing site.

   Tokens follow the application shell in src/styles.css so the site and the
   product look like the same thing.

   Brand palette. Four seeds, everything else derived from them:
     #49C5B6 teal        surface/accent ONLY. 2.02:1 on paper, it cannot carry text
     #015048 deep teal   the workhorse: 8.97:1 on paper, 9.37:1 reversed out in white
     #FAFAFA off-white   page
     #000000 black       type
   Semantic colours (negative amounts, needs-review, over-budget) sit deliberately
   outside this palette, because four colours cannot express a financial state machine.

   Type is set from fonts already on the device. The Vercel CSP for this site
   sets font-src 'self' and the release check fails on any remote font request,
   so --display resolves against whatever editorial serif the reader has and
   falls back to Georgia, which is effectively universal. */

:root {
  --ink: #141a19;
  --ink-soft: #2c3634;
  --paper: #f6f6f3;
  --panel: #ffffff;
  --soft: #eef4f2;
  --line: #e2e6e0;
  --line-strong: #cfd8d4;
  --muted: #57605e;
  --muted-soft: #6a7371;
  --deep: #015048;
  --deep-dark: #01342f;
  --deep-hover: #013f39;
  --teal: #49c5b6;
  --teal-wash: #e4f3f0;

  --display: 'Iowan Old Style', 'Palatino Linotype', 'Book Antiqua', Palatino,
    'Hoefler Text', Georgia, 'Times New Roman', serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius: 16px;
  --radius-lg: 24px;
  --wrap: 1160px;
  --shadow-sm: 0 1px 2px rgba(20, 26, 25, 0.04), 0 4px 16px rgba(20, 26, 25, 0.045);
  --shadow-md: 0 2px 4px rgba(20, 26, 25, 0.04), 0 12px 40px rgba(20, 26, 25, 0.07);
}

* { box-sizing: border-box; }

/* The form success state hides inputs with the hidden attribute, and several of
   them carry an author display rule that would otherwise win. */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Display type is the load-bearing part of the look: large, serif, tightly
   tracked, and lighter in weight than the body sans. */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.022em;
  line-height: 1.1;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { max-width: 100%; }

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

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--deep);
  color: #ffffff;
  padding: 10px 16px;
  border-radius: 9px;
  font-weight: 700;
  z-index: 200;
}
.skip-link:focus { left: 16px; color: #ffffff; }

.wrap { width: min(var(--wrap), 100% - 40px); margin: 0 auto; }
.wrap-narrow { width: min(720px, 100% - 40px); }
.wrap-mid { width: min(920px, 100% - 40px); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 52px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 600 16px/1 var(--sans);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn svg { width: 17px; height: 17px; }

.btn-primary { background: var(--deep); color: #ffffff; }
.btn-primary:hover { background: var(--deep-dark); color: #ffffff; }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--panel); border-color: var(--deep); color: var(--ink); }

.btn-light { background: var(--teal); color: #10302c; }
.btn-light:hover { background: #6fd4c8; color: #10302c; }

.btn-sm { height: 42px; padding: 0 20px; font-size: 15px; }

/* A link that reads as an action without being a button. */
.textlink {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  font-size: 16px;
  color: var(--deep);
  text-decoration: none;
}
.textlink:hover { color: var(--deep-dark); text-decoration: underline; }
.textlink svg { width: 15px; height: 15px; }

/* ---------- Header ---------- */

/* A floating pill that stays with the reader. Sticky rather than fixed so it
   never overlaps the first screen of content on short viewports. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 14px 0;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 9px 9px 20px;
  box-shadow: var(--shadow-sm);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 700 19px var(--sans);
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  height: 28px;
  width: 28px;
  min-width: 28px;
  background: var(--teal);
  border-radius: 9px;
  display: grid;
  place-items: center;
  transform: rotate(-5deg);
}
.brand-mark > span {
  width: 12px;
  height: 15px;
  border: 2px solid #1d413d;
  border-width: 0 3px 3px 0;
  transform: rotate(42deg) skew(-8deg);
  margin-top: -4px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 14px;
}
.site-nav a {
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
}
.site-nav a:hover { background: var(--soft); color: var(--ink); }
.site-nav a[aria-current='page'] { color: var(--deep); font-weight: 600; }

.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }

/* Mobile menu is a <details> disclosure so it needs no script at all. */
.nav-toggle { display: none; margin-left: auto; }
.nav-toggle > summary {
  list-style: none;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  cursor: pointer;
}
.nav-toggle > summary::-webkit-details-marker { display: none; }
.nav-toggle > summary svg { width: 19px; height: 19px; }
.nav-toggle .bar-close, .nav-toggle[open] .bar-open { display: none; }
.nav-toggle[open] .bar-close { display: block; }

.nav-drawer {
  position: absolute;
  left: 20px;
  right: 20px;
  margin-top: 12px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 10px;
  display: grid;
  gap: 2px;
}
/* :not(.btn) throughout: the drawer's call to action is a .btn, and these rules
   are more specific than .btn-primary, so without it the label would be painted
   in the nav-link colour on the button's dark ground. */
.nav-drawer a:not(.btn) {
  padding: 13px 14px;
  border-radius: 11px;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
}
.nav-drawer a:not(.btn):hover { background: var(--soft); }
.nav-drawer a:not(.btn)[aria-current='page'] { color: var(--deep); font-weight: 600; }
.nav-drawer .btn { margin-top: 8px; width: 100%; }

/* ---------- Status strip ---------- */

.status-strip {
  display: flex;
  justify-content: center;
  padding: 22px 20px 0;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal-wash);
  color: #1f4f49;
  border: 1px solid #c8e6e0;
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 13.5px;
  font-weight: 600;
}
.status-pill > i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--deep);
  animation: pulse 2.4s ease-in-out infinite;
}

/* ---------- Section furniture ---------- */

.section { padding: 92px 0; }
.section-sm { padding: 64px 0; }
.section-soft { background: var(--soft); }
.section-panel { background: var(--panel); }

.eyebrow {
  display: block;
  font: 600 13px var(--sans);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--deep);
  margin-bottom: 16px;
}

.section-head { max-width: 44rem; }
.section-head.centered { margin-inline: auto; text-align: center; }

h1 { font-size: clamp(42px, 6vw, 74px); letter-spacing: -0.035em; }
h2 { font-size: clamp(32px, 4.2vw, 50px); letter-spacing: -0.03em; }
h3 { font-size: clamp(22px, 2.4vw, 28px); }

.lede {
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.6;
  color: var(--muted);
  max-width: 40rem;
  margin-top: 20px;
}
.centered .lede { margin-inline: auto; }

.prose { color: var(--muted); font-size: 17px; line-height: 1.7; }
.prose > * + * { margin-top: 18px; }

.fine { font-size: 14px; color: var(--muted-soft); line-height: 1.65; }

/* ---------- Hero ---------- */

.hero { padding: 40px 0 84px; }
.hero-inner { text-align: center; }
.hero-inner .lede { margin-inline: auto; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 34px;
}
.hero-note { margin-top: 18px; }

.page-hero { padding: 56px 0 24px; }
.page-hero h1 { font-size: clamp(38px, 5.2vw, 62px); }

/* ---------- Product mockups ----------
   Every figure on this site is drawn in markup from synthetic values. There is
   no screenshot of a real household's data anywhere, and the terms page says
   so. Numbers are illustrative and deliberately unremarkable. */

.mock {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 20px;
  font-size: 14px;
}
.mock-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}
.mock-head strong { font: 600 14px var(--sans); }
.mock-head .mock-tag {
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--deep);
  background: var(--teal-wash);
  border-radius: 999px;
  padding: 4px 10px;
}

.hero-figure {
  margin: 56px auto 0;
  max-width: 940px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  text-align: left;
}

/* Envelope / budget rows. */
.env { display: grid; gap: 14px; }
.env-row { display: grid; gap: 7px; }
.env-top { display: flex; align-items: baseline; gap: 10px; font-size: 14px; }
.env-top span { font-weight: 600; }
.env-top b { margin-left: auto; font: 600 14px var(--sans); }
.env-top em { font-style: normal; color: var(--muted-soft); font-size: 13px; }
.env-bar { height: 8px; border-radius: 999px; background: var(--soft); overflow: hidden; }
.env-bar > i { display: block; height: 100%; border-radius: 999px; background: var(--deep); }
.env-bar.is-accent > i { background: var(--teal); }

/* Receipt-to-transaction match. */
.match { display: grid; gap: 0; }
.match-side {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
}
.match-side > div { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.match-side strong { font: 600 14px var(--sans); }
.match-side span { font-size: 12px; color: var(--muted); margin-top: 2px; }
.match-side b { font: 600 15px var(--sans); }

.match-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
}
.match-icon svg { width: 19px; height: 19px; }
.match-icon.receipt { background: #cdeae5; color: #1f4a45; }
.match-icon.bank { background: #dbe4ea; color: #38505f; }

.match-link { display: flex; align-items: center; gap: 10px; padding: 9px 2px; }
.match-link i { flex: 1; height: 1px; background: var(--line-strong); }
.match-link span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 4px 11px;
  background: var(--teal-wash);
  color: #1f4f49;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.match-link svg { width: 13px; height: 13px; }

.reasons { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.reasons span {
  font-size: 11.5px;
  font-weight: 600;
  color: #1f4f49;
  background: var(--teal-wash);
  border-radius: 999px;
  padding: 5px 10px;
}

/* Receipt line items. */
.lines { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.lines-head {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted-soft);
  margin-bottom: 8px;
}
.line {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.line:last-child { border-bottom: 0; }
.line span { flex: 1; color: var(--ink-soft); }
.line b { font: 600 14px var(--sans); }
.line em {
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
  padding: 4px 8px;
  background: var(--teal-wash);
  color: #1f4f49;
  white-space: nowrap;
}
.line em.flag { background: #fbe9dd; color: #7d4321; }

/* Price history across shops. */
.price-rows { display: grid; gap: 10px; }
.price-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 14px;
}
.price-row.is-best { border-color: var(--teal); background: var(--teal-wash); }
.price-row span { flex: 1; }
.price-row b { font: 600 14px var(--sans); }
.price-row em {
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #1f4f49;
}

/* A value the extractor is not sure about, shown the way the product shows it. */
.uncertain {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px dashed #d8a982;
  background: #fdf4ed;
  border-radius: 12px;
  font-size: 13.5px;
  color: #6f3d1c;
}
.uncertain svg { width: 17px; height: 17px; min-width: 17px; }

/* ---------- Feature rows ---------- */

.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 64px;
  align-items: center;
}
.feature-row + .feature-row { margin-top: 108px; }
.feature-row.flip .feature-copy { order: 2; }
.feature-copy h3 { font-size: clamp(28px, 3.2vw, 38px); letter-spacing: -0.028em; }
.feature-copy .prose { margin-top: 18px; }
.feature-copy .textlink { margin-top: 22px; }

.checks { margin-top: 22px; display: grid; gap: 11px; }
.checks li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.55;
}
.checks svg { width: 19px; height: 19px; min-width: 19px; margin-top: 2px; color: var(--deep); }

/* ---------- Cards ---------- */

.grid { display: grid; gap: 20px; margin-top: 48px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.card h3 { font-size: 21px; margin-bottom: 12px; }
.card p { font-size: 15.5px; color: var(--muted); line-height: 1.62; }
.card .eyebrow { margin-bottom: 12px; }

.card-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: var(--teal-wash);
  color: var(--deep-dark);
  margin-bottom: 20px;
}
.card-icon svg { width: 22px; height: 22px; }

/* Numbered steps. */
.step-num {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--deep);
  color: #ffffff;
  font: 600 16px var(--sans);
  margin-bottom: 20px;
}

/* ---------- Dark band ---------- */

.band-dark {
  background: var(--deep-dark);
  color: #dfeae8;
}
.band-dark h1, .band-dark h2, .band-dark h3 { color: #ffffff; }
.band-dark .eyebrow { color: var(--teal); }
.band-dark .lede, .band-dark .prose, .band-dark p { color: #b3c7c4; }
.band-dark .fine { color: #93aaa7; }
/* Buttons carry their own foreground, so the reversed link colour must not
   reach them: .btn-light on --teal would otherwise render teal-on-teal. */
.band-dark a:not(.btn) { color: var(--teal); }
.band-dark .btn-ghost { border-color: rgba(174, 222, 216, 0.32); color: #dfeae8; }
.band-dark .btn-ghost:hover { background: rgba(174, 222, 216, 0.12); border-color: var(--teal); color: #ffffff; }
.band-dark .card {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(174, 222, 216, 0.16);
}
.band-dark .card p { color: #b3c7c4; }
.band-dark .card-icon { background: rgba(174, 222, 216, 0.14); color: var(--teal); }
.band-dark .checks li { color: #cfdedc; }
.band-dark .checks svg { color: var(--teal); }
.band-dark .step-num { background: var(--teal); color: #10302c; }

/* ---------- Pricing ---------- */

.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 48px; }

.plan {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
}
.plan.is-featured { border-color: var(--deep); box-shadow: var(--shadow-md); }
.plan-name { display: flex; align-items: center; gap: 10px; }
.plan-name h3 { font-size: 26px; }
.plan-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1f4f49;
  background: var(--teal-wash);
  border-radius: 999px;
  padding: 5px 11px;
}
.plan-seat { margin-top: 10px; font-size: 15.5px; color: var(--muted); }

/* No figure is shown. This is the placeholder that says so, and it is the
   reason the page passes the OB-0/G0-1 pricing gate. */
.plan-price {
  margin: 22px 0;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--soft);
  border: 1px solid var(--line);
}
.plan-price strong { display: block; font: 600 17px var(--sans); }
.plan-price span { display: block; margin-top: 6px; font-size: 14px; color: var(--muted); }

.plan .checks { margin-top: 4px; flex: 1; }
.plan .btn { margin-top: 26px; }

/* ---------- Waitlist form ---------- */

.waitlist-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 56px;
  align-items: start;
}

.waitlist {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  scroll-margin-top: 96px;
}

.waitlist-heading { font-size: 26px; }
.waitlist-sub { font-size: 14.5px; color: var(--muted); margin-top: 8px; line-height: 1.6; }

.field { margin-top: 20px; }

/* First name and surname sit side by side on one line, and stack below the
   narrow breakpoint where two 48px controls stop being comfortable. */
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.field label,
.field-cell label,
.consent label {
  display: block;
  font: 600 14px var(--sans);
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.optional { font-weight: 400; color: var(--muted-soft); }

.field input,
.field select,
.field textarea {
  width: 100%;
  height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 0 14px;
  font: 400 16px var(--sans);
  background: var(--panel);
  color: var(--ink);
}
.field textarea {
  height: auto;
  min-height: 96px;
  padding: 12px 14px;
  line-height: 1.55;
  resize: vertical;
}
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: #9fc6c2; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--deep);
  outline: 3px solid rgba(1, 80, 72, 0.2);
  outline-offset: 1px;
}
.field input[aria-invalid='true'],
.field textarea[aria-invalid='true'] { border-color: #b8663f; }

.field-help { font-size: 13px; color: var(--muted); margin-top: 8px; line-height: 1.55; }

/* Spam trap: removed from the layout and from assistive technology. */
.trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.consent { display: flex; align-items: flex-start; gap: 11px; margin-top: 24px; }
.consent input {
  width: 20px;
  height: 20px;
  min-width: 20px;
  margin-top: 2px;
  accent-color: var(--deep);
}
.consent label { margin: 0; font-weight: 400; font-size: 14px; line-height: 1.55; color: var(--muted); }

.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 54px;
  margin-top: 24px;
  border: 0;
  border-radius: 999px;
  background: var(--deep);
  color: #ffffff;
  font: 600 16px var(--sans);
  cursor: pointer;
}
.primary:hover { background: var(--deep-dark); }
.primary[disabled] { opacity: 0.6; cursor: progress; }

.form-status { font-size: 15px; font-weight: 600; margin-top: 16px; line-height: 1.55; }
.form-status:empty { margin-top: 0; }
.form-status[data-state='ok'] { color: #226a61; }
.form-status[data-state='error'] { color: #97452c; }

.form-note { font-size: 13px; color: var(--muted-soft); margin-top: 18px; line-height: 1.6; }

/* ---------- FAQ ---------- */

.faq { margin-top: 40px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 0;
  font: 500 19px var(--sans);
  color: var(--ink);
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary:hover { color: var(--deep); }
.faq-sign {
  margin-left: auto;
  min-width: 22px;
  height: 22px;
  position: relative;
  margin-top: 3px;
}
.faq-sign::before, .faq-sign::after {
  content: '';
  position: absolute;
  background: var(--deep);
  border-radius: 2px;
  inset: 50% 0 auto 0;
  height: 2px;
  transform: translateY(-50%);
}
.faq-sign::after { transform: translateY(-50%) rotate(90deg); transition: transform 0.18s ease; }
.faq-item[open] .faq-sign::after { transform: translateY(-50%) rotate(0deg); }
.faq-answer { padding: 0 46px 26px 0; }

/* ---------- Closing call to action ---------- */

.cta { text-align: center; }
.cta h2 { max-width: 22ch; margin-inline: auto; }
.cta .lede { margin-inline: auto; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 34px; }

/* ---------- Footer ---------- */

.site-footer { background: var(--panel); border-top: 1px solid var(--line); padding: 64px 0 40px; }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
}
.footer-grid h4 {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-soft);
  margin-bottom: 16px;
}
.footer-grid ul { display: grid; gap: 11px; }
.footer-grid ul a { font-size: 15.5px; color: var(--ink-soft); text-decoration: none; }
.footer-grid ul a:hover { color: var(--deep); text-decoration: underline; }
.footer-brand .fine { margin-top: 14px; max-width: 30ch; }

.footer-legal {
  margin-top: 48px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.footer-legal p + p { margin-top: 10px; }

/* ---------- Legal pages ---------- */

.legal-main { width: min(720px, 100% - 40px); margin: 0 auto; padding: 56px 0 96px; }
.legal-main h1 { font-size: clamp(38px, 5.5vw, 60px); }
.legal-main .legal-updated { color: var(--muted-soft); margin: 16px 0 40px; font-size: 15px; }
.legal-main h2 { font-size: 27px; line-height: 1.25; margin: 44px 0 14px; }
.legal-main p, .legal-main li { color: var(--muted); font-size: 16.5px; line-height: 1.7; }
.legal-main p + p { margin-top: 14px; }
.legal-main ul { list-style: disc; padding-left: 22px; margin-top: 12px; }
.legal-main li + li { margin-top: 9px; }
.legal-callout {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

/* ---------- Motion and responsive ---------- */

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .status-pill > i { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

@media (max-width: 1040px) {
  .site-nav, .header-actions { display: none; }
  .nav-toggle { display: block; }
  .feature-row { grid-template-columns: 1fr; gap: 36px; }
  .feature-row.flip .feature-copy { order: 0; }
  .feature-row + .feature-row { margin-top: 72px; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .waitlist-layout { grid-template-columns: 1fr; gap: 40px; }
  .hero-figure { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .section-sm { padding: 48px 0; }
  .hero { padding: 24px 0 56px; }
  .grid-2, .grid-3, .grid-4, .plans { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .waitlist { padding: 22px; }
  .field-row { grid-template-columns: 1fr; gap: 20px; }
  .card { padding: 24px; }
  .plan { padding: 26px; }
  .faq-item > summary { font-size: 17px; padding: 20px 0; }
  .faq-answer { padding-right: 0; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
}
