/* Tumme: one search, lots of air. Fonts are served from this site (no third-party font host). */
@font-face { font-family: "Geist"; src: url(fonts/geist.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url(fonts/geist-mono.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
:root {
  --ground: #f6f5f1;
  --paper: #ffffff;
  --ink: #16181c;
  --ink-2: #464b54;
  --ink-3: #5a5f69;
  --line: rgba(22, 24, 28, 0.08);
  --line-2: rgba(22, 24, 28, 0.14);
  --accent: #2747c9;
  --good: #0d6a45;
  --warn: #8f3412;

  --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --wrap: 1120px;
  --gutter: 20px;
  color-scheme: light;
}
@media (min-width: 760px) { :root { --gutter: 40px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; scroll-padding-bottom: 96px; }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font: 400 16px/1.55 var(--sans); font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; z-index: 50; top: 8px; left: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; }
.muted { color: var(--ink-3); }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- top ---------- */
.top { position: relative; z-index: 2; }
.top__bar { display: flex; align-items: center; justify-content: space-between; height: 64px; max-width: none; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.brand__mark { width: 20px; height: 20px; fill: var(--ink); }
.brand__word { font: 600 16px/1 var(--sans); letter-spacing: -0.01em; }
.nav { display: flex; gap: 24px; }
.nav a { text-decoration: none; font-size: 14.5px; color: var(--ink-2); }
.nav a:hover { color: var(--ink); }
.disclose { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 22px; margin: 0 auto; padding: 0 var(--gutter); font-size: 13px; line-height: 1.45; color: var(--ink-2); }
.disclose .ok { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.disclose .ok::before { content: ""; width: 12px; height: 12px; flex: none; background: var(--good);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.4 4.8 9 10 3' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.4 4.8 9 10 3' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.disclose a { color: var(--ink); text-underline-offset: 3px; text-decoration-color: var(--line-2); white-space: nowrap; }
.disclose a:hover { text-decoration-color: currentColor; }

/* ---------- hero: the input is the page ---------- */
.hero { position: relative; display: flex; flex-direction: column; min-height: calc(100svh - 92px); }
.hero__center { margin: auto 0; padding: 32px 0 40px; }
.hero__inner { width: min(680px, 100% - 2 * var(--gutter)); margin: 0 auto; text-align: center; }
.hero__more { width: min(680px, 100% - 2 * var(--gutter)); margin: 0 auto; text-align: center; }
.hero__title { margin: 0 0 28px; font: 500 clamp(30px, 3.6vw, 44px)/1.1 var(--sans); letter-spacing: -0.035em; }
.ask {
  position: relative; display: flex; align-items: center; height: 60px; padding: 0 8px 0 24px;
  background: var(--paper); border-radius: 30px; border: 1px solid rgba(22, 24, 28, 0.1);
  box-shadow: 0 1px 2px rgba(22, 24, 28, 0.04), 0 12px 32px -16px rgba(22, 24, 28, 0.18);
  transition: border-color .15s, box-shadow .15s;
}
.ask:focus-within { border-color: rgba(22, 24, 28, 0.28); box-shadow: 0 1px 2px rgba(22, 24, 28, 0.04), 0 16px 40px -16px rgba(22, 24, 28, 0.25); }
.ask input { flex: 1; min-width: 0; height: 100%; border: 0; outline: none; background: transparent; font-size: 17px; }
.ask input::placeholder { color: #6d727c; }
.ask input::-webkit-search-cancel-button { -webkit-appearance: none; }
.ask__go, .dock button {
  flex: none; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: var(--ink); color: #fff; cursor: pointer; transition: transform .1s, background-color .15s;
}
.ask__go:hover, .dock button:hover { background: #343841; }
.ask__go:active, .dock button:active { transform: scale(.94); }
.ask__go svg, .dock button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.try { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 2px 4px; margin: 22px 0 0; font-size: 13.5px; color: var(--ink-2); }
.try__l { margin-right: 4px; }
.chip { border: 0; background: none; padding: 2px 4px; font-size: 13.5px; color: var(--ink); cursor: pointer;
  text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; transition: text-decoration-color .15s; }
.chip:hover { text-decoration-color: currentColor; }
.chip + .chip::before { content: "·"; display: inline-block; margin: 0 8px 0 -4px; color: var(--ink-3); text-decoration: none; }
.hero__method { max-width: 30em; margin: 14px auto 0; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); text-wrap: balance; }
.status { margin: 0; display: flex; align-items: center; gap: 8px; font: 400 12px/1 var(--mono); letter-spacing: .02em; color: var(--ink-2); }
.status__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--good); animation: watch 2.4s ease-out infinite; }
@keyframes watch { 0% { box-shadow: 0 0 0 0 rgba(13, 106, 69, .35); } 70%, 100% { box-shadow: 0 0 0 6px rgba(13, 106, 69, 0); } }
@media (max-width: 759px) {
  .hero { min-height: auto; }
  .hero__center { padding: 32px 0 28px; }
  .hero__inner, .hero__more { width: auto; margin: 0 var(--gutter); text-align: left; }
  .hero__title { font-size: 30px; margin-bottom: 20px; }
  .ask { height: 56px; padding-left: 18px; }
  .ask input { font-size: 16px; }
  .try { flex-wrap: nowrap; justify-content: flex-start; margin: 18px calc(-1 * var(--gutter)) 0; padding-inline: var(--gutter); overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
  .try::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .hero__method { margin-left: 0; }
  .status { font-size: 11.5px; }
  .disclose { justify-content: flex-start; gap: 2px 14px; font-size: 12.5px; }
}

/* ---------- bands ---------- */
.band { position: relative; padding: clamp(96px, 12vw, 176px) 0 0; }
.head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 64px); }
.label { margin: 0 0 14px; font: 400 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.h2 { margin: 0; font: 500 clamp(26px, 2.8vw, 34px)/1.15 var(--sans); letter-spacing: -0.03em; text-wrap: balance; }
.lede { margin: 14px 0 0; font-size: 15.5px; color: var(--ink-2); max-width: 36em; }

/* ---------- one pill component: category row under the search and the grid filter ---------- */
.f {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 15px; flex: none;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, .6); border-radius: 999px;
  font-size: 14px; font-weight: 500; color: var(--ink); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.f--img { padding-left: 5px; padding-right: 14px; }
.f__img { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.f__img img { width: calc(var(--s, .8) * 100%); height: calc(var(--s, .8) * 100%); max-width: none; object-fit: contain; transform: translate(var(--tx, 0), var(--ty, 0)); }
.f__n { font: 400 12px/1 var(--mono); color: var(--ink-2); }
.f:hover { border-color: rgba(22, 24, 28, .32); background: #fff; }
.f[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.f[aria-pressed="true"] .f__n { color: rgba(255, 255, 255, .78); }

.cats-wrap { width: min(1120px, 100% - 2 * var(--gutter)); margin: 16px auto 0; }
@media (max-width: 1199px) {
  .cats-wrap { width: 100%; }
  .cats { padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
}
.cats { display: flex; justify-content: safe center; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-block: 2px; }
.cats::-webkit-scrollbar { display: none; }
.cats .f__n { display: none; }

.filters { display: flex; gap: 6px; margin: 0 0 20px; overflow-x: auto; scrollbar-width: none; padding: 2px 0; }
.filters::-webkit-scrollbar { display: none; }
@media (max-width: 1199px) { .filters { margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); } }

@media (max-width: 759px) {
  .cats-wrap { width: 100%; }
  .cats, .filters { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .filters { margin-inline: calc(-1 * var(--gutter)); }
  .cats::-webkit-scrollbar, .filters::-webkit-scrollbar { display: none; }
}

/* first-screen shelf: the light card (card.css) */
.shelf { width: 100%; padding-bottom: 32px; }
.shelf__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.shelf__head .label { margin: 0; }
@media (max-width: 759px) {
  .shelf { padding-bottom: 20px; }
  .status__x { display: none; }
}

/* results bar: count left, sort right; sticks while the grid scrolls */
.results { position: relative; }
.bar { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 52px; margin: 0 0 24px; border-bottom: 1px solid var(--line-2); }
.bar[data-stuck]::before { content: ""; position: absolute; inset: 0 calc(50% - 50vw) -1px; z-index: -1; border-bottom: 1px solid var(--line-2);
  background: rgba(246, 245, 241, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.bar__n { margin: 0; font-size: 14px; color: var(--ink-2); }
.bar__n b { font-weight: 600; color: var(--ink); }
.sort { display: flex; align-items: center; gap: 4px; font-size: 14px; }
.sort__l { color: var(--ink-2); margin-right: 4px; }
.sort button { border: 0; background: none; padding: 6px 10px; border-radius: 999px; color: var(--ink-2); cursor: pointer; }
.sort button:hover { color: var(--ink); }
.sort button[aria-pressed="true"] { background: rgba(22, 24, 28, .07); color: var(--ink); font-weight: 500; }
.sort button:last-child { margin-right: -10px; }
.sort__sel { display: none; }
@media (max-width: 759px) {
  .bar { height: 48px; margin-bottom: 20px; }
  .bar__n { font-size: 13.5px; }
  .sort { display: none; }
  .sort__sel { display: block; position: relative; }
  .sort__sel select { appearance: none; -webkit-appearance: none; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; height: 34px; padding: 0 30px 0 12px; font: 500 13.5px var(--sans); color: var(--ink); }
  .sort__sel::after { content: ""; position: absolute; right: 13px; top: 13px; width: 6px; height: 6px; border: solid var(--ink-2); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); pointer-events: none; }
}

.proofline { margin: clamp(64px, 8vw, 104px) 0 0; padding-top: 20px; border-top: 1px solid var(--line-2); font: 400 12.5px/1.7 var(--mono); color: var(--ink-2); }
.proofline strong { font-weight: 500; color: var(--ink); }
.promise { margin: 10px 0 0; font-size: 14px; color: var(--ink-2); }
.promise a { color: var(--ink); text-underline-offset: 3px; text-decoration-color: var(--line-2); }

/* ---------- footer ---------- */
.foot { position: relative; padding: clamp(120px, 14vw, 200px) 0 40px; }
.foot__grid { display: grid; grid-template-columns: 1fr 1.6fr 1fr; gap: 32px; padding-top: 28px; border-top: 1px solid var(--line-2); align-items: start; }
.foot__co { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; margin: 0; }
.foot__co dt { font: 400 11.5px/1.4 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: #3b4048; }
.foot__co dd { margin: 3px 0 0; font-size: 14.5px; }
.foot__co a, .foot__nav a { text-underline-offset: 3px; text-decoration-color: var(--line-2); }
.foot__nav { display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; }
.foot__nav a:hover, .foot__co a:hover { text-decoration-color: currentColor; }
.foot__fine { margin: 40px 0 0; font-size: 14px; color: var(--ink-2); }
@media (max-width: 899px) { .foot__grid { grid-template-columns: 1fr; } }

/* ---------- phone dock: the input follows you ---------- */
.dock {
  position: fixed; z-index: 20; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 6px; height: 54px; padding: 0 5px 0 20px; border-radius: 27px;
  background: rgba(255, 255, 255, .97); border: 1px solid rgba(22, 24, 28, .1); box-shadow: 0 16px 40px -14px rgba(22, 24, 28, .28);
  transform: translateY(calc(100% + 24px)); transition: transform .32s cubic-bezier(.2, .8, .2, 1);
}
.dock[data-on] { transform: none; }
.dock input { flex: 1; min-width: 0; height: 100%; border: 0; outline: none; background: transparent; font-size: 16px; }
@media (min-width: 900px) { .dock { left: 50%; right: auto; width: 520px; margin-left: -260px; } }

/* ---------- inner pages ---------- */
.doc { padding: clamp(56px, 8vw, 120px) 0 0; }
.doc__grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; align-items: end; }
.doc__title { margin: 0; font: 500 clamp(32px, 4vw, 48px)/1.08 var(--sans); letter-spacing: -0.035em; text-wrap: balance; }
.doc__lede { margin: 18px 0 0; font-size: 16.5px; color: var(--ink-2); max-width: 34em; }
.tally { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.tally li { display: flex; align-items: baseline; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line-2); font-size: 14px; color: var(--ink-2); }
.tally b { min-width: 2.6ch; font: 500 22px/1 var(--sans); letter-spacing: -0.02em; color: var(--ink); text-align: right; }
.doc__body { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 72px; margin-top: clamp(72px, 9vw, 120px); align-items: start; }
.toc { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 10px; }
.toc a { text-decoration: none; font-size: 14px; color: var(--ink-2); }
.toc a:hover { color: var(--ink); }
.prose { max-width: 640px; }
.prose section { margin-bottom: 72px; }
.prose h2 { margin: 0 0 16px; font: 500 24px/1.2 var(--sans); letter-spacing: -0.025em; }
.prose h3 { margin: 0 0 10px; font: 500 16px/1.3 var(--sans); }
.prose p, .prose li { font-size: 16px; line-height: 1.65; color: #2c3038; }
.prose p { margin: 0 0 14px; }
.prose ul { padding-left: 18px; margin: 0 0 14px; }
.prose li { margin-bottom: 4px; }
.prose a { text-underline-offset: 3px; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 8px 0 20px; border-top: 1px solid var(--line-2); }
.facts div { padding: 12px 16px 12px 0; border-bottom: 1px solid var(--line-2); }
.facts dt { font: 400 11.5px/1.4 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); }
.facts dd { margin: 3px 0 0; font-size: 16px; }
.steps { list-style: none; padding: 0; margin: 8px 0 20px; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 2px 8px; padding: 14px 0; border-top: 1px solid var(--line-2); margin: 0; }
.steps li::before { counter-increment: s; content: "0" counter(s); grid-row: span 2; font: 400 12px/1.9 var(--mono); color: var(--ink-2); }
.steps strong { font-weight: 500; color: var(--ink); }
.steps span { color: var(--ink-2); }
.scale { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 8px 0 20px; }
.scale > div { padding-top: 14px; border-top: 1px solid var(--line-2); }
.scale > div.never { border-top-color: var(--ink); }
.callout { margin: 18px 0; padding: 16px 20px; border-left: 2px solid var(--ink); }
.callout p:last-child { margin-bottom: 0; }
.updated, .prose .updated { font: 400 12px/1.5 var(--mono); color: var(--ink-2); }
@media (max-width: 899px) {
  .doc__grid { grid-template-columns: 1fr; gap: 32px; }
  .doc__body { grid-template-columns: 1fr; gap: 32px; }
  .toc { position: static; flex-direction: row; flex-wrap: wrap; gap: 6px 16px; }
  .scale, .facts { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}


/* where the stars come from, right at the grid (MFL 12 c §) */
.srcline { margin: 0 0 18px; font: 400 14px/1.5 var(--sans); color: var(--ink-2); }
.srcline a { color: var(--ink); }

/* The error page: the search field under the lede. */
.ask--doc { margin: 28px 0 16px; max-width: 560px; }
