:root {
  --bg: #fafafa;
  --surface: #ffffff;
  --ink: #16181d;
  --mute: #6a6f7a;
  --line: #e6e7ea;
  --bar: #c9ccd3;
  --red: #ff3b30;
  --red-soft: #fff0ef;
  --font: "Geist", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101114;
    --surface: #17191d;
    --ink: #eceef2;
    --mute: #9aa0ab;
    --line: #2a2d33;
    --bar: #3d414a;
    --red: #ff453a;
    --red-soft: #3a1714;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "ss01", "tnum" 0;
}

a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }

/* ---------- top / footer ---------- */

.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-inner { max-width: var(--wrap); margin: 0 auto; padding: 14px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.wordmark { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 1.15rem; letter-spacing: -0.03em; text-decoration: none; }
.wordmark .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 3px var(--red-soft); }
.wordmark.small { font-size: 1rem; }

.nav { display: flex; align-items: center; gap: clamp(12px, 2.5vw, 28px); font-size: 0.95rem; }
.nav a { text-decoration: none; color: var(--mute); }
.nav a:hover { color: var(--ink); }
.nav .lang { color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; }
@media (max-width: 560px) { .nav a:not(.lang) { display: none; } }

main { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.foot { border-top: 1px solid var(--line); margin-top: 120px; }
.foot-inner { max-width: var(--wrap); margin: 0 auto; padding: 28px var(--gutter) 48px; display: flex; gap: 24px; align-items: baseline; justify-content: space-between; flex-wrap: wrap; color: var(--mute); font-size: 0.9rem; }
.foot-inner p { margin: 0; max-width: 60ch; }

/* ---------- shared ---------- */

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(16px, 2.6vw, 28px); }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; margin-bottom: 18px; }
.panel-head h2 { font-size: 1.1rem; margin: 0; }
.panel-head a { color: var(--mute); font-size: 0.95rem; }
.note { color: var(--mute); font-size: 0.92rem; margin: 14px 0 0; max-width: 70ch; }

.tag { display: inline-block; font-size: 0.8rem; font-weight: 500; padding: 2px 9px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); white-space: nowrap; }

.status { display: inline-flex; align-items: center; gap: 7px; font-size: 0.9rem; white-space: nowrap; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--bar); }
.status.alert { color: var(--red); font-weight: 600; }
.status.alert::before { background: var(--red); box-shadow: 0 0 0 3px var(--red-soft); }

