/* Loaf Scout: Hearth. The app lives on a kitchen counter in daylight with flour on
   the hands, so the ground is warm flour-white and linen, the ink is crust brown, and
   the one accent is ember, the color of a well baked crust. Verdicts are four kitchen
   colors that read as a scale, not a traffic light: sage (Bake it again), honey
   (Nearly there), ember (One change next bake), rust (A few changes next bake). Round
   radii, soft warm shadows, a serif for titles. Fraunces for display, Figtree for
   body. Light only, on purpose. The class contract is the StrandScout engine's;
   .btn-copper and tone="copper" keep their names and mean ember. */
:root {
  --bg: #F7F1E6;
  --bg-2: #F1E8D8;
  --bg-3: #EADFCB;
  --panel: #FFFCF6;
  --panel-2: #F6EFE3;
  --ink: #2B1D12;
  --ink-2: #5B4835;
  --muted: #8E7B68;
  --faint: #BBAE9C;
  --line: #E9DECD;
  --line-2: #D8CAB4;
  --rule: rgba(212, 104, 42, .35);
  --ember: #D4682A;
  --ember-deep: #B5531C;
  --ember-soft: #FBE6D6;
  --ember-bright: #F0A06A;
  --on-ember: #FFF8EE;
  --great: #4F8A5C;
  --great-bright: #2F6B3C;
  --great-soft: #E2EFE0;
  --close: #C9962C;
  --close-bright: #8A6210;
  --close-soft: #F9EDCF;
  --adjust: #D4682A;
  --adjust-bright: #A94E1C;
  --adjust-soft: #FAE3D3;
  --redo: #B8392A;
  --redo-bright: #8F2A1E;
  --redo-soft: #F6DBD6;
  --crumb: #C9A47A;
  --shadow-sm: 0 1px 2px rgba(59, 42, 26, .06), 0 4px 14px -6px rgba(59, 42, 26, .12);
  --shadow: 0 2px 4px rgba(59, 42, 26, .06), 0 18px 40px -18px rgba(59, 42, 26, .22);
  --shadow-lg: 0 4px 8px rgba(59, 42, 26, .08), 0 30px 60px -24px rgba(59, 42, 26, .3);
  --radius: 20px;
  --radius-sm: 16px;
  --radius-xs: 12px;
  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --body: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1160px;
  /* the Hairline figure in the hero takes the house palette */
  --hairline-plate: #FFFCF6;
  --hairline-hi: #D4682A;
  --hairline-edge: #5B4835;
  --hairline-mid: #BBAE9C;
  --hairline-lo: #E3D7C5;
  --hairline-stroke: 1;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: var(--ember); text-decoration-thickness: 1px; text-underline-offset: 3px; font-weight: 600; }
a:hover { color: var(--ember-bright); }
::selection { background: var(--ember-deep); color: var(--ink); }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ember); color: var(--on-ember); padding: 8px 14px; border-radius: var(--radius-xs); z-index: 50; }
.skip:focus { left: 12px; }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.15; letter-spacing: -.012em; margin: 0 0 .5em; color: var(--ink); text-wrap: balance; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.center { text-align: center; }

/* ---------- verdict chips (the house motif) ---------- */
.verdict { display: inline-flex; align-items: center; gap: 8px; font: 700 .78rem/1 var(--body); letter-spacing: .03em; padding: 7px 12px 7px 10px; border-radius: 999px; white-space: nowrap; border: 1px solid transparent; }
.verdict::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.verdict-great { background: var(--great-soft); color: var(--great-bright); border-color: rgba(79, 138, 92, .35); }
.verdict-close { background: var(--close-soft); color: var(--close-bright); border-color: rgba(201, 150, 44, .4); }
.verdict-adjust { background: var(--adjust-soft); color: var(--adjust-bright); border-color: rgba(212, 104, 42, .4); }
.verdict-redo { background: var(--redo-soft); color: var(--redo-bright); border-color: rgba(184, 57, 42, .4); }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px clamp(16px, 4vw, 40px); background: rgba(247, 241, 230, .88); backdrop-filter: saturate(1.2) blur(12px); -webkit-backdrop-filter: saturate(1.2) blur(12px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--display); font-size: 1.3rem; font-weight: 600; letter-spacing: -.01em; }
.brand b { font-weight: 600; color: var(--ember); }
.brand img { width: 32px; height: 32px; border-radius: 9px; }
.brand:hover { color: var(--ink); }
.site-nav { display: flex; align-items: center; gap: 2px; }
.site-nav a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .92rem; padding: 8px 12px; border-radius: var(--radius-xs); }
.site-nav a:hover { background: var(--panel-2); color: var(--ink); }
.site-nav a.nav-cta { background: var(--ember); color: var(--on-ember); margin-left: 8px; padding: 8px 16px; font-weight: 700; }
.site-nav a.nav-cta:hover { background: var(--ember-bright); color: var(--on-ember); }
.nav-toggle { display: none; }
@media (max-width: 1040px) {
  .nav-toggle { display: grid; gap: 4px; width: 44px; height: 40px; place-content: center; background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--radius-xs); cursor: pointer; }
  .nav-toggle i { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 10px 16px 18px; background: var(--panel); border-bottom: 1px solid var(--line-2); box-shadow: var(--shadow); display: none; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 14px; font-size: 1.05rem; }
  .site-nav a.nav-cta { margin: 8px 0 0; text-align: center; }
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--body); font-weight: 700; font-size: 1rem; color: var(--ink); text-decoration: none; padding: 12px 20px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); cursor: pointer; transition: transform .12s ease, background .12s ease, border-color .12s ease; background: var(--panel-2); line-height: 1.2; }
.btn:hover { transform: translateY(-1px); color: var(--ink); border-color: var(--muted); }
.btn:active { transform: translateY(0); }
.btn:disabled { cursor: default; transform: none; opacity: .5; }
.btn-lg { font-size: 1.05rem; padding: 15px 26px; }
.btn-sm { font-size: .88rem; padding: 7px 12px; border-radius: var(--radius-xs); }
.btn-copper, .btn-ink, .btn-primary { background: var(--ember); color: var(--on-ember); border-color: var(--ember); }
.btn-copper:hover, .btn-ink:hover, .btn-primary:hover { background: var(--ember-bright); color: var(--on-ember); border-color: var(--ember-bright); }
.btn-paper { background: var(--panel); }
.btn-outline { background: transparent; border: 1px solid var(--ink-2); }
.btn-outline:hover { border-color: var(--ink); }

