/* Public landing (#267) — "the sentence is the layout".
   Self-contained: brand colours mapped onto page roles, one text face (Plus
   Jakarta Sans) plus the wordmark's serif, five type steps, square corners,
   no rules or shadows. Theme follows the app's .theme-light / .theme-dark. */

.lp {
  --lp-ground: oklch(98.4% 0.002 240);
  --lp-tone: oklch(95% 0.012 220);
  --lp-ink: oklch(22% 0.02 240);
  --lp-muted: oklch(40% 0.02 240);
  /* The brand's cyan (#01BAEF) fills the action and the fields; it carries
     dark ink, never white (white on it is 2.4:1). As text on the paper the
     deeper brand-800 is used instead. */
  --lp-accent: oklch(70% 0.16 220);
  --lp-accent-hover: oklch(76% 0.14 220);
  --lp-on-accent: oklch(18% 0.03 240);
  --lp-accent-ink: oklch(46% 0.14 222);
  /* Fields (hero, contact, footer) are the deep brand blue with light ink,
     in both themes; the cyan stays for actions and the mark. */
  --lp-field: oklch(32% 0.09 230);
  --lp-on-field: oklch(97% 0.003 240);
  --lp-leaf: oklch(38% 0.085 158);           /* "Cómo funciona" chapter */
  --lp-on-leaf: #fff;
  --lp-inverse: oklch(18% 0.02 240);
  --lp-on-inverse: oklch(97% 0.003 240);
  --lp-on-inverse-muted: oklch(82% 0.01 240);
  --lp-ui: #fff;                             /* product fragments */
  --lp-ui-ink: oklch(22% 0.02 240);
  --lp-ui-muted: oklch(42% 0.02 240);
  --lp-ui-line: oklch(88% 0.01 240);

  --lp-fs-1: clamp(46px, 6.8vw, 112px);
  --lp-fs-2: clamp(32px, 5vw, 76px);
  --lp-fs-3: clamp(22px, 2.4vw, 32px);
  --lp-fs-4: 18px;
  --lp-fs-5: 15px;
  --lp-margin: clamp(16px, 2.6vw, 40px);
  --lp-gap: clamp(112px, 13vw, 200px);
  --lp-ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  margin: 0;
  background: var(--lp-ground);
  color: var(--lp-ink);
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: var(--lp-fs-4);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.theme-dark .lp {
  --lp-ground: oklch(14% 0.012 240);
  --lp-tone: oklch(19% 0.016 230);
  --lp-ink: oklch(96% 0.003 240);
  --lp-muted: oklch(80% 0.01 240);
  --lp-accent: oklch(72% 0.15 220);
  --lp-accent-hover: oklch(78% 0.13 220);
  --lp-on-accent: oklch(14% 0.012 240);
  --lp-accent-ink: oklch(80% 0.12 220);
  --lp-leaf: oklch(30% 0.07 158);
  --lp-on-leaf: oklch(97% 0.003 240);
  --lp-inverse: oklch(94% 0.01 220);
  --lp-on-inverse: oklch(18% 0.02 240);
  --lp-on-inverse-muted: oklch(34% 0.02 240);
  --lp-ui: oklch(21% 0.014 240);
  --lp-ui-ink: oklch(96% 0.003 240);
  --lp-ui-muted: oklch(80% 0.01 240);
  --lp-ui-line: oklch(32% 0.014 240);
}

.lp *, .lp *::before, .lp *::after { box-sizing: border-box; }
.lp img { display: block; max-width: 100%; }
.lp a { color: inherit; }
.lp :focus-visible { outline: 3px solid var(--lp-accent-ink); outline-offset: 3px; }
.lp [data-ink="field"] :focus-visible, .lp-coupon :focus-visible { outline-color: var(--lp-on-field); }
.lp ::selection { background: var(--lp-accent); color: var(--lp-on-accent); }

.lp-visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.lp a.lp-skip { position: absolute; left: -9999px; top: 0; z-index: 100; padding: 12px 16px; background: var(--lp-accent); color: var(--lp-on-accent); }
.lp a.lp-skip:focus { left: var(--lp-margin); }

/* ── Buttons & links ───────────────────────────────────────────── */
.lp .lp-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px;
  background: var(--lp-accent); color: var(--lp-on-accent);
  font-weight: 700; font-size: var(--lp-fs-5); line-height: 1; font-family: inherit; text-decoration: none;
  border: 0; border-radius: 0; cursor: pointer;
  transition: background-color 160ms var(--lp-ease), transform 160ms var(--lp-ease);
}
.lp .lp-btn:hover { background: var(--lp-accent-hover); text-decoration: none; }
.lp .lp-btn:active { transform: translateY(1px) scale(0.98); }
.lp-link-paper, .lp-text-link {
  font-weight: 700; text-decoration: underline; text-underline-offset: 0.25em; text-decoration-thickness: 2px;
  transition: text-underline-offset 160ms var(--lp-ease);
}
.lp-link-paper:hover, .lp-text-link:hover { text-underline-offset: 0.4em; }

