/* ============================================================
   Spark Family Season Notes — site-specific overrides
   The shared design system (spark-system.css) does the heavy
   lifting. This file only holds what is unique to this site:
   the family-facing mock components (Rider Passport card,
   Day Note card, Handoff Note sheet, Parent Dashboard shell).
   Brand: Spark green #24463A + Spark gold #D4A646.
   ============================================================ */

/* ============================================================
   FINAL DESIGN POLISH  (2026-06-25)
   Craft layer only — warm, calm, reassuring, premium parent-first.
   Core tokens unchanged; this file elevates type rhythm, hero
   depth, card chrome, the family mocks, and micro-interactions.
   spark-system.css edits were minimal + additive (noted there).
   ============================================================ */

/* ---------- Typographic rhythm & comfortable measure ---------- */
/* Lead/intro copy reads best at ~60–64ch; keep section intros centered
   without running edge to edge on wide screens. */
.section .center.measure { max-width: 60ch; }
.section .center.measure .lead { max-width: 56ch; margin-inline: auto; }
.hero .lead { max-width: 60ch; }
.hero.hero--dark .center.measure .lead,
.hero .center.measure .lead { margin-inline: auto; }
/* Soft, confident headings: a hair more air under display type. */
h1 { letter-spacing: -.015em; }
h2 { letter-spacing: -.01em; }
.section h2 { margin-bottom: .35em; }
/* Gentle, consistent eyebrow→heading spacing. */
.eyebrow + h1, .eyebrow + h2 { margin-top: .1rem; }
/* Body links inside prose: warm underline that confirms on hover. */
main p a { color: var(--green-700); text-decoration-color: var(--gold-300); }
main p a:hover { color: var(--green-800); text-decoration-color: var(--gold-500); }

/* ---------- Brand wordmark in header ---------- */
.brand-words { display: inline-flex; flex-direction: column; }
.brand:hover .brand-name { color: var(--green-700); }
/* Slightly stronger sticky-header presence on scroll-heavy pages. */
.site-header { box-shadow: 0 1px 0 var(--line); }

/* ============================================================
   HERO — warm, calm depth
   Light heroes get a soft green-tinted field + an SVG mountain/
   snow/spark motif so the page opens with reassurance, not a
   flat white wireframe. Dark heroes keep the system gradient and
   gain the same motif in a snow-on-green key.
   ============================================================ */
