/*
 * lm.css — the LullabyMail design system (2026-11 redesign, "Moon Garden").
 *
 * Source: frontend/redesign/lullabymail-edition-02.html, FOREST palette only
 * (Phil, redesign_request.md). Deliberate departures from the reference:
 *
 *   - No leaf/flower logo symbol. The mark is still the "Lullaby Mail"
 *     wordmark in Noto Serif italic (docs/brand/logo.md), recoloured: forest
 *     ink on light surfaces, cream on dark ones (.wordmark--light).
 *   - The reference's last CTA band inherited dark ink on a dark green
 *     background (text nearly invisible) and its footer fell back to the old
 *     blue palette with an invisible logo. Both are fixed here: every dark
 *     band sets its own light text colour.
 *
 * WHO USES THIS FILE
 *
 *   Static pages served by Cloudflare Pages link it as `lm.css`.
 *   Pages that are ALSO served from S3 (prefs.html per-customer copies, the
 *   library page rendered by packages/core/src/library.js) cannot rely on a
 *   relative stylesheet, so they inline a copy of the tokens below. If you
 *   change a token here, grep for "--lm-pine" and change those copies too.
 *   Emails cannot use any of this (no <link>, no CSS variables in Outlook);
 *   their inline colours are listed in docs/brand/logo.md.
 */

