/* USDBee — editorial "dossier" design. Tokens and theme colours live in base.css. */

/* ---------- Foundations ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
:root {
  --f-display: 'Fraunces', 'Songti SC', 'STSong', 'Noto Serif SC', 'Source Han Serif SC', Georgia, serif;
  --wrap: 1240px;
  --gap: clamp(16px, 2vw, 24px);
  --sec: clamp(72px, 9vw, 128px);
  --ring: 0 0 0 3px var(--honey-soft), 0 0 0 1px var(--honey);
}
body {
  background: var(--bg); color: var(--ink);
  font: 400 16px/1.75 var(--f-sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
a { color: var(--honey-ink); text-decoration: none; }
::selection { background: var(--honey); color: var(--on-honey); }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }
img, svg { display: block; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
main { position: relative; padding: clamp(28px, 4vw, 48px) 0 var(--sec); overflow-x: clip; }
[id] { scroll-margin-top: 96px; }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.muted { color: var(--ink-3); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--honey); color: var(--on-honey); font-weight: 600; transition: top .2s; }
.skip:focus { top: 12px; }

/* Film grain: barely there, gives the flat colour some material. */
.grain {
  position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: var(--grain-op);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* ---------- Header ---------- */
.nav { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent; background: color-mix(in oklab, var(--bg) 82%, transparent); -webkit-backdrop-filter: saturate(1.4) blur(18px); backdrop-filter: saturate(1.4) blur(18px); transition: border-color .4s var(--ease-out); }
.nav.scrolled, .nav.menu-open { border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); }
.logo svg { width: 28px; height: 28px; transition: transform .9s var(--ease-out); }
.logo:hover svg { transform: rotate(60deg); }
.logo-word { font: 500 22px/1 var(--f-display); letter-spacing: -.02em; }
.logo-word i, .foot-word i { font-style: italic; font-weight: 400; color: var(--honey-ink); }
.nav-main { display: flex; gap: 2px; }
.nav-main a { position: relative; padding: 8px 14px; font-size: 14px; color: var(--ink-2); border-radius: 999px; transition: color .25s; }
.nav-main a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 1.5px; background: var(--honey); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-out); }
.nav-main a:hover { color: var(--ink); }
.nav-main a:hover::after, .nav-main a.on::after { transform: scaleX(1); }
.nav-main a.on { color: var(--ink); }
.nav-act { display: flex; align-items: center; gap: 6px; }
.icon-btn { height: 38px; min-width: 38px; padding: 0 11px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--line); border-radius: 999px; background: none; color: var(--ink-2); font: 600 12.5px var(--f-sans); cursor: pointer; transition: border-color .25s, color .25s, background-color .25s; }
.icon-btn:hover { border-color: var(--line-2); color: var(--ink); background: var(--surface); }
.icon-btn svg { width: 16px; height: 16px; }
.lang { position: relative; }
.lang-menu { position: absolute; right: 0; top: calc(100% + 10px); min-width: 180px; padding: 6px; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-md); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .25s var(--ease-out), transform .35s var(--ease-out), visibility .25s; }
.lang.open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-opt { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-radius: 10px; color: var(--ink); font-size: 14px; }
.lang-opt:hover { background: var(--surface-2); }
.lang-opt .tick { color: var(--honey-ink); font-weight: 700; }
.nav-toggle { display: none; }
.nav-toggle .ico-close { display: none; }
.nav.menu-open .nav-toggle .ico-menu { display: none; }
.nav.menu-open .nav-toggle .ico-close { display: block; }
.mnav { display: flex; flex-direction: column; padding: 8px 0 20px; border-top: 1px solid var(--line); }
.mnav[hidden] { display: none; }
.mnav a { display: grid; grid-template-columns: 36px 1fr 16px; align-items: center; padding: 15px 2px; border-bottom: 1px solid var(--line); color: var(--ink); font: 400 21px/1.2 var(--f-display); }
.mnav a .mono { font-size: 11px; color: var(--ink-3); }
.mnav a svg { width: 16px; height: 16px; color: var(--ink-3); }
.mnav a.on { color: var(--honey-ink); }
.nav.menu-open .mnav a { animation: rise .5s var(--ease-out) both; animation-delay: calc(var(--i) * 40ms); }
@media (max-width: 980px) { .nav-main { display: none; } .nav-toggle { display: inline-flex; } }
@media (min-width: 981px) { .mnav { display: none !important; } }
@media (max-width: 720px) { .nav-in { height: 62px; } .icon-btn .lbl { display: none; } }

nav.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--ink-3); margin-bottom: clamp(20px, 3vw, 36px); }
nav.crumbs a { color: var(--ink-3); transition: color .2s; }
nav.crumbs a:hover { color: var(--ink); }

/* ---------- Type ---------- */
h1 { font: 400 clamp(38px, 6.4vw, 84px)/1.06 var(--f-display); letter-spacing: -.035em; text-wrap: balance; }
/* Chinese has no spaces, so headings break only at spaces and punctuation ("汇丰 HSBC One 账户"
   stays whole); overflow-wrap still rescues anything longer than the line. */