.hero {
  background:
    radial-gradient(120% 90% at 88% -10%, var(--green-050) 0%, rgba(243,247,244,0) 58%),
    radial-gradient(90% 70% at 6% 4%, rgba(212,166,70,.07) 0%, rgba(212,166,70,0) 60%),
    linear-gradient(180deg, #fbfdfb 0%, var(--paper) 70%);
  border-bottom: 1px solid var(--line);
}
.hero--dark { border-bottom: 0; }

/* The scene motif: gentle layered mountains + snow + a soft spark.
   Rendered as an inline SVG dropped into the hero (.hero-scene).
   Sits behind content, never interactive. */
.hero-scene {
  position: absolute; inset: auto 0 0 0; bottom: 0; left: 0; right: 0;
  width: 100%; height: clamp(140px, 22vw, 230px);
  pointer-events: none; z-index: 0; overflow: hidden;
}
.hero-scene svg { width: 100%; height: 100%; display: block; }
/* Dark heroes: motif uses explicit dark-green fills; just settle it gently. */
.hero--dark .hero-scene { opacity: .85; }
.hero .container { position: relative; z-index: 1; }
/* Make sure the spark-glow reads above the field but below content. */
.spark-glow { z-index: 0; }
/* On light heroes, lift the device/mock a touch off the field. */
.hero:not(.hero--dark) .device { box-shadow: var(--shadow-float); }

/* A soft "snow dusting" of sparks for the index hero only. */
.hero-sparkle { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.hero-sparkle i {
  position: absolute; width: 6px; height: 6px; border-radius: 50%;
  background: radial-gradient(circle, var(--gold-300) 0%, rgba(212,166,70,0) 70%);
  opacity: .0; animation: sparkTwinkle 6s var(--ease) infinite;
}
.hero-sparkle i:nth-child(1){ left: 14%; top: 26%; animation-delay: .2s; }
.hero-sparkle i:nth-child(2){ left: 32%; top: 14%; width: 4px; height: 4px; animation-delay: 1.7s; }
.hero-sparkle i:nth-child(3){ left: 58%; top: 22%; animation-delay: 3.1s; }
.hero-sparkle i:nth-child(4){ left: 78%; top: 12%; width: 5px; height: 5px; animation-delay: 2.4s; }
.hero-sparkle i:nth-child(5){ left: 90%; top: 30%; width: 4px; height: 4px; animation-delay: 4.2s; }
.hero--dark .hero-sparkle i { background: radial-gradient(circle, #fff 0%, rgba(255,255,255,0) 70%); }
@keyframes sparkTwinkle {
  0%, 100% { opacity: 0; transform: translateY(0) scale(.7); }
  45% { opacity: .85; transform: translateY(-4px) scale(1); }
}

/* ---------- Hero supporting bits ---------- */
.hero-note { font-size: var(--fs-sm); color: var(--ink-500); margin-top: var(--s2); }
.hero--dark .hero-note { color: var(--green-200); }
.trust-strip {
  display: flex; flex-wrap: wrap; gap: var(--s1) var(--s3);
  margin-top: var(--s3); padding: 0; list-style: none;
}
.trust-strip li {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: var(--fs-sm); font-weight: 600; color: var(--green-700);
}
.hero--dark .trust-strip li { color: var(--green-200); }
.trust-strip li::before {
  content: ''; width: 1rem; height: 1rem; border-radius: 50%; flex: none;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.2 2.2 4.6-4.8' fill='none' stroke='%2324463a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat,
    var(--gold-300);
  box-shadow: 0 0 0 3px var(--gold-100);
}
.hero--dark .trust-strip li::before { box-shadow: 0 0 0 3px rgba(212,166,70,.18); }

/* ============================================================
   CARDS — refined chrome, soft elevation, consistent icons
   ============================================================ */
.card {
  border-color: var(--line);
  box-shadow: var(--shadow-soft);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.card--hover:hover { transform: translateY(-5px); box-shadow: var(--shadow-float); border-color: var(--green-200); }
/* Accent ribbon cards: warmer top rule + faint gradient lift. */
.card--accent { border-top-width: 3px; background: linear-gradient(180deg, #fff 0%, var(--paper-warm) 140%); }
.card--feature { box-shadow: var(--shadow-soft); }

/* Feature-icon chip: one consistent inline-SVG icon set across pages.
   The card__icon already styles the chip; here we warm it and give a
   gold-keyed hover so feature rows feel alive but calm. */
.card__icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: linear-gradient(160deg, var(--green-050), var(--green-100));
  color: var(--green-700); box-shadow: inset 0 0 0 1px rgba(36,70,58,.06);
}
.card--hover:hover .card__icon { background: linear-gradient(160deg, var(--gold-100), var(--green-100)); color: var(--green-800); }
.card__icon svg { width: 24px; height: 24px; }

/* Section-heading divider: a short gold rule under centered intros for rhythm. */
.center.measure > h2::after {
  content: ''; display: block; width: 44px; height: 3px; border-radius: 3px;
  margin: .7rem auto 0; background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
}
.section--dark .center.measure > h2::after { background: linear-gradient(90deg, var(--gold-300), var(--gold-500)); }

/* Badges: a touch more presence, warm ring. */
.badge { box-shadow: inset 0 0 0 1px rgba(182,136,58,.18); }

/* ============================================================
   MOCK: Rider Passport card  (shared across pages)
   A small, friendly profile card built entirely in HTML/CSS.
   ============================================================ */
.mock-passport {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  padding: var(--s4);
  max-width: 380px;
  margin-inline: auto;
}
.mock-passport__head {
  display: flex; align-items: center; gap: .6rem;
  padding-bottom: var(--s2); margin-bottom: var(--s3);
  border-bottom: 1px solid var(--line);
}
.mock-passport__avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  background: var(--green-100); color: var(--green-700);
  display: grid; place-items: center;
  font-family: var(--font-serif); font-weight: 700; font-size: 1.25rem;
}
.mock-passport__who { display: grid; gap: 2px; }
.mock-passport__name { font-family: var(--font-serif); font-weight: 700; color: var(--green-800); font-size: 1.15rem; line-height: 1; }
.mock-passport__meta { font-size: var(--fs-xs); color: var(--muted); }
.mock-passport__trend {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--green-050); border-radius: var(--r-md);
  padding: .7rem 1rem; margin-bottom: var(--s3);
}
.mock-passport__trend span { font-size: var(--fs-sm); color: var(--ink-700); }
.mock-passport__trend strong { color: var(--green-700); font-family: var(--font-serif); }
.mock-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; }
.mock-list li {
  display: grid; gap: 1px;
  border-left: 3px solid var(--gold-300); padding-left: .7rem;
}
.mock-list li span { font-size: var(--fs-xs); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.mock-list li strong { font-weight: 600; color: var(--ink-900); font-size: var(--fs-sm); }
.mock-passport__foot {
  display: flex; flex-wrap: wrap; gap: .5rem;
  margin-top: var(--s3); padding-top: var(--s3);
  border-top: 1px solid var(--line);
}

/* ============================================================
   MOCK PRODUCT-UI POLISH  (the hero of the explainer pages)
   Goal: realistic card chrome + soft depth so these read as a
   real, trustworthy product — not flat demos.
   ============================================================ */

/* Shared: lift every mock onto a believable surface with a faint
   top sheen and a soft floor shadow. */
.mock-passport, .mock-daynote, .mock-handoff {
  box-shadow: var(--shadow-float);
  position: relative;
}
.mock-passport::before, .mock-handoff__head::after { content: none; }

/* The device frame: a calmer product "window" with a faux titlebar dot row. */
.device { position: relative; padding-top: calc(var(--s4) + .6rem); }
.device::before {
  content: ''; position: absolute; left: var(--s4); top: 1.05rem;
  width: 36px; height: 7px; border-radius: var(--r-pill);
  background:
    radial-gradient(circle 3.5px at 4px 3.5px, var(--green-200) 99%, transparent) 0 0,
    radial-gradient(circle 3.5px at 4px 3.5px, var(--green-200) 99%, transparent) 14px 0,
    radial-gradient(circle 3.5px at 4px 3.5px, var(--green-200) 99%, transparent) 28px 0;
  background-repeat: no-repeat; opacity: .8;
}
.hero--dark .device::before {
  background:
    radial-gradient(circle 3.5px at 4px 3.5px, rgba(255,255,255,.4) 99%, transparent) 0 0,
    radial-gradient(circle 3.5px at 4px 3.5px, rgba(255,255,255,.4) 99%, transparent) 14px 0,
    radial-gradient(circle 3.5px at 4px 3.5px, rgba(255,255,255,.4) 99%, transparent) 28px 0;
  background-repeat: no-repeat;
}

/* --- Rider Passport --- */
.mock-passport__avatar {
  background: linear-gradient(160deg, var(--green-100), var(--green-200));
  box-shadow: inset 0 0 0 1px rgba(36,70,58,.08);
}
.mock-passport__trend {
  background: linear-gradient(120deg, var(--green-050), #fff);
  border: 1px solid var(--green-100);
  position: relative; overflow: hidden;
}
.mock-passport__trend::after {
  content: ''; position: absolute; right: -8px; top: -8px; width: 54px; height: 54px;
  border-radius: 50%; background: radial-gradient(circle, rgba(212,166,70,.16), transparent 70%);
}
.mock-list li { transition: border-color .2s var(--ease); }
.mock-list li strong { line-height: 1.35; }

/* --- Day Note: confidence meter as a real, tick-marked control --- */
.mock-daynote__bar { box-shadow: inset 0 -1px 0 rgba(0,0,0,.12); }
.mock-mood__track {
  height: 10px; background: var(--green-100);
  box-shadow: inset 0 1px 2px rgba(36,70,58,.12);
  position: relative;
}
/* subtle tick marks every 25% so the meter reads as a measured scale (sit beneath the fill) */
.mock-mood__track::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: repeating-linear-gradient(90deg, transparent 0 calc(25% - 1px), rgba(255,255,255,.6) calc(25% - 1px) 25%);
  pointer-events: none; z-index: 1;
}
.mock-mood__fill {
  background: linear-gradient(90deg, var(--gold-500) 0%, var(--green-500) 100%);
  box-shadow: 0 0 0 1px rgba(36,70,58,.06);
  position: relative; z-index: 2;
}
.mock-mood__fill::after {
  content: ''; position: absolute; right: -1px; top: 50%; transform: translateY(-50%);
  width: 12px; height: 12px; border-radius: 50%; background: #fff;
  box-shadow: 0 1px 3px rgba(36,70,58,.35), inset 0 0 0 2px var(--green-500);
}
.mock-mood__label { background: var(--green-050); padding: .15em .6em; border-radius: var(--r-pill); }

/* --- Handoff Note: the "Approve to share" gate as a real control --- */
.mock-handoff__head { position: relative; }
.mock-handoff__head::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(70% 120% at 90% -20%, rgba(212,166,70,.22), transparent 60%);
}
.mock-handoff__head h3 { position: relative; }
.mock-handoff__clip { transition: background .2s, border-color .2s; }
.mock-handoff__actions { gap: .5rem; align-items: center; }
/* Edit / Copy read as quiet secondary controls. */
.mock-btn {
  box-shadow: var(--shadow-sm);
  transition: transform .15s var(--ease), box-shadow .2s var(--ease), background .2s;
}
/* The approve control: a confident gate with a lock→check affordance,
   pushed to the right so it reads as the primary, deliberate action. */
.mock-btn--solid {
  margin-left: auto;
  background: linear-gradient(180deg, var(--green-600), var(--green-700));
  box-shadow: 0 1px 2px rgba(20,40,30,.2), 0 8px 18px -8px rgba(36,70,58,.5);
  padding-left: .9em;
}
.mock-btn--solid::before {
  content: ''; width: 14px; height: 14px; flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l2.6 2.6L12.5 5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
.mock-approve-note { display: flex; align-items: center; gap: .4rem; }
.mock-approve-note::before {
  content: ''; width: 13px; height: 13px; flex: none; opacity: .7;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Crect x='3' y='7' width='10' height='7' rx='1.4' fill='none' stroke='%235d6b64' stroke-width='1.4'/%3E%3Cpath d='M5.2 7V5.4a2.8 2.8 0 0 1 5.6 0V7' fill='none' stroke='%235d6b64' stroke-width='1.4'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ---------- Small status chips ---------- */
.chip {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: var(--fs-xs); font-weight: 600;
  padding: .3em .7em; border-radius: var(--r-pill);
  background: var(--green-700); color: #fff;
}
.chip--soft { background: var(--green-050); color: var(--green-700); }
.chip--gold { background: var(--gold-100); color: var(--gold-700); }
.chip::before { content: ''; width: .4rem; height: .4rem; border-radius: 50%; background: currentColor; opacity: .8; }
.chip--lock::before { content: '\1F512'; width: auto; height: auto; background: none; opacity: 1; font-size: .8em; }

/* ============================================================
   MOCK: Day Note card
   ============================================================ */
.mock-daynote {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  max-width: 420px;
  margin-inline: auto;
}
.mock-daynote__bar {
  background: var(--green-700); color: #fff;
  padding: .8rem 1.1rem;
  display: flex; align-items: center; justify-content: space-between; gap: var(--s2);
}
.mock-daynote__date { font-family: var(--font-serif); font-weight: 600; font-size: var(--fs-md); color: #fff; }
.mock-daynote__where { font-size: var(--fs-xs); color: var(--green-200); }
.mock-daynote__body { padding: var(--s3) var(--s4) var(--s4); display: grid; gap: var(--s3); }
.mock-qa { display: grid; gap: .25rem; }
.mock-qa__q { font-size: var(--fs-xs); letter-spacing: .04em; text-transform: uppercase; color: var(--gold-700); font-weight: 700; margin: 0; }
.mock-qa__a { margin: 0; color: var(--ink-900); font-size: var(--fs-sm); line-height: var(--lh-snug); }
.mock-mood { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.mock-mood__track { flex: 1 1 120px; height: 8px; border-radius: var(--r-pill); background: var(--green-100); overflow: hidden; min-width: 120px; }
.mock-mood__fill { height: 100%; border-radius: var(--r-pill); background: linear-gradient(90deg, var(--gold-500), var(--green-500)); }
.mock-mood__label { font-size: var(--fs-xs); font-weight: 700; color: var(--green-700); }

/* ============================================================
   MOCK: Handoff Note share sheet
   ============================================================ */
.mock-handoff {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  max-width: 460px;
  margin-inline: auto;
  overflow: hidden;
}
.mock-handoff__head {
  background: linear-gradient(180deg, var(--green-700), var(--green-800));
  color: #fff; padding: var(--s3) var(--s4);
}
.mock-handoff__head h3 { color: #fff; margin: 0 0 .15rem; font-size: var(--fs-lg); }
.mock-handoff__head p { margin: 0; font-size: var(--fs-xs); color: var(--green-200); }
.mock-handoff__body { padding: var(--s4); display: grid; gap: var(--s2); }
.mock-row { display: grid; grid-template-columns: 9.5rem 1fr; gap: .5rem var(--s2); align-items: baseline; }
.mock-row dt { font-size: var(--fs-xs); letter-spacing: .03em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin: 0; }
.mock-row dd { margin: 0; font-size: var(--fs-sm); color: var(--ink-900); line-height: var(--lh-snug); }
@media (max-width: 460px){ .mock-row { grid-template-columns: 1fr; gap: 0; } }
.mock-handoff__clip {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: var(--fs-xs); font-weight: 600; color: var(--green-700);
  background: var(--green-050); border: 1px solid var(--green-200);
  border-radius: var(--r-pill); padding: .35em .8em;
}
.mock-handoff__actions {
  display: flex; flex-wrap: wrap; gap: .6rem;
  padding: var(--s3) var(--s4); border-top: 1px solid var(--line);
  background: var(--paper-warm);
}
.mock-btn {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: var(--fs-sm); font-weight: 600; border-radius: var(--r-pill);
  padding: .55em 1.1em; border: 1.5px solid var(--green-200); color: var(--green-700);
  background: #fff;
}
.mock-btn--solid { background: var(--green-700); color: #fff; border-color: var(--green-700); }
.mock-approve-note { font-size: var(--fs-xs); color: var(--muted); padding: 0 var(--s4) var(--s3); margin: 0; }

/* ============================================================
   MOCK: Parent Dashboard shell
   ============================================================ */
.mock-dash {
  background: var(--paper-cool);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.mock-dash__top {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s2);
  padding: .9rem 1.2rem; background: var(--green-800); color: #fff;
}
.mock-dash__brand { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-serif); font-weight: 700; font-size: var(--fs-sm); color: #fff; }
.mock-dash__dot { width: 1.6rem; height: 1.6rem; border-radius: 6px; background: var(--gold-500); display: grid; place-items: center; }
.mock-dash__tabs { display: flex; gap: .3rem; flex-wrap: wrap; }
.mock-dash__tab { font-size: var(--fs-xs); color: var(--green-200); padding: .3em .7em; border-radius: var(--r-pill); }
.mock-dash__tab--on { background: rgba(255,255,255,.16); color: #fff; font-weight: 600; }
.mock-dash__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--s3); padding: var(--s3); }
@media (max-width: 680px){ .mock-dash__grid { grid-template-columns: 1fr; } }
.mock-tile { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s3); }
.mock-tile h4 { font-size: var(--fs-sm); color: var(--green-800); margin: 0 0 .6rem; display: flex; align-items: center; justify-content: space-between; gap: var(--s2); }
.mock-tile--wide { grid-column: 1 / -1; }

/* Timeline inside dashboard */
.mock-timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.mock-timeline li { position: relative; padding-left: 1.4rem; font-size: var(--fs-sm); color: var(--ink-700); }
.mock-timeline li::before {
  content: ''; position: absolute; left: 0; top: .35em;
  width: .65rem; height: .65rem; border-radius: 50%;
  background: var(--gold-500); box-shadow: 0 0 0 3px var(--gold-100);
}
.mock-timeline li time { display: block; font-size: var(--fs-xs); color: var(--muted); }

/* Video vault thumbnails (CSS-only, no stock images) */
.mock-vault { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.mock-clip {
  aspect-ratio: 4 / 3; border-radius: var(--r-sm); position: relative;
  background: linear-gradient(150deg, var(--green-600), var(--green-800));
  display: grid; place-items: center; overflow: hidden;
}
.mock-clip::after {
  content: ''; width: 0; height: 0;
  border-left: 11px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent;
  margin-left: 3px; opacity: .92;
}
.mock-clip span {
  position: absolute; left: .35rem; bottom: .3rem;
  font-size: .6rem; color: #fff; background: rgba(0,0,0,.4);
  padding: .1em .4em; border-radius: 4px; letter-spacing: .02em;
}

/* Resort + weather card (informational only) */
.mock-resort { display: grid; gap: .6rem; }
.mock-resort__head { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); }
.mock-resort__temp { font-family: var(--font-serif); font-size: var(--fs-xl); color: var(--green-800); line-height: 1; }
.mock-resort__links { display: flex; flex-wrap: wrap; gap: .4rem; }
.mock-resort__links a {
  font-size: var(--fs-xs); text-decoration: none; color: var(--green-700);
  background: var(--green-050); border: 1px solid var(--green-200);
  border-radius: var(--r-pill); padding: .25em .7em;
}
.mock-resort__links a:hover { background: var(--green-100); }
.mock-resort__verify { font-size: var(--fs-xs); color: var(--warn); margin: 0; }

/* ============================================================
   PARENT DASHBOARD MOCK — make the shell read like real product UI
   ============================================================ */
.mock-dash { box-shadow: var(--shadow-float); }
.mock-dash__top { box-shadow: inset 0 -1px 0 rgba(0,0,0,.18); }
.mock-dash__dot { box-shadow: 0 1px 3px rgba(20,40,30,.3); }
.mock-dash__tab { transition: background .2s, color .2s; }
.mock-tile {
  box-shadow: var(--shadow-soft);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.mock-tile h4 { padding-bottom: .55rem; border-bottom: 1px solid var(--green-050); }

/* Season timeline: a connecting spine so the dots read as a real timeline. */
.mock-timeline { position: relative; }
.mock-timeline::before {
  content: ''; position: absolute; left: .31rem; top: .5rem; bottom: .5rem;
  width: 2px; background: linear-gradient(180deg, var(--gold-300), var(--green-200));
  border-radius: 2px; opacity: .65;
}
.mock-timeline li::before { z-index: 1; }
.mock-timeline li:hover::before { box-shadow: 0 0 0 4px var(--gold-100); }

/* Video vault: believable thumbnails with a play affordance + sheen. */
.mock-vault { gap: .45rem; }
.mock-clip {
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), var(--shadow-sm);
  transition: transform .2s var(--ease);
}
.mock-clip::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(60% 60% at 30% 20%, rgba(255,255,255,.18), transparent 60%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 6px, transparent 6px 12px);
  pointer-events: none;
}
.mock-clip::after {
  /* a soft white disc holding a green play triangle (SVG) — reads as real video */
  width: 26px; height: 26px; border: 0; border-radius: 50%; margin: 0;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 7.5l8 4.5-8 4.5z' fill='%2324463a'/%3E%3C/svg%3E") center/16px no-repeat,
    rgba(255,255,255,.94);
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
  position: relative; z-index: 2;
}
.mock-clip:hover { transform: scale(1.02); }
.mock-clip span { z-index: 2; backdrop-filter: blur(1px); }

/* Resort tile: temperature reads like a real weather widget. */
.mock-resort__temp { display: inline-flex; align-items: baseline; gap: .25rem; }
.mock-resort__links a { transition: background .2s, border-color .2s; }
.mock-resort__links a:hover { border-color: var(--gold-300); }

/* ---------- Page hero device frame (holds a mock) ---------- */
.device {
  background: var(--paper-warm);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--s4);
}
.hero--dark .device { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); }

/* ---------- "The job" callout row used on explainer pages ---------- */
.job-row {
  display: flex; flex-wrap: wrap; gap: var(--s2);
  align-items: center; justify-content: center;
  font-size: var(--fs-sm); color: var(--muted);
}
.job-row .tag-pill { background: var(--gold-100); color: var(--gold-700); }

/* ---------- FAQ accordion (parent-friendly) ---------- */
.faq-list { display: grid; gap: .8rem; max-width: 760px; margin-inline: auto; }
.faq-item { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--paper); overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  font-family: var(--font-sans); font-weight: 600; font-size: var(--fs-base); color: var(--green-800);
  padding: 1.05rem 1.2rem; display: flex; align-items: center; justify-content: space-between; gap: var(--s2);
}
.faq-q:hover { background: var(--green-050); }
.faq-icon { position: relative; width: 1.1rem; height: 1.1rem; flex: none; }
.faq-icon::before, .faq-icon::after {
  content: ''; position: absolute; background: var(--gold-600); border-radius: 2px;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.faq-icon::before { width: 1.1rem; height: 2px; }
.faq-icon::after  { width: 2px; height: 1.1rem; transition: transform .2s var(--ease); }
.faq-q[aria-expanded="true"] .faq-icon::after { transform: translate(-50%, -50%) scaleY(0); }
.faq-a { padding: 0 1.2rem 1.1rem; color: var(--ink-700); font-size: var(--fs-sm); }
.faq-a p { margin: 0; }

/* ---------- Compare / "what it is vs is not" panel ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
@media (max-width: 680px){ .compare { grid-template-columns: 1fr; } }
.compare__col { border-radius: var(--r-md); padding: var(--s3); }
.compare__col--yes { background: var(--green-050); border: 1px solid var(--green-200); }
.compare__col--no  { background: var(--paper-warm); border: 1px solid var(--line); }
.compare__col h3 { font-size: var(--fs-md); margin-bottom: var(--s2); }
.compare__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; font-size: var(--fs-sm); }
.compare__col--yes li { padding-left: 1.7rem; position: relative; color: var(--ink-900); }
.compare__col--yes li::before { content: '\2713'; position: absolute; left: 0; color: var(--green-700); font-weight: 700; }
.compare__col--no li { padding-left: 1.7rem; position: relative; color: var(--ink-700); }
.compare__col--no li::before { content: '\2715'; position: absolute; left: 0; color: var(--ink-400); font-weight: 700; }

/* ---------- Cross-link feature nav (bottom of explainer pages) ---------- */
.feature-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s2); }
@media (max-width: 860px){ .feature-links { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px){ .feature-links { grid-template-columns: 1fr; } }
.feature-links a {
  display: block; text-decoration: none; color: var(--green-800);
  border: 1px solid var(--line); border-radius: var(--r-md);
  padding: var(--s3); background: var(--paper); transition: border .2s, transform .2s var(--ease);
}
.feature-links a:hover { border-color: var(--gold-300); transform: translateY(-3px); }
.feature-links a[aria-current="page"] { border-color: var(--gold-500); background: var(--gold-100); }
.feature-links strong { display: block; font-family: var(--font-serif); font-size: var(--fs-md); margin-bottom: .2rem; color: var(--green-800); }
.feature-links span { font-size: var(--fs-xs); color: var(--muted); }

/* ---------- Active nav state ---------- */
.primary-nav a[aria-current="page"] { color: var(--green-700); font-weight: 700; }

/* ---------- Small spacing utility not in the system ---------- */
.mt-2 { margin-top: var(--s2); }

/* ---------- Steps with body copy (how it works) ---------- */
.step h3 { margin-bottom: .25rem; }
.step p { margin: 0; color: var(--ink-700); font-size: var(--fs-sm); }
/* A soft connecting spine + warmer number badges so steps read as a journey. */
.steps { position: relative; }
.steps .step::before { box-shadow: 0 4px 12px -4px rgba(36,70,58,.45); }
.steps .step:not(:last-child)::after {
  content: ''; position: absolute; left: 1.2rem; top: 2.6rem; bottom: -1.1rem;
  width: 2px; background: var(--green-100); border-radius: 2px;
}

/* ============================================================
   COMPONENT POLISH + MICRO-INTERACTIONS
   All motion is gentle and disabled under prefers-reduced-motion.
   ============================================================ */

/* Buttons: warmer press feedback + a subtle gold focus ring already
   provided by :focus-visible. Add active-state settle. */
.btn:active { transform: translateY(0); }
.btn-primary { box-shadow: 0 1px 2px rgba(20,40,30,.18), 0 8px 18px -10px rgba(36,70,58,.5); }
.btn-gold { box-shadow: 0 1px 2px rgba(120,80,10,.16), 0 8px 18px -10px rgba(182,136,58,.5); }
.btn-gold:hover { box-shadow: 0 2px 4px rgba(120,80,10,.18), 0 12px 24px -10px rgba(182,136,58,.55); }

/* Primary-nav: a quiet gold underline grows on hover/active. */
.primary-nav a:not(.nav-cta) { position: relative; padding-bottom: 2px; }
.primary-nav a:not(.nav-cta)::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
  background: var(--gold-500); border-radius: 2px; transition: right .2s var(--ease);
}
.primary-nav a:not(.nav-cta):hover::after,
.primary-nav a:not(.nav-cta)[aria-current="page"]::after { right: 0; }
.nav-cta { box-shadow: 0 6px 16px -8px rgba(36,70,58,.55); transition: background .2s, box-shadow .2s, transform .15s var(--ease); }
.nav-cta:hover { transform: translateY(-1px); }

/* Job-row pills: read as warm, tappable tokens. */
.job-row .tag-pill {
  box-shadow: inset 0 0 0 1px rgba(182,136,58,.22);
  transition: transform .15s var(--ease), background .2s;
}
.job-row .tag-pill:hover { background: var(--gold-300); transform: translateY(-2px); }

/* FAQ: smoother open state + a hairline accent when expanded. */
.faq-item { transition: border-color .2s, box-shadow .2s; }
.faq-item:has(.faq-q[aria-expanded="true"]) { border-color: var(--green-200); box-shadow: var(--shadow-soft); }
.faq-q[aria-expanded="true"] { color: var(--green-700); }
.faq-a { animation: faqReveal .22s var(--ease); }
@keyframes faqReveal { from { opacity: 0; transform: translateY(-3px); } to { opacity: 1; transform: none; } }

/* Compare panel: clearer "yes vs not" with a soft header accent. */
.compare__col { box-shadow: var(--shadow-soft); }
.compare__col--yes { border-color: var(--green-200); }
.compare__col h3 { display: flex; align-items: center; gap: .5rem; }
.compare__col--yes h3::before,
.compare__col--no h3::before {
  content: ''; width: 1.4rem; height: 1.4rem; border-radius: 50%; flex: none;
  display: inline-block; background-position: center; background-repeat: no-repeat; background-size: 14px;
}
.compare__col--yes h3::before {
  background-color: var(--green-100);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l2.6 2.6L12.5 5' fill='none' stroke='%2324463a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.compare__col--no h3::before {
  background-color: var(--paper-warm);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5 5l6 6M11 5l-6 6' fill='none' stroke='%237d8a83' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  box-shadow: inset 0 0 0 1px var(--line);
}

/* Feature cross-link cards: warmer hover lift + arrow cue. */
.feature-links a { box-shadow: var(--shadow-soft); }
.feature-links a:hover { box-shadow: var(--shadow-md); }
.feature-links strong { display: flex; align-items: center; gap: .35rem; }
.feature-links a:not([aria-current="page"]) strong::after {
  content: '→'; font-family: var(--font-sans); color: var(--gold-600);
  opacity: 0; transform: translateX(-4px); transition: opacity .2s, transform .2s var(--ease); margin-left: auto;
}
.feature-links a:hover strong::after { opacity: 1; transform: none; }

/* Boundary block: a quieter, more reassuring "what this is" card. */
.boundary { box-shadow: var(--shadow-soft); position: relative; }
.boundary strong { font-weight: 700; }

/* ============================================================
   FORMS — focus + success polish (Netlify forms preserved exactly)
   ============================================================ */
.form { padding: var(--s4); background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow-soft); }
.field label { color: var(--ink-700); }
.field input, .field select, .field textarea {
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease), background .15s;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--green-200); }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--green-500); box-shadow: 0 0 0 3px var(--green-100); background: #fff;
}
/* required-but-touched invalid gets a gentle, non-alarming cue */
.field input:not(:placeholder-shown):invalid:not(:focus),
.field textarea:not(:placeholder-shown):invalid:not(:focus) { border-color: var(--gold-600); }
.btn[type="submit"]:disabled { opacity: .75; cursor: progress; transform: none; }