:root {
  /* Palette — forest / "Moon Garden" */
  --lm-pine: #17463b;        /* dark bands, primary buttons */
  --lm-pine-deep: #134237;   /* strip under the hero, hover */
  --lm-ink: #1a493d;         /* body text on light */
  --lm-ink-soft: #557669;    /* secondary text on light */
  --lm-cream: #f8f8ec;       /* page background */
  --lm-paper: #fdfdf1;       /* cards, header */
  --lm-lime: #d4eb7e;        /* accent button on dark */
  --lm-olive: #77933b;       /* italic heading accent on light */
  --lm-olive-ink: #5d7a2a;   /* olive dark enough for small text */
  --lm-butter: #eeedaa;      /* gold accents on dark */
  --lm-sage: #9fc2ac;
  --lm-line: #dce5d2;
  --lm-glow: #e8ed9a;        /* italic heading accent on dark */
  --lm-tint: #e8efce;
  --lm-tint-light: #f2f5df;
  --lm-clay: #b0654c;        /* eyebrow labels, decorative stars */
  --lm-clay-soft: #df805e;
  --lm-on-dark: #f3f4e6;
  --lm-on-dark-soft: #cfdccf;
  --lm-error: #a8432f;
  --lm-error-bg: #fbe9e2;
  --lm-success-bg: #e6f0d6;

  --lm-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --lm-sans: "DM Sans", Arial, sans-serif;
  --lm-mark: "Noto Serif", Georgia, "Times New Roman", serif;
  --lm-ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--lm-cream);
  color: var(--lm-ink);
  font-family: var(--lm-sans);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.modal-open { overflow: hidden; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { font-family: var(--lm-serif); font-weight: 500; letter-spacing: -.035em; }
h1 em, h2 em, h3 em { font-weight: 400; font-style: italic; color: var(--lm-olive); }
p { line-height: 1.7; }

.container { width: min(100% - 92px, 1240px); margin-inline: auto; }
.container-narrow { width: min(100% - 92px, 860px); margin-inline: auto; }

.hidden, .is-hidden, [hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link { position: fixed; top: -100px; left: 15px; z-index: 9999; background: #fff; padding: 14px; }
.skip-link:focus { top: 10px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, summary:focus-visible { outline: 3px solid #e0b14f; outline-offset: 3px; }

/* ---------- wordmark (docs/brand/logo.md) ---------- */
.wordmark {
  font-family: var(--lm-mark);
  font-style: italic;
  font-weight: 400;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: 0;
  color: var(--lm-pine);
  text-decoration: none;
  white-space: nowrap;
}
.wordmark--light { color: var(--lm-paper); }

/* ---------- announcement + header ---------- */
.announcement {
  min-height: 30px; padding: 6px 12px;
  background: #436d52; color: #f6f6e6;
  display: flex; align-items: center; justify-content: center; gap: 18px;
  font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; text-align: center;
}
.announcement-star { font-size: 14px; font-weight: 400; color: var(--lm-lime); }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--lm-paper);
  border-bottom: 1px solid var(--lm-line);
}
.header-inner { height: 80px; display: flex; align-items: center; gap: 34px; justify-content: space-between; position: relative; }
.main-nav { display: flex; gap: 30px; align-items: center; margin: auto; }
.main-nav a, .header-link {
  text-decoration: none; font-size: 13px; font-weight: 700; white-space: nowrap;
  color: var(--lm-ink); transition: color .2s;
}
.main-nav a:hover, .header-link:hover { color: var(--lm-olive-ink); }
.main-nav a[aria-current="page"] { color: var(--lm-olive-ink); }
.header-actions { display: flex; align-items: center; gap: 20px; }
.nav-link-mobile { display: none; }
/* "Gift a year" is an outline button beside Subscribe on wide screens; below
   680px the header only fits one button, so it moves into the menu. */
.header-gift { gap: 8px; }
.main-nav a.nav-link-gift { display: none; }
.menu-toggle { display: none; }

/* ---------- buttons ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 18px;
  border: 1px solid transparent; border-radius: 99px; text-decoration: none;
  padding: 16px 24px; font-family: var(--lm-sans); font-size: 14px; line-height: 1.2; font-weight: 700;
  white-space: nowrap;
  transition: transform .2s var(--lm-ease), background .2s, color .2s, box-shadow .2s;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 7px 20px rgba(0, 0, 0, .11); }
.button:disabled, .button[aria-disabled="true"] { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.button-small { padding: 12px 18px; font-size: 12px; gap: 10px; }
.button-block { width: 100%; justify-content: space-between; border-radius: 6px; }
.button-ink { background: var(--lm-pine); color: var(--lm-paper); }
.button-ink:hover { background: var(--lm-pine-deep); }
.button-lime { background: var(--lm-lime); color: var(--lm-pine); }
.button-lime:hover { background: var(--lm-butter); }
.button-outline { background: transparent; border-color: rgba(255, 255, 255, .5); color: var(--lm-on-dark); }
.button-outline:hover { background: rgba(255, 255, 255, .09); }
.button-outline-ink { background: transparent; border-color: rgba(23, 70, 59, .35); color: var(--lm-pine); }
.button-outline-ink:hover { background: var(--lm-tint-light); }
.circle-arrow {
  display: inline-grid; place-items: center; width: 27px; height: 27px; border-radius: 50%;
  margin: -6px -10px -6px 0; font-size: 15px;
  background: var(--lm-pine); color: var(--lm-paper);
}
.button-ink .circle-arrow { background: var(--lm-lime); color: var(--lm-pine); }

.text-link {
  color: var(--lm-ink); background: transparent; border: 0; border-bottom: 1px solid currentColor;
  padding: 0 0 5px; text-decoration: none; font-size: 13px; font-weight: 800;
  display: inline-flex; gap: 18px; cursor: pointer; transition: gap .2s, color .2s;
}
.text-link:hover { gap: 26px; color: var(--lm-olive-ink); }
.inline-link { color: var(--lm-olive-ink); font-weight: 700; text-underline-offset: 3px; }

/* ---------- type helpers ---------- */
.eyebrow {
  display: block; margin-bottom: 22px;
  font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--lm-clay);
}
.eyebrow-light { color: var(--lm-butter); }
.lede { font-size: 17px; line-height: 1.75; color: var(--lm-ink-soft); max-width: 640px; }
.muted { color: var(--lm-ink-soft); }
.fine { font-size: 12px; color: var(--lm-ink-soft); line-height: 1.6; }

/* ---------- inner-page hero band ---------- */
.page-hero {
  background: var(--lm-pine); color: var(--lm-on-dark);
  padding: 76px 0 84px; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .4;
  background-image:
    radial-gradient(circle at 16% 17%, rgba(238, 237, 170, .2) 1px, transparent 1px),
    radial-gradient(circle at 76% 44%, rgba(238, 237, 170, .16) 1px, transparent 1px);
  background-size: 91px 81px, 117px 133px;
}
.page-hero .container, .page-hero .container-narrow { position: relative; }
.page-hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); line-height: 1.05; letter-spacing: -.05em; max-width: 900px; }
.page-hero h1 em { color: var(--lm-glow); }
.page-hero .lede { color: var(--lm-on-dark-soft); margin-top: 22px; }
.page-hero .eyebrow { color: var(--lm-butter); }

