/* Foretold intake widget — scoped with ft- prefix so it never clashes with the Shopify theme. */
/* Same fonts as the foretold.shop theme (already loaded there; this import covers the standalone page). */
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@500;600&family=DM+Sans:wght@400;500;600;700&family=Libre+Caslon+Text&display=swap');

.ft-root, .ft-banner, .ft-toast {
  --ft-font: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ft-serif: 'Libre Caslon Text', Georgia, serif;
  --ft-hand: 'Caveat', 'Segoe Script', cursive;
  --ft-sun-1: #f6e8ce; --ft-sun-2: #f2d5a6; --ft-sun-3: #e6b179; --ft-sun-4: #bc875b;
  --ft-heading: #18313a;   /* foretold.shop headings + primary buttons */
  --ft-text: #48575c;      /* foretold.shop body text */
  --ft-muted: #7d898c;
  --ft-subtle: #a7b0b2;
  --ft-bg: #fcfcfa;
  --ft-surface: #ffffff;
  --ft-border: #e3e6e2;
  --ft-fill: #f1f3f0;
  --ft-accent: #18313a;
  --ft-gold: #a27a42;
  --ft-rec: #c0513f;
  --ft-ok: #2f7a5c;
  --ft-warn: #a27a42;
  font-family: var(--ft-font);
  color: var(--ft-text);
  -webkit-font-smoothing: antialiased;
}
.ft-root *, .ft-banner *, .ft-toast * { box-sizing: border-box; font-family: inherit; }
.ft-root { max-width: 640px; margin: 0 auto; padding: 32px 16px 120px; line-height: 1.5; }
.ft-root p { margin: 0; }

/* ---------- header / progress ---------- */
.ft-head { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--ft-muted); margin-bottom: 10px; }
.ft-head strong { color: var(--ft-heading); font-weight: 600; }
.ft-bar { height: 3px; background: var(--ft-border); border-radius: 3px; overflow: hidden; margin-bottom: 28px; }
.ft-bar-fill { height: 100%; background: var(--ft-accent); transition: width .35s ease; }

/* ---------- typography ---------- */
.ft-kicker { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ft-gold); margin-bottom: 12px; }
.ft-kicker .ft-opt { color: var(--ft-subtle); font-weight: 500; text-transform: none; letter-spacing: 0; margin-left: 6px; }
.ft-title { font-family: var(--ft-serif); font-size: 32px; line-height: 1.15; font-weight: 400; letter-spacing: -.035em; color: var(--ft-heading); margin: 0 0 14px; }
.ft-lead { font-size: 16px; line-height: 1.65; color: var(--ft-text); }
.ft-hint { font-size: 14px; color: var(--ft-muted); margin-top: 8px; }
.ft-small { font-size: 13px; color: var(--ft-muted); }

/* ---------- surfaces ---------- */
.ft-panel { margin-top: 28px; background: var(--ft-surface); border: 1px solid var(--ft-border); border-radius: 14px; padding: 22px; box-shadow: 0 1px 2px rgba(24,49,58,.04); }

/* ---------- buttons ---------- */
.ft-btn { appearance: none; border: 0; cursor: pointer; font-size: 15px; font-weight: 600; line-height: 1;
  border-radius: 9px; padding: 14px 22px; letter-spacing: .01em; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--ft-accent); color: #fff; transition: opacity .15s, background .15s; }
.ft-btn:hover { opacity: .88; }
.ft-btn:disabled { opacity: .3; cursor: not-allowed; }
.ft-btn-secondary { background: rgba(255,255,255,.64); color: var(--ft-heading); border: 1px solid var(--ft-border); }
.ft-btn-text { background: none; color: var(--ft-muted); padding: 8px 4px; font-weight: 500; }
.ft-btn-text:hover { color: var(--ft-heading); opacity: 1; }
.ft-btn-sm { font-size: 13px; padding: 9px 14px; border-radius: 8px; }
.ft-btn-block { width: 100%; }

