/* ============================================================================
   Groundwork — design system
   Direction: "the path that lights as you walk it."
   Dawn over still water. Calm, warm, survivor-to-survivor. Never pink-ribbon,
   never SaaS-dashboard. Legibility is the aesthetic.
   ============================================================================ */

:root {
  /* — color: dawn over still water — */
  --paper:        #E9EAE2;  /* faint sage-greige; deliberately not cream */
  --paper-raised: #F3F4EC;  /* cards lift toward light */
  --paper-deep:   #DFE1D7;  /* quiet wells */
  --ink:          #233330;  /* deep slate-teal; text, near-black but alive */
  --ink-soft:     #4E5E58;  /* secondary text */
  --ink-faint:    #7C8A80;  /* captions, the mist ahead */
  --sage:         #7E977F;  /* living green; structure */
  --sage-deep:    #3C5650;  /* depth, the pre-dawn water */
  --first-light:  #E3A06F;  /* the one warm accent: first light on the path */
  --first-light-deep: #C9824F;
  --strength:     #C6A45F;  /* the warm light of her strengths */
  --line:         rgba(35, 51, 48, 0.12);
  --line-strong:  rgba(35, 51, 48, 0.22);
  --focus:        #2E4B45;

  /* — type — */
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Atkinson Hyperlegible", system-ui, -apple-system, Segoe UI, sans-serif;

  /* — space (generous; one decision per screen) — */
  --s1: 0.5rem;  --s2: 0.875rem; --s3: 1.25rem; --s4: 2rem;
  --s5: 3rem;    --s6: 4.5rem;   --s7: 7rem;

  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 1px 2px rgba(35,51,48,.05), 0 8px 30px rgba(35,51,48,.07);
  --shadow-soft: 0 1px 2px rgba(35,51,48,.04), 0 2px 10px rgba(35,51,48,.05);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ----- reset / base ----- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.125rem;          /* 18px base — large for legibility */
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  /* a barely-there dawn wash, top-lit */
  background-image:
    radial-gradient(120% 80% at 50% -20%, rgba(227,160,111,.10), transparent 60%),
    radial-gradient(90% 70% at 80% 120%, rgba(60,86,80,.08), transparent 55%);
  background-attachment: fixed;
  min-height: 100svh;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.12; margin: 0; letter-spacing: -0.01em; }
p { margin: 0 0 var(--s3); }
a { color: var(--sage-deep); }
::selection { background: rgba(227,160,111,.28); }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

/* ----- app frame ----- */
#app { min-height: 100svh; display: flex; flex-direction: column; }

.topbar {
  display: flex; align-items: center; gap: var(--s3);
  padding: var(--s3) var(--s4);
  position: sticky; top: 0; z-index: 5;
  background: linear-gradient(var(--paper), rgba(233,234,226,.7) 70%, transparent);
  backdrop-filter: blur(6px);
}
.wordmark {
  font-family: var(--display); font-weight: 600; font-size: 1.15rem;
  letter-spacing: .02em; color: var(--sage-deep); text-decoration: none;
}
.wordmark span { color: var(--first-light-deep); }
.topbar-spacer { flex: 1; }

.ghost-btn {
  font-family: var(--body); font-size: .95rem; color: var(--ink-soft);
  background: transparent; border: 1px solid var(--line); border-radius: 999px;
  padding: .5rem 1rem; cursor: pointer; transition: all .2s var(--ease);
}
.ghost-btn:hover { border-color: var(--line-strong); color: var(--ink); }

/* ----- the stage: one step, full-bleed, centered ----- */
.stage {
  flex: 1; display: flex; flex-direction: column; justify-content: center;
  width: min(40rem, 92vw); margin: 0 auto; padding: var(--s4) 0 var(--s6);
}
.step { animation: rise .6s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-faint); margin-bottom: var(--s3);
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--sage); }

.step h1 {
  font-size: clamp(2rem, 5.5vw, 3.1rem);
  font-optical-sizing: auto; margin-bottom: var(--s3); color: var(--ink);
}
.lede { font-size: 1.22rem; color: var(--ink-soft); margin-bottom: var(--s4); max-width: 34rem; }
.body-copy { max-width: 34rem; }
.body-copy strong { font-weight: 700; color: var(--ink); }

/* a quiet aside (guidance / reassurance) */
.aside {
  border-left: 2px solid var(--sage); padding: .2rem 0 .2rem var(--s3);
  color: var(--ink-soft); margin: var(--s4) 0; font-size: 1.02rem;
}

