@font-face { font-family: Jakarta; src: url(fonts/PlusJakartaSans_400Regular.ttf); font-weight: 400; font-display: swap; }
@font-face { font-family: Jakarta; src: url(fonts/PlusJakartaSans_600SemiBold.ttf); font-weight: 600; font-display: swap; }
@font-face { font-family: Jakarta; src: url(fonts/PlusJakartaSans_800ExtraBold.ttf); font-weight: 800; font-display: swap; }

:root {
  /* Daylight: the page is light by default; dark follows the system. */
  --night0: #f7f8fc;   /* page */
  --night1: #eef2fa;   /* surface */
  --night2: #e2e9f6;   /* raised */
  --night3: #cfd9ea;   /* borders */
  --paper: #0b1a33;    /* strongest text */
  --ink: #3b4c6b;      /* body text */
  --muted: #7b89a6;    /* quiet text */
  --signal: #0362ff;
  --signal-ink: #ffffff;
  --cyan: #0362ff;     /* links and underlines */
  --mint: #0a9f6a;     /* done, delivered */
  --coral: #e5484d;
  --amber: #d98a00;
  --brand: linear-gradient(120deg, #0473f5, #02d9fa 50%, #08f7ce);
  --line: rgb(11 26 51 / .1);
  --radius: 22px;
  --gutter: max(20px, calc((100vw - 1160px) / 2));
  --sans: Jakarta, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --night0: #060e1f; --night1: #0d1a33; --night2: #13244a; --night3: #22365c;
    --paper: #eaf1fb; --ink: #b4c1da; --muted: #7f8fae;
    --signal: #3d94ff; --signal-ink: #04102a; --cyan: #5fb0ff; --mint: #2fd79a; --coral: #ff6b78; --amber: #ffb547;
    --line: rgb(255 255 255 / .09);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--night0);
  color: var(--paper);
  font: 400 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { line-height: 1.1; letter-spacing: -0.025em; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; margin-bottom: 14px; }
.kicker { color: var(--ink); max-width: 620px; margin: 0; font-size: 17px; }
.head { margin-bottom: 40px; max-width: 720px; }
.more { color: var(--ink); max-width: 720px; margin: 32px 0 0; font-size: 16px; }
.more a, .kicker a { color: var(--paper); text-decoration: underline; text-decoration-color: var(--cyan); text-underline-offset: 3px; }
section { padding: 88px var(--gutter); position: relative; }
.muted { color: var(--muted); }
code { font: 13px/1.4 var(--mono); background: var(--night1); padding: 2px 6px; border-radius: 6px; color: var(--signal); }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 6px; }
.lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink); max-width: 36em; margin: 20px 0 30px; }
.fine { color: var(--muted); font-size: 14px; margin-top: 22px; }
.fine a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px var(--gutter);
  background: color-mix(in srgb, var(--night0) 82%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 20px; letter-spacing: -0.02em; color: var(--paper); }
.brand img { display: block; }

.nav nav { display: flex; align-items: center; gap: 24px; font-weight: 600; font-size: 15px; }
.nav nav a:not(.button) { color: var(--ink); transition: color .2s; }
.nav nav a:not(.button):hover, .nav nav a[aria-current] { color: var(--paper); }
.menu { display: none; width: 42px; height: 42px; border: 1.5px solid var(--night3); border-radius: 999px; background: none; cursor: pointer; place-items: center; }
.menu svg { width: 22px; height: 22px; stroke: var(--paper); fill: none; stroke-width: 2; stroke-linecap: round; }

/* ---------- Buttons ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 22px; border-radius: 999px; cursor: pointer; white-space: nowrap;
  font-weight: 600; font-size: 15px; border: 1.5px solid var(--night3); background: var(--night0); color: var(--paper);
  transition: transform .15s, background .15s, border-color .15s;
}
.button:hover { transform: translateY(-1px); border-color: var(--muted); }
.button.primary { background: var(--signal); color: var(--signal-ink); border-color: var(--signal); }
.button.primary:hover { border-color: var(--signal); filter: brightness(1.08); }
.button.ghost { background: none; }
.button.small { padding: 9px 16px; font-size: 14px; }
.button.big { padding: 16px 28px; font-size: 17px; }
.button svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.button.big svg { width: 22px; height: 22px; }
.button > span { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.button small { font-weight: 400; font-size: 12px; opacity: .78; }
.button[aria-disabled="true"] { opacity: .5; cursor: default; pointer-events: none; }

/* ---------- Details, footer ---------- */
.card p a, .card li a, .panel a:not(.button) { color: var(--mint); text-decoration: underline; text-underline-offset: 3px; }
details { border-bottom: 1px solid var(--night3); padding: 20px 4px; }
summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: none; color: var(--muted); font-size: 24px; line-height: 1; transition: transform .3s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); margin: 12px 0 0; }