/* ── Navigation: a plain bar that takes the ink of the chapter under it ── */
.lp-nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  height: 64px; padding: 0 var(--lp-margin);
  background: var(--lp-nav-bg, var(--lp-ground)); color: var(--lp-nav-ink, var(--lp-ink));
  transition: background-color 300ms var(--lp-ease), color 300ms var(--lp-ease);
}
.lp-nav[data-ink="tone"] { --lp-nav-bg: var(--lp-tone); }
.lp-nav[data-ink="leaf"] { --lp-nav-bg: var(--lp-leaf); --lp-nav-ink: var(--lp-on-leaf); }
.lp-nav[data-ink="field"] { --lp-nav-bg: var(--lp-field); --lp-nav-ink: var(--lp-on-field); }
.lp-nav[data-ink="inverse"] { --lp-nav-bg: var(--lp-inverse); --lp-nav-ink: var(--lp-on-inverse); }
.lp-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.lp-brand span { font-family: "Instrument Serif", Georgia, serif; font-size: var(--lp-fs-3); line-height: 1; }
.lp-nav-links { display: flex; gap: 24px; margin-left: auto; }
.lp-nav-links a, .lp-nav-login { font-size: var(--lp-fs-5); font-weight: 500; text-decoration: none; }
.lp-nav-links a:hover, .lp-nav-login:hover { text-decoration: underline; text-underline-offset: 0.3em; }
.lp-nav-end { display: flex; align-items: center; gap: 20px; white-space: nowrap; }
.lp-theme {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  padding: 0; background: none; border: 0; color: inherit; cursor: pointer;
  transition: transform 160ms var(--lp-ease), opacity 160ms var(--lp-ease);
}
.lp-theme:hover { opacity: 0.75; }
.lp-theme:active { transform: scale(0.92); }
.lp-icon-sun { display: none; }
.theme-dark .lp-icon-sun { display: block; }
.theme-dark .lp-icon-moon { display: none; }