/* ---------- segmented toggle ---------- */
.ft-seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--ft-fill); border-radius: 10px; padding: 4px; margin-bottom: 20px; }
.ft-seg button { appearance: none; border: 0; background: none; border-radius: 7px; padding: 10px; cursor: pointer;
  font-size: 14px; font-weight: 600; color: var(--ft-muted); display: flex; align-items: center; justify-content: center; gap: 8px; }
.ft-seg button.on { background: var(--ft-surface); color: var(--ft-heading); box-shadow: 0 1px 2px rgba(24,49,58,.1); }
.ft-seg svg { width: 16px; height: 16px; }

/* ---------- voice ---------- */
.ft-voice { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 12px 0 4px; }
.ft-mic { width: 84px; height: 84px; border-radius: 50%; border: 0; cursor: pointer; background: var(--ft-accent); color: #fff;
  display: grid; place-items: center; position: relative; transition: transform .15s; }
.ft-mic:hover { transform: scale(1.04); }
.ft-mic:disabled { opacity: .3; cursor: not-allowed; transform: none; }
.ft-mic svg { width: 30px; height: 30px; }
.ft-mic.rec { background: var(--ft-rec); }
.ft-mic.rec::before { content: ''; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid var(--ft-rec); opacity: .35; animation: ft-ring 1.4s ease-out infinite; }
@keyframes ft-ring { from { transform: scale(.92); opacity: .5; } to { transform: scale(1.18); opacity: 0; } }
.ft-voice-label { margin-top: 14px; font-size: 15px; font-weight: 600; color: var(--ft-heading); }
.ft-timer { margin-top: 14px; color: var(--ft-heading); font-size: 32px; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.ft-timer span { color: var(--ft-subtle); font-size: 18px; font-weight: 500; }
.ft-meter { width: 100%; max-width: 280px; height: 4px; background: var(--ft-fill); border-radius: 4px; overflow: hidden; margin-top: 12px; }
.ft-meter div { height: 100%; background: var(--ft-rec); transition: width .25s linear; }

/* ---------- text ---------- */
.ft-textarea, .ft-input { width: 100%; border: 1px solid var(--ft-border); border-radius: 10px; padding: 12px 14px;
  font-size: 16px; line-height: 1.55; color: var(--ft-text); background: var(--ft-surface); outline: none; transition: border-color .15s, box-shadow .15s; }
.ft-textarea { min-height: 150px; resize: vertical; }
.ft-textarea:focus, .ft-input:focus { border-color: var(--ft-accent); box-shadow: 0 0 0 3px rgba(24,49,58,.08); }
.ft-actions { display: flex; justify-content: flex-end; align-items: center; gap: 8px; margin-top: 12px; }
.ft-actions .ft-spacer { flex: 1; }

/* ---------- answered ---------- */
.ft-answer-head { gap: 12px; flex-wrap: wrap; display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.ft-chip { white-space: nowrap; flex: none; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--ft-muted);
  background: var(--ft-fill); border-radius: 999px; padding: 5px 10px; }
.ft-chip svg { width: 13px; height: 13px; }
.ft-status { display: flex; align-items: center; gap: 8px; font-size: 14px; margin-top: 16px; }
.ft-status.ok { color: var(--ft-ok); }
.ft-status svg { width: 16px; height: 16px; flex: none; }

/* ---------- follow-up ---------- */
.ft-followup { margin-top: 16px; border: 1px solid var(--ft-border); border-left: 3px solid var(--ft-gold); border-radius: 12px; padding: 18px 20px; background: var(--ft-surface); }
.ft-followup .ft-kicker { margin-bottom: 6px; }
.ft-followup .ft-lead { font-size: 16px; margin-bottom: 16px; }
.ft-followup .ft-panel { margin-top: 0; border: 0; padding: 0; }

/* ---------- loading ---------- */
.ft-loading { display: flex; flex-direction: column; gap: 10px; padding: 8px 0; }
.ft-loading-label { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ft-muted); margin-bottom: 4px; }
.ft-skel { height: 12px; border-radius: 6px; background: linear-gradient(90deg, var(--ft-fill), #ececec, var(--ft-fill)); background-size: 200% 100%; animation: ft-shimmer 1.2s infinite; }
@keyframes ft-shimmer { to { background-position: -200% 0; } }
.ft-spinner { width: 16px; height: 16px; border: 2px solid var(--ft-border); border-top-color: var(--ft-text); border-radius: 50%; animation: ft-spin .7s linear infinite; }
@keyframes ft-spin { to { transform: rotate(360deg); } }

/* ---------- forms ---------- */
.ft-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ft-field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ft-heading); }
.ft-field.wide { grid-column: 1 / -1; }
.ft-field .ft-req { color: var(--ft-subtle); font-weight: 500; }

