/* TSUKI blog system (deployed 2026-10-27) -- the /blog index and every post.
   Built by deploys/blog-system-20261027/build.py from the approved mockups (mockups/blog-remix/src/article.css and
   blog.src.html), with this header: the few base pieces the mockups took from their own stylesheet (tag pill, meta
   row, buttons), per-post cover framing, and the light theme. Replaces blog.css and blog-article.css, which no
   template loads any more. Edit the sources and rebuild rather than this file. */
.sheet { --glow: 104,105,255; }
.sheet .tag { display: inline-flex; align-items: center; gap: .35rem; padding: .22rem .55rem; border-radius: 999px; font-size: .68rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: var(--link); background: rgba(115,116,255,.12); border: 1px solid rgba(115,116,255,.22); }
.sheet .meta { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem .75rem; }
.sheet .meta .dot { width: 3px; height: 3px; border-radius: 50%; }
.sheet .btn { display: inline-flex; align-items: center; gap: .45rem; font-family: var(--font-sans); font-size: .86rem; font-weight: 600; border-radius: 8px; padding: .6rem 1.05rem;
  text-decoration: none; border: 1px solid transparent; cursor: pointer; }
.sheet .btn-primary { background: var(--accent-fill); color: var(--on-accent); }
.sheet .btn-primary:hover { color: var(--on-accent); }
.hero img { object-position: var(--pos, 50% 50%); }

/* TSUKI blog system (2026-10-27), shared by the blog index and every post.
   The site stays near-black (nav, sides, footer); the blog is one continuous charcoal canvas with no card edges.
   Posts: cover, title and body share one left edge; covers, clips, screenshots and feature panels run the full
   main-column width while paragraphs keep a 740px measure; the contents list is a quiet panel in its own column.
   Type: post and listing titles in Newsreader, meta rows and small labels in DM Mono, everything else DM Sans.
   Systemspace touches stay outside the reading text: a faint static grid in the outer margins, a tight bloom on
   covers, numbered panels with a hairline violet top edge, precise hovers with one light sweep on purchase buttons.
   No corner marks, no accent bars, no motion loops. */