/* ── Hero: the claim on the blue field, the product beside it ─── */
.lp-hero {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px var(--lp-margin);
  align-items: center; min-height: 100svh; padding: 112px var(--lp-margin) 72px;
  background: var(--lp-field); color: var(--lp-on-field);
}
.lp-hero-copy { grid-column: 1 / span 7; min-width: 0; }
.lp-hero-title {
  margin: 0 0 32px; font-size: var(--lp-fs-1); font-weight: 800; line-height: 0.95; letter-spacing: -0.045em;
}
.lp-hero-sub { max-width: 46ch; margin: 0 0 32px; font-size: var(--lp-fs-4); line-height: 1.55; }
.lp-hero-actions { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
.lp .lp-btn-ink { background: var(--lp-on-field); color: var(--lp-field); }
.lp .lp-nav[data-ink="field"] .lp-btn { background: var(--lp-on-field); color: var(--lp-field); }
/* The mark is drawn inline so its colours are tokens: cyan squares, light
   squares, legible on the paper and on the deep-blue fields. */
.lp-mark { flex: none; }
.lp-mark-a { fill: var(--lp-accent); }
.lp-mark-b { fill: oklch(99% 0.004 270); }
.lp .lp-btn-ink:hover { background: var(--lp-on-field); opacity: 0.86; }

/* The product's own requirement list (data-ui keeps its row lines). */
.lp-board {
  grid-column: 8 / span 5; margin: 0; padding: 28px;
  background: var(--lp-ui); color: var(--lp-ui-ink);
}
.lp-board-head { display: grid; gap: 2px; margin-bottom: 16px; }
.lp-board-company { font-size: var(--lp-fs-4); font-weight: 800; }
.lp-board-std { font-size: var(--lp-fs-5); color: var(--lp-ui-muted); }
.lp-board-rows { margin: 0; padding: 0; list-style: none; }
.lp-board-rows li {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 12px 0; border-top: 1px solid var(--lp-ui-line); /* taste-skill-ignore */
}
.lp-board-req { font-size: var(--lp-fs-5); }
.lp-status {
  flex: none; padding: 4px 10px; font-size: var(--lp-fs-5); font-weight: 700;
  transition: background-color 240ms var(--lp-ease), color 240ms var(--lp-ease);
}
/* The board plays its evidence arriving once (landing.js). */
.lp-status.is-new { animation: lp-pop 320ms var(--lp-ease); }
@keyframes lp-pop { from { transform: scale(0.86); opacity: 0.4; } to { transform: none; opacity: 1; } }
.lp-status-compliant { background: oklch(92% 0.07 158); color: oklch(32% 0.08 158); }
.lp-status-partial { background: oklch(93% 0.08 85); color: oklch(38% 0.08 70); }
.lp-status-pending { background: var(--lp-tone); color: var(--lp-ui-muted); }
.theme-dark .lp-status-compliant { background: oklch(32% 0.07 158); color: oklch(90% 0.07 158); }
.theme-dark .lp-status-partial { background: oklch(34% 0.07 80); color: oklch(92% 0.08 85); }
.lp-board-foot { margin: 16px 0 0; font-size: var(--lp-fs-5); color: var(--lp-ui-muted); }
.lp-board-foot strong { color: var(--lp-ui-ink); }

/* ── Intro statement ────────────────────────────────────────────── */
.lp-intro { padding: var(--lp-gap) var(--lp-margin); }
.lp-statement {
  max-width: 40ch; margin: 0 auto; font-size: var(--lp-fs-3); font-weight: 700; line-height: 1.25;
  letter-spacing: -0.02em; text-align: center;
}

/* ── Calculator: the headline you can type ──────────────────────── */
.lp-calc { background: var(--lp-tone); padding: var(--lp-gap) var(--lp-margin); scroll-margin-top: 64px; }
.lp-calc-form { max-width: 1280px; margin: 0 auto; }
.lp-calc-title { margin: 0 0 8px; font-size: var(--lp-fs-3); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.lp-calc-line { display: flex; align-items: baseline; gap: 0.25em; font-size: var(--lp-fs-1); line-height: 1; }
.lp-calc-qty {
  flex: 0 1 auto; width: 6.2ch; min-width: 2ch; padding: 0; border: 0; background: none;
  color: var(--lp-ink); font-weight: 800; font-size: 1em; line-height: 1; font-family: inherit; letter-spacing: -0.045em;
  caret-color: var(--lp-accent-ink); caret-shape: block;
}
.lp-calc-qty:focus-visible { outline: 3px solid var(--lp-accent-ink); outline-offset: 0.08em; }
.lp-calc-unit { font-weight: 800; letter-spacing: -0.045em; color: var(--lp-muted); }
.lp-calc-sources { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; border: 0; }
.lp-calc-sources legend { float: left; width: 100%; margin-bottom: 12px; font-size: var(--lp-fs-5); font-weight: 700; }
.lp-chip { position: relative; }
.lp-chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.lp-chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
  background: var(--lp-ground); color: var(--lp-ink); font-size: var(--lp-fs-5); font-weight: 500;
  transition: background-color 160ms var(--lp-ease), color 160ms var(--lp-ease), transform 160ms var(--lp-ease);
}
.lp-chip:hover span { background: oklch(92% 0.05 220); }
.theme-dark .lp-chip:hover span { background: oklch(28% 0.06 220); }
.lp-chip input:checked + span { background: var(--lp-ink); color: var(--lp-ground); }
.lp-chip input:focus-visible + span { outline: 3px solid var(--lp-accent-ink); outline-offset: 2px; }
.lp-chip:active span { transform: scale(0.97); }
.lp-calc-month { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 20px; }
.lp-calc-month label { font-size: var(--lp-fs-5); font-weight: 700; }
.lp-calc-month input {
  min-height: 48px; padding: 0 14px; border: 2px solid var(--lp-ui-line); border-radius: 0;
  background: var(--lp-ground); color: var(--lp-ink); font-weight: 500; font-size: var(--lp-fs-4); font-family: inherit;
}
.lp-js .lp-calc-month .lp-btn { display: none; }

.lp-calc-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: 48px var(--lp-margin); align-items: start; margin-top: 36px; }
.lp-calc-sources { margin-top: 0; }
.lp-answer {
  margin: 0; padding: 28px 28px 24px;
  background: var(--lp-ui); color: var(--lp-ui-ink);
}
.lp-answer-error { margin: 0 0 12px; font-weight: 700; color: oklch(48% 0.17 28); }
.theme-dark .lp-answer-error { color: oklch(78% 0.13 28); }
.lp-answer-kind { margin: 0; font-size: var(--lp-fs-5); color: var(--lp-ui-muted); }
.lp-answer-total {
  margin: 4px 0 16px; font-size: var(--lp-fs-2); font-weight: 800; line-height: 1.05; letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
}
#calc-kg { white-space: nowrap; }
.lp-answer-unit { font-size: var(--lp-fs-3); letter-spacing: -0.02em; }
.lp-answer-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; margin: 0; }
.lp-answer-facts dt { font-size: var(--lp-fs-5); color: var(--lp-ui-muted); }
.lp-answer-facts dd { margin: 0; font-size: var(--lp-fs-4); font-weight: 500; font-variant-numeric: tabular-nums; }
.lp-answer-note { margin: 20px 0 0; font-size: var(--lp-fs-5); color: var(--lp-ui-muted); }
.lp-answer.is-busy .lp-answer-total { opacity: 0.55; }
.lp-answer-total { transition: opacity 160ms var(--lp-ease); }