/* ---------- layout ---------- */
main { overflow-x: clip; }
.section { max-width: var(--wrap); margin: 0 auto; padding: clamp(40px, 6vw, 76px) clamp(16px, 4vw, 40px); }
main > .section + .section, main > .section + div > .cta, main > .verdicts + .section { border-top: 1px solid var(--rule); }
.section-head { max-width: 760px; margin: 0 auto 30px; text-align: center; }
.kicker, .kicker-pill, .eyebrow { font-family: var(--body); font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ember); margin: 0 0 10px; }
.kicker::before { content: ''; display: inline-block; width: 18px; height: 1px; margin-right: 10px; vertical-align: 4px; background: var(--ember); }
.kicker a { color: var(--ember); text-decoration: none; }
.kicker a:hover { text-decoration: underline; }
.kicker-pill { display: inline-flex; align-items: center; gap: 8px; background: var(--panel); border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 12px 6px 9px; color: var(--ink-2); }
.kicker-pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--great); }
.h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 600; letter-spacing: -.018em; }
.lede { font-size: 1.12rem; color: var(--ink-2); }
.title { font-size: clamp(2rem, 4.8vw, 3.1rem); font-weight: 600; letter-spacing: -.022em; }
.band { max-width: none; background: var(--bg-2); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); position: relative; }
.band-in { max-width: var(--wrap); margin: 0 auto; }

/* ---------- hero ---------- */
.hero-wrap { position: relative; overflow: hidden; border-bottom: 1px solid var(--rule); background: var(--bg); }
.hero-wrap::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--rule); }
.hero { position: relative; max-width: var(--wrap); margin: 0 auto; padding: clamp(34px, 6vw, 72px) clamp(16px, 4vw, 40px) clamp(38px, 5vw, 60px); display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(28px, 4vw, 60px); align-items: center; }
.hero-h { font-size: clamp(2.4rem, 5.8vw, 4.2rem); font-weight: 600; letter-spacing: -.028em; line-height: 1.04; margin: 18px 0 18px; }
.hero-h em { font-style: normal; color: var(--ember); }
.hero-sub { font-size: 1.15rem; color: var(--ink-2); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 16px; }
.hero-note { font-size: .88rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; font-weight: 600; }
.hero-note span::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--ember); margin-right: 8px; vertical-align: 2px; }
.hero-tools { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.hero-tools a { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 7px 8px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line-2); color: var(--ink-2); text-decoration: none; font-size: .88rem; font-weight: 600; }
.hero-tools a:hover { border-color: var(--ember); color: var(--ink); }
.hero-tools i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font: 700 .66rem var(--body); color: var(--on-ember); background: var(--ember); font-style: normal; }
@media (max-width: 860px) { .hero { grid-template-columns: 1fr; } .hero-art { order: 2; } }

