@import url("fonts/fonts.css");

:root {
  --bg: #0b0f17;
  --bg-2: #10151f;
  --card: #121824;
  --line: #222a38;
  --line-2: #2e384a;
  --fg: #f4f6fa;
  --muted: #a3acbb;
  --subtle: #6f7a8c;
  --blue: #2a7fff;
  --blue-2: #5aa2ff;
  --purple: #8f5cff;
  --green: #2fe07f;
  --green-2: #8cf25d;
  --red: #ff4d55;
  --orange: #ff8a1f;
  --yellow: #ffe95c;
  --display: "Outfit", system-ui, sans-serif;
  --hand: "Caveat", "Comic Sans MS", cursive;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --max: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--display); font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
code { font-family: var(--mono); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; position: relative; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- hand-drawn bits ---------- */
.hl { position: relative; white-space: nowrap; z-index: 0; }
.hl::before { content: ""; position: absolute; z-index: -1; inset: 8% -4% 2% -4%; background: var(--purple); border-radius: 6px;
  clip-path: polygon(1% 18%, 6% 6%, 18% 12%, 33% 4%, 52% 10%, 71% 3%, 88% 9%, 99% 5%, 97% 30%, 100% 58%, 96% 86%, 82% 96%, 63% 91%, 44% 98%, 26% 92%, 10% 97%, 2% 84%, 4% 56%); }
.ul { position: relative; white-space: nowrap; }
.ul::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: -0.12em; height: 0.22em;
  background: no-repeat center / 100% 100% url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 24' preserveAspectRatio='none'%3E%3Cpath d='M4 16C60 6 120 20 170 11S260 8 296 14' fill='none' stroke='%232a7fff' stroke-width='9' stroke-linecap='round'/%3E%3C/svg%3E"); }
.blue { color: var(--blue); }
.hand { font-family: var(--hand); font-weight: 700; }
.ticks { position: absolute; width: 46px; height: 46px; color: var(--blue); pointer-events: none; display: block; }
.ticks svg { display: block; width: 46px; height: 46px; overflow: visible; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 20; background: color-mix(in oklab, var(--bg) 82%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.brand svg { width: 30px; height: 30px; }
.links { display: flex; gap: 26px; font-size: 15px; color: var(--muted); align-items: center; }
.links a:hover { color: var(--fg); }
.links .gh { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 14px; color: var(--fg); }
.links .gh:hover { border-color: var(--muted); }

/* ---------- hero ---------- */
.hero { padding: 56px 0 12px; }
.hero .wrap { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; }
.lockup { display: flex; flex-direction: column; align-items: flex-start; margin-bottom: 30px; position: relative; }
.lockup .row { display: flex; align-items: center; gap: 18px; }
.lockup svg.mark { width: 96px; height: 96px; }
.lockup .word { font-size: 96px; font-weight: 900; letter-spacing: -0.03em; line-height: 0.9; }
.acronym { margin-top: 10px; font-size: 14px; letter-spacing: 0.18em; color: var(--muted); font-weight: 500; }
.acronym b { color: var(--fg); font-weight: 800; }
.acronym i { font-style: normal; color: var(--subtle); padding: 0 6px; }
.lockup .ticks.tl { left: -58px; top: 0; transform: rotate(-35deg); }
.lockup .ticks.tr { left: 438px; top: -6px; transform: rotate(35deg); }
h1 { font-size: 76px; line-height: 1.02; letter-spacing: -0.035em; font-weight: 900; margin: 0 0 26px; }
.lede { font-size: 21px; color: var(--muted); margin: 0; max-width: 720px; line-height: 1.45; }
.chip { display: inline-block; font-family: var(--mono); font-weight: 600; font-size: 0.95em; color: var(--blue-2); background: #151c2a; border: 1px solid var(--line-2); border-radius: 10px; padding: 2px 12px; margin-left: 6px; vertical-align: 1px; }

.aside { position: relative; min-height: 470px; }
.sticky { background: var(--yellow); color: #121212; padding: 30px 26px 26px; transform: rotate(-6deg); box-shadow: 0 24px 40px -18px rgb(0 0 0 / .7), 0 2px 0 rgb(0 0 0 / .15); font-family: var(--hand); font-size: 38px; line-height: 1.05; font-weight: 700; margin-top: 20px; }
.sticky svg { display: block; width: 70%; height: 22px; margin-top: 10px; }
.note { position: absolute; left: 70px; bottom: 10px; color: var(--blue-2); font-family: var(--hand); font-size: 30px; line-height: 1.05; transform: rotate(-8deg); }
.note svg { position: absolute; left: -96px; top: 6px; width: 90px; height: 90px; }

/* ---------- stats ---------- */
.statsrow { padding: 18px 0 8px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); padding: 26px 0; position: relative; }
.stat { text-align: center; padding: 0 12px; border-left: 1px solid var(--line-2); }
.stats .stat:nth-of-type(1) { border-left: 0; }
.stat b { display: block; font-size: 72px; font-weight: 900; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat span { font-size: 17px; color: var(--muted); white-space: nowrap; }
.stat.g b { color: var(--green); } .stat.b b { color: var(--blue); }
.stats .ticks.tl { left: -22px; top: 4px; color: var(--green); transform: rotate(-35deg); }
.stats .ticks.tr { right: -22px; top: 4px; color: var(--green); transform: rotate(35deg); }

/* ---------- sections ---------- */
section { padding: 56px 0; }
.eyebrow { font-family: var(--hand); font-size: 28px; color: var(--blue-2); margin: 0 0 4px; transform: rotate(-2deg); display: inline-block; }
h2 { font-size: 46px; letter-spacing: -0.03em; line-height: 1.05; margin: 0 0 14px; font-weight: 850; }
.sub { color: var(--muted); font-size: 19px; max-width: 700px; margin: 0 0 36px; }
.sub a { color: var(--blue-2); }

/* before / after */
.ba { display: grid; grid-template-columns: 1fr 80px 1fr; align-items: center; }
.box { border-radius: 16px; padding: 22px 24px; position: relative; }
.box.before { border: 1.5px solid var(--red); background: color-mix(in oklab, var(--red) 7%, var(--bg)); }
.box.after { border: 1.5px solid var(--green); background: color-mix(in oklab, var(--green) 7%, var(--bg)); }
.box .h { font-size: 15px; letter-spacing: .06em; margin-bottom: 12px; }
.box .h b { font-weight: 800; } .box .h span { color: var(--muted); }
.box.before .h b { color: var(--red); } .box.after .h b { color: var(--green); }
.box .badge { position: absolute; right: 18px; top: 16px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; }
.box.before .badge { background: var(--red); } .box.after .badge { background: var(--green); }
.box p { margin: 0; font-family: var(--mono); font-size: 15.5px; line-height: 1.7; }
.box.before p { color: var(--muted); text-decoration: line-through; text-decoration-color: color-mix(in oklab, var(--fg) 60%, transparent); }
.box.after p { color: var(--fg); }
.brush { display: inline-block; margin-top: 18px; font-family: var(--hand); font-weight: 700; font-size: 30px; color: #0e1a08; padding: 2px 22px 4px; background: var(--green-2); clip-path: polygon(2% 20%, 10% 4%, 30% 12%, 52% 2%, 75% 10%, 98% 3%, 96% 40%, 100% 80%, 88% 97%, 64% 88%, 40% 98%, 18% 90%, 3% 96%, 0% 60%); transform: rotate(-1.5deg); }
.ba .arrow { justify-self: center; width: 70px; color: var(--fg); }
.box.after .center { text-align: center; }

/* letters */
.letters { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.letter { isolation: isolate; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 24px 20px 22px; position: relative; overflow: hidden; }
.letter .big { position: absolute; right: 10px; top: -8px; font-size: 120px; font-weight: 900; line-height: 1; color: var(--c); opacity: .13; letter-spacing: -0.05em; pointer-events: none; }
.letter svg { width: 40px; height: 40px; color: var(--c); position: relative; }
.letter h3 { position: relative; margin: 14px 0 6px; font-size: 24px; font-weight: 850; letter-spacing: -0.02em; }
.letter h3 em { font-style: normal; color: var(--c); }
.letter p { position: relative; margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.45; }
.letter .rule { margin-top: 12px; font-family: var(--mono); font-size: 12.5px; color: var(--fg); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; position: relative; }

/* rules */
.rules { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; }
.r { display: grid; grid-template-columns: 52px 1fr; gap: 10px; padding: 16px 0; border-top: 1px solid var(--line); }
.r i { font-style: normal; font-weight: 900; font-size: 30px; color: var(--blue); line-height: 1; letter-spacing: -0.03em; }
.r b { display: block; font-size: 19px; font-weight: 750; }
.r span { color: var(--muted); font-size: 15.5px; }

/* levels */
.levels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.lv { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.lv .t { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.lv .t code { font-weight: 600; color: var(--blue-2); font-size: 16px; }
.lv .t span { font-family: var(--hand); font-size: 24px; color: var(--muted); }
.lv p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.lv p b { color: var(--fg); font-weight: 600; }
.lv p code { color: var(--blue-2); font-size: 13.5px; }

/* install */
.install { display: grid; grid-template-columns: 1.25fr 1fr; gap: 24px; align-items: stretch; }
.term { background: #0d121b; border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden; box-shadow: 0 30px 70px -30px rgb(0 0 0 / .8); }
.term .bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 13px; color: var(--muted); }
.term .bar i { width: 12px; height: 12px; border-radius: 50%; }
.term .bar span { margin: 0 auto; }
.term pre { margin: 0; padding: 18px 22px 22px; font-family: var(--mono); font-size: 15px; line-height: 1.75; color: var(--fg); white-space: pre-wrap; }
.term .k { color: var(--muted); font-weight: 600; letter-spacing: .04em; }
.term .p { color: var(--green); } .term .u { color: var(--blue-2); }
.ways { display: grid; gap: 14px; }
.way { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; }
.way b { display: block; font-size: 19px; font-weight: 800; margin-bottom: 2px; }
.way span { color: var(--muted); font-size: 15.5px; }
.way code { color: var(--blue-2); font-size: 14px; }

/* bench */
.bench { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.bars { display: grid; gap: 16px; }
.bar { display: grid; grid-template-columns: 170px 1fr 74px; gap: 14px; align-items: center; font-size: 16px; }
.bar .track { height: 16px; border-radius: 8px; background: var(--bg-2); border: 1px solid var(--line); overflow: hidden; }
.bar .fill { height: 100%; border-radius: 8px; }
.bar .v { font-family: var(--mono); font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.btn { display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 24px; border-radius: 999px; font-weight: 700; font-size: 17px; background: var(--blue); color: #fff; border: 0; transition: transform .15s, background .15s; }
.btn:hover { background: #3b8bff; transform: translateY(-1px); }
.btn.ghost { background: transparent; border: 1.5px solid var(--line-2); color: var(--fg); }
.btn.ghost:hover { border-color: var(--muted); background: transparent; }

/* footer cta */
.cta-row { display: flex; align-items: center; justify-content: center; gap: 40px; position: relative; padding: 30px 0 10px; }
.pill { display: inline-flex; align-items: center; gap: 16px; border: 1.5px solid var(--line-2); border-radius: 999px; padding: 14px 28px; font-size: 20px; background: var(--bg-2); }
.pill:hover { border-color: var(--muted); }
.pill svg { width: 28px; height: 28px; }
.signoff { color: var(--blue-2); font-family: var(--hand); font-size: 30px; line-height: 1.05; transform: rotate(-8deg); }
footer { border-top: 1px solid var(--line); padding: 26px 0 34px; color: var(--subtle); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer a:hover { color: var(--fg); }

@media (max-width: 1080px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .aside { min-height: 0; display: flex; gap: 28px; align-items: center; }
  .sticky { max-width: 300px; }
  .note { position: relative; left: 0; bottom: 0; }
  .note svg { display: none; }
  .letters { grid-template-columns: repeat(3, 1fr); }
  .lockup .ticks.tr { display: none; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .links a:not(.gh) { display: none; }
  .lockup svg.mark { width: 64px; height: 64px; } .lockup .word { font-size: 64px; }
  .acronym { font-size: 11px; letter-spacing: .12em; } .acronym i { padding: 0 3px; }
  .lockup .ticks { display: none; }
  h1 { font-size: 44px; }
  .lede { font-size: 18px; }
  .aside { flex-direction: column; align-items: flex-start; }
  .sticky { font-size: 30px; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 26px; }
  .stats .stat:nth-of-type(3) { border-left: 0; }
  .stat b { font-size: 50px; }
  .stats .ticks { display: none; }
  h2 { font-size: 34px; }
  .ba { grid-template-columns: 1fr; gap: 12px; }
  .ba .arrow { transform: rotate(90deg); width: 50px; }
  .letters, .levels, .rules, .install, .bench { grid-template-columns: 1fr; }
  .bar { grid-template-columns: 120px 1fr 64px; font-size: 14px; }
  .cta-row { flex-direction: column; gap: 18px; }
  .pill { font-size: 16px; padding: 12px 20px; }
}

/* ================= benchmark page ================= */
.tabs { display: inline-flex; gap: 6px; padding: 6px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 999px; margin: 8px 0 0; flex-wrap: wrap; }
.tabs button { font: inherit; font-weight: 700; font-size: 16px; color: var(--muted); background: none; border: 0; border-radius: 999px; padding: 10px 20px; cursor: pointer; }
.tabs button:hover { color: var(--fg); }
.tabs button[aria-selected="true"] { background: var(--fg); color: var(--bg); }
.panel[hidden] { display: none; }
.verdict { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; margin: 40px 0 12px; }
.verdict h2 { font-size: 52px; }
.why { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.why li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; font-size: 17px; color: var(--muted); }
.why li b { color: var(--fg); font-weight: 750; }
.why .dot { width: 22px; height: 22px; border-radius: 50%; background: var(--green); display: grid; place-items: center; margin-top: 3px; }
.why .dot.warn { background: var(--orange); }
.why .dot svg { width: 12px; height: 12px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 24px 26px; }
.card h3 { margin: 0 0 4px; font-size: 21px; font-weight: 800; letter-spacing: -0.015em; }
.card .d { color: var(--muted); font-size: 15px; margin: 0 0 18px; }
.card.wide { grid-column: span 2; }
.chart { width: 100%; height: auto; display: block; overflow: visible; }
.chart text { font-family: var(--display); fill: var(--muted); font-size: 13px; }
.chart .mono { font-family: var(--mono); }
.chart .fg { fill: var(--fg); }
.legend { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 14px; font-size: 14px; color: var(--muted); }
.legend span::before { content: ""; display: inline-block; width: 12px; height: 12px; border-radius: 3px; background: var(--sw); margin-right: 7px; vertical-align: -1px; }
.donut { display: flex; align-items: center; gap: 26px; }
.donut table { border-collapse: collapse; font-size: 15px; }
.donut td { padding: 5px 14px 5px 0; }
.donut td.n { font-family: var(--mono); font-weight: 600; text-align: right; color: var(--fg); }
.donut td i { display: inline-block; width: 11px; height: 11px; border-radius: 3px; margin-right: 9px; vertical-align: -1px; }
.big-num { font-size: 64px; font-weight: 900; letter-spacing: -0.04em; line-height: 1; }
.lost { width: 100%; border-collapse: collapse; font-size: 15px; }
.lost td { padding: 10px 0; border-top: 1px solid var(--line); vertical-align: top; }
.lost td:first-child { font-family: var(--mono); color: var(--orange); white-space: nowrap; padding-right: 16px; }
.lost td:last-child { color: var(--muted); }
.winner { display: flex; align-items: center; gap: 18px; margin-bottom: 6px; }
.winner .trophy { width: 64px; height: 64px; color: var(--yellow); }
.vs { display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: stretch; }
.vs .mid { align-self: center; font-family: var(--hand); font-size: 40px; color: var(--muted); }
.side { border-radius: 18px; padding: 22px 24px; border: 1.5px solid var(--line-2); background: var(--card); }
.side.win { border-color: var(--blue); background: color-mix(in oklab, var(--blue) 8%, var(--card)); }
.side .who { font-weight: 850; font-size: 24px; display: flex; align-items: center; gap: 10px; }
.side .tag { font-family: var(--hand); font-size: 22px; color: var(--blue-2); margin-left: auto; transform: rotate(-4deg); }
.side .row { display: flex; justify-content: space-between; padding: 8px 0; border-top: 1px solid var(--line); font-size: 15.5px; color: var(--muted); }
.side .row:first-of-type { border-top: 0; }
.side .row b { color: var(--fg); font-family: var(--mono); font-weight: 600; }
.side .row b.better { color: var(--green); }
.prompts pre { margin: 0; white-space: pre-wrap; font-family: var(--mono); font-size: 13.5px; line-height: 1.6; color: var(--fg); background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
/* data explorer */
.picker { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 14px; }
.picker button { font: inherit; font-family: var(--mono); font-size: 14px; color: var(--muted); background: var(--bg); border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 12px; cursor: pointer; }
.picker button[aria-pressed="true"] { color: var(--bg); background: var(--blue-2); border-color: var(--blue-2); }
.picker .sep { width: 1px; height: 24px; background: var(--line-2); margin: 0 6px; }
.picker .scen { font-family: var(--hand); font-size: 22px; color: var(--blue-2); margin-left: 6px; }
.qbox { font-family: var(--mono); font-size: 14px; color: var(--muted); background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; white-space: pre-wrap; max-height: 150px; overflow: auto; margin-bottom: 10px; }
.facts { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.facts span { font-size: 13px; color: var(--muted); background: var(--bg-2); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; }
.facts span b { color: var(--fg); font-family: var(--mono); margin-right: 5px; }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; }
.col .head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.col .head b { font-size: 13px; letter-spacing: .1em; font-weight: 800; }
.col .head span { font-family: var(--mono); font-size: 13px; color: var(--subtle); }
.col .txt { font-family: var(--mono); font-size: 13px; line-height: 1.65; white-space: pre-wrap; color: var(--fg); background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; max-height: 480px; overflow: auto; }
.col .judge { margin-top: 10px; font-size: 14.5px; color: var(--muted); }
.pill-s { display: inline-block; font-size: 12.5px; font-weight: 700; border-radius: 999px; padding: 2px 10px; margin-right: 6px; }
.pill-s.g { background: color-mix(in oklab, var(--green) 20%, transparent); color: var(--green); }
.pill-s.r { background: color-mix(in oklab, var(--red) 20%, transparent); color: var(--red); }
.pill-s.n { background: var(--bg-2); color: var(--muted); border: 1px solid var(--line); }
.pill-s.o { background: color-mix(in oklab, var(--orange) 20%, transparent); color: var(--orange); }
.caveat { font-size: 14px; color: var(--subtle); margin-top: 14px; }
@media (max-width: 1080px) { .verdict { grid-template-columns: 1fr; } .verdict .aside { min-height: 0; } }
@media (max-width: 760px) {
  .verdict h2 { font-size: 36px; }
  .grid2 { grid-template-columns: 1fr; } .card.wide { grid-column: auto; }
  .vs { grid-template-columns: 1fr; } .vs .mid { justify-self: center; }
  .donut { flex-direction: column; align-items: flex-start; }
  .tabs button { padding: 8px 14px; font-size: 14px; }
}
.hb { display: grid; gap: 22px; margin-top: 6px; }
.hb-blk b { display: block; font-weight: 700; font-size: 16px; margin-bottom: 8px; }
.hb-row { display: grid; grid-template-columns: 1fr 120px; gap: 12px; align-items: center; margin-top: 6px; }
.hb-row span { font-family: var(--mono); font-size: 14px; color: var(--muted); }
.hb-t { height: 14px; border-radius: 7px; background: var(--bg-2); overflow: hidden; }
.hb-t i { display: block; height: 100%; border-radius: 7px; }
.scroll-x { overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 760px) { .wide-chart { min-width: 760px; } }
.grid2 > *, .card { min-width: 0; }
.method { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.method div { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; }
.method b { display: block; font-size: 17px; font-weight: 800; margin-bottom: 4px; }
.method span { color: var(--muted); font-size: 15px; }
@media (max-width: 760px) { .method { grid-template-columns: 1fr; } }

/* install paths */
.paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 40px; }
.path { min-width: 0; }
.path { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px 24px; display: flex; flex-direction: column; }
.path.then { background: color-mix(in oklab, var(--green) 6%, var(--card)); border-color: color-mix(in oklab, var(--green) 35%, var(--line)); }
.ph { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.ph .num { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-weight: 900; font-size: 20px; background: var(--blue); color: #fff; }
.path.then .num { background: var(--green); color: #0b1a10; }
.ph b { display: block; font-size: 20px; font-weight: 850; letter-spacing: -0.01em; }
.ph span { color: var(--muted); font-size: 14px; }
.path ol { margin: 0; padding-left: 20px; display: grid; gap: 10px; color: var(--muted); font-size: 15.5px; line-height: 1.45; }
.path ol li::marker { color: var(--blue-2); font-weight: 800; }
.path ol b { color: var(--fg); font-weight: 700; }
.path code { font-size: 14px; color: var(--blue-2); background: var(--bg); border: 1px solid var(--line-2); border-radius: 7px; padding: 1px 7px; }
.path code.copy { cursor: pointer; }
.path code.copy.done { color: var(--green); border-color: var(--green); }
.dl { display: inline-flex; align-items: center; gap: 8px; font-weight: 750; color: #fff; background: var(--blue); border-radius: 999px; padding: 6px 16px; }
.dl::before { content: "↓"; font-weight: 900; }
.dl:hover { background: #3b8bff; }
.pnote { margin: auto 0 0; padding-top: 14px; font-size: 13.5px; color: var(--subtle); }
.pnote b { color: var(--muted); }
.say { display: flex; flex-wrap: wrap; gap: 8px; }
.say code { font-size: 15px; padding: 5px 12px; }
.sub-h { font-size: 22px; font-weight: 800; margin: 0 0 14px; letter-spacing: -0.01em; }
@media (max-width: 1080px) { .paths { grid-template-columns: repeat(2, minmax(0, 1fr)); } .path.then { grid-column: span 2; } }
@media (max-width: 760px) { .paths { grid-template-columns: 1fr; } .path.then { grid-column: auto; } }
.pnote .hand { font-size: 21px; }
/* install tabs */
.itabs { margin: 4px 0 22px; }
.itabs button[disabled] { cursor: default; opacity: .55; }
.itabs button[disabled]:hover { color: var(--muted); }
.itabs .hand { font-size: 19px; color: var(--blue-2); margin-left: 4px; }
.itab[hidden] { display: none; }
.path code.copy.cmd { display: block; margin-top: 8px; padding: 10px 12px; line-height: 1.55; overflow-wrap: anywhere; }
.path code, .way code { overflow-wrap: anywhere; }
@media (max-width: 1080px) { .stats .ticks { display: none; } }