/* ---------- intro / review / done ---------- */
.ft-steps { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 12px; }
.ft-steps li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.ft-steps .ft-num { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--ft-border); background: var(--ft-surface); color: var(--ft-heading); font-family: var(--ft-serif); font-size: 13px; display: grid; place-items: center; }
.ft-review { list-style: none; padding: 0; margin: 24px 0; border: 1px solid var(--ft-border); border-radius: 12px; overflow: hidden; background: var(--ft-surface); }
.ft-review li { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--ft-border); font-size: 14px; }
.ft-review li:first-child { border-top: 0; }
.ft-review button { appearance: none; background: none; border: 0; padding: 0; font-size: 14px; color: var(--ft-heading); cursor: pointer; text-align: left; flex: 1; }
.ft-review button:hover { text-decoration: underline; }
.ft-dotstate { width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--ft-border); }
.ft-dotstate.ok { background: var(--ft-ok); }
.ft-dotstate.req { background: var(--ft-warn); }
.ft-tag { font-size: 12px; color: var(--ft-muted); }
.ft-center { text-align: center; padding: 48px 0; }
.ft-check-big { width: 56px; height: 56px; border-radius: 50%; background: var(--ft-accent); color: #fff; display: grid; place-items: center; margin: 0 auto 20px; }
.ft-check-big svg { width: 26px; height: 26px; }

/* ---------- bottom nav ---------- */
.ft-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990; background: rgba(252,252,250,.94); backdrop-filter: blur(8px);
  border-top: 1px solid var(--ft-border); padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); }
