/* ==========================================================================
   JauntJot — field-notebook-meets-departure-board
   A4T design studio expression layer (self-contained static build).
   Spine: A4T semantic tokens (--bg/--text/--surface-line), component grammar,
   accessibility floor. Expression dials set ONCE below.
   ========================================================================== */

:root {
  /* 1. Type voice — typewriter display + humanist body + shared hand face */
  --font-display: "Special Elite", "Courier New", monospace; /* typewriter-adjacent, per kit's "JauntJot Typewriter" */
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; /* kit body/interface face */
  --font-hand: "Caveat", "Bradley Hand", cursive;
  --font-mono: ui-monospace, "SF Mono", Menlo, monospace;

  /* 2. Palette — calibrated to Mike's brand style-guide board (2026-07-02 kit = canon).
     Kit hexes: Paper Cream #F7F2E6 (board prints "#F7F266" — baked-in typo; the swatch
     is cream, per ASSET_MAP), Ink Navy #0F1F33, Stamp Red #C43B2F, Sky Blue #7DA9C7,
     Luggage Tan #C8A26A, Graphite #4A4F58. --leaf is an app-only verdict green (not in kit). */
  --paper: #F7F2E6;
  --paper-deep: #EFE8D6;
  --ink: #0F1F33;
  --ink-soft: #4A4F58;
  --ink-faint: #5F6670; /* WCAG: darkened from #7D8590 (~3.3:1) → 5.19:1 on paper for small informational copy */
  --stamp: #C43B2F;
  --stamp-deep: #A32F25;
  --sky: #7DA9C7;
  --sky-soft: #D7E4EE;
  --kraft: #C8A26A;
  --leaf: #5E8C61;         /* decorative verdict green (fills, borders, tints) */
  --leaf-text: #457247;    /* WCAG: darkened leaf for TEXT uses — 5.01:1 on paper, 4.58:1 on paper-deep */

  --accent: var(--stamp);
  --accent-2: var(--kraft);
  --accent-support: var(--sky);
  --accent-contrast: #FFFFFF;

  /* semantic surfaces */
  --bg: var(--paper);
  --bg-elevated: #FDFBF4;
  --bg-sunken: var(--paper-deep);
  --surface-line: #D9CFB6;
  --surface-line-strong: #C3B692;
  --text: var(--ink);
  --text-muted: var(--ink-soft);
  --text-faint: var(--ink-faint);
  --text-link: var(--stamp-deep);

  /* 3. depth */
  --gradient-accent: linear-gradient(135deg, var(--stamp), var(--kraft));
  --surface-tint: #FBF7EC;

  /* 4. shape — ticket-stub: modest radii, perforation motif */
  --card-radius: 14px;
  --btn-radius: 10px;
  --chip-radius: 8px;

  /* 5. shadow tint — warm ink */
  --shadow-rgb: 58, 48, 30;
  --shadow-sm: 0 2px 6px rgba(var(--shadow-rgb), 0.08), 0 1px 2px rgba(var(--shadow-rgb), 0.06);
  --shadow-md: 0 8px 24px rgba(var(--shadow-rgb), 0.11), 0 2px 6px rgba(var(--shadow-rgb), 0.07);
  --shadow-soft: 0 1px 2px rgba(var(--shadow-rgb), 0.05), 0 10px 30px rgba(var(--shadow-rgb), 0.11);
  --highlight-inset: inset 0 1px 0 rgba(255, 255, 255, 0.6);

  /* 6. tempo — brisk but calm */
  --motion-scale: 0.95;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast: calc(120ms * var(--motion-scale));
  --dur-base: calc(200ms * var(--motion-scale));
  --dur-slow: calc(320ms * var(--motion-scale));

  /* 7. ambient — window-seat sky wash */
  --bg-glow-1: var(--sky);
  --bg-glow-2: var(--paper-deep);
  --bg-glow-3: var(--stamp);

  --focus-ring: rgba(196, 59, 47, 0.55);
  --tap-min: 2.75rem;
  color-scheme: light;
}