h1, h2, h3, .g-t, .ledger-news span:last-child { word-break: normal; line-break: strict; overflow-wrap: anywhere; }
h1 em { font-style: italic; color: var(--honey-ink); }
h2 { font: 400 clamp(24px, 2.6vw, 32px)/1.2 var(--f-display); letter-spacing: -.02em; text-wrap: balance; margin-bottom: 18px; }
h3 { font-size: 17px; font-weight: 600; line-height: 1.45; }
.lead { font-size: clamp(16.5px, 1.4vw, 19px); line-height: 1.75; color: var(--ink-2); max-width: 62ch; margin-top: 22px; text-wrap: pretty; }
.eyebrow { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--honey-ink); margin-bottom: 22px; }
.meta { font-size: 12.5px; color: var(--ink-3); margin-top: 16px; }
.note { margin-top: 14px; font-size: 13.5px; line-height: 1.7; color: var(--ink-3); max-width: 70ch; }
.empty { color: var(--ink-3); padding: 32px 0; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 22px; border-radius: 999px; font: 600 15px var(--f-sans); border: 1px solid transparent; transition: transform .35s var(--ease-out), background-color .25s, border-color .25s, color .25s, box-shadow .35s var(--ease-out); }
.btn span { display: inline-block; transition: transform .35s var(--ease-out); }
.btn:hover span { transform: translateX(3px); }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--honey); color: var(--on-honey); box-shadow: 0 10px 30px -14px color-mix(in oklab, var(--honey) 80%, transparent); }
.btn-primary:hover { box-shadow: 0 16px 36px -14px color-mix(in oklab, var(--honey) 95%, transparent); }
.btn-ghost { border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink-3); background: var(--surface); }
.btn-block { display: flex; width: 100%; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, .9fr); gap: clamp(32px, 6vw, 96px); align-items: end; padding: clamp(32px, 6vw, 88px) 0 clamp(40px, 5vw, 72px); border-bottom: 1px solid var(--line); }
.hero-bg { position: absolute; inset: -140px -12vw 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(55% 55% at 78% 32%, var(--honey-soft), transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 0 56 16v32L28 64 0 48V16zM28 64v33' fill='none' stroke='%23FFB21A' stroke-opacity='.085' stroke-width='1'/%3E%3C/svg%3E");
  -webkit-mask-image: radial-gradient(65% 70% at 76% 36%, #000 15%, transparent 72%); mask-image: radial-gradient(65% 70% at 76% 36%, #000 15%, transparent 72%);
  animation: drift 60s linear infinite; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
/* Status panel: a small live dashboard — mono figures, a stacked share bar, per-row meters. */
.ledger {
  --gridc: color-mix(in oklab, var(--ink) 9%, transparent);
  position: relative; padding: 20px 22px 16px; border: 1px solid var(--line-2); border-radius: 18px;
  background:
    radial-gradient(circle, var(--gridc) 1px, transparent 1.2px) 0 0 / 16px 16px,
    color-mix(in oklab, var(--surface) 94%, transparent);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: var(--shadow), 0 0 0 1px color-mix(in oklab, var(--honey) 10%, transparent) inset;
}
.ledger::before, .ledger::after { content: ""; position: absolute; width: 14px; height: 14px; border: 1.5px solid var(--honey); opacity: .8; }
.ledger::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; border-top-left-radius: 18px; }
.ledger::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; border-bottom-right-radius: 18px; }
.ledger-head { display: flex; align-items: center; gap: 10px; }
.ledger-t { font-size: 11px; letter-spacing: .14em; color: var(--ink-3); }
.ledger-total { margin-left: auto; font-size: 12px; color: var(--ink-3); }
.ledger-total b { font-size: 20px; font-weight: 600; color: var(--ink); margin-right: 2px; letter-spacing: -.02em; }
.ledger-live { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--up); flex: none; }
.ledger-live::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid var(--up); opacity: 0; animation: ping 2.4s var(--ease-out) infinite; }
.ledger-live.sm { width: 6px; height: 6px; display: inline-block; margin-right: 8px; background: var(--honey); vertical-align: 1px; }
.ledger-live.sm::after { border-color: var(--honey); }
@keyframes ping { 0% { transform: scale(.6); opacity: .8; } 80%, 100% { transform: scale(1.8); opacity: 0; } }
.ledger-bar { display: flex; gap: 3px; height: 8px; margin: 18px 0 6px; }
.ledger-bar .seg { width: var(--w); border-radius: 3px; background: currentColor; transform-origin: left; animation: grow 1.1s var(--ease-out) both; }
.ledger-bar .seg:nth-child(2) { animation-delay: .08s; } .ledger-bar .seg:nth-child(3) { animation-delay: .16s; } .ledger-bar .seg:nth-child(4) { animation-delay: .24s; } .ledger-bar .seg:nth-child(5) { animation-delay: .32s; }
@keyframes grow { from { transform: scaleX(0); } }
.ledger ul { list-style: none; margin-top: 6px; }
.ledger li { display: grid; grid-template-columns: 8px minmax(0, 1fr) 72px 32px; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.ledger li:last-child { border-bottom: 0; }
.ledger-dot { width: 8px; height: 8px; border-radius: 2px; background: currentColor; box-shadow: 0 0 10px currentColor; }
.ledger-l { font-size: 14px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ledger-meter { height: 4px; border-radius: 2px; background: var(--line); overflow: hidden; }
.ledger-meter i { display: block; height: 100%; width: var(--w); background: currentColor; border-radius: 2px; transform-origin: left; animation: grow 1.2s var(--ease-out) both .2s; }
.ledger-n { font-size: 18px; font-weight: 600; text-align: right; color: var(--ink); letter-spacing: -.02em; }
.ledger .s-open { color: var(--up); } .ledger .s-limited { color: var(--honey); }
.ledger .s-paused { color: var(--down); } .ledger .s-unavailable { color: var(--honey-ink); } .ledger .s-closed { color: var(--ink-3); }
.ledger li .ledger-l, .ledger li .ledger-n { color: var(--ink); }
.ledger-news { display: grid; grid-template-columns: 1fr 16px; gap: 4px 10px; align-items: center; margin-top: 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: color-mix(in oklab, var(--bg) 60%, transparent); color: var(--ink); transition: border-color .25s, background-color .25s; }
.ledger-news-meta { grid-column: 1; font-size: 10.5px; letter-spacing: .1em; color: var(--honey-ink); }
.ledger-news-t { grid-column: 1; font-size: 14px; line-height: 1.5; }
.ledger-news .arrow { grid-row: 1 / span 2; grid-column: 2; }
.ledger-news:hover { border-color: var(--honey-line); background: var(--honey-soft); }
.ledger-news:hover .arrow { transform: translateX(3px); color: var(--honey-ink); }
.ledger-foot { margin-top: 12px; font-size: 10.5px; letter-spacing: .06em; color: var(--ink-3); }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; align-items: start; } }
.draft-note { margin-top: 24px; padding: 10px 14px; border: 1px dashed var(--honey-line); border-radius: var(--r-sm); color: var(--honey-ink); font-size: 13px; }