/* Success card: a warm, confident confirmation with a check disc. */
.form-success {
  box-shadow: var(--shadow-soft); border-color: var(--green-200);
  display: flex; align-items: flex-start; gap: .75rem;
  animation: successIn .3s var(--ease);
}
.form-success::before {
  content: ''; width: 1.8rem; height: 1.8rem; flex: none; border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l3.5 3.5L18 7.5' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat,
    var(--green-600);
  box-shadow: 0 4px 10px -3px rgba(36,70,58,.5);
}
@keyframes successIn { from { opacity: 0; transform: translateY(6px) scale(.99); } to { opacity: 1; transform: none; } }

/* ---------- Print: flatten dark blocks for legible handouts ---------- */
@media print {
  .site-header, .site-footer, .nav-toggle, .hero-cta, .feature-links { display: none !important; }
  .section--dark, .hero--dark { background: #fff !important; color: var(--ink-900) !important; }
  .section--dark h1, .section--dark h2, .section--dark h3,
  .hero--dark h1 { color: var(--green-800) !important; }
  .device, .mock-passport, .mock-daynote, .mock-handoff, .mock-dash { box-shadow: none; }
}

/* ============================================================
   WREN VISUAL LIVELINESS PASS — family snow atmosphere
   Visual-only. No form, payment, or data behavior changes.
   ============================================================ */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  opacity: .14;
  background-image:
    radial-gradient(circle at 18% 20%, rgba(255,255,255,.98) 0 1px, transparent 1.8px),
    radial-gradient(circle at 68% 8%, rgba(255,255,255,.78) 0 1px, transparent 1.8px),
    radial-gradient(circle at 38% 74%, rgba(255,255,255,.72) 0 1.2px, transparent 2px),
    radial-gradient(circle at 88% 58%, rgba(255,255,255,.82) 0 1px, transparent 1.8px);
  background-size: 180px 180px, 260px 260px, 350px 350px, 430px 430px;
  animation: sparkSnowDrift 26s linear infinite;
}
@keyframes sparkSnowDrift {
  from { background-position: 0 0, 0 0, 0 0, 0 0; }
  to { background-position: 30px 220px, -70px 280px, 90px 370px, -120px 460px; }
}
.site-header { z-index: 60; }
.hero {
  background:
    radial-gradient(42rem 24rem at 86% 10%, rgba(212,166,70,.14), transparent 64%),
    radial-gradient(54rem 28rem at 8% 6%, rgba(207,224,216,.42), transparent 65%),
    linear-gradient(180deg, #fffdf7 0%, #f6faf7 68%, #edf5f0 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: clamp(90px, 12vw, 150px);
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent, rgba(255,255,255,.34)),
    repeating-linear-gradient(120deg, rgba(36,70,58,.08) 0 2px, transparent 2px 32px);
  opacity: .55;
}
.hero .device,
.mock-passport,
.mock-daynote,
.mock-handoff,
.card {
  box-shadow: 0 22px 56px -30px rgba(36,70,58,.35), 0 1px 0 rgba(255,255,255,.8) inset;
}
.card, .feature-links a, .faq-item {
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(250,248,243,.92));
}
.section--paper {
  background:
    radial-gradient(50rem 24rem at 8% 0%, rgba(207,224,216,.30), transparent 60%),
    var(--paper-warm);
}
.section--cool {
  background:
    radial-gradient(45rem 24rem at 86% 4%, rgba(212,166,70,.10), transparent 62%),
    var(--paper-cool);
}
.section--dark .card,
.section--dark .card p,
.section--dark .card h3,
.section--dark .card strong {
  color: var(--ink-900) !important;
}
.section--dark .lead { color: rgba(255,255,255,.82); }
.section--dark .boundary { background: rgba(255,255,255,.94); }
@media (max-width: 700px) {
  body::before { opacity: .16; }
  .hero .trust-strip { gap: .55rem; }
  .hero .device { margin-top: .5rem; }
}
@media (prefers-reduced-motion: reduce) {
  body::before { animation: none; }
}

