:root {
  --paper: #fbf7f0;
  --paper-2: #f4ede1;
  --card: #fffdf9;
  --ink: #1f1d1a;
  --ink-2: #4a4640;
  --ink-3: #7a756c;
  --rule: #e4dccd;
  --pip: #f2643d;
  --pip-dark: #c9481f;
  --pip-tint: #ffe0d5;
  --sun: #f5b83d;
  --line: #06c755;
  --line-dark: #05a647;
  --note: #fff3b8;

  --serif: "Noto Serif Thai", "Thonburi", serif;
  --sans: "IBM Plex Sans Thai", "Thonburi", system-ui, sans-serif;
  --en-italic: "Fraunces", Georgia, serif;

  --r: 14px;
  --shadow: 0 1px 0 rgba(31, 29, 26, .06), 0 10px 30px -12px rgba(31, 29, 26, .18);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.75 var(--sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.35; margin: 0; letter-spacing: -.005em; }
h2 { font-size: clamp(28px, 4.2vw, 44px); font-weight: 800; }
h3 { font-size: 21px; font-weight: 600; }
p { margin: 0 0 1em; }
strong { font-weight: 600; }
q { quotes: "“" "”"; }

.wrap { width: min(1140px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.center { text-align: center; }
.nb { white-space: nowrap; }
.muted { color: var(--ink-3); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--pip); outline-offset: 3px; border-radius: 6px; }

/* hand-drawn highlighter */
.mark {
  background: linear-gradient(transparent 58%, var(--pip-tint) 58%, var(--pip-tint) 92%, transparent 92%);
  padding: 0 .08em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 999px;
  font: 600 17px/1 var(--sans); text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn svg { width: 22px; height: 22px; flex: none; }
.btn:active { transform: translateY(1px); }
.btn-line { background: var(--line); color: #fff; box-shadow: 0 6px 0 -2px var(--line-dark); }
.btn-line:hover { background: var(--line-dark); }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: #000; }
.btn-ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 15px; box-shadow: none; }
.btn-sm svg { width: 18px; height: 18px; }
.btn-lg { min-height: 60px; padding: 0 32px; font-size: 19px; }
.btn-block { width: 100%; }

/* header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(251, 247, 240, .92); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--rule); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font: 700 22px/1 var(--sans); letter-spacing: -.02em; }
.brand-mark { width: 34px; height: 34px; }
.nav { display: flex; gap: 22px; margin-left: auto; font-size: 15px; }
.nav a { text-decoration: none; color: var(--ink-2); }
.nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--pip); text-decoration-thickness: 2px; }
@media (max-width: 860px) { .nav { display: none; } .header-inner .btn { margin-left: auto; } }

/* hero */
.hero { padding: 56px 0 120px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow { font-size: 14px; font-weight: 500; color: var(--ink-2); letter-spacing: .01em; margin-bottom: 18px; }
.hero h1 { font-size: clamp(30px, 4.4vw, 52px); font-weight: 800; line-height: 1.32; margin-bottom: 22px; }
.lede { font-size: 19px; color: var(--ink-2); max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 18px; }
.assure { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--ink-3); }
.assure li::before { content: ""; display: inline-block; width: 14px; height: 8px; border-left: 2px solid var(--line); border-bottom: 2px solid var(--line); transform: rotate(-45deg) translateY(-3px); margin-right: 8px; }

.hero-scene { position: relative; margin: 0; }
.scene-time { font-size: 13px; color: var(--ink-3); margin: 0 0 10px 6px; }
.mail { background: var(--card); border: 1px solid var(--rule); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; transform: rotate(.6deg); }
.mail-in { padding: 20px 22px; border-bottom: 1px dashed var(--rule); background: #faf6ee; }
.mail-in p { margin: 12px 0 0; font-size: 16px; }
.mail-from { display: flex; gap: 12px; align-items: center; font-size: 14px; line-height: 1.4; }
.avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #d7e4f0; color: #2c4a66; font-weight: 700; flex: none; }
.mail-out { padding: 18px 22px 20px; }
.mail-label { font-size: 12px; font-weight: 600; letter-spacing: .06em; color: var(--pip-dark); margin-bottom: 8px; }
.mail-out p { font-size: 16.5px; line-height: 1.8; margin: 0 0 14px; min-height: 5.4em; }
.chunk { background: var(--pip-tint); color: inherit; border-radius: 4px; padding: 1px 3px; position: relative; cursor: help; border-bottom: 2px solid var(--pip); }
.chunk::after {
  content: attr(data-th); position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%) translateY(4px);
  background: var(--ink); color: var(--paper); font: 500 13px/1.4 var(--sans); padding: 6px 10px; border-radius: 8px; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity .15s, transform .15s;
}
.chunk:hover::after, .chunk:focus::after { opacity: 1; transform: translateX(-50%) translateY(0); }
.mail-send { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.send-btn { background: #2f6fe0; color: #fff; padding: 7px 18px; border-radius: 8px; font-weight: 600; font-size: 14px; }
.typed .caret { display: inline-block; width: 2px; height: 1.1em; background: var(--ink); vertical-align: -3px; margin-left: 1px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.note {
  font-size: 14.5px; line-height: 1.55; color: var(--ink-2);
  background: var(--note); padding: 12px 16px; border-radius: 4px;
  box-shadow: 0 6px 14px -8px rgba(0, 0, 0, .25);
}
.note-hero { position: absolute; left: -36px; bottom: -92px; width: 250px; transform: rotate(-3deg); }
.note-arrow { position: absolute; right: -40px; top: -30px; width: 54px; color: var(--ink-2); transform: rotate(-70deg); }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding-top: 32px; }
  .note-hero { position: relative; left: auto; bottom: auto; width: auto; max-width: 320px; margin: -10px 0 0 14px; }
  .note-arrow { display: none; }
}

/* sections */
.section { padding: 96px 0; }
.num { font: 500 14px/1 var(--sans); color: var(--pip-dark); letter-spacing: .14em; margin-bottom: 14px; }
.num::after { content: ""; display: inline-block; width: 40px; height: 2px; background: var(--pip); vertical-align: middle; margin-left: 12px; }
.section-lede { font-size: 18px; color: var(--ink-2); max-width: 40em; margin-top: 14px; }
.fineprint { font-size: 13.5px; color: var(--ink-3); margin-top: 18px; }
@media (max-width: 640px) { .section { padding: 72px 0; } }

/* familiar */
.familiar { background: var(--paper-2); }
.thoughts { list-style: none; padding: 0; margin: 40px 0 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.sticky {
  background: var(--card); border: 1px solid var(--rule); padding: 22px 20px 26px; border-radius: 6px;
  font-family: var(--serif); font-size: 19px; line-height: 1.6; box-shadow: var(--shadow);
}
.s1 { transform: rotate(-1.4deg); }
.s2 { transform: rotate(.9deg) translateY(10px); background: var(--note); border-color: #efe09a; }
.s3 { transform: rotate(-.6deg); }
.s4 { transform: rotate(1.6deg) translateY(6px); }
.reframe { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: end; border-top: 2px solid var(--ink); padding-top: 32px; }
.reframe-big { font: 800 clamp(24px, 3.2vw, 34px)/1.45 var(--serif); margin: 0; }
.reframe p:last-child { color: var(--ink-2); margin: 0; }
@media (max-width: 900px) { .thoughts { grid-template-columns: 1fr 1fr; } .reframe { grid-template-columns: 1fr; gap: 18px; } }
@media (max-width: 520px) { .thoughts { grid-template-columns: 1fr; } .sticky { transform: none !important; } }

/* paths */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 34px 0 26px; }
.tabs [role="tab"] {
  font: 600 16px/1 var(--sans); padding: 14px 20px; border-radius: 999px; border: 2px solid var(--ink);
  background: transparent; color: var(--ink); cursor: pointer;
}
.tabs [role="tab"][aria-selected="true"] { background: var(--ink); color: var(--paper); }
.tabs [role="tab"]:hover:not([aria-selected="true"]) { background: var(--paper-2); }
.panel { background: var(--card); border: 1px solid var(--rule); border-radius: 22px; padding: 32px; box-shadow: var(--shadow); }
.panel-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; align-items: baseline; margin-bottom: 28px; }
.panel-head p { margin: 0; color: var(--ink-2); }
.tag { display: inline-block; font: 600 12px/1 var(--sans); padding: 6px 10px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); vertical-align: 4px; margin-left: 4px; }
.tag-free { background: #ddf5e5; color: #086b33; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: wk; }
.timeline li { position: relative; padding: 30px 20px 4px 0; border-top: 2px solid var(--rule); display: flex; flex-direction: column; gap: 8px; }
.timeline li::before { content: ""; position: absolute; top: -8px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink-3); }
.timeline li.goal { border-top-color: var(--pip); }
.timeline li.goal::before { background: var(--pip); border-color: var(--pip); width: 18px; height: 18px; top: -10px; }
.wk { font-size: 13px; color: var(--ink-3); font-weight: 500; }
.timeline b { font-family: var(--serif); font-size: 18px; font-weight: 600; line-height: 1.45; }
.timeline q { font: italic 500 17px/1.5 var(--en-italic); color: var(--pip-dark); }
.timeline small { font-size: 13px; color: var(--ink-3); line-height: 1.6; }
@media (max-width: 900px) {
  .timeline { grid-template-columns: 1fr; }
  .timeline li { border-top: 0; border-left: 2px solid var(--rule); padding: 0 0 28px 26px; }
  .timeline li.goal { border-left-color: var(--pip); }
  .timeline li::before { top: 4px; left: -8px; }
  .timeline li.goal::before { left: -10px; top: 2px; }
  .panel { padding: 24px 20px; }
}

/* try */
.try { background: var(--ink); color: var(--paper); }
.try .num { color: var(--sun); }
.try .num::after { background: var(--sun); }
.try .section-lede { color: #d6cfc3; }
.try-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.scene-card { margin-top: 28px; border: 1px solid #3b3833; border-radius: 16px; padding: 20px 22px; background: #29261f; }
.scene-kicker { font-size: 13px; color: var(--sun); margin: 0 0 6px; }
.scene-title { font: italic 500 22px/1.4 var(--en-italic); margin: 0 0 4px; }
.scene-th { color: #b9b2a6; margin: 0; font-size: 15px; }
.quiz { background: var(--paper); color: var(--ink); border-radius: 22px; padding: 28px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.quiz-progress { height: 6px; background: var(--paper-2); border-radius: 999px; overflow: hidden; margin-bottom: 14px; }
.quiz-progress span { display: block; height: 100%; width: 8%; background: var(--pip); transition: width .4s ease; }
.quiz-count { font-size: 13px; color: var(--ink-3); margin-bottom: 18px; }
.q-prompt { color: var(--ink-2); font-size: 16px; }
.q-sentence { font: 500 26px/1.5 var(--en-italic); font-style: italic; margin: 6px 0 22px; }
.blank { display: inline-block; min-width: 3.2em; border-bottom: 2px solid var(--ink); text-align: center; color: var(--ink-3); font-style: normal; }
.blank.filled { color: var(--pip-dark); font-style: italic; border-color: var(--pip); }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choices-stack { flex-direction: column; }
.choices button {
  font: 500 17px/1.3 var(--sans); padding: 14px 20px; border-radius: 12px; border: 2px solid var(--rule);
  background: var(--card); color: var(--ink); cursor: pointer; text-align: left; transition: border-color .15s, background-color .15s;
}
.choices button:hover:not(:disabled) { border-color: var(--ink); }
.choices button.is-right { border-color: var(--line); background: #e6f8ec; }
.choices button.is-wrong { border-color: var(--pip); background: #fff0ea; }
.choices button:disabled { cursor: default; }
.feedback { margin-top: 20px; padding: 16px 18px; border-radius: 12px; background: var(--paper-2); font-size: 15.5px; }
.feedback b { font-family: var(--serif); }
.feedback .th { color: var(--ink-2); }
.feedback .btn { margin-top: 12px; min-height: 44px; }
.quiz-done { text-align: left; }
.done-big { font: 800 24px/1.4 var(--serif); margin-bottom: 14px; }
.meter { height: 10px; background: var(--paper-2); border-radius: 999px; overflow: hidden; margin-bottom: 18px; }
.meter span { display: block; height: 100%; background: var(--pip); border-radius: 999px; }
.quiz-done p { color: var(--ink-2); }
@media (max-width: 900px) { .try-grid { grid-template-columns: 1fr; gap: 32px; } .quiz { padding: 22px 18px; } .q-sentence { font-size: 22px; } }

/* why */
.curve { margin: 40px 0 56px; background: var(--card); border: 1px solid var(--rule); border-radius: 22px; padding: 24px 24px 18px; }
.curve svg { width: 100%; height: auto; }
.axis line { stroke: var(--ink-3); stroke-width: 1.5; }
.axis text { font: 400 13px var(--sans); fill: var(--ink-3); }
.line-forget { fill: none; stroke: var(--ink-3); stroke-width: 3; stroke-dasharray: 2 7; stroke-linecap: round; }
.line-review { fill: none; stroke: var(--pip); stroke-width: 3.5; stroke-linejoin: round; stroke-linecap: round; }
.js .curve .line-review { stroke-dasharray: 1400; stroke-dashoffset: 1400; }
.js .curve.in .line-review { animation: draw 2.2s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .js .curve .line-review { stroke-dasharray: none; stroke-dashoffset: 0; } }
.dots circle { fill: var(--pip); stroke: var(--card); stroke-width: 3; }
.lbl-forget { font: 500 15px var(--sans); fill: var(--ink-3); }
.lbl-review { font: 600 15px var(--sans); fill: var(--pip-dark); }
.curve figcaption { font-size: 13.5px; color: var(--ink-3); margin-top: 10px; line-height: 1.65; }

.mechs { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 2px solid var(--ink); }
.mech { padding: 28px 28px 24px 0; border-bottom: 1px solid var(--rule); }
.mech:nth-child(odd) { border-right: 1px solid var(--rule); }
.mech:nth-child(even) { padding-left: 28px; padding-right: 0; }
.mech h3 { display: flex; gap: 14px; align-items: baseline; margin-bottom: 10px; }
.mech-n { font: 800 30px/1 var(--serif); color: var(--pip); }
.mech p { color: var(--ink-2); margin-bottom: 10px; }
.cite { font-size: 13px; color: var(--ink-3) !important; }
@media (max-width: 760px) {
  .mechs { grid-template-columns: 1fr; }
  .mech, .mech:nth-child(even) { padding: 24px 0; border-right: 0 !important; }
}

.compare-wrap { margin-top: 56px; overflow-x: auto; }
.compare { width: 100%; border-collapse: collapse; min-width: 520px; font-size: 16px; }
.compare caption { text-align: left; font: 600 21px/1.4 var(--serif); margin-bottom: 14px; }
.compare th, .compare td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.compare thead th { font-size: 14px; color: var(--ink-3); font-weight: 500; }
.compare thead th:last-child { color: var(--pip-dark); font-weight: 700; }
.compare tbody th { font-weight: 600; width: 26%; }
.compare td:nth-child(2) { color: var(--ink-3); }
.compare td:last-child { background: #fff6f1; font-weight: 500; }

/* how */
.how { background: var(--paper-2); }
.how-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.steps { list-style: none; padding: 0; margin: 32px 0 0; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 52px 1fr; column-gap: 8px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.steps li::before { content: counter(s, decimal-leading-zero); grid-row: span 2; font: 800 22px/1.4 var(--serif); color: var(--pip); }
.steps b { font-family: var(--serif); font-size: 19px; font-weight: 600; }
.steps span { color: var(--ink-2); font-size: 16px; }
.phone { background: #8aa3c0; border: 10px solid var(--ink); border-radius: 38px; max-width: 360px; width: 100%; justify-self: center; overflow: hidden; box-shadow: var(--shadow); transform: rotate(-1.5deg); }
.phone-top { display: flex; align-items: center; gap: 10px; background: #273246; color: #fff; padding: 16px 16px; font-size: 15px; }
.avatar-pip { background: #fff; width: 32px; height: 32px; padding: 3px; }
.chat { padding: 16px 14px 22px; display: flex; flex-direction: column; gap: 10px; }
.time { align-self: center; font-size: 12px; color: #fff; background: rgba(0, 0, 0, .18); padding: 2px 10px; border-radius: 999px; margin: 0; }
.bubble { background: #fff; padding: 10px 14px; border-radius: 18px 18px 18px 4px; font-size: 15px; line-height: 1.55; max-width: 86%; }
.bubble.me { align-self: flex-end; background: #a7ec91; border-radius: 18px 18px 4px 18px; }
.quick { display: flex; flex-wrap: wrap; gap: 6px; }
.quick span { background: rgba(255, 255, 255, .9); color: #1d7c3f; border: 1px solid #1d7c3f33; border-radius: 999px; padding: 6px 12px; font-size: 13.5px; font-weight: 600; }
@media (max-width: 900px) { .how-grid { grid-template-columns: 1fr; gap: 40px; } }

/* pricing */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; max-width: 920px; }
.plan { position: relative; background: var(--card); border: 1px solid var(--rule); border-radius: 22px; padding: 30px 28px; display: flex; flex-direction: column; }
.plan ul { list-style: none; padding: 0; margin: 4px 0 26px; flex: 1; }
.plan li { padding: 8px 0 8px 28px; position: relative; color: var(--ink-2); font-size: 16px; border-bottom: 1px dashed var(--rule); }
.plan li::before { content: ""; position: absolute; left: 4px; top: 16px; width: 12px; height: 7px; border-left: 2px solid var(--line); border-bottom: 2px solid var(--line); transform: rotate(-45deg); }
.price { font: 800 44px/1.2 var(--serif); margin: 10px 0 6px; }
.price span { font: 400 16px var(--sans); color: var(--ink-3); }
.per-day { font-size: 14px; color: var(--ink-2); background: var(--note); display: inline-block; padding: 4px 10px; border-radius: 4px; }
.plan-premium { border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--pip); }
.plan-flag { position: absolute; top: -14px; right: 22px; background: var(--pip); color: #fff; font-size: 13px; font-weight: 600; padding: 4px 12px; border-radius: 999px; margin: 0; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } .plan-premium { box-shadow: 6px 6px 0 var(--pip); } }

/* faq */
.faq h2 { margin-bottom: 26px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font: 600 19px/1.5 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font: 400 28px/1 var(--sans); color: var(--pip); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding-bottom: 20px; margin: 0; }

/* final */
.final { padding: 110px 0 120px; background: var(--pip); color: #fff; }
.final-pip { width: 140px; height: 140px; margin: 0 auto 14px; }
.final h2 { font-size: clamp(28px, 4.6vw, 48px); margin-bottom: 18px; }
.rotator { display: inline-block; white-space: nowrap; background: #fff; color: var(--ink); padding: 0 .3em; border-radius: 8px; transform: rotate(-1deg); margin-top: 8px; transition: opacity .25s; }
@media (max-width: 600px) { .rotator { white-space: normal; } }
.final p { font-size: 18px; opacity: .95; }
.final .btn { margin-top: 12px; box-shadow: 0 6px 0 -2px #04833a; }
.final .fineprint { color: #fff; opacity: .85; }

/* footer */
.site-footer { background: var(--ink); color: #cfc8bc; padding: 56px 0 120px; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px 48px; }
.site-footer .brand { color: #fff; margin-bottom: 10px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 10px 24px; align-content: start; }
.site-footer nav a { text-decoration: none; }
.site-footer nav a:hover { color: #fff; text-decoration: underline; }
.legal { grid-column: 1 / -1; border-top: 1px solid #3b3833; padding-top: 20px; font-size: 12.5px; color: #958e82; margin: 0; }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }

/* sticky mobile cta */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(251, 247, 240, .96); border-top: 1px solid var(--rule); transform: translateY(110%); transition: transform .25s ease; }
.sticky-cta.show { transform: none; }
@media (min-width: 861px) { .sticky-cta { display: none; } }

/* reveal */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* legal pages (terms.html, privacy.html: generated by scripts/build-legal.mjs) */
.header-back { margin-left: auto; }
.legal-page { padding: 40px 0 72px; }
.legal-page h1 { font-size: clamp(30px, 5vw, 42px); font-weight: 800; }
.legal-updated { margin: 8px 0 20px; color: var(--ink-3); font-size: 14px; }
.legal-intro { font-size: 18px; color: var(--ink-2); }
.legal-section { margin-top: 18px; padding: 22px 24px; background: var(--card); border: 1px solid var(--rule); border-radius: var(--r); }
.legal-section h2 { font-size: 21px; font-weight: 600; margin-bottom: 10px; }
.legal-section p, .legal-section li { color: var(--ink-2); font-size: 16px; }
.legal-section ul { margin: 0 0 1em; padding-left: 1.3em; }
.legal-section li { margin-bottom: .35em; }
.legal-section p:last-child, .legal-section ul:last-child { margin-bottom: 0; }
.legal-other { margin-top: 28px; }
.legal-other a { color: var(--ink); text-underline-offset: 4px; text-decoration-color: var(--pip); }
.site-footer .legal a { color: inherit; text-underline-offset: 4px; }
.plans-one { max-width: 560px; margin-inline: auto; grid-template-columns: 1fr; }
.avatar-pip img { width: 100%; height: 100%; }