/* ---------- Page heads & section heads ---------- */
.page-head { padding: clamp(8px, 2vw, 24px) 0 clamp(28px, 4vw, 48px); border-bottom: 1px solid var(--line); }
.page-head .callout { max-width: 78ch; }
.block { margin-top: clamp(48px, 6vw, 88px); }
.sec-head { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 16px; padding-bottom: 18px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.sec-head h2 { margin: 0; }
.sec-no { font-size: 12px; color: var(--honey-ink); letter-spacing: .08em; }
.sec-aside { font-size: 13px; color: var(--ink-3); }
.sec-more { font-size: 14px; color: var(--ink-2); white-space: nowrap; transition: color .2s; }
.sec-more span { display: inline-block; transition: transform .35s var(--ease-out); }
.sec-more:hover { color: var(--honey-ink); }
.sec-more:hover span { transform: translateX(3px); }
@media (max-width: 560px) { .sec-head { grid-template-columns: auto 1fr; } .sec-head .sec-aside, .sec-head .sec-more { grid-column: 2; } }
.two-col { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 80px); }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; gap: 0; } }
.type-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.type-pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--ink); font-size: 14px; transition: border-color .25s, background-color .25s; }
.type-pill .mono { font-size: 12px; color: var(--ink-3); }
.type-pill:hover, .type-pill.on { border-color: var(--honey); background: var(--honey-soft); }

/* ---------- Filters ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 24px; margin-bottom: 28px; }
.f-group { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.f-checks { gap: 4px 18px; }
.f-chip, .f-check { position: relative; cursor: pointer; }
.f-chip input, .f-check input { position: absolute; opacity: 0; pointer-events: none; }
.f-chip span { display: inline-block; padding: 8px 15px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14px; color: var(--ink-2); transition: all .25s var(--ease-out); }
.f-chip:hover span { color: var(--ink); border-color: var(--ink-3); }
.f-chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.f-check span { display: inline-flex; align-items: center; gap: 9px; padding: 8px 0; font-size: 14px; color: var(--ink-2); transition: color .2s; }
.f-check span::before { content: ""; flex: none; width: 17px; height: 17px; border: 1.5px solid var(--line-2); border-radius: 5px; transition: all .2s var(--ease-out); }
.f-check:hover span { color: var(--ink); }
.f-check:hover span::before { border-color: var(--ink-3); }
.f-check input:checked + span { color: var(--ink); }
.f-check input:checked + span::before { background: var(--honey) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 8.5 2.5 2.5L12 5.5' fill='none' stroke='%230C0B09' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; border-color: var(--honey); }
.f-chip input:focus-visible + span, .f-check input:focus-visible + span::before { box-shadow: var(--ring); }

/* ---------- Card tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: var(--gap); }
.tile { position: relative; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); transition: border-color .35s, transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.tile::before { content: ""; position: absolute; left: 22px; right: 22px; top: -1px; height: 2px; border-radius: 0 0 2px 2px; background: var(--st, var(--line-2)); }
.tile.st-open { --st: var(--up); } .tile.st-limited { --st: var(--honey); } .tile.st-paused { --st: var(--down); } .tile.st-unavailable { --st: var(--honey); } .tile.st-closed { --st: var(--ink-3); }
.tile:hover { border-color: var(--line-2); transform: translateY(-4px); box-shadow: var(--shadow); }
.tile[hidden] { display: none; }
.tile.st-closed .tile-link, .tile.st-unavailable .tile-link { opacity: .74; }
.tile-link { display: flex; flex-direction: column; height: 100%; padding: 22px 22px 18px; color: inherit; border-radius: inherit; }
.tile-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.tile-no { font-size: 11.5px; color: var(--ink-3); letter-spacing: .06em; }
.tile-type { margin-top: 20px; font-size: 12.5px; color: var(--ink-3); }
.tile h3 { margin-top: 6px; font: 500 21px/1.32 var(--f-display); letter-spacing: -.01em; text-wrap: balance; }
.tile-sum { margin-top: 10px; font-size: 14px; line-height: 1.7; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tile-facts { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: auto; padding-top: 20px; }
.tile-facts li { display: grid; gap: 2px; padding: 12px 0 0; border-top: 1px solid var(--line); min-width: 0; }
.tile-facts li + li { padding-left: 12px; border-left: 1px solid var(--line); }
.tile-facts span { font-size: 11.5px; color: var(--ink-3); }
.tile-facts b { font-size: 14px; font-weight: 600; }
.tile-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; font-size: 11.5px; color: var(--ink-3); }
.arrow { display: inline-block; color: var(--ink-3); transition: transform .45s var(--ease-out), color .25s; }
.tile:hover .arrow { transform: translateX(4px); color: var(--honey-ink); }
.tile-wrap { display: flex; flex-direction: column; gap: 8px; }
.tile-test { font-size: 13px; color: var(--ink-3); padding: 0 4px; }

/* Status stamp — the visual signature: a small rubber-stamp label. */
.stamp { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px 2px 8px; border: 1px solid currentColor; border-radius: 6px; font-size: 12px; font-weight: 600; line-height: 1.5; white-space: nowrap; }
.stamp::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.s-open { color: var(--up); } .s-limited { color: var(--honey-ink); } .s-paused { color: var(--down); } .s-unavailable { color: var(--honey-ink); } .s-closed { color: var(--ink-3); }
.t-yes { color: var(--up); } .t-no { color: var(--down); } .t-partial { color: var(--honey-ink); } .t-unknown { color: var(--ink-3); font-weight: 400 !important; }
.r-low { color: var(--up); } .r-medium { color: var(--honey-ink); } .r-high { color: var(--down); }
.res { display: inline-block; padding: 1px 8px; border-radius: 6px; font-size: 12.5px; font-weight: 600; }
.res-ok { color: var(--up); background: var(--up-soft); } .res-partial { color: var(--honey-ink); background: var(--honey-soft); } .res-fail { color: var(--down); background: var(--down-soft); } .res-untested { color: var(--ink-3); background: var(--surface-2); }
.stars { color: var(--honey); letter-spacing: 2px; }

