/* =============================================================================
   Extract My Leads: marketing site
   Direction (unslop pass, 2026-12-04):
   - Product: a Chrome extension that saves the contact details a page shows
     on 10 sites into one list you can export.
   - Character: resourceful, exact, a little cheeky.
   - World: a browser full of profiles, and a researcher's card file.
   - Moments: the hero browser you can click through, and the index card a
     capture lands on.
   - Signature: mono field stamps ("phone ✓") on index cards.
   Quiet warm-paper chrome, one ink-blue accent, serif headlines, mono labels.
   Fonts are self-hosted (CSP font-src 'self'), SIL Open Font License.
   ============================================================================= */

@font-face { font-family: "Instrument Sans"; src: url("/fonts/instrument-sans-var.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/fonts/instrument-serif-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/fonts/jetbrains-mono-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/fonts/jetbrains-mono-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

:root {
  /* Ink blue: the extension's own blue, deepened to read as pen ink on paper */
  --accent: #2350c8;
  --accent-hover: #1d44ad;
  --accent-press: #1a3d9c;
  --accent-text: #2350c8;
  --accent-tint: rgba(35, 80, 200, .08);
  --accent-tint-2: rgba(35, 80, 200, .14);
  --on-accent: #ffffff;
  --green: #16803c;
  --green-tint: rgba(22, 128, 60, .1);
  --amber: #a14a00;
  --amber-tint: rgba(161, 74, 0, .1);

  /* Warm paper ramp */
  --bg: #f7f4ee;
  --bg-alt: #f0ebe2;
  --surface: #fdfbf7;
  --surface-2: #efe9df;
  --surface-3: #e3dbce;
  --line: rgba(31, 27, 22, .1);
  --line-strong: rgba(31, 27, 22, .18);
  --text: #1f1b16;
  --text-2: #4d453b;
  --text-3: #5e554a;
  --text-4: #7b7266;
  --ink: #1f1b16;
  --on-ink: #f7f4ee;

  /* The index card: cream stock, a red top rule, blue ruled lines */
  --card-stock: #fffdf6;
  --card-ink: #1f1b16;
  --card-rule: #d2533b;
  --card-line: rgba(35, 80, 200, .14);

  --shadow-sm: 0 1px 2px rgba(31, 27, 22, .06);
  --shadow: 0 1px 2px rgba(31, 27, 22, .05), 0 8px 24px rgba(31, 27, 22, .07);
  --shadow-lg: 0 2px 6px rgba(31, 27, 22, .06), 0 24px 56px -16px rgba(31, 27, 22, .22);

  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --container: 1200px;
  --container-narrow: 760px;
  --gutter: clamp(20px, 4vw, 32px);
  --header-h: 64px;

  --font: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Instrument Serif", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --fs-hero: clamp(2.75rem, 1.6rem + 4.4vw, 5rem);
  --fs-1: clamp(2.5rem, 1.7rem + 2.8vw, 3.75rem);
  --fs-2: clamp(2.125rem, 1.6rem + 1.9vw, 3rem);
  --fs-3: clamp(1.5rem, 1.3rem + .7vw, 1.875rem);
  --fs-lede: clamp(1.0625rem, 1rem + .3vw, 1.25rem);
  --fs-body: 1.0625rem;
  --fs-sm: .9375rem;
  --fs-xs: .8125rem;
  --fs-mono: .75rem;

  --ease: cubic-bezier(.22, 1, .36, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --accent: #e9e3d8;
    --accent-hover: #ffffff;
    --accent-press: #d6cfc2;
    --accent-text: #8fabff;
    --accent-tint: rgba(143, 171, 255, .12);
    --accent-tint-2: rgba(143, 171, 255, .2);
    --on-accent: #161513;
    --green: #4cc38a;
    --green-tint: rgba(76, 195, 138, .14);
    --amber: #f0a14a;
    --amber-tint: rgba(240, 161, 74, .14);

    --bg: #161513;
    --bg-alt: #12110f;
    --surface: #1c1a18;
    --surface-2: #262421;
    --surface-3: #312e2a;
    --line: rgba(239, 233, 222, .09);
    --line-strong: rgba(239, 233, 222, .16);
    --text: #efe9de;
    --text-2: #d3ccc0;
    --text-3: #aaa398;
    --text-4: #8f887d;
    --ink: #0f0e0c;
    --on-ink: #efe9de;

    --card-stock: #f6f0e2;
    --card-line: rgba(35, 80, 200, .16);

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 8px 24px rgba(0, 0, 0, .3);
    --shadow-lg: 0 2px 8px rgba(0, 0, 0, .4), 0 28px 64px -16px rgba(0, 0, 0, .65);
  }
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

body {
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-text); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
code { font-family: var(--font-mono); font-size: .85em; background: var(--surface-2); border: 1px solid var(--line); padding: 1px 6px; border-radius: 6px; }
.mono { font-family: var(--font-mono); font-size: var(--fs-mono); font-variant-numeric: tabular-nums; }

:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 2px; border-radius: 6px; }

.skip-link {
  position: absolute; top: -100px; left: 12px; z-index: 1000;
  background: var(--ink); color: var(--on-ink); padding: 8px 16px;
  border-radius: var(--radius-sm); font-weight: 500;
}
.skip-link:focus { top: 12px; color: var(--on-ink); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* -----------------------------------------------------------------------------
   Layout
   ----------------------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { width: 100%; max-width: var(--container-narrow); margin-inline: auto; padding-inline: var(--gutter); }

.section { padding-block: clamp(72px, 9vw, 128px); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--alt { background: var(--bg-alt); }
.section--flush-top { padding-top: 0; }

.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.kicker {
  display: inline-block;
  font-family: var(--font-mono); font-size: var(--fs-mono);
  color: var(--text-3);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: var(--fs-2);
  font-weight: 400;
  letter-spacing: -0.012em;
  line-height: 1.06;
  color: var(--text);
  text-wrap: balance;
}
.section-lede {
  margin-top: 16px;
  font-size: var(--fs-lede);
  line-height: 1.5;
  color: var(--text-3);
  text-wrap: pretty;
  max-width: 38em;
}
.section-head--center .section-lede { margin-inline: auto; max-width: 620px; }

/* -----------------------------------------------------------------------------
   Buttons
   ----------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px;
  font-size: var(--fs-sm); font-weight: 500;
  border-radius: var(--radius-sm); border: 1px solid transparent;
  white-space: nowrap; line-height: 1;
  transition: background-color .16s var(--ease), color .16s var(--ease), border-color .16s var(--ease), transform .12s var(--ease);
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(.98); }
.btn-sm { min-height: 36px; padding: 0 16px; font-size: var(--fs-xs); border-radius: 8px; }
.btn-sm .icon-chrome { width: 16px; height: 16px; }
.btn-lg { min-height: 48px; padding: 0 24px; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14); }
.btn-primary:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn-primary:active { background: var(--accent-press); }

.btn-secondary { background: var(--surface); color: var(--text); border-color: var(--line-strong); }
.btn-secondary:hover { color: var(--text); background: var(--surface-2); }

.btn-quiet { background: transparent; color: var(--text); padding-inline: 8px; }
.btn-quiet:hover { color: var(--accent-text); }
.btn-quiet .icon-arrow { transition: transform .16s var(--ease); }
.btn-quiet:hover .icon-arrow { transform: translateX(2px); }

.btn-on-dark { background: var(--on-ink); color: var(--ink); }
.btn-on-dark:hover { background: #ffffff; color: var(--ink); }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.link-arrow .icon-arrow { transition: transform .16s var(--ease); }
.link-arrow:hover { text-decoration: none; }
.link-arrow:hover .icon-arrow { transform: translateX(2px); }

/* -----------------------------------------------------------------------------
   Header
   ----------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  max-width: var(--container); height: 100%; margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1rem; color: var(--text); }
.brand:hover { color: var(--text); text-decoration: none; }
.brand img { width: 28px; height: 28px; border-radius: 6px; }

.site-nav { display: none; align-items: center; gap: 4px; }
.site-nav a { padding: 8px 12px; border-radius: 8px; color: var(--text-3); font-size: var(--fs-sm); }
.site-nav a:hover { color: var(--text); background: var(--surface-2); text-decoration: none; }
.site-header__cta { display: none; }

.menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: -10px; border-radius: 10px; color: var(--text); }
.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
  display: none; flex-direction: column; gap: 0;
  padding: 16px var(--gutter) 32px; background: var(--bg); overflow-y: auto;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu a:not(.btn) { padding: 16px 4px; font-family: var(--font-display); font-size: 1.75rem; color: var(--text); border-bottom: 1px solid var(--line); }
.mobile-menu a:not(.btn):hover { text-decoration: none; color: var(--accent-text); }
.mobile-menu .btn { margin-top: 24px; }

@media (min-width: 940px) {
  .site-nav, .site-header__cta { display: inline-flex; }
  .menu-toggle { display: none; }
  .mobile-menu { display: none !important; }
}

/* -----------------------------------------------------------------------------
   Home hero: headline over a browser you can click through, and the card file
   a capture lands in.
   ----------------------------------------------------------------------------- */
.hero { padding-block: clamp(40px, 7vw, 96px) clamp(64px, 8vw, 112px); overflow: hidden; }
.hero__top { display: grid; gap: 24px 64px; align-items: end; }
@media (min-width: 1000px) { .hero__top { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); } }

.hero__news {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 24px;
  font-family: var(--font-mono); font-size: var(--fs-mono); color: var(--text-3);
}
.hero__news:hover { color: var(--text); text-decoration: none; }
.hero__news .icon-arrow { width: 14px; height: 14px; transition: transform .16s var(--ease); }
.hero__news:hover .icon-arrow { transform: translateX(2px); }
.hero__news b { font-weight: 500; color: var(--accent-text); }

.hero__title {
  font-family: var(--font-display);
  font-size: var(--fs-hero); font-weight: 400; letter-spacing: -0.02em; line-height: 1.02;
  color: var(--text); text-wrap: balance;
}
.hero__title em { font-style: normal; color: var(--accent-text); }
.hero__subtitle { max-width: 30em; font-size: var(--fs-lede); line-height: 1.5; color: var(--text-3); text-wrap: pretty; }
.hero__ctas { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero__meta { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; font-size: var(--fs-xs); color: var(--text-3); }
.hero__meta li { display: inline-flex; align-items: center; gap: 6px; }
.hero__meta .icon-check { color: var(--green); width: 14px; height: 14px; }

/* The stage: browser on the left, card file overlapping its right edge */
.stage { position: relative; margin-top: clamp(40px, 6vw, 72px); display: grid; gap: 24px; }
@media (min-width: 1000px) {
  .stage { grid-template-columns: minmax(0, 1fr) 340px; gap: 0; align-items: start; }
  .stage .cardfile { margin-left: -48px; margin-top: 104px; }
}
.stage__hint { margin-top: 16px; font-family: var(--font-mono); font-size: var(--fs-mono); color: var(--text-4); }

/* Browser window */
.browser {
  position: relative; min-width: 0;
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.browser__tabs {
  display: flex; align-items: flex-end; gap: 4px; padding: 8px 12px 0;
  background: var(--surface-2); overflow-x: auto; scrollbar-width: none;
}
.browser__tabs::-webkit-scrollbar { display: none; }
.browser__dots { display: flex; gap: 8px; padding: 0 8px 12px 4px; flex-shrink: 0; align-self: center; }
.browser__dots span { width: 12px; height: 12px; border-radius: 50%; background: var(--surface-3); }
.btab {
  position: relative; display: inline-flex; align-items: center; gap: 8px; flex: 1 1 0; min-width: 0;
  max-width: 200px; height: 36px; padding: 0 12px;
  border-radius: 10px 10px 0 0; color: var(--text-3); font-size: var(--fs-xs);
  transition: background-color .16s var(--ease), color .16s var(--ease);
}
.btab:hover { color: var(--text); background: color-mix(in srgb, var(--surface) 50%, transparent); }
.btab[aria-selected="true"] { background: var(--surface); color: var(--text); }
.btab img { width: 16px; height: 16px; border-radius: 4px; flex-shrink: 0; }
.btab span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.btab__saved { width: 6px; height: 6px; border-radius: 50%; background: var(--green); flex-shrink: 0; opacity: 0; transition: opacity .2s var(--ease); }
.btab.is-saved .btab__saved { opacity: 1; }
.browser__more { flex-shrink: 0; align-self: center; padding: 0 8px 8px; font-family: var(--font-mono); font-size: var(--fs-mono); color: var(--text-4); white-space: nowrap; }
.browser__more:hover { color: var(--text); text-decoration: none; }

.browser__bar { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-bottom: 1px solid var(--line); background: var(--surface); }
.browser__nav { display: flex; gap: 4px; color: var(--text-4); }
.browser__nav svg { width: 16px; height: 16px; }
.browser__url {
  flex: 1; min-width: 0; padding: 6px 12px; border-radius: 8px; background: var(--surface-2);
  font-size: 13px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.browser__url b { font-weight: 400; color: var(--text); }
.browser__ext { position: relative; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; }
.browser__ext img { width: 20px; height: 20px; border-radius: 4px; }
.browser__badge {
  position: absolute; right: -4px; bottom: -4px; min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: 4px; background: var(--ink); color: var(--on-ink);
  font-family: var(--font-mono); font-size: 10px; line-height: 16px; text-align: center;
}

.browser__page { position: relative; height: 420px; overflow: hidden; }
.bpanel { position: absolute; inset: 0; padding: 0 0 24px; }
.bpanel[hidden] { display: none; }
.bpanel__cover { height: 104px; background: var(--cover, var(--surface-3)); }
.bpanel__head { display: flex; align-items: flex-end; gap: 16px; padding: 0 28px; margin-top: -36px; }
.bpanel__avatar {
  width: 84px; height: 84px; border-radius: 50%; flex-shrink: 0;
  border: 4px solid var(--surface); background: var(--avatar, #e9e2d4); color: var(--avatar-ink, #4d453b);
  display: grid; place-items: center; font-weight: 600; font-size: 24px;
}
.bpanel--square .bpanel__avatar { border-radius: 16px; }
.bpanel__id { padding-bottom: 8px; min-width: 0; }
.bpanel__name { font-weight: 600; font-size: 20px; color: var(--text); line-height: 1.2; }
.bpanel__sub { margin-top: 2px; font-size: 13px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bpanel__nav { display: flex; gap: 20px; margin: 20px 28px 0; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--text-4); }
.bpanel__nav span { padding-bottom: 8px; }
.bpanel__nav .on { color: var(--text); box-shadow: inset 0 -2px 0 var(--tabline, var(--text)); }
.bpanel__body { display: grid; gap: 20px; padding: 20px 28px 0; }
@media (min-width: 720px) { .bpanel__body { grid-template-columns: minmax(0, 1fr) 180px; } }
.bfields { display: grid; gap: 12px; list-style: none; }
.bfield { position: relative; display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 4px 8px; margin-inline: -8px; border-radius: 6px; }
.bfield__k { font-size: 12px; color: var(--text-4); }
.bfield__v { font-size: 14px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bfield::after {
  content: ""; position: absolute; inset: 0; border-radius: 6px;
  border: 1.5px dashed var(--accent-text); background: var(--accent-tint);
  opacity: 0; transition: opacity .18s var(--ease);
}
.bfield.is-reading::after { opacity: 1; }
.bfield.is-read::after { opacity: 0; }
.bpanel__side { display: none; }
@media (min-width: 720px) {
  .bpanel__side { display: grid; gap: 8px; align-content: start; }
  .bpanel__side span { height: 10px; border-radius: 4px; background: var(--surface-2); }
  .bpanel__side span:nth-child(2) { width: 80%; }
  .bpanel__side span:nth-child(3) { width: 60%; }
  .bpanel__side span:nth-child(4) { width: 90%; }
  .bpanel__side span:nth-child(5) { width: 70%; }
}

/* The button the extension adds to a page: same blue and pill shape as the real one (js/content.js) */
.extract-btn {
  position: absolute; right: 20px; bottom: 20px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 8px;
  border-radius: 999px; background: #0a6bdc; color: #ffffff; font-size: 14px; font-weight: 500;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 8px 20px -8px rgba(31, 27, 22, .45);
  transition: background-color .16s var(--ease), transform .12s var(--ease);
}
.extract-btn:hover { background: #095fc4; }
.extract-btn:active { transform: scale(.97); }
.extract-btn img { width: 24px; height: 24px; border-radius: 6px; background: #ffffff; }
.extract-btn.is-done { background: #16803c; }
@media (min-width: 1000px) { .extract-btn { right: 72px; } }
@media (prefers-color-scheme: dark) {
  .bpanel__cover { filter: brightness(.42) saturate(.9); }
  .bpanel__avatar { filter: brightness(.92); }
}

/* Card file */
.cardfile {
  position: relative; z-index: 3; min-width: 0; padding: 16px;
  background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.cardfile__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 0 4px 12px; font-family: var(--font-mono); font-size: var(--fs-mono); color: var(--text-3); }
.cardfile__head b { font-weight: 500; color: var(--text); }
.cardfile__stack { position: relative; padding-top: 44px; min-height: 372px; }
.cardfile__stub {
  position: absolute; left: 12px; right: 12px; height: 48px; padding: 4px 16px;
  border-radius: 6px 6px 0 0; background: var(--card-stock); border: 1px solid rgba(31, 27, 22, .12); border-bottom: 0;
  font-family: var(--font-mono); font-size: 11px; color: #7b7266;
  box-shadow: 0 -1px 0 rgba(255, 255, 255, .6) inset;
}
.cardfile__stub:nth-child(1) { top: 0; left: 24px; right: 24px; }
.cardfile__stub:nth-child(2) { top: 22px; }
.cardfile__foot { margin-top: 16px; padding: 0 4px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-family: var(--font-mono); font-size: var(--fs-mono); color: var(--text-3); }
.cardfile__foot span { padding: 4px 8px; border-radius: 6px; border: 1px solid var(--line-strong); color: var(--text-2); }
.cardfile__toast { min-height: 20px; margin-top: 12px; padding: 0 4px; font-size: var(--fs-xs); color: var(--text-3); }

/* The index card (signature) */
.icard {
  position: relative; padding: 16px 20px 12px;
  border-radius: 6px; color: var(--card-ink); background: var(--card-stock);
  border: 1px solid rgba(31, 27, 22, .12);
  box-shadow: 0 1px 2px rgba(31, 27, 22, .08), 0 18px 40px -18px rgba(31, 27, 22, .35);
  transform: rotate(-1.2deg);
}
.icard__head { margin-inline: -20px; padding: 0 20px 8px; border-bottom: 2px solid var(--card-rule); }
.icard__src { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11px; color: #7b7266; }
.icard__src img { width: 14px; height: 14px; border-radius: 3px; }
.icard__name { margin-top: 4px; font-family: var(--font-display); font-size: 26px; line-height: 1.1; color: var(--card-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.icard__rows {
  list-style: none; display: grid; padding-top: 4px;
  background: repeating-linear-gradient(to bottom, transparent 0 31px, var(--card-line) 31px 32px);
}
.icard__row { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 8px; align-items: baseline; height: 32px; line-height: 32px; }
.stamp { display: inline-flex; align-items: center; gap: 4px; font-family: var(--font-mono); font-size: 11px; color: #2350c8; }
.stamp svg { width: 11px; height: 11px; }
.icard__v { font-size: 14px; color: var(--card-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.icard__meta { margin-top: 8px; font-family: var(--font-mono); font-size: 11px; color: #7b7266; }

@media (prefers-reduced-motion: no-preference) {
  .icard.is-new { animation: card-in .42s var(--ease) both; }
  .icard.is-bumped { animation: card-bump .36s var(--ease); }
  .icard__row.is-new { animation: row-in .3s var(--ease) both; }
  @keyframes card-in { from { opacity: 0; transform: translateY(-16px) rotate(-3deg); } to { opacity: 1; transform: translateY(0) rotate(-1.2deg); } }
  @keyframes card-bump { 50% { transform: translateY(-4px) rotate(-.6deg); } }
  @keyframes row-in { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }
}

@media (max-width: 719px) {
  .browser__page { height: 380px; }
  .bpanel__head { padding: 0 20px; }
  .bpanel__nav, .bpanel__body { margin-inline: 20px; padding-inline: 0; }
  .bpanel__avatar { width: 68px; height: 68px; font-size: 20px; }
  .btab { max-width: 44px; padding: 0 14px; }
  .btab span { display: none; }
  .browser__more { display: none; }
  .bfield { grid-template-columns: 72px minmax(0, 1fr); }
}
@media (max-width: 999px) {
  .cardfile { max-width: 420px; }
}

/* -----------------------------------------------------------------------------
   Platform strip
   ----------------------------------------------------------------------------- */
.platforms { padding-block: 40px; border-block: 1px solid var(--line); background: var(--bg); }
.platforms__label { font-family: var(--font-mono); font-size: var(--fs-mono); color: var(--text-3); margin-bottom: 16px; }
.platforms__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; list-style: none; }
@media (min-width: 640px) { .platforms__row { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.platforms__row .chip { width: 100%; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px 0 8px;
  border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface);
  color: var(--text-2); font-size: var(--fs-sm);
  transition: border-color .16s var(--ease), color .16s var(--ease), background-color .16s var(--ease);
}
.chip:hover { text-decoration: none; border-color: var(--line-strong); color: var(--text); background: var(--surface-2); }
.chip img { width: 24px; height: 24px; border-radius: 6px; }
.chip[aria-current="page"] { border-color: var(--accent-text); color: var(--text); }

/* Logo image used on platform pages and cards */
.plogo { width: 28px; height: 28px; border-radius: 6px; }
.plogo--lg { width: 52px; height: 52px; border-radius: 12px; box-shadow: var(--shadow-sm); }

/* -----------------------------------------------------------------------------
   Release note (3.4.0) block
   ----------------------------------------------------------------------------- */
.update {
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface);
  padding: clamp(28px, 4vw, 48px);
}
.update__top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-bottom: 16px; font-family: var(--font-mono); font-size: var(--fs-mono); color: var(--text-3); }
.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px;
  border-radius: var(--radius-xs); border: 1px solid var(--line-strong);
  font-family: var(--font-mono); font-size: var(--fs-mono); font-weight: 400;
  color: var(--text-2); background: transparent;
}
.badge--green { color: var(--green); border-color: color-mix(in srgb, var(--green) 40%, transparent); }
.badge--neutral { color: var(--text-2); }
.update__date { font-family: var(--font-mono); font-size: var(--fs-mono); color: var(--text-3); }
.update__title { font-family: var(--font-display); font-size: var(--fs-2); font-weight: 400; letter-spacing: -0.012em; line-height: 1.08; text-wrap: balance; max-width: 18em; }
.update__lede { margin-top: 16px; color: var(--text-2); max-width: 64ch; text-wrap: pretty; }
.update__cols { display: grid; gap: 32px; margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--line); }
@media (min-width: 820px) { .update__cols { grid-template-columns: 1fr 1fr; gap: 48px; } }
.update__cols h3 { font-family: var(--font-mono); font-size: var(--fs-mono); font-weight: 400; color: var(--text-3); margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.update__foot { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; font-size: var(--fs-sm); color: var(--text-3); }

.ticks { list-style: none; display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 16px 1fr; gap: 12px; align-items: start; color: var(--text-2); font-size: var(--fs-sm); line-height: 1.5; }
.ticks .icon-check { margin-top: 4px; width: 16px; height: 16px; color: var(--green); }
.ticks--accent .icon-check { color: var(--accent-text); }

/* -----------------------------------------------------------------------------
   Video
   ----------------------------------------------------------------------------- */
.video {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden;
  background: #12110f; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.video video, .video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video__play {
  position: absolute; inset: 0; display: grid; place-items: end start; padding: clamp(16px, 3vw, 28px); width: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, .3));
  color: #fff; cursor: pointer;
}
.video__play-btn {
  display: inline-flex; align-items: center; gap: 12px; padding: 12px 20px 12px 12px;
  border-radius: var(--radius-sm); background: #fffdf6; color: #1f1b16;
  font-weight: 500; font-size: var(--fs-sm); box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
  transition: background-color .16s var(--ease);
}
.video__play:hover .video__play-btn { background: #ffffff; }
.video__play-btn svg { width: 28px; height: 28px; }
.video__note { position: absolute; left: 16px; right: 16px; bottom: 16px; padding: 12px 16px; border-radius: 10px; background: rgba(0, 0, 0, .6); color: #fff; font-size: var(--fs-xs); text-align: center; }
.video-caption { margin-top: 16px; font-size: var(--fs-xs); color: var(--text-3); }

/* -----------------------------------------------------------------------------
   Steps: numbered, ruled, no boxes
   ----------------------------------------------------------------------------- */
.steps { display: grid; gap: 24px; list-style: none; counter-reset: step; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.step { padding-top: 20px; border-top: 1px solid var(--line-strong); counter-increment: step; }
.step::before {
  content: "0" counter(step); display: block; margin-bottom: 12px;
  font-family: var(--font-mono); font-size: var(--fs-mono); color: var(--accent-text);
}
.step h3 { font-size: 1.0625rem; font-weight: 600; margin-bottom: 4px; }
.step p { color: var(--text-3); font-size: var(--fs-sm); }

/* -----------------------------------------------------------------------------
   Product tour (screenshots)
   ----------------------------------------------------------------------------- */
.tour { display: grid; gap: 32px 24px; }
@media (min-width: 820px) {
  .tour { grid-template-columns: repeat(2, 1fr); }
  .tour .shot:first-child { grid-column: 1 / -1; }
}
.shot { margin: 0; }
.shot__frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface-2); box-shadow: var(--shadow); aspect-ratio: 1280 / 800; }
.shot__frame img { width: 100%; height: 100%; object-fit: cover; }
.shot figcaption { margin-top: 16px; font-size: var(--fs-sm); color: var(--text-3); max-width: 46em; }
.shot figcaption strong { display: block; color: var(--text); font-size: 1rem; font-weight: 600; margin-bottom: 2px; }

/* -----------------------------------------------------------------------------
   Cards and grids
   ----------------------------------------------------------------------------- */
.grid-3 { display: grid; gap: 16px; }
@media (min-width: 680px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-2 { display: grid; gap: 16px; }
@media (min-width: 720px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }

.card {
  display: block; position: relative;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; color: var(--text);
}
a.card { transition: border-color .16s var(--ease), background-color .16s var(--ease); }
a.card:hover { text-decoration: none; border-color: var(--line-strong); background: color-mix(in srgb, var(--surface) 60%, var(--surface-2)); }
.card__icon { width: 20px; height: 20px; color: var(--text-3); margin-bottom: 16px; }
.card__icon svg { width: 20px; height: 20px; stroke-width: 1.5; }
.card__head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.card__title { font-size: 1.0625rem; font-weight: 600; line-height: 1.3; color: var(--text); margin-bottom: 4px; }
.card__head .card__title { margin-bottom: 0; }
.card__body { color: var(--text-3); font-size: var(--fs-sm); line-height: 1.55; }
.card__body + .card__body { margin-top: 12px; }
.card__more { margin-top: 16px; font-size: var(--fs-sm); font-weight: 500; color: var(--accent-text); display: inline-flex; align-items: center; gap: 6px; }
.card__meta { font-family: var(--font-mono); font-size: var(--fs-mono); color: var(--text-3); margin-bottom: 8px; }
.card .ticks { margin-top: 16px; }

/* Ledger: the feature list as ruled rows instead of icon cards */
.ledger { list-style: none; border-top: 1px solid var(--line-strong); }
.ledger__row { display: grid; gap: 8px 32px; padding: 24px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 820px) { .ledger__row { grid-template-columns: 48px minmax(0, 1fr) minmax(0, 1.4fr); align-items: baseline; } }
.ledger__n { font-family: var(--font-mono); font-size: var(--fs-mono); color: var(--accent-text); }
.ledger__t { font-family: var(--font-display); font-size: 1.625rem; line-height: 1.15; color: var(--text); }
.ledger__b { color: var(--text-3); font-size: var(--fs-sm); line-height: 1.6; max-width: 38em; }

/* Privacy band */
.privacy-band { display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) { .privacy-band { grid-template-columns: 1fr 1fr; gap: 64px; } }
.privacy-list { list-style: none; display: grid; border-top: 1px solid var(--line-strong); }
.privacy-list li { padding: 20px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 20px 1fr; gap: 12px; font-size: var(--fs-sm); color: var(--text-3); }
.privacy-list strong { color: var(--text); display: block; font-size: 1rem; font-weight: 600; margin-bottom: 2px; }
.privacy-list .icon-check { color: var(--green); margin-top: 4px; }

/* -----------------------------------------------------------------------------
   Pricing
   ----------------------------------------------------------------------------- */
.plans { display: grid; gap: 16px; align-items: stretch; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 28px; }
.plan--featured { border-color: var(--text); box-shadow: var(--shadow); }
.plan__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 28px; }
.plan__top .badge { border: 0; padding: 0; color: var(--text-3); }
.plan__name { font-size: 1.0625rem; font-weight: 600; }
.plan__tagline { margin-top: 4px; font-size: var(--fs-sm); color: var(--text-3); }
.plan__price { display: flex; align-items: baseline; gap: 8px; margin-top: 24px; }
.plan__amount { font-family: var(--font-display); font-size: 3.5rem; font-weight: 400; letter-spacing: -0.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan__amount sup { font-size: .4em; vertical-align: 1.1em; margin-right: 2px; letter-spacing: 0; }
.plan__was { font-family: var(--font-mono); font-size: var(--fs-mono); color: var(--text-3); text-decoration-thickness: 1px; }
.plan__period { font-family: var(--font-mono); font-size: var(--fs-mono); color: var(--text-3); }
.plan .ticks { margin: 24px 0 32px; flex: 1; align-content: start; }
.plan .btn { width: 100%; }
.pricing-notes { margin-top: 32px; display: grid; gap: 8px; text-align: center; font-size: var(--fs-xs); color: var(--text-3); max-width: 720px; margin-inline: auto; }

/* -----------------------------------------------------------------------------
   FAQ: heading on the left, questions on the right
   ----------------------------------------------------------------------------- */
.faq-layout { display: grid; gap: 32px; }
@media (min-width: 900px) { .faq-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 64px; align-items: start; } .faq-layout .section-head { position: sticky; top: calc(var(--header-h) + 32px); margin-bottom: 0; } }
.faq { display: grid; border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 20px 0; font-weight: 500; font-size: 1.0625rem; color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex-shrink: 0; width: 20px; text-align: center;
  font-family: var(--font-mono); font-size: 16px; color: var(--text-4);
  transition: transform .2s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--accent-text); }
.faq__body { padding: 0 0 24px; color: var(--text-2); font-size: var(--fs-sm); line-height: 1.65; max-width: 64ch; }
.faq__body p + p { margin-top: 12px; }

/* -----------------------------------------------------------------------------
   Contact
   ----------------------------------------------------------------------------- */
.contact-card .btn { margin-top: 20px; }

/* -----------------------------------------------------------------------------
   Closing call to action: one big index card
   ----------------------------------------------------------------------------- */
.cta-band {
  position: relative; display: grid; gap: 24px; align-items: center;
  color: var(--card-ink); border-radius: 8px;
  padding: clamp(32px, 5vw, 56px) clamp(24px, 5vw, 56px) clamp(32px, 5vw, 48px);
  background-color: var(--card-stock);
  background-image:
    linear-gradient(var(--card-rule), var(--card-rule)),
    repeating-linear-gradient(to bottom, transparent 0 35px, var(--card-line) 35px 36px);
  background-size: 100% 2px, 100% 100%;
  background-position: 0 clamp(28px, 4vw, 40px), 0 clamp(28px, 4vw, 40px);
  background-repeat: no-repeat;
  border: 1px solid rgba(31, 27, 22, .12);
  box-shadow: 0 1px 2px rgba(31, 27, 22, .08), 0 28px 56px -28px rgba(31, 27, 22, .35);
}
@media (min-width: 820px) { .cta-band { grid-template-columns: 1fr auto; gap: 48px; } }
.cta-band__title { font-family: var(--font-display); font-size: var(--fs-2); font-weight: 400; letter-spacing: -0.012em; line-height: 1.06; color: var(--card-ink); text-wrap: balance; padding-top: 16px; }
.cta-band__lede { margin-top: 12px; color: #5e554a; font-size: var(--fs-lede); }
.cta-band .btn-on-dark { background: #2350c8; color: #ffffff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16); }
.cta-band .btn-on-dark:hover { background: #1d44ad; color: #ffffff; }

/* -----------------------------------------------------------------------------
   Footer
   ----------------------------------------------------------------------------- */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding-block: 56px 28px; font-size: var(--fs-xs); }
.site-footer__grid { display: grid; gap: 32px; grid-template-columns: repeat(2, 1fr); }
.site-footer__brand { grid-column: 1 / -1; }
@media (min-width: 900px) {
  .site-footer__grid { grid-template-columns: 1.6fr repeat(4, 1fr); }
  .site-footer__brand { grid-column: auto; }
}
.site-footer__brand p { margin-top: 12px; color: var(--text-3); max-width: 34ch; line-height: 1.5; }
.site-footer__version { font-family: var(--font-mono); font-size: var(--fs-mono); }
.footer-col h2 { font-size: var(--fs-xs); font-weight: 600; color: var(--text); margin-bottom: 12px; }
.footer-col ul { list-style: none; display: grid; gap: 8px; }
.footer-col a { color: var(--text-3); }
.footer-col a:hover { color: var(--text); }
.site-footer__bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; color: var(--text-3); }

/* -----------------------------------------------------------------------------
   Inner-page hero (platform, use case, vs, index pages)
   ----------------------------------------------------------------------------- */
.page-hero { padding-block: clamp(32px, 5vw, 64px) clamp(48px, 6vw, 80px); }
.page-hero__inner { max-width: 820px; }
.page-hero__badge { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.page-hero h1 { font-family: var(--font-display); font-size: var(--fs-1); font-weight: 400; letter-spacing: -0.015em; line-height: 1.04; text-wrap: balance; }
.page-hero__lede { margin-top: 20px; font-size: var(--fs-lede); line-height: 1.5; color: var(--text-3); max-width: 40em; text-wrap: pretty; }
.page-hero .hero__ctas { margin-top: 28px; }
.page-hero .hero__meta { margin-top: 20px; }

.breadcrumb { margin-bottom: 24px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 8px; font-family: var(--font-mono); font-size: var(--fs-mono); color: var(--text-3); align-items: center; }
.breadcrumb li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumb li:not(:last-child)::after { content: "/"; color: var(--text-4); }
.breadcrumb a { color: var(--text-3); }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb [aria-current="page"] { color: var(--text-2); }

/* Field table (what we capture) */
.fields { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.fields__row { display: grid; gap: 4px; padding: 20px 24px; border-top: 1px solid var(--line); }
.fields__row:first-child { border-top: 0; }
@media (min-width: 720px) { .fields__row { grid-template-columns: 220px 1fr; gap: 24px; } }
.fields__type { font-weight: 600; }
.fields__what { color: var(--text-2); font-size: var(--fs-sm); line-height: 1.6; }
.fields__note { margin-top: 16px; font-size: var(--fs-xs); color: var(--text-3); }

.two-col { display: grid; gap: 32px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; gap: 56px; } }

/* Comparison table */
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.compare { width: 100%; min-width: 640px; border-collapse: collapse; font-size: var(--fs-sm); }
.compare th, .compare td { padding: 16px 20px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.compare thead th { border-top: 0; font-family: var(--font-mono); font-size: var(--fs-mono); font-weight: 400; color: var(--text-3); background: var(--surface-2); }
.compare thead th:nth-child(2) { color: var(--accent-text); }
.compare tbody th { font-weight: 600; color: var(--text); width: 26%; }
.compare tbody td { color: var(--text-2); }
.compare tbody td:first-of-type { color: var(--text); }
.compare-note { margin-top: 16px; font-size: var(--fs-xs); color: var(--text-3); }

.callout { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 24px; }
.callout h3 { font-size: 1.0625rem; font-weight: 600; margin-bottom: 4px; }
.callout p { color: var(--text-2); font-size: var(--fs-sm); line-height: 1.6; }

/* -----------------------------------------------------------------------------
   Long-form: legal, blog, changelog
   ----------------------------------------------------------------------------- */
.doc { padding-block: clamp(32px, 5vw, 64px) clamp(56px, 7vw, 96px); }
.doc h1 { font-family: var(--font-display); font-size: var(--fs-1); font-weight: 400; letter-spacing: -0.015em; line-height: 1.06; text-wrap: balance; }
.doc__updated { margin-top: 12px; margin-bottom: 40px; font-family: var(--font-mono); font-size: var(--fs-mono); color: var(--text-3); }
.doc__summary { padding: 20px 24px; border-radius: var(--radius); background: var(--surface-2); color: var(--text-2); font-size: var(--fs-sm); line-height: 1.6; margin-bottom: 8px; }
.doc h2 { font-family: var(--font-display); font-size: var(--fs-3); font-weight: 400; line-height: 1.2; margin-top: 48px; margin-bottom: 12px; scroll-margin-top: calc(var(--header-h) + 20px); }
.doc h3 { font-size: 1.0625rem; font-weight: 600; margin-top: 28px; margin-bottom: 8px; }
.doc p, .doc li { color: var(--text-2); line-height: 1.7; }
.doc p + p { margin-top: 16px; }
.doc ul, .doc ol { margin: 12px 0 0 24px; display: grid; gap: 8px; }
.doc strong { color: var(--text); }
.doc a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.doc table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: var(--fs-sm); }
.doc th, .doc td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { color: var(--text); font-weight: 600; background: var(--surface-2); }
.doc .table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); margin: 16px 0; }
.doc .table-wrap table { margin: 0; }
.doc .table-wrap tr:last-child td { border-bottom: 0; }
.doc pre { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px; overflow-x: auto; margin: 20px 0; }
.doc pre code { background: none; border: 0; padding: 0; font-size: .85rem; line-height: 1.6; white-space: pre; }
.doc__contact { margin-top: 20px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); }

.article__meta { display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: center; margin-bottom: 16px; font-family: var(--font-mono); font-size: var(--fs-mono); color: var(--text-3); }
.article__body { font-size: 1.0625rem; }
.article__body h2:first-child { margin-top: 0; }

/* Changelog */
.release { position: relative; display: grid; gap: 16px; padding-block: 40px; border-top: 1px solid var(--line); }
@media (min-width: 820px) { .release { grid-template-columns: 200px 1fr; gap: 40px; } }
.release:first-of-type { border-top: 0; }
.release__ver { font-family: var(--font-display); font-size: 2rem; font-weight: 400; line-height: 1.1; }
.release__date { margin-top: 4px; font-family: var(--font-mono); font-size: var(--fs-mono); color: var(--text-3); }
.release__side .badge { margin-top: 12px; }
.release h3 { font-family: var(--font-mono); font-size: var(--fs-mono); font-weight: 400; margin: 20px 0 12px; color: var(--text-3); }
.release h3:first-child { margin-top: 0; }
.release__summary { color: var(--text-2); margin-bottom: 4px; }

/* 404 */
.notfound { min-height: calc(100vh - var(--header-h) - 200px); display: grid; place-items: center; text-align: center; padding: 72px var(--gutter); }
.notfound__code { font-family: var(--font-display); font-size: clamp(5rem, 14vw, 9rem); font-weight: 400; line-height: 1; color: var(--text-4); }
.notfound h1 { font-family: var(--font-display); font-size: var(--fs-2); font-weight: 400; margin-top: 16px; }
.notfound p { color: var(--text-3); margin-top: 12px; font-size: var(--fs-lede); }
.notfound .hero__ctas { justify-content: center; }

/* Utilities */
.center { text-align: center; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.muted { color: var(--text-3); }
.small { font-size: var(--fs-xs); }

/* Breadcrumbs inside long-form pages keep their own layout */
.doc .breadcrumb ol { margin: 0; display: flex; gap: 4px 8px; }
.doc .breadcrumb li { line-height: 1.4; color: var(--text-3); }
.doc .breadcrumb a { text-decoration: none; }
.doc .breadcrumb a:hover { text-decoration: underline; }

/* Dark mode: brand marks that are black (X, GitHub, Threads, Instagram)
   sit on a white tile, the same way the extension popup shows them. */
@media (prefers-color-scheme: dark) {
  img[src*="/images/platforms/"] { background: #fff; padding: 2px; border-radius: 6px; }
  .brand img { background: #fff; border-radius: 6px; }
  .icard img[src*="/images/platforms/"] { padding: 0; }
}

/* Cookie choice (js/consent.js): EU/UK/CH visitors, or Cookie settings in the footer */
.consent-bar { position: fixed; z-index: 900; left: 16px; right: 16px; bottom: 16px; max-width: 720px; margin-inline: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 16px 20px; background: var(--surface); color: var(--text); border: 1px solid var(--line-strong); border-radius: var(--radius-lg); box-shadow: var(--shadow); font-size: var(--fs-sm); }
.consent-bar[hidden] { display: none; }
.consent-bar p { flex: 1 1 280px; margin: 0; }
.consent-bar__actions { display: flex; gap: 8px; }
.consent-bar .btn { min-height: 40px; padding-inline: 16px; }
