/* ============================================================
   7CAPTUR SITE v5: conventional SaaS layer. Loaded last.
   Flat surfaces, hairline borders, one lime accent, real product screenshots.
   It retires the glass, aurora background, glow and spring motion from v3 and v4 by
   redefining their tokens, so every page and component follows without per-page edits.
   Light and dark are both fully themed. The theme toggle is unchanged.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --bg: #ffffff; --bg2: #f6f7f4; --bg3: #eceee8; --surface: #ffffff;
  --line: rgba(16,20,12,.10); --line-strong: rgba(16,20,12,.18);
  --shadow: 0 1px 2px rgba(16,20,12,.05), 0 8px 24px -14px rgba(16,20,12,.16);
  --shadow-lg: 0 2px 4px rgba(16,20,12,.04), 0 36px 80px -34px rgba(16,20,12,.34);
  --radius: 14px;
  /* retire the glass system */
  --glass: var(--surface); --glass-edge: var(--line); --glass-low: transparent; --glass-hi: transparent; --glass-shadow: none;
  --blur: none; --lit: transparent; --lit-on: transparent; --spring: cubic-bezier(.2, .7, .2, 1);
}
html.dark {
  --bg: #15171d; --bg2: #191c23; --bg3: #232733; --surface: #1b1e26;
  --line: rgba(255,255,255,.08); --line-strong: rgba(255,255,255,.16);
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 10px 28px -14px rgba(0,0,0,.6);
  --shadow-lg: 0 2px 4px rgba(0,0,0,.4), 0 40px 90px -34px rgba(0,0,0,.85);
  --glass: var(--surface); --glass-edge: var(--line); --glass-low: transparent; --glass-hi: transparent; --glass-shadow: none;
  --blur: none; --lit: transparent; --lit-on: transparent;
}

/* ---------- Retire effects ---------- */
.bgflow, .bgflow i { display: none !important; }
body { background: var(--bg); }
*, *::before, *::after { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
.hero::before, .page-head::before, .stage::before { display: none; }
.win::after, .layer::after, .res::after, .platform::after, .cta-card::after, .stage::after, .plan::after, .cap::after, .fact::after, .five-item::after { display: none; }
.float, .orb { display: none !important; }

/* ---------- Surfaces: flat cards, hairline borders ---------- */
.win, .layer, .stage, .res, .platform, .cap, .fact, .rung, .five-item, .sec-card, .plan, .principle, .step, .tier, .marquee li,
.cta-card, .mega, .faq details, .insight-card, .panel, .contact-grid .panel, .custom-strip, .table-wrap, .article-card, .vow-card, .rm-panel {
  background-color: var(--surface); background-image: none; border: 1px solid var(--line); box-shadow: none; border-radius: var(--radius);
}
.layer:hover, .platform:hover, .plan:hover, .cap:hover, .fact:hover, .pipe > li:not(.arrow):hover, .res:hover, .article-card:hover { transform: none; border-color: var(--line-strong); }
.plan.featured, .plan[data-featured], .plan.is-featured { border-color: var(--accent-line); box-shadow: var(--shadow); }
.faq { background: transparent; border: 0; border-radius: 0; }
.faq details { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; }
.mega { box-shadow: var(--shadow); }
.band { background: var(--bg2); border-block: 1px solid var(--line); }
.footer { background: var(--bg2); border-top: 1px solid var(--line); }

/* ---------- Nav: sticky and solid ---------- */
.nav { position: sticky; top: 0; z-index: 100; height: 64px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: none; }
.drawer { background: var(--bg); }

/* ---------- Buttons ---------- */
.btn { padding: 11px 18px; font-size: 15px; font-weight: 500; border-radius: 10px; }
.btn-sm { padding: 8px 14px; font-size: 14px; border-radius: 8px; }
.hero .btn, .cta-band .btn, .cta-card .btn { padding: 14px 24px; font-size: 16px; }
.btn:hover { transform: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent-fill); color: var(--on-accent); box-shadow: none; }
.btn-primary:hover { background: #a2e04b; }
.btn-ghost { background: var(--surface); border-color: var(--line-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.tab-list button[aria-selected="true"], .tab-pill { background: var(--accent-fill); box-shadow: none; color: var(--on-accent); }

/* ---------- Type and rhythm ---------- */
h1 { font-size: clamp(38px, 5.2vw, 64px); line-height: 1.06; letter-spacing: -.035em; font-weight: 600; }
h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.1; letter-spacing: -.03em; font-weight: 600; }
.section { padding: 96px 0; }
.section-head { margin-bottom: 48px; }

/* ---------- Hero: centered headline, wide product frame ---------- */
.hero { padding: 72px 0 80px; overflow: visible; background: linear-gradient(180deg, var(--accent-soft) 0, transparent 420px); }
.hero-grid.is-product { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 0; }
.hero h1 { max-width: 17ch; margin-inline: auto; }
.hero-sub { max-width: 46em; margin-inline: auto; }
.hero-actions { justify-content: center; }

.shot { position: relative; width: min(1120px, 100%); margin: 56px auto 0; border: 1px solid var(--line-strong); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-lg); overflow: hidden; }
.shot-bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--line); background: var(--bg2); }
.shot-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.shot-url { margin: 0 auto; transform: translateX(-24px); padding: 4px 16px; border-radius: 7px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: 12px; letter-spacing: .01em; }
.shot img { display: block; width: 100%; height: auto; }
html.dark .shot .lt, html:not(.dark) .shot .dk { display: none; }