/* the hero art: the Hairline loaf figure on a paper plate, and the read card under it */
.hero-art { display: grid; justify-items: center; gap: 14px; width: 100%; }
.figure-plate { position: relative; width: min(440px, 100%); background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 10px 10px 8px; }
.fig-stage { width: 100%; aspect-ratio: 5 / 4; border-radius: var(--radius-sm); overflow: hidden; }
.fig-tag { position: absolute; top: 18px; z-index: 1; font: 600 .7rem/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .04em; color: var(--muted); pointer-events: none; }
.fig-name { left: 20px; }
.fig-read { right: 20px; color: var(--ink); font-variant-numeric: tabular-nums; }
.fig-hint { margin: 2px 8px 6px; font-size: .78rem; font-weight: 600; color: var(--muted); text-align: center; }
.fig-replay { font: 700 .76rem var(--body); color: var(--ember-deep); background: none; border: 0; padding: 0 0 0 6px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.fig-replay:hover { color: var(--ember); }
[data-hairline-playing] { cursor: default; }
.read-card { width: min(440px, 100%); background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px 18px 14px; display: grid; gap: 12px; }
.rc-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.rc-title { font-family: var(--display); font-weight: 600; font-size: 1.05rem; display: grid; color: var(--ink); }
.rc-title small { font-family: var(--body); font-weight: 600; font-size: .76rem; color: var(--muted); }
.rc-score { display: grid; justify-items: end; line-height: 1; }
.rc-score b { font: 700 1.9rem var(--display); color: var(--ink); letter-spacing: -.02em; }
.rc-score small { font: 700 .62rem var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
.rc-dial { display: grid; gap: 7px; }
.rc-dial-label { display: flex; justify-content: space-between; gap: 8px; font-size: .72rem; font-weight: 700; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.rc-dial-label span:last-child { color: var(--ink); text-transform: none; letter-spacing: 0; font-size: .82rem; }
.rc-dial-track { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.rc-dial-track i { height: 24px; border-radius: 6px; background: var(--bg-3); display: grid; place-items: center; }
.rc-dial-track i b { font: 700 .64rem var(--body); color: var(--muted); font-style: normal; }
.rc-dial-track i.in { background: var(--ember-soft); outline: 1px solid rgba(212, 104, 42, .4); }
.rc-dial-track i.in b { color: var(--ember-deep); }
.rc-dial-track i.on { background: var(--ink); }
.rc-dial-track i.on b { color: var(--on-ember); }
.rc-finds { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.rc-find { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: var(--bg-2); font-size: .78rem; border: 1px solid var(--line); }
.rc-find::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--faint); }
.rc-find b { font-weight: 700; color: var(--ink); }
.rc-find span { color: var(--muted); font-weight: 600; }
.rc-great::before { background: var(--great); } .rc-close::before { background: var(--close); } .rc-adjust::before { background: var(--adjust); } .rc-redo::before { background: var(--redo); }
.rc-verdict { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--great-soft); color: var(--great-bright); font-weight: 600; font-size: .9rem; border: 1px solid rgba(79, 138, 92, .3); }
.rc-verdict-close { background: var(--close-soft); color: var(--close-bright); border-color: rgba(201, 150, 44, .35); }
.rc-verdict-adjust { background: var(--adjust-soft); color: var(--adjust-bright); border-color: rgba(212, 104, 42, .35); }
.rc-verdict-redo { background: var(--redo-soft); color: var(--redo-bright); border-color: rgba(184, 57, 42, .35); }
@media (max-width: 480px) { .rc-verdict { grid-template-columns: 1fr; } }

/* ---------- verdict strip ---------- */
.verdicts { max-width: var(--wrap); margin: 0 auto; padding: clamp(24px, 4vw, 40px) clamp(16px, 4vw, 40px) 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; position: relative; z-index: 2; }
.vcard { background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 16px 18px; display: grid; gap: 8px; align-content: start; border-top: 2px solid var(--great); }
.vcard-close { border-top-color: var(--close); } .vcard-adjust { border-top-color: var(--adjust); } .vcard-redo { border-top-color: var(--redo); }
.vcard p { margin: 0; font-size: .9rem; color: var(--ink-2); line-height: 1.5; }
@media (max-width: 900px) { .verdicts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .verdicts { grid-template-columns: 1fr; } }

/* ---------- tools ---------- */
.tool-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.tool-card { position: relative; display: flex; flex-direction: column; color: var(--ink); text-decoration: none; background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; transition: transform .16s ease, border-color .16s ease; font-weight: 400; }
.tool-card:hover { transform: translateY(-3px); border-color: var(--ember-deep); color: var(--ink); }
.tool-card img { aspect-ratio: 16 / 9; object-fit: contain; background: var(--bg-2); padding: 10px; }
.tool-card h3 { font-size: 1.3rem; margin: 18px 22px 6px; }
.tool-card p { margin: 0 22px 14px; color: var(--ink-2); font-size: .96rem; }
.tool-go { margin: auto 22px 22px; font-weight: 700; color: var(--ember); }
.tool-go::after { content: ' \2192'; }
.tool-badge { position: absolute; top: 14px; left: 14px; background: var(--ember); border-radius: 999px; padding: 4px 10px; font: 700 .66rem var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--on-ember); }
.tool-great .tool-badge { background: var(--great); color: #FFF8EE; } .tool-close .tool-badge { background: var(--close); color: #2B1D12; } .tool-adjust .tool-badge { background: var(--adjust); color: #FFF8EE; } .tool-stone .tool-badge { background: var(--crumb); color: var(--bg); }

/* ---------- steps and checks ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.step { background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 22px 22px 18px; position: relative; }
.step .num { display: inline-grid; place-items: center; width: 38px; height: 38px; margin-bottom: 14px; font: 700 .95rem var(--body); color: var(--on-ember); background: var(--ember); border-radius: 50%; }
.step-2 .num { background: var(--crumb); color: var(--bg); } .step-3 .num { background: var(--great); color: #FFF8EE; } .step-4 .num { background: var(--ink); color: var(--bg); }
.step h3 { font-size: 1.18rem; margin-bottom: 6px; }
.step p { margin: 0; color: var(--ink-2); font-size: .96rem; }
.steps-art { margin: 0 auto 30px; max-width: 920px; }
.steps-art img { border-radius: var(--radius); background: var(--bg-3); border: 1px solid var(--line-2); }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.split-art img { border-radius: var(--radius); border: 1px solid var(--line-2); background: var(--bg-3); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check { border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 14px 16px 14px 18px; background: var(--panel); position: relative; }
.check::before { content: ''; position: absolute; left: 0; top: 14px; bottom: 14px; width: 2px; border-radius: 2px; background: var(--ember); }
.check-great::before { background: var(--great); } .check-close::before { background: var(--close); } .check-adjust::before { background: var(--adjust); } .check-stone::before { background: var(--crumb); } .check-ink::before { background: var(--ink); }
.check h3 { font-size: 1.06rem; margin: 0 0 4px; }
.check h3 small { font: 700 .64rem var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-left: 6px; }
.check p { margin: 0; font-size: .92rem; color: var(--ink-2); }
@media (max-width: 520px) { .checks { grid-template-columns: 1fr; } }

/* ---------- guide cards ---------- */
.guide-grid { list-style: none; padding: 0; margin: 0 0 26px; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.guide-card { position: relative; background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .16s ease, border-color .16s ease; }
.guide-card:hover { transform: translateY(-2px); border-color: var(--ember-deep); }
.guide-card img { aspect-ratio: 16 / 9; object-fit: cover; }
.guide-card > div { padding: 14px 18px 18px; }
.guide-card h3 { font-size: 1.08rem; margin: 0; line-height: 1.3; }
.guide-card h3 a, .guide-card h3 .link-pending { color: var(--ink); text-decoration: none; }
.guide-card h3 a::after { content: ''; position: absolute; inset: 0; }
.guide-card h3 a:hover { color: var(--ember-bright); }
.tag { align-self: flex-start; display: inline-block; font: 700 .64rem var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--ember-bright); background: var(--ember-soft); border-radius: 999px; padding: 3px 9px; margin: 0 0 8px; }
.link-pending { color: inherit; font-weight: 600; }
.empty-guides { text-align: center; color: var(--muted); padding: 10px 0 20px; }

/* ---------- honesty, faq ---------- */
.honest-wrap { padding-top: 10px; }
.honesty { max-width: 880px; margin: 0 auto; background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 28px clamp(20px, 4vw, 38px) 14px; position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; }
.honesty::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, var(--great), var(--close), var(--adjust), var(--redo)); }
.honesty img { width: 120px; height: auto; }
.honesty p { color: var(--ink-2); }
@media (max-width: 560px) { .honesty { grid-template-columns: 1fr; } .honesty img { width: 90px; } }
.faq { max-width: 840px; margin: 0 auto; display: grid; gap: 10px; }
.faq-item { background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--radius-sm); }
.faq-item summary { cursor: pointer; list-style: none; padding: 16px 56px 16px 18px; font-family: var(--display); font-weight: 600; font-size: 1.04rem; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-3); font: 600 1.1rem/1 var(--body); color: var(--ink); }
.faq-item[open] summary::after { content: '\2212'; background: var(--ember-soft); color: var(--ember-bright); }
.faq-a { padding: 0 18px 8px; color: var(--ink-2); }