/* ----- strengths this step calls on: quiet, labeled, subordinate to the title ----- */
.strengths { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 0 0 var(--s4); }
.strengths-label { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); margin-right: .15rem; }
.pill { display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .7rem; border-radius: 999px; font-size: .9rem; border: 1px solid var(--line-strong); color: var(--ink-soft); background: transparent; }
.pill .glyph { color: var(--strength); font-size: .82rem; }
.pill b { font-weight: 600; color: var(--ink); }
.pill small { color: var(--ink-faint); font-size: .74rem; }
.pill.yours { background: rgba(198,164,95,.15); border-color: rgba(198,164,95,.42); }
.pill.yours b { color: #6f5722; }
.pill.lesser { border-style: dashed; border-color: var(--sage); }
.pill.lesser b { color: var(--sage-deep); }

/* the MAPP friction note — only on steps that call on one of her lesser strengths */
.friction { background: rgba(126,151,127,.1); border-left: 2px solid var(--sage); border-radius: 0 12px 12px 0; padding: var(--s3); margin: 0 0 var(--s4); color: var(--ink-soft); }
.friction-tag { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--sage-deep); margin-bottom: .5rem; }
.friction p { margin: 0 0 .6rem; font-size: 1.02rem; line-height: 1.55; }
.friction p:last-child { margin-bottom: 0; }
.friction b { color: var(--ink); font-weight: 700; }