/* ---------- reset & base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
}
/* ambient window-seat wash on the shell itself (not a ::before — see suite note) */
body {
  background:
    radial-gradient(60rem 30rem at 85% -5%, color-mix(in srgb, var(--bg-glow-1) 22%, transparent), transparent 60%),
    radial-gradient(40rem 26rem at -10% 30%, color-mix(in srgb, var(--bg-glow-3) 7%, transparent), transparent 55%),
    radial-gradient(50rem 40rem at 50% 110%, color-mix(in srgb, var(--bg-glow-2) 65%, transparent), transparent 70%),
    var(--bg);
  /* no background-attachment:fixed — breaks scroll compositing in some
     renderers and iOS ignores it; the wash reads fine scrolling. */
}
/* full-page ambient background — the JauntJot hero photo behind the landing (PTP pattern).
   Paper-cream scrim (#F7F2E6) at .30 -> .44 -> .60 ties the photo to the brand + guarantees readability. */
.pagebg { position: fixed; inset: 0; z-index: -2; background: url("assets/hero-window-seat-notebook-web.webp") center center/cover no-repeat; }
.pagebg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(247,242,230,.30) 0%, rgba(247,242,230,.46) 45%, rgba(247,242,230,.66) 100%); }
/* let the wash show through the landing bands; cards stay solid + readable */
#landing, .hero, .feature-strip, .pricing, .faq, .land-crosssell, .land-foot { background: transparent; }
/* app screens keep their own opaque ambient wash — never dense tool UI over the photo */
#app { background: var(--bg); }

img, svg { max-width: 100%; }
[hidden] { display: none !important; }
a { color: var(--text-link); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.15; letter-spacing: 0.01em; }
h1 { font-size: clamp(1.9rem, 1.2rem + 3vw, 3.1rem); }
h2 { font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2rem); }
h3 { font-size: clamp(1.15rem, 1rem + 0.7vw, 1.4rem); }
p + p { margin-top: 0.75em; }

/* accessibility floor */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 2000;
  background: var(--ink); color: #fff; padding: 0.6rem 1rem; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 2px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ---------- brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 0.55rem; text-decoration: none; color: var(--text); }
.brand.as-btn { background: none; border: 0; cursor: pointer; font: inherit; }
.brand-name { font-family: var(--font-display); font-size: 1.25rem; letter-spacing: 0.03em; }
.brand-mark {
  width: 2rem; height: 2rem; display: inline-block; flex: none;
  background: url("/icon.svg") center/contain no-repeat;
}
.brand-mark.big { width: 3.5rem; height: 3.5rem; margin: 0 auto 0.75rem; display: block; }

/* ---------- buttons / chips / forms (spine grammar) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: var(--tap-min); padding: 0.55rem 1.15rem;
  font: 600 1rem var(--font-body); color: var(--text);
  background: var(--bg-elevated); border: 1.5px solid var(--surface-line-strong);
  border-radius: var(--btn-radius); cursor: pointer; text-decoration: none;
  box-shadow: var(--shadow-sm), var(--highlight-inset);
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--gradient-accent); color: var(--accent-contrast);
  border-color: var(--stamp-deep);
  box-shadow: 0 8px 22px rgba(200, 80, 58, 0.32), var(--highlight-inset);
}
.btn-quiet { background: transparent; border-color: transparent; box-shadow: none; color: var(--text-muted); }
.btn-quiet:hover { background: var(--bg-sunken); box-shadow: none; }
.btn-lg { padding: 0.8rem 1.6rem; font-size: 1.08rem; }
.btn-sm { min-height: 2.1rem; padding: 0.2rem 0.7rem; font-size: 0.9rem; }
.btn-block { width: 100%; }
.btn-danger { color: var(--stamp-deep); border-color: var(--stamp); }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; transform: none; }

.chip {
  display: inline-flex; align-items: center; gap: 0.35rem;
  min-height: var(--tap-min); padding: 0.35rem 0.8rem;
  border: 1.5px solid var(--surface-line-strong); border-radius: var(--chip-radius);
  background: var(--bg-elevated); font: 600 0.95rem var(--font-body); color: var(--text-muted);
  cursor: pointer; transition: all var(--dur-fast) var(--ease-out);
}
.chip:hover { border-color: var(--ink-soft); }
.chip.sel { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.5rem 0 1rem; }

label { display: block; font: 700 0.92rem var(--font-body); color: var(--text-muted); margin: 0.9rem 0 0.3rem; }
input[type="text"], input[type="password"], input[type="number"], select, textarea {
  width: 100%; min-height: var(--tap-min); padding: 0.55rem 0.8rem;
  font: 400 1rem var(--font-body); color: var(--text);
  background: var(--bg-elevated); border: 1.5px solid var(--surface-line-strong); border-radius: var(--btn-radius);
}
textarea { min-height: 5rem; resize: vertical; }
.err { color: var(--stamp-deep); font-weight: 600; margin-top: 0.4rem; }
.hint { color: var(--text-faint); font-size: 0.9rem; }

/* ---------- ticket-stub card motif (signature shape) ---------- */
.ticket {
  position: relative;
  background: var(--bg-elevated);
  border: 1.5px solid var(--surface-line-strong);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-soft), var(--highlight-inset);
}
.ticket::before, .ticket::after {
  content: ""; position: absolute; top: 50%; width: 18px; height: 18px;
  background: var(--bg); border: 1.5px solid var(--surface-line-strong); border-radius: 50%;
  transform: translateY(-50%);
}
.ticket::before { left: -10px; clip-path: inset(0 0 0 50%); border-left-color: transparent; }
.ticket::after { right: -10px; clip-path: inset(0 50% 0 0); border-right-color: transparent; }
.ticket-plain::before, .ticket-plain::after { display: none; }