.section { padding: 88px 0; }
.section-tint { background: var(--lm-tint-light); }
.section-paper { background: var(--lm-paper); }
.section h2 { font-size: clamp(2.2rem, 4vw, 3.6rem); line-height: 1.1; }

/* ---------- cards + panels ---------- */
.card {
  background: var(--lm-paper); border: 1px solid var(--lm-line);
  padding: 32px; position: relative;
}
.card-sheet {
  background: var(--lm-paper); color: var(--lm-ink); padding: 36px 38px 32px; position: relative;
  box-shadow: 13px 16px 0 rgba(13, 46, 40, .14);
}
.card-sheet::before { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(23, 70, 59, .12); pointer-events: none; }
.card-sheet > * { position: relative; }
.card h2, .card-sheet h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.12; }
.card h3, .card-sheet h3 { font-size: 24px; line-height: 1.2; }
.card-kicker {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-size: 10px; letter-spacing: .14em; font-weight: 800; text-transform: uppercase; color: var(--lm-clay);
}

/* ---------- forms ---------- */
.field { margin-top: 20px; }
.field:first-child { margin-top: 0; }
.field-label, .field label:not(.checkbox-row) {
  display: block; font-size: 12px; font-weight: 800; margin-bottom: 8px; color: var(--lm-ink);
}
.field-tag { font-size: 9px; color: var(--lm-olive-ink); margin-left: 6px; letter-spacing: .08em; font-weight: 800; text-transform: uppercase; }
.input, .select, .textarea,
.field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea {
  appearance: none; display: block; width: 100%;
  border: 1px solid #d3d9c6; border-radius: 4px; background: #fffff8; color: var(--lm-ink);
  padding: 13px 14px; font-size: 15px; line-height: 1.5;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea, .textarea { min-height: 96px; resize: vertical; }
.field select, .select { max-width: 100%; text-overflow: ellipsis; }
.field select, .select {
  padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7'%3E%3Cpath d='m1 1 4.5 5L10 1' fill='none' stroke='%2317463b' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.field input:focus, .field select:focus, .field textarea:focus, .input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--lm-olive); box-shadow: 0 0 0 3px rgba(119, 147, 59, .2);
}
.field input::placeholder, .field textarea::placeholder { color: #9aa69a; }
.field-help { font-size: 12px; color: var(--lm-ink-soft); line-height: 1.6; margin-top: 7px; }
.field-error { font-size: 13px; color: var(--lm-error); font-weight: 700; margin-top: 7px; }
.checkbox-row { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--lm-ink-soft); cursor: pointer; line-height: 1.5; }
.checkbox-row input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--lm-pine); flex: none; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-row > .field { margin-top: 0; }

