/* Public pages: same clinical "case notes" identity as the course */
:root {
  --bg: #FFFFFF; --surface: #F7FAF9; --ink: #13201C; --muted: #586863; --line: #D9E2DF;
  --accent: #1D6A5B; --accent-ink: #FFFFFF; --accent-soft: #E1EEEA; --marker: #F6DE6C; --marker-ink: #13201C;
  --good: #1E7A46; --good-soft: #E2F2E8; --bad: #B3261E; --bad-soft: #FBE5E3; --warn: #A15C07; --warn-soft: #FBEEDB;
  --font-display: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --radius: 10px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 16.5px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
h1, h2, h3 { font-family: var(--font-display); text-wrap: balance; line-height: 1.15; margin: 0; letter-spacing: -0.01em; font-weight: 600; }
p { margin: 0; }
a { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
.label { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.wrap { max-width: 1120px; margin: 0 auto; padding-inline: 20px; }
.narrow { max-width: 720px; }

.nav { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 14px; padding-block: 12px; }
.brand { font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--ink); text-decoration: none; display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand-mark { width: 26px; height: 26px; border-radius: 6px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-family: var(--font-mono); font-size: 13px; flex: none; }
.brand .t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav .links { margin-left: auto; display: flex; gap: 10px; align-items: center; flex: none; }
.nav .links a.plain { color: var(--muted); text-decoration: none; font-size: 15px; }
@media (max-width: 560px) { .brand .t { display: none; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 8px; border: 1px solid var(--accent); background: var(--accent); color: var(--accent-ink); font-weight: 600; text-decoration: none; cursor: pointer; font-size: 15.5px; font-family: inherit; }
.btn:hover { filter: brightness(1.06); }
.btn.ghost { background: transparent; color: var(--accent); }
.btn.small { padding: 8px 14px; font-size: 14px; }
.btn.big { padding: 15px 26px; font-size: 17px; }
.btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }

.hero { padding-block: 64px 48px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(36px, 5.4vw, 62px); }
.hero h1 em { font-style: normal; background: linear-gradient(transparent 62%, var(--marker) 62%); }
.hero .lede { margin-top: 18px; font-size: 19px; color: var(--muted); max-width: 34em; }
.cta-row { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.cta-note { font-size: 14px; color: var(--muted); }
.facts { margin-top: 22px; display: flex; gap: 8px 18px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.facts span::before { content: "✓ "; color: var(--good); font-weight: 700; }
@media (max-width: 860px) { .hero { grid-template-columns: 1fr; gap: 28px; padding-block: 40px 28px; } }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.transform { display: grid; gap: 10px; margin-top: 12px; }
.transform .row { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 12px; align-items: start; }
.tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 4px 6px; border-radius: 4px; text-align: center; }
.tag.before { background: var(--bad-soft); color: var(--bad); }
.tag.after { background: var(--good-soft); color: var(--good); }
.quote { font-family: var(--font-display); font-size: 17px; line-height: 1.4; }
.arrow { text-align: center; color: var(--muted); font-family: var(--font-mono); font-size: 12px; }

.section { padding-block: 56px; border-top: 1px solid var(--line); }
.section-head { display: grid; gap: 10px; margin-bottom: 28px; max-width: 44em; }
.section-head h2 { font-size: clamp(27px, 3.2vw, 38px); }
.section-head p { color: var(--muted); font-size: 17px; }

.grid { display: grid; gap: 14px; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); }
.grid.c2 { --cols: 2; } .grid.c4 { --cols: 4; }
@media (max-width: 900px) { .grid, .grid.c4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .grid, .grid.c2, .grid.c4 { grid-template-columns: 1fr; } }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: grid; gap: 6px; align-content: start; }
.tile b { font-family: var(--font-display); font-size: 19px; }
.tile span { color: var(--muted); font-size: 15px; }

.steps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.steps div { background: var(--surface); padding: 16px; display: grid; gap: 4px; align-content: start; }
.steps .n { font-family: var(--font-mono); font-size: 12px; color: var(--accent-ink); background: var(--accent); border-radius: 4px; padding: 1px 7px; justify-self: start; }
.steps b { font-family: var(--font-display); font-size: 18px; }
.steps span { font-size: 14px; color: var(--muted); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.parts { display: grid; gap: 10px; }
details.part { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
details.part summary { list-style: none; cursor: pointer; padding: 16px 18px; display: grid; grid-template-columns: 70px minmax(0, 1fr) auto; gap: 12px; align-items: center; }
details.part summary::-webkit-details-marker { display: none; }
details.part summary b { font-family: var(--font-display); font-size: 19px; }
details.part summary .cnt { font-size: 13px; color: var(--muted); font-family: var(--font-mono); }
details.part[open] summary { border-bottom: 1px solid var(--line); }
details.part ol { list-style: none; margin: 0; padding: 8px 18px 14px; display: grid; gap: 0; }
details.part li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
details.part li:last-child { border-bottom: 0; }
details.part li .num { font-family: var(--font-mono); font-size: 13px; color: var(--muted); padding-top: 2px; }
details.part li .tool { font-size: 13.5px; color: var(--accent); }
.new { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; background: var(--marker); color: var(--marker-ink); padding: 2px 6px; border-radius: 999px; margin-left: 6px; vertical-align: 2px; }
@media (max-width: 520px) { details.part summary { grid-template-columns: minmax(0, 1fr) auto; } details.part summary .label { display: none; } }

.demo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
@media (max-width: 860px) { .demo { grid-template-columns: 1fr; } }
.opts { display: grid; gap: 8px; margin-top: 14px; }
.opt { text-align: left; border: 1px solid var(--line); background: var(--bg); padding: 11px 14px; border-radius: 8px; cursor: pointer; font: inherit; font-size: 15px; color: inherit; display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 8px; }
.opt .k { font-family: var(--font-mono); color: var(--muted); }
.opt:hover:not(:disabled) { border-color: var(--accent); }
.opt:disabled { cursor: default; }
.opt.right { background: var(--good-soft); border-color: var(--good); }
.opt.wrong { background: var(--bad-soft); border-color: var(--bad); }
.feedback { margin-top: 12px; font-size: 15px; padding: 10px 12px; border-radius: 8px; background: var(--good-soft); }
.feedback b { display: block; font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--good); }

.price { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
@media (max-width: 860px) { .price { grid-template-columns: 1fr; } }
.price-card { background: var(--surface); border: 2px solid var(--accent); border-radius: 16px; padding: 28px; display: grid; gap: 16px; }
.amount { font-family: var(--font-display); font-size: 56px; font-weight: 600; line-height: 1; }
.amount small { font-family: var(--font-body); font-size: 15px; color: var(--muted); font-weight: 400; margin-left: 6px; }
.incl { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.incl li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 8px; font-size: 15.5px; }
.incl li::before { content: "✓"; color: var(--good); font-weight: 700; }
.secure { font-size: 13.5px; color: var(--muted); text-align: center; }

.faq { display: grid; gap: 8px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 18px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; }
.faq details p { padding-bottom: 16px; color: var(--muted); max-width: 65ch; }

footer { border-top: 1px solid var(--line); padding-block: 28px 44px; font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; gap: 12px 24px; flex-wrap: wrap; justify-content: space-between; }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer a { color: var(--muted); }

/* Forms and legal pages */
.page { padding-block: 48px 64px; }
.page h1 { font-size: clamp(30px, 4vw, 44px); }
.page .lede { margin-top: 12px; color: var(--muted); font-size: 18px; }
.form { display: grid; gap: 14px; margin-top: 24px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 15px; }
.field small { color: var(--muted); font-size: 13.5px; }
.field input { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink); font: inherit; }
.field input:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.status { font-size: 15px; padding: 12px 14px; border-radius: 8px; }
.status.bad { background: var(--bad-soft); color: var(--bad); }
.status.warn { background: var(--warn-soft); color: var(--warn); }
.legal { display: grid; gap: 14px; margin-top: 24px; }
.legal h2 { font-size: 22px; margin-top: 18px; }
.legal p, .legal li { max-width: 68ch; }
.legal ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* About the author */
.about { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; align-items: start; }
.about-img { width: 220px; height: 220px; border-radius: 50%; object-fit: cover; border: 4px solid var(--accent-soft); }
.about-text { display: grid; gap: 14px; max-width: 64ch; }
.about-text h2 { font-size: clamp(27px, 3.2vw, 38px); }
.about-text .role { color: var(--accent); font-weight: 600; margin-top: -6px; }
.about-text .links { display: flex; gap: 8px 20px; flex-wrap: wrap; font-size: 15px; color: var(--muted); }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; gap: 20px; } .about-img { width: 160px; height: 160px; } }

/* ===== Motion: hero ===== */
.hero h1 em { background-size: 100% 100%; background-repeat: no-repeat; animation: marker 1s .3s cubic-bezier(.2,.7,.2,1) both; }
@keyframes marker { from { background-size: 0% 100%; } to { background-size: 100% 100%; } }
.hero > div:first-child > * { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
.hero > div:first-child > *:nth-child(2) { animation-delay: .08s; }
.hero > div:first-child > *:nth-child(3) { animation-delay: .16s; }
.hero > div:first-child > *:nth-child(4) { animation-delay: .24s; }
.hero > div:first-child > *:nth-child(5) { animation-delay: .32s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.facts b { font-variant-numeric: tabular-nums; color: var(--ink); }
.btn.big[data-buy] { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 45%, transparent); animation: pulse 2.6s 1.5s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 40%, transparent); } 70% { box-shadow: 0 0 0 14px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

/* ===== Walkthrough player ===== */
.player { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 24px 60px -28px color-mix(in srgb, var(--ink) 40%, transparent), 0 2px 0 var(--line); animation: rise .8s .2s cubic-bezier(.2,.7,.2,1) both; min-width: 0; }
.player-bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--bg); }
.player-bar .dots { display: flex; gap: 6px; flex: none; }
.player-bar .dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.player-bar .url { flex: 1; min-width: 0; font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 3px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-bar .live { flex: none; display: flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.player-bar .live i { width: 7px; height: 7px; border-radius: 50%; background: var(--bad); animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .25; } }
.stage { position: relative; height: 300px; padding: 20px 22px; overflow: hidden; background: var(--bg); }
.scene { opacity: 0; transform: translateY(8px); transition: opacity .45s ease, transform .45s ease; display: grid; gap: 12px; align-content: start; height: 100%; }
.scene.in { opacity: 1; transform: none; }
.caption { margin: 0; padding: 12px 18px; font-size: 14.5px; color: var(--ink); border-top: 1px solid var(--line); background: var(--surface); min-height: 50px; }
.player-controls { display: flex; align-items: stretch; gap: 10px; padding: 0 14px 14px; background: var(--surface); }
.pp { flex: none; width: 40px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg); cursor: pointer; display: grid; place-items: center; }
.pp .pause-ico { width: 10px; height: 12px; border-left: 3px solid var(--ink); border-right: 3px solid var(--ink); }
.pp.paused .pause-ico { width: 0; height: 0; border: 0; border-left: 11px solid var(--ink); border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }
.chapters-nav { flex: 1; min-width: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.chip { position: relative; overflow: hidden; text-align: left; border: 1px solid var(--line); background: var(--bg); border-radius: 8px; padding: 7px 9px 9px; cursor: pointer; font: inherit; color: var(--muted); display: grid; gap: 1px; min-width: 0; }
.chip-n { font-family: var(--font-mono); font-size: 11px; }
.chip-t { font-size: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chip-bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--accent); }
.chip[aria-selected="true"] { color: var(--ink); border-color: var(--accent); }
.chip.done .chip-bar { width: 100%; }
@media (max-width: 560px) { .chip-t { display: none; } .chip { text-align: center; } .stage { height: 330px; padding: 16px; } }

