/* App sections on carbonado.app: hubs, guides, guide indexes, tools and beta pages.
   One light system (dark when the phone asks for it), one accent colour per app set on <body> from app.json "brand".
   Spec and the references behind it: reports/2026-10-29/hub-redesign-teardown.md. Mobile first. */

:root {
  --bg: #ffffff; --bg-alt: #f5f5f7; --ink: #111114; --ink-2: #55555e; --ink-3: #8a8a93; --line: #e4e4ea;
  --warn: #8a5a00; --warn-bg: #fff6e0;
  --radius: 14px; --radius-sm: 10px; --max: 1120px; --measure: 680px; --gutter: 16px;
  --accent: #111114; --accent-ink: #fff; --tint: #f5f5f7;
  --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0e0e11; --bg-alt: #17171b; --ink: #f3f3f6; --ink-2: #a5a5ae; --ink-3: #75757e; --line: #2a2a30; --warn: #f0c060; --warn-bg: #241c0b; }
}
body { --accent: var(--accent-l, #111114); --tint: var(--tint-l, #f5f5f7); --link: var(--link-l, var(--accent)); }
@media (prefers-color-scheme: dark) { body { --accent: var(--accent-d, #f3f3f6); --tint: var(--tint-d, #17171b); --link: var(--link-d, var(--accent)); } }
@media (min-width: 720px) { :root { --gutter: 24px; } }
@media (min-width: 1100px) { :root { --gutter: 32px; } }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--font); }
img { max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.frame { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.hp, .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.review-banner { background: #3a2a00; color: #ffd76a; font-size: 14px; padding: 8px 20px; text-align: center; }

/* Buttons */
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; font: 600 16px/1 var(--font); text-decoration: none; cursor: pointer; border: 1px solid transparent; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-quiet { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-quiet:hover { border-color: var(--ink-3); }
.btn-small { min-height: 38px; padding: 0 16px; font-size: 14px; }
.textlink { font-weight: 600; text-decoration: none; }
.textlink:hover { text-decoration: underline; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); }
.site-head .frame { display: flex; align-items: center; gap: 8px; height: 56px; }
@media (min-width: 720px) { .site-head .frame { height: 64px; } }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.brand svg { width: 24px; height: 24px; }
.brand .name { display: none; }
@media (min-width: 720px) { .brand .name { display: inline; } }
.slash { color: var(--ink-3); margin: 0 4px; }
.appmark { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; white-space: nowrap; }
.appmark img, .icon { border-radius: 22.5%; }
.appmark img { width: 24px; height: 24px; }
.nav { display: none; align-items: center; gap: 4px; margin-left: 12px; }
@media (min-width: 900px) { .nav { display: flex; } }
.head-cta { margin-left: auto; }
.appmark { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
/* On a phone a coming-soon app's hero already holds the launch form, so the header keeps just the menu. */
@media (max-width: 559px) { .head-cta.soon { display: none; } .burger { margin-left: auto; } .head-cta:not(.soon) + .burger { margin-left: 4px; } }
.head-cta .btn { min-height: 38px; padding: 0 16px; font-size: 14px; }
.menu { position: relative; }
.menu > summary { list-style: none; cursor: pointer; padding: 10px 12px; border-radius: 8px; color: var(--ink-2); font-size: 15px; min-height: 44px; display: flex; align-items: center; gap: 6px; }
.menu > summary::-webkit-details-marker { display: none; }
.menu > summary::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.menu > summary:hover, .menu[open] > summary { color: var(--ink); background: var(--bg-alt); }
.menu-panel { position: absolute; top: calc(100% + 8px); left: 0; width: 360px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; box-shadow: 0 12px 32px rgb(0 0 0 / .12); }
.menu-panel h3 { font-size: 13px; color: var(--ink-3); font-weight: 600; margin: 8px 8px 4px; }
.menu-panel a { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: 15px; line-height: 1.35; }
.menu-panel a:hover { background: var(--bg-alt); }
.menu-panel .count { margin-left: auto; color: var(--ink-3); font-size: 13px; }
.menu-panel img { width: 32px; height: 32px; }
.menu-panel .sub { display: block; color: var(--ink-3); font-size: 13px; }
.menu-panel .all { color: var(--link); font-weight: 600; }
.burger { margin-left: 4px; }
@media (min-width: 900px) { .burger { display: none; } }
.burger > summary { padding: 10px; }
.burger > summary::after { content: none; }
.burger .bars { width: 20px; height: 14px; display: grid; align-content: space-between; }
.burger .bars i { display: block; height: 2px; background: var(--ink); border-radius: 2px; }
.burger .menu-panel { position: fixed; top: 56px; left: 0; right: 0; width: auto; max-height: calc(100vh - 56px); overflow: auto; border-radius: 0; border-left: 0; border-right: 0; box-shadow: none; padding: 8px var(--gutter) 24px; }

/* Breadcrumb */
.crumbs { font-size: 14px; color: var(--ink-3); margin: 20px 0 16px; line-height: 1.5; }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs .sep { margin: 0 6px; }
/* On a phone the breadcrumb is one step back up: the topic or section this page sits in. */
@media (max-width: 719px) {
  .main > .crumbs > :not(:nth-last-child(3)) { display: none; }
  .main > .crumbs > :nth-last-child(3)::before { content: "\2190\00a0"; }
  .main > .crumbs + .topic-label { display: none; }
}

/* Status pill */
.pill { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink-2); background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; white-space: nowrap; }
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); }
.pill.live i { background: #1f9d55; }

/* ---------- Hub ---------- */
.hero { background: var(--tint); }
.hero .frame { display: grid; gap: 32px; padding-top: 28px; padding-bottom: 40px; }
@media (min-width: 900px) { .hero .frame { grid-template-columns: 1fr 1fr; align-items: center; gap: 56px; padding-top: 64px; padding-bottom: 72px; } }
.idrow { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.idrow .icon { width: 56px; height: 56px; }
@media (min-width: 900px) { .idrow .icon { width: 64px; height: 64px; } }
.idrow .appname { font-size: 17px; font-weight: 600; }
.hero h1 { font-size: 32px; line-height: 38px; letter-spacing: -.02em; font-weight: 700; margin: 0 0 12px; max-width: 24ch; }
@media (min-width: 900px) { .hero h1 { font-size: 48px; line-height: 54px; } }
.hero .lead { font-size: 19px; line-height: 28px; color: var(--ink-2); margin: 0 0 24px; max-width: 34em; }
@media (min-width: 900px) { .hero .lead { font-size: 21px; line-height: 31px; } }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; }
.hero-shot { margin: 0; justify-self: center; }
.hero-shot img { display: block; width: min(320px, 78vw); border-radius: 28px; box-shadow: 0 1px 2px rgb(0 0 0 / .08), 0 20px 48px rgb(0 0 0 / .14); }
.hero-shot figcaption { font-size: 13px; color: var(--ink-3); text-align: center; margin-top: 12px; }
.dark-hero .hero { --ink: #f3f3f6; --ink-2: #b9bcc6; --ink-3: #8b8f9b; --line: #2a2e38; --bg: #171b24; color: var(--ink); }
.dark-hero .hero .hero-shot img { width: 100%; max-width: 560px; border-radius: 16px; }

/* Launch list form */
.waitlist { width: 100%; max-width: 480px; margin: 0; }
.waitlist-row { display: flex; flex-wrap: wrap; gap: 8px; }
.waitlist input[type=email] { flex: 1 1 220px; min-width: 0; min-height: 48px; font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 0 18px; }
.waitlist input[type=email]:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.waitlist button { flex: 0 0 auto; min-height: 48px; font: 600 16px/1 var(--font); color: var(--accent-ink); background: var(--accent); border: 0; border-radius: 999px; padding: 0 22px; cursor: pointer; }
.waitlist button:disabled { opacity: .6; cursor: default; }
.waitlist .waitlist-note { margin: 10px 0 0; font-size: 14px; color: var(--ink-3); }
.waitlist .waitlist-note a { color: var(--ink-3); }
.waitlist.done .waitlist-row, .waitlist.done .consent { display: none; }
.waitlist.done .waitlist-note { color: var(--ink); font-size: 16px; }
.waitlist .error { color: var(--warn); }

/* Topic chips */
.chips { display: flex; gap: 8px; align-items: center; overflow-x: auto; scrollbar-width: none; margin: 24px calc(-1 * var(--gutter)) 0; padding: 0 var(--gutter) 2px; }
.chips::-webkit-scrollbar { display: none; }
.chips .label { font-size: 14px; color: var(--ink-2); white-space: nowrap; margin-right: 2px; }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.chip:hover { border-color: var(--ink-3); }
.chip.on { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
@media (min-width: 900px) { .chips { flex-wrap: wrap; overflow: visible; margin: 28px 0 0; padding: 0; } }

/* Sections */
.band { padding: 56px 0; }
@media (min-width: 900px) { .band { padding: 96px 0; } }
.band.alt { background: var(--bg-alt); }
.band h2 { font-size: 23px; line-height: 29px; letter-spacing: -.01em; margin: 0 0 8px; }
@media (min-width: 900px) { .band h2 { font-size: 28px; line-height: 34px; } }
.band .intro { color: var(--ink-2); margin: 0 0 24px; max-width: 40em; }
.band-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.band-head .intro { margin: 0; }

/* How it works */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 32px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.steps .shot { background: var(--bg-alt); border-radius: var(--radius); aspect-ratio: 4 / 5; overflow: hidden; display: grid; place-items: center; margin-bottom: 16px; }
.band.alt .steps .shot { background: var(--bg); }
.steps .shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.steps .num { font-size: 14px; color: var(--ink-3); font-weight: 600; }
.steps h3 { font-size: 18px; line-height: 25px; font-weight: 600; margin: 4px 0 0; }
.steps.noshots li { border-top: 1px solid var(--line); padding-top: 16px; }

/* Topic cards with guide rows */
.topics { display: grid; gap: 16px; }
@media (min-width: 900px) { .topics { grid-template-columns: 1fr 1fr; } }
.topic-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: var(--bg); }
@media (min-width: 900px) { .topic-card { padding: 24px; } }
.topic-card h3 { font-size: 19px; line-height: 25px; margin: 0 0 4px; }
.topic-card h3 a { color: var(--ink); text-decoration: none; }
.topic-card h3 a:hover { color: var(--link); }
.topic-card p { margin: 0 0 8px; color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.rows { list-style: none; margin: 0; padding: 0; }
.rows a { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 10px 0; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 16px; line-height: 1.4; }
.rows li:first-child a { border-top: 0; }
.topic-card .rows li:first-child a { border-top: 1px solid var(--line); }
.rows a::after { content: ""; flex: none; margin-left: auto; width: 7px; height: 7px; border-right: 1.5px solid var(--ink-3); border-top: 1.5px solid var(--ink-3); transform: rotate(45deg); }
.rows a:hover { color: var(--link); }
.rows .t { display: block; font-weight: 600; }
.rows .s { display: block; color: var(--ink-2); font-size: 15px; font-weight: 400; margin-top: 2px; }
.seeall { display: inline-block; margin-top: 8px; font-size: 15px; font-weight: 600; text-decoration: none; }

/* Free and paid */
.plans { display: grid; gap: 16px; }
@media (min-width: 760px) { .plans { grid-template-columns: 1fr 1fr; } }
.plan { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; background: var(--bg); }
.plan h3 { font-size: 19px; margin: 0 0 12px; }
.plan ul { list-style: none; margin: 0; padding: 0; }
.plan li { position: relative; padding: 6px 0 6px 28px; line-height: 1.45; }
.plan li::before { content: ""; position: absolute; left: 4px; top: 12px; width: 10px; height: 5px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.limits { margin: 20px 0 0; color: var(--ink-2); max-width: 46em; }

/* Questions */
.faq { max-width: 760px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 32px 16px 0; font-weight: 600; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 22px; font-weight: 400; color: var(--ink-3); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 16px; color: var(--ink-2); }

/* Closing call */
.closing { text-align: center; }
.closing .icon { width: 72px; height: 72px; margin-bottom: 12px; }
.closing h2 { margin-bottom: 8px; }
.closing p { color: var(--ink-2); margin: 0 auto 24px; max-width: 34em; }
.closing .cta, .closing .waitlist { display: flex; flex-direction: column; align-items: center; margin: 0 auto; }
.closing .waitlist-row { justify-content: center; }

/* ---------- Guide article ---------- */
.doc { display: grid; grid-template-columns: minmax(0, 1fr); padding-bottom: 32px; }
@media (min-width: 1100px) { .doc { grid-template-columns: 220px minmax(0, var(--measure)); justify-content: center; column-gap: 56px; } .doc > .main { grid-column: 2; } .doc > .toc-col { grid-column: 1; grid-row: 1; } }
.main { min-width: 0; max-width: var(--measure); margin: 0 auto; width: 100%; }
.toc-col { display: none; }
@media (min-width: 1100px) { .toc-col { display: block; } .toc-col nav { position: sticky; top: 88px; padding-top: 72px; } .main .toc { display: none; } }
.topic-label { display: inline-block; font-size: 13px; font-weight: 600; color: var(--link); text-decoration: none; margin: 4px 0 8px; }
.main h1 { font-size: 30px; line-height: 36px; letter-spacing: -.02em; font-weight: 700; margin: 0 0 12px; }
@media (min-width: 900px) { .main h1 { font-size: 42px; line-height: 48px; } }
.standfirst { font-size: 19px; line-height: 28px; color: var(--ink-2); margin: 0 0 12px; }
@media (min-width: 900px) { .standfirst { font-size: 21px; line-height: 31px; } }
.doc-meta { font-size: 14px; color: var(--ink-3); margin: 0 0 24px; line-height: 1.5; }
.doc-meta .dot { margin: 0 4px; }
.answer { background: var(--tint); border-radius: var(--radius); padding: 18px 20px; margin: 0 0 24px; }
.answer .label { display: block; font-size: 13px; font-weight: 600; color: var(--link); margin-bottom: 6px; }
.answer p { margin: 0; font-size: 18px; line-height: 1.6; }
.toc { margin: 0 0 24px; font-size: 15px; }
.toc details { border: 1px solid var(--line); border-radius: var(--radius-sm); }
.toc summary { cursor: pointer; list-style: none; padding: 12px 16px; font-weight: 600; min-height: 48px; display: flex; align-items: center; justify-content: space-between; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after { content: "+"; color: var(--ink-3); font-weight: 400; font-size: 20px; }
.toc details[open] summary::after { content: "\2212"; }
.toc ol, .toc-col ol { list-style: none; margin: 0; padding: 0 8px 8px; }
.toc a, .toc-col a { display: block; padding: 8px; color: var(--ink-2); text-decoration: none; border-radius: 8px; line-height: 1.35; font-size: 14px; }
.toc a:hover, .toc-col a:hover, .toc-col a.active { color: var(--ink); background: var(--bg-alt); }
.toc-col h2 { font-size: 13px; font-weight: 600; color: var(--ink-3); margin: 0 8px 8px; }
.toc-col ol { padding: 0; }

.prose { font-size: 17px; line-height: 27px; }
@media (min-width: 900px) { .prose { font-size: 18px; line-height: 29px; } }
.prose p, .prose ul, .prose ol { margin: 0 0 1em; }
.prose li { margin: 0 0 .4em; }
.prose ol, .prose ul { padding-left: 1.3em; }
.prose strong { font-weight: 600; }
.prose a { color: var(--link); }
.prose h2 { font-size: 23px; line-height: 29px; letter-spacing: -.01em; margin: 2em 0 .5em; }
@media (min-width: 900px) { .prose h2 { font-size: 28px; line-height: 34px; } }
.prose h3 { font-size: 19px; line-height: 25px; margin: 1.6em 0 .4em; }
.prose code { font-size: .88em; background: var(--bg-alt); padding: 1px 5px; border-radius: 4px; }
figure { margin: 0 0 1.4em; }
figure img { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); }
figure img.tall { width: auto; max-width: 100%; max-height: min(75vh, 640px); margin-inline: auto; }
figure:has(img.tall) figcaption { text-align: center; }
figcaption { font-size: 14px; color: var(--ink-3); margin-top: 8px; }
.callout { background: var(--bg-alt); border-radius: var(--radius-sm); padding: 14px 18px; margin: 0 0 1.2em; }
.callout > :last-child { margin-bottom: 0; }
.callout-warning { background: var(--warn-bg); }
.callout-warning strong { color: var(--warn); }
.table { margin: 0 0 1.4em; overflow-x: auto; }
.table table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.table th { text-align: left; font-weight: 600; border-bottom: 1px solid var(--ink-3); padding: 10px 12px 10px 0; }
.table td { border-bottom: 1px solid var(--line); padding: 10px 12px 10px 0; vertical-align: top; }
/* On a phone each table row becomes a small labelled card. */
@media (max-width: 719px) {
  .table thead { display: none; }
  .table table, .table tbody, .table tr, .table td { display: block; width: 100%; }
  .table tr { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 14px; margin: 0 0 10px; }
  .table td { border: 0; padding: 4px 0; }
  .table td::before { content: attr(data-label); display: block; font-size: 13px; color: var(--ink-3); }
  .table td:first-child { font-weight: 600; }
}
.switch { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 0 0 24px; font-size: 15px; color: var(--ink-2); }
.switch span { margin-right: 6px; }
.switch button { font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 0 16px; min-height: 44px; cursor: pointer; }
.switch button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
[data-show="iphone"] .platform[data-platform="android"], [data-show="android"] .platform[data-platform="iphone"],
[data-show="iphone"] li[data-platform="android"], [data-show="android"] li[data-platform="iphone"] { display: none; }

/* App mention inside the article, and the closing app card */
.appline { display: flex; gap: 14px; align-items: flex-start; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin: 32px 0; font-size: 16px; line-height: 1.5; }
.appline .icon { width: 44px; height: 44px; flex: none; }
.appline p { margin: 0 0 8px; }
.appline .limits { margin: 0 0 8px; font-size: 14px; color: var(--ink-3); }
.appline .waitlist { max-width: none; }
.more { margin: 48px 0 0; }
.more h2 { font-size: 23px; line-height: 29px; margin: 0 0 8px; }
.end { margin-top: 40px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }
.end details { border-bottom: 1px solid var(--line); }
.end summary { cursor: pointer; padding: 14px 0; font-weight: 600; color: var(--ink); list-style: none; }
.end summary::-webkit-details-marker { display: none; }
.end details > :not(summary) { margin: 0 0 14px; }
.end ol { padding-left: 20px; }
.end li { margin: 0 0 6px; }
.end .pub { color: var(--ink-3); }
.end .pub::before { content: ", "; }
.appcard { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; background: var(--tint); border-radius: var(--radius); padding: 20px; margin: 40px 0 0; }
.appcard .icon { width: 56px; height: 56px; }
.appcard .who { flex: 1 1 220px; }
.appcard .who strong { display: block; font-size: 17px; }
.appcard .who span { color: var(--ink-2); font-size: 15px; }
.dark-hero .appcard { --ink: #f3f3f6; --ink-2: #b9bcc6; color: var(--ink); }

/* ---------- Guide index ---------- */
.index-head { padding: 8px 0 8px; }
.index-head .from { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-2); margin: 0 0 12px; }
.index-head .from img { width: 28px; height: 28px; }
.index-head h1 { font-size: 30px; line-height: 36px; letter-spacing: -.02em; margin: 0 0 8px; max-width: 26ch; }
@media (min-width: 900px) { .index-head h1 { font-size: 42px; line-height: 48px; } }
.stickychips { position: sticky; top: 56px; z-index: 10; background: var(--bg); padding: 10px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 720px) { .stickychips { top: 64px; } }
.stickychips .chips { margin-top: 0; }
.search { margin: 16px 0 0; max-width: 560px; }
.search input { width: 100%; min-height: 48px; font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 0 18px; }
.index-topic { padding: 40px 0 8px; }
.index-topic h2 { font-size: 23px; line-height: 29px; margin: 0 0 4px; }
.index-topic > p { color: var(--ink-2); margin: 0 0 12px; }
@media (min-width: 1100px) { .index-topic .rows { columns: 2; column-gap: 48px; } .index-topic .rows li { break-inside: avoid; } .index-topic .rows li:nth-child(2) a { border-top: 1px solid var(--line); } }
.start { display: grid; gap: 12px; margin: 24px 0 0; }
@media (min-width: 900px) { .start { grid-template-columns: repeat(3, 1fr); } }
.start a { display: block; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; text-decoration: none; color: var(--ink); }
.start a:hover { border-color: var(--ink-3); }
.start .t { display: block; font-weight: 600; margin-bottom: 4px; }
.start .s { display: block; color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.empty-search { color: var(--ink-2); margin: 24px 0; }

/* ---------- Footer ---------- */
.site-foot { border-top: 1px solid var(--line); background: var(--bg-alt); padding: 48px 0 40px; font-size: 14px; color: var(--ink-2); margin-top: 0; }
.site-foot h2 { font-size: 13px; font-weight: 600; color: var(--ink-3); margin: 0 0 12px; }
.footapps { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin: 0 0 32px; padding: 0; list-style: none; }
.footapps a { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 600; }
.footapps img { width: 36px; height: 36px; }
.footapps .st { display: block; font-weight: 400; color: var(--ink-3); font-size: 13px; }
.directory { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 24px; margin: 0 0 32px; }
.directory h3 { font-size: 14px; margin: 0 0 8px; color: var(--ink); }
.directory ul { list-style: none; margin: 0; padding: 0; }
.directory li { margin: 0 0 6px; }
.directory a, .legal a { color: var(--ink-2); text-decoration: none; }
.directory a:hover, .legal a:hover { color: var(--ink); text-decoration: underline; }
.legal { display: flex; gap: 8px 22px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 20px; }
.legal span { margin-left: auto; }

/* ---------- Tool pages and beta pages ---------- */
.is-tool .main { max-width: 1040px; }
/* A tool page has no contents column, so on a laptop the article takes the tool's full width, not the reading measure. */
@media (min-width: 1100px) { .doc.is-tool { grid-template-columns: minmax(0, 1040px); } .doc.is-tool > .main { grid-column: 1; } }
.is-tool .tool { margin: 0 0 32px; }
.beta-wrap { padding: 8px 0 64px; }
.beta-wrap h1 { font-size: 32px; line-height: 38px; letter-spacing: -.02em; margin: 0 0 8px; }
.beta-cards { display: grid; gap: 16px; grid-template-columns: 1fr; max-width: 980px; margin-top: 24px; }
@media (min-width: 760px) { .beta-cards { grid-template-columns: 1fr 1fr; } }
.beta-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; font-size: 16px; line-height: 1.55; }
.beta-card h2 { font-size: 20px; margin: 0 0 10px; }
.beta-card p { margin: 0 0 12px; }
.beta-main { border-color: var(--accent); }
.beta-discord { display: flex; align-items: center; justify-content: center; min-height: 48px; margin: 4px 0 12px; font-weight: 600; color: var(--accent-ink); background: var(--accent); border-radius: 999px; text-decoration: none; }
.beta-warn { color: var(--warn); font-size: 14px; }
.beta-form input[type=email] { width: 100%; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--accent); }
.beta-rules { max-width: 980px; margin: 28px 0 0; font-size: 16px; line-height: 1.55; }
.beta-rules h2 { font-size: 18px; margin: 0 0 8px; }
.meta { color: var(--ink-3); font-size: 14px; }