/* ---------- CTA / app box ---------- */
.cta { width: calc(100% - 32px); max-width: 1000px; margin: clamp(30px, 5vw, 64px) auto; padding: clamp(22px, 4vw, 38px); display: grid; grid-template-columns: auto 1fr; gap: clamp(18px, 3vw, 34px); align-items: center; border-radius: var(--radius); position: relative; overflow: hidden; background: var(--panel-2); color: var(--ink); border: 1px solid var(--line-2); border-top: 2px solid var(--ember); }
.cta > * { position: relative; }
.cta-art img { width: 180px; height: auto; }
.cta-kicker { font: 700 .72rem var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--ember); margin: 0; }
.cta-h { font-size: clamp(1.45rem, 3vw, 2rem); font-weight: 600; letter-spacing: -.018em; margin: 6px 0 10px; color: var(--ink); }
.cta-sub { color: var(--ink-2); }
.waitlist { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 6px; }
.waitlist input[type=email] { flex: 1 1 240px; min-width: 0; font: inherit; font-weight: 600; padding: 13px 16px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: var(--bg); color: var(--ink); }
.waitlist input[type=email]::placeholder { color: var(--muted); }
.waitlist input[type=email]:focus { outline: none; border-color: var(--ember); }
.waitlist-msg { flex-basis: 100%; margin: 4px 0 0; font-weight: 600; min-height: 1.4em; }
.waitlist-msg.ok { color: var(--great-bright); }
.waitlist-msg.err { color: var(--adjust-bright); }
.cta-fine { font-size: .86rem; color: var(--muted); margin: 6px 0 0; }
.cta-fine a { color: var(--ink); }
.cta-honest { border-top: 1px solid var(--line-2); padding-top: 10px; margin-top: 12px; }
.cta-store { display: inline-flex; align-items: center; gap: 10px; margin: 16px 0 6px; background: var(--ember); color: var(--on-ember); border-radius: var(--radius-sm); padding: 12px 18px; text-decoration: none; font-weight: 700; }
.cta-store:hover { background: var(--ember-bright); color: var(--on-ember); }
@media (max-width: 640px) { .cta { grid-template-columns: 1fr; } .cta-art img { width: 110px; } .waitlist .btn { width: 100%; } }