/* ----- inputs: dictation-first, uncapped, calm ----- */
.field { margin: var(--s3) 0; }
.field label { display: block; font-size: 1.02rem; color: var(--ink); margin-bottom: .5rem; }
.field .hint { font-size: .92rem; color: var(--ink-faint); margin-bottom: .55rem; }
textarea, input[type="text"], input[type="email"] {
  width: 100%; font-family: var(--body); font-size: 1.1rem; color: var(--ink);
  background: var(--paper-raised); border: 1px solid var(--line-strong);
  border-radius: 14px; padding: .85rem 1rem; line-height: 1.55;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
textarea { resize: vertical; min-height: 4.5rem; }   /* uncapped, grows */
textarea:focus, input:focus { border-color: var(--sage-deep); box-shadow: 0 0 0 4px rgba(60,86,80,.12); outline: none; }

/* choice cards (e.g. pick your ICP) */
.choices { display: grid; gap: .65rem; margin: var(--s3) 0; }
.choice {
  text-align: left; font-family: var(--body); font-size: 1.05rem; color: var(--ink);
  background: var(--paper-raised); border: 1px solid var(--line); border-radius: 14px;
  padding: .9rem 1.1rem; cursor: pointer; transition: all .18s var(--ease);
}
.choice:hover { border-color: var(--sage); transform: translateY(-1px); }
.choice[aria-pressed="true"] { border-color: var(--first-light); background: rgba(227,160,111,.1); box-shadow: var(--shadow-soft); }
.choice .c-title { font-weight: 700; }
.choice .c-sub { color: var(--ink-faint); font-size: .92rem; }

/* ----- buttons ----- */
.actions { display: flex; align-items: center; gap: var(--s3); margin-top: var(--s5); flex-wrap: wrap; }
.btn {
  font-family: var(--body); font-size: 1.08rem; font-weight: 700;
  border: none; border-radius: 999px; padding: .9rem 1.7rem; cursor: pointer;
  transition: transform .15s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.btn-primary { background: var(--first-light); color: #2a1c10; box-shadow: var(--shadow-soft); }
.btn-primary:hover { background: var(--first-light-deep); color: #fff; transform: translateY(-1px); }
.btn-primary[disabled] { background: var(--paper-deep); color: var(--ink-faint); cursor: not-allowed; box-shadow: none; transform: none; }
.btn-text { background: transparent; color: var(--ink-soft); font-weight: 400; padding: .9rem .4rem; }
.btn-text:hover { color: var(--ink); }

/* ----- the path: stepping stones (the signature) ----- */
.path { display: flex; align-items: center; gap: .5rem; padding: 0 var(--s4); margin-bottom: var(--s1); }
.path-label { font-size: .85rem; color: var(--ink-soft); font-weight: 600; letter-spacing: .02em; white-space: nowrap; }
.path-step { font-weight: 400; font-size: .76rem; color: var(--ink-faint); margin-left: .55rem; }
.stones { display: flex; align-items: center; gap: .42rem; flex: 1; min-width: 0; overflow: hidden; }
.stone {
  width: 11px; height: 11px; border-radius: 50%; flex: 0 0 auto;
  background: var(--paper-deep); border: 1px solid var(--line-strong);
  transition: all .5s var(--ease);
}
.stone.done {              /* behind her: glowing with the work done */
  background: var(--sage); border-color: var(--sage-deep);
}
.stone.current {           /* the one lit stone ahead */
  background: var(--first-light); border-color: var(--first-light-deep);
  box-shadow: 0 0 0 4px rgba(227,160,111,.22), 0 0 14px rgba(227,160,111,.5);
  transform: scale(1.35);
}
.stone.ahead { opacity: .5; }        /* dissolving into mist */
.stone.ahead.far { opacity: .2; }

/* ----- the map (hidden until she asks) ----- */
.map-backdrop { position: fixed; inset: 0; background: rgba(35,51,48,.4); backdrop-filter: blur(3px); z-index: 20; animation: fade .25s var(--ease) both; }
.map {
  position: fixed; z-index: 21; inset: auto 0 0 0; max-height: 84svh; overflow: auto;
  background: var(--paper); border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: var(--s5) var(--s4) var(--s6); box-shadow: 0 -10px 40px rgba(35,51,48,.18);
  animation: slideup .35s var(--ease) both;
}
.map h2 { font-size: 1.6rem; margin-bottom: .3rem; }
.map .map-sub { color: var(--ink-soft); margin-bottom: var(--s4); max-width: 40rem; }

/* acts as collapsible chapters */
.map-act { border-top: 1px solid var(--line); }
.map-act-head { display: flex; align-items: baseline; gap: .7rem; width: 100%; background: transparent; border: none; cursor: pointer; padding: var(--s3) 0; font-family: var(--body); text-align: left; }
.map-act-head .map-chev { color: var(--ink-faint); transition: transform .2s var(--ease); font-size: .8rem; }
.map-act-head[aria-expanded="true"] .map-chev { transform: rotate(90deg); }
.map-act-name { font-family: var(--display); font-size: 1.2rem; color: var(--sage-deep); }
.map-act.current .map-act-name { color: var(--first-light-deep); }
.map-act.complete .map-act-name::after { content: " ✓"; color: var(--sage); }
.map-act-count { font-size: .85rem; color: var(--ink-faint); margin-left: auto; }

/* steps within an act */
.map-steps[hidden], .map-why[hidden] { display: none; }   /* beat the flex display below ([hidden] alone loses) */
.map-steps { padding: 0 0 var(--s3) 1.5rem; display: flex; flex-direction: column; gap: .15rem; }
.map-step-main { display: flex; align-items: center; gap: .65rem; width: 100%; background: transparent; border: none; text-align: left; font-family: var(--body); font-size: 1rem; color: var(--ink); padding: .5rem .6rem; border-radius: 10px; cursor: pointer; transition: background .15s var(--ease), transform .15s var(--ease); }
.map-step-glyph { width: 1.1rem; text-align: center; flex: 0 0 auto; }
.map-step-title { flex: 1; }
.map-step-tag { font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--first-light-deep); white-space: nowrap; }
.map-step-go { margin-left: .4rem; font-size: 1.15rem; line-height: 1; color: var(--ink-faint); transition: transform .15s var(--ease); }
/* done + available read as obviously tappable AT REST — a card look + a "go" chevron, with hover life */
.map-step.done .map-step-main, .map-step.available .map-step-main { background: var(--paper-raised); border: 1px solid var(--line); }
.map-step.done .map-step-glyph { color: var(--sage); }
.map-step.available .map-step-glyph { color: var(--first-light-deep); }
.map-step.available .map-step-go { color: var(--first-light-deep); }
.map-step.done .map-step-go { color: var(--sage-deep); }
.map-step.done .map-step-main:hover, .map-step.available .map-step-main:hover { border-color: var(--sage); transform: translateX(3px); box-shadow: var(--shadow-soft); }
.map-step.done .map-step-main:hover .map-step-go, .map-step.available .map-step-main:hover .map-step-go { transform: translateX(3px); }
.map-step.current .map-step-main { background: rgba(227,160,111,.14); border-color: rgba(227,160,111,.4); }
.map-step.current .map-step-title { font-weight: 700; }
/* locked: calm, flat, recessed — clearly not-yet (transparent border keeps the row height steady) — explains itself on tap */
.map-step.locked .map-step-main { color: var(--ink-faint); cursor: help; background: transparent; border: 1px solid transparent; }
.map-step.locked .map-step-glyph { color: var(--line-strong); }
.map-step.locked .map-step-main:hover { background: var(--paper-deep); }
.map-why { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; font-size: .9rem; color: var(--ink-soft); padding: .1rem .6rem .6rem 2.15rem; }
.map-why-go { font-family: var(--body); font-size: .82rem; border: 1px solid var(--line-strong); background: transparent; border-radius: 999px; padding: .25rem .8rem; cursor: pointer; color: var(--sage-deep); }
.map-why-go:hover { border-color: var(--sage); color: var(--ink); }

@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideup { from { transform: translateY(30px); opacity: .6; } to { transform: none; opacity: 1; } }

/* ----- celebration: earned, quiet, never confetti. the STRENGTH is the hero ----- */
.celebrate[hidden] { display: none; }   /* beats the .celebrate display below; UA [hidden] alone loses */
.celebrate {
  position: fixed; inset: 0; z-index: 40; display: grid; place-items: center;
  background: radial-gradient(60% 50% at 50% 45%, rgba(227,160,111,.18), rgba(233,234,226,.92) 70%);
  backdrop-filter: blur(2px); animation: fade .4s var(--ease) both; text-align: center; padding: var(--s4);
  cursor: pointer;
}
.celebrate .c-card { display: flex; flex-direction: column; align-items: center; gap: .35rem; max-width: 30rem; }
/* what she did — acknowledged, but the supporting line */
.celebrate .c-did { font-family: var(--body); font-size: 1.12rem; color: var(--ink-soft); margin-bottom: .1rem; }
/* the strength's light — one quiet mark, gold */
.celebrate .c-glyph {
  font-size: 2rem; line-height: 1; color: var(--strength);
  text-shadow: 0 0 22px rgba(227,160,111,.55); animation: pulse 2s var(--ease) infinite;
}
/* how she did it, through MAPP — the climax, what lights her up */
.celebrate .c-strength {
  font-family: var(--display); font-weight: 500; line-height: 1.18;
  font-size: clamp(1.6rem, 5vw, 2.5rem); color: #7d6427; max-width: 24rem;   /* deep gold, AA-readable on paper */
  animation: strengthIn .7s var(--ease) .18s both;
}
.celebrate .c-strength b { font-weight: 700; color: #6f5722; }
/* hers to dismiss; the hint arrives once she's had a beat to read */
.celebrate .c-go {
  margin-top: var(--s4); font-family: var(--body); font-size: .82rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-faint); animation: fadeDelayed 1.1s var(--ease) 1.6s both;
}
@keyframes pulse { 0%,100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.1); opacity: 1; } }
@keyframes strengthIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes fadeDelayed { from { opacity: 0; } to { opacity: 1; } }

/* ----- a personal note from David: his voice, set apart from the guide's ----- */
.from-david {
  margin: var(--s4) 0 0; padding: var(--s4);
  background: rgba(227,160,111,.1); border: 1px solid rgba(227,160,111,.3); border-radius: var(--radius);
}
.from-david-tag { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--first-light-deep); margin-bottom: .6rem; }
.from-david p { font-family: var(--display); font-style: italic; font-size: 1.2rem; line-height: 1.5; color: var(--ink); margin: 0 0 .7rem; }
.from-david-sign { font-family: var(--display); font-size: 1.05rem; color: var(--first-light-deep); }