/* Scene parts */
.sc-head { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.sc-k { font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.sc-field { display: grid; gap: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; }
.sc-v { font-weight: 600; min-height: 1.4em; }
.typing::after { content: ""; display: inline-block; width: 2px; height: 1em; background: var(--accent); margin-left: 2px; vertical-align: -2px; animation: blink .8s infinite; }
.ladder { display: grid; gap: 6px; }
.rung { display: flex; gap: 10px; align-items: baseline; font-size: 14px; padding: 7px 10px; border-left: 3px solid var(--accent); background: var(--surface); border-radius: 0 6px 6px 0; opacity: 0; transform: translateX(-10px); transition: all .4s ease; }
.rung b { font-family: var(--font-mono); font-size: 11px; color: var(--accent); flex: none; }
.rung.on { opacity: 1; transform: none; }
.insight { display: flex; gap: 10px; align-items: baseline; padding: 10px 12px; border-radius: 8px; background: var(--marker); color: var(--marker-ink); font-weight: 600; font-size: 14.5px; opacity: 0; transform: scale(.96); transition: all .45s cubic-bezier(.2,.7,.2,1.3); }
.insight b { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.insight.on { opacity: 1; transform: none; }
.sc-statement { font-family: var(--font-display); font-size: 19px; line-height: 1.55; margin: 0; min-height: 5.2em; }
.slot { border-bottom: 2px solid currentColor; transition: background .3s; border-radius: 2px; }
.slot.b { color: #2D5BA8; } .slot.f { color: #B3261E; } .slot.s { color: #7A4BA8; } .slot.o { color: #1E7A46; }
.slot.on { background: color-mix(in srgb, currentColor 9%, transparent); }
.sc-score { display: grid; grid-template-columns: auto auto auto 1fr; gap: 4px 8px; align-items: baseline; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; }
.sc-score > b { font-family: var(--font-display); font-size: 30px; line-height: 1; font-variant-numeric: tabular-nums; }
.sc-meter { grid-column: 1 / -1; height: 7px; border-radius: 4px; background: var(--line); overflow: hidden; }
.sc-meter i { display: block; height: 100%; width: 0; background: var(--good); transition: width .4s ease; }
.sc-grade { grid-column: 1 / -1; font-weight: 600; color: var(--good); font-size: 14px; opacity: 0; transition: opacity .4s; min-height: 1.3em; }
.sc-grade.on { opacity: 1; }
.rate { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 12px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; }
.rate-k { font-size: 14px; font-weight: 600; min-width: 0; }
.rate-track { position: relative; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--accent-soft), var(--accent)); }
.rate-track i { position: absolute; top: 50%; left: 6%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: var(--surface); border: 3px solid var(--accent); transition: left .7s cubic-bezier(.2,.7,.2,1); }
.rate-v { font-family: var(--font-display); font-size: 19px; font-variant-numeric: tabular-nums; min-width: 6.5ch; text-align: right; }
.ratecard { padding: 10px 12px; border-radius: 8px; background: var(--good-soft); text-align: center; opacity: 0; transform: translateY(6px); transition: all .4s; }
.ratecard .sc-k { color: var(--good); }
.ratecard.on { opacity: 1; transform: none; }
.sc-q { font-family: var(--font-display); font-size: 18px; line-height: 1.35; margin: 0; }
.sc-opt { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 8px; padding: 8px 12px; border: 1px solid var(--line); background: var(--surface); border-radius: 8px; font-size: 14px; transition: all .25s; }
.sc-opt .k { font-family: var(--font-mono); color: var(--muted); }
.sc-opt.right { background: var(--good-soft); border-color: var(--good); }
.sc-fb { font-size: 13.5px; color: var(--good); font-weight: 600; opacity: 0; transition: opacity .3s; }
.sc-fb.on { opacity: 1; }
.sc-prog { display: grid; grid-template-columns: 1fr auto; gap: 4px 8px; align-items: baseline; }
.sc-prog b { font-variant-numeric: tabular-nums; transition: color .3s; }
.sc-prog.on b { color: var(--good); }
.cursor { position: absolute; left: 0; top: 0; width: 18px; height: 18px; pointer-events: none; opacity: 0; transition: transform .9s cubic-bezier(.3,.7,.2,1), opacity .3s; transform: translate(70%, 260px);
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 2l16 9-7 2-3 7z' fill='%2313201C' stroke='white' stroke-width='1.5'/%3E%3C/svg%3E"); }
.cursor.on { opacity: 1; }
.cursor::after { content: ""; position: absolute; left: -6px; top: -6px; width: 22px; height: 22px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 35%, transparent); transform: scale(0); transition: transform .2s; }
.cursor.click::after { transform: scale(1); }

/* ===== Ticker ===== */
.ticker { border-block: 1px solid var(--line); background: var(--surface); overflow: hidden; padding-block: 14px; }
.ticker-track { display: flex; gap: 12px; width: max-content; animation: ticker 40s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker span { flex: none; font-size: 14px; font-weight: 600; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); white-space: nowrap; }
.ticker span::before { content: "✓ "; color: var(--good); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ===== Before / after morph ===== */
.morph-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 40px; align-items: center; }
@media (max-width: 860px) { .morph-wrap { grid-template-columns: 1fr; gap: 20px; } }
.morph { display: grid; gap: 14px; min-height: 230px; align-content: start; }
.morph-tag { display: flex; gap: 10px; align-items: center; }
.morph-text { font-family: var(--font-display); font-size: clamp(19px, 2.2vw, 24px); line-height: 1.45; margin: 0; min-height: 4.4em; }
.morph-text.after { color: var(--accent); }
.morph .btn { justify-self: start; }

/* ===== Steps strip highlight ===== */
.steps div { transition: background .4s, transform .4s; }
.steps div.lit { background: var(--accent-soft); }
.steps div.lit .n { transform: scale(1.12); }
.steps .n { transition: transform .3s; }

/* ===== Tiles hover ===== */
.tile { transition: transform .25s, box-shadow .25s, border-color .25s; }
.tile:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: 0 12px 28px -18px color-mix(in srgb, var(--ink) 50%, transparent); }

/* ===== Scroll reveal ===== */
.reveal.pre { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.pre.shown { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .ticker-track { flex-wrap: wrap; width: auto; padding-inline: 20px; }
  .ticker-track span[aria-hidden="true"] { display: none; }
}
