/* ─────────────────────────────────────────────────────────────────────────
   KnowStash marketing site (/, /pricing, /help, /terms, /privacy, /refunds)
   — self-contained: these pages load ONLY this sheet.

   Same design language as /app (warm paper, flat, hairlines, brand red used
   sparingly) with one marketing-only addition: a serif display face.
   ───────────────────────────────────────────────────────────────────────── */

/* Fonts (Geist / Inter / Source Serif 4) load via <link> in each page's <head> —
   preconnect + a parallel stylesheet fetch, not an @import request chain. */

:root {
  --bg:        #faf9f5;
  --sidebar:   #f3f1ea;
  --surface:   #ffffff;
  --surface-2: #f6f4ee;
  --ink:       #20201d;
  --ink-soft:  #3f3d38;
  --muted:     #6b6760;
  --muted-2:   #706a62;
  --line:      #e6e2d8;
  --line-soft: #eeeae1;
  --hover:     #efece4;

  --red:     #DC2626;
  --red-700: #B91C1C;
  --red-900: #7F1D1D;

  --blue:        #3f5fa6;
  --blue-bg:     #eef1f8;
  --amber:       #d9910e;
  --amber-ink:   #92580e;
  --amber-bg:    #f7eed5;
  --emerald:     #2f7d56;
  --emerald-bg:  #e8f2ea;
  --emerald-ink: #2c6a49;

  --maxw: 1120px;
  --mono: "Geist Mono", "SF Mono", Menlo, Consolas, monospace;
  --ui: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body.lp {
  font-family: var(--ui);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
p { margin: .5rem 0; }
.muted { color: var(--muted); }
.fine { font-size: .82rem; color: var(--muted-2); }
.mono { font-family: var(--mono); }
.accent { color: var(--red-700); }
/* Inline prose links carry a persistent underline so they're distinguishable from
   body text by more than colour alone (WCAG 1.4.1 — axe link-in-text-block). */
a.accent { text-decoration: underline; }
.hidden { display: none !important; }
/* Visually hidden, but kept in the accessibility tree — for section headings the
   design intentionally doesn't render (keeps the heading outline gap-free). */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.2rem, 4vw, 2.6rem); }
.wrap-narrow { max-width: 780px; margin-inline: auto; padding-inline: clamp(1.2rem, 4vw, 2.6rem); }