/* ---------- Card page ---------- */
.card-head { padding-bottom: clamp(28px, 4vw, 48px); border-bottom: 1px solid var(--line); }
.card-head h1 { font-size: clamp(32px, 4.2vw, 56px); max-width: 22ch; }
.card-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 22px; }
.tag { display: inline-block; padding: 3px 11px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); font-size: 12.5px; transition: background-color .2s, color .2s; }
a.tag:hover { color: var(--ink); background: var(--honey-soft); }
.tag-warn { color: var(--honey-ink); background: var(--honey-soft); }
.card-issuer { margin-top: 16px; font-size: 12.5px; color: var(--ink-3); }
.card-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 72px); margin-top: clamp(28px, 4vw, 44px); align-items: start; }
.card-main > .callout:first-child { margin-top: 0; }
.card-main .block { margin-top: clamp(44px, 5vw, 64px); }
.card-aside { position: sticky; top: 96px; }
.aside-box { padding: 22px; border: 1px solid var(--line-2); border-radius: var(--r-lg); background: var(--surface); }
.aside-t { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.aside-box dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.aside-box dt { color: var(--ink-3); white-space: nowrap; }
.aside-box dd { text-align: right; font-weight: 500; min-width: 0; }
.aside-box .btn { margin-top: 20px; }
.aside-note { margin-top: 10px; font-size: 12px; color: var(--ink-3); }
@media (max-width: 960px) {
  .card-grid { grid-template-columns: 1fr; }
  .card-aside { position: static; order: -1; }
}
.toc-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 28px; }
.toc-chips a { padding: 6px 13px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: var(--ink-2); transition: border-color .2s, color .2s; }
.toc-chips a:hover { border-color: var(--honey); color: var(--ink); }
.callout { margin-top: 16px; padding: 16px 18px; border-left: 2px solid var(--honey); border-radius: 0 var(--r-sm) var(--r-sm) 0; background: var(--honey-soft); color: var(--ink); font-size: 14.5px; line-height: 1.75; }
.callout.warn, .callout.s-paused { border-left-color: var(--down); background: var(--down-soft); }
.callout.s-closed { border-left-color: var(--ink-3); background: var(--surface-2); }
.callout.s-limited, .callout.s-open { color: var(--ink); }
.kv { border-top: 1px solid var(--line); }
.kv > div { display: grid; grid-template-columns: minmax(130px, 34%) 1fr; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.kv dt { color: var(--ink-3); }
.kv dd { color: var(--ink); line-height: 1.65; }
@media (max-width: 560px) { .kv > div { grid-template-columns: 1fr; gap: 2px; } }
.pills { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.pills li { padding: 6px 13px; border-radius: 999px; background: var(--surface-2); font-size: 14px; }
.procon { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.procon > div { padding: 22px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); }
.procon h2 { font-size: 22px; margin-bottom: 12px; }
.procon ul { list-style: none; }
.procon li { position: relative; padding-left: 22px; color: var(--ink-2); font-size: 15px; }
.procon li + li { margin-top: 8px; }
.procon .pro li::before { content: "+"; position: absolute; left: 0; color: var(--up); font-weight: 700; }
.procon .con li::before { content: "!"; position: absolute; left: 4px; color: var(--down); font-weight: 700; }
@media (max-width: 700px) { .procon { grid-template-columns: 1fr; } }
.sources { padding-left: 1.4em; color: var(--ink-3); font-size: 14.5px; }
.sources li { padding-left: 4px; }
.sources li + li { margin-top: 8px; }
.sources a { color: var(--ink-2); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease-out), color .2s; }
.sources a:hover { color: var(--ink); background-size: 100% 1px; }
.links { display: flex; flex-wrap: wrap; gap: 8px; }
.links a { padding: 8px 15px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14px; color: var(--ink-2); transition: border-color .25s, color .25s; }
.links a:hover { border-color: var(--honey); color: var(--ink); }

/* ---------- Tables ---------- */
.tbl { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--r-md); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
tbody tr:last-child > * { border-bottom: 0; }
thead th { font: 500 11px/1.4 var(--f-mono); color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; background: var(--surface); white-space: nowrap; }
tbody tr { transition: background-color .2s; }
tbody tr:hover { background: var(--surface); }
.cmp table { min-width: 1000px; font-size: 13.5px; }
.cmp th[scope="row"] { min-width: 200px; font-weight: 600; }
.cmp th[scope="row"] a { color: var(--ink); transition: color .2s; }
.cmp th[scope="row"] a:hover { color: var(--honey-ink); }
.cmp td[title] { max-width: 230px; }
.cmp tr.st-closed, .cmp tr.st-unavailable { opacity: .7; }

/* ---------- Timeline ---------- */
.timeline { list-style: none; }
.ev { position: relative; display: grid; grid-template-columns: 92px 1fr; gap: 28px; padding-bottom: 30px; }
.ev::before { content: ""; position: absolute; left: 106px; top: 12px; bottom: -6px; width: 1px; background: var(--line-2); }
.ev:last-child::before { display: none; }
.ev::after { content: ""; position: absolute; left: 102px; top: 7px; width: 9px; height: 9px; border-radius: 50%; background: var(--bg); border: 2px solid var(--ink-3); }
.k-closure::after, .k-pause::after, .k-freeze::after { border-color: var(--down) !important; }
.k-reopen::after, .k-launch::after { border-color: var(--up) !important; }
.k-fee::after, .k-policy::after { border-color: var(--honey) !important; }
.ev-date { font-size: 12px; color: var(--ink-3); padding-top: 3px; text-align: right; }
.ev-body { min-width: 0; }
.ev-kind { font-size: 12px; color: var(--ink-3); }
.ev-title { margin-top: 2px; font-size: 16px; font-weight: 600; line-height: 1.55; }
.ev-text { margin-top: 6px; font-size: 14.5px; line-height: 1.8; color: var(--ink-2); }
.ev-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 8px; font-size: 13px; }
.ev-meta a { color: var(--ink-2); transition: color .2s; }
.ev-meta a:hover { color: var(--honey-ink); }
.timeline.big .ev-title { font-size: 18px; }
@media (max-width: 560px) {
  .ev { grid-template-columns: 1fr; gap: 4px; padding-left: 26px; }
  .ev::before { left: 4px; top: 14px; }
  .ev::after { left: 0; top: 6px; }
  .ev-date { text-align: left; padding-top: 0; }
}