.grid-bg { position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(rgba(115,116,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(115,116,255,.04) 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 30%, transparent 70%, #000 100%);
  mask-image: linear-gradient(90deg, #000 0%, transparent 30%, transparent 70%, #000 100%); }
.sheet {
  --sheet: #17171c; --panel: #202026; --panel-line: #34343e; --line: #2a2a32; --line-2: #34343e; --card: #1c1c22; --card-line: #2c2c35;
  --ink: #ededef; --body: #bfc0ca; --soft: #a1a1ae; --mute: #7c7c89; --link: #8384ff; --link-hover: #a3a4ff;
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif; --mono: 'DM Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  position: relative; z-index: 1; max-width: 1360px; margin: 0 auto; background: var(--sheet); container-type: inline-size;
}
.sheet .meta { color: var(--soft); font-family: var(--mono); font-size: .74rem; letter-spacing: .05em; text-transform: uppercase; }
.sheet .meta .tag { letter-spacing: .08em; } .sheet .meta .dot { background: var(--mute); }

.post { --pad: 20px; padding: 0 var(--pad) 4.5rem; }
@container (min-width: 760px) { .post { --pad: 40px; } }
@container (min-width: 1100px) { .post { --pad: 56px; } }
.crumbs { display: flex; gap: .45rem; align-items: center; font-size: .78rem; color: var(--mute); flex-wrap: wrap; padding: 1.6rem 0 1.15rem; }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--soft); }

.post-grid { display: grid; grid-template-columns: minmax(0, 1fr); }
.post-main { min-width: 0; max-width: 960px; container-type: inline-size; }
.toc-wrap { display: none; }
@container (min-width: 1100px) {
  .post-grid { grid-template-columns: minmax(0, 1fr) 248px; column-gap: 72px; }
  .toc-wrap { display: block; position: sticky; top: 96px; align-self: start; }
}

.hero { margin: 0; aspect-ratio: 1859 / 846; border-radius: 12px; overflow: hidden; border: 1px solid rgba(115,116,255,.16); background: #0d0d12;
  box-shadow: 0 12px 30px rgba(0,0,0,.2), 0 0 22px rgba(104,105,255,.08); }
.hero img { display: block; width: 100%; height: 100%; object-fit: cover; }

.post-head { padding: 1.9rem 0 1.9rem; margin-bottom: 2.3rem; border-bottom: 1px solid var(--line); display: grid; gap: 1rem; }
.post-head h1 { margin: 6px 0 0; max-width: 17em; font-family: var(--serif); font-weight: 500; font-size: clamp(2.4rem, 1.4rem + 4.6cqi, 3.5rem); line-height: 1.04;
  letter-spacing: -.015em; color: var(--ink); text-wrap: balance; }
.post-head .dek { margin: 0; max-width: 40em; font-size: 1.12rem; line-height: 1.6; color: var(--soft); }

.prose { max-width: 740px; font-size: 1.09rem; line-height: 1.72; color: var(--body); }
.prose h2 { font-size: 1.875rem; font-weight: 700; line-height: 1.18; letter-spacing: -.022em; color: var(--ink); margin: 2.75rem 0 .9rem; scroll-margin-top: 96px; text-wrap: balance; }
.prose h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.3; color: var(--ink); margin: 2rem 0 .5rem; }
.prose p { margin: 0 0 1.15rem; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a:not(.btn) { color: var(--link); text-decoration: underline; text-decoration-color: rgba(131,132,255,.35); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:not(.btn):hover { color: var(--link-hover); text-decoration-color: currentColor; }
.prose a strong { color: inherit; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.25rem; } .prose li { margin: .45rem 0; padding-left: .2rem; }
.prose ul li { padding-left: 4px; } .prose ul li::marker { color: var(--link); } .prose ol li::marker { color: var(--mute); }

/* Click-to-copy deep links on section headings (blog.js adds them). */
.prose h2 a.anchor { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; margin-left: 4px; vertical-align: middle;
  font-family: var(--mono); font-size: .95rem; font-weight: 400; color: var(--mute); text-decoration: none; opacity: 0; transform: translateX(-6px);
  transition: opacity .25s ease, transform .25s ease, color .18s ease; }
.prose h2:hover a.anchor, .prose h2:focus-within a.anchor { opacity: .5; transform: none; }
.prose h2 a.anchor:hover { opacity: 1; color: var(--link); }
.prose h2 a.anchor.copied { opacity: 1; transform: none; width: auto; padding: 0 7px; font-size: .7rem; letter-spacing: .07em; color: #4ade80; }

/* Purchase buttons: precise edge, tight glow, one faint light sweep on hover. */
.sheet .btn-primary { position: relative; overflow: hidden; isolation: isolate; border: 1px solid rgba(180,180,255,.16); border-radius: 9px;
  box-shadow: 0 3px 12px rgba(87,88,240,.12); transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.sheet .btn-primary:hover { opacity: 1; background: #6263f8; border-color: rgba(195,195,255,.48); transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(115,116,255,.12), 0 0 14px rgba(104,105,255,.22), 0 7px 22px rgba(87,88,240,.14); }
.sheet .btn-primary::after { content: ""; position: absolute; inset: 0; pointer-events: none; transform: translateX(-140%);
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.13) 50%, transparent 70%); }
.sheet .btn-primary:hover::after { animation: tsuki-sweep 650ms ease-out 1; }
@keyframes tsuki-sweep { to { transform: translateX(140%); } }
@media (prefers-reduced-motion: reduce) { .sheet .btn-primary, .sheet .btn-primary:hover { transform: none; } .sheet .btn-primary::after { animation: none; } }
.sheet .btn-ghost { background: var(--panel); color: var(--ink); border-color: var(--line-2); transition: border-color .2s ease, color .2s ease; }
.sheet .btn-ghost:hover { border-color: rgba(195,195,255,.4); color: #fff; }
.btn-sm { font-size: .82rem; padding: .5rem .9rem; }
.btn-lg { font-size: .95rem; padding: .78rem 1.35rem; }

/* Media: clips and screenshots run the main-column width. */
.vid { position: relative; width: 100cqi; aspect-ratio: 1480 / 660; border-radius: 12px; overflow: hidden; border: 1px solid var(--line-2); background: #000; margin: 1.2rem 0 0; }
.vid video { display: block; width: 100%; height: 100%; object-fit: cover; }
.vid-toggle { position: absolute; z-index: 3; right: 14px; bottom: 14px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  color: #fff; background: rgba(10,10,14,.72); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(6px); }
.vid-toggle:hover { background: rgba(24,24,32,.92); }
.vid-toggle .i-play, .vid-toggle[data-state="paused"] .i-pause { display: none; }
.vid-toggle[data-state="paused"] .i-play { display: block; }
.prose h3.watch-head { display: flex; align-items: center; gap: .55rem; margin: 2.2rem 0 .45rem; }
.watch-head svg { color: var(--link); flex: none; }
.prose figure { margin: 1.8rem 0; }
.prose figure.shot { width: 100cqi; }
.prose figure.shot img { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line-2); cursor: zoom-in; transition: border-color .18s ease; }
.prose figure.shot img:hover { border-color: rgba(115,116,255,.4); }
.prose figure.panelshot img { display: block; width: 100%; max-width: 240px; height: auto; }

/* Numbered feature panels: quiet borders, a hairline violet top edge, no glow, not interactive. */
.features { width: 100cqi; display: grid; gap: 12px; margin: 1.4rem 0 .4rem; }
@container (min-width: 700px) { .features { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.feature { background: var(--card); border: 1px solid var(--card-line); border-top-color: rgba(115,116,255,.42); border-radius: 10px; padding: 16px 18px 20px; }
.feature-top { display: flex; align-items: center; justify-content: space-between; color: var(--link); }
.feature-num { font-family: var(--mono); font-size: .74rem; letter-spacing: .06em; }
.prose .feature h3 { margin: .85rem 0 .4rem; font-size: 1.06rem; line-height: 1.3; }
.prose .feature p { margin: 0; font-size: .95rem; line-height: 1.6; }

.section-cta { margin: 1.4rem 0 0; }
.vid + .section-cta { margin-top: 1.3rem; }

/* Numbered reasons (the ban post's list): DM Mono counters in small quiet squares. */
.prose ol.reasons { list-style: none; counter-reset: r; margin: 0 0 1.4rem; padding: 0; }
.prose ol.reasons li { counter-increment: r; position: relative; padding-left: 44px; margin: 0 0 1rem; }
.prose ol.reasons li::before { content: counter(r, decimal-leading-zero); position: absolute; left: 0; top: 2px; width: 30px; height: 26px; border-radius: 6px;
  display: grid; place-items: center; font-family: var(--mono); font-size: .76rem; color: var(--link); background: var(--card); border: 1px solid var(--card-line); }

/* Data panels (charts, comparison tables). Series colours stay distinct; everything else uses the canvas tokens. */
.prose { --c1: #7c7dfa; --c2: #25a98d; --c3: #c8822e; --good: #4ade80; --warn: #e07a5f; }
.prose .panel { position: relative; background: var(--card); border: 1px solid var(--card-line); border-radius: 12px; padding: 18px 20px 14px; }
.prose .panel-head { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--soft); margin: 0 0 14px; }
.prose .panel-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 0 0 10px; }
.prose .panel-row .panel-head { margin: 0; }
.prose a.panel-link { font-family: var(--mono); font-size: .74rem; }
.prose .legend { display: flex; gap: 18px; flex-wrap: wrap; margin: 0 0 12px; }
.prose .legend span { display: flex; align-items: center; gap: 7px; font-size: .8rem; color: var(--soft); }
.prose .legend i { width: 9px; height: 9px; border-radius: 50%; display: block; }
.prose .scroller { overflow-x: auto; }
.prose .chart { display: block; width: 100%; min-width: 580px; height: auto; }
.prose .chart text { font-family: var(--mono); }
.prose .axis { stroke: #3a3a45; stroke-width: 1; }
.prose .tick { fill: var(--mute); font-size: 11px; }
.prose .axis-label { fill: var(--mute); font-size: 11.5px; letter-spacing: .06em; }
.prose .dot { stroke: var(--card); stroke-width: 2; cursor: pointer; }
.prose .dot:hover { stroke: var(--ink); }
.prose .ref-warn { stroke: var(--warn); stroke-width: 1.5; stroke-dasharray: 3 4; }
.prose .ref-lab { font-size: 11.5px; font-weight: 500; }
.prose .ref-warn-t { fill: var(--warn); stroke: none; }
.prose .ref-sub { fill: var(--mute); font-size: 9.5px; }
.prose .tip { position: absolute; pointer-events: none; opacity: 0; z-index: 5; transform: translate(-50%, -120%); transition: opacity .1s;
  background: var(--panel); border: 1px solid var(--panel-line); border-radius: 8px; padding: 8px 11px; font-size: .76rem; line-height: 1.5; color: var(--ink);
  white-space: nowrap; box-shadow: 0 10px 28px rgba(0,0,0,.35); }
.prose .tip b { font-family: var(--mono); font-weight: 500; }
.prose .tip em { font-style: normal; color: var(--mute); }
.prose details.numbers { margin-top: 12px; }
.prose details.numbers summary { font-family: var(--mono); font-size: .74rem; letter-spacing: .04em; color: var(--mute); cursor: pointer; }
.prose details.numbers summary:hover { color: var(--soft); }
.prose table { border-collapse: collapse; width: 100%; margin-top: 10px; font-size: .82rem; font-family: var(--mono); }
.prose th, .prose td { text-align: right; padding: 7px 10px; border-bottom: 1px solid var(--card-line); }
.prose th:first-child, .prose td:first-child { text-align: left; font-family: var(--font-sans); }
.prose th { color: var(--mute); font-weight: 500; font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; }
.prose td { color: var(--soft); } .prose td:first-child { color: var(--ink); font-weight: 500; }
.prose .cmp-wrap { overflow-x: auto; position: relative; }
.prose table.cmp { min-width: 460px; margin: 0; font-family: var(--font-sans); font-size: .88rem; }
.prose table.cmp th, .prose table.cmp td { padding: 10px 12px; text-align: center; vertical-align: middle; }
.prose table.cmp thead th { font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; }
.prose table.cmp thead th:first-child, .prose table.cmp tbody th { text-align: left; }
.prose table.cmp tbody th { font-family: var(--font-sans); font-size: .88rem; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--ink); }
.prose table.cmp tbody tr:last-child th, .prose table.cmp tbody tr:last-child td { border-bottom: 0; }
.prose table.cmp td svg { width: 16px; height: 16px; display: inline-block; vertical-align: middle; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.prose table.cmp td.yes { color: var(--good); } .prose table.cmp td.no { color: var(--mute); } .prose table.cmp td.txt { color: var(--soft); font-size: .82rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.prose .endnote { margin-top: 3rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.prose .endnote p { margin: 0; font-family: var(--mono); font-size: .74rem; letter-spacing: .04em; text-transform: uppercase; color: var(--mute); }

/* FAQ: one contained group, answers always visible, rows split by hairlines. Questions stay real h3s. */
.faq { margin: 1.1rem 0 0; background: #1b1b21; border: 1px solid #34343e; border-radius: 12px; overflow: hidden; }
.faq-item { padding: 20px 22px; transition: background-color .18s ease; }
.faq-item + .faq-item { border-top: 1px solid #303038; }
.faq-item:hover { background: rgba(115,116,255,.035); }
.prose .faq h3 { margin: 0 0 .4rem; font-size: 1.09rem; font-weight: 600; line-height: 1.35; }
.prose .faq p { margin: 0; font-size: 1rem; line-height: 1.65; }

/* Contents: a quiet raised panel with row dividers; the purchase button sits apart, below it. */
.toc { background: var(--panel); border: 1px solid var(--panel-line); border-radius: 10px; padding: 20px 20px 12px; }
.toc-label { margin: 0 0 .45rem; font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); }
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc li { padding: 3px 0; } .toc li + li { border-top: 1px solid #2c2c35; }
.toc ol a { display: block; margin: 0 -10px; padding: .5rem 10px; border-radius: 7px; font-size: .86rem; line-height: 1.35; color: #b6b6c2; text-decoration: none;
  transition: color .15s, background .15s; }
.toc ol a:hover { color: #e4e4ea; background: rgba(255,255,255,.035); }
.toc ol a.on { color: var(--ink); background: rgba(var(--glow), .16); box-shadow: inset 0 0 0 1px rgba(var(--glow), .26); }
.toc-buy { margin-top: 18px; }
.toc-buy .btn { width: 100%; justify-content: center; padding-block: .72rem; }

/* Screenshot lightbox; appended to <body>, so it sits outside the sheet. */
.imglb { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 40px; cursor: zoom-out;
  background: rgba(8,8,11,.93); opacity: 0; pointer-events: none; transition: opacity .22s ease; }
.imglb.open { opacity: 1; pointer-events: auto; }
.imglb img { max-width: 100%; max-height: 100%; width: auto; height: auto; border-radius: 8px; box-shadow: 0 30px 90px rgba(0,0,0,.65); }
.imglb-close { position: absolute; top: 16px; right: 22px; width: 40px; height: 40px; font-size: 1.7rem; line-height: 1; color: #fff; opacity: .65; background: none; border: 0; cursor: pointer; }
.imglb-close:hover { opacity: 1; }

/* ---- Blog index ---- */
/* Blog index on the same canvas as the posts: a serif masthead, one featured guide, mono topic filters, quiet
   cards whose borders light up on hover, then a start-here row and the Discord panel. */
.index-head { padding: 2.8rem 0 2.4rem; display: grid; gap: .95rem; }
.kicker { margin: 0; font-family: var(--mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--link); }
.index-head h1 { margin: 0; max-width: 15em; font-family: var(--serif); font-weight: 500; font-size: clamp(2.4rem, 1.4rem + 3.2cqi, 3.6rem); line-height: 1.04;
  letter-spacing: -.015em; color: var(--ink); text-wrap: balance; }
.index-head p { margin: 0; max-width: 58ch; font-size: 1.09rem; line-height: 1.65; color: var(--soft); }

.cover { position: relative; overflow: hidden; background: #0d0d12; }
.cover img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.featured { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 2.2rem; align-items: center; text-decoration: none;
  padding: 12px; background: var(--card); border: 1px solid var(--card-line); border-radius: 14px; transition: border-color .18s ease; }
.featured .cover { aspect-ratio: 1859 / 846; border-radius: 10px; }
.featured-body { display: grid; gap: .9rem; padding: .6rem 1.4rem .6rem 0; min-width: 0; }
.label { font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--link); }
.featured h2 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(1.75rem, 1.1rem + 1.4cqi, 2.35rem); line-height: 1.08; letter-spacing: -.01em; color: var(--ink); text-wrap: balance; }
.featured p { margin: 0; font-size: 1rem; line-height: 1.6; color: var(--body); }
.read { display: inline-flex; align-items: center; gap: .4rem; font-size: .88rem; font-weight: 600; color: var(--link); }
.featured:hover, .card:not([aria-disabled]):hover { border-color: rgba(115,116,255,.38); }
.featured:hover .cover img, .card:not([aria-disabled]):hover .cover img { transform: scale(1.03); }
@container (max-width: 860px) { .featured { grid-template-columns: minmax(0, 1fr); gap: 1rem; } .featured-body { padding: .2rem .5rem .6rem; } }

.bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin: 3.2rem 0 1.3rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.bar h2 { margin: 0; font-size: 1.3rem; font-weight: 700; letter-spacing: -.015em; color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip { display: inline-flex; align-items: center; gap: .5rem; padding: .44rem .72rem; border-radius: 7px; cursor: pointer; background: transparent; border: 1px solid var(--card-line);
  font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--soft); transition: color .15s, border-color .15s, background .15s; }
.chip b { font-weight: 400; color: var(--mute); }
.chip:hover { color: var(--ink); border-color: #3a3a45; }
.chip[aria-pressed="true"] { color: var(--ink); background: rgba(var(--glow), .16); border-color: rgba(var(--glow), .3); }
.chip[aria-pressed="true"] b { color: var(--soft); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.card { display: grid; gap: .95rem; align-content: start; min-width: 0; text-decoration: none; padding: 10px 10px 18px;
  background: var(--card); border: 1px solid var(--card-line); border-radius: 12px; transition: border-color .18s ease; }
.card .cover { aspect-ratio: 16 / 9; border-radius: 8px; }
.card[aria-disabled="true"] { cursor: default; }
.card[aria-disabled="true"] .cover img { filter: saturate(.5) brightness(.75); }
.soon { position: absolute; top: 10px; right: 10px; padding: .26rem .5rem; border-radius: 6px; font-family: var(--mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase;
  color: #fff; background: rgba(10,10,16,.75); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(6px); }
.card-body { display: grid; gap: .6rem; padding: 0 .5rem; }
.card h3 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 1.42rem; line-height: 1.16; letter-spacing: -.005em; color: var(--ink); text-wrap: balance; }
.card p { margin: 0; font-size: .92rem; line-height: 1.55; color: var(--soft); }
.card[hidden], .featured[hidden] { display: none !important; }
.empty { color: var(--mute); font-size: .9rem; padding: 1rem 0; }

.starters-title { margin: 3.2rem 0 .9rem; font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); }
.starters { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 12px; }
.starter { display: grid; grid-template-columns: auto 1fr; gap: .15rem .9rem; align-items: center; text-decoration: none; padding: 1rem 1.1rem; border-radius: 10px;
  background: var(--card); border: 1px solid var(--card-line); transition: border-color .18s ease; }
.starter:hover { border-color: rgba(115,116,255,.38); }
.starter .ic { grid-row: span 2; color: var(--link); display: grid; place-items: center; }
.starter b { font-size: .95rem; font-weight: 600; color: var(--ink); }
.starter span { font-size: .8rem; color: var(--mute); }

.band { margin-top: 3.2rem; display: flex; gap: 1.5rem; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 1.7rem 1.9rem; border-radius: 12px;
  background: var(--card); border: 1px solid var(--card-line); border-top-color: rgba(115,116,255,.42); }
.band h2 { margin: 0 0 .35rem; font-size: 1.3rem; font-weight: 700; letter-spacing: -.015em; color: var(--ink); }
.band p { margin: 0; max-width: 52ch; font-size: .95rem; line-height: 1.55; color: var(--soft); }

/* Light theme (the site's toggle sets data-theme="light" on <html>). Same layout; the canvas turns pale and every
   hard-coded dark surface gets a light counterpart. */
[data-theme="light"] .sheet {
  --sheet: #f1f1f4; --panel: #ffffff; --panel-line: #d8d8de; --line: #dedee4; --line-2: #d0d0d8; --card: #ffffff; --card-line: #dedee4;
  --ink: #15151b; --body: #3a3a46; --soft: #55555f; --mute: #80808d; --link: #4a4cde; --link-hover: #3a3cc4; --glow: 74,76,222;
}
[data-theme="light"] .grid-bg { display: none; }
[data-theme="light"] .sheet .tag { background: rgba(74,76,222,.08); border-color: rgba(74,76,222,.2); }
[data-theme="light"] .hero { border-color: rgba(74,76,222,.18); box-shadow: 0 12px 30px rgba(0,0,0,.08); }
[data-theme="light"] .prose a:not(.btn) { text-decoration-color: rgba(74,76,222,.35); }
[data-theme="light"] .prose { --c1: #5a5ce0; --c2: #0f9e86; --c3: #c9751a; --good: #1d7a57; --warn: #b8462c; }
[data-theme="light"] .prose .axis { stroke: #c6c6d0; }
[data-theme="light"] .feature { border-top-color: rgba(74,76,222,.45); }
[data-theme="light"] .faq { background: #ffffff; border-color: #dedee4; }
[data-theme="light"] .faq-item + .faq-item { border-top-color: #e6e6ec; }
[data-theme="light"] .faq-item:hover { background: rgba(74,76,222,.035); }
[data-theme="light"] .toc li + li { border-top-color: #e6e6ec; }
[data-theme="light"] .toc ol a { color: #55555f; }
[data-theme="light"] .toc ol a:hover { color: #15151b; background: rgba(0,0,0,.04); }
[data-theme="light"] .chip:hover { border-color: #c6c6d0; }
[data-theme="light"] .featured:hover, [data-theme="light"] .card:not([aria-disabled]):hover, [data-theme="light"] .starter:hover { border-color: rgba(74,76,222,.4); }
[data-theme="light"] .band { border-top-color: rgba(74,76,222,.45); }
[data-theme="light"] .prose .tip { box-shadow: 0 10px 28px rgba(0,0,0,.12); }
