/* Buffett AI — clean, warm cartoon. Off-white, blue, green, orange; the mascot leads. */

:root {
  --bg: #faf7f2;
  --surface: #ffffff;
  --surface-2: #f4efe6;
  --ink: #172036;
  --ink-2: #3d4659;
  --muted: #6a7284;
  --line: #ebe4d7;
  --line-strong: #d8cebb;
  --blue: #2563eb;
  --blue-soft: #e9f0fe;
  --green: #14915c;
  --green-soft: #e1f4ea;
  --orange: #ee8419;
  --orange-soft: #fdedd9;
  --red: #d9493a;
  --red-soft: #fbe6e2;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow-1: 0 1px 2px rgba(23, 32, 54, .05), 0 2px 10px rgba(23, 32, 54, .04);
  --shadow-2: 0 2px 4px rgba(23, 32, 54, .04), 0 14px 34px -14px rgba(23, 32, 54, .22);
  --shadow-3: 0 24px 60px -24px rgba(23, 32, 54, .35);
  --head: "Fredoka", system-ui, sans-serif;
  --body: "Nunito", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .8, .3, 1);
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: var(--blue); }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.6vw, 4rem); font-weight: 700; }
h2, .h2 { font-size: clamp(1.55rem, 3.2vw, 2.15rem); font-weight: 600; }
h3, .h3 { font-size: 1.22rem; font-weight: 600; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
body { display: flex; flex-direction: column; min-height: 100vh; }
main { outline: none; flex: 1; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 80; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 10px; font-weight: 800; transition: top .2s; }
.skip:focus { top: 10px; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
section { padding: clamp(40px, 6vw, 80px) 0; }
section.tight { padding: clamp(18px, 3vw, 34px) 0; }
section.page-head { padding-top: clamp(32px, 5vw, 56px); }
section.band { background: var(--surface-2); }
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.section-head h2, .section-head h1 { margin: 0; }
.kicker { font-family: var(--head); font-weight: 600; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--orange); margin: 0 0 6px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: .85rem; color: var(--blue); background: var(--blue-soft); border-radius: 999px; padding: 5px 14px; margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-soft); }
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.note-plain { margin-top: 22px; max-width: 80ch; }

/* ---------- Cards and buttons ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-1); padding: 24px; }
a.card { display: block; color: inherit; text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--line-strong); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; white-space: nowrap;
  font-family: var(--head); font-weight: 600; font-size: 1.02rem; text-decoration: none; color: var(--ink);
  background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: 999px; padding: 11px 22px;
  box-shadow: var(--shadow-1); transition: transform .15s var(--ease), box-shadow .2s, background .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); border-color: var(--ink); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary, .btn-orange { background: var(--orange); border-color: var(--orange); color: #fff; box-shadow: 0 8px 20px -8px rgba(238, 132, 25, .7); }
.btn-primary:hover, .btn-orange:hover { background: #e07610; border-color: #e07610; box-shadow: 0 12px 26px -10px rgba(238, 132, 25, .8); }
.btn-blue { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn-ghost { background: transparent; border-color: transparent; box-shadow: none; color: var(--blue); padding-left: 10px; padding-right: 10px; }
.btn-ghost:hover { background: var(--blue-soft); border-color: transparent; box-shadow: none; }
.btn-lg { padding: 14px 28px; font-size: 1.1rem; }
.btn-sm { padding: 7px 14px; font-size: .9rem; }
.btn[disabled] { opacity: .55; cursor: default; transform: none; }

.chip { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; font-family: var(--head); font-weight: 600; font-size: .85rem; padding: 4px 12px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); }
/* Verdict chips: white with a coloured dot, the same everywhere */
.chip.v-buy, .chip.v-moderate, .chip.v-no { background: var(--surface); border: 1px solid var(--line-strong); color: var(--ink); }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.v-buy .dot { background: var(--green); }
.v-moderate .dot { background: var(--orange); }
.v-no .dot { background: var(--red); }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--act-soft, var(--surface-2)); font-weight: 800; font-size: .86rem; }
.tag { display: inline-block; white-space: nowrap; font-size: .76rem; font-weight: 800; padding: 2px 9px; border-radius: 999px; background: var(--blue-soft); color: var(--blue); margin-left: 6px; text-decoration: none; vertical-align: 2px; }
.en { font-size: .72rem; font-weight: 800; color: var(--muted); border: 1.5px solid var(--line-strong); border-radius: 6px; padding: 0 5px; margin-left: 4px; vertical-align: middle; }

/* ---------- Top bar ---------- */
.topbar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px clamp(16px, 4vw, 40px); background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s; }
.topbar.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -14px rgba(23, 32, 54, .25); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { height: 44px; width: auto; transition: transform .3s var(--ease); }
.brand:hover img { transform: rotate(-6deg) scale(1.05); }
.brand span { font-family: var(--head); font-size: 1.45rem; font-weight: 700; letter-spacing: -.01em; }
.brand b { color: var(--blue); margin-left: 2px; }
.top-right { display: flex; align-items: center; gap: 12px; }
.nav { display: flex; gap: 2px; }
.nav a { font-family: var(--head); font-weight: 600; text-decoration: none; color: var(--ink-2); padding: 8px 14px; border-radius: 999px; transition: background .2s, color .2s; }
.nav a:hover { background: var(--surface-2); color: var(--ink); }
.nav a.active { background: var(--blue-soft); color: var(--blue); }
.lang-switch { display: flex; padding: 3px; gap: 2px; background: var(--surface-2); border-radius: 999px; }
.lang-switch button { font: inherit; font-family: var(--head); font-weight: 700; font-size: .82rem; padding: 4px 10px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer; transition: background .2s, color .2s, box-shadow .2s; }
.lang-switch button.on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-1); }
.menu-btn { display: none; font-size: 1.3rem; line-height: 1; background: var(--surface); color: var(--ink); border: 1.5px solid var(--line-strong); border-radius: 12px; padding: 7px 11px; cursor: pointer; }
@media (max-width: 940px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 4px; background: var(--bg); padding: 12px 16px 18px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-2); }
  .nav.open { display: flex; animation: drop .25s ease-out; }
  .nav a { padding: 12px 14px; }
}
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- Mascot ---------- */
.mascot { position: relative; margin: 0; display: flex; flex-direction: column; align-items: center; isolation: isolate; }
.mascot img { display: block; height: auto; user-select: none; animation: bob 4.5s ease-in-out infinite; transform-origin: bottom center; }
.mascot.pop img { animation: pop .55s cubic-bezier(.3, 1.6, .5, 1), bob 4.5s ease-in-out .55s infinite; }
.mascot .shadow { width: 52%; height: 14px; margin-top: -8px; border-radius: 50%; background: rgba(23, 32, 54, .1); filter: blur(2px); }
.mascot.clickable { cursor: pointer; }
.mascot.clickable:hover img { animation: wiggle .6s ease-in-out; }
.bubble { position: relative; background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: 18px; padding: 10px 18px; font-family: var(--head); font-weight: 600; font-size: 1.05rem; box-shadow: var(--shadow-2); max-width: 300px; min-height: 2.8em; display: grid; place-items: center; text-align: center; margin-bottom: 16px; }
.bubble::after { content: ""; position: absolute; left: 50%; bottom: -9px; width: 16px; height: 16px; background: var(--surface); border-right: 1.5px solid var(--line-strong); border-bottom: 1.5px solid var(--line-strong); transform: translateX(-50%) rotate(45deg); }
.mascot.pop .bubble { animation: bubble .45s var(--ease); }
.mini-mascot { width: 54px; height: 64px; object-fit: contain; object-position: bottom; flex: none; }
.banner-fiction { font-size: .8rem; text-align: center; color: var(--muted); margin: 8px 0 0; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-7px) rotate(.6deg); } }
@keyframes pop { 0% { transform: scale(.86) translateY(10px); } 100% { transform: none; } }
@keyframes bubble { from { opacity: 0; transform: translateY(8px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes wiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-3deg); } 75% { transform: rotate(3deg); } }