/* ---------- prose (posts and pages) ---------- */
.prose { max-width: 820px; }
.prose > * { max-width: 720px; margin-left: auto; margin-right: auto; }
.prose .title { margin-top: 6px; }
.byline { font: 600 .82rem var(--body); color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.byline-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ember); }
.audience-pill, .species-pill { display: inline-block; font: 700 .64rem var(--body); letter-spacing: .08em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; background: var(--ember-soft); color: var(--ember-bright); }
.post-hero, .page-hero { margin: 24px auto 32px; max-width: 820px !important; }
.post-hero img, .page-hero img { border-radius: var(--radius); border: 1px solid var(--line-2); background: var(--panel); }
.prose h2 { font-size: clamp(1.45rem, 3vw, 1.9rem); font-weight: 600; letter-spacing: -.018em; margin: 1.9em auto .55em; }
.prose h2::before { content: ''; display: block; width: 36px; height: 1px; margin-bottom: 14px; background: var(--ember); }
.prose h3 { font-size: 1.22rem; margin: 1.5em auto .45em; }
.prose p, .prose li { font-size: 1.06rem; color: var(--ink-2); line-height: 1.75; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li { margin: .35em 0; }
.prose li::marker { color: var(--ember); font-weight: 700; }
.prose strong { font-weight: 700; color: var(--ink); }
.prose hr { border: none; border-top: 1px solid var(--rule); margin: 2em auto; }
.prose img { border-radius: var(--radius-sm); }
.prose code { background: var(--bg-3); border-radius: 6px; padding: 1px 6px; font-size: .9em; }
.story-fig { margin: 32px auto; max-width: 820px !important; }
.story-fig img { border-radius: var(--radius); border: 1px solid var(--line-2); background: var(--panel); }
.story-fig figcaption { font-size: .9rem; color: var(--muted); text-align: center; margin-top: 12px; line-height: 1.45; font-weight: 600; }
.takeaways { position: relative; background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 22px 26px 12px; margin: 28px auto 34px; overflow: hidden; }
.takeaways::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--ember); }
.takeaways h2 { margin: 2px 0 10px !important; font-size: .74rem !important; font-family: var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--ember); font-weight: 700; }
.takeaways h2::before { display: none !important; }
.takeaways ul { list-style: none; padding-left: 0; }
.takeaways li { position: relative; padding-left: 30px; }
.takeaways li::before { content: ''; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%; background: var(--great-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.6L14 7.6' fill='none' stroke='%239BD3B3' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.callout { border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 16px 20px 4px 22px; margin: 26px auto; background: var(--panel); position: relative; overflow: hidden; }
.callout::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--ember); }
.callout-label { display: inline-block; font: 700 .7rem var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--ember); margin: 0 0 6px; }
.callout-quick { background: var(--ember-soft); border-color: rgba(212, 104, 42, .35); }
.callout-tip::before { background: var(--great); } .callout-tip .callout-label { color: var(--great-bright); }
.callout-warn::before { background: var(--redo); } .callout-warn { background: var(--redo-soft); border-color: rgba(184, 57, 42, .3); } .callout-warn .callout-label { color: var(--redo-bright); }
.callout-fact::before { background: var(--close); } .callout-fact { background: var(--close-soft); border-color: rgba(201, 150, 44, .35); } .callout-fact .callout-label { color: var(--close-bright); }
.callout-try::before { background: var(--ink); } .callout-try .callout-label { color: var(--ink); }
/* The read: the verdict card */
.callout-read { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; padding: 16px 18px 6px 18px; }
.callout-read::before { display: none; }
.callout-read .verdict { margin-top: 2px; }
.callout-read .callout-label { display: block; font-size: .64rem; color: var(--muted); margin: 0 0 2px; }
.callout-read p { margin-bottom: 10px; }
.callout-read.read-great { background: var(--great-soft); border-color: rgba(79, 138, 92, .35); }
.callout-read.read-close { background: var(--close-soft); border-color: rgba(201, 150, 44, .4); }
.callout-read.read-adjust { background: var(--adjust-soft); border-color: rgba(212, 104, 42, .4); }
.callout-read.read-redo { background: var(--redo-soft); border-color: rgba(184, 57, 42, .4); }
@media (max-width: 480px) { .callout-read { grid-template-columns: 1fr; } }
.table-wrap { overflow-x: auto; border: 1px solid var(--line-2); border-radius: var(--radius-sm); margin: 24px auto; background: var(--panel); }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.table-wrap th { background: var(--bg-3); text-align: left; font: 700 .7rem var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); padding: 11px 14px; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.table-wrap td { padding: 10px 14px; border-top: 1px solid var(--line); vertical-align: top; color: var(--ink-2); }
.table-wrap tr:first-child td { border-top: 0; }
.disclaimer { margin-top: 36px; }
.section-sub { margin-top: 48px; }
.section-sub .h2 { font-size: 1.55rem; }
.sources a { word-break: break-word; font-weight: 600; }
.plainlist { padding-left: 1.2em; }
.four04 { text-align: left; }
.four04-art { max-width: 300px; margin: 0 0 16px; }