/* ---------- Guide list (editorial rows) ---------- */
.guide-list { list-style: none; border-top: 1px solid var(--line); }
.guide-list a { display: grid; grid-template-columns: 40px 1fr 20px; align-items: baseline; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--ink); transition: padding-left .45s var(--ease-out), color .25s; }
.guide-list .mono { font-size: 11.5px; color: var(--ink-3); }
.g-t { font: 400 19px/1.45 var(--f-display); letter-spacing: -.01em; }
.guide-list a:hover { padding-left: 8px; color: var(--honey-ink); }
.guide-list a:hover .arrow { transform: translateX(4px); color: var(--honey-ink); }

/* ---------- Promise ---------- */
.promise-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin-bottom: 28px; }
.promise-grid li { padding: 26px 24px; border-top: 2px solid var(--honey); background: linear-gradient(var(--surface), transparent 85%); border-radius: 2px 2px 0 0; }
.promise-grid .mono { font-size: 12px; color: var(--honey-ink); }
.promise-grid h3 { margin-top: 16px; font: 400 22px/1.35 var(--f-display); }
.promise-grid p { margin-top: 10px; font-size: 14.5px; color: var(--ink-2); line-height: 1.8; }
@media (max-width: 860px) { .promise-grid { grid-template-columns: 1fr; } }