/* ── Features: title left, explanation right, all visible ────── */
.lp-features { padding: var(--lp-gap) var(--lp-margin) 0; scroll-margin-top: 64px; }
.lp-feature-list { margin: 64px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.lp-feature {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 12px var(--lp-margin);
  padding: 28px 24px; background: var(--lp-tone);
}
.lp-feature-title { grid-column: 1 / span 5; margin: 0; font-size: var(--lp-fs-3); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
.lp-feature p { grid-column: 7 / span 6; margin: 0; max-width: 56ch; }

/* ── Standards: statement left, its requirements right ─────────── */
.lp-standards { padding: var(--lp-gap) var(--lp-margin) 0; scroll-margin-top: 64px; }
.lp-std {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px var(--lp-margin);
  align-items: start; margin-top: 64px; padding: 48px 0 0;
}
.lp-std + .lp-std { margin-top: 96px; }
.lp-std-copy { grid-column: 1 / span 6; }
.lp-std-name { margin: 0 0 16px; font-size: var(--lp-fs-3); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; max-width: 22ch; }
.lp-std-copy p { max-width: 52ch; margin: 0 0 16px; }
.lp-std-reqs { grid-column: 8 / span 5; margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.lp-std-reqs li { padding: 14px 18px; background: var(--lp-tone); font-size: var(--lp-fs-4); font-weight: 500; }
.lp-std-next { max-width: 52ch; margin: 96px 0 0; font-size: var(--lp-fs-4); color: var(--lp-muted); }

/* ── How it works: drag through the stages ──────────────────────── */
.lp-how {
  margin-top: var(--lp-gap); background: var(--lp-leaf); color: var(--lp-on-leaf);
  padding: 96px var(--lp-margin); scroll-margin-top: 64px;
}
.lp-stages { display: grid; }
.lp-stage { display: grid; grid-template-columns: 1fr 1fr; gap: 32px var(--lp-margin); align-items: center; }
.lp-js .lp-stage { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity 200ms var(--lp-ease), visibility 0s 200ms; }
.lp-js .lp-stage.is-active { opacity: 1; visibility: visible; transition: opacity 200ms var(--lp-ease); }
.lp-stage + .lp-stage { margin-top: 64px; }
.lp-js .lp-stage + .lp-stage { margin-top: 0; }
.lp-stage-clause {
  align-self: start; max-width: 12ch; margin: 0; font-size: var(--lp-fs-2); font-weight: 800;
  line-height: 1.02; letter-spacing: -0.035em;
}
.lp-frag {
  justify-self: center; width: min(100%, 440px); padding: 24px;
  background: var(--lp-ui); color: var(--lp-ui-ink);
}
.lp-frag-head { margin: 0 0 16px; font-size: var(--lp-fs-5); font-weight: 700; }
.lp-frag-rows { margin: 0; }
/* The fragment's own table rows (data-ui). taste-skill-ignore */
.lp-frag-rows div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--lp-ui-line); } /* taste-skill-ignore */
.lp-frag-rows dt { color: var(--lp-ui-muted); font-size: var(--lp-fs-5); }
.lp-frag-rows dd { margin: 0; font-size: var(--lp-fs-5); text-align: right; font-variant-numeric: tabular-nums; }
.lp-frag-btn {
  display: inline-flex; align-items: center; min-height: 40px; margin: 16px 8px 0 0; padding: 0 16px;
  background: var(--lp-accent); color: var(--lp-on-accent); font-size: var(--lp-fs-5); font-weight: 700;
}
.lp-frag-btn-alt { background: var(--lp-tone); color: var(--lp-ui-ink); }
.lp-frag-tag { display: inline-block; margin-top: 16px; padding: 6px 10px; background: oklch(93% 0.08 85); color: oklch(38% 0.08 70); font-size: var(--lp-fs-5); }
.lp-stage-tabs { display: none; flex-wrap: wrap; gap: 8px; margin-bottom: 48px; }
.lp-js .lp-stage-tabs { display: flex; }
.lp-stage-tab {
  min-height: 48px; padding: 0 22px; border: 0; border-radius: 0; cursor: pointer;
  background: oklch(100% 0 0 / 0.14); color: var(--lp-on-leaf);
  font-family: inherit; font-size: var(--lp-fs-4); font-weight: 700;
  transition: background-color 160ms var(--lp-ease), transform 160ms var(--lp-ease);
}
.lp-stage-tab:hover { background: oklch(100% 0 0 / 0.26); }
.lp-stage-tab:active { transform: scale(0.97); }
.lp-stage-tab.is-active { background: var(--lp-on-leaf); color: var(--lp-leaf); }

/* ── AI assistant ───────────────────────────────────────────────── */
.lp-ai {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px var(--lp-margin);
  align-items: center; padding: var(--lp-gap) var(--lp-margin); scroll-margin-top: 64px;
}
.lp-ai-copy { grid-column: 1 / span 6; }
.lp-h2 { margin: 0 0 24px; font-size: var(--lp-fs-2); font-weight: 800; line-height: 1.02; letter-spacing: -0.035em; max-width: 14ch; }
.lp-ai-copy p { max-width: 58ch; margin: 0 0 16px; }
.lp-ai-url a { font-weight: 700; }
.lp-chat { grid-column: 8 / span 5; display: grid; gap: 16px; padding: 24px; background: var(--lp-tone); }
.lp-chat-msg { margin: 0; padding: 16px 18px; font-size: var(--lp-fs-5); line-height: 1.5; }
.lp-chat-msg span { display: block; margin-bottom: 4px; font-weight: 700; }
.lp-chat-msg em { display: inline-block; margin-top: 10px; padding: 6px 10px; background: var(--lp-tone); font-style: normal; }
.lp-chat-you { justify-self: end; max-width: 88%; background: var(--lp-ui); color: var(--lp-ui-ink); }
.lp-chat-ai { max-width: 92%; background: var(--lp-ground); color: var(--lp-ink); }

/* ── FAQ: wide heading, indented questions ──────────────────────── */
.lp-faq { padding: 0 var(--lp-margin) var(--lp-gap); scroll-margin-top: 64px; overflow-x: clip; }
.lp-faq-title { margin: 0; font-size: var(--lp-fs-2); font-weight: 800; line-height: 1.02; letter-spacing: -0.035em; }
.lp-faq-list { margin: 80px 0 0 33.333%; display: grid; gap: 12px; }
.lp-q { padding: 12px 24px; margin: 0 -24px; transition: background-color 200ms var(--lp-ease); }
.lp-q[open] { background: var(--lp-tone); }
.lp-q summary {
  display: flex; justify-content: space-between; gap: 24px; align-items: center;
  min-height: 48px; font-size: var(--lp-fs-4); font-weight: 700; cursor: pointer; list-style: none;
}
.lp-q summary::-webkit-details-marker { display: none; }
.lp-q summary::after {
  content: ""; flex: none; width: 12px; height: 12px; margin-right: 4px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  rotate: 45deg; translate: 0 -3px; transition: rotate 200ms var(--lp-ease);
}
.lp-q[open] summary::after { rotate: 225deg; translate: 0 3px; }
.lp-q summary:hover { color: var(--lp-accent-ink); }
.lp-q p { max-width: 58ch; margin: 8px 0 16px; font-size: var(--lp-fs-4); }

/* ── Contact: the coupon ────────────────────────────────────────── */
.lp-contact { padding: 120px var(--lp-margin) 96px; scroll-margin-top: 64px; }
.lp-coupon {
  --notch: 14px;
  position: relative; display: grid; grid-template-columns: 46% 1fr;
  max-width: 1120px; margin: 0 auto; background: var(--lp-field); color: var(--lp-on-field);
}
/* The two notches: discs of the page ground bitten out at the ends of the
   perforation, which is the copy block's dotted edge. */
.lp-coupon-copy::before, .lp-coupon-copy::after {
  content: ""; position: absolute; right: calc(-1 * var(--notch) - 2.5px);
  width: calc(2 * var(--notch)); height: calc(2 * var(--notch)); border-radius: 50%; background: var(--lp-ground);
}
.lp-coupon-copy::before { top: calc(-1 * var(--notch)); }
.lp-coupon-copy::after { bottom: calc(-1 * var(--notch)); }
.lp-coupon-copy {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: 48px;
  border-right: 5px dotted var(--lp-ground);
}
.lp-coupon-title { margin: 0; font-size: var(--lp-fs-3); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; max-width: 12ch; }
.lp-coupon-copy p { margin: 0; font-size: var(--lp-fs-4); max-width: 40ch; }
.lp-coupon-form { padding: 48px; }
.lp-coupon-form form { display: grid; gap: 10px; }
.lp-field {
  width: 100%; min-height: 52px; padding: 14px 16px; border: 0; border-radius: 0;
  background: oklch(100% 0 0 / 0.1); color: var(--lp-on-field); font-weight: 400; font-size: var(--lp-fs-4); line-height: 1.4; font-family: inherit;
}
.lp-field::placeholder { color: var(--lp-on-field); opacity: 0.86; }
.lp-field:focus-visible { outline: 3px solid var(--lp-on-field); outline-offset: 0; }
textarea.lp-field { resize: vertical; }
.lp-submit {
  min-height: 56px; border: 0; border-radius: 0; background: var(--lp-inverse); color: var(--lp-on-inverse);
  font-weight: 700; font-size: var(--lp-fs-4); line-height: 1; font-family: inherit; cursor: pointer;
  transition: transform 160ms var(--lp-ease), opacity 160ms var(--lp-ease);
}
.lp-submit:hover { opacity: 0.9; }
.lp-submit:active { transform: scale(0.99); }
.lp-submit:disabled { opacity: 0.7; cursor: wait; }
.lp-contact-ok p, .lp-contact-err { margin: 0 0 12px; font-size: var(--lp-fs-4); }
.lp-contact-err { font-weight: 700; }

/* ── Close: back to the hero's field, one invitation and the links ─ */
.lp-footer { padding: 72px var(--lp-margin) 40px; background: var(--lp-field); color: var(--lp-on-field); }
.lp-footer-invite { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.lp-footer-line { margin: 0; font-size: var(--lp-fs-2); font-weight: 800; line-height: 1.02; letter-spacing: -0.035em; }
.lp-footer-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin-top: 72px; }
.lp-footer-links { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 0; padding: 0; list-style: none; }
.lp-footer-links a { font-size: var(--lp-fs-4); text-decoration: none; }
.lp-footer-links a:hover { text-decoration: underline; text-underline-offset: 0.3em; }

/* ── Legal pages: one readable column between the bar and the footer ─ */
.lp-legal { padding: 128px var(--lp-margin) 112px; }
.lp-legal-doc { max-width: 68ch; margin: 0 auto; }
.lp-legal-doc h1 { margin: 0 0 16px; font-size: var(--lp-fs-2); font-weight: 800; line-height: 1.02; letter-spacing: -0.035em; }
.lp-legal-doc h2 { margin: 48px 0 12px; font-size: var(--lp-fs-3); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
.lp-legal-doc p, .lp-legal-doc ul { margin: 0 0 16px; }
.lp-legal-doc li { margin-bottom: 8px; }
.lp-legal-doc a { color: var(--lp-accent-ink); text-underline-offset: 0.2em; }
.lp-legal-meta { color: var(--lp-muted); }

/* ── Entrances ──────────────────────────────────────────────────── */
.lp-js [data-rise] { opacity: 0; transform: translateY(24px); transition: opacity 600ms var(--lp-ease), transform 600ms var(--lp-ease); transition-delay: var(--lp-delay, 0ms); }
.lp-js [data-rise].is-in { opacity: 1; transform: none; }

/* ── Tablet & phone ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .lp-calc-body { grid-template-columns: 1fr; }
  .lp-nav-links { display: none; }
  .lp-nav-end { margin-left: auto; }
  .lp-stage { grid-template-columns: 1fr; }
  .lp-ai-copy, .lp-chat, .lp-std-copy, .lp-std-reqs, .lp-hero-copy, .lp-board, .lp-feature-title, .lp-feature p { grid-column: 1 / -1; }
  .lp-hero { padding-top: 96px; }
  .lp-faq-list { margin-left: 0; }
}
@media (max-width: 640px) {
  .lp { --lp-fs-4: 16px; --lp-fs-3: 20px; --lp-fs-2: 32px; --lp-fs-1: 11vw; }
  .lp-nav { gap: 12px; height: 60px; }
  .lp-nav-login { display: none; }
  .lp-nav-end { gap: 12px; }
  .lp-nav-end .lp-btn { min-height: 44px; padding: 0 14px; }
  .lp-statement { text-align: left; max-width: none; }
  .lp-answer { padding: 20px; }
  .lp-calc-body { grid-template-columns: 1fr; }
  .lp-answer-facts { grid-template-columns: 1fr; }
  .lp-how { padding: 64px var(--lp-margin); }
  .lp-stage-tab { flex: 1 1 40%; padding: 0 12px; }
  .lp-q { margin: 0 calc(-1 * var(--lp-margin)); padding: 8px var(--lp-margin); }
  .lp-contact { padding: 96px 12px; }
  .lp-coupon { grid-template-columns: 1fr; }
  .lp-coupon-copy { padding: 32px 24px; border-right: 0; border-bottom: 5px dotted var(--lp-ground); }
  .lp-coupon-copy::before, .lp-coupon-copy::after { top: auto; bottom: calc(-1 * var(--notch) - 2.5px); }
  .lp-coupon-copy::before { left: calc(-1 * var(--notch)); right: auto; }
  .lp-coupon-copy::after { right: calc(-1 * var(--notch)); }
  .lp-coupon-form { padding: 32px 24px; }
  .lp-footer { padding-top: 64px; }
  .lp-footer-bar { margin-top: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  .lp *, .lp *::before, .lp *::after { animation: none !important; transition-duration: 1ms !important; }
  .lp-js [data-rise] { opacity: 1; transform: none; }
}