/* ---------- blog index and hubs ---------- */
.post-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; }
.post-card { background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; transition: transform .16s ease, border-color .16s ease; }
.post-card:hover { transform: translateY(-3px); border-color: var(--ember-deep); }
.post-card-link { color: var(--ink); text-decoration: none; display: flex; flex-direction: column; height: 100%; font-weight: 400; }
.post-card-link:hover { color: var(--ink); }
.post-card-link img { aspect-ratio: 16 / 9; object-fit: cover; }
.post-card-body { padding: 16px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.post-card h2 { font-size: 1.18rem; margin: 0 0 8px; line-height: 1.3; }
.post-card p { color: var(--ink-2); font-size: .94rem; margin: 0 0 12px; }
.post-card time { margin-top: auto; font: 600 .76rem var(--body); color: var(--muted); letter-spacing: .03em; }
.blog-empty { text-align: center; }
.blog-empty img { margin: 0 auto 10px; width: 320px; max-width: 80%; }
.hub-grid { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.hub-grid a { display: block; background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 14px 16px; text-decoration: none; color: var(--ink); }
.hub-grid a:hover { border-color: var(--ember); color: var(--ink); }
.hub-grid b { display: block; font-family: var(--display); font-weight: 600; font-size: 1.04rem; margin-bottom: 2px; }
.hub-grid span { font-size: .86rem; color: var(--muted); font-weight: 600; }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 0 0 24px; }
.filter-row a { font-weight: 700; font-size: .9rem; padding: 7px 14px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line-2); color: var(--ink-2); text-decoration: none; }
.filter-row a.on, .filter-row a:hover { background: var(--ember); color: var(--on-ember); border-color: var(--ember); }

/* ---------- tool pages ---------- */
.tool-page { padding-bottom: 20px; }
.tool-head { text-align: center; max-width: 820px; margin: 0 auto 26px; }
.tool-mount { background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: clamp(14px, 3vw, 28px); }
.tool-copy { padding-top: 10px; }
.t-note { font-size: .88rem; color: var(--muted); }
.seg { display: inline-flex; flex-wrap: wrap; background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--radius-xs); padding: 3px; gap: 2px; }
.seg button { font: inherit; font-weight: 700; font-size: .9rem; border: 0; background: transparent; padding: 8px 14px; cursor: pointer; color: var(--ink-2); border-radius: 8px; }
.seg button[aria-pressed=true] { background: var(--ember); color: var(--on-ember); }
.t-honest { font-size: .86rem; color: var(--muted); border-top: 1px solid var(--rule); padding-top: 12px; margin-top: 18px; }
.chart-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin: 0 0 16px; }