/* ----- modal: a cascade heads-up (an announcement, never a block) ----- */
.modal-backdrop { position: fixed; inset: 0; background: rgba(35,51,48,.42); backdrop-filter: blur(3px); z-index: 50; animation: fade .25s var(--ease) both; }
.modal { position: fixed; z-index: 51; left: 50%; top: 50%; transform: translate(-50%,-50%); width: min(34rem, 92vw); max-height: 86svh; display: flex; flex-direction: column; background: var(--paper); border-radius: var(--radius-lg); padding: var(--s5) var(--s4) var(--s4); box-shadow: 0 20px 60px rgba(35,51,48,.28); animation: modalIn .3s var(--ease) both; }
@keyframes modalIn { from { opacity: 0; transform: translate(-50%, -46%); } to { opacity: 1; transform: translate(-50%, -50%); } }  /* preserves the centering transform (plain slideup's transform:none would un-center it) */
.modal-tag { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--first-light-deep); margin-bottom: .5rem; flex: 0 0 auto; }
.modal h2 { font-size: 1.6rem; margin-bottom: var(--s3); flex: 0 0 auto; }
.modal p { color: var(--ink-soft); flex: 0 0 auto; }
.modal-list { list-style: none; padding: 0; margin: var(--s3) 0; flex: 1 1 auto; min-height: 0; overflow-y: auto; }  /* only the list scrolls; header + actions stay put */
.modal-list li { display: flex; align-items: baseline; gap: .6rem; padding: .55rem .85rem; background: var(--paper-raised); border: 1px solid var(--line); border-radius: 12px; margin-bottom: .4rem; color: var(--ink); }
.modal-li-tag { font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--first-light-deep); margin-left: auto; white-space: nowrap; }
.modal-actions { display: flex; align-items: center; gap: var(--s3); margin-top: var(--s4); flex-wrap: wrap; flex: 0 0 auto; }