/* ---------- Articles ---------- */
.doc-head { max-width: 920px; border-bottom: 0; padding-bottom: clamp(16px, 3vw, 32px); }
.doc-head h1 { font-size: clamp(32px, 4.6vw, 58px); }
.doc-grid { display: grid; grid-template-columns: minmax(0, 1fr); max-width: 760px; }
.doc-grid.has-toc { grid-template-columns: minmax(0, 760px) 240px; gap: clamp(40px, 6vw, 96px); max-width: none; }
.prose { font-size: 17px; line-height: 1.9; }
.prose > * + * { margin-top: 18px; }
.prose h2 { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.prose h3 { margin-top: 32px; font-size: 18px; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 8px; }
.prose li::marker { color: var(--honey-ink); }
.prose li.check { list-style: none; position: relative; margin-left: -1.3em; padding-left: 30px; }
.prose li.check::before { content: ""; position: absolute; left: 0; top: .5em; width: 16px; height: 16px; border: 1.5px solid var(--honey); border-radius: 5px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose p a, .prose li a, .prose td a { color: var(--ink); background: linear-gradient(var(--honey), var(--honey)) 0 100% / 100% 1px no-repeat; transition: background-size .35s var(--ease-out), color .2s; }
.prose p a:hover, .prose li a:hover, .prose td a:hover { color: var(--honey-ink); background-size: 100% 2px; }
.prose code { font: 14px var(--f-mono); background: var(--surface-2); padding: 1px 6px; border-radius: 5px; }
.prose .callout { margin-top: 24px; }
.prose .callout p { color: var(--ink); }
.prose .tbl { margin-top: 20px; }
.prose table { font-size: 14.5px; line-height: 1.65; }
.prose .tiles { margin-top: 20px; font-size: 16px; line-height: 1.75; }
.doc-links { margin-top: 48px; }
.toc-side nav { position: sticky; top: 104px; padding-left: 20px; border-left: 1px solid var(--line); }
.toc-t { font-size: 11px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.toc ol { list-style: none; }
.toc li + li { margin-top: 10px; }
.toc a { display: block; font-size: 13.5px; line-height: 1.5; color: var(--ink-3); transition: color .2s, transform .3s var(--ease-out); }
.toc a:hover { color: var(--ink); }
.toc-side a.on { color: var(--honey-ink); transform: translateX(4px); }
.toc-m { display: none; margin: 8px 0 24px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
.toc-m summary { cursor: pointer; padding: 14px 18px; font-weight: 500; font-size: 14px; }
.toc-m ol { padding: 0 18px 16px; }
@media (max-width: 1100px) { .doc-grid.has-toc { grid-template-columns: minmax(0, 1fr); } .toc-side { display: none; } .toc-m { display: block; } }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq .sec-head + details { border-top: 0; }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; cursor: pointer; list-style: none; font-size: 16px; font-weight: 500; transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; background: linear-gradient(currentColor, currentColor) center/12px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center/1.5px 12px no-repeat; color: var(--ink-3); transition: transform .4s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--honey-ink); }
.faq details p { padding: 0 0 20px; color: var(--ink-2); line-height: 1.85; max-width: 72ch; }

/* ---------- Footer ---------- */
.site-foot { border-top: 1px solid var(--line); padding: clamp(48px, 6vw, 80px) 0 40px; background: linear-gradient(transparent, var(--bg-2)); }
.foot-top { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 32px; }
.foot-word { display: inline-block; font: 400 clamp(40px, 5vw, 64px)/1 var(--f-display); letter-spacing: -.03em; color: var(--ink); }
.foot-brand p { margin-top: 16px; max-width: 34ch; font-size: 14px; color: var(--ink-3); }
.foot-col { display: flex; flex-direction: column; gap: 10px; }
.foot-col h2 { font: 500 11px/1.4 var(--f-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); margin-bottom: 6px; }
.foot-col a { font-size: 14px; color: var(--ink-2); transition: color .2s; }
.foot-col a:hover { color: var(--honey-ink); }
.foot-bottom { display: grid; gap: 6px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--ink-3); }
.foot-bottom p:last-child { max-width: 90ch; }
@media (max-width: 1100px) { .foot-top { grid-template-columns: repeat(4, 1fr); } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 640px) { .foot-top { grid-template-columns: 1fr 1fr; } }

/* ---------- Motion ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes drift { from { background-position: 0 0, 0 0; } to { background-position: 0 0, 56px 97px; } }
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
.js .rv.in { opacity: 1; transform: none; }
.js .tiles .tile { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out), border-color .35s, box-shadow .5s var(--ease-out); transition-delay: calc(var(--d, 0) * 60ms); }
.js .tiles .tile.in { opacity: 1; transform: none; }
.js .tiles .tile.in:hover { transform: translateY(-4px); transition-delay: 0s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .rv, .js .tiles .tile { opacity: 1; transform: none; }
}
@media print { .nav, .site-foot, .grain, .card-aside .btn, .filters { display: none !important; } }

/* Home page: incidents are a preview, two lines each; the full text is on the change log. */
.two-col .ev-text { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.prose th[scope="row"] { min-width: 118px; font-weight: 600; color: var(--ink); }

/* ---------- Claim checks ---------- */
.claims { list-style: none; display: grid; gap: var(--gap); }
.claims-grid { grid-template-columns: repeat(auto-fill, minmax(min(420px, 100%), 1fr)); }
.claim { position: relative; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.claim::before { content: ""; position: absolute; left: -1px; top: 22px; bottom: 22px; width: 2px; border-radius: 2px; background: var(--vc, var(--line-2)); }
.claim.v-false { --vc: var(--down); } .claim.v-partial { --vc: var(--honey); } .claim.v-unverified { --vc: var(--ink-3); } .claim.v-true { --vc: var(--up); }
.claim-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.claim-card { font-size: 13px; color: var(--ink-2); transition: color .2s; }
.claim-card:hover { color: var(--honey-ink); }
.claim-text { margin-top: 14px; font: 400 clamp(18px, 1.6vw, 21px)/1.5 var(--f-display); color: var(--ink); text-wrap: pretty; }
.claim-where { margin-top: 6px; font-size: 13px; color: var(--ink-3); }
.claim-where a { color: var(--ink-3); transition: color .2s; }
.claim-where a:hover { color: var(--ink); }
.claim-official { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line-2); font-size: 14.5px; line-height: 1.75; color: var(--ink-2); }
.claim-official b { display: block; margin-bottom: 2px; font-size: 12px; font-weight: 600; color: var(--ink-3); letter-spacing: .04em; }
.verdict { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 6px; font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.verdict.v-false { color: var(--down); background: var(--down-soft); }
.verdict.v-partial { color: var(--honey-ink); background: var(--honey-soft); }
.verdict.v-unverified { color: var(--ink-2); background: var(--surface-2); }
.verdict.v-true { color: var(--up); background: var(--up-soft); }
.type-pill .verdict { padding: 0; background: none; }

/* ---------- Search ---------- */
.f-search { position: relative; flex: 1 1 100%; display: block; }
.f-search svg { position: absolute; left: 18px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--ink-3); pointer-events: none; }
.f-search input { width: 100%; height: 52px; padding: 0 20px 0 48px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); color: var(--ink); font: 400 15.5px var(--f-sans); transition: border-color .25s, box-shadow .25s; -webkit-appearance: none; appearance: none; }
.f-search input::placeholder { color: var(--ink-3); }
.f-search input:hover { border-color: var(--ink-3); }
.f-search input:focus { outline: none; border-color: var(--honey); box-shadow: 0 0 0 4px var(--honey-soft); }
.f-search input::-webkit-search-cancel-button { cursor: pointer; }

/* ---------- Card faces ---------- */
.card-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 400px); gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 860px) { .card-head { grid-template-columns: 1fr; } .card-head-face { max-width: 380px; } }
.face-wrap { perspective: 900px; }
.face-wrap figcaption { margin-top: 12px; font-size: 12px; color: var(--ink-3); text-align: center; }
.face-wrap figcaption a { color: var(--ink-3); text-decoration: underline; text-underline-offset: 3px; }
.face-photo { display: block; width: 100%; height: auto; border-radius: 16px; box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .55); }
.face {
  position: relative; overflow: hidden; aspect-ratio: 1.586; border-radius: 4.5% / 7.2%;
  padding: 7% 7.5%; color: rgba(255, 255, 255, .92);
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(255, 255, 255, .16), transparent 55%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='48' viewBox='0 0 28 48'%3E%3Cpath d='M14 0 28 8v16L14 32 0 24V8zM14 32v16' fill='none' stroke='%23fff' stroke-opacity='.06'/%3E%3C/svg%3E"),
    linear-gradient(135deg, var(--c1), var(--c2));
  box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset, 0 30px 60px -26px rgba(0, 0, 0, .6), 0 12px 24px -16px rgba(0, 0, 0, .5);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d;
  transition: transform .6s var(--ease-out);
  container-type: inline-size;
}
.face-shine { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at var(--mx, 30%) var(--my, 20%), rgba(255, 255, 255, .22), transparent 45%); opacity: var(--shine, 0); transition: opacity .4s; }
.face-brand { position: absolute; left: 7.5%; top: 9%; right: 7.5%; font: 600 clamp(13px, 5.4cqw, 22px)/1.25 var(--f-sans); letter-spacing: .01em; text-shadow: 0 1px 2px rgba(0, 0, 0, .25); }
.face-chip { position: absolute; left: 7.5%; top: 40%; width: 15%; aspect-ratio: 1.3; border-radius: 18%; background: linear-gradient(135deg, #f3d9a0, #c9a259 45%, #e8c983 70%, #b88f45); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18); }
.face-chip::before { content: ""; position: absolute; inset: 22% 0; border-top: 1px solid rgba(0, 0, 0, .22); border-bottom: 1px solid rgba(0, 0, 0, .22); }
.face-chip::after { content: ""; position: absolute; inset: 0 38%; border-left: 1px solid rgba(0, 0, 0, .22); border-right: 1px solid rgba(0, 0, 0, .22); }
.face-num { position: absolute; left: 7.5%; bottom: 25%; font-size: clamp(11px, 4.6cqw, 18px); letter-spacing: .12em; opacity: .8; }
.face-foot { position: absolute; left: 7.5%; right: 7.5%; bottom: 8%; display: flex; justify-content: space-between; align-items: flex-end; }
.face-tag { padding: 2px 8px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; font-size: clamp(9px, 3cqw, 11px); letter-spacing: .08em; opacity: .85; }
.face-net { font: 500 clamp(11px, 4.2cqw, 16px)/1 var(--f-sans); letter-spacing: .04em; opacity: .85; }
.face-wrap:hover .face { --shine: 1; }

/* small face on tiles */
.tile-id { display: inline-flex; align-items: center; gap: 10px; }
.face-sm { position: relative; display: inline-block; width: 44px; aspect-ratio: 1.586; border-radius: 4px; background: linear-gradient(135deg, var(--c1), var(--c2)); box-shadow: 0 0 0 1px rgba(255, 255, 255, .08) inset, 0 4px 10px -6px rgba(0, 0, 0, .5); object-fit: cover; flex: none; }
.face-sm .face-chip { left: 12%; top: 34%; width: 22%; border-radius: 2px; }
.face-sm .face-chip::before, .face-sm .face-chip::after { display: none; }
img.face-sm { height: auto; }

/* ---------- Guide index ---------- */
.guide-index { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.prose .guide-index li { margin: 0; }
.guide-index a { display: grid; grid-template-columns: 44px 1fr 20px; gap: 14px; align-items: start; padding: 26px 0; border-bottom: 1px solid var(--line); color: var(--ink); background: none !important; transition: padding-left .45s var(--ease-out); }
.guide-index a:hover { padding-left: 8px; }
.gi-no { font-size: 12px; color: var(--honey-ink); padding-top: 6px; }
.gi-body { display: grid; gap: 8px; }
.gi-t { font: 400 clamp(20px, 2vw, 24px)/1.4 var(--f-display); letter-spacing: -.01em; transition: color .25s; }
.guide-index a:hover .gi-t { color: var(--honey-ink); }
.gi-d { font-size: 15px; line-height: 1.75; color: var(--ink-2); }
.gi-m { font-size: 12px; color: var(--ink-3); }
.guide-index a:hover .arrow { transform: translateX(4px); color: var(--honey-ink); }
.guide-index .arrow { padding-top: 6px; }

/* ---------- Screenshots in guides ---------- */
.prose .shot { margin: 28px 0 8px; }
.prose .shot > a { display: block; background: none !important; }
.prose .shot img { display: block; max-width: 100%; height: auto; margin: 0 auto; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; box-shadow: 0 18px 40px -28px rgba(0, 0, 0, .45); transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.prose .shot > a:hover img { transform: translateY(-2px); box-shadow: 0 26px 50px -28px rgba(0, 0, 0, .5); }
.prose .shot figcaption { margin-top: 12px; font-size: 14px; line-height: 1.7; color: var(--ink-2); text-align: left; }
.prose .shot .shot-src { display: block; margin-top: 2px; font: 12px/1.6 var(--f-mono); color: var(--ink-3); }
.prose .shot .shot-src a { color: var(--ink-3); background: none !important; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Compare ---------- */
.cmp-pick { display: grid; gap: 16px; padding: clamp(18px, 2.4vw, 28px); border: 1px solid var(--line); border-radius: var(--r-lg, 18px); background: var(--bg-2, transparent); }
.cmp-hint { font-size: 12px; letter-spacing: .06em; color: var(--ink-3); }
.cmp-group { display: grid; grid-template-columns: 120px 1fr; gap: 12px; align-items: start; }
.cmp-gt { padding-top: 8px; font-size: 13px; color: var(--ink-3); }
.cmp-group .f-group { display: flex; flex-wrap: wrap; gap: 8px; }
.f-chip input:disabled + span { opacity: .4; cursor: not-allowed; }
.cmp-scroll { margin-top: 28px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg, 18px); -webkit-overflow-scrolling: touch; }
.cmp-table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.6; }
.cmp-table th, .cmp-table td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.cmp-table tbody tr:last-child > * { border-bottom: 0; }
.cmp-table thead th { position: sticky; top: 0; background: var(--bg); min-width: 220px; vertical-align: bottom; }
.cmp-table thead th a { display: grid; gap: 10px; color: var(--ink); font: 500 16px/1.35 var(--f-display); }
.cmp-table thead th a:hover .cmp-name { color: var(--honey-ink); }
.cmp-table tbody th[scope=row] { position: sticky; left: 0; z-index: 1; min-width: 132px; background: var(--bg); color: var(--ink-3); font-weight: 400; font-size: 13px; }
.cmp-corner { left: 0; z-index: 2; min-width: 132px !important; color: var(--ink-3); font-size: 12px; }
.cmp-sec th { padding: 10px 18px; background: var(--honey-soft); color: var(--ink); font: 600 12px/1.4 var(--f-mono, monospace); letter-spacing: .1em; text-align: left; }
.cmp-table td { color: var(--ink-2); min-width: 220px; }
.cmp-table td .t-yes, .cmp-table td .t-partial, .cmp-table td .t-no, .cmp-table td .t-unknown { font-weight: 500; }
.cmp-table td .t-unknown { color: var(--ink-3); font-weight: 400; }
.aside-cmp { display: block; margin-top: 14px; text-align: center; font-size: 14px; color: var(--ink-2); }
.aside-cmp:hover { color: var(--honey-ink); }
@media (max-width: 720px) {
  .cmp-group { grid-template-columns: 1fr; gap: 6px; }
  .cmp-gt { padding-top: 0; }
  .cmp-table thead th, .cmp-table td { min-width: 180px; }
  .cmp-table tbody th[scope=row], .cmp-corner { min-width: 96px !important; }
}

/* ---------- Finder ---------- */
.finder { display: grid; gap: 14px; }
.fq { border: 1px solid var(--line); border-radius: var(--r-lg, 18px); padding: clamp(18px, 2.4vw, 26px); display: grid; grid-template-columns: minmax(200px, 300px) 1fr; gap: 16px; align-items: center; }
.fq legend { float: left; display: flex; align-items: baseline; gap: 12px; font: 400 clamp(18px, 1.8vw, 22px)/1.35 var(--f-display); color: var(--ink); }
.fq-no { font-size: 12px; color: var(--honey-ink); letter-spacing: .08em; }
.fq .f-group { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 720px) { .fq { grid-template-columns: 1fr; } }
.cmp-table thead th { white-space: normal; text-transform: none; letter-spacing: normal; }
.cmp-table thead th .cmp-name { font: 500 15.5px/1.4 var(--f-display); text-transform: none; letter-spacing: -.005em; overflow-wrap: anywhere; }
@media (min-width: 900px) { .cmp-table thead th, .cmp-table td { min-width: 0; } .cmp-table { table-layout: auto; } }

/* ---------- Highlights and uses ---------- */
.hl { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.hl li { padding: 5px 12px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 13px; color: var(--ink-2); background: var(--bg); }
.hl li::before { content: "✓"; margin-right: 6px; color: var(--honey-ink); font-weight: 600; }
.hl-sm { margin-top: 14px; gap: 6px; }
.hl-sm li { padding: 3px 9px; font-size: 12px; }
.uses { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 12px; }
.uses li { padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r-md, 14px); background: var(--bg-2); }
.use-name { display: inline-flex; align-items: center; gap: 8px; font: 500 17px/1.3 var(--f-display); color: var(--ink); }
.use-name::after { content: "→"; color: var(--honey-ink); transition: transform .25s var(--ease-out); }
.use-name:hover::after { transform: translateX(3px); }
.uses p { margin-top: 8px; font-size: 14px; line-height: 1.7; color: var(--ink-2); }
.tile-why { font-size: 13px; line-height: 1.65; color: var(--ink-2); }
.tile-why b { color: var(--ink); font-weight: 600; }
.uses-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.uses-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.howto { max-width: 76ch; }
#use-compare td { min-width: 220px; white-space: normal; font-size: 13.5px; line-height: 1.65; }