/* perforation rule */
.perf { border: 0; border-top: 2px dashed var(--surface-line-strong); margin: 1rem 0; }

.eyebrow {
  font-family: var(--font-display); font-size: 0.85rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text-faint); margin-bottom: 0.5rem;
}
.eyebrow.red { color: var(--stamp-deep); }

/* stamp verdicts (signature moment) */
.stamp {
  display: inline-block; padding: 0.28rem 0.7rem;
  font-family: var(--font-display); font-size: 0.95rem; letter-spacing: 0.12em;
  color: var(--stamp-deep); border: 2.5px solid var(--stamp-deep); border-radius: 6px;
  transform: rotate(-4deg); background: rgba(200, 80, 58, 0.06);
  box-shadow: 0 0 0 1px rgba(200, 80, 58, 0.12) inset;
}
.stamp.strong { color: var(--leaf-text); border-color: var(--leaf); background: rgba(94, 140, 97, 0.08); }
.stamp.good { color: var(--ink); border-color: var(--ink); background: rgba(34, 49, 74, 0.05); }
.stamp.stretch { color: var(--kraft); border-color: var(--kraft); background: rgba(200, 155, 74, 0.1); }
.stamp.tough { color: var(--stamp-deep); border-color: var(--stamp-deep); }
@keyframes stampIn {
  0% { transform: rotate(-4deg) scale(1.6); opacity: 0; }
  60% { transform: rotate(-4deg) scale(0.95); opacity: 1; }
  100% { transform: rotate(-4deg) scale(1); opacity: 1; }
}
.stamp.just-in { animation: stampIn var(--dur-slow) var(--ease-spring) both; }

.hand { font-family: var(--font-hand); font-size: 1.25em; color: var(--stamp-deep); }

/* ---------- landing ---------- */
#landing { max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; }
.land-head { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 0; }
.hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2.5rem; align-items: center; padding: 2.5rem 0 3.5rem; }
.hero h1 em { font-style: normal; color: var(--stamp-deep); }
.lede { font-size: 1.18rem; color: var(--text-muted); margin-top: 1rem; max-width: 38em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.hero-fine { margin-top: 0.9rem; font-size: 0.92rem; color: var(--text-faint); }
.hero-svg { display: block; width: 100%; height: auto; filter: drop-shadow(0 14px 30px rgba(58, 48, 30, 0.18)); }
/* brand hero photos — landing only; app screens keep the ambient wash */
.hero-photo {
  display: block; width: 100%; height: auto;
  border: 3px solid var(--ink); border-radius: 24px;
  box-shadow: 0 14px 30px rgba(58, 48, 30, 0.18);
}
.mode-photo {
  display: block; width: calc(100% + 3.5rem); max-width: none; height: auto;
  margin: -1.75rem -1.75rem 1.25rem;
  border-bottom: 1.5px solid var(--surface-line-strong);
  border-radius: calc(var(--card-radius) - 2px) calc(var(--card-radius) - 2px) 0 0;
}
.moat-photo {
  display: block; width: 100%; height: auto;
  border: 2px solid var(--surface-line-strong); border-radius: var(--card-radius);
  box-shadow: var(--shadow-sm);
}
.moat-cols { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.75rem; align-items: center; }
.stamp-text { font-family: var(--font-display); font-size: 20px; }

.section-title { text-align: center; margin: 2.5rem 0 0.5rem; }
.section-sub { text-align: center; color: var(--text-muted); max-width: 46em; margin: 0.5rem auto 1.5rem; }
.modes { padding: 1rem 0 2rem; }
.mode-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 1.5rem; }
.mode-card { padding: 1.75rem; }
.mode-card h3 { margin: 0.25rem 0 0.75rem; }
.mode-list { margin: 1rem 0 0 1.1rem; color: var(--text-muted); }
.mode-list li { margin: 0.4rem 0; }