/* ----- sign-in: a gift, not a gate ----- */
.signin { width: min(32rem, 92vw); margin: auto; text-align: center; padding: var(--s5) 0; }
.signin-hero { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); margin-bottom: var(--s4); }
.signin .mark { font-family: var(--display); font-weight: 600; font-size: 2.4rem; color: var(--sage-deep); }
.signin .mark span { color: var(--first-light-deep); }
.signin h1 { font-size: clamp(1.8rem, 5vw, 2.5rem); margin: var(--s4) 0 var(--s3); }
.signin p { color: var(--ink-soft); margin-bottom: var(--s5); }
.signin .btn { width: 100%; justify-content: center; margin-bottom: var(--s2); display: inline-flex; align-items: center; gap: .6rem; }
.signin .btn-google { background: var(--paper-raised); color: var(--ink); border: 1px solid var(--line-strong); }
.signin .btn-google:hover { border-color: var(--sage); }
.signin .reassure { font-size: .9rem; color: var(--ink-faint); margin-top: var(--s3); }
.signin-email {
  width: 100%; box-sizing: border-box; padding: .85rem 1rem; margin-bottom: var(--s2);
  font: inherit; font-size: 1.05rem; text-align: center; color: var(--ink);
  background: var(--paper-raised); border: 1px solid var(--line-strong); border-radius: var(--radius);
}
.signin-email:focus { outline: none; border-color: var(--sage); box-shadow: 0 0 0 3px rgba(122,146,134,.18); }
.signin .signin-sent  { font-size: .95rem; color: var(--ink-soft); margin: var(--s3) 0 0; }
.signin .signin-error { font-size: .95rem; color: #9a3b2f; margin: var(--s3) 0 0; }

/* ----- milestone step variant ----- */
.step.milestone { text-align: center; }
.milestone-img { display: block; width: min(30rem, 100%); aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); margin: 0 auto var(--s4); animation: rise .7s var(--ease) both; }
.step.milestone .stage-ring {
  width: 96px; height: 96px; border-radius: 50%; margin: 0 auto var(--s4);
  background: radial-gradient(circle, rgba(227,160,111,.25), transparent 68%);
  display: grid; place-items: center; font-size: 2.4rem;
}

/* ----- asset handoff: she describes, David builds ----- */
.handoff-card { background: var(--paper-raised); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s4); margin: var(--s3) 0; box-shadow: var(--shadow-soft); }
.handoff-roles { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); margin-bottom: var(--s3); padding-bottom: var(--s3); border-bottom: 1px solid var(--line); }
.role-tag { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sage-deep); }
.role-tag.david { color: var(--first-light-deep); }
.role p { margin: .35rem 0 0; font-size: .98rem; color: var(--ink-soft); }

.promise { background: rgba(126,151,127,.12); border-radius: 14px; padding: var(--s3) var(--s3) var(--s3); color: var(--ink-soft); font-size: 1rem; margin: var(--s3) 0; line-height: 1.6; }
.promise-tag { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sage-deep); margin-bottom: .5rem; }
.notify-line { margin: var(--s3) 0; font-size: .98rem; color: var(--ink-soft); line-height: 1.6; }
.notify-line strong { color: var(--ink); }
.notify-input { padding: .5rem .7rem; font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper-raised); border: 1px solid var(--line-strong); border-radius: 10px; min-width: 16rem; max-width: 100%; margin: 0 .4rem; }
.notify-input:focus { outline: none; border-color: var(--sage); }
.linklike { background: none; border: none; padding: 0; font: inherit; color: var(--first-light-deep); text-decoration: underline; cursor: pointer; }
.linklike:hover { color: var(--sage-deep); }