/* ---------- notices ---------- */
.notice {
  border: 1px solid var(--lm-line); background: var(--lm-paper); border-left: 4px solid var(--lm-sage);
  padding: 16px 18px; font-size: 14px; line-height: 1.6;
}
.notice strong { display: block; font-size: 13px; letter-spacing: .02em; }
.notice--info { border-left-color: var(--lm-sage); }
.notice--success { border-left-color: var(--lm-olive); background: var(--lm-success-bg); }
.notice--error { border-left-color: var(--lm-error); background: var(--lm-error-bg); color: #6d2a1d; }
.notice--warn { border-left-color: #d9a441; background: #fbf3d9; }
.badge {
  display: inline-block; padding: 6px 11px; border-radius: 99px; font-size: 10px; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase; background: var(--lm-tint); color: var(--lm-pine);
}
.badge-warn { background: #fbf0c8; color: #6b4e00; }

.check-list { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 12px; font-size: 14px; font-weight: 700; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list li::before {
  content: "✓"; display: grid; place-items: center; flex: none;
  width: 22px; height: 22px; border-radius: 50%; background: var(--lm-tint); color: var(--lm-pine); font-size: 12px;
}

/* ---------- footer ---------- */
.footer { background: var(--lm-pine-deep); color: var(--lm-on-dark); padding: 60px 0 0; }
.footer-main { display: flex; justify-content: space-between; gap: 50px; padding-bottom: 56px; }
.footer-blurb { font-size: 14px; color: var(--lm-on-dark-soft); max-width: 300px; margin-top: 14px; }
.footer .wordmark { font-size: 30px; }
.footer-links { display: flex; gap: 110px; }
.footer-links > div { display: flex; flex-direction: column; gap: 13px; }
.footer-links strong { font-size: 10px; letter-spacing: .15em; color: var(--lm-butter); margin-bottom: 4px; text-transform: uppercase; }
.footer-links a { font-size: 13px; text-decoration: none; color: var(--lm-on-dark-soft); }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .16); padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 15px;
  font-size: 11px; color: var(--lm-on-dark-soft);
}
.footer-bottom a { text-decoration: none; font-weight: 700; color: var(--lm-butter); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .container, .container-narrow { width: min(100% - 56px, 1240px); }
  .header-inner { gap: 18px; }
  .main-nav { gap: 18px; }
  .main-nav a, .header-link { font-size: 12px; }
}
@media (max-width: 900px) {
  .container, .container-narrow { width: min(100% - 40px, 1240px); }
  .header-inner { height: 70px; }
  .main-nav {
    display: none; position: absolute; top: 70px; left: -20px; right: -20px;
    background: var(--lm-paper); border-bottom: 1px solid var(--lm-line);
    flex-direction: column; align-items: stretch; padding: 14px 24px 24px; gap: 0;
    box-shadow: 0 22px 31px rgba(20, 44, 40, .13);
  }
  .main-nav.open { display: flex; }
  .main-nav a { font-size: 16px; padding: 13px 2px; border-bottom: 1px solid var(--lm-line); }
  .nav-link-mobile { display: block; }
  .menu-toggle {
    display: flex; flex-direction: column; gap: 6px; background: transparent; border: 0; padding: 10px; margin-left: 2px;
  }
  .menu-toggle span { display: block; width: 24px; height: 2px; background: var(--lm-ink); transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .header-actions { margin-left: auto; }
  .footer-links { gap: 64px; }
}
@media (max-width: 680px) {
  .container, .container-narrow { width: min(100% - 32px, 1240px); }
  .announcement { font-size: 8.5px; letter-spacing: .08em; gap: 10px; }
  .header-inner { height: 64px; }
  .main-nav { top: 64px; left: -16px; right: -16px; }
  .wordmark { font-size: 23px; }
  .header-link { display: none; }
  .header-gift { display: none; }
  .main-nav a.nav-link-gift { display: block; }
  .header-actions .button-small { padding: 10px 13px; font-size: 11px; }
  .page-hero { padding: 54px 0 60px; }
  .section { padding: 64px 0; }
  .card, .card-sheet { padding: 26px 20px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .field-row > .field { margin-top: 20px; }
  .footer { padding-top: 46px; }
  .footer-main { flex-direction: column; gap: 36px; padding-bottom: 40px; }
  .footer-links { gap: 48px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---- pages ----
 * Inner pages (subscribe, gift, thanks, gift-thanks, claim, unsubscribe,
 * story-ideas, legal). Appended by the 2026-11 redesign; rules above are the
 * shared system and are not overridden here.
 */

/* Quiet header for the purchase / claim / account funnel: wordmark plus one
   way back, no marketing nav competing with the form. */
.header-quiet .header-inner { height: 72px; }
.header-quiet .header-link { display: inline; }

/* Material Symbols are kept ONLY where page scripts set an icon by name
   (thanks, claim, unsubscribe): those strings are ligatures, not glyphs. */
.material-symbols-outlined { font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24; line-height: 1; }

/* Funnel layout: a short green band, then a paper sheet that overlaps it. */
.funnel-hero { padding: 64px 0 120px; text-align: center; }
.funnel-hero h1 { margin-inline: auto; font-size: clamp(2.4rem, 5vw, 4rem); }
.funnel-hero .lede { margin-inline: auto; }
.funnel-body { margin-top: -84px; padding-bottom: 96px; position: relative; z-index: 2; }
.funnel-body .card-sheet + .card-sheet, .funnel-body .card-sheet + .card, .funnel-body .card + .card { margin-top: 22px; }
.funnel-plain { padding: 72px 0 96px; min-height: 62vh; }
.funnel-center { text-align: center; }
.funnel-center h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); line-height: 1.08; }
.funnel-center .lede { margin: 16px auto 0; }
.section-divider { border: 0; border-top: 1px solid var(--lm-line); margin: 28px 0; }
.form-legend { font-family: var(--lm-serif); font-size: 26px; font-weight: 500; letter-spacing: -.03em; padding: 0; margin-bottom: 18px; }
fieldset.plain { border: 0; padding: 0; margin: 0; min-width: 0; }
.optional { font-weight: 500; color: var(--lm-ink-soft); }
.required { color: var(--lm-error); }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; color: var(--lm-pine); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.back-link:hover { color: var(--lm-olive-ink); }
.centered-row { display: flex; justify-content: center; margin-top: 30px; }

/* Status badge: the round icon at the top of thanks / claim / unsubscribe. */
.status-badge {
  display: inline-grid; place-items: center; width: 76px; height: 76px; border-radius: 50%;
  margin-bottom: 22px; border: 1px solid transparent;
}
.status-badge .material-symbols-outlined, .status-badge .glyph { font-size: 38px; }
.status-badge .glyph { font-family: var(--lm-serif); line-height: 1; }
.icon-primary { background: var(--lm-tint); border-color: var(--lm-sage); color: var(--lm-pine); }
.icon-tertiary { background: var(--lm-success-bg); border-color: var(--lm-olive); color: var(--lm-olive-ink); }
.icon-secondary { background: #fbf0c8; border-color: #e0c56a; color: #7a5b00; }
.icon-error { background: var(--lm-error-bg); border-color: #e7b6a6; color: var(--lm-error); }
.status-row { display: flex; gap: 14px; align-items: flex-start; text-align: left; }
.status-row .material-symbols-outlined { font-size: 24px; color: var(--lm-olive-ink); margin-top: 2px; }
.status-row strong { display: block; font-size: 16px; margin-bottom: 4px; }
.status-row p { font-size: 14px; color: var(--lm-ink-soft); line-height: 1.65; }
.status-row + .status-row { border-top: 1px solid var(--lm-line); padding-top: 18px; margin-top: 18px; }
.pulsing { animation: lm-pulse 1.6s ease-in-out infinite; }
@keyframes lm-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }
.spinner { display: inline-block; width: 32px; height: 32px; border-radius: 50%; border: 3px solid var(--lm-line); border-top-color: var(--lm-pine); animation: lm-spin .9s linear infinite; }
.spin { display: inline-block; animation: lm-spin .9s linear infinite; }
@keyframes lm-spin { to { transform: rotate(360deg); } }

/* subscribe.html plan picker */
.plan-option {
  display: flex; align-items: center; gap: 16px; padding: 18px 20px; cursor: pointer;
  border: 1px solid #d3d9c6; border-radius: 6px; background: #fffff8;
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.plan-option + .plan-option { margin-top: 10px; }
.plan-option:hover { border-color: var(--lm-sage); }
.plan-option.plan-selected { border-color: var(--lm-olive); background: var(--lm-tint-light); box-shadow: 0 0 0 2px rgba(119, 147, 59, .25); }
.plan-option .plan-dot { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #b9c2ad; flex: none; display: grid; place-items: center; }
.plan-option.plan-selected .plan-dot { border-color: var(--lm-pine); }
.plan-option.plan-selected .plan-dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--lm-pine); }
.plan-option .plan-name { display: block; font-family: var(--lm-serif); font-size: 22px; letter-spacing: -.02em; }
.plan-option .plan-note { display: block; font-size: 13px; color: var(--lm-ink-soft); }
.plan-option .plan-amount { display: block; font-family: var(--lm-serif); font-size: 26px; text-align: right; }
.plan-option .plan-per { display: block; font-size: 12px; color: var(--lm-ink-soft); text-align: right; }

/* gift.html summary box (price + claim deadline, shown BEFORE the buy button) */
.summary-box { background: var(--lm-tint-light); border: 1px solid var(--lm-line); padding: 22px 24px; }
.summary-box .summary-top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.summary-box .summary-title { font-family: var(--lm-serif); font-size: 22px; }
.summary-box .summary-price { font-family: var(--lm-serif); font-size: 34px; letter-spacing: -.03em; }
.summary-box p { font-size: 14px; color: var(--lm-ink-soft); margin-top: 8px; line-height: 1.6; }
.deadline { display: flex; gap: 12px; align-items: flex-start; border-top: 1px solid var(--lm-line); margin-top: 16px; padding-top: 16px; }
.deadline > span:first-child { font-size: 20px; color: var(--lm-clay); line-height: 1.3; }
.deadline p { margin: 0; color: var(--lm-ink); font-size: 15px; }
.deadline strong { color: var(--lm-pine); background: #f6efb8; padding: 0 4px; }
.char-count { font-size: 12px; color: var(--lm-ink-soft); margin-top: 6px; text-align: right; }

/* claim.html */
.code-input { font-family: ui-monospace, SFMono-Regular, Menlo, monospace !important; letter-spacing: .2em; text-transform: uppercase; text-align: center; font-size: 22px !important; }
.gift-quote { border-left: 3px solid var(--lm-lime); padding: 4px 0 4px 18px; margin: 0 0 18px; }
.gift-quote p { font-family: var(--lm-serif); font-style: italic; font-size: 21px; line-height: 1.5; }
.gift-quote cite { font-style: normal; font-size: 14px; color: var(--lm-ink-soft); display: block; margin-top: 6px; }
.gift-facts { display: grid; gap: 8px; font-size: 15px; color: var(--lm-ink-soft); }
.gift-facts span[aria-hidden] { color: var(--lm-clay); margin-right: 8px; }
code.ref { font-size: 13px; background: var(--lm-tint-light); padding: 2px 6px; border-radius: 3px; color: var(--lm-pine); }

@media (max-width: 680px) {
  .funnel-hero { padding: 44px 0 100px; }
  .funnel-plain { padding: 48px 0 72px; }
  .plan-option { padding: 16px; gap: 12px; }
  .plan-option .plan-name { font-size: 19px; }
  .plan-option .plan-amount { font-size: 22px; }
  .summary-box { padding: 18px; }
  .summary-box .summary-price { font-size: 28px; }
}