.btn { display: inline-flex; align-items: center; padding: 11px 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; font-weight: 500; }
.btn.primary { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn:hover { border-color: var(--ink); }

/* chart */
.chart { display: block; width: 100%; height: auto; overflow: visible; }
.chart .b-before { fill: var(--bar); }
.chart .b-after { fill: var(--ink); }
.chart .b-hit { fill: var(--red); }
.chart .grid { stroke: var(--line); }
.chart .base { stroke: var(--ink); stroke-width: 1; }
.chart .tick, .chart .gap { fill: var(--mute); font: 500 13px var(--font); }
.chart .pill rect { fill: var(--red); }
.chart .pill circle { fill: #fff; }
.chart .pill line { stroke: var(--red); stroke-width: 1.5; stroke-dasharray: 3 3; }
.chart .pill text { fill: #fff; font: 600 17px var(--font); }
.pill-html { display: none; margin: 0 0 10px; }
@media (max-width: 640px) {
  .chart .tick, .chart .gap, .chart .pill { display: none; }
  .pill-html { display: block; }
}

/* ---------- home ---------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  padding: clamp(48px, 9vw, 120px) 0 clamp(36px, 5vw, 64px);
}
.hero h1 { font-size: clamp(2.8rem, 7.2vw, 5.6rem); line-height: 0.98; letter-spacing: -0.045em; font-weight: 600; margin: 0; }
.lang-zh .hero h1 { letter-spacing: -0.01em; line-height: 1.12; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--mute); margin: 0; max-width: 34em; }
.ctas { display: flex; gap: 10px; flex-wrap: wrap; margin: 22px 0 0; }
@media (max-width: 760px) { .hero { grid-template-columns: 1fr; } }

.count { color: var(--mute); font-weight: 400; margin-left: 6px; }

.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tabs button { font: inherit; font-size: 0.88rem; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; }
.tabs button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.tabs button:disabled { color: var(--mute); cursor: default; }
.soon { font-size: 0.75rem; color: var(--mute); margin-left: 2px; }

.table-wrap { overflow-x: auto; margin: 0 calc(-1 * clamp(16px, 2.6vw, 28px)); padding: 0 clamp(16px, 2.6vw, 28px); }
.creators { width: 100%; border-collapse: collapse; min-width: 760px; }
.creators th, .creators td { text-align: left; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); vertical-align: middle; font-size: 0.95rem; }
.creators thead th { font-size: 0.82rem; font-weight: 500; color: var(--mute); padding-top: 4px; }
.creators thead th button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.creators thead th button:hover { color: var(--ink); }
.creators thead th[aria-sort] button { color: var(--ink); }
.caret { width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor; opacity: 0.45; }
th[aria-sort="ascending"] .caret { transform: rotate(180deg); opacity: 1; }
th[aria-sort="descending"] .caret { opacity: 1; }
.creators tbody tr:last-child th, .creators tbody tr:last-child td { border-bottom: 0; }
.creators .num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.creators tbody th a { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.creators tbody th a:hover .name { text-decoration: underline; }
.spark { width: 96px; flex: none; }
.spark .chart { height: 28px; }
.who { display: flex; flex-direction: column; line-height: 1.3; }
.name { font-weight: 600; }
.handle { color: var(--mute); font-size: 0.85rem; font-weight: 400; }

.featured { margin-top: 20px; }

.audiences { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.aud { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 2.6vw, 28px); scroll-margin-top: 80px; }
.aud h2 { font-size: 1.25rem; margin: 0 0 8px; }
.aud p { margin: 0; color: var(--mute); }
#brands { border-color: color-mix(in srgb, var(--red) 35%, var(--line)); }
@media (max-width: 760px) { .audiences { grid-template-columns: 1fr; } }

.method { margin-top: clamp(64px, 9vw, 112px); max-width: 70ch; scroll-margin-top: 80px; }
.method h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 12px; }
.method ol { padding-left: 1.3em; margin: 0; }
.method li { margin-bottom: 8px; }
.method li::marker { color: var(--mute); }
.more { color: var(--mute); }
#cases { scroll-margin-top: 80px; }

/* ---------- case ---------- */

main.case { max-width: none; padding: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.case-hero { background: #16181d; color: #f3f4f6; padding: 18px 0 clamp(36px, 6vw, 64px); }
.case-hero a { color: inherit; }
.hero-top { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; padding-bottom: 18px; border-bottom: 1px solid #2c2f36; font-size: 0.9rem; color: #a3a8b3; }
.crumb a { color: #a3a8b3; text-decoration: none; }
.crumb a:hover { color: #fff; }
.hero-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.copy-agent { font: inherit; font-size: 0.88rem; font-weight: 500; color: #16181d; background: #fff; border: 0; border-radius: 999px; padding: 7px 14px; cursor: pointer; }
.copy-agent::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--red); margin-right: 8px; vertical-align: 1px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: clamp(24px, 5vw, 72px); align-items: center; padding-top: clamp(28px, 5vw, 56px); }
.ch-who { display: flex; align-items: center; gap: 14px; margin: 0 0 22px; }
.ch-who img { width: 56px; height: 56px; border-radius: 50%; }
.ch-who > span { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; color: #a3a8b3; }
.ch-who strong { color: #fff; font-size: 1.15rem; width: 100%; }
.case-hero .tag { background: transparent; border-color: #3a3e47; color: #d6d9df; }
.case-hero h1 { font-size: clamp(2rem, 4.4vw, 3.5rem); line-height: 1.06; letter-spacing: -0.035em; margin: 0; color: #fff; max-width: 20em; }
.lang-zh .case-hero h1 { line-height: 1.22; letter-spacing: -0.01em; }
.case-hero .dek { color: #c4c8d0; font-size: clamp(1.02rem, 1.5vw, 1.15rem); max-width: 40em; margin: 20px 0 0; }
@media (max-width: 760px) { .hero-grid { grid-template-columns: 1fr; } .hero-grid .phone { max-width: 220px; } }

.phone { margin: 0; }
.phone figcaption { color: inherit; opacity: 0.75; font-size: 0.85rem; margin-top: 10px; }
.yt, .phone iframe { display: block; width: 100%; aspect-ratio: 9 / 16; border-radius: 22px; border: 6px solid #2c2f36; background: #000; overflow: hidden; position: relative; padding: 0; cursor: pointer; }
.yt img { width: 100%; height: 100%; object-fit: cover; display: block; }
.play-btn { position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 8px rgba(255, 59, 48, 0.25); }
.play-btn::after { content: ""; position: absolute; left: 26px; top: 20px; border-left: 18px solid #fff; border-top: 12px solid transparent; border-bottom: 12px solid transparent; }
.yt:hover .play-btn { transform: scale(1.06); }
.phone.wide .yt, .phone.wide iframe { aspect-ratio: 16 / 9; border-radius: 14px; }
.phone figcaption a { color: inherit; }

.quick { margin-top: -1px; }
.quick dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 28px 0 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.quick dl > div { padding: 18px 20px; border-left: 1px solid var(--line); }
.quick dl > div:first-child { border-left: 0; }
.quick dt { font-size: 0.82rem; color: var(--mute); }
.quick dd { margin: 6px 0 0; font-size: 0.95rem; line-height: 1.5; }

.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.kpi-l { margin: 0; font-size: 0.85rem; color: var(--mute); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.kpi-v { margin: 8px 0 2px; font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.kpi-s { margin: 0; font-size: 0.85rem; color: var(--mute); }
@media (max-width: 860px) {
  .quick dl, .kpis { grid-template-columns: 1fr 1fr; }
  .quick dl > div { border-left: 0; border-top: 1px solid var(--line); }
  .quick dl > div:nth-child(-n+2) { border-top: 0; }
  .quick dl > div:nth-child(even) { border-left: 1px solid var(--line); }
}
@media (max-width: 480px) { .quick dl, .kpis { grid-template-columns: 1fr; } .quick dl > div:nth-child(even) { border-left: 0; } .quick dl > div:nth-child(2) { border-top: 1px solid var(--line); } }

.ev { display: inline-block; font-size: 0.72rem; font-weight: 600; line-height: 1; padding: 4px 7px; border-radius: 6px; vertical-align: 1px; white-space: nowrap; }
.ev-fact { background: #e9f6ee; color: #1a7f45; }
.ev-calc { background: #eaf1fd; color: #2456c4; }
.ev-est { background: #fff3e0; color: #a35a00; }
.ev-self { background: #f2ecfb; color: #6b3fb5; }
.ev-read { background: #eef0f3; color: #5a606b; }
@media (prefers-color-scheme: dark) {
  .ev-fact { background: #12301f; color: #6fd39a; }
  .ev-calc { background: #172742; color: #8db2f5; }
  .ev-est { background: #3a2a10; color: #f2b45a; }
  .ev-self { background: #2b2040; color: #c2a4f0; }
  .ev-read { background: #24272d; color: #aab0ba; }
}

.case-grid { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); margin-top: clamp(36px, 5vw, 64px); }
.toc { position: sticky; top: 84px; align-self: start; font-size: 0.9rem; }
.toc-h { color: var(--mute); margin: 0 0 8px; font-size: 0.82rem; }
.toc ol { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--line); }
.toc li a { display: block; padding: 6px 0 6px 14px; color: var(--mute); text-decoration: none; margin-left: -1px; border-left: 2px solid transparent; white-space: pre; }
.toc li a:hover { color: var(--ink); border-left-color: var(--red); }
@media (max-width: 900px) { .case-grid { grid-template-columns: minmax(0, 1fr); } .toc { display: none; } }

.chapters { min-width: 0; }
.chapter { padding-top: 8px; margin-bottom: clamp(56px, 8vw, 96px); scroll-margin-top: 80px; }
.chapter > h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 22px; display: flex; align-items: baseline; gap: 14px; }
.cn { font-size: 0.55em; color: var(--red); font-weight: 600; font-variant-numeric: tabular-nums; }
.chapter h3 { font-size: 1.15rem; margin: 36px 0 14px; }

.play { background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--red); border-radius: 10px; padding: 18px 22px; }
.play-h { margin: 0 0 6px; font-size: 0.85rem; color: var(--mute); }
.play p:last-child { margin: 0; font-size: clamp(1.1rem, 1.9vw, 1.35rem); line-height: 1.45; font-weight: 500; letter-spacing: -0.01em; }

.attrs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.attrs > div { padding: 14px 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 -1px -1px 0; }
.attrs dt { font-size: 0.82rem; color: var(--mute); }
.attrs dd { margin: 3px 0 0; font-weight: 500; }
@media (max-width: 640px) { .attrs { grid-template-columns: 1fr 1fr; } }

.findings { list-style: none; counter-reset: f; padding: 0; margin: 0; display: grid; gap: 10px; }
.findings li { counter-increment: f; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px 16px 64px; position: relative; }
.findings li::before { content: counter(f, decimal-leading-zero); position: absolute; left: 20px; top: 15px; font-weight: 600; color: var(--red); font-variant-numeric: tabular-nums; }
.findings h4 { margin: 0 0 4px; font-size: 1.02rem; }
.findings p { margin: 0; color: var(--mute); }

.legend { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; font-size: 0.85rem; color: var(--mute); }
.legend p { margin: 0; color: var(--ink); font-weight: 500; }
.legend ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }

.chart-panel { margin-bottom: 8px; }

.numcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.numcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.numcard p { margin: 0; }
.nc-v { font-size: 1.45rem; font-weight: 600; letter-spacing: -0.02em; margin-top: 10px !important; font-variant-numeric: tabular-nums; }
.nc-l { font-weight: 500; }
.nc-n { color: var(--mute); font-size: 0.88rem; margin-top: 8px !important; }

.quote { margin: 20px 0 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; }
.quote p { margin: 0; }
.q-h { font-size: 0.85rem; color: var(--mute); display: flex; gap: 8px; align-items: center; margin-bottom: 8px !important; }
.quote p:nth-child(2) { font-size: 1.05rem; }
.quote footer { margin-top: 10px; font-size: 0.85rem; color: var(--mute); }

.tiers { display: grid; gap: 22px; }
.tier h4 { margin: 0 0 10px; font-size: 1rem; display: flex; align-items: baseline; gap: 10px; }
.tier h4 span { font-weight: 400; color: var(--mute); font-size: 0.88rem; }
.tier ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.pcard p { margin: 0; }
.pc-name { font-weight: 600; }
.pc-metric { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; margin: 6px 0 !important; font-variant-numeric: tabular-nums; }
.pc-note { color: var(--mute); font-size: 0.9rem; }
.tier-main .pcard { border-color: var(--ink); }
.tier-none .pcard { border-style: dashed; }
.tier-none h4::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); align-self: center; }
@media (max-width: 760px) { .tier ul { grid-template-columns: 1fr; } }

.hotspots { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(20px, 4vw, 40px); align-items: start; margin-bottom: 24px; }
.hotspots h3 { margin-top: 0; }
.hotspots .phone figcaption { color: var(--mute); opacity: 1; }
.hs-list { list-style: none; counter-reset: h; padding: 0; margin: 0; }
.hs-list li { counter-increment: h; display: grid; grid-template-columns: 28px 92px minmax(0, 1fr) auto; gap: 10px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--line); }
.hs-list li::before { content: counter(h); width: 22px; height: 22px; border-radius: 50%; background: var(--red); color: #fff; font-size: 0.78rem; font-weight: 600; display: grid; place-items: center; }
.hs-at { color: var(--mute); font-size: 0.85rem; font-variant-numeric: tabular-nums; }
.hs-list a { font-size: 0.85rem; color: var(--mute); white-space: nowrap; }
@media (max-width: 760px) {
  .hotspots { grid-template-columns: 1fr; } .hotspots .phone { max-width: 220px; }
  .hs-list li { grid-template-columns: 28px minmax(0, 1fr); } .hs-at { grid-column: 2; } .hs-t { grid-column: 2; } .hs-list a { grid-column: 2; }
}

.plays { display: grid; gap: 16px; }
.playcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 2.6vw, 26px); scroll-margin-top: 80px; }
.playcard:target { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-soft); }
.playcard header { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 0.85rem; }
.pn { font-weight: 600; font-variant-numeric: tabular-nums; }
.pt { padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line); }
.tier-main .pt { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.tier-lesson .pt { color: var(--red); border-color: color-mix(in srgb, var(--red) 40%, var(--line)); }
.pm { margin-left: auto; color: var(--mute); }
.playcard h4 { font-size: clamp(1.1rem, 1.8vw, 1.3rem); margin: 12px 0 14px; letter-spacing: -0.02em; }
.pb { margin-top: 14px; }
.pb h5 { margin: 0 0 6px; font-size: 0.82rem; font-weight: 600; color: var(--mute); }
.pb ul { margin: 0; padding-left: 1.1em; }
.pb li { margin-bottom: 6px; line-height: 1.55; }
.pb-use { background: var(--bg); border-radius: 10px; padding: 12px 16px; }
.pb-use ul { padding-left: 1.1em; }
.pb-ev ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 0.9rem; }

.brand { margin-top: 24px; border-color: color-mix(in srgb, var(--red) 35%, var(--line)); }
.brand h3 { margin: 0; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.brand dl { margin: 6px 0 0; }
.brand dt { font-weight: 600; margin-top: 12px; }
.brand dd { margin: 2px 0 0; color: var(--mute); }

.advice { list-style: none; counter-reset: a; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.advice li { counter-increment: a; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; }
.advice h4 { margin: 0 0 6px; font-size: 1rem; display: flex; gap: 10px; }
.advice h4::before { content: counter(a); color: var(--red); font-variant-numeric: tabular-nums; }
.advice p { margin: 0; color: var(--mute); }
@media (max-width: 760px) { .advice { grid-template-columns: 1fr; } }

.prose { max-width: 72ch; }
.prose h3 { font-size: 1.15rem; margin: 1.8em 0 0.6em; }
.prose h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); margin: 2.2em 0 0.6em; scroll-margin-top: 84px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: color-mix(in srgb, var(--ink) 88%, var(--mute)); }
.prose ol, .prose ul { padding-left: 1.3em; }
.prose li { margin-bottom: 9px; }
.prose ol li::marker { font-weight: 600; color: var(--ink); }
.prose strong { font-weight: 600; color: var(--ink); }
.prose em { font-style: italic; }

.prose table { width: 100%; border-collapse: collapse; font-size: 0.93rem; line-height: 1.4; margin: 20px 0; display: block; overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.prose th, .prose td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose tr:last-child td { border-bottom: 0; }
.prose th { font-weight: 500; color: var(--mute); font-size: 0.82rem; white-space: nowrap; }
.prose td:last-child, .prose td:nth-child(2) { white-space: nowrap; font-variant-numeric: tabular-nums; }
.prose td strong { color: var(--red); }

.snapshot { color: var(--mute); font-size: 0.9rem; margin-top: 3em; }

@media (max-width: 640px) {
  .table-wrap { margin: 0; padding: 0; overflow: visible; }
  .creators { min-width: 0; }
  .creators thead { display: none; }
  .creators, .creators tbody, .creators tr, .creators th, .creators td { display: block; }
  .creators tr { border-top: 1px solid var(--line); padding: 14px 0; }
  .creators tbody tr:first-child { border-top: 0; }
  .creators tr[hidden] { display: none; }
  .creators th, .creators td, .creators tbody tr:last-child th, .creators tbody tr:last-child td { border: 0; padding: 4px 0; }
  .creators td { display: flex; justify-content: space-between; gap: 16px; text-align: right; }
  .creators td::before { content: attr(data-label); color: var(--mute); font-size: 0.85rem; text-align: left; }
  .creators tbody th { margin-bottom: 6px; }
}
.hero-grid:has(.phone.wide) { grid-template-columns: minmax(0, 1fr) 400px; }
.hotspots:has(.phone.wide) { grid-template-columns: 400px minmax(0, 1fr); }
@media (max-width: 760px) { .hero-grid:has(.phone.wide), .hotspots:has(.phone.wide) { grid-template-columns: 1fr; } .phone.wide { max-width: none !important; } }