footer {
  display: flex; align-items: center; gap: 14px 22px; justify-content: center; flex-wrap: wrap;
  padding: 40px var(--gutter) 56px; color: var(--muted); font-size: 14px; font-weight: 600; border-top: 1px solid var(--line);
}
footer a { color: var(--ink); }
footer a:hover { color: var(--paper); }
footer .brand { font-size: 16px; margin-right: 8px; }


/* ---------- Cards in a grid (install page) ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid.four { grid-template-columns: repeat(4, 1fr); }
.grid article, .card { padding: 24px; border-radius: 18px; background: var(--night1); border: 1px solid var(--line); }
.grid h3, .card h3 { font-size: 18px; margin-bottom: 8px; }
.grid p, .card p, .card li { color: var(--ink); font-size: 15px; margin: 0; }
.platicon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.version { color: var(--muted); font-size: 15px; }

/* ---------- Install page ---------- */
.install-head { padding-top: 64px; padding-bottom: 24px; text-align: center; }
.install-head h1 { font-size: clamp(36px, 5.4vw, 60px); margin-inline: auto; }
.install-head .lede { margin: 18px auto 22px; text-align: center; }
.notice { display: inline-block; padding: 10px 16px; border-radius: 14px; background: var(--night1); border: 1px solid var(--line); font-size: 15px; color: var(--ink); }
.notice b { color: var(--paper); }
.notice button { background: none; border: 0; padding: 0; color: var(--mint); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.platforms { padding-top: 24px; }
.plat-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 28px; }
.plat-tabs button {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--night3); background: color-mix(in srgb, var(--night1) 60%, transparent); font-weight: 600; font-size: 15px; color: var(--ink);
  transition: border-color .2s, background .2s, color .2s; position: relative;
}
.plat-tabs button:hover { border-color: var(--cyan); }
.plat-tabs button[aria-selected="true"] { background: var(--paper); border-color: var(--paper); color: var(--night0); }
.plat-tabs button .you { position: absolute; top: -9px; right: 10px; padding: 1px 7px; border-radius: 999px; background: var(--mint); color: var(--night0); font-size: 10px; font-weight: 800; letter-spacing: .04em; }
@keyframes pop { from { opacity: 0; transform: translateY(8px); } }
.panel {
  max-width: 920px; margin: 0 auto; padding: 36px; border-radius: 30px;
  background: var(--night1); border: 1px solid var(--line);
  animation: pop .4s;
}
.panel-head { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: flex-start; margin-bottom: 24px; }
.panel-head h2 { text-align: left; margin: 0 0 6px; font-size: clamp(26px, 3.4vw, 34px); }
.panel-head p { margin: 0; color: var(--muted); }
.panel .downloads { display: flex; flex-wrap: wrap; gap: 12px; }
.req { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.req span { font-size: 13.5px; color: var(--ink); padding: 5px 11px; border-radius: 999px; background: var(--night2); border: 1px solid var(--line); }
.progress { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; font-size: 14px; color: var(--muted); }
.progress .track { flex: 1; height: 6px; border-radius: 999px; background: var(--night2); overflow: hidden; }
.progress .fill { height: 100%; width: 0; background: var(--mint); border-radius: 999px; transition: width .4s ease; }
.progress button { background: none; border: 0; color: var(--mint); padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; font-size: 14px; }
.steps { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-direction: column; gap: 10px; counter-reset: step; }
.steps li { counter-increment: step; }
.steps label {
  display: grid; grid-template-columns: 34px 1fr auto; gap: 14px; align-items: start; padding: 14px 16px; border-radius: 16px; cursor: pointer; position: relative;
  border: 1px solid var(--line); background: color-mix(in srgb, var(--night1) 60%, transparent); transition: border-color .2s, background .2s;
}
.steps label:hover { border-color: color-mix(in srgb, var(--signal) 45%, transparent); }
.steps input { position: absolute; opacity: 0; width: 0; height: 0; }
.steps .num { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--night2); font-weight: 800; font-size: 14px; transition: background .3s; }
.steps .num::before { content: counter(step); }
.steps b { display: block; font-size: 16px; }
.steps small { display: block; color: var(--muted); font-size: 14px; line-height: 1.5; margin-top: 2px; }
.steps small code { font-size: 12.5px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.steps .check { width: 24px; height: 24px; border-radius: 8px; border: 2px solid var(--night3); display: grid; place-items: center; transition: background .2s, border-color .2s; }
.steps .check svg { width: 14px; height: 14px; fill: none; stroke: var(--night0); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.steps input:checked ~ .num { background: var(--mint); color: var(--night0); }
.steps input:checked ~ .check { background: var(--mint); border-color: var(--mint); }
.steps input:checked ~ .check svg { opacity: 1; }
.steps input:checked ~ .text b { color: var(--muted); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--muted) 50%, transparent); }
.steps input:focus-visible ~ .check { outline: 2px solid var(--cyan); outline-offset: 2px; }
.steps .text a { color: var(--mint); text-decoration: underline; text-underline-offset: 3px; }
.panel .note { font-size: 14px; color: var(--muted); border-left: 2px solid color-mix(in srgb, var(--mint) 45%, transparent); padding-left: 12px; margin: 0 0 18px; }
.panel .note.warn { border-color: color-mix(in srgb, var(--amber) 60%, transparent); }
.panel details { border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px; margin-top: 12px; }
.panel details summary { font-size: 16px; }
.panel details p, .panel details li { color: var(--muted); font-size: 15px; }
.panel details ul { margin: 10px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.panel pre { margin: 10px 0 0; padding: 14px 16px; overflow-x: auto; background: var(--night0); border: 1px solid var(--night3); border-radius: 12px; }
.panel pre code { background: none; padding: 0; color: var(--paper); font-size: 13.5px; }
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 24px; }
.panel .choice a { text-decoration: none; }
.choice a { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--night3); background: color-mix(in srgb, var(--night1) 60%, transparent); transition: border-color .2s, transform .2s; }
.choice a:hover { border-color: var(--cyan); transform: translateY(-2px); }
.choice b { font-size: 16px; }
.choice small { color: var(--muted); font-size: 13.5px; }
.beta-steps { display: flex; flex-direction: column; gap: 10px; margin: 0 0 18px; }
.beta-step {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px;
  border: 1px solid var(--night3); background: color-mix(in srgb, var(--night1) 60%, transparent);
  transition: border-color .2s, opacity .2s, transform .2s;
}
.beta-step:hover { border-color: var(--cyan); transform: translateY(-2px); }
.beta-step b { display: block; font-size: 15.5px; }
.beta-step small { display: block; color: var(--muted); font-size: 13px; }
.beta-step .num { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--signal); font-weight: 800; font-size: 14px; }
.beta-step.done .num { background: var(--mint); color: var(--night0); font-size: 0; }
.beta-step.done .num::after { content: "✓"; font-size: 15px; }
.beta-step[aria-disabled] { opacity: .45; cursor: not-allowed; }
.beta-step[aria-disabled]:hover { border-color: var(--night3); transform: none; }
.beta-step[aria-disabled] .num { background: var(--night3); }
.beta-hint { font-size: 13px; color: var(--muted); margin: 0; }
.beta-hint button { background: none; border: 0; padding: 0; color: var(--mint); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.after .grid { max-width: 920px; margin: 32px auto 0; }
.after .grid article { padding: 22px; }
.after .grid h3 { font-size: 17px; }
.after .grid p { font-size: 14.5px; }
.sums table { width: 100%; max-width: 920px; margin: 0 auto; border-collapse: collapse; font-size: 14px; }
.sums th, .sums td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--night3); color: var(--ink); vertical-align: top; }
.sums th { color: var(--paper); font-weight: 600; }
.sums code { word-break: break-all; font-size: 12px; }
.sums button { margin-left: 8px; padding: 2px 8px; border-radius: 6px; border: 1px solid var(--night3); background: none; font-size: 12px; cursor: pointer; }
.sums button:hover { border-color: var(--cyan); }