/* the explicit, numbered flow — so nothing about the handoff is a mystery */
.howto { margin: var(--s3) 0; padding: var(--s3) var(--s3) var(--s3) var(--s4); background: var(--paper-raised); border: 1px solid var(--line); border-radius: 14px; }
.howto-tag { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sage-deep); margin-bottom: .6rem; }
.howto ol { margin: 0; padding-left: 1.25rem; color: var(--ink-soft); }
.howto li { margin: .4rem 0; padding-left: .25rem; line-height: 1.5; }
.howto li::marker { color: var(--first-light-deep); font-weight: 700; }

/* the honest in-progress status after she sends (real app: we email when ready) */
.handoff-status { background: rgba(227,160,111,.1); border: 1px solid rgba(227,160,111,.3); border-radius: 14px; padding: var(--s3); margin: 0 0 var(--s3); color: var(--ink-soft); }
.status-tag { display: inline-flex; align-items: center; gap: .45rem; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--first-light-deep); margin-bottom: .4rem; }
.status-tag::before { content: "●"; color: var(--first-light); font-size: .7rem; animation: pulse 1.6s var(--ease) infinite; }
.handoff-status p { margin: 0; font-size: .98rem; }

.tray { margin-top: var(--s4); }
.tray-empty { text-align: center; padding: var(--s4); border: 1px dashed var(--line-strong); border-radius: 14px; color: var(--ink-soft); }
.tray-empty p { margin-bottom: var(--s3); }
.tray-head { display: flex; align-items: baseline; gap: .6rem; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: .8rem; }
.tray-head span { text-transform: none; letter-spacing: 0; font-size: .9rem; }
.versions { display: grid; grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr)); gap: .7rem; margin-bottom: var(--s2); }
.version { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--paper-raised); transition: all .18s var(--ease); }
.version.loved { border-color: var(--first-light); box-shadow: var(--shadow-soft); transform: translateY(-2px); }
.v-art { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--paper-deep); }
.v-row { display: flex; align-items: center; justify-content: space-between; padding: .5rem .7rem; }
.v-label { font-size: .85rem; color: var(--ink-faint); }
.v-love { font-family: var(--body); font-size: .88rem; border: none; background: transparent; cursor: pointer; color: var(--sage-deep); padding: .2rem .3rem; }
.v-love.on { color: var(--first-light-deep); font-weight: 700; }
@media (max-width: 540px) { .handoff-roles { grid-template-columns: 1fr; } }

/* ----- brand-kit list (its bullets are themselves a brandable asset) ----- */
.body-copy ul.kit { list-style: none; padding: 0; margin: var(--s3) 0; }
.body-copy ul.kit li { position: relative; padding: .4rem 0 .4rem 1.6rem; border-bottom: 1px solid var(--line); }
.body-copy ul.kit li::before { content: "✦"; position: absolute; left: 0; color: var(--strength); }
.body-copy ul.kit li:last-child { border-bottom: none; }

/* ----- finance: pricing sliders + live readout ----- */
.finance { margin: var(--s3) 0; }
.f-field { margin: var(--s4) 0; }
.f-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .5rem; gap: 1rem; }
.f-head label { font-size: 1.02rem; color: var(--ink); }
.f-val { font-family: var(--display); font-size: 1.2rem; font-weight: 500; color: var(--first-light-deep); white-space: nowrap; }
input[type="range"] { width: 100%; accent-color: var(--first-light-deep); height: 1.5rem; cursor: pointer; }
.readout { margin-top: var(--s5); padding: var(--s4); background: var(--paper-raised); border: 1px solid var(--line); border-radius: var(--radius); text-align: center; box-shadow: var(--shadow-soft); }
.readout-big { font-family: var(--display); font-size: clamp(1.8rem, 6vw, 2.5rem); color: var(--ink); }
.readout-split { margin-top: .5rem; color: var(--ink-soft); font-size: 1rem; }
.readout-split .dot { margin: 0 .5rem; color: var(--ink-faint); }
.readout-sub { color: var(--ink-soft); margin-top: .6rem; font-size: .98rem; }

/* ----- footer note ----- */
.savednote { text-align: center; font-size: .82rem; color: var(--ink-faint); padding: var(--s3) 0; }

/* ----- responsive ----- */
@media (max-width: 540px) {
  body { font-size: 1.06rem; }
  .topbar { padding: var(--s2) var(--s3); }
  .path { padding: 0 var(--s3); }
  .stage { padding-top: var(--s3); }
  .actions { gap: var(--s2); }
  .btn { width: 100%; justify-content: center; text-align: center; }
  .btn-text { width: auto; }
}

/* ----- reduced motion ----- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