.moat { padding: 1.5rem 0 2.5rem; }
.moat-inner { padding: 2rem 2.25rem; background: linear-gradient(180deg, var(--sky-soft), var(--bg-elevated) 70%); }
.moat-inner p { color: var(--text-muted); max-width: 52em; }

.pricing { padding: 1rem 0 2rem; }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 1.5rem; }
.price-card { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; }
.price-card .price { font-family: var(--font-display); font-size: 1.8rem; }
.price-card ul { margin: 0.5rem 0 1rem 1.1rem; color: var(--text-muted); font-size: 0.97rem; }
.price-card li { margin: 0.35rem 0; }
.price-card .btn { margin-top: auto; }
.price-card.feature { border-color: var(--ink); box-shadow: 0 0 0 2px var(--ink), var(--shadow-soft); }

.evidence { padding: 0 0 3rem; }

/* feature strip — perforated luggage-tag row */
.feature-strip {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.25rem;
  border-top: 2px dashed var(--surface-line-strong);
  border-bottom: 2px dashed var(--surface-line-strong);
  padding: 1.4rem 0; margin: 0 0 1.5rem;
}
.feat h3 { font-size: 1.02rem; margin-bottom: 0.3rem; }
.feat p { color: var(--text-muted); font-size: 0.92rem; }

/* how-it-works steps */
.steps { padding: 1rem 0 2.25rem; }
.step-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-top: 1.5rem; }
.step-card { padding: 1.4rem 1.5rem; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.4rem; height: 2.4rem; margin-bottom: 0.6rem;
  font-family: var(--font-display); font-size: 1.2rem;
  color: var(--stamp-deep); border: 2.5px solid var(--stamp-deep); border-radius: 50%;
  background: rgba(200, 80, 58, 0.06); transform: rotate(-4deg);
}
.step-card h3 { font-size: 1.12rem; margin-bottom: 0.5rem; }
.step-card p { color: var(--text-muted); font-size: 0.95rem; }

/* faq */
.faq { max-width: 46rem; margin: 0 auto; padding: 0 0 2.5rem; }
.faq-item {
  background: var(--bg-elevated); border: 1.5px solid var(--surface-line-strong);
  border-radius: var(--card-radius); box-shadow: var(--shadow-sm); margin-top: 0.75rem;
}
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  min-height: var(--tap-min); padding: 0.85rem 1.2rem; cursor: pointer;
  font: 600 1.02rem var(--font-body); list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; flex: none; font-family: var(--font-display); font-size: 1.25rem;
  color: var(--text-faint); transition: transform var(--dur-fast) var(--ease-out);
}
.faq-item[open] summary::after { content: "\2013"; color: var(--stamp-deep); }
.faq-item .faq-a { padding: 0 1.2rem 1.1rem; color: var(--text-muted); }

/* final CTA */
.final-cta { padding: 0 0 3rem; }
.final-cta .cta-card { text-align: center; padding: 2.5rem 1.5rem; }
.final-cta .section-sub { margin-bottom: 1.25rem; }
.final-cta .hand { display: block; margin-top: 0.9rem; }

.land-foot { border-top: 2px dashed var(--surface-line-strong); padding: 1.75rem 0 2.5rem; text-align: center; color: var(--text-muted); }
.foot-links { display: flex; flex-wrap: wrap; gap: 1.25rem; justify-content: center; margin: 0.75rem 0; }
.foot-fine { font-size: 0.88rem; color: var(--text-faint); max-width: 52em; margin: 0.5rem auto 0; }