/* ============================================================
   FABLE5 UI OVERHAUL PASS  (2026-07-02)
   Calm-family-folder direction. One quiet snow layer (above),
   no route/trail motifs, no blur filters. Adds the prompt-card
   component for the Brain-derived prompt layer, and a mobile
   rhythm layer. Visual-only: no form, gate, or data changes.
   ============================================================ */

/* ---------- Prompt cards: the "Why the notes work" layer ----------
   Each card leads with an example prompt in the parent's own voice,
   set in serif italic behind a gold rule, so prompts read as gentle
   questions rather than app features. */
.prompt-card {
  position: relative;
  background: linear-gradient(180deg, #fff 0%, var(--paper-warm) 130%);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s4);
  box-shadow: var(--shadow-soft);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.prompt-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--green-200); }
.prompt-card h3 {
  font-family: var(--font-sans); font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--gold-700);
  margin: 0 0 .65rem;
}
.prompt-card__ask {
  font-family: var(--font-serif); font-style: italic; font-weight: 600;
  font-size: var(--fs-md); line-height: var(--lh-snug); color: var(--green-800);
  border-left: 3px solid var(--gold-500); padding-left: .85rem;
  margin: 0 0 .75rem;
}
.prompt-card p:last-child { margin: 0; font-size: var(--fs-sm); color: var(--ink-700); }