.ft-nav-inner { max-width: 640px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ft-nav .ft-btn:not(.ft-btn-text) { min-width: 140px; }

/* ---------- recording banner (top) ---------- */
.ft-banner { position: fixed; top: 0; left: 0; right: 0; z-index: 99999; background: var(--ft-heading); color: #fff;
  display: flex; align-items: center; justify-content: center; gap: 12px; padding: 10px 16px; font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; }
.ft-banner .ft-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--ft-rec); animation: ft-blink 1s infinite; }
@keyframes ft-blink { 50% { opacity: .3; } }
.ft-banner button { appearance: none; border: 1px solid rgba(255,255,255,.25); background: none; color: #fff; border-radius: 6px; padding: 5px 12px; font-size: 13px; font-weight: 600; cursor: pointer; }
.ft-banner::after { content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: var(--ft-progress, 0%); background: var(--ft-rec); }

.ft-toast { position: fixed; bottom: 88px; left: 50%; transform: translateX(-50%); background: var(--ft-heading); color: #fff;
  padding: 11px 16px; border-radius: 10px; font-size: 14px; z-index: 99999; max-width: calc(100vw - 32px); box-shadow: 0 8px 24px rgba(0,0,0,.15); }

@media (max-width: 560px) {
  .ft-root { padding-top: 20px; }
  .ft-title { font-size: 26px; }
  .ft-lead { font-size: 16px; }
  .ft-panel { padding: 16px; }
  .ft-fields { grid-template-columns: 1fr; }
  .ft-nav .ft-btn:not(.ft-btn-text) { min-width: 0; flex: 1; }
}

/* ---------- login + save-for-later ---------- */
.ft-login { max-width: 440px; margin: 24px auto 0; }
.ft-login .ft-fields { grid-template-columns: 1fr; margin-top: 4px; }
.ft-login .ft-btn { width: 100%; margin-top: 18px; }
.ft-error { color: var(--ft-rec); font-size: 14px; margin-top: 12px; }
.ft-head-actions { display: flex; align-items: center; gap: 14px; }
.ft-save-later { appearance: none; background: none; border: 0; padding: 0; cursor: pointer; font-size: 13px; font-weight: 600; color: var(--ft-heading); text-decoration: underline; text-underline-offset: 3px; }
.ft-notice { background: var(--ft-surface); border: 1px solid var(--ft-border); border-left: 3px solid var(--ft-gold); border-radius: 12px; padding: 16px 18px; margin: -12px 0 24px; font-size: 14px; }
.ft-notice strong { color: var(--ft-heading); display: block; margin-bottom: 4px; }
.ft-root-bg { background: var(--ft-bg); }

/* ---------- v2: autosave, pending uploads, quotes ---------- */
.ft-save-state { font-size: 12px; color: var(--ft-muted); }
.ft-save-state[data-state="Draft saved"], .ft-save-state[data-state="Saved"] { color: var(--ft-ok); }
.ft-pending { border-color: var(--ft-gold); background: #fffaf2; }
.ft-pending .ft-status { margin-top: 0; color: var(--ft-heading); align-items: flex-start; }
.ft-actions-left { justify-content: flex-start; margin-top: 6px; }
.ft-icon-btn { appearance: none; border: 0; background: none; cursor: pointer; color: var(--ft-muted); width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; flex: none; }
.ft-icon-btn:hover { background: var(--ft-fill); color: var(--ft-heading); }
.ft-icon-btn svg { width: 16px; height: 16px; }
.ft-btn svg { width: 15px; height: 15px; }
.ft-tip { margin-top: 12px; }
.ft-quotes { margin-top: 14px; display: grid; gap: 8px; }
.ft-quote { display: flex; align-items: flex-start; gap: 8px; background: #faf6ef; border: 1px solid #efe4d2; border-radius: 10px; padding: 10px 10px 10px 14px;
  font-family: var(--ft-serif); font-size: 15px; line-height: 1.5; color: var(--ft-heading); }
.ft-quote span { flex: 1; }

/* ---------- v2: language, style, examples ---------- */
.ft-field-label { font-size: 14px; font-weight: 600; color: var(--ft-heading); margin-bottom: 12px !important; }
.ft-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.ft-pill { appearance: none; border: 1px solid var(--ft-border); background: var(--ft-surface); color: var(--ft-heading); border-radius: 999px; padding: 9px 16px; font-size: 14px; font-weight: 500; cursor: pointer; }
.ft-pill.on { background: var(--ft-accent); border-color: var(--ft-accent); color: #fff; }
.ft-style-grid { display: grid; gap: 12px; margin-top: 24px; }
.ft-style { appearance: none; text-align: left; cursor: pointer; background: var(--ft-surface); border: 1px solid var(--ft-border); border-radius: 14px; padding: 18px 20px; display: grid; gap: 10px; transition: border-color .15s, box-shadow .15s; }
.ft-style:hover { border-color: #c9cfca; }
.ft-style.on { border-color: var(--ft-accent); box-shadow: 0 0 0 3px rgba(24,49,58,.08); }
.ft-style-top { display: flex; justify-content: space-between; align-items: center; }
.ft-style-label { font-size: 14px; font-weight: 600; color: var(--ft-heading); }
.ft-radio { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--ft-border); display: grid; place-items: center; color: #fff; }
.ft-style.on .ft-radio { background: var(--ft-accent); border-color: var(--ft-accent); }
.ft-radio svg { width: 13px; height: 13px; }
.ft-style-sample { font-family: var(--ft-serif); font-size: 16px; line-height: 1.6; color: var(--ft-text); font-style: italic; }

/* ---------- v2: photos ---------- */
.ft-photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; margin-top: 24px; }
.ft-photo { display: grid; gap: 8px; }
.ft-photo-img { aspect-ratio: 1; border-radius: 12px; background: var(--ft-fill) center / cover no-repeat; border: 1px solid var(--ft-border); position: relative; }
.ft-photo-del { position: absolute; top: 6px; right: 6px; background: rgba(255,255,255,.92); }
.ft-photo-add { appearance: none; aspect-ratio: 1; border-radius: 12px; border: 1.5px dashed #c9cfca; background: var(--ft-surface); color: var(--ft-heading);
  cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; font-size: 14px; font-weight: 600; }
.ft-photo-add:hover { border-color: var(--ft-accent); }
.ft-photo-add svg { width: 22px; height: 22px; }
.ft-input-sm { padding: 9px 11px; font-size: 14px; border-radius: 8px; }

/* ---------- v2: fact check ---------- */
.ft-facts { display: grid; gap: 8px; }
.ft-fact { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr) auto; gap: 8px; align-items: center; }
.ft-fact .ft-input:first-child { color: var(--ft-muted); }

@media (max-width: 560px) {
  .ft-hide-sm { display: none; }
  .ft-fact { grid-template-columns: 1fr auto; }
  .ft-fact .ft-input:first-child { grid-column: 1 / -1; font-size: 12px; padding: 6px 10px; border: 0; background: none; padding-left: 2px; }
  .ft-photo-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- v3: AI badge, examples, style preview, overview ---------- */
.ft-ai { display: inline-flex; align-items: center; gap: 3px; font-size: 10px; font-weight: 700; letter-spacing: .04em; color: var(--ft-gold);
  background: #faf3e7; border: 1px solid #efe1c8; border-radius: 999px; padding: 2px 7px 2px 5px; line-height: 1; vertical-align: middle; }
.ft-ai svg { width: 11px !important; height: 11px !important; }
.ft-seg button .ft-ai { margin-left: 2px; }
.ft-mic-ai { position: absolute; top: -2px; right: -2px; width: 28px; height: 28px; border-radius: 50%; background: var(--ft-gold); color: #fff;
  display: grid; place-items: center; border: 3px solid var(--ft-surface); }
.ft-mic-ai svg { width: 14px !important; height: 14px !important; }
.ft-ai-line { display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; max-width: 380px; }

.ft-example { margin-top: 16px; }
.ft-example-btn { appearance: none; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; background: var(--ft-surface);
  border: 1px solid var(--ft-border); border-radius: 999px; padding: 8px 14px; font-size: 13px; font-weight: 600; color: var(--ft-heading); }
.ft-example-btn:hover { border-color: var(--ft-gold); }
.ft-example-btn svg { width: 15px; height: 15px; color: var(--ft-gold); }
.ft-example-body { margin-top: 10px; background: #faf6ef; border: 1px solid #efe4d2; border-radius: 12px; padding: 14px 16px; }
.ft-example-label { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ft-gold); margin-bottom: 6px !important; }
.ft-example-text { font-family: var(--ft-serif); font-size: 16px; line-height: 1.6; color: var(--ft-heading); margin-bottom: 8px !important; }

.ft-preview { margin-top: 22px; }
.ft-preview-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.ft-preview-head .ft-kicker { margin: 0; }
.ft-page { background: #fffdf8; border: 1px solid #ebe5d8; border-radius: 6px; padding: 30px 30px 34px; margin-bottom: 10px;
  box-shadow: 0 1px 0 #ebe5d8, 0 6px 18px rgba(24,49,58,.07); }
.ft-page-chapter { font-family: var(--ft-serif); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--ft-gold); text-align: center; margin-bottom: 16px !important; }
.ft-page-text { font-family: var(--ft-serif); font-size: 16px; line-height: 1.8; color: #2a3a40; text-align: justify; hyphens: auto; }
.ft-page-text::first-letter { font-size: 42px; float: left; line-height: .9; padding: 4px 8px 0 0; color: var(--ft-heading); }

.ft-ov { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 12px; }
.ft-ov-item { background: var(--ft-surface); border: 1px solid var(--ft-border); border-radius: 14px; padding: 18px 20px; }
.ft-ov-item.missing { border-color: #e8cfa4; background: #fffaf2; }
.ft-ov-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.ft-ov-head .ft-kicker { margin-bottom: 4px; }
.ft-ov-head .ft-dotstate { margin-top: 6px; }
.ft-ov-title { font-family: var(--ft-serif); font-weight: 400; font-size: 20px; color: var(--ft-heading); margin: 0; letter-spacing: -.02em; }
.ft-ov-q { font-size: 13px; color: var(--ft-muted); margin-top: 6px !important; }
.ft-ov-answer { margin-top: 12px; }
.ft-ov-sub { font-size: 13px; color: var(--ft-muted); font-style: italic; margin-bottom: 6px !important; }
.ft-ov-text { font-size: 15px; line-height: 1.65; color: var(--ft-text); white-space: pre-wrap; border-left: 2px solid var(--ft-border); padding-left: 12px; }
.ft-ov-empty { margin-top: 12px !important; font-size: 14px; color: var(--ft-muted); font-style: italic; }
.ft-ov-item.missing .ft-ov-empty { color: var(--ft-warn); }
.ft-ov-fu { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--ft-border); }
.ft-ov-rows { margin-top: 12px; display: grid; gap: 6px; }
.ft-ov-row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 12px; font-size: 14px; }
.ft-ov-row span:first-child { color: var(--ft-muted); }
.ft-ov-row span:last-child { color: var(--ft-heading); }
.ft-ov-thumbs { display: flex; gap: 6px; margin-top: 12px; }
.ft-ov-thumbs span { width: 48px; height: 48px; border-radius: 8px; background: var(--ft-fill) center / cover; border: 1px solid var(--ft-border); }
.ft-ov-foot { display: flex; justify-content: flex-end; margin-top: 10px; }
.ft-link-btn { appearance: none; background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 6px 0;
  font-size: 13px; font-weight: 600; color: var(--ft-heading); }
.ft-link-btn svg { width: 14px; height: 14px; }
.ft-link-btn:hover { text-decoration: underline; text-underline-offset: 3px; }
.ft-ov-answer .ft-link-btn { margin-top: 6px; }
@media (max-width: 560px) { .ft-page { padding: 22px 18px 26px; } .ft-page-text { font-size: 15px; text-align: left; } .ft-ov-row { grid-template-columns: 1fr; gap: 0; } }

/* ---------- v4: AI deep dive ---------- */
.ft-kicker .ft-ai { margin-left: 8px; }
.ft-deep-summary { display: flex; gap: 12px; align-items: flex-start; margin-top: 24px; background: #faf6ef; border: 1px solid #efe4d2; border-radius: 12px; padding: 14px 16px; font-size: 14px; color: var(--ft-text); }
.ft-deep-summary.ready { background: #f1f7f3; border-color: #d5e8dc; }
.ft-deep-summary strong { color: var(--ft-heading); display: block; margin-bottom: 2px; }
.ft-deep-icon { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--ft-gold); color: #fff; display: grid; place-items: center; }
.ft-deep-summary.ready .ft-deep-icon { background: var(--ft-ok); }
.ft-deep-icon svg { width: 15px; height: 15px; }
.ft-deep { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--ft-border); }
.ft-deep:first-of-type { border-top: 0; }
.ft-deep-q { font-family: var(--ft-serif); font-size: 21px; line-height: 1.35; color: var(--ft-heading); letter-spacing: -.02em; }
.ft-deep-why { display: flex; align-items: center; gap: 6px; margin-top: 8px !important; }
.ft-deep-why svg { width: 14px; height: 14px; color: var(--ft-gold); flex: none; }
.ft-deep .ft-panel { margin-top: 16px; }

/* ---------- v5: brand details & funnel delight ---------- */
.ft-root > * { animation: ft-rise .35s ease both; }
@keyframes ft-rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.ft-hand { font-family: var(--ft-hand); font-size: 24px; line-height: 1.2; color: var(--ft-heading); }
.ft-hand.gold { color: var(--ft-gold); }

/* chapter progress */
.ft-chapters { display: flex; gap: 6px; margin: -18px 0 26px; }
.ft-chapters span { flex: 1; height: 3px; border-radius: 3px; background: var(--ft-border); position: relative; overflow: hidden; }
.ft-chapters span.done { background: var(--ft-heading); }
.ft-chapters span.now { background: linear-gradient(90deg, var(--ft-sun-3), var(--ft-sun-2)); }
.ft-bar.hide { display: none; }
.ft-left { color: var(--ft-gold); font-weight: 600; }

/* chapter intro card */
.ft-chapter-intro { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; padding: 14px 16px; border-radius: 14px;
  background: linear-gradient(135deg, #fffaf1, #fdf2df); border: 1px solid #f0dfc2; }
.ft-sun { flex: none; width: 40px; height: 40px; border-radius: 50%; background: radial-gradient(circle at 50% 60%, #fffbee, var(--ft-sun-2) 45%, var(--ft-sun-3) 75%, var(--ft-sun-4)); box-shadow: 0 0 0 5px rgba(242,213,166,.25); }
.ft-chapter-intro small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ft-gold); }

/* book cover mockup */
.ft-book-wrap { display: flex; justify-content: center; margin: 8px 0 26px; perspective: 900px; }
.ft-book { width: 168px; height: 236px; border-radius: 3px 8px 8px 3px; position: relative; transform: rotateY(-14deg); transform-style: preserve-3d;
  background: linear-gradient(160deg, #1f3c47, #18313a 55%, #10232a); box-shadow: 18px 22px 40px rgba(24,49,58,.28), inset 6px 0 0 rgba(255,255,255,.06);
  color: #f6e8ce; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 24px 16px 20px; text-align: center; overflow: hidden; }
.ft-book::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 10px; background: linear-gradient(90deg, rgba(0,0,0,.35), rgba(255,255,255,.08), rgba(0,0,0,0)); }
.ft-book-sun { position: absolute; left: 50%; bottom: 58px; width: 150px; height: 150px; transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(circle, rgba(255,251,238,.95), rgba(242,213,166,.6) 30%, rgba(230,177,121,.25) 55%, rgba(230,177,121,0) 70%); }
.ft-book-hills { position: absolute; left: 0; right: 0; bottom: 0; height: 70px; background: linear-gradient(180deg, rgba(188,135,91,.55), rgba(111,81,64,.9));
  clip-path: polygon(0 45%, 22% 25%, 45% 52%, 68% 22%, 100% 48%, 100% 100%, 0 100%); }
.ft-book-title { position: relative; font-family: var(--ft-serif); font-size: 22px; letter-spacing: -.02em; color: #f6e8ce; }
.ft-book-sub { position: relative; font-size: 8px; letter-spacing: .22em; text-transform: uppercase; color: rgba(246,232,206,.75); margin-top: 6px; }
.ft-book-name { position: relative; font-family: var(--ft-serif); font-size: 12px; letter-spacing: .06em; color: #fff; text-transform: uppercase; }

/* timeline on done screen */
.ft-timeline { list-style: none; padding: 0; margin: 28px auto 0; max-width: 420px; text-align: left; }
.ft-timeline li { display: flex; gap: 14px; padding-bottom: 18px; position: relative; }
.ft-timeline li:not(:last-child)::after { content: ''; position: absolute; left: 13px; top: 30px; bottom: 2px; width: 1px; background: var(--ft-border); }
.ft-timeline .ft-num { flex: none; width: 27px; height: 27px; border-radius: 50%; display: grid; place-items: center; font-family: var(--ft-serif); font-size: 13px;
  background: var(--ft-surface); border: 1px solid var(--ft-border); color: var(--ft-heading); }
.ft-timeline li.now .ft-num { background: var(--ft-heading); color: #fff; border-color: var(--ft-heading); }
.ft-timeline strong { display: block; color: var(--ft-heading); font-size: 15px; }
.ft-timeline span { font-size: 14px; color: var(--ft-muted); }

/* handwritten toast */
.ft-toast.hand { font-family: var(--ft-hand); font-size: 22px; background: #fffaf1; color: var(--ft-heading); border: 1px solid #f0dfc2; padding: 8px 18px; }
.ft-bar { display: none; }
.ft-chapters { margin: 0 0 26px; }