/* ---------- Feature rows: alternating text and screenshot ---------- */
.frow { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: center; padding: 72px 0; }
.frow + .frow { border-top: 1px solid var(--line); }
.frow.flip { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.frow.flip .frow-text { order: 2; }
.frow-tag { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--accent-line); background: var(--accent-soft); color: var(--accent); font-size: 13px; font-weight: 600; margin-bottom: 18px; }
.frow h3 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.15; letter-spacing: -.025em; font-weight: 600; color: var(--ink); margin-bottom: 14px; }
.frow p { font-size: 1.0625rem; line-height: 1.65; color: var(--body); max-width: 46ch; }
.frow ul { list-style: none; margin: 22px 0 0; display: grid; gap: 12px; }
.frow li { display: flex; gap: 10px; align-items: flex-start; color: var(--body); font-size: 15.5px; line-height: 1.5; }
.frow li svg { flex: none; margin-top: 3px; color: var(--accent); }
.frow .link { display: inline-block; margin-top: 22px; font-weight: 600; }
.frow .shot { margin: 0; width: 100%; }

@media (max-width: 900px) {
  .section { padding: 72px 0; }
  .hero { padding: 48px 0 56px; }
  .shot { margin-top: 40px; border-radius: 12px; }
  .shot-bar { height: 30px; } .shot-url { display: none; }
  .frow, .frow.flip { grid-template-columns: 1fr; gap: 32px; padding: 48px 0; }
  .frow.flip .frow-text { order: 0; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }

/* ---------- Rotating headline word ----------
   One easing and one duration for the slide and the width. Growing: the slot opens first and the word
   follows a beat later, so the new word is never clipped. Shrinking: the word leaves first, then the slot closes. */
.hero-words { transition: width .7s cubic-bezier(.45, 0, .2, 1); }
.hero-words-track { transition: transform .7s cubic-bezier(.45, 0, .2, 1); }
.hero-words[data-dir="grow"] .hero-words-track { transition-delay: .14s; }
.hero-words[data-dir="shrink"] { transition-delay: .14s; }
@media (prefers-reduced-motion: reduce) { .hero-words, .hero-words-track { transition: none; } }

/* ---------- Hero carousel: centered under the headline, no floating logos ---------- */
.hero-carousel { width: min(760px, 100%); margin: 48px auto 0; text-align: left; }
.hero-carousel .slide { transition: opacity .5s ease, transform .6s cubic-bezier(.45, 0, .2, 1), visibility 0s .6s; }
@media (prefers-reduced-motion: reduce) { .hero-carousel .slide { transition: none; } }

/* ---------- Nav: logo left, links centered on the page, actions right ---------- */
@media (min-width: 901px) {
  .nav-inner { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; }
  .nav-inner > .logo { justify-self: start; }
  .nav-links { margin: 0; justify-self: center; }
  .nav-right { justify-self: end; }
}

/* ---------- Story dots: reset instantly, only animate while falling ----------
   The dots used to animate back to their start positions at the start of every loop, so on the first run they
   drifted in from the fallen state instead of starting aligned. */
.an-dot { transition: none; }
.an-dot.fall { transition: transform .9s cubic-bezier(.5, 0, .8, .4), opacity .9s; }

/* ---------- New brand logos ---------- */
.brand-amazonads, .brand-linkedinads { border-radius: 7px; }
html.dark .brand-bigcommerce { filter: invert(1); }
.marquee li img.brand-bigcommerce, .marquee li img.brand-stripe, .marquee li img.brand-paypal, .marquee li img.brand-wordpress { width: 30px; height: 30px; }
.plat-ic { min-width: 44px; }

/* ---------- Five steps: a treasure map that goes full circle ---------- */
.tm { display: grid; grid-template-columns: minmax(0, 430px) minmax(0, 1fr); gap: 56px; align-items: center; max-width: 1120px; margin-inline: auto; }
.tm-map { width: 100%; }
.tm-stage { position: relative; width: 100%; aspect-ratio: 1; }
.tm-stage svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.tm-paper { fill: var(--bg2); }
.tm-edge { fill: none; stroke: var(--line-strong); stroke-width: 1.5; stroke-dasharray: 2 5; stroke-linecap: round; }
.tm-trail { fill: none; stroke: var(--line-strong); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 2 9; }
.tm-trail.seen { stroke: var(--accent); }
.tm-chev { fill: none; stroke: var(--muted); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.tm-ring { fill: none; stroke: var(--line-strong); stroke-width: 1.5; }
.tm-needle { fill: var(--line-strong); opacity: .7; }
.tm-needle2 { opacity: .35; }
.tm-compass text { fill: var(--muted); font-size: 12px; font-weight: 600; }
.tm-pin { position: absolute; transform: translate(-50%, -50%); background: none; border: 0; padding: 0; cursor: pointer; color: var(--muted); font: inherit; }
.tm-node { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 17px; background: var(--surface); border: 2px solid var(--line-strong); color: var(--ink); transition: transform .25s ease, border-color .25s, background .25s; }
.tm-node svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; }
.tm-pin.mark .tm-node { border-style: dashed; color: #c0392b; }
.tm-pin.seen .tm-node { border-color: var(--accent); }
.tm-pin.now .tm-node { transform: scale(1.18); background: var(--accent-fill); border-color: var(--accent-fill); color: var(--on-accent); }
.tm-pin.mark.now .tm-node { color: var(--on-accent); }
.tm-pin:hover .tm-node { transform: scale(1.1); }
.tm-pin.now:hover .tm-node { transform: scale(1.18); }
.tm-label { position: absolute; white-space: nowrap; font-size: 13.5px; font-weight: 600; }
.tm-pin[data-side="top"] .tm-label { bottom: calc(100% + 12px); left: 50%; transform: translateX(-50%); }
.tm-pin[data-side="bottom"] .tm-label { top: calc(100% + 12px); left: 50%; transform: translateX(-50%); }
.tm-pin[data-side="right"] .tm-label { left: calc(100% + 12px); top: 50%; transform: translateY(-50%); }
.tm-pin[data-side="left"] .tm-label { right: calc(100% + 12px); top: 50%; transform: translateY(-50%); }
.tm-pin.now .tm-label { color: var(--ink); }
.tm-loop { text-align: center; font-size: 13px; color: var(--muted); margin: 14px 0 0; }
.tm-detail { min-width: 0; }
.tm-card { animation: card-in .4s ease both; }
.tm-card h3 { font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -.025em; margin: 6px 0 10px; }
.tm-card .rm-text { margin-inline: 0; }
.tm-card .rm-see { justify-content: flex-start; margin: 16px 0 22px; }
.tm-card .rm-count { text-align: left; }
.tm-detail .rm-nav { margin-top: 20px; }
.tm-shot { margin: 0; width: 100%; box-shadow: var(--shadow); }
.tm-view { position: relative; }
.tm-shot img { display: block; width: 100%; height: auto; }
.tm-shot.crop .tm-view { aspect-ratio: 1457 / 640; overflow: hidden; }
.tm-shot.crop img { position: absolute; left: -23.5%; width: 123.5%; height: auto; max-width: none; }
.tm-shot.crop-top img { top: 0; }
.tm-shot.crop-bottom img { bottom: 0; }
html.dark .tm-shot .lt, html:not(.dark) .tm-shot .dk { display: none; }
.tm-setup { padding: 22px 22px 26px; display: grid; gap: 16px; background: var(--surface); }
.tm-setup > b { font-size: 17px; color: var(--ink); }
.tm-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.tm-chips span { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 14px; color: var(--body); }
.tm-chips span.on { background: var(--accent-fill); border-color: var(--accent-fill); color: var(--on-accent); font-weight: 600; }
.tm-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tm-fields label { display: grid; gap: 4px; font-size: 12.5px; color: var(--muted); }
.tm-fields label span { padding: 9px 12px; border: 1px solid var(--line-strong); border-radius: 8px; color: var(--ink); font-size: 14px; background: var(--bg); }
.tm-fields i { font-style: normal; }
@media (max-width: 900px) {
  .tm { grid-template-columns: 1fr; gap: 28px; }
  .tm-map { max-width: 380px; margin-inline: auto; }
  .tm-node { width: 38px; height: 38px; font-size: 15px; }
  .tm-label { font-size: 12px; }
  .tm-fields { grid-template-columns: 1fr; }
}

/* ---------- Captain: animated chat illustration ---------- */
.cp { max-width: 640px; margin: 0 auto; }
.cp-win { border: 1px solid var(--line-strong); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-lg); overflow: hidden; }
.cp-head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--bg2); }
.cp-logo { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-fill); color: var(--on-accent); }
.cp-logo svg { width: 18px; height: auto; }
.cp-head b { font-size: 15px; color: var(--ink); }
.cp-sub { margin-left: auto; font-size: 12.5px; color: var(--muted); text-align: right; }
.cp-body { display: flex; flex-direction: column; gap: 12px; padding: 18px; min-height: 400px; position: relative; text-align: left; }
.cp-msg { max-width: 86%; padding: 11px 14px; border-radius: 14px; font-size: 14.5px; line-height: 1.5; opacity: 0; transform: translateY(10px); transition: opacity .45s ease, transform .45s ease; }
.cp-msg.in { opacity: 1; transform: none; }
.cp-me { align-self: flex-end; background: var(--accent-fill); color: var(--on-accent); border-bottom-right-radius: 4px; }
.cp-bot { align-self: flex-start; background: var(--bg2); color: var(--ink); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.cp-typing { display: flex; gap: 5px; padding: 14px 16px; }
.cp-typing.gone { display: none; }
.cp-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: cpdot 1s infinite ease-in-out; }
.cp-typing i:nth-child(2) { animation-delay: .15s; } .cp-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes cpdot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.cp-tag { display: flex; align-items: center; gap: 5px; margin-top: 8px; font-size: 12px; font-weight: 600; color: var(--accent); }
.cp-ai { color: var(--muted); }
@media (max-width: 640px) { .cp-sub { display: none; } .cp-msg { max-width: 94%; font-size: 14px; } .cp-body { min-height: 440px; } }
@media (prefers-reduced-motion: reduce) { .cp-msg, .cp-typing i { transition: none; animation: none; } }