/* ---------- Home hero ---------- */
.hero { position: relative; padding-top: clamp(28px, 5vw, 60px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero h1 .hl { color: var(--blue); background: linear-gradient(transparent 72%, var(--orange-soft) 72%); padding: 0 .08em; }
.hero .lead { font-size: 1.2rem; color: var(--ink-2); max-width: 36ch; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 22px; }
.trust { list-style: none; padding: 0; margin: 0; display: flex; gap: 8px 20px; flex-wrap: wrap; color: var(--ink-2); font-weight: 700; font-size: .92rem; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust li::before { content: "✓"; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--green-soft); color: var(--green); font-size: .75rem; font-weight: 900; }
.hero-stage { position: relative; display: flex; flex-direction: column; align-items: center; padding: 10px 0 0; }
.hero-stage .mascot img { width: min(290px, 64vw); }
.blob { position: absolute; z-index: -1; top: 52%; left: 50%; width: min(440px, 92vw); aspect-ratio: 1; transform: translate(-50%, -50%); background: radial-gradient(circle at 30% 30%, var(--blue-soft), transparent 60%), radial-gradient(circle at 70% 70%, var(--orange-soft), transparent 60%), var(--surface-2); border-radius: 46% 54% 58% 42% / 44% 46% 54% 56%; animation: morph 14s ease-in-out infinite; }
@keyframes morph { 0%, 100% { border-radius: 46% 54% 58% 42% / 44% 46% 54% 56%; } 50% { border-radius: 58% 42% 44% 56% / 54% 58% 42% 46%; } }
.float-card { position: absolute; display: flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-2); text-decoration: none; color: var(--ink); animation: float 6s ease-in-out infinite; transition: box-shadow .2s; z-index: 2; }
.float-card:hover { box-shadow: var(--shadow-3); }
.float-card img { width: 34px; height: 42px; object-fit: contain; background: var(--surface-2); border-radius: 10px; padding: 2px; }
.float-card > span { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; font-family: var(--head); }
.float-card .chip { font-size: .72rem; padding: 2px 8px; }
.fc0 { top: 14%; left: -2%; }
.fc1 { top: 42%; right: -4%; animation-delay: -2s; }
.fc2 { bottom: 14%; left: 2%; animation-delay: -4s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 24px; }
  .hero .lead { margin: 0 auto 1em; }
  .hero-actions, .trust { justify-content: center; }
  .hero-stage .mascot img { width: min(210px, 52vw); }
  .float-card { position: static; animation: none; margin: 6px 4px 0; display: inline-flex; }
  .hero-stage { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .hero-stage .mascot, .hero-stage .banner-fiction { flex-basis: 100%; }
  .hero-stage .banner-fiction { order: 9; }
  .blob { top: 36%; width: min(320px, 80vw); }
}

/* Most requested strip */
.wanted { display: grid; grid-template-columns: auto 1fr auto auto; gap: 24px; align-items: center; padding: 22px 28px; border-radius: var(--radius); background: linear-gradient(110deg, var(--orange-soft), var(--surface) 70%); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.wanted-img { height: 96px; width: auto; }
.wanted-text h2 { margin-bottom: 4px; }
.wanted-text p { margin: 0; }
.wanted-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; min-width: 230px; }
.wanted-list li { display: flex; align-items: center; gap: 10px; background: var(--surface); border-radius: 12px; padding: 6px 12px; box-shadow: var(--shadow-1); }
.wanted-list strong { font-family: var(--head); }
.wanted-list .muted { flex: 1; font-size: .88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pill-n { font-family: var(--head); font-weight: 700; font-size: .85rem; color: var(--blue); background: var(--blue-soft); border-radius: 999px; padding: 1px 9px; }
.medal { font-size: 1.15rem; line-height: 1; }
.medal.big { font-size: 2rem; }
@media (max-width: 900px) { .wanted { grid-template-columns: 1fr; text-align: center; justify-items: center; } .wanted-img { height: 80px; } .wanted-list { width: 100%; text-align: left; } }

/* Analysis cards */
a.card.a-card, .a-card { display: flex; gap: 16px; align-items: center; }
.a-card .mini-mascot { width: 66px; height: 80px; background: var(--surface-2); border-radius: 16px; padding: 6px 4px 0; }
.a-card .body { flex: 1; min-width: 0; }
.a-card .ticker { font-family: var(--head); font-weight: 700; font-size: 1.3rem; }
.a-card .name { color: var(--muted); font-weight: 700; font-size: 1rem; }
.score-bar { height: 8px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.score-bar i { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--blue), #5b8cff); transition: width 1.1s var(--ease) .15s; }
.in .score-bar i, .score-bar.in i { width: var(--w); }
.score-num { font-family: var(--head); font-weight: 700; font-variant-numeric: tabular-nums; }
.bar-line { display: flex; gap: 10px; align-items: center; }
.bar-line .score-bar { flex: 1; }

/* Steps */
.step { background: var(--surface); border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); }
.step-n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; font-family: var(--head); font-weight: 700; color: #fff; background: var(--orange); margin-bottom: 14px; }
.step:nth-child(2) .step-n { background: var(--blue); }
.step:nth-child(3) .step-n { background: var(--green); }
.step:nth-child(4) .step-n { background: var(--ink); }
.step p { margin: 0; }

/* Poses */
.poses { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.pose { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.pose-img { width: 100%; height: 170px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: grid; place-items: end center; overflow: hidden; margin-bottom: 8px; transition: transform .25s var(--ease), box-shadow .25s; }
.pose:hover .pose-img { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.pose-img img { height: 152px; width: auto; }
.pose strong { font-family: var(--head); font-weight: 600; line-height: 1.25; }

/* ---------- Leaderboard ---------- */
.tools { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.filters { display: flex; gap: 6px; flex-wrap: wrap; }
.filters button { font: inherit; font-family: var(--head); font-weight: 600; font-size: .92rem; cursor: pointer; padding: 7px 14px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: var(--surface); color: var(--ink-2); transition: background .2s, color .2s, border-color .2s, transform .12s; }
.filters button:hover { border-color: var(--ink); }
.filters button.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.filters button:active { transform: scale(.96); }
.filters .n { display: inline-grid; place-items: center; min-width: 20px; height: 20px; border-radius: 999px; background: var(--surface-2); color: var(--ink); font-size: .74rem; margin-left: 4px; padding: 0 6px; }
.filters button.on .n { background: rgba(255, 255, 255, .2); color: #fff; }
.select { display: flex; flex-direction: column; gap: 2px; }
.select select { font: inherit; font-weight: 700; font-size: .92rem; padding: 7px 12px; border: 1.5px solid var(--line-strong); border-radius: 12px; background: var(--surface); color: var(--ink); cursor: pointer; }

.podium { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: end; margin: 8px 0 26px; }
.pod { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 22px 20px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-1); color: inherit; text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s; }
.pod:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.pod .medal { position: absolute; top: 14px; left: 16px; }
.pod-img { width: 120px; height: 140px; border-radius: 50% 50% 20px 20px; background: var(--surface-2); display: grid; place-items: end center; overflow: hidden; margin-bottom: 12px; }
.pod-img img { height: 128px; width: auto; }
.pod-tk { font-family: var(--head); font-weight: 700; font-size: 1.5rem; line-height: 1.1; }
.pod .bar-line { width: 100%; }
.pod .margin { margin-top: 8px; color: var(--muted); }
.pod0 { order: 2; padding-top: 34px; border-color: #f3c98f; box-shadow: 0 0 0 4px var(--orange-soft), var(--shadow-2); }
.pod0 .pod-img { width: 140px; height: 165px; background: var(--orange-soft); }
.pod0 .pod-img img { height: 150px; }
.pod1 { order: 1; }
.pod2 { order: 3; }
@media (max-width: 760px) { .podium { grid-template-columns: 1fr; } .pod0, .pod1, .pod2 { order: 0; } }

.board { display: flex; flex-direction: column; gap: 10px; }
.row { display: grid; grid-template-columns: 40px 56px 1.4fr 1.2fr auto minmax(150px, auto); gap: 16px; align-items: center; padding: 10px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; color: inherit; text-decoration: none; transition: transform .2s var(--ease), box-shadow .2s, border-color .2s; }
.row:hover { transform: translateX(4px); box-shadow: var(--shadow-2); border-color: var(--line-strong); }
.row .rank { font-family: var(--head); font-weight: 700; font-size: 1.3rem; text-align: center; color: var(--muted); }
.row .tk, .cand .tk { font-family: var(--head); font-weight: 700; font-size: 1.15rem; }
.row .score { display: flex; align-items: center; gap: 10px; }
.row .score .score-bar { flex: 1; }
.row .margin { font-size: .88rem; color: var(--muted); text-align: right; }
@media (max-width: 760px) {
  .row { grid-template-columns: 32px 50px 1fr; row-gap: 6px; padding: 12px 14px; }
  .row .score, .row .verdict, .row .margin { grid-column: 2 / -1; text-align: left; }
}

/* ---------- Analysis page ---------- */
.back { font-family: var(--head); font-weight: 600; text-decoration: none; display: inline-flex; gap: 6px; margin-bottom: 18px; padding: 6px 12px 6px 8px; border-radius: 999px; transition: background .2s; }
.back:hover { background: var(--blue-soft); }
.a-top { padding-bottom: 12px; }
.a-hero { display: grid; grid-template-columns: 300px 1fr; gap: 36px; align-items: end; }
.a-hero .mascot img { width: 220px; }
.a-hero .mascot::before { content: ""; position: absolute; z-index: -1; bottom: 6px; width: 250px; height: 250px; border-radius: 50%; background: var(--surface-2); }
.a-hero .meta { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.a-id { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.a-name { font-size: clamp(2.1rem, 5vw, 3.2rem); margin-bottom: .1em; }
.headline { font-size: 1.18rem; font-weight: 700; color: var(--ink-2); margin: 16px 0 14px; max-width: 62ch; }
.a-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.asof { background: var(--blue-soft); color: #1d4fc4; border-radius: 12px; padding: 8px 14px; font-weight: 700; display: inline-block; margin-bottom: 14px; font-size: .95rem; }
@media (max-width: 820px) { .a-hero { grid-template-columns: 1fr; gap: 16px; } .a-hero .mascot img { width: 170px; } .a-hero .mascot::before { width: 200px; height: 200px; } }

@property --p { syntax: "<number>"; inherits: false; initial-value: 0; }
.ring { --p: 0; width: 108px; height: 108px; border-radius: 50%; flex: none; display: grid; place-items: center; background: conic-gradient(var(--ring, var(--blue)) calc(var(--p) * 1%), var(--surface-2) 0); transition: --p 1.3s var(--ease) .2s; }
.in .ring, .ring.in { --p: var(--score); }
.ring > span { width: 84px; height: 84px; border-radius: 50%; background: var(--surface); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; box-shadow: inset 0 0 0 1px var(--line); }
.ring > span .score-num { font-size: 1.8rem; line-height: 1; }
.ring small { font-size: .7rem; color: var(--muted); line-height: 1; }

.tabs { position: sticky; top: 64px; z-index: 20; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.tabs .wrap { display: flex; gap: 4px; overflow-x: auto; padding-top: 8px; padding-bottom: 8px; scrollbar-width: none; }
.tabs a { flex: none; font-family: var(--head); font-weight: 600; text-decoration: none; color: var(--muted); padding: 6px 14px; border-radius: 999px; transition: background .2s, color .2s; }
.tabs a:hover { color: var(--ink); background: var(--surface-2); }
.tabs a.on { background: var(--ink); color: #fff; }
section[id^="sec-"] { scroll-margin-top: 130px; }

.crit-grid { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 760px) { .crit-grid { grid-template-columns: 1fr; } }
.crit { position: relative; overflow: hidden; padding-top: 28px; }
.crit::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--line); }
.crit.met::before { background: var(--green); }
.crit.unclear::before { background: var(--orange); }
.crit.failed::before { background: var(--red); }
.crit .status { display: inline-block; font-family: var(--head); font-weight: 600; font-size: .82rem; padding: 2px 10px; border-radius: 999px; margin-bottom: 8px; }
.crit.met .status { background: var(--green-soft); color: #0c6b43; }
.crit.unclear .status { background: var(--orange-soft); color: #9a5207; }
.crit.failed .status { background: var(--red-soft); color: #a63326; }
blockquote { margin: 10px 0 14px; padding: 10px 16px; border-left: 3px solid var(--blue); background: var(--blue-soft); border-radius: 0 14px 14px 0; font-style: italic; font-size: .95rem; color: var(--ink-2); }
blockquote cite { display: block; font-style: normal; font-size: .8rem; color: var(--muted); margin-top: 4px; }

.list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.list li { display: flex; gap: 10px; align-items: flex-start; }
.ic { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 900; }
.ic.yes { background: var(--green-soft); color: var(--green); }
.ic.no { background: var(--red-soft); color: var(--red); }
.ic.unclear { background: var(--orange-soft); color: var(--orange); }
.ic.num { background: var(--blue-soft); color: var(--blue); font-size: .75rem; }
.sub-q { margin: 6px 0 12px; }
.sub-q .ic { width: 22px; height: 22px; font-size: .7rem; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.stat { background: var(--surface-2); border-radius: 16px; padding: 14px 16px; }
.stat .k { font-size: .82rem; color: var(--muted); font-weight: 700; }
.stat .v { font-family: var(--head); font-weight: 700; font-size: 1.45rem; font-variant-numeric: tabular-nums; }
.gauge { position: relative; height: 14px; border-radius: 999px; background: linear-gradient(90deg, var(--red-soft), var(--orange-soft), var(--green-soft)); margin: 40px 0 40px; }
.gauge .mk { position: absolute; top: -28px; left: 0; transform: translateX(-50%); font-size: .78rem; font-weight: 800; white-space: nowrap; transition: left 1.2s var(--ease) .2s; }
.gauge.in .mk { left: var(--x); }
.gauge .mk::after { content: ""; position: absolute; left: 50%; top: 22px; width: 3px; height: 24px; background: var(--ink); transform: translateX(-50%); border-radius: 2px; }
.gauge .mk.below { top: auto; bottom: -28px; }
.gauge .mk.below::after { top: -24px; }

details { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); padding: 0 18px; margin-bottom: 10px; transition: box-shadow .2s, border-color .2s; }
details:hover { border-color: var(--line-strong); }
details[open] { box-shadow: var(--shadow-2); }
details summary { cursor: pointer; padding: 14px 0; font-weight: 800; display: flex; gap: 10px; align-items: center; list-style: none; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; margin-left: 8px; font-family: var(--head); font-size: 1.4rem; color: var(--muted); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details .inner { padding-bottom: 16px; animation: pageIn .3s ease-out; }
.cites-n { margin-left: auto; font-weight: 700; }
.cites { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-direction: column; gap: 8px; }
.cites li { font-size: .92rem; background: var(--surface-2); border-radius: 12px; padding: 10px 14px; }
.cites q { font-style: italic; }
.cites .src { display: block; font-size: .78rem; color: var(--muted); font-weight: 800; margin-top: 2px; }
.final { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; background: linear-gradient(110deg, var(--surface-2), var(--surface) 60%); }
.final-img { height: 140px; width: auto; }
.glossary dt { font-weight: 800; }
.glossary dd { margin: 0 0 12px; color: var(--muted); }

/* ---------- Votes ---------- */
.vote-layout { display: grid; grid-template-columns: 1fr 320px; gap: 36px; align-items: start; }
.vote-side { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 18px; align-items: center; }
.vote-side .mascot img { width: 180px; }
.propose { display: grid; grid-template-columns: 170px 1fr auto; gap: 12px; align-items: end; margin: 20px 0 24px; }
.propose .hint { grid-column: 1 / -1; margin: 0; }
.field { display: flex; flex-direction: column; gap: 4px; }
.field span { font-size: .82rem; font-weight: 800; color: var(--ink-2); }
.field input, .search input { font: inherit; }
.field input { min-width: 0; padding: 11px 14px; border: 1.5px solid var(--line-strong); border-radius: 12px; background: var(--surface); color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.field input:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
@media (max-width: 600px) { .propose { grid-template-columns: 1fr; } }
.list-head { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 12px; }
.search { flex: 1 1 260px; display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: 999px; padding: 2px 16px; transition: border-color .2s, box-shadow .2s; }
.search:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 9px 0; color: var(--ink); }
.cand { display: grid; grid-template-columns: 40px 1fr auto; gap: 14px; align-items: center; padding: 12px 14px 12px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; transition: border-color .2s, box-shadow .2s, background .2s; }
.cand:hover { border-color: var(--line-strong); box-shadow: var(--shadow-1); }
.cand.mine { border-color: #b9cdfb; background: linear-gradient(90deg, var(--blue-soft), var(--surface) 70%); }
.cand .pos { font-family: var(--head); font-weight: 700; font-size: 1.15rem; text-align: center; color: var(--muted); }
.cand .bar { margin-top: 8px; height: 6px; }
.cand .bar i { background: linear-gradient(90deg, var(--orange), #f7a64f); }
.cand.flash { animation: flash 1.3s ease-out; }
@keyframes flash { 0% { box-shadow: 0 0 0 5px var(--orange-soft), 0 0 0 7px var(--orange); } 100% { box-shadow: none; } }
.vote-pill { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 58px; padding: 6px 10px; cursor: pointer; font-family: var(--head); background: var(--surface); color: var(--ink); border: 1.5px solid var(--line-strong); border-radius: 14px; transition: border-color .2s, background .2s, color .2s, transform .12s; }
.vote-pill .arrow { font-size: .8rem; line-height: 1.2; color: var(--blue); }
.vote-pill .n { font-weight: 700; font-size: 1.1rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.vote-pill:hover { border-color: var(--blue); }
.vote-pill:active { transform: scale(.92); }
.vote-pill.is-on { background: var(--blue); border-color: var(--blue); color: #fff; }
.vote-pill.is-on .arrow { color: #fff; }
.how ol { counter-reset: how; list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-direction: column; gap: 10px; }
.how li { counter-increment: how; display: flex; gap: 10px; font-size: .95rem; }
.how li::before { content: counter(how); flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; background: var(--orange-soft); color: var(--orange); font-family: var(--head); font-weight: 700; font-size: .85rem; }
.shake { animation: shake .45s; border-color: var(--red) !important; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
@media (max-width: 880px) {
  .vote-layout { grid-template-columns: 1fr; }
  .vote-side { position: static; order: 2; }
  .vote-side .mascot { position: fixed; left: 8px; bottom: 8px; z-index: 40; flex-direction: row-reverse; align-items: flex-end; gap: 4px; pointer-events: none; }
  .vote-side .mascot img { width: 62px !important; }
  .vote-side .mascot .shadow { display: none; }
  .vote-side .mascot .bubble { font-size: .84rem; max-width: 170px; min-height: 0; padding: 7px 12px; margin: 0 0 40px; }
  .vote-side .mascot .bubble::after { left: -9px; bottom: 14px; transform: rotate(135deg); }
  .footer { padding-bottom: 80px; }
}

/* ---------- History ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-1); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: .94rem; }
th, td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { font-family: var(--head); font-weight: 600; color: var(--muted); background: var(--surface-2); font-size: .88rem; }
tr:last-child td { border-bottom: 0; }
tr td { transition: background .2s; }
tr:hover td { background: #fcfaf6; }
tr.picked td { background: var(--blue-soft); }
td img { height: 40px; width: auto; vertical-align: middle; }
td input { width: 18px; height: 18px; accent-color: var(--blue); cursor: pointer; }
.compare { display: grid; grid-template-columns: 170px 1fr 1fr; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); box-shadow: var(--shadow-2); }
.compare > div { padding: 11px 16px; border-bottom: 1px solid var(--line); }
.compare .lbl { font-weight: 800; background: var(--surface-2); font-size: .9rem; }
.compare .headc { text-align: center; }
.compare .headc img { height: 110px; }
@media (max-width: 640px) { .compare { grid-template-columns: 96px 1fr 1fr; font-size: .86rem; } .compare > div { padding: 8px; } }
.note { background: var(--orange-soft); border-radius: 14px; padding: 12px 16px; font-size: .92rem; color: #7a4206; }
.note-ok { background: var(--green-soft); color: #0c6b43; }

/* ---------- How it works ---------- */
.act-people { --act: var(--orange); --act-soft: var(--orange-soft); }
.act-rule { --act: var(--green); --act-soft: var(--green-soft); }
.act-ai { --act: var(--blue); --act-soft: var(--blue-soft); }
.legend { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.method-intro { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; }
@media (max-width: 720px) { .method-intro { grid-template-columns: 1fr; } .method-intro .mascot { display: none; } }
.phases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.phase { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.phase-label { font-family: var(--head); font-weight: 600; color: var(--muted); margin: 0 4px 10px; font-size: .92rem; }
.overview { list-style: none; margin: 0; padding: 0; display: flex; gap: 14px; }
.overview li { flex: 1; position: relative; }
.overview li:not(:last-child)::after { content: "→"; position: absolute; right: -7px; top: 50%; transform: translate(50%, -50%); font-weight: 800; color: var(--line-strong); }
.ov { display: flex; flex-direction: column; align-items: center; gap: 2px; text-decoration: none; color: var(--ink); background: var(--act-soft); border-radius: 16px; padding: 12px 4px; height: 100%; transition: transform .2s var(--ease), box-shadow .2s; }
.ov:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.ov-n { font-family: var(--head); font-weight: 700; font-size: .8rem; width: 22px; height: 22px; border-radius: 50%; background: var(--act); color: #fff; display: grid; place-items: center; }
.ov-i { font-size: 1.6rem; line-height: 1.25; }
.ov-t { font-family: var(--head); font-weight: 600; font-size: .88rem; text-align: center; }
@media (max-width: 900px) { .phases { grid-template-columns: 1fr; } }
.timeline { list-style: none; margin: 24px 0 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 29px; top: 10px; bottom: 10px; width: 2px; background: repeating-linear-gradient(var(--line-strong) 0 8px, transparent 8px 16px); }
.t-step { position: relative; display: grid; grid-template-columns: 60px 1fr; gap: 18px; margin-bottom: 20px; scroll-margin-top: 90px; }
.t-step > * { min-width: 0; }
.t-badge { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; font-size: 1.7rem; background: var(--act-soft); box-shadow: 0 0 0 6px var(--bg); position: relative; z-index: 1; }
.t-card { position: relative; overflow: hidden; }
.t-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--act); }
.t-top { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 8px; }
.t-num { font-family: var(--head); font-weight: 700; color: var(--act); }
.t-ex { margin: 14px 0 0; padding: 10px 14px; background: var(--surface-2); border-radius: 12px; font-size: .94rem; }
@media (max-width: 600px) { .t-step { grid-template-columns: 42px 1fr; gap: 10px; } .t-badge { width: 42px; height: 42px; font-size: 1.15rem; border-radius: 12px; } .timeline::before { left: 20px; } }
.inv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin: 6px 0 12px; }
.inv-group { background: var(--blue-soft); border-radius: 16px; padding: 12px; }
.inv-head { font-family: var(--head); font-weight: 600; margin-bottom: 6px; }
.inv { display: flex; gap: 8px; align-items: flex-start; background: var(--surface); border-radius: 10px; padding: 7px 9px; margin-top: 6px; font-size: .88rem; font-weight: 700; }
.tools-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.mini-flow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 6px 0; }
.mf-col { display: flex; flex-direction: column; gap: 8px; }
.mf-box { background: var(--surface); border: 1px solid var(--line-strong); border-radius: 12px; padding: 8px 12px; font-weight: 700; font-size: .9rem; }
.mf-box.ok { background: var(--green-soft); border-color: transparent; }
.mf-box.warn { background: var(--orange-soft); border-color: transparent; max-width: 320px; }
.mf-q { font-family: var(--head); font-weight: 600; background: var(--ink); color: #fff; width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; text-align: center; font-size: .9rem; }
.mf-arrow { font-size: 1.4rem; font-weight: 800; color: var(--line-strong); }
@media (max-width: 600px) { .mini-flow { flex-direction: column; align-items: stretch; } .mf-arrow { transform: rotate(90deg); text-align: center; } .mf-q { align-self: center; } }
.proof { display: flex; flex-direction: column; gap: 8px; margin: 6px 0; }
.proof-row { display: flex; gap: 10px; align-items: flex-start; background: var(--surface-2); border-radius: 12px; padding: 10px 12px; }
.proof-row q { font-style: italic; font-weight: 700; }
.crit-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 8px; margin: 6px 0 12px; }
.crit-pill { display: flex; gap: 8px; align-items: center; background: var(--green-soft); border-radius: 12px; padding: 8px 10px; font-weight: 700; font-size: .88rem; }
.crit-pill b { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-family: var(--head); font-size: .8rem; }
.outcomes { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.outcome { display: flex; gap: 10px; align-items: center; border-radius: 14px; padding: 8px 12px; font-size: .9rem; }
.outcome img { height: 62px; width: auto; }
.pose-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 6px; }
.pose-strip figure { margin: 0; text-align: center; background: var(--surface-2); border-radius: 14px; padding: 8px 4px; }
.pose-strip img { height: 88px; width: auto; }
.pose-strip figcaption { font-size: .76rem; font-weight: 700; line-height: 1.25; }
@media (max-width: 600px) { .pose-strip { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Legal ---------- */
.legal h2 { font-size: 1.3rem; margin-top: 1.3em; }
.legal h2:first-child { margin-top: 0; }
.todo { background: var(--orange-soft); border: 1.5px dashed var(--orange); border-radius: 12px; padding: 10px 14px; font-weight: 700; }

/* ---------- Footer (dark) ---------- */
.footer { margin-top: 56px; background: var(--ink); color: #c4cad8; }
.footer-inner { max-width: 1160px; margin: 0 auto; padding: 44px clamp(16px, 4vw, 40px) 28px; }
.disclaimer { display: flex; gap: 20px; align-items: center; padding: 20px 24px; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.disclaimer p { font-size: .9rem; }
.disclaimer strong { color: #fff; }
.disc-title { display: block; font-family: var(--head); font-size: 1.2rem; font-weight: 600; color: #fff; margin-bottom: 6px; }
.disc-img { height: 110px; width: auto; flex: none; }
@media (max-width: 600px) { .disc-img { display: none; } }
.footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr 1fr; gap: 28px; margin: 36px 0 26px; }
.footer-cols h4 { font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: #8d95a8; margin-bottom: 12px; }
.footer-cols a:not(.brand) { display: block; color: #e7eaf1; text-decoration: none; font-weight: 600; font-size: .93rem; margin-bottom: 8px; transition: color .2s; }
.footer-cols a:not(.brand):hover { color: var(--orange); }
.footer .brand { color: #fff; }
.footer .brand b { color: #7aa2ff; }
.footer .brand img { height: 40px; }
.footer .muted { color: #8d95a8; }
@media (max-width: 760px) { .footer-cols { grid-template-columns: 1fr 1fr; } }
.footer-bottom { display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 18px; font-size: .8rem; color: #8d95a8; }

/* ---------- Feedback: toasts, effects, skeletons, empty ---------- */
.empty { text-align: center; padding: 44px 20px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.toasts { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; flex-direction: column; gap: 10px; z-index: 70; width: min(92vw, 440px); }
.toast { background: var(--ink); color: #fff; border-radius: 16px; padding: 12px 18px; font-weight: 700; box-shadow: var(--shadow-3); animation: toastIn .35s cubic-bezier(.3, 1.4, .5, 1); }
.toast-ok { background: var(--green); }
.toast-err { background: var(--red); }
.toast.out { animation: toastOut .35s ease-in forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(20px) scale(.95); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateY(14px); } }
.fx { position: fixed; inset: 0; pointer-events: none; z-index: 60; }
.fx-p { position: fixed; font-size: 1.3rem; will-change: transform, opacity; }
.fx-plus { position: fixed; font-family: var(--head); font-weight: 700; font-size: 1.4rem; color: var(--orange); text-shadow: 0 2px 0 #fff; }
.sk { border-radius: var(--radius); background: linear-gradient(90deg, #efe9dd 25%, #f8f4ec 50%, #efe9dd 75%); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; }
.sk-title { height: 40px; width: 40%; margin-bottom: 24px; }
.sk-card { height: 170px; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* ---------- Motion ---------- */
.page-in { animation: pageIn .45s var(--ease); }
@keyframes pageIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s var(--ease), box-shadow .25s, border-color .25s; transition-delay: calc(var(--i, 0) * 70ms); }
.reveal.in { opacity: 1; transform: none; }
a.card.reveal.in:hover, .pod.reveal.in:hover { transform: translateY(-4px); transition-delay: 0s; }
.row.reveal.in:hover { transform: translateX(4px); transition-delay: 0s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .score-bar i, .ring, .gauge .mk { transition: none; }
  .mascot img, .mascot.pop img, .blob, .float-card, .page-in, .toast, .mascot.pop .bubble { animation: none; }
}

/* Footer, centred */
.footer-inner { text-align: center; }
.disclaimer { flex-direction: column; text-align: center; }
.disclaimer p { max-width: 90ch; margin-left: auto; margin-right: auto; }
.footer-cols { justify-items: center; }
.footer-cols .brand { justify-content: center; }
.footer-cols > div > p { max-width: 30ch; margin-left: auto; margin-right: auto; }
.footer-bottom { flex-direction: column; align-items: center; justify-content: center; }

/* Phone: tap targets of at least 40px, gauge labels kept on screen, long quotes wrap */
.gauge .mk { left: 70px; }
.gauge.in .mk { left: clamp(70px, var(--x), calc(100% - 70px)); }
.cites q, blockquote, .h-note { overflow-wrap: anywhere; }
@media (max-width: 760px) {
  .lang-switch button { min-height: 38px; min-width: 40px; }
  .menu-btn { min-height: 44px; min-width: 44px; }
  .tabs a, .back, .a-actions .btn { min-height: 42px; display: inline-flex; align-items: center; }
  .gauge .mk { font-size: .7rem; }
}

/* Research link in the nav and footer */
.nav a[data-nav="research"] { color: var(--blue); }
.footer a[target="_blank"] { color: inherit; }
.footer-bottom a { color: #e7eaf1; }

/* ---------- Method page: overview chips and collapsible steps (no emoji) ---------- */
.m-intro .legend { margin: 8px 0 22px; }
.m-mini { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.m-mini a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-family: var(--head); font-weight: 600; font-size: .92rem; transition: border-color .16s; }
.m-mini a:hover { border-color: var(--ink); }
.m-mini a span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--act); color: #fff; font-size: .85rem; }
.m-faq { max-width: 900px; }
.fq { padding: 0; }
.fq summary { padding: 16px 18px; gap: 14px; }
.fq-n { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--act); color: #fff; font-family: var(--head); font-weight: 700; }
.fq-title { flex: 1; font-family: var(--head); font-weight: 600; font-size: 1.1rem; }
.fq .m-actor { flex: none; }
.fq .inner { padding: 0 18px 18px 68px; }
.fq--plain .inner { padding-left: 18px; }
.fq .inner > p { margin: 0 0 12px; color: var(--ink-2); }
.fq-ex { margin: 12px 0 0 !important; padding: 10px 14px; border-radius: 12px; background: var(--surface-2); font-size: .94rem; }
.fq-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; margin-bottom: 12px; }
.fq-group { background: var(--blue-soft); border-radius: 14px; padding: 10px 14px; }
.fq-group__h { margin: 0 0 4px; font-family: var(--head); font-weight: 600; }
.fq-group ul { margin: 0; padding-left: 1.1em; font-size: .92rem; }
.fq-tools { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0 0 4px; }
.fq-tag { padding: 3px 10px; border-radius: 999px; background: var(--surface-2); font-weight: 700; font-size: .84rem; }
.fq-steps { margin: 0 0 8px; padding-left: 1.3em; display: flex; flex-direction: column; gap: 6px; }
.fq-steps .ok { color: #0c6b43; font-weight: 700; } .fq-steps .warn { color: #9a5207; font-weight: 700; }
.fq-proof p { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 8px; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); }
.fq-proof q { display: block; font-style: italic; font-weight: 700; overflow-wrap: anywhere; }
.fq-crit { margin: 0 0 10px; padding-left: 1.3em; font-weight: 700; }
.fq-out { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.fq-out li { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.fq-out li strong { min-width: 120px; font-family: var(--head); }
@media (max-width: 640px) {
  .fq summary { flex-wrap: wrap; padding: 14px; gap: 10px; }
  .fq .m-actor { order: 3; margin-left: 46px; }
  .fq .inner { padding: 0 14px 16px; }
}

/* ---------- Heronlab.dev: header tag and the project band ---------- */
.heron-tag { margin-right: auto; margin-left: -4px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--ink-2); font-weight: 800; font-size: .78rem; text-decoration: none; white-space: nowrap; transition: border-color .16s, color .16s; }
.heron-tag:hover { border-color: var(--ink); color: var(--ink); }
@media (max-width: 520px) { .heron-tag { display: none; } }
.heron { padding: clamp(28px, 5vw, 56px) 0; }
.heron__card { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(24px, 4vw, 44px); border-radius: 28px; background: var(--ink); color: #e7eaf1; box-shadow: var(--shadow-3); }
.heron__kicker { margin: 0 0 10px; font-family: var(--head); font-weight: 600; color: #7aa2ff; letter-spacing: .02em; }
.heron__card h2 { color: #fff; margin: 0 0 12px; text-wrap: balance; }
.heron__card p { color: #c4cad8; }
.heron__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.heron__btn { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); box-shadow: none; }
.heron__btn:hover { border-color: #fff; }
.heron__facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.heron__facts li { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.heron__facts strong { font-family: var(--head); font-size: 1.8rem; color: #fff; line-height: 1.1; }
.heron__facts span { font-size: .88rem; color: #c4cad8; }
@media (max-width: 820px) { .heron__card { grid-template-columns: 1fr; } }
.footer .heron-line { margin: 10px 0 0; font-family: var(--head); font-weight: 600; color: #fff; }

/* Header lockup: wordmark with "by Heronlab.dev" underneath */
.brand-wrap { position: relative; display: flex; flex-direction: column; margin-right: auto; }
.brand-wrap .brand span { line-height: 1; }
.heron-tag { position: absolute; left: 54px; top: 33px; margin: 0; padding: 0; border: 0; border-radius: 0; font-size: .68rem; font-weight: 700; letter-spacing: .01em; color: var(--muted); text-decoration: none; white-space: nowrap; }
.heron-tag:hover { color: var(--blue); text-decoration: underline; }
.brand-wrap .brand span { transform: translateY(-5px); }
@media (max-width: 520px) { .heron-tag { display: block; } }

/* Final decision: title, then a large verdict badge */
.final-k { margin: 0 0 8px; font-family: var(--head); font-weight: 600; color: var(--muted); font-size: 1rem; }
.final-v { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; padding: 10px 20px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-strong); color: var(--ink); font-family: var(--head); font-weight: 700; font-size: clamp(1.3rem, 2.4vw, 1.7rem); line-height: 1.1; }
.final-v .dot { width: 12px; height: 12px; }
.final { align-items: center; }
/* "by Heronlab.dev" starts exactly under the wordmark (logo is 44px tall, ~20px wide, 10px gap) */
.heron-tag { left: 30px; }

/* Comparison: icon beside its text; labels wrap instead of being cut; tighter on phones */
.cmp-st { display: inline-flex; align-items: center; gap: 8px; }
.cmp-st .ic { flex: none; width: 24px; height: 24px; font-size: .75rem; }
.compare .lbl { overflow-wrap: anywhere; hyphens: auto; }
@media (max-width: 640px) {
  .compare { grid-template-columns: minmax(84px, .8fr) 1fr 1fr; }
  .compare .lbl { font-size: .78rem; line-height: 1.25; }
  .compare .headc img { height: 72px; }
  .compare .headc .score-num { font-size: 1rem !important; }
  .compare .lbl .btn { padding: 6px 10px; font-size: .8rem; }
  .cmp-st { gap: 6px; align-items: flex-start; }
  .cmp-st > span { line-height: 1.25; padding-top: 2px; }
  .compare .chip { font-size: .72rem; padding: 3px 8px; }
}

/* ---------- Method page: the nine steps as a diagram (three phases of three) ---------- */
.ms { display: flex; flex-direction: column; gap: 46px; margin-top: 24px; }
.ms-phase { position: relative; }
.ms-phase:not(:last-child)::after { content: ""; position: absolute; left: 50%; bottom: -36px; width: 3px; height: 26px; border-radius: 3px; background: var(--line-strong); transform: translateX(-50%); }
.ms-phase:not(:last-child)::before { content: ""; position: absolute; left: 50%; bottom: -40px; width: 10px; height: 10px; border-right: 3px solid var(--line-strong); border-bottom: 3px solid var(--line-strong); transform: translateX(-50%) rotate(45deg); }
.ms-phase__h { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-family: var(--head); font-weight: 600; color: var(--ink-2); }
.ms-phase__h span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--ink); color: #fff; font-size: .85rem; }
.ms-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.ms-step { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--act); border-radius: 20px; box-shadow: var(--shadow-1); scroll-margin-top: 90px; }
.ms-step:not(:last-child)::after { content: ""; position: absolute; top: 34px; right: -26px; width: 24px; height: 3px; border-radius: 3px; background: var(--line-strong); }
.ms-step:not(:last-child)::before { content: ""; position: absolute; top: 30px; right: -26px; width: 8px; height: 8px; border-right: 3px solid var(--line-strong); border-top: 3px solid var(--line-strong); transform: rotate(45deg); }
.ms-top { display: flex; align-items: center; gap: 10px; }
.ms-n { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--act); color: #fff; font-family: var(--head); font-weight: 700; }
.ms-step h3 { margin: 4px 0 0; font-size: 1.12rem; }
.ms-step > p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.ms-ex { margin-top: auto !important; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); font-size: .88rem !important; }
.ms-more { margin: 0; border: 0; background: transparent; padding: 0; box-shadow: none !important; }
.ms-more summary { padding: 4px 0; font-size: .9rem; color: var(--blue); }
.ms-more .inner { padding: 6px 0 0; font-size: .9rem; }
@media (max-width: 900px) {
  .ms { gap: 30px; }
  .ms-row { grid-template-columns: 1fr; gap: 14px; }
  .ms-step:not(:last-child)::after { top: auto; bottom: -14px; right: auto; left: 34px; width: 3px; height: 14px; }
  .ms-step:not(:last-child)::before { display: none; }
  .ms-phase:not(:last-child)::after { left: 34px; bottom: -26px; height: 22px; }
  .ms-phase:not(:last-child)::before { left: 34px; bottom: -30px; }
}
@media (max-width: 640px) { .compare { grid-template-columns: minmax(100px, .9fr) 1fr 1fr; } .compare .lbl { font-size: .74rem; } }

/* Simple method page: six steps in two rows, arrows inside a row only */
.ms-six { margin-top: 8px; }
.ms-six .ms-step:nth-child(3n)::after, .ms-six .ms-step:nth-child(3n)::before { display: none; }
.ms-tech { display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; flex-wrap: wrap; margin-top: 28px; padding: 18px 22px; border-radius: 20px; background: var(--blue-soft); }
.ms-tech p { margin: 0; max-width: 60ch; color: var(--ink-2); font-weight: 600; }
@media (max-width: 900px) { .ms-six .ms-step:nth-child(3n):not(:last-child)::after { display: block; } }

/* ---------- Method page: the verdict as a tree ---------- */
.tree { display: flex; flex-direction: column; align-items: center; }
.tr-node { width: min(560px, 100%); display: flex; flex-direction: column; gap: 8px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--act); border-radius: 20px; box-shadow: var(--shadow-1); }
.tr-node h3 { margin: 4px 0 0; font-size: 1.15rem; }
.tr-node > p { margin: 0; color: var(--ink-2); font-size: .96rem; }
.tr-node--wide { width: min(820px, 100%); }
.tr-root-q { margin: 6px 0 0; font-size: .9rem; }
.tr-stem { position: relative; width: 3px; height: 34px; background: var(--line-strong); }
.tr-stem::after { content: ""; position: absolute; left: 50%; bottom: -2px; width: 10px; height: 10px; border-right: 3px solid var(--line-strong); border-bottom: 3px solid var(--line-strong); transform: translateX(-50%) rotate(45deg); }
/* Branch out to the four criteria, then merge back. */
.tr-branches { position: relative; width: 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding: 40px 0; }
.tr-branches::before, .tr-branches::after { content: ""; position: absolute; left: 12.5%; right: 12.5%; height: 3px; background: var(--line-strong); border-radius: 3px; }
.tr-branches::before { top: 20px; }
.tr-branches::after { bottom: 20px; }
.tr-col { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 18px; background: var(--surface-2); }
.tr-col::before, .tr-col::after { content: ""; position: absolute; left: 50%; width: 3px; height: 20px; background: var(--line-strong); transform: translateX(-50%); }
.tr-col::before { top: -20px; }
.tr-col::after { bottom: -20px; }
.tree > .tr-node--wide::after { content: ""; display: block; }
.tr-node--wide + .tr-branches { margin-top: 0; }
.tr-node--wide { position: relative; }
.tr-node--wide::before { content: ""; position: absolute; left: 50%; bottom: -21px; width: 3px; height: 20px; background: var(--line-strong); transform: translateX(-50%); }
.tr-branches + .tr-node::before { content: ""; position: absolute; }
.tr-branches + .tr-node { position: relative; }
.tr-branches + .tr-node::after { content: ""; position: absolute; left: 50%; top: -21px; width: 3px; height: 20px; background: var(--line-strong); transform: translateX(-50%); }
.tr-crit { display: flex; align-items: center; gap: 8px; margin: 0; font-family: var(--head); font-weight: 600; font-size: .98rem; }
.tr-crit span { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--green); color: #fff; font-size: .78rem; }
.tr-leaf { display: flex; flex-direction: column; gap: 4px; padding: 12px; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--blue); border-radius: 12px; }
.tr-q { margin: 0; font-weight: 800; font-size: .92rem; }
.tr-quote { margin: 0; font-style: italic; font-size: .82rem; color: var(--ink-2); overflow-wrap: anywhere; }
.tr-src { margin: 0; font-size: .74rem; font-weight: 800; color: var(--muted); }
.tree .ms-tech { width: 100%; }
@media (max-width: 900px) {
  .tr-branches { grid-template-columns: 1fr 1fr; }
  .tr-branches::before, .tr-branches::after { left: 25%; right: 25%; }
}
@media (max-width: 600px) {
  .tr-branches { grid-template-columns: 1fr; gap: 14px; padding: 24px 0 24px 18px; }
  .tr-branches::before, .tr-branches::after { display: none; }
  .tr-branches { border-left: 3px solid var(--line-strong); margin-left: 12px; width: calc(100% - 12px); }
  .tr-col::before { top: 50%; left: -18px; width: 18px; height: 3px; transform: none; }
  .tr-col::after { display: none; }
  .tr-node--wide::before, .tr-branches + .tr-node::after { left: 13px; transform: none; }
}

/* Footer on phones: one centred column, links on wrapping rows */
@media (max-width: 760px) {
  .footer-inner { padding-top: 32px; }
  .footer-cols { grid-template-columns: 1fr; gap: 26px; margin: 30px 0 22px; }
  .footer-cols > div { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; column-gap: 18px; row-gap: 2px; }
  .footer-cols > div:first-child { flex-direction: column; row-gap: 0; }
  .footer-cols h4 { flex-basis: 100%; margin: 0 0 6px; }
  .footer-cols a:not(.brand) { margin: 0; padding: 8px 2px; }
  .footer-cols .muted.small { flex-basis: 100%; margin-top: 4px; }
  .footer-cols .heron-line { margin-top: 12px; }
  .footer-bottom { gap: 10px; }
}
@media (max-width: 760px) {
  .footer-cols > div:first-child { display: block; text-align: center; }
  .footer-cols > div:first-child .brand { display: inline-flex; }
  .footer-cols > div:first-child p { margin-left: auto; margin-right: auto; }
  .footer-cols > div:first-child .muted.small { flex-basis: auto; }
}

/* ---------- Podium: real steps, the place written on each card ---------- */
.podium { align-items: end; gap: 18px; margin: 12px 0 30px; }
.pod-col { display: flex; flex-direction: column; }
.pod-col .pod { position: relative; z-index: 1; border-radius: 22px 22px 14px 14px; }
.pod-col.pod0 { order: 2; } .pod-col.pod1 { order: 1; } .pod-col.pod2 { order: 3; }
.pod-col .pod.pod0, .pod-col .pod { order: 0; }
.pod0 .pod { border-color: #f3c98f; box-shadow: 0 0 0 4px var(--orange-soft), var(--shadow-2); padding-top: 26px; }
.pod0 .pod .pod-img { width: 140px; height: 165px; background: var(--orange-soft); }
.pod0 .pod .pod-img img { height: 150px; }
.pod-place { position: absolute; top: 14px; left: 14px; padding: 4px 12px; border-radius: 999px; font-family: var(--head); font-weight: 700; font-size: 1rem; color: #fff; background: #b8863b; }
.pod0 .pod-place { background: #e0a526; font-size: 1.15rem; }
.pod1 .pod-place { background: #8f9bb0; }
.pod2 .pod-place { background: #b87a4b; }
.pod-name { color: var(--ink-2); font-weight: 700; }
.pod-date { margin-top: 8px; font-size: .8rem; color: var(--muted); }
.pod-step { display: grid; place-items: center; margin: -10px 10px 0; border-radius: 0 0 16px 16px; font-family: var(--head); font-weight: 700; color: #fff; }
.pod-step span { font-size: 2.4rem; line-height: 1; padding-top: 10px; }
.pod0 .pod-step { height: 96px; background: linear-gradient(#f1b53a, #e0a526); }
.pod1 .pod-step { height: 64px; background: linear-gradient(#a7b1c3, #8f9bb0); }
.pod2 .pod-step { height: 44px; background: linear-gradient(#c98d5c, #b87a4b); }
.pod2 .pod-step span { font-size: 1.8rem; }
@media (max-width: 760px) {
  .pod-col.pod0, .pod-col.pod1, .pod-col.pod2 { order: 0; }
  .pod-step { height: 34px !important; margin-top: -10px; }
  .pod-step span { font-size: 1.3rem !important; padding-top: 8px; }
}

/* The leaderboard note spans the full width */
.note-plain { max-width: none; }

/* Diagram cards stand out from the page ground */
.tr-node, .tr-leaf, .ms-step { border-color: var(--line-strong); box-shadow: var(--shadow-2); }
.tr-col { background: color-mix(in srgb, var(--surface-2) 70%, #e8dfcd); border: 1px solid var(--line-strong); }

/* The old .pod0 card styling must not apply to the podium column itself */
.pod-col.pod0 { padding: 0; border: 0; box-shadow: none; background: none; }

/* ---------- Contrast: page ground a step darker, cards clearly white with a visible edge ---------- */
:root { --bg: #f2ede3; --surface-2: #ebe4d7; --line: #ddd3c1; --line-strong: #cfc3ad; }
body, body.is-home { background: var(--bg); }
.topbar { background: color-mix(in srgb, var(--bg) 88%, transparent); }
.card, .row, .cand, .pod, .step, .tr-node, .tr-leaf, .ms-step, .m-step, .g-card, .r-card, .h-card, .h-vcard, .stat, details, .table-wrap, .compare, .wanted-list li, .fq { border-color: var(--line-strong); }
.card, .row, .cand, .pod, .tr-node, .ms-step, .g-card, .r-card, .h-card { box-shadow: 0 1px 2px rgba(60, 45, 20, .06), 0 6px 18px -8px rgba(60, 45, 20, .22); }
.stat, .g-price > div, .r-img, .pod-img, .a-card .mini-mascot, .cites li, .fq-ex, .ms-ex, .t-ex { background: #f6f2ea; }
.tr-col { background: #e7dfd0; }

/* ---------- Podium, calmer: neutral steps, discreet rank ---------- */
.pod-place { background: var(--ink) !important; font-size: .85rem !important; padding: 3px 10px; }
.pod0 .pod { border-color: var(--line-strong); box-shadow: 0 1px 2px rgba(60, 45, 20, .06), 0 10px 26px -10px rgba(60, 45, 20, .3); }
.pod0 .pod .pod-img { background: #f6f2ea; }
.pod-step { background: #e3dacb !important; color: var(--ink-2); border: 1px solid var(--line-strong); border-top: 0; }
.pod-step span { font-size: 1.6rem !important; }
.pod0 .pod-step { height: 70px; } .pod1 .pod-step { height: 46px; } .pod2 .pod-step { height: 30px; }

/* Notes with light formatting (md() in app.js) */
.md p { margin: 0 0 .6em; }
.md > :last-child { margin-bottom: 0; }
.md-list { margin: 0 0 .6em; padding-left: 1.2em; }
.md-list li { margin: .25em 0; }

/* Criteria cards: status, conclusion, questions, then the reasoning folded away */
.crit { display: flex; flex-direction: column; gap: 12px; padding-top: 24px; }
.crit-head { display: flex; gap: 12px; align-items: center; }
.crit-head > .ic { width: 38px; height: 38px; font-size: 1rem; }
.crit-head .status { margin-bottom: 2px; }
.crit-head h3 { margin: 0; }
.crit-lead { margin: 0; font-weight: 700; color: var(--ink); line-height: 1.45; }
.crit-price { margin: 0; color: var(--ink-2); }
.crit-qs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crit-qs li { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 4px; border-radius: 999px; font-size: .84rem; font-weight: 700; background: var(--green-soft); }
.crit-qs li.unclear { background: var(--orange-soft); }
.crit-qs li.no { background: var(--red-soft); }
.crit-qs .ic { width: 20px; height: 20px; font-size: .65rem; background: var(--surface); }
.crit-why { margin: auto 0 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 0; background: none; box-shadow: none; }
.crit-why[open] { box-shadow: none; }
.crit-why > summary { padding: 12px 0 0; font-size: .92rem; color: var(--blue); }
.crit-why .inner { padding: 12px 0 0; }

/* Small AI disclaimer next to each analysis */
.ai-warn { display: flex; align-items: center; gap: 6px; margin: 6px 0 14px; font-size: .8rem; color: var(--muted); line-height: 1.4; }
.ai-warn__ic { flex: none; font-size: .8rem; line-height: 1; position: relative; top: -2px; }

/* How it works: the research question and the principle, full width */
.m-intro { display: grid; grid-template-columns: 3fr 2fr; gap: 16px; margin-top: 18px; }
.m-intro__q { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px 24px; box-shadow: var(--shadow-1); }
.m-intro__kicker { margin: 0 0 8px; font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); }
.m-intro__intro { margin: 0 0 6px; color: var(--muted); font-size: .95rem; }
.m-intro__text { margin: 0 0 14px; font-family: var(--head); font-size: 1.35rem; font-weight: 700; line-height: 1.35; color: var(--ink); }
.m-intro__points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.m-intro__points li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); line-height: 1.45; }
.m-intro__points .ic { width: 22px; height: 22px; font-size: .7rem; margin-top: 1px; }
.m-intro__how { display: flex; align-items: center; background: var(--blue-soft); border-radius: 20px; padding: 22px 24px; }
.m-intro__how p { margin: 0; color: var(--ink-2); line-height: 1.55; }
.m-intro__how strong { display: block; margin-bottom: 6px; font-size: 1.1rem; color: var(--ink); }
@media (max-width: 760px) { .m-intro { grid-template-columns: 1fr; } }

/* Step 4: the self-consistency option */
.sc-box { margin-top: 8px; padding: 14px 16px; border: 1px dashed var(--line-strong); border-radius: 14px; background: var(--bg, #faf7f0); }
.sc-title { margin: 0 0 10px; font-weight: 800; font-size: .9rem; color: var(--ink); }
.sc-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.sc-chip { padding: 4px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .82rem; font-weight: 700; }
.sc-q { background: var(--orange-soft); border-color: transparent; }
.sc-arrow { color: var(--muted); font-weight: 800; }
.sc-out { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: .84rem; }
.sc-out .ok { color: #0c6b43; }
.sc-out .no { color: #a63326; }
.sc-note { margin: 10px 0 0; font-size: .82rem; color: var(--muted); }

/* Home: list of the latest verdicts */
.v-list { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-direction: column; }
.v-list li + li { border-top: 1px solid var(--line); }
.v-list__row { display: grid; grid-template-columns: 1fr auto 18px; align-items: center; gap: 12px; padding: 11px 6px; color: var(--ink); text-decoration: none; border-radius: 10px; transition: background .15s; }
.v-list__row:hover { background: var(--surface-2); }
.v-list__name { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.v-list__name strong { font-family: var(--head); font-size: 1rem; }
.v-list__name span { color: var(--muted); font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v-list__verdict { display: inline-flex; align-items: center; gap: 7px; font-family: var(--head); font-weight: 600; font-size: .86rem; white-space: nowrap; }
.v-list__verdict .dot { width: 8px; height: 8px; border-radius: 50%; }
.v-list__go { color: var(--muted); transition: transform .15s; }
.v-list__row:hover .v-list__go { transform: translateX(3px); color: var(--ink); }