/* ---------- Docs (relay, privacy, tools and everything under /docs/) ---------- */
.doc { max-width: 760px; margin: 0 auto; padding: 48px 20px 96px; }
.doc h1 { font-size: clamp(36px, 4.6vw, 56px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; margin: 0 0 14px; }
.doc h2 { font-size: 26px; text-align: left; letter-spacing: -0.02em; margin: 48px 0 10px; scroll-margin-top: 90px; }
.doc h3 { font-size: 18px; margin: 28px 0 10px; scroll-margin-top: 90px; }
.doc p { color: var(--ink); margin: 0 0 14px; max-width: 65ch; }
.doc .lede { color: var(--ink); font-size: clamp(18px, 1.5vw, 21px); margin: 0 0 18px; max-width: 34em; }
/* Cartoon art at the top of a page. It has no background of its own, so it sits straight on the page. */
.page-art { display: block; width: 100%; max-width: 540px; height: auto; margin: 8px 0 28px; }
.page-art.small { max-width: 300px; }
.page-art.center { max-width: 440px; margin: 32px auto 0; }
.doc a { color: var(--signal); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, var(--signal) 40%, transparent); }
.doc a:hover { text-decoration-color: var(--signal); }
.doc strong { color: var(--paper); }
.doc ul, .doc ol { color: var(--ink); margin: 0 0 14px; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; max-width: 65ch; }
.doc li strong { color: var(--paper); }
.doc pre { margin: 0 0 18px; padding: 18px; overflow-x: auto; background: #0b1a33; border: 0; border-radius: 14px; }
.doc pre code { background: none; border: 0; padding: 0; color: #eaf1fb; font-size: 13px; line-height: 1.65; }
.doc :not(pre) > code { background: var(--night1); color: var(--signal); padding: 1px 6px; border-radius: 6px; overflow-wrap: anywhere; }
.doc pre .c { color: #93a1be; }
.doc .table { overflow-x: auto; margin: 0 0 22px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 12px; border-bottom: 1px solid var(--night3); color: var(--ink); vertical-align: top; }
.doc th { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: 10px 12px; border-bottom-width: 1.5px; }
.doc td:first-child { color: var(--paper); font-weight: 600; }
.doc .buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 36px; }
.doc .buttons .button { color: var(--paper); text-decoration: none; }
.doc .callout { position: relative; padding: 14px 16px 14px 30px; border-radius: 14px; background: var(--night1); margin: 0 0 18px; max-width: none; }
.doc .callout::before { content: ""; position: absolute; left: 12px; top: 12px; bottom: 12px; width: 4px; border-radius: 2px; background: var(--signal); }
.doc .callout.warn { background: color-mix(in srgb, var(--amber) 14%, transparent); } .doc .callout.warn::before { background: var(--amber); }
.doc .callout > :last-child { margin-bottom: 0; }
.doc .table td:first-child { width: 28%; }
.doc .table td:first-child code { overflow-wrap: anywhere; }
.doc .toc { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; margin: 0 0 28px; padding: 14px 16px; border: 1.5px solid var(--night3); border-radius: 14px; }
.doc .toc a { color: var(--ink); text-decoration: none; padding: 5px 10px; border-radius: 999px; background: var(--night1); }
.doc .toc a:hover { color: var(--signal); }
.doc details { margin: 0 0 18px; }
.doc details pre { margin: 12px 0 0; }
.doc.wide { max-width: 900px; }

/* Docs: "On this page" floats in the corner and folds into a pill. site.js moves the list here. */
.tocf { position: fixed; z-index: 30; top: 84px; right: 20px; font-size: 14px; }
.tocf-pill, .tocf-card { background: color-mix(in srgb, var(--night0) 92%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1.5px solid var(--night3); box-shadow: 0 10px 30px rgb(11 26 51 / .12); }
.tocf-pill { display: flex; align-items: center; gap: 8px; margin-left: auto; padding: 9px 15px 9px 12px; border-radius: 999px; font: 600 14px var(--sans); color: var(--paper); cursor: pointer; transition: border-color .15s; }
.tocf-pill:hover { border-color: var(--muted); }
.tocf-pill span { max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tocf-pill .chev { width: 16px; height: 16px; color: var(--muted); }
.tocf svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tocf-card { width: 252px; border-radius: 18px; padding: 8px 8px 10px; transform-origin: top right; animation: tocf-in .16s ease-out; }
.tocf.open .tocf-pill, .tocf:not(.open) .tocf-card { display: none; }
.tocf-head { display: flex; align-items: center; justify-content: space-between; padding: 4px 4px 6px 12px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tocf-fold { display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 999px; background: none; color: var(--muted); cursor: pointer; }
.tocf-fold:hover { background: var(--night1); color: var(--paper); }
.tocf-list { position: relative; display: flex; flex-direction: column; gap: 1px; max-height: calc(100vh - 170px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; padding: 0 4px; }
.tocf-list a { display: block; padding: 6px 10px 6px 12px; border-left: 2px solid var(--night3); color: var(--ink); text-decoration: none; line-height: 1.35; transition: color .15s, border-color .15s; }
.tocf-list a:hover { color: var(--paper); }
.tocf-list a[aria-current] { color: var(--signal); border-left-color: var(--signal); font-weight: 600; }
@keyframes tocf-in { from { opacity: 0; transform: scale(.96); } }
@media (prefers-color-scheme: dark) { .tocf-pill, .tocf-card { box-shadow: 0 10px 30px rgb(0 0 0 / .45); } }
/* Phones: the pill sits at the bottom, by the thumb. */
@media (max-width: 700px) {
  .tocf { top: auto; bottom: 16px; right: 16px; left: 16px; display: flex; flex-direction: column; align-items: flex-end; pointer-events: none; }
  .tocf > * { pointer-events: auto; }
  .tocf-card { width: min(100%, 340px); transform-origin: bottom right; }
  .tocf-list { max-height: 55vh; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid, .grid.four { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  section { padding-top: 64px; padding-bottom: 64px; }
  .nav nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 16px; background: color-mix(in srgb, var(--night0) 97%, transparent); border-bottom: 1px solid var(--line); display: none; }
  .nav nav a { padding: 12px 0; }
  .nav nav .button { margin-top: 8px; }
  .nav.open nav { display: flex; }
  .menu { display: grid; }
  .grid, .grid.four, .choice { grid-template-columns: 1fr; }
  .ctas > * { width: 100%; justify-content: center; }
  .panel { padding: 24px 18px; border-radius: 22px; }
  .steps label { grid-template-columns: 30px 1fr auto; padding: 12px; }
  .steps .num { width: 30px; height: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Tools: the theme pack checker ---------- */
.checker { display: flex; flex-direction: column; gap: 14px; margin: 0 0 18px; }
.checker .buttons { margin: 0; }
.drop { display: flex; align-items: center; gap: 14px; padding: 18px; border: 1.5px dashed var(--night3); border-radius: 16px; background: var(--night1); cursor: pointer; color: var(--ink); transition: border-color .2s, background .2s; }
.drop:hover, .drop.over, .drop:focus-within { border-color: var(--cyan); background: color-mix(in srgb, var(--signal) 6%, transparent); }
.drop svg { width: 28px; height: 28px; flex: none; fill: none; stroke: var(--cyan); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.drop > span { display: flex; flex-direction: column; line-height: 1.4; }
.drop b { color: var(--paper); font-weight: 600; }
.drop small { color: var(--muted); font-size: 13px; }
.checker textarea { width: 100%; min-height: 180px; resize: vertical; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--night3); background: var(--night1); color: var(--paper); font: 13.5px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; }
.checker textarea:focus { outline: none; border-color: var(--cyan); }
.result { padding: 16px 18px; border-radius: 14px; border: 1px solid var(--night3); background: var(--night1); }
.result.ok { border-color: color-mix(in srgb, var(--mint) 50%, transparent); }
.result.bad { border-color: color-mix(in srgb, var(--coral) 55%, transparent); background: color-mix(in srgb, var(--coral) 6%, transparent); }
.result > b { display: block; color: var(--paper); margin-bottom: 8px; }
.result.ok > b:first-child { color: var(--mint); }
.result.bad > b:first-child { color: var(--coral); }
.result > b.warn { color: var(--amber); margin-top: 14px; }
.result p { margin: 0 0 8px; overflow-wrap: anywhere; }
.result ul { margin: 0; }
.after h2, .sums h2, .sums .kicker { max-width: 920px; margin-inline: auto; }