/* ---------- Tour v2: tabs above, one large real screen ---------- */
.tr { max-width: 1120px; margin-inline: auto; }
.tr-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tr-tabs button { position: relative; display: grid; gap: 6px; align-content: start; text-align: left; padding: 16px 18px 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--body); cursor: pointer; transition: border-color .2s, background .2s, box-shadow .2s; overflow: hidden; }
.tr-tabs button:hover { border-color: var(--line-strong); }
.tr-tabs button.on { border-color: var(--accent-line); background: var(--accent-soft); box-shadow: var(--shadow-sm, none); }
.tr-top { display: flex; align-items: center; gap: 10px; }
.tr-top b { font: 600 16px 'Inter', system-ui, sans-serif; color: var(--ink); }
.tr-ic { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--bg2); color: var(--ink); }
.tr-tabs .on .tr-ic { background: var(--accent); color: #fff; }
.tr-n { margin-left: auto; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.tr-tabs em { font-style: normal; font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.tr-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: transparent; }
.tr-bar i { display: block; height: 100%; width: 0; background: var(--accent); }
.tr-bar i.done { width: 100%; opacity: .35; }
.tr-bar i.run { animation: tr-fill linear forwards; }
@keyframes tr-fill { from { width: 0; } to { width: 100%; } }
.tr-tabs button.on .tr-bar i:not(.run) { width: 100%; }
.tr-stage { margin-top: 20px; }
.tr-shot { margin: 0; width: 100%; }
.tr-imgs { position: relative; aspect-ratio: 1800 / 1138; }
.tr-img { position: absolute; inset: 0; opacity: 0; transform: translateY(6px); transition: opacity .45s ease, transform .45s ease; pointer-events: none; }
.tr-img.on { opacity: 1; transform: none; pointer-events: auto; }
.tr-img img { position: absolute; inset: 0; }
html.dark .tr-img .lt, html:not(.dark) .tr-img .dk { display: none; }
@media (max-width: 760px) {
  .tr-tabs { grid-template-columns: 1fr; gap: 8px; }
  .tr-tabs em { display: none; }
  .tr-tabs button.on em { display: block; }
  .tr-tabs button { padding: 12px 14px 16px; }
}
@media (prefers-reduced-motion: reduce) { .tr-img { transition: none; transform: none; } .tr-bar i.run { animation: none; width: 100%; } }

/* ---------- Map only: centered, with tooltips ---------- */
.tm.tm-solo { display: block; max-width: 620px; }
.tm-solo .tm-pin { z-index: 1; }
.tm-solo .tm-pin.hot { z-index: 5; }
.tm-tip { position: absolute; z-index: 6; width: 250px; padding: 12px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line-strong); box-shadow: var(--shadow-lg); color: var(--body); font-size: 13px; font-weight: 400; line-height: 1.5; text-align: left; white-space: normal; opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .18s, transform .18s, visibility .18s; pointer-events: none; left: 50%; margin-left: -125px; top: calc(100% + 38px); }
.tm-tip b { display: block; color: var(--ink); font-size: 14px; }
.tm-tip em { display: block; font-style: normal; color: var(--muted); font-size: 12px; margin-bottom: 4px; }
.tm-pin[data-side="top"] .tm-tip { top: auto; bottom: calc(100% + 38px); }
.tm-pin.hot .tm-tip { opacity: 1; visibility: visible; transform: none; }
@media (max-width: 640px) { .tm-tip { width: 210px; margin-left: -105px; } .tm-pin[data-side="right"] .tm-tip { margin-left: -150px; } .tm-pin[data-side="left"] .tm-tip { margin-left: -60px; } }

/* ---------- Evidence: likes vs sales, then the ladder ---------- */
.ev { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; max-width: 1060px; margin-inline: auto; align-items: stretch; }
.ev-card { margin: 0; padding: 26px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-sm, none); }
.ev-chart figcaption { display: grid; gap: 2px; margin-bottom: 14px; }
.ev-chart figcaption b { font: 600 18px 'Inter', system-ui, sans-serif; color: var(--ink); letter-spacing: -.01em; }
.ev-chart figcaption span { font-size: 12.5px; color: var(--muted); }
.ev-chart svg { display: block; width: 100%; height: auto; }
.ev-grid { stroke: var(--line); stroke-width: 1; }
.ev-line { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.ev-likes { stroke: var(--accent); }
.ev-sales { stroke: var(--muted); }
.ev-chart.on .ev-line { animation: ev-draw 1.6s cubic-bezier(.3,.7,.2,1) forwards; }
.ev-chart.on .ev-sales { animation-delay: .2s; }
@keyframes ev-draw { to { stroke-dashoffset: 0; } }
.ev-dot { opacity: 0; transition: opacity .3s 1.5s; }
.ev-likes-dot { fill: var(--accent); } .ev-sales-dot { fill: var(--muted); }
.ev-chart.on .ev-dot { opacity: 1; }
.ev-legend { display: flex; gap: 18px; list-style: none; margin: 10px 0 0; padding: 0; font-size: 13px; color: var(--body); }
.ev-legend i { display: inline-block; width: 14px; height: 3px; border-radius: 2px; margin-right: 7px; vertical-align: middle; }
.ev-legend .l { background: var(--accent); } .ev-legend .s { background: var(--muted); }
.ev-chart p { margin: 14px 0 0; font-size: 14.5px; color: var(--body); }
.ev-eyebrow { margin: 0 0 14px; font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.ev-ladder ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ev-ladder li { border: 1px solid var(--line); border-radius: 12px; background: var(--bg2); transition: border-color .25s, background .25s; }
.ev-ladder li.now { border-color: var(--accent-line); background: var(--accent-soft); }
.ev-ladder li button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; background: none; border: 0; text-align: left; cursor: pointer; color: inherit; }
.ev-step { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line-strong); font-size: 13px; font-weight: 600; color: var(--muted); flex: none; }
.ev-ladder li.past .ev-step, .ev-ladder li.now .ev-step { background: var(--accent); border-color: var(--accent); color: #fff; }
.ev-have { display: grid; gap: 1px; }
.ev-have b { font-size: 15px; color: var(--ink); }
.ev-have em { font-style: normal; font-size: 12.5px; color: var(--muted); }
.ev-say { display: grid; grid-template-rows: 0fr 0fr; transition: grid-template-rows .3s ease; overflow: hidden; }
.ev-say > p { min-height: 0; overflow: hidden; margin: 0; padding: 0 14px 0 52px; font-size: 14px; color: var(--body); }
.ev-ladder li.now .ev-say { grid-template-rows: 1fr 1fr; }
.ev-ladder li.now .ev-say > p { padding-bottom: 8px; }
.ev-ladder li.now .ev-say > p:last-child { padding-bottom: 14px; }
.ev-say p span { display: block; font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin-bottom: 1px; }
.ev-say p.no span { color: #b4472f; }
html.dark .ev-say p.no span { color: #e89a86; }
.ev-more { text-align: center; margin-top: 28px; }
@media (max-width: 820px) { .ev { grid-template-columns: 1fr; } .ev-card { padding: 20px; } }
@media (prefers-reduced-motion: reduce) { .ev-line { stroke-dashoffset: 0; animation: none !important; } .ev-dot { opacity: 1; transition: none; } }

/* ---------- Article illustrations ---------- */
.aa { width: 100%; border-radius: 12px; background: var(--accent-soft); border: 1px solid var(--accent-line); overflow: hidden; }
.aa svg { display: block; width: 100%; height: auto; aspect-ratio: 310 / 120; }
.aa-a { fill: var(--accent); } .aa-s { fill: var(--surface); stroke: var(--line-strong); stroke-width: 1.5; }
.aa-m { fill: var(--muted); opacity: .55; } .aa-l { fill: var(--line-strong); } .aa-bgfill { fill: var(--accent-soft); }
.aa-stroke { stroke: var(--muted); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.aa-thick { stroke: var(--accent); stroke-width: 3.5; }
.aa-check { stroke: #fff; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.aa-ring { stroke: var(--accent); }
.aa-t { fill: #fff; font-weight: 700; } .aa-big { fill: var(--ink); font-size: 34px; font-weight: 600; }
.aa-cap { fill: var(--muted); font-size: 11px; }
.res .aa, .article-card .aa { margin-bottom: 2px; }