/* Hero supporting note under CTAs: quiet, honest expectation-setting. */
.hero-note { max-width: 46ch; }

/* ---------- Mobile rhythm ---------- */
@media (max-width: 700px) {
  .section { padding-block: var(--s5); }
  .section--tight { padding-block: var(--s4); }
  .grid { gap: var(--s3); }
  .card, .prompt-card { padding: var(--s3); }
  .steps { gap: var(--s3); }
  .step { padding-left: 2.9rem; }
  .step::before { width: 2.1rem; height: 2.1rem; font-size: 1rem; }
  .steps .step:not(:last-child)::after { left: 1.02rem; top: 2.3rem; }
  .boundary { padding: var(--s2) var(--s3); }
  .job-row { justify-content: flex-start; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: .45rem; }
}
@media (max-width: 520px) {
  .hero { padding-block: clamp(3.25rem, 13vw, 4.5rem); }
  .hero h1 { font-size: clamp(2.15rem, 12vw, 3.05rem); }
  .hero .lead { font-size: 1rem; }
  .hero-cta, .hero .cluster { gap: .6rem; }
  .hero-cta .btn, .hero .cluster .btn { width: 100%; justify-content: center; }
  .card, .mock-passport, .mock-daynote, .mock-handoff, .device { padding: var(--s3); }
  .mock-handoff__body, .mock-handoff__actions { padding-inline: var(--s3); }
  .mock-daynote__body { padding-inline: var(--s3); }
  h2 { font-size: clamp(1.75rem, 8vw, 2.3rem); }
}