/* Norwood and Ludwig stage picker */
.stage-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
.stage-btn { display: grid; gap: 6px; justify-items: center; padding: 10px 8px 10px; border-radius: var(--radius-sm); border: 1px solid var(--line-2); background: var(--bg); cursor: pointer; font: inherit; color: var(--ink); text-align: center; transition: transform .12s, border-color .12s; }
.stage-btn:hover { transform: translateY(-2px); border-color: var(--muted); }
.stage-btn[aria-pressed=true] { border-color: var(--ember); background: var(--panel-2); }
.stage-btn svg { width: 72px; height: auto; }
.stage-btn b { font: 600 1.05rem var(--display); }
.stage-btn small { font-size: .72rem; font-weight: 600; color: var(--muted); line-height: 1.2; }
.stage-svg .head { fill: var(--panel-2); stroke: var(--line-2); stroke-width: 1.5; }
.stage-svg .hair { fill: var(--crumb); }
.stage-svg .bare { fill: var(--panel-2); }
.stage-btn[aria-pressed=true] .stage-svg .head { stroke: var(--ember); }
.stage-detail { margin-top: 18px; border-radius: var(--radius); padding: 18px 20px 8px; border: 1px solid var(--line-2); background: var(--bg); display: grid; grid-template-columns: 120px 1fr; gap: 18px; align-items: start; }
.stage-detail .stage-svg { width: 120px; height: auto; }
.stage-detail h2 { font-size: 1.4rem; margin: 0 0 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.stage-detail p, .stage-detail li { font-size: .98rem; color: var(--ink-2); }
.stage-detail ul { padding-left: 1.2em; margin: 0 0 12px; }
.stage-detail .sd-action { background: var(--panel); border-radius: var(--radius-xs); padding: 10px 12px; border: 1px solid var(--line-2); margin-bottom: 12px; }
.stage-detail .sd-action b { display: block; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.stage-detail.sd-great { border-color: rgba(79, 138, 92, .4); } .stage-detail.sd-close { border-color: rgba(201, 150, 44, .45); } .stage-detail.sd-adjust { border-color: rgba(212, 104, 42, .45); } .stage-detail.sd-redo { border-color: rgba(184, 57, 42, .4); }
@media (max-width: 560px) { .stage-detail { grid-template-columns: 1fr; } .stage-detail .stage-svg { width: 90px; } }

/* quiz */
.tri { max-width: 780px; margin: 0 auto; }
.tri-progress { display: flex; gap: 5px; margin: 0 0 12px; }
.tri-progress i { flex: 1; height: 4px; border-radius: 2px; background: var(--line-2); }
.tri-progress i.done { background: var(--ember-deep); } .tri-progress i.now { background: var(--ember); }
.tri-count { font: 700 .72rem var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; }
.tri-q { font-size: clamp(1.3rem, 3vw, 1.8rem); margin: 0 0 16px; outline: none; }
.tri-opts { display: grid; gap: 10px; margin: 0 0 16px; }
.tri-opt { text-align: left; font: 600 1rem var(--body); color: var(--ink); padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid var(--line-2); background: var(--bg); cursor: pointer; transition: border-color .12s, transform .12s; }
.tri-opt:hover { border-color: var(--muted); transform: translateY(-1px); }
.tri-opt[aria-pressed=true] { border-color: var(--ember); background: var(--ember-soft); }
.tri-opt small { display: block; font-weight: 500; color: var(--muted); font-size: .86rem; }
.tri-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.tri-verdict { border-radius: var(--radius); padding: 18px 18px 8px; border: 1px solid var(--line-2); background: var(--bg); outline: none; }
.tri-verdict h2 { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 1.5rem; margin: 0 0 10px; }
.tri-verdict.tv-great { background: var(--great-soft); border-color: rgba(79, 138, 92, .4); } .tri-verdict.tv-close { background: var(--close-soft); border-color: rgba(201, 150, 44, .45); } .tri-verdict.tv-adjust { background: var(--adjust-soft); border-color: rgba(212, 104, 42, .45); } .tri-verdict.tv-redo { background: var(--redo-soft); border-color: rgba(184, 57, 42, .45); }
.tri-why { padding-left: 1.2em; }
.tri-why li { margin: 0 0 8px; font-size: .96rem; color: var(--ink-2); }

/* shedding calculator */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.calc-form { display: grid; gap: 14px; }
.calc-field { display: grid; gap: 6px; }
.calc-field label, .calc-field > span { font: 700 .74rem var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.calc-field input[type=number] { font: inherit; font-weight: 700; font-size: 1.3rem; padding: 10px 14px; border: 1px solid var(--line-2); border-radius: var(--radius-xs); background: var(--bg); color: var(--ink); width: 100%; }
.calc-field input[type=number]:focus { outline: none; border-color: var(--ember); }
.calc-field input[type=range] { width: 100%; accent-color: var(--ember); }
.calc-out { border-radius: var(--radius); padding: 18px 20px 10px; border: 1px solid var(--line-2); background: var(--bg); }
.calc-out.co-great { border-color: rgba(79, 138, 92, .4); } .calc-out.co-close { border-color: rgba(201, 150, 44, .45); } .calc-out.co-adjust { border-color: rgba(212, 104, 42, .45); } .calc-out.co-redo { border-color: rgba(184, 57, 42, .45); }
.calc-big { font: 600 clamp(2rem, 5vw, 3rem) var(--display); letter-spacing: -.02em; margin: 0; line-height: 1; }
.calc-big small { font: 600 .9rem var(--body); color: var(--muted); letter-spacing: 0; margin-left: 6px; }
.calc-meter { position: relative; height: 10px; border-radius: 5px; margin: 16px 0 6px; background: linear-gradient(90deg, var(--great-soft) 0 40%, var(--close-soft) 40% 60%, var(--adjust-soft) 60%); border: 1px solid var(--line-2); }
.calc-meter .band-ok { position: absolute; top: 0; bottom: 0; left: 20%; width: 20%; background: var(--great); opacity: .55; border-radius: 3px; }
.calc-meter .pin { position: absolute; top: -6px; width: 4px; height: 20px; border-radius: 2px; background: var(--ember); transform: translateX(-50%); }
.calc-scale { display: flex; justify-content: space-between; font: 600 .7rem var(--body); color: var(--muted); margin: 0 0 12px; }
.calc-out h2 { font-size: 1.3rem; margin: 10px 0 8px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.calc-out p, .calc-out li { font-size: .96rem; color: var(--ink-2); }
.calc-out ul { padding-left: 1.2em; }
@media (max-width: 720px) { .calc { grid-template-columns: 1fr; } }

/* photo guide */
.angles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 0 0 16px; }
.angle { display: grid; gap: 6px; justify-items: center; padding: 10px 8px; border-radius: var(--radius-sm); border: 1px solid var(--line-2); background: var(--bg); cursor: pointer; font: inherit; color: var(--ink); }
.angle[aria-pressed=true] { border-color: var(--ember); background: var(--panel-2); }
.angle svg { width: 64px; height: 64px; fill: none; stroke: var(--ink-2); stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.angle svg .hl { stroke: var(--ember); stroke-width: 2; }
.angle b { font: 600 .92rem var(--display); }
.angle small { font-size: .7rem; color: var(--muted); font-weight: 600; }
.angle-detail { border-radius: var(--radius); padding: 18px 20px 8px; border: 1px solid var(--line-2); background: var(--bg); }
.angle-detail h2 { font-size: 1.35rem; margin: 0 0 8px; }
.angle-detail p, .angle-detail li { font-size: .96rem; color: var(--ink-2); }
.angle-detail ol, .angle-detail ul { padding-left: 1.2em; }
.checklist { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; }
.checklist label { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: var(--radius-xs); background: var(--panel); cursor: pointer; font-size: .95rem; color: var(--ink-2); }
.checklist input { accent-color: var(--ember); width: 18px; height: 18px; margin-top: 3px; flex: none; }
.checklist label:has(input:checked) { border-color: rgba(79, 138, 92, .5); color: var(--ink); }
.checklist-done { font-weight: 700; color: var(--great-bright); margin: 10px 0 0; }
@media (max-width: 560px) { .angles { grid-template-columns: repeat(2, 1fr); } }

/* ---------- sticky app bar (phones) ---------- */
.app-bar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30; display: none; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 10px 10px 14px; border-radius: var(--radius-sm); background: var(--panel-2); border: 1px solid var(--ember-deep); box-shadow: var(--shadow-lg); font-size: .9rem; font-weight: 600; }
.app-bar img { width: 34px; height: auto; }
@media (max-width: 760px) { .app-bar:not([hidden]) { display: flex; } body.has-app-bar { padding-bottom: 80px; } }

/* ---------- footer ---------- */
.site-foot { background: var(--bg-2); color: var(--ink-2); margin-top: 40px; position: relative; border-top: 1px solid var(--rule); }
.foot-in { max-width: var(--wrap); margin: 0 auto; padding: 48px clamp(16px, 4vw, 40px) 20px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px; }
.foot-brand { display: flex; gap: 14px; align-items: flex-start; }
.foot-brand img { width: 44px; height: 44px; border-radius: 12px; }
.foot-brand p { margin: 0; color: var(--ink-2); font-size: .94rem; }
.foot-brand strong { color: var(--ink); font-family: var(--display); font-size: 1.2rem; font-weight: 600; }
.site-foot a { color: var(--ink); font-weight: 600; }
.foot-links { display: grid; gap: 8px; align-content: start; font-size: .94rem; }
.foot-links a { text-decoration: none; color: var(--ink-2); }
.foot-links a:hover { color: var(--ember-bright); text-decoration: underline; }
.foot-h { font: 700 .68rem var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--ember); margin: 0 0 4px; }
.foot-safety { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px) 16px; }
.foot-safety p { margin: 0; font-size: .86rem; color: var(--ink-2); background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--radius-xs); padding: 12px 14px; }
.foot-safety b { color: var(--ink); }
.foot-legal { max-width: var(--wrap); margin: 0 auto; padding: 16px clamp(16px, 4vw, 40px) 36px; font-size: .8rem; color: var(--muted); border-top: 1px solid var(--line); }
@media (max-width: 860px) { .foot-in { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* ---------- Loaf Scout tools (ls-tools.js) ---------- */
.tool-form { display: grid; gap: 14px; }
.t-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.t-field { display: grid; gap: 6px; }
.t-field label, .t-field > span { font: 700 .74rem var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.t-field input[type=number], .t-field input[type=time], .t-field select { font: inherit; font-weight: 700; font-size: 1.05rem; color: var(--ink); background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--radius-xs); padding: 10px 12px; width: 100%; }
.t-field input:focus, .t-field select:focus { outline: none; border-color: var(--ember); box-shadow: 0 0 0 3px var(--ember-soft); }
.t-stepper { display: inline-flex; align-items: center; background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--radius-xs); overflow: hidden; }
.t-stepper button { font: 800 1.1rem var(--body); width: 42px; height: 42px; border: 0; background: var(--panel-2); color: var(--ink); cursor: pointer; }
.t-stepper button:hover { background: var(--bg-3); }
.t-stepper output, .t-stepper span { min-width: 72px; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }
.t-unit { color: var(--muted); font-weight: 600; font-size: .9rem; }
.t-result { margin-top: 18px; border-radius: var(--radius); padding: 18px 20px 12px; border: 1px solid var(--line-2); background: var(--panel); box-shadow: var(--shadow-sm); }
.t-result h2 { font-size: 1.3rem; margin: 8px 0 8px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.t-result p, .t-result li { font-size: .96rem; color: var(--ink-2); }
.t-big { font: 600 clamp(2rem, 5vw, 3rem) var(--display); letter-spacing: -.02em; color: var(--ink); line-height: 1; margin: 0 0 6px; }
.t-big small { font: 600 .9rem var(--body); color: var(--muted); letter-spacing: 0; margin-left: 8px; }
.t-feel { font-weight: 600; color: var(--ink-2); }
.t-list, .t-notes, .t-next { padding-left: 1.2em; margin: 0 0 12px; }
.t-next li { margin: 0 0 8px; }
.t-next b { color: var(--ember-deep); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; display: block; }
.t-sources { font-size: .82rem; color: var(--muted); }
.t-scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; list-style: none; padding: 0; margin: 10px 0 14px; }
.t-scale li { text-align: center; padding: 8px 4px; border-radius: 8px; background: var(--bg-3); font: 700 .72rem var(--body); color: var(--muted); }
.t-scale li.on { background: var(--ink); color: var(--on-ember); }
.t-timeline { list-style: none; padding: 0; margin: 10px 0; display: grid; gap: 0; }
.t-timeline li { display: grid; grid-template-columns: 14px 1fr; gap: 14px; padding: 0 0 16px; position: relative; }
.t-timeline li::before { content: ''; width: 12px; height: 12px; border-radius: 50%; background: var(--line-2); margin-top: 5px; }
.t-timeline li::after { content: ''; position: absolute; left: 5px; top: 20px; bottom: 0; width: 2px; background: var(--line); }
.t-timeline li:last-child::after { display: none; }
.t-timeline li.tl-feed::before { background: var(--ember); } .t-timeline li.tl-cool::before { background: var(--great); }
.t-timeline .tl-when { display: block; font: 800 .72rem var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--ember-deep); }
.t-timeline b { font-family: var(--display); font-weight: 600; font-size: 1.05rem; color: var(--ink); }
.t-timeline small { display: block; color: var(--muted); font-weight: 500; }
.verdict-great { background: var(--great-soft); color: var(--great-bright); border-color: rgba(79, 138, 92, .35); }
.verdict-close { background: var(--close-soft); color: var(--close-bright); border-color: rgba(201, 150, 44, .4); }
.verdict-adjust { background: var(--adjust-soft); color: var(--adjust-bright); border-color: rgba(212, 104, 42, .4); }
.verdict-redo { background: var(--redo-soft); color: var(--redo-bright); border-color: rgba(184, 57, 42, .4); }