/* ── Header ──────────────────────────────────────────────────────────────── */
.lp-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 249, 245, .86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.lp-nav { display: flex; align-items: center; gap: 1.4rem; height: 62px; }
.lp-logo { display: inline-flex; align-items: center; gap: .55rem; margin-right: .4rem; }
.lp-logo img { width: 24px; height: 24px; display: block; }
.lp-logo span { font-family: Geist, var(--ui); font-weight: 600; font-size: 1.16rem; letter-spacing: -0.02em; }
.lp-logo b { color: var(--red-700); font-weight: 700; }
.lp-links { display: flex; align-items: center; gap: 1.15rem; font-size: .92rem; font-weight: 500; color: var(--ink-soft); flex-wrap: wrap; }
.lp-links a:hover { color: var(--ink); }
.lp-links a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.lp-nav .spacer { flex: 1; }
.lp-nav-cta { display: flex; align-items: center; gap: .9rem; }
.lp-signin { font-size: .92rem; font-weight: 500; color: var(--ink-soft); white-space: nowrap; }
.lp-signin:hover { color: var(--ink); }
@media (max-width: 560px) {
  .lp-nav { height: auto; flex-wrap: wrap; padding-block: .7rem; gap: .6rem 1rem; }
  .lp-links { gap: .9rem; }
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  background: var(--ink); color: #fff; border: 1px solid var(--ink);
  padding: .5rem 1.05rem; border-radius: 10px; font-size: .92rem; font-weight: 550;
  cursor: pointer; font-family: inherit; text-decoration: none !important; white-space: nowrap;
  transition: background .12s ease, border-color .12s ease, transform .12s ease;
}
.btn:hover { background: var(--ink-soft); border-color: var(--ink-soft); }
.btn:disabled { background: #cfccc3; border-color: #cfccc3; cursor: not-allowed; }
.btn-red { background: var(--red); border-color: var(--red); }
.btn-red:hover { background: var(--red-700); border-color: var(--red-700); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-secondary:hover { background: var(--hover); border-color: var(--muted-2); }
.btn-lg { padding: .78rem 1.45rem; font-size: 1rem; border-radius: 12px; }
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(2px); }

/* ── Notices (dynamic states on pricing) ─────────────────────────────────── */
.notice { padding: .75rem 1rem; background: var(--amber-bg); border: 1px solid #ecd9a6; border-radius: 10px; color: var(--amber-ink); font-size: .88rem; margin: .8rem 0; }
.notice.info { background: var(--blue-bg); border-color: #d4ddf2; color: var(--blue); }
.notice.error { background: #f8e7e4; border-color: #ecc6bf; color: #9a3528; }
.notice.success { background: var(--emerald-bg); border-color: #c5e3cf; color: var(--emerald-ink); }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.lp-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding-block: clamp(3rem, 8vh, 5.5rem) clamp(2.6rem, 7vh, 5rem); }
.lp-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .8rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 1.1rem;
}
.lp-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.lp-h1 {
  font-family: var(--serif); font-weight: 560; font-size: clamp(2.5rem, 5.6vw, 3.9rem);
  line-height: 1.06; letter-spacing: -0.02em; margin-bottom: 1.2rem; text-wrap: balance;
}
.uline { position: relative; white-space: nowrap; }
.uline::after {
  content: ""; position: absolute; left: 2%; right: 2%; bottom: -.08em; height: .28em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8 Q 26 2, 50 7 T 98 6' fill='none' stroke='%23DC2626' stroke-width='3.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.lp-sub { font-size: 1.16rem; color: var(--ink-soft); max-width: 34em; text-wrap: pretty; }
/* Hero editorial lead: the emotional hook, lifted out of the body copy.
   Serif + ink + size carry it above the sans, muted sub that follows.
   Tighten the headline→lead gap so the two read as one loud unit. */
.lp-hero .lp-h1 { margin-bottom: .8rem; }
.lp-lead {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.42rem, 2.7vw, 1.8rem);
  line-height: 1.26; letter-spacing: -0.01em;
  color: var(--ink); max-width: 16em; text-wrap: balance;
  margin-bottom: 1.1rem;
}
.lp-hero .lp-sub { font-size: 1.08rem; color: var(--muted); max-width: 32em; }
.lp-hero-ctas { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; margin-top: 1.7rem; }
.lp-hero .fine { margin-top: .9rem; }

@media (max-width: 900px) {
  .lp-hero { grid-template-columns: 1fr; padding-block: 2.6rem 3rem; }
}

/* ── Hero art: YouTube wireframe + rotating KnowStash panel mock ─────────── */
.hero-art { position: relative; min-height: 380px; }
.mock-yt {
  position: absolute; top: 8%; left: 0; width: 62%;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: .9rem; transform: rotate(1.1deg);
  box-shadow: 0 14px 40px rgba(0,0,0,.05);
}
.mock-player { position: relative; aspect-ratio: 16 / 9; border-radius: 9px; background: linear-gradient(140deg, #2b2823, #4a453c); margin-bottom: .8rem; }
.mock-play {
  position: absolute; inset: 0; margin: auto; width: 0; height: 0;
  border-left: 22px solid rgba(255,255,255,.92); border-top: 13px solid transparent; border-bottom: 13px solid transparent;
}
.mock-time { position: absolute; right: .5rem; bottom: .5rem; background: rgba(0,0,0,.72); color: #fff; font-family: var(--mono); font-size: .62rem; padding: .1rem .35rem; border-radius: 4px; }
.wire { height: 9px; border-radius: 5px; background: var(--line-soft); margin: .5rem 0; }
.wire.w80 { width: 80%; } .wire.w60 { width: 60%; } .wire.w40 { width: 40%; } .wire.w70 { width: 70%; } .wire.w50 { width: 50%; } .wire.w90 { width: 90%; }

.mock-panel {
  position: relative; margin-left: auto; width: 76%; margin-top: 3.2rem;
  background: var(--bg); border: 1px solid var(--line); border-radius: 16px;
  padding: 1rem 1.1rem 1.1rem; transform: rotate(-1.3deg);
  box-shadow: 0 22px 55px rgba(0,0,0,.09);
}
.mock-panel-head { display: flex; align-items: center; gap: .5rem; padding-bottom: .65rem; border-bottom: 1px solid var(--line-soft); margin-bottom: .75rem; }
.mock-panel-head img { width: 17px; height: 17px; }
.mock-panel-head span { font-family: Geist, var(--ui); font-weight: 600; font-size: .9rem; }
.mock-panel-head b { color: var(--red-700); }

/* The rotator: scenes stack in one grid cell; .on crossfades in. The panel's
   height is the tallest scene, so rotation never reflows the hero. */
.mock-rotator { display: grid; }
.mock-scene { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .5s ease; }
.mock-scene.on { opacity: 1; visibility: visible; }

.mock-ask {
  font-family: var(--serif); font-style: italic; font-size: .95rem; color: var(--ink-soft);
  background: var(--surface); border: 1px solid var(--line); border-radius: 11px; padding: .5rem .75rem; margin-bottom: .85rem;
}
.mock-note-title { font-weight: 600; font-size: .9rem; }
.mock-src { font-size: .74rem; color: var(--muted-2); margin: .05rem 0 .3rem; }
.mock-note ul { list-style: none; }
.mock-note li { font-size: .84rem; color: var(--ink-soft); padding: .18rem 0 .18rem 1.05rem; position: relative; }
.mock-note li::before { content: "–"; position: absolute; left: .25rem; color: var(--red); }
.skeleton-bar { height: 10px; border-radius: 6px; background: linear-gradient(90deg, var(--line-soft), var(--surface-2), var(--line-soft)); background-size: 200% 100%; animation: shimmer 1.4s infinite; margin: .55rem 0 .2rem; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.mock-chip-row { display: flex; gap: .35rem; flex-wrap: wrap; margin-top: .8rem; }

.mock-dots { display: flex; gap: .45rem; justify-content: center; margin-top: .95rem; }
.mock-dot { width: 7px; height: 7px; border-radius: 50%; border: none; padding: 0; background: var(--line); cursor: pointer; transition: background .2s ease; }
.mock-dot:hover { background: var(--muted-2); }
.mock-dot.on { background: var(--red); }

.chip {
  display: inline-flex; align-items: center; gap: .3rem; background: var(--surface-2);
  border: 1px solid var(--line); border-radius: 999px; padding: .1rem .58rem; font-size: .74rem; color: var(--ink-soft);
}
.badge {
  display: inline-block; padding: .1rem .48rem; border-radius: 6px; font-size: .66rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .04em; background: var(--surface-2); color: var(--muted); border: 1px solid var(--line);
}
.badge-notes { background: var(--emerald-bg); color: var(--emerald-ink); border-color: transparent; }
.badge-stash { background: var(--blue-bg); color: var(--blue); border-color: transparent; }

@media (max-width: 900px) {
  .hero-art { min-height: 0; max-width: 520px; }
  .mock-yt { position: static; width: 74%; margin-bottom: -2.2rem; }
  .mock-panel { width: 86%; margin-top: 0; }
}

/* ── Sections ────────────────────────────────────────────────────────────── */
.lp-section { padding-block: clamp(2.8rem, 7vh, 4.6rem); }
.kicker { font-size: .76rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--muted-2); margin-bottom: .7rem; }
.lp-h2 { font-family: var(--serif); font-weight: 560; font-size: clamp(1.7rem, 3.4vw, 2.3rem); line-height: 1.18; letter-spacing: -0.015em; margin-bottom: .6rem; text-wrap: balance; }
.lp-lede { font-size: 1.06rem; color: var(--ink-soft); max-width: 44em; }
.band { background: var(--sidebar); border-block: 1px solid var(--line-soft); }
.hairline-top { border-top: 1px solid var(--line-soft); }

/* ── How it works: 3 steps ───────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.4rem; margin-top: 2.4rem; }
.step-num { font-family: var(--serif); font-style: italic; font-weight: 560; font-size: 2rem; color: var(--red-700); line-height: 1; margin-bottom: .55rem; }
.step h3 { font-size: 1.04rem; font-weight: 600; margin-bottom: .3rem; letter-spacing: -0.01em; }
.step p { color: var(--muted); font-size: .93rem; margin: 0; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; gap: 1.7rem; } }

/* ── Feature stripes ─────────────────────────────────────────────────────── */
.feat {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.2rem); align-items: center;
  padding-block: clamp(2.4rem, 6vh, 3.8rem); border-top: 1px solid var(--line-soft);
}
.feat:first-of-type { border-top: none; }
.feat-media { min-width: 0; }
.feat--rev .feat-media { order: -1; }
.feat h3 { font-family: var(--serif); font-weight: 560; font-size: clamp(1.45rem, 2.6vw, 1.85rem); letter-spacing: -0.01em; line-height: 1.2; margin-bottom: .55rem; text-wrap: balance; }
.feat p { color: var(--ink-soft); }
.feat ul.ticks { list-style: none; margin-top: .8rem; }
.feat ul.ticks li { padding: .28rem 0 .28rem 1.55rem; position: relative; color: var(--ink-soft); font-size: .95rem; }
.feat ul.ticks li::before {
  content: ""; position: absolute; left: 0; top: .48rem; width: 16px; height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f7d56' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}
@media (max-width: 860px) {
  .feat { grid-template-columns: 1fr; gap: 1.6rem; }
  .feat--rev .feat-media { order: 0; }
}

/* Shared mock frame for feature media */
.mock {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  padding: 1.1rem 1.2rem; box-shadow: 0 14px 42px rgba(0,0,0,.06);
}

/* Feature 1: thumbnail grid with badges */
.mock-thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.mock-thumb { position: relative; }
.mock-thumb .mt-img { aspect-ratio: 16 / 9; border-radius: 9px; background: linear-gradient(135deg, var(--surface-2), var(--line)); position: relative; }
.mock-thumb:nth-child(2) .mt-img { background: linear-gradient(135deg, #efe6da, #ddd0c0); }
.mock-thumb:nth-child(3) .mt-img { background: linear-gradient(135deg, #e3e8e2, #cbd6cd); }
.mock-thumb:nth-child(4) .mt-img { background: linear-gradient(135deg, #e9e4ef, #d4cee0); }
.mock-thumb .mt-badges { position: absolute; top: .4rem; left: .4rem; display: flex; gap: .3rem; }
.mock-thumb .mt-add {
  position: absolute; right: .4rem; bottom: .4rem; width: 22px; height: 22px; border-radius: 6px;
  background: rgba(20,18,15,.78); color: #fff; font-size: .85rem; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
}
.mock-thumb .wire { margin: .45rem 0 0; }

/* Feature 2: composer mock */
.mock-composer .mc-linked {
  display: flex; align-items: center; gap: .45rem; background: var(--blue-bg); border: 1px solid #dbe3f3;
  border-radius: 9px; padding: .32rem .6rem; font-size: .78rem; color: var(--ink-soft); margin-bottom: .6rem;
}
.mock-composer .mc-linked .mono { color: var(--blue); font-size: .74rem; }
.mock-composer .mc-text { font-size: .95rem; color: var(--ink); padding: .2rem .1rem .8rem; }
.mock-composer .mc-caret { display: inline-block; width: 2px; height: 1.05em; background: var(--ink); vertical-align: text-bottom; animation: blink 1.1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }
.mock-composer .mc-bottom { display: flex; align-items: center; gap: .45rem; border-top: 1px solid var(--line-soft); padding-top: .6rem; }
.mock-composer .mc-bottom .spacer { flex: 1; }
.mc-pill { font-size: .74rem; color: var(--ink-soft); background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: .18rem .5rem; }
.mc-cost { font-family: var(--mono); font-size: .74rem; color: var(--muted-2); }
.mc-send { width: 32px; height: 32px; border-radius: 9px; background: var(--red); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 1.05rem; font-weight: 700; }

/* Feature 3: library rows */
.mock-lib .ml-search { display: flex; align-items: center; gap: .5rem; border: 1px solid var(--line); border-radius: 9px; padding: .42rem .65rem; font-size: .85rem; color: var(--muted-2); margin-bottom: .5rem; background: var(--bg); }
.ml-row { display: flex; align-items: center; gap: .7rem; padding: .6rem .15rem; border-bottom: 1px solid var(--line-soft); }
.ml-row:last-child { border-bottom: none; }
.ml-thumb { width: 52px; height: 32px; border-radius: 6px; background: var(--surface-2); flex-shrink: 0; }
.ml-row:nth-child(2) .ml-thumb { background: linear-gradient(135deg, #efe6da, #ddd0c0); }
.ml-row:nth-child(3) .ml-thumb { background: linear-gradient(135deg, #e3e8e2, #cbd6cd); }
.ml-row:nth-child(4) .ml-thumb { background: linear-gradient(135deg, #e9e4ef, #d4cee0); }
.ml-main { flex: 1; min-width: 0; }
.ml-title { font-size: .84rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ml-sub { font-size: .74rem; color: var(--muted-2); }

/* Feature 4: monitor mock (mirrors the app's mp- accent language) */
.mock-monitor { border-left: 3px solid var(--emerald); padding: .1rem 0 .2rem 1rem; }
.mm-head { display: flex; align-items: center; gap: .55rem; flex-wrap: wrap; font-weight: 600; font-size: .95rem; }
.mm-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--emerald); animation: mm-pulse 2.6s ease-in-out infinite; }
@keyframes mm-pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(47,125,86,.35); } 50% { box-shadow: 0 0 0 5px rgba(47,125,86,0); } }
.mm-sub { font-size: .78rem; font-weight: 500; color: var(--muted-2); }
.mm-feed { margin-top: .7rem; }
.mm-row { display: flex; gap: .6rem; align-items: baseline; padding: .34rem 0; font-size: .86rem; color: var(--ink-soft); border-bottom: 1px solid var(--line-soft); }
.mm-row:last-child { border-bottom: none; }
.mm-time { font-family: var(--mono); font-size: .72rem; color: var(--muted-2); flex-shrink: 0; }
.mm-tag { font-size: .66rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); background: var(--surface-2); border-radius: 5px; padding: .06rem .35rem; }

/* Feature 5: note grows + exports (update / merge / download .md) */
.mock-export .me-title { font-weight: 600; font-size: .92rem; display: flex; align-items: center; gap: .5rem; margin-bottom: .35rem; }
.mock-export .me-actions { display: flex; gap: .45rem; flex-wrap: wrap; margin-top: .85rem; }
.me-act {
  display: inline-flex; align-items: center; gap: .35rem; font-size: .8rem; font-weight: 550;
  color: var(--ink-soft); background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 9px; padding: .3rem .65rem;
}
.me-act.me-dl { background: var(--emerald-bg); border-color: #c5e3cf; color: var(--emerald-ink); }
.mock-export .me-flow {
  display: flex; align-items: center; gap: .45rem; flex-wrap: wrap;
  border-top: 1px solid var(--line-soft); margin-top: 1rem; padding-top: .85rem;
  font-family: var(--mono); font-size: .76rem; color: var(--muted-2);
}

/* Feature 6: two surfaces */
.mock-surfaces { display: flex; align-items: center; gap: 1rem; justify-content: center; padding: 1.4rem .4rem; }
.ms-node { text-align: center; flex: 1; max-width: 170px; }
.ms-node .ms-ico { width: 52px; height: 52px; margin-inline: auto; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--ink-soft); }
.ms-node .ms-ico svg { width: 26px; height: 26px; }
.ms-node p { font-size: .82rem; color: var(--muted); margin-top: .5rem; }
.ms-link { flex-shrink: 0; color: var(--muted-2); display: flex; flex-direction: column; align-items: center; gap: .15rem; font-size: .7rem; letter-spacing: .04em; text-transform: uppercase; }
.ms-link .ms-wire { width: 70px; border-top: 2px dashed var(--line); }

/* ── Use cases ───────────────────────────────────────────────────────────── */
.uc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); margin-top: 2.2rem; }
.uc-col h3 { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); padding-bottom: .6rem; border-bottom: 1px solid var(--line); }
.uc-row { display: flex; gap: .95rem; padding: 1.05rem 0; border-bottom: 1px solid var(--line-soft); }
.uc-ico { flex-shrink: 0; width: 20px; height: 20px; color: var(--red-700); margin-top: .18rem; }
.uc-ico svg { width: 20px; height: 20px; }
.uc-row h4 { font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: .15rem; }
.uc-row p { font-size: .92rem; color: var(--muted); margin: 0; }
.uc-cta { margin-top: 1rem; font-size: .92rem; }
.uc-cta a { color: var(--red-700); font-weight: 550; text-decoration: underline; }
.uc-cta a:hover { text-decoration: underline; }
@media (max-width: 800px) { .uc-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* ── Pricing teaser (landing) ────────────────────────────────────────────── */
.price-teaser { display: grid; grid-template-columns: auto 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.pt-big { font-family: var(--serif); font-weight: 560; font-size: clamp(2.2rem, 4.6vw, 3.2rem); line-height: 1.05; letter-spacing: -0.02em; }
.pt-big small { display: block; font-family: var(--ui); font-size: .85rem; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-top: .6rem; }
@media (max-width: 800px) { .price-teaser { grid-template-columns: 1fr; gap: 1.4rem; } }

/* ── Final CTA ───────────────────────────────────────────────────────────── */
.cta-final { text-align: center; padding-block: clamp(3.2rem, 9vh, 5.5rem); }
.cta-final .lp-h2 { margin-bottom: .4rem; }
.cta-final p { color: var(--muted); }
.cta-final .btn { margin-top: 1.4rem; }
.cta-final .fine { margin-top: 1rem; }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.lp-footer { border-top: 1px solid var(--line-soft); padding-block: 2rem 2.6rem; font-size: .86rem; color: var(--muted); }
.lp-footer .foot-row { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.lp-footer a:hover { color: var(--ink); }
.lp-footer .foot-brand { display: inline-flex; align-items: center; gap: .45rem; color: var(--ink); font-family: Geist, var(--ui); font-weight: 600; }
.lp-footer .foot-brand img { width: 18px; height: 18px; }
.lp-footer .foot-brand b { color: var(--red-700); }
.lp-footer .fine { margin-top: .8rem; }

/* ── Pricing page ────────────────────────────────────────────────────────── */
.page-hero { padding-block: clamp(2.8rem, 8vh, 4.6rem) clamp(1.6rem, 4vh, 2.6rem); }
.page-hero .lp-sub { margin-top: .4rem; }

.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.2rem; margin-block: 1.8rem 1rem; }
.plan {
  position: relative;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  padding: 1.5rem 1.5rem 1.4rem; display: flex; flex-direction: column;
  box-shadow: 0 8px 30px rgba(0,0,0,.04);
}
.plan--hero { border-color: #ecc6bf; box-shadow: 0 14px 40px rgba(220,38,38,.07); }
/* Corner-anchored so the featured card's content lines up with its siblings
   (in-flow, the tag pushed everything down — the cards looked misaligned). */
.plan-tag { position: absolute; top: 1.35rem; right: 1.3rem; font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--red-700); background: #fdf2f0; border: 1px solid #ecc6bf; border-radius: 999px; padding: .14rem .55rem; }
.plan h3 { font-size: 1.02rem; font-weight: 600; letter-spacing: -0.01em; }
.plan-price { font-family: var(--serif); font-weight: 560; font-size: 2.1rem; letter-spacing: -0.02em; margin: .35rem 0 .1rem; }
.plan-price small { font-family: var(--ui); font-size: .86rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
/* Two-line reservation keeps every card's bullet list starting at the same
   height whether the blurb wraps once or twice. */
.plan-desc { font-size: .9rem; color: var(--muted); margin-bottom: .9rem; min-height: 2.7em; }
.plan ul { list-style: none; margin-bottom: 1.3rem; flex: 1; }
.plan li { padding: .3rem 0 .3rem 1.5rem; position: relative; font-size: .9rem; color: var(--ink-soft); }
.plan li::before {
  content: ""; position: absolute; left: 0; top: .5rem; width: 15px; height: 15px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f7d56' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Top-up mini-cards (rendered from the billing catalog) */
.topup-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .9rem; margin-top: 1.2rem; }
.topup {
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  padding: .95rem 1rem .9rem; display: flex; flex-direction: column;
  box-shadow: 0 6px 22px rgba(0,0,0,.03);
}
.topup b { font-family: var(--serif); font-weight: 560; font-size: 1.35rem; letter-spacing: -0.01em; }
.topup .vat { font-family: var(--ui); font-size: .72rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.topup .tu-sub { font-size: .8rem; color: var(--muted); margin-top: .05rem; }
.topup .btn { margin-top: .75rem; }

.price-table { width: 100%; border-collapse: collapse; margin-top: 1.4rem; font-size: .94rem; }
.price-table th { text-align: left; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted-2); padding: .5rem .4rem; border-bottom: 1px solid var(--line); }
.price-table td { padding: .72rem .4rem; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.price-table td.num { font-family: var(--mono); font-size: .86rem; white-space: nowrap; text-align: right; }
.price-table .sub { display: block; font-size: .8rem; color: var(--muted-2); }
.price-table tr:last-child td { border-bottom: none; }

.example-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 1.6rem; }
.example h3 { font-family: var(--serif); font-weight: 560; font-size: 1.15rem; margin-bottom: .3rem; }
.example p { font-size: .9rem; color: var(--muted); margin: 0; }
.example .ex-sum { font-family: var(--mono); font-size: .8rem; color: var(--emerald-ink); margin-top: .5rem; }
@media (max-width: 800px) { .example-grid { grid-template-columns: 1fr; gap: 1.4rem; } }

/* ── FAQ / disclosure ────────────────────────────────────────────────────── */
.faq { margin-top: 1.4rem; }
.faq details { border-bottom: 1px solid var(--line-soft); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; align-items: baseline; gap: .6rem;
  padding: .95rem .1rem; font-weight: 600; font-size: .98rem; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "›"; color: var(--muted-2); transition: transform .12s; flex-shrink: 0; }
.faq details[open] summary::before { transform: rotate(90deg); }
.faq details > div { padding: 0 .1rem 1.1rem 1.25rem; color: var(--ink-soft); font-size: .94rem; }
.faq a { color: var(--red-700); text-decoration: underline; }
.faq a:hover { text-decoration: underline; }

/* ── Help page ───────────────────────────────────────────────────────────── */
.toc { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 1.4rem; }
.toc a {
  font-size: .84rem; font-weight: 550; color: var(--ink-soft); background: var(--surface);
  border: 1px solid var(--line); border-radius: 999px; padding: .32rem .85rem;
}
.toc a:hover { background: var(--hover); border-color: var(--muted-2); }

.help-section { padding-block: 1.4rem 1.6rem; border-top: 1px solid var(--line-soft); margin-top: 1.6rem; }
.help-section > .lp-h2 { font-size: 1.55rem; margin-bottom: .8rem; }
.help-section h3 { font-size: 1.02rem; font-weight: 600; margin: 1.5rem 0 .4rem; letter-spacing: -0.01em; }
.help-section ol, .help-section ul { margin: .6rem 0 .6rem 1.3rem; color: var(--ink-soft); }
.help-section li { margin: .3rem 0; }
.help-section code { font-family: var(--mono); background: var(--surface-2); padding: .08em .4em; border-radius: 5px; font-size: .86em; color: var(--ink-soft); }
.help-section p { color: var(--ink-soft); }
.help-note { background: var(--amber-bg); border: 1px solid #ecd9a6; border-radius: 10px; color: var(--amber-ink); font-size: .88rem; padding: .7rem 1rem; margin: .8rem 0; }

.gloss { margin-top: .4rem; }
.gloss-row { display: grid; grid-template-columns: 150px 1fr; gap: 1.2rem; padding: .8rem 0; border-bottom: 1px solid var(--line-soft); }
.gloss-row:last-child { border-bottom: none; }
.gloss-term { font-weight: 600; font-size: .95rem; letter-spacing: -0.01em; }
.gloss-def { color: var(--ink-soft); font-size: .94rem; }
.gloss-def p { margin: 0 0 .3rem; }
@media (max-width: 620px) { .gloss-row { grid-template-columns: 1fr; gap: .15rem; } }

/* ── Legal pages (terms / privacy / refunds) ─────────────────────────────── */
.legal { padding-block: .4rem 2.4rem; }
.legal .updated { font-size: .84rem; color: var(--muted-2); }
.legal h2 { font-family: var(--serif); font-weight: 560; font-size: 1.32rem; letter-spacing: -0.01em; margin: 2rem 0 .5rem; }
.legal h3 { font-size: 1rem; font-weight: 600; margin: 1.3rem 0 .35rem; }
.legal p, .legal li { color: var(--ink-soft); font-size: .95rem; }
.legal ul, .legal ol { margin: .55rem 0 .8rem 1.35rem; }
.legal li { margin: .28rem 0; }
.legal a { color: var(--red-700); text-decoration: underline; }
.legal a:hover { text-decoration: underline; }
.legal .lead { font-size: 1.05rem; color: var(--ink-soft); }

/* ── Motion preferences ──────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .skeleton-bar, .mm-dot, .mock-composer .mc-caret { animation: none; }
  .btn .arrow, .btn, .mock-scene { transition: none; }
}