/* ---------- lockwall ---------- */
#lockwall { min-height: 100vh; display: grid; place-items: center; padding: 1.5rem; }
.lock-card { max-width: 26rem; width: 100%; padding: 2rem; text-align: center; }
.lock-card form { text-align: left; margin-top: 0.5rem; }
.lock-card .btn { margin-top: 1rem; }

/* ---------- app shell ---------- */
#app { max-width: 68rem; margin: 0 auto; padding: 0 1.25rem; min-height: 100vh; display: flex; flex-direction: column; }
.app-head {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.9rem 0; border-bottom: 2px dashed var(--surface-line-strong);
  flex-wrap: wrap;
}
.app-nav { display: flex; gap: 0.25rem; flex-wrap: wrap; }
.app-nav a {
  display: inline-flex; align-items: center; min-height: var(--tap-min); padding: 0.3rem 0.9rem;
  font: 600 0.98rem var(--font-body); color: var(--text-muted); text-decoration: none;
  border-radius: var(--btn-radius); border: 1.5px solid transparent;
}
.app-nav a:hover { background: var(--bg-sunken); }
.app-nav a.active { color: var(--text); border-color: var(--surface-line-strong); background: var(--bg-elevated); box-shadow: var(--shadow-sm); font-family: var(--font-display); font-weight: 400; letter-spacing: 0.03em; }
.app-main { flex: 1; padding: 1.75rem 0 3rem; }
.app-foot { border-top: 2px dashed var(--surface-line-strong); padding: 1.25rem 0 2rem; text-align: center; color: var(--text-muted); font-size: 0.95rem; }

.view-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.view-head .hand { font-size: 1.35rem; }

/* ---------- compare board ---------- */
.board { display: grid; grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr)); gap: 1.25rem; margin-top: 1rem; }
.dest-card { padding: 1.25rem 1.4rem; display: flex; flex-direction: column; gap: 0.6rem; }
.dest-card .dest-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 0.5rem; }
.dest-card h3 { font-size: 1.3rem; }
.dest-total { font-family: var(--font-display); font-size: 1.5rem; color: var(--ink); }
.scorebars { display: grid; gap: 0.45rem; margin: 0.35rem 0; }
.scorebar { display: grid; grid-template-columns: 9.5rem 1fr 2.4rem; align-items: center; gap: 0.55rem; font-size: 0.88rem; color: var(--text-muted); }
.scorebar .bar { display: block; height: 8px; border-radius: 99px; background: var(--bg-sunken); overflow: hidden; border: 1px solid var(--surface-line); }
.scorebar .fill { display: block; height: 100%; border-radius: 99px; background: var(--gradient-accent); transition: width var(--dur-slow) var(--ease-out); }
.scorebar.s-high .fill { background: linear-gradient(90deg, var(--leaf), #7FA97F); }
.scorebar.s-low .fill { background: linear-gradient(90deg, var(--stamp), var(--stamp-deep)); }
.why-list { margin: 0.4rem 0 0; padding-left: 1.05rem; color: var(--text-muted); font-size: 0.93rem; }
.why-list li { margin: 0.3rem 0; }
.win-row { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.win-pill {
  font-size: 0.85rem; font-weight: 600; padding: 0.15rem 0.6rem; border-radius: 99px;
  border: 1.5px solid var(--leaf); color: var(--leaf-text); background: rgba(94, 140, 97, 0.07);
}
.win-pill.miss { border-color: var(--surface-line-strong); color: var(--text-faint); border-style: dashed; background: none; }
.dest-actions { display: flex; gap: 0.5rem; margin-top: 0.4rem; flex-wrap: wrap; }
.constraint-strip { padding: 1rem 1.3rem; display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; align-items: center; font-size: 0.95rem; color: var(--text-muted); }
.constraint-strip strong { color: var(--text); font-weight: 700; }

/* ---------- day slats ---------- */
.slats { display: grid; gap: 1rem; margin-top: 1rem; }
.slat { padding: 1rem 1.25rem; }
.slat-head { display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.slat-title { font-family: var(--font-display); font-size: 1.15rem; }
.slat-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; margin-top: 0.75rem; }
.slot { background: var(--bg-sunken); border: 1.5px dashed var(--surface-line-strong); border-radius: 10px; padding: 0.6rem; min-height: 5.4rem; }
.slot-label { font: 700 0.78rem var(--font-body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 0.35rem; }
.anchor-pill {
  display: flex; align-items: center; justify-content: space-between; gap: 0.4rem;
  background: var(--bg-elevated); border: 1.5px solid var(--surface-line-strong); border-radius: 8px;
  padding: 0.35rem 0.55rem; font-size: 0.92rem; font-weight: 600; margin-bottom: 0.35rem;
}
.anchor-pill button { background: none; border: 0; cursor: pointer; color: var(--text-faint); font-size: 1rem; min-width: 1.75rem; min-height: 1.75rem; }
.add-anchor { width: 100%; min-height: 2.2rem; font-size: 0.88rem; }
.pace-note { margin-top: 0.6rem; font-size: 0.93rem; padding: 0.55rem 0.8rem; border-radius: 8px; }
.pace-ok { background: rgba(94, 140, 97, 0.1); color: #3E6B41; }
.pace-busy { background: rgba(200, 155, 74, 0.14); color: #8A6420; }
.pace-overstuffed { background: rgba(200, 80, 58, 0.12); color: var(--stamp-deep); font-weight: 600; }

/* ---------- city scout ---------- */
.scout-form { padding: 1.4rem; margin-bottom: 1.25rem; }
.plan-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr)); gap: 1.25rem; }
.plan-card { padding: 1.3rem 1.4rem; display: flex; flex-direction: column; gap: 0.65rem; }
.plan-card h3 { color: var(--ink); }
.plan-step { display: grid; grid-template-columns: 1.9rem 1fr; gap: 0.6rem; align-items: start; }
.step-glyph { width: 1.9rem; height: 1.9rem; flex: none; color: var(--ink-soft); }
.plan-step strong { display: block; }
.plan-step p { color: var(--text-muted); font-size: 0.95rem; }
.why-box { background: var(--sky-soft); border-radius: 10px; padding: 0.7rem 0.9rem; font-size: 0.92rem; }
.why-box .why-title { font: 700 0.8rem var(--font-body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 0.3rem; }
.why-box ul { margin-left: 1.05rem; color: var(--ink-soft); }
.verify-line { font-size: 0.85rem; color: var(--text-faint); font-style: italic; }
.city-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); gap: 0.6rem; margin: 0.75rem 0 1rem; }
.city-tile {
  padding: 0.6rem 0.75rem; text-align: left; cursor: pointer;
  background: var(--bg-elevated); border: 1.5px solid var(--surface-line-strong); border-radius: 10px;
  font: 600 0.95rem var(--font-body); color: var(--text-muted); min-height: var(--tap-min);
  transition: all var(--dur-fast) var(--ease-out);
}
.city-tile:hover { border-color: var(--ink-soft); transform: translateY(-1px); }
.city-tile.sel { background: var(--ink); color: #fff; border-color: var(--ink); font-family: var(--font-display); font-weight: 400; }
.city-tile.locked { opacity: 0.55; }
.city-tile .st { display: block; font-size: 0.78rem; font-weight: 400; opacity: 0.75; }

/* ---------- coach ---------- */
.coach-wrap { max-width: 44rem; margin: 0 auto; }
.coach-log { display: grid; gap: 0.9rem; margin: 1.25rem 0; }
.msg { padding: 0.85rem 1.1rem; border-radius: 12px; max-width: 92%; }
.msg.user { background: var(--ink); color: #fff; justify-self: end; border-bottom-right-radius: 4px; }
.msg.bot { background: var(--bg-elevated); border: 1.5px solid var(--surface-line); justify-self: start; border-bottom-left-radius: 4px; box-shadow: var(--shadow-sm); }
.msg.bot .src { display: block; margin-top: 0.5rem; font-size: 0.82rem; color: var(--text-faint); }
.coach-form { display: flex; gap: 0.5rem; }
.coach-form input { flex: 1; }
.mode-tag { font-size: 0.78rem; color: var(--text-faint); letter-spacing: 0.06em; text-transform: uppercase; }

/* ---------- profile ---------- */
.profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; align-items: start; }
.pcard { padding: 1.3rem 1.4rem; }
.traveler-row { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; padding: 0.5rem 0; border-bottom: 1px dashed var(--surface-line); }
.traveler-row .meta { color: var(--text-faint); font-size: 0.88rem; }

/* ---------- mascot / empty states ---------- */
.empty { text-align: center; padding: 2.25rem 1rem; color: var(--text-muted); }
.empty .mascot { width: 7.5rem; margin: 0 auto 0.75rem; }
.empty .hand { display: block; margin-top: 0.4rem; }

/* ---------- modal / toast / celebrate ---------- */
.modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 1rem; }
.modal-scrim { position: absolute; inset: 0; background: rgba(34, 49, 74, 0.5); }
.modal-card { position: relative; max-width: 34rem; width: 100%; max-height: 86vh; overflow: auto; padding: 1.75rem; }
.modal-close { position: absolute; top: 0.6rem; right: 0.6rem; background: none; border: 0; font-size: 1.2rem; cursor: pointer; color: var(--text-faint); min-width: var(--tap-min); min-height: var(--tap-min); }

.toast {
  position: fixed; bottom: 1.25rem; left: 50%; transform: translateX(-50%); z-index: 1100;
  background: var(--ink); color: #fff; padding: 0.65rem 1.2rem; border-radius: 99px;
  font-weight: 600; box-shadow: var(--shadow-md); max-width: min(92vw, 34rem); text-align: center;
}

.celebrate { position: fixed; inset: 0; z-index: 1200; pointer-events: none; overflow: hidden; }
.confetti {
  position: absolute; top: -3vh; width: 9px; height: 14px; border-radius: 2px;
  animation: confFall linear both;
}
@keyframes confFall {
  0% { transform: translateY(-4vh) rotate(0); opacity: 1; }
  100% { transform: translateY(106vh) rotate(560deg); opacity: 0.7; }
}
.celebrate .pop {
  position: absolute; left: 50%; top: 38%; transform: translate(-50%, -50%);
  text-align: center; animation: popIn var(--dur-slow) var(--ease-spring) both;
}
@keyframes popIn { 0% { transform: translate(-50%, -50%) scale(0.6); opacity: 0; } 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; } }
.celebrate .ctext {
  font-family: var(--font-display); font-size: 1.4rem; color: var(--ink);
  background: var(--bg-elevated); border: 2px solid var(--ink); border-radius: 12px;
  padding: 0.7rem 1.3rem; box-shadow: var(--shadow-md);
}

/* entrance */
@keyframes riseIn { 0% { opacity: 0; transform: translateY(10px); } 100% { opacity: 1; transform: none; } }
.rise { animation: riseIn var(--dur-slow) var(--ease-out) both; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 1.25rem; }
  .hero-art { order: -1; width: 100%; max-width: 26rem; margin: 0 auto; }
  .mode-grid, .price-grid, .profile-grid { grid-template-columns: 1fr; }
  .moat-cols { grid-template-columns: 1fr; }
  .slat-slots { grid-template-columns: 1fr; }
  .scorebar { grid-template-columns: 7.5rem 1fr 2.4rem; }
  .feature-strip { grid-template-columns: 1fr 1fr; }
  .step-grid { grid-template-columns: 1fr; }
}
@media (max-width: 1024px) and (min-width: 861px) {
  .feature-strip { grid-template-columns: repeat(3, 1fr); }
  .step-grid { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   AUDIENCE LAYER — trust band · founder note · capture · cross-sell · share
   (paper / ink / stamp palette; spec A4T_AUDIENCE_LAYER_2026-07-03 §4/§5)
   ========================================================================== */

/* trust band — sits under the hero, message-match honest chips */
.trust-band { padding: 0.25rem 0 1.75rem; }
.trust-chips {
  list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem 0.75rem;
  justify-content: center; margin: 0; padding: 0;
}
.trust-chips li {
  font: 600 0.9rem var(--font-body); color: var(--text-muted);
  background: var(--bg-elevated); border: 1.5px solid var(--surface-line-strong);
  border-radius: 999px; padding: 0.4rem 0.9rem; position: relative;
}
.trust-chips li::before {
  content: "✓"; color: var(--leaf); font-weight: 800; margin-right: 0.4rem;
}

/* founder's note — honest social proof stand-in, Mike's voice */
.founder { padding: 0 0 2.5rem; }
.founder-inner { max-width: 46rem; margin: 0 auto; padding: 2rem 1.75rem; }
.founder-inner h2 { margin-bottom: 0.9rem; }
.founder-inner p { color: var(--text-muted); margin-bottom: 0.85rem; }
.founder-sign { font-family: var(--font-hand); font-size: 1.35rem; color: var(--stamp-deep); margin-top: 0.4rem; }

/* consented capture card (shown at the reward moment) */
.capture { margin-top: 1.5rem; padding: 1.4rem 1.5rem; }
.capture h3 { margin-bottom: 0.35rem; }
.capture .cap-sub { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 0.9rem; }
.capture .cap-row { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.capture input[type="email"] { flex: 1 1 14rem; min-width: 0; }
.cap-consents { margin-top: 0.9rem; display: grid; gap: 0.55rem; }
.cap-consents label {
  display: flex; gap: 0.6rem; align-items: flex-start; margin: 0;
  font: 500 0.92rem var(--font-body); color: var(--text-muted); text-transform: none; letter-spacing: 0;
}
.cap-consents input[type="checkbox"] { width: 1.2rem; height: 1.2rem; margin-top: 0.1rem; min-height: 0; flex: none; }
.cap-fine { font-size: 0.82rem; color: var(--text-faint); margin-top: 0.75rem; }
.cap-fine a { color: var(--text-link); }
.cap-done { display: flex; gap: 0.6rem; align-items: center; color: var(--leaf-text); font-weight: 700; }

/* cross-sell — "Also from Apps 4 That" sibling cards */
.a4t-crosssell { margin-top: 1.75rem; }
.a4t-crosssell__label {
  font-family: var(--font-display); font-size: 0.85rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text-faint); margin-bottom: 0.6rem;
}
.a4t-crosssell__card {
  display: block; text-decoration: none; padding: 0.85rem 1.1rem; margin-bottom: 0.6rem;
  background: var(--bg-elevated); border: 1.5px solid var(--surface-line-strong);
  border-radius: var(--card-radius); box-shadow: var(--shadow-sm);
  transition: border-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.a4t-crosssell__card:hover { border-color: var(--ink-soft); transform: translateY(-1px); }
.a4t-crosssell__name { display: block; font: 700 1.05rem var(--font-display); color: var(--text); letter-spacing: 0.02em; }
.a4t-crosssell__tag { display: block; font-size: 0.92rem; color: var(--text-muted); margin-top: 0.15rem; }

.land-crosssell { max-width: 34rem; margin: 0.5rem auto 0; text-align: left; }
.land-crosssell .a4t-crosssell__label { text-align: center; }

/* share action — the viral loop */
.share-row { display: flex; gap: 0.6rem; flex-wrap: wrap; align-items: center; margin-top: 1rem; }
@media (max-width: 860px) {
  .founder-inner { padding: 1.5rem 1.25rem; }
  .capture .cap-row { flex-direction: column; }
  .capture .cap-row .btn { width: 100%; }
}

/* Mobile launch polish: keep the field-notebook hero inside one phone canvas. */
@media (max-width: 600px) {
  html, body, #landing { max-width: 100%; overflow-x: hidden; }
  #landing { padding: 0 1rem; }
  .land-head { gap: 10px; padding: 0.9rem 0; overflow: hidden; }
  .brand { min-width: 0; gap: 0.45rem; }
  .brand-mark { width: 1.75rem; height: 1.75rem; }
  .brand-name { font-size: 1.12rem; }
  .land-head .btn { flex: none; padding: 0.48rem 0.8rem; font-size: 0.92rem; white-space: nowrap; }
  .hero { min-width: 0; gap: 1.5rem; padding: 1.2rem 0 2.5rem; }
  .hero > * { min-width: 0; }
  .hero-art { width: 100%; max-width: 100%; margin: 0 auto; }
  .hero-photo { border-radius: 18px; }
  .eyebrow { font-size: 0.76rem; line-height: 1.45; letter-spacing: 0.12em; }
  .hero h1 { font-size: clamp(2rem, 10vw, 2.55rem); line-height: 1.13; max-width: 100%; }
  .lede { font-size: 1rem; line-height: 1.55; max-width: 100%; }
  .hero-ctas { display: grid; grid-template-columns: 1fr; gap: 0.65rem; width: 100%; }
  .hero-ctas .btn { width: 100%; min-width: 0; white-space: normal; text-align: center; }
  .trust-chips { gap: 0.5rem; }
  .trust-chips li { max-width: 100%; font-size: 0.88rem; }
}
