
@font-face{font-family:"Golos Text";src:url(/site-assets/177af0794fb0c230.woff2) format("woff2");font-weight:400 900;font-display:swap}
/* Scavi design system 1.0 — generated by design/system/build.py, do not edit by hand.
   Dark is the brand default. Without data-theme the page follows the system setting;
   data-theme="dark" or data-theme="light" on any element forces that theme for its subtree. */

:root {
  --coal-950: #0f1110;
  --coal-900: #171918;
  --coal-850: #1d201e;
  --coal-800: #222523;
  --coal-700: #2d322e;
  --coal-600: #3a403b;
  --coal-500: #484f47;
  --coal-450: #626a5f;
  --coal-400: #6b7368;
  --coal-300: #8f978b;
  --coal-200: #b1b6ac;
  --coal-150: #c9cdc2;
  --coal-100: #dadcd3;
  --coal-50: #e9eae2;
  --paper-base: #f1f1e9;
  --paper-soft: #f7f7f2;
  --paper-white: #ffffff;
  --lime-200: #ecfcc4;
  --lime-300: #e2fba6;
  --lime-400: #d3f878;
  --lime-500: #c2ec55;
  --lime-700: #5e7f16;
  --lime-800: #3f5a0c;
  --lime-950: #20251a;
  --green-300: #9cdda6;
  --green-700: #24693a;
  --green-dark-bg: #1e3123;
  --green-light-bg: #e2f2e4;
  --amber-300: #f2cc8f;
  --amber-700: #875200;
  --amber-dark-bg: #372c1a;
  --amber-light-bg: #f9ebd0;
  --red-300: #ffaaa2;
  --red-700: #b42318;
  --red-dark-bg: #3b201f;
  --red-light-bg: #fce6e3;
  --font-sans: "Golos Text", "Noto Sans Devanagari", system-ui, -apple-system, "Segoe UI", sans-serif;
  --type-display-xl: 650 72px/72px var(--font-sans);
  --type-display-xl-tracking: -0.045em;
  --type-display: 650 48px/50px var(--font-sans);
  --type-display-tracking: -0.04em;
  --type-title-l: 600 32px/36px var(--font-sans);
  --type-title-l-tracking: -0.025em;
  --type-title: 600 22px/28px var(--font-sans);
  --type-title-tracking: -0.015em;
  --type-headline: 600 18px/24px var(--font-sans);
  --type-headline-tracking: -0.01em;
  --type-body-l: 400 17px/26px var(--font-sans);
  --type-body-l-tracking: 0em;
  --type-body: 400 16px/24px var(--font-sans);
  --type-body-tracking: 0em;
  --type-body-s: 400 14px/20px var(--font-sans);
  --type-body-s-tracking: 0em;
  --type-caption: 500 13px/18px var(--font-sans);
  --type-caption-tracking: 0.005em;
  --type-label: 600 12px/16px var(--font-sans);
  --type-label-tracking: 0.02em;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 32px;
  --space-8: 40px;
  --space-9: 48px;
  --space-10: 64px;
  --space-11: 80px;
  --space-12: 120px;
  --radius-xs: 4px;
  --radius-s: 8px;
  --radius-m: 12px;
  --radius-l: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;
  --dur-press: 100ms;
  --dur-state: 160ms;
  --dur-enter: 240ms;
  --dur-cut: 520ms;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --brand-angle: 14deg;
  --tap: 48px;
}

:root,
[data-theme="dark"] {
  --bg: #171918;
  --surface: #222523;
  --raised: #2d322e;
  --sunken: #0f1110;
  --text: #f1f1e9;
  --text-muted: #b1b6ac;
  --text-subtle: #8f978b;
  --line: #3a403b;
  --line-strong: #6b7368;
  --signal: #d3f878;
  --signal-hover: #e2fba6;
  --on-signal: #20251a;
  --signal-text: #d3f878;
  --highlight: #d3f878;
  --on-highlight: #20251a;
  --focus: #d3f878;
  --mark: #d3f878;
  --inverse: #f1f1e9;
  --on-inverse: #171918;
  --success: #9cdda6;
  --success-bg: #1e3123;
  --warning: #f2cc8f;
  --warning-bg: #372c1a;
  --danger: #ffaaa2;
  --danger-bg: #3b201f;
  --shadow-1: 0 0 0 1px rgba(241,241,233,.06);
  --shadow-2: 0 16px 40px rgba(0,0,0,.45);
  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
  --bg: #f1f1e9;
  --surface: #ffffff;
  --raised: #ffffff;
  --sunken: #e9eae2;
  --text: #171918;
  --text-muted: #3a403b;
  --text-subtle: #626a5f;
  --line: #dadcd3;
  --line-strong: #6b7368;
  --signal: #d3f878;
  --signal-hover: #c2ec55;
  --on-signal: #20251a;
  --signal-text: #3f5a0c;
  --highlight: #d3f878;
  --on-highlight: #171918;
  --focus: #3f5a0c;
  --mark: #171918;
  --inverse: #171918;
  --on-inverse: #f1f1e9;
  --success: #24693a;
  --success-bg: #e2f2e4;
  --warning: #875200;
  --warning-bg: #f9ebd0;
  --danger: #b42318;
  --danger-bg: #fce6e3;
  --shadow-1: 0 1px 2px rgba(23,25,24,.06), 0 0 0 1px rgba(23,25,24,.05);
  --shadow-2: 0 16px 40px rgba(23,25,24,.12);
  color-scheme: light;
  }
}

[data-theme="light"] {
  --bg: #f1f1e9;
  --surface: #ffffff;
  --raised: #ffffff;
  --sunken: #e9eae2;
  --text: #171918;
  --text-muted: #3a403b;
  --text-subtle: #626a5f;
  --line: #dadcd3;
  --line-strong: #6b7368;
  --signal: #d3f878;
  --signal-hover: #c2ec55;
  --on-signal: #20251a;
  --signal-text: #3f5a0c;
  --highlight: #d3f878;
  --on-highlight: #171918;
  --focus: #3f5a0c;
  --mark: #171918;
  --inverse: #171918;
  --on-inverse: #f1f1e9;
  --success: #24693a;
  --success-bg: #e2f2e4;
  --warning: #875200;
  --warning-bg: #f9ebd0;
  --danger: #b42318;
  --danger-bg: #fce6e3;
  --shadow-1: 0 1px 2px rgba(23,25,24,.06), 0 0 0 1px rgba(23,25,24,.05);
  --shadow-2: 0 16px 40px rgba(23,25,24,.12);
  color-scheme: light;
}

[data-theme="dark"] {
  --bg: #171918;
  --surface: #222523;
  --raised: #2d322e;
  --sunken: #0f1110;
  --text: #f1f1e9;
  --text-muted: #b1b6ac;
  --text-subtle: #8f978b;
  --line: #3a403b;
  --line-strong: #6b7368;
  --signal: #d3f878;
  --signal-hover: #e2fba6;
  --on-signal: #20251a;
  --signal-text: #d3f878;
  --highlight: #d3f878;
  --on-highlight: #20251a;
  --focus: #d3f878;
  --mark: #d3f878;
  --inverse: #f1f1e9;
  --on-inverse: #171918;
  --success: #9cdda6;
  --success-bg: #1e3123;
  --warning: #f2cc8f;
  --warning-bg: #372c1a;
  --danger: #ffaaa2;
  --danger-bg: #3b201f;
  --shadow-1: 0 0 0 1px rgba(241,241,233,.06);
  --shadow-2: 0 16px 40px rgba(0,0,0,.45);
  color-scheme: dark;
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --dur-press: 0ms;
    --dur-state: 0ms;
    --dur-enter: 0ms;
    --dur-cut: 0ms;
  }
}
/* Scavi design system — reference components.
   Only semantic tokens from tokens.css are used, so every component works in both themes.
   These classes are the specification for apps/web; port them to React components, not by copy-paste of hex values. */

/* ---------------------------------------------------------------- type */

.t-display-xl { font: var(--type-display-xl); letter-spacing: var(--type-display-xl-tracking); }
.t-display { font: var(--type-display); letter-spacing: var(--type-display-tracking); }
.t-title-l { font: var(--type-title-l); letter-spacing: var(--type-title-l-tracking); }
.t-title { font: var(--type-title); letter-spacing: var(--type-title-tracking); }
.t-headline { font: var(--type-headline); letter-spacing: var(--type-headline-tracking); }
.t-body-l { font: var(--type-body-l); }
.t-body { font: var(--type-body); }
.t-body-s { font: var(--type-body-s); }
.t-caption { font: var(--type-caption); letter-spacing: var(--type-caption-tracking); }
.t-label { font: var(--type-label); letter-spacing: var(--type-label-tracking); }
.t-muted { color: var(--text-muted); }
.t-subtle { color: var(--text-subtle); }

/* ------------------------------------------------------------- buttons */

.s-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: var(--tap);
  padding: 0 var(--space-5);
  border: 0;
  border-radius: var(--radius-m);
  font: 600 16px/24px var(--font-sans);
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--dur-press) var(--ease-out), background-color var(--dur-state) ease, box-shadow var(--dur-state) ease;
}
.s-btn:active { transform: scale(.98); }
.s-btn:disabled, .s-btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; transform: none; }
.s-btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.s-btn--primary { background: var(--signal); color: var(--on-signal); }
.s-btn--primary:hover { background: var(--signal-hover); }
.s-btn--secondary { background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-strong); }
.s-btn--secondary:hover { background: var(--raised); }
.s-btn--ghost { background: transparent; color: var(--text); }
.s-btn--ghost:hover { background: var(--surface); }
.s-btn--danger { background: var(--danger-bg); color: var(--danger); }
.s-btn--sm { min-height: 40px; padding: 0 var(--space-4); font-size: 14px; line-height: 20px; }
.s-btn--block { width: 100%; }

.s-icon-btn {
  display: inline-grid;
  place-items: center;
  width: var(--tap);
  height: var(--tap);
  border: 0;
  border-radius: var(--radius-m);
  background: transparent;
  color: var(--text);
  cursor: pointer;
}
.s-icon-btn:hover { background: var(--surface); }
.s-icon-btn svg { width: 24px; height: 24px; }

:where(.s-btn, .s-icon-btn, .s-chip, .s-field input, .s-nav a, .s-row):focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

/* -------------------------------------------------------------- fields */

.s-field { display: grid; gap: var(--space-2); }
.s-field > span { font: var(--type-body-s); color: var(--text-muted); }
.s-field input {
  min-height: var(--tap);
  padding: 0 var(--space-4);
  border: 0;
  border-radius: var(--radius-m);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  color: var(--text);
  font: var(--type-body);
}
.s-field input::placeholder { color: var(--text-subtle); }
.s-field small { font: var(--type-caption); color: var(--text-subtle); }
.s-field[data-state="error"] input { box-shadow: inset 0 0 0 2px var(--danger); }
.s-field[data-state="error"] small { color: var(--danger); }

.s-search {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  min-height: var(--tap);
  padding: 0 var(--space-2) 0 var(--space-4);
  border-radius: var(--radius-m);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--text-muted);
}
.s-search svg { width: 20px; height: 20px; flex-shrink: 0; }
.s-search input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--text); font: var(--type-body); outline: none; }
.s-search:focus-within { box-shadow: inset 0 0 0 2px var(--focus); }

/* --------------------------------------------------------------- chips */

.s-chips { display: flex; gap: var(--space-2); overflow-x: auto; scrollbar-width: none; }
.s-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--text);
  font: 500 14px/20px var(--font-sans);
  white-space: nowrap;
  cursor: pointer;
}
.s-chip b { font-weight: 500; color: var(--text-subtle); }
.s-chip[aria-pressed="true"] { background: var(--inverse); color: var(--on-inverse); box-shadow: none; }
.s-chip[aria-pressed="true"] b { color: inherit; opacity: .7; }

/* -------------------------------------------------------------- badges */

.s-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 24px;
  padding: 0 10px;
  border-radius: var(--radius-pill);
  background: var(--raised);
  color: var(--text-muted);
  font: var(--type-caption);
  white-space: nowrap;
}
.s-badge svg { width: 14px; height: 14px; }
.s-badge--processing { background: var(--warning-bg); color: var(--warning); }
.s-badge--ready { background: var(--success-bg); color: var(--success); }
.s-badge--partial { background: var(--warning-bg); color: var(--warning); }
.s-badge--failed { background: var(--danger-bg); color: var(--danger); }

/* Loader: two short cuts sliding in, the mark's own motion. */
.s-loader { display: inline-flex; flex-direction: column; gap: 3px; width: 14px; flex-shrink: 0; transform: skewY(calc(var(--brand-angle) * -1)); }
.s-loader i { display: block; height: 3px; width: 100%; border-radius: 2px; background: currentColor; transform-origin: right; animation: s-cut 1.2s var(--ease-out) infinite; }
.s-loader i:last-child { transform-origin: left; animation-delay: .2s; }
@keyframes s-cut { 0% { transform: scaleX(.3); opacity: .5; } 50% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: .5; } }

/* ---------------------------------------------------------- saved item */

.s-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: var(--space-3);
  padding: var(--space-3);
  border-radius: var(--radius-l);
  background: var(--surface);
  box-shadow: var(--shadow-1);
  color: var(--text);
  text-decoration: none;
}
.s-item__thumb {
  width: 64px;
  height: 80px;
  border-radius: var(--radius-s);
  background: var(--raised);
  display: grid;
  place-items: center;
  color: var(--text-subtle);
  overflow: hidden;
}
.s-item__thumb svg { width: 22px; height: 22px; }
.s-item__body { display: grid; gap: 6px; align-content: start; min-width: 0; }
.s-item__title { margin: 0; font: var(--type-headline); letter-spacing: var(--type-headline-tracking); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.s-item__meta { display: flex; align-items: center; gap: 6px; font: var(--type-caption); color: var(--text-subtle); min-width: 0; }
.s-item__meta svg { width: 14px; height: 14px; flex-shrink: 0; }
.s-item__meta span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-item__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); margin-top: 2px; }
.s-item__note { font: var(--type-body-s); color: var(--text-muted); margin: 0; }
.s-item[data-state="failed"] { box-shadow: inset 0 0 0 1px var(--danger), var(--shadow-1); }

/* ----------------------------------------------------- found fragment */

.s-find {
  display: grid;
  gap: var(--space-3);
  padding: var(--space-4);
  border-radius: var(--radius-l);
  background: var(--surface);
  box-shadow: var(--shadow-1);
}
.s-find__text { margin: 0; font: var(--type-body-l); color: var(--text); }
.s-find__text::before { content: "…"; color: var(--text-subtle); }
.s-find__text::after { content: "…"; color: var(--text-subtle); }
.s-find__source { display: flex; align-items: center; gap: 6px; font: var(--type-caption); color: var(--text-subtle); }
.s-find__source svg { width: 14px; height: 14px; }
.s-find__actions { display: flex; gap: var(--space-2); flex-wrap: wrap; }

/* The highlight: lime with the round ends of the mark's cuts. */
.s-hl {
  background: var(--highlight);
  color: var(--on-highlight);
  border-radius: 0.6em;
  padding: 0.04em 0.28em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* ---------------------------------------------------------- collections */

.s-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-height: 64px;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-l);
  color: var(--text);
  text-decoration: none;
}
.s-row:hover { background: var(--surface); }
.s-row__icon { width: 44px; height: 44px; border-radius: var(--radius-m); background: var(--raised); display: grid; place-items: center; font-size: 20px; flex-shrink: 0; }
.s-row__body { flex: 1; min-width: 0; display: grid; }
.s-row__body b { font: 600 16px/22px var(--font-sans); }
.s-row__body span { font: var(--type-caption); color: var(--text-subtle); }
.s-row > svg { width: 20px; height: 20px; color: var(--text-subtle); }

/* ---------------------------------------------------------- navigation */

.s-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: var(--space-2) var(--space-2) var(--space-3);
  background: var(--bg);
  box-shadow: 0 -1px 0 var(--line);
}
.s-nav a {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 6px 0;
  border-radius: var(--radius-m);
  color: var(--text-subtle);
  text-decoration: none;
  font: var(--type-label);
  letter-spacing: 0;
  position: relative;
}
.s-nav a svg { width: 24px; height: 24px; }
.s-nav a[aria-current="page"] { color: var(--text); }
.s-nav a[aria-current="page"]::before {
  content: "";
  position: absolute;
  top: -8px;
  width: 22px;
  height: 4px;
  border-radius: 2px;
  background: var(--signal);
}

.s-topbar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); min-height: 56px; }
.s-topbar__mark { display: inline-flex; align-items: center; gap: 8px; color: var(--text); }
.s-topbar__mark svg { height: 26px; width: auto; }

/* --------------------------------------------------------------- toast */

.s-toast {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  min-height: 48px;
  padding: var(--space-2) var(--space-2) var(--space-2) var(--space-4);
  border-radius: var(--radius-m);
  background: var(--inverse);
  color: var(--on-inverse);
  font: var(--type-body-s);
  box-shadow: var(--shadow-2);
}
.s-toast button {
  min-height: 36px;
  padding: 0 var(--space-3);
  border: 0;
  border-radius: var(--radius-s);
  background: transparent;
  color: inherit;
  font: 600 14px/20px var(--font-sans);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

/* --------------------------------------------------------------- sheet */

.s-sheet {
  display: grid;
  gap: var(--space-4);
  padding: var(--space-3) var(--space-5) var(--space-6);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  background: var(--raised);
  box-shadow: var(--shadow-2);
}
.s-sheet__handle { justify-self: center; width: 36px; height: 4px; border-radius: 2px; background: var(--line-strong); }
.s-sheet h3 { margin: 0; font: var(--type-title); letter-spacing: var(--type-title-tracking); }
.s-sheet p { margin: 0; font: var(--type-body-s); color: var(--text-muted); }

/* --------------------------------------------------------------- empty */

.s-empty { display: grid; justify-items: center; text-align: center; gap: var(--space-3); padding: var(--space-8) var(--space-5); }
.s-empty__icon { width: 56px; height: 56px; border-radius: var(--radius-l); background: var(--surface); display: grid; place-items: center; color: var(--text-muted); }
.s-empty__icon svg { width: 26px; height: 26px; }
.s-empty h3 { margin: 0; font: var(--type-title); }
.s-empty p { margin: 0; max-width: 32ch; font: var(--type-body-s); color: var(--text-muted); }

@media (prefers-reduced-motion: reduce) {
  .s-loader i { animation: none; transform: none; opacity: 1; }
  .s-btn:active { transform: none; }
}
/* Scavi landing. Built on design/system tokens and components; page-specific rules only. */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
h1, h2, h3, p, ol, ul, figure { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
::selection { background: var(--highlight); color: var(--on-highlight); }
input { caret-color: var(--signal); }
html { scrollbar-color: var(--line-strong) var(--bg); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; padding: 10px 14px; border-radius: var(--radius-s); background: var(--signal); color: var(--on-signal); }
.skip:focus { left: 8px; }
[data-icon] { display: inline-flex; width: 1em; height: 1em; flex-shrink: 0; }
[data-icon] svg { width: 100%; height: 100%; }

:root {
  --gutter: clamp(16px, 4.5vw, 72px);
  --max: 1360px;
  --nav-h: 72px;
}

/* ----------------------------------------------------------------- nav */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 0 var(--gutter);
  transition: background-color var(--dur-enter) ease, box-shadow var(--dur-enter) ease, backdrop-filter var(--dur-enter) ease;
}
.nav[data-scrolled] {
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 1px 0 var(--line);
}
.nav-brand { color: var(--text); flex-shrink: 0; }
.nav-brand svg { height: 28px; width: auto; display: block; }
.nav-links { position: absolute; left: 50%; display: flex; gap: 4px; transform: translateX(-50%); }
.nav-links a { padding: 8px 12px; border-radius: 10px; text-decoration: none; font: 500 15px/20px var(--font-sans); color: var(--text-muted); transition: color var(--dur-state) ease, background-color var(--dur-state) ease; }
.nav-links a:hover { color: var(--text); background: color-mix(in srgb, var(--surface) 70%, transparent); }
.nav-actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }

/* ---------------------------------------------------------------- hero */

/* Paper first screen: the promise on top, the product rising out of the dark page below. */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: min(100svh, 1000px);
  min-height: 700px;
  padding: calc(var(--nav-h) + clamp(24px, 7vh, 88px)) var(--gutter) 0;
  overflow: hidden;
  text-align: center;
  background: var(--bg);
  color: var(--text);
}
.hero h1 { font-weight: 650; font-size: clamp(38px, 4.6vw, 72px); line-height: 1.02; letter-spacing: -0.045em; text-wrap: balance; }
.hero-lead { margin-top: 22px; max-width: 36em; font-size: clamp(17px, 1.3vw, 20px); line-height: 1.5; color: var(--text-muted); text-wrap: pretty; }
.hero-cta { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 16px 22px; margin-top: 30px; }
.hero-btn { min-height: 60px; padding: 0 30px; border-radius: 16px; font-size: 18px; }

/* The library window. Its own dark theme; it fills the rest of the screen and is cut by the fold. */
.lib {
  --a: clamp(11.5px, .95vw, 14px);
  flex: 1 1 auto;
  min-height: 0;
  width: min(1180px, 100%);
  margin-top: clamp(24px, 4.4vh, 52px);
  display: grid;
  grid-template-columns: 15.5em minmax(0, 1fr);
  font-size: var(--a);
  line-height: 1.4;
  text-align: left;
  border-radius: 22px 22px 0 0;
  overflow: hidden;
  background: var(--bg);
  color: var(--text);
  box-shadow: 0 0 0 1px rgba(23, 25, 24, .08), 0 40px 90px rgba(23, 25, 24, .22);
}
/* Where saves come from: a dark ticker the library window stands on, continuing into the page below. */
.sources { position: relative; z-index: 1; flex: none; align-self: stretch; display: flex; align-items: center; height: 64px; margin: 0 calc(var(--gutter) * -1); border-top: 1px solid var(--line); background: var(--bg); color: var(--text); text-align: left; overflow: hidden; }
.sources-label { position: relative; z-index: 2; flex: none; display: flex; align-items: center; height: 100%; padding: 0 20px 0 var(--gutter); background: var(--bg); font: 500 15px/1 var(--font-sans); color: var(--text-subtle); white-space: nowrap; }
.sources-label::after { content: ""; position: absolute; top: 0; bottom: 0; left: 100%; width: 56px; background: linear-gradient(90deg, var(--bg), transparent); pointer-events: none; }
.sources-track { flex: 1; min-width: 0; height: 100%; overflow: hidden; }
.sources-roll { display: flex; width: max-content; height: 100%; animation: sources-roll 52s linear infinite; }
.sources:hover .sources-roll { animation-play-state: paused; }
@keyframes sources-roll { to { transform: translateX(-50%); } }
.sources-list { display: flex; align-items: center; gap: 44px; margin: 0; padding: 0 44px 0 24px; list-style: none; }
.sources-list li { display: inline-flex; align-items: center; gap: 10px; font: 600 17px/1 var(--font-sans); letter-spacing: -0.01em; white-space: nowrap; }
.sources-list [data-icon] { width: 20px; height: 20px; }
.sources-list .soon { color: var(--text-subtle); }
.sources-list .soon i { padding: 4px 8px; border-radius: 999px; background: var(--warning-bg); color: var(--warning); font: 500 12px/1 var(--font-sans); font-style: normal; }

/* The window dissolves into the dark page instead of ending on a hard line. */
.lib { position: relative; }
.lib::after { content: ""; position: absolute; inset: auto 0 0; height: 56px; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }
.lib-side { display: flex; flex-direction: column; gap: 1.8em; padding: 1.6em 1.1em; border-right: 1px solid var(--raised); }
.lib-brand { color: var(--text); padding-left: 0.6em; }
.lib-brand svg { height: 1.75em; width: auto; display: block; }
.lib-nav { display: grid; gap: 0.15em; }
.lib-nav span { display: flex; align-items: center; gap: 0.75em; padding: 0.65em 0.75em; border-radius: 0.8em; color: var(--text-muted); font-weight: 500; }
.lib-nav span.on { background: var(--raised); color: var(--text); }
.lib-nav i { width: 0.7em; height: 0.7em; border-radius: 0.2em; background: var(--c); }
.lib-nav em { margin-left: auto; font-style: normal; font-size: 0.9em; color: var(--text-subtle); }
.lib-nav p { margin: 1em 0 0.3em 0.75em; font: 600 0.8em/1 var(--font-sans); color: var(--text-subtle); }
.lib-main { min-width: 0; padding: 1.5em 1.6em; }
.lib-top { display: flex; align-items: center; gap: 1.2em; }
.lib-field { flex: 1; min-width: 0; display: flex; align-items: center; gap: 0.6em; height: 3.4em; padding: 0 1.1em; border-radius: 1em; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: 1.1em; font-weight: 500; cursor: text; transition: box-shadow var(--dur-state) ease; }
.lib-field:focus-within, .lib-field.is-live { box-shadow: inset 0 0 0 1.5px var(--signal); }
.lib-field > svg { width: 1.2em; height: 1.2em; flex-shrink: 0; opacity: .7; }
.lib-input { position: relative; flex: 1; min-width: 0; display: flex; }
.lib-input input { width: 100%; min-width: 0; padding: 0; border: 0; outline: 0; background: none; color: var(--text); font: inherit; }
.lib-input input::placeholder { color: var(--text-subtle); font-weight: 400; }
.lib-input input::-webkit-search-cancel-button { display: none; }
/* While the page types by itself, a drawn caret stands in for the real one. */
.lib-ghost { position: absolute; left: 0; top: 50%; display: none; align-items: center; transform: translateY(-50%); white-space: pre; pointer-events: none; }
.lib-ghost span { color: transparent; }
.lib-field.is-demo .lib-ghost { display: flex; }
.lib-field.is-demo.is-empty .lib-ghost { display: none; }
.caret { display: inline-block; width: 2px; height: 1.15em; margin-left: 1px; background: var(--signal); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.lib-count { min-width: 9em; text-align: right; font-size: 0.95em; color: var(--text-subtle); white-space: nowrap; }
.lib-chips { display: flex; align-items: center; flex-wrap: wrap; gap: 0.5em; margin: 1.1em 0 1.2em; }
.lib-chips button { padding: 0.45em 0.95em; border: 0; border-radius: 999px; background: none; box-shadow: inset 0 0 0 1px var(--line); color: var(--text-muted); font: 500 0.93em/1.3 var(--font-sans); cursor: pointer; transition: color var(--dur-state) ease, box-shadow var(--dur-state) ease; }
.lib-chips button:hover { color: var(--text); box-shadow: inset 0 0 0 1px var(--text-subtle); }
.lib-chips button[aria-pressed="true"] { background: var(--inverse); color: var(--on-inverse); box-shadow: none; }
.lib-fine { margin-left: auto; font-size: 0.85em; color: var(--text-subtle); }
.lib-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1em; }
.lib-card { overflow: hidden; border-radius: 1.1em; background: var(--surface); transition: opacity 320ms ease, filter 320ms ease, transform 420ms var(--ease-out), box-shadow var(--dur-state) ease; }
.lib-card > img, .lib-icon { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.lib-icon { display: grid; place-items: center; background: var(--raised); color: var(--signal); }
.lib-icon svg { width: 2.4em; height: 2.4em; }
.lib-body { padding: 0.9em 1em 1em; }
.lib-title { font-weight: 600; font-size: 1.05em; line-height: 1.25; }
.lib-sum, .lib-snip { margin: 0.4em 0 0.75em; font-size: 0.92em; line-height: 1.4; color: var(--text-muted); }
.lib-snip { display: none; color: var(--text); }
.lib-meta { display: flex; align-items: center; gap: 0.4em; font-size: 0.82em; color: var(--text-subtle); }
.lib-meta [data-icon], .lib-meta svg { width: 1.2em; height: 1.2em; }
.lib-meta em { margin-left: auto; font-style: normal; color: var(--signal-text); }
.lib-card.is-off { opacity: .16; filter: grayscale(1); transform: scale(.97); }
.lib-card.is-match { box-shadow: 0 0 0 2px var(--signal); }
.lib-card.is-match .lib-sum { display: none; }
.lib-card.is-match .lib-snip { display: block; animation: rise 420ms var(--ease-out) both; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }

/* ---------------------------------------------------------- sections */

.save, .inside, .price, .faq { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
h2 { font-weight: 650; letter-spacing: -0.035em; line-height: 1; text-wrap: balance; }

/* ---------------------------------------------------------------- save */

.save {
  padding-top: clamp(96px, 12vw, 180px);
  padding-bottom: clamp(96px, 10vw, 160px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  grid-template-areas: "copy visual" "pick visual";
  gap: 0 clamp(40px, 6vw, 112px);
  align-items: center;
}
.save-copy { grid-area: copy; align-self: end; }
.save-pick { grid-area: pick; align-self: start; }
.save-visual { grid-area: visual; }
.save h2 { font-size: clamp(42px, 5.4vw, 80px); max-width: 10ch; }
.save-copy > p { margin-top: 28px; max-width: 40ch; font-size: clamp(18px, 1.4vw, 20px); line-height: 1.55; color: var(--text-muted); }
.channels { display: inline-flex; gap: 4px; margin-top: 40px; padding: 5px; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line); }
.channels button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 13px;
  background: transparent;
  color: var(--text-muted);
  font: 600 16px/20px var(--font-sans);
  cursor: pointer;
  transition: background-color var(--dur-state) ease, color var(--dur-state) ease;
}
.channels button [data-icon] { width: 18px; height: 18px; }
.channels button:hover { color: var(--text); }
.channels button[aria-selected="true"] { background: var(--inverse); color: var(--on-inverse); }
.save-aside { margin-top: 18px; font: var(--type-body-s); color: var(--text-subtle); min-height: 40px; max-width: 46ch; }

.save-visual { display: grid; place-items: center; position: relative; }
.phone {
  position: relative;
  width: min(360px, 100%);
  aspect-ratio: 9 / 18.6;
  padding: 9px;
  border-radius: 52px;
  background: #0c0d0c;
  box-shadow: inset 0 0 0 1.5px #2e322f, 0 60px 120px rgba(0, 0, 0, .55);
}
.phone-screen {
  height: 100%;
  border-radius: 44px;
  overflow: hidden;
  background: #121413;
  color: #f1f1e9;
  display: flex;
  flex-direction: column;
  font-size: 15px;
}
.ph-status { display: flex; justify-content: space-between; padding: 16px 28px 6px; font: 600 14px/18px var(--font-sans); }
.ph-head { display: flex; align-items: center; gap: 12px; padding: 10px 18px 14px; box-shadow: 0 1px 0 rgba(241, 241, 233, .08); }
.ph-head svg.ph-back { width: 22px; height: 22px; color: #b1b6ac; }
.ph-avatar { width: 38px; height: 38px; border-radius: 12px; overflow: hidden; flex-shrink: 0; }
.ph-avatar svg { width: 100%; height: 100%; display: block; }
.ph-name { display: grid; line-height: 1.25; }
.ph-name b { font-size: 16px; font-weight: 600; }
.ph-name span { font-size: 12.5px; color: #8f978b; }
.ph-chat { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 18px 16px; }
.ph-day { align-self: center; font-size: 12px; color: #8f978b; margin-bottom: 4px; }
.bubble { max-width: 82%; padding: 10px 14px; border-radius: 20px; font-size: 15px; line-height: 1.4; opacity: 0; animation: bubble-in 420ms var(--ease-out) forwards; }
.bubble.out { align-self: flex-end; background: #2d322e; border-bottom-right-radius: 6px; }
.bubble.in { align-self: flex-start; background: #d3f878; color: #20251a; border-bottom-left-radius: 6px; font-weight: 500; }
.bubble.typing { display: inline-flex; gap: 5px; padding: 14px 16px; background: #222523; align-self: flex-start; }
.bubble.typing i { width: 7px; height: 7px; border-radius: 50%; background: #8f978b; animation: dot 1s ease-in-out infinite; }
.bubble.typing i:nth-child(2) { animation-delay: .15s; }
.bubble.typing i:nth-child(3) { animation-delay: .3s; }
.bubble.gone { animation: bubble-out 200ms ease forwards; }
@keyframes bubble-in { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes bubble-out { to { opacity: 0; height: 0; padding: 0; margin: -10px 0 0; } }
@keyframes dot { 0%, 100% { opacity: .35; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }
.reel { width: 196px; padding: 0; overflow: hidden; background: #222523; }
.reel img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.reel p { padding: 10px 12px 12px; font-size: 13.5px; line-height: 1.35; }
.reel p b { display: block; font-size: 12.5px; color: #b1b6ac; font-weight: 500; margin-bottom: 3px; }
.fwd b { display: block; font-size: 12.5px; color: #d3f878; font-weight: 600; margin-bottom: 4px; }
.ph-compose { margin: 0 14px 18px; height: 44px; border-radius: 22px; box-shadow: inset 0 0 0 1px rgba(241, 241, 233, .12); display: flex; align-items: center; padding: 0 16px; color: #6b7368; font-size: 14px; }
.ph-web { flex: 1; padding: 22px 18px; display: flex; flex-direction: column; gap: 14px; }
.ph-web h4 { margin: 4px 0 0; font: 650 24px/1.1 var(--font-sans); letter-spacing: -0.02em; }
.ph-field { height: 52px; border-radius: 14px; background: #222523; box-shadow: inset 0 0 0 1px #6b7368; display: flex; align-items: center; padding: 0 14px; font-size: 14px; color: #f1f1e9; overflow: hidden; white-space: nowrap; }
.ph-field .caret { width: 2px; height: 20px; background: #d3f878; margin-left: 2px; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.ph-btn { height: 50px; border-radius: 14px; background: #d3f878; color: #20251a; font: 600 16px/50px var(--font-sans); text-align: center; }
.ph-btn.pressed { animation: press 300ms var(--ease-out); }
@keyframes press { 40% { transform: scale(.97); } }
.ph-toast { margin-top: auto; padding: 14px 16px; border-radius: 14px; background: #f1f1e9; color: #171918; font-size: 14.5px; display: flex; align-items: center; gap: 10px; opacity: 0; animation: bubble-in 420ms var(--ease-out) forwards; }
.ph-toast .s-loader { color: #3f5a0c; }

[hidden] { display: none !important; }
.channels .soon { font-style: normal; font-size: 11px; line-height: 16px; padding: 1px 7px; border-radius: 999px; background: var(--warning-bg); color: var(--warning); }
.channels button[aria-selected="true"] .soon { background: color-mix(in srgb, var(--on-inverse) 12%, transparent); color: inherit; }

/* Browser window for the bookmarks import (coming soon). */
.browser {
  width: min(580px, 100%);
  border-radius: 20px;
  overflow: hidden;
  background: #222523;
  color: #f1f1e9;
  box-shadow: inset 0 0 0 1px #3a403b, 0 60px 120px rgba(0, 0, 0, .55);
  display: flex;
  flex-direction: column;
}
.browser-bar { display: flex; align-items: center; gap: 14px; height: 46px; padding: 0 16px; background: #121413; }
.lights { display: inline-flex; gap: 7px; }
.lights i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.lights i:nth-child(2) { background: #febc2e; }
.lights i:nth-child(3) { background: #28c840; }
.browser-tab { padding: 6px 14px; border-radius: 10px 10px 0 0; background: #222523; font: 500 13px/18px var(--font-sans); color: #dadcd3; align-self: flex-end; }
.browser-url { margin: 12px 16px 8px; height: 34px; border-radius: 17px; background: #171918; display: flex; align-items: center; padding: 0 16px; font: 13px/1 var(--font-sans); color: #b1b6ac; }
.browser-marks { display: flex; gap: 16px; padding: 0 18px 12px; font: 12.5px/16px var(--font-sans); color: #b1b6ac; box-shadow: 0 1px 0 #3a403b; white-space: nowrap; overflow: hidden; }
.browser-body { min-height: 400px; padding: 26px 26px 24px; display: flex; flex-direction: column; gap: 16px; background: #171918; }
.bw-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bw-head h4 { margin: 0; font: 650 26px/1.1 var(--font-sans); letter-spacing: -0.02em; }
.bw-drop { display: grid; place-items: center; min-height: 140px; padding: 20px; border-radius: 16px; border: 1.5px dashed #6b7368; color: #b1b6ac; text-align: center; font-size: 15px; animation: bubble-in 420ms var(--ease-out) both; }
.bw-file { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px; background: #222523; animation: bubble-in 420ms var(--ease-out) both; }
.bw-file svg { width: 26px; height: 26px; color: #d3f878; flex-shrink: 0; }
.bw-file span { display: grid; font-size: 14px; color: #b1b6ac; }
.bw-file b { font-size: 16px; color: #f1f1e9; font-weight: 600; }
.bw-progress { display: grid; gap: 8px; font-size: 14px; color: #b1b6ac; animation: bubble-in 420ms var(--ease-out) both; }
.bw-progress i { display: block; height: 6px; border-radius: 3px; background: #2d322e; position: relative; overflow: hidden; }
.bw-progress i::after { content: ""; position: absolute; inset: 0; background: #d3f878; border-radius: 3px; transform: scaleX(0); transform-origin: left; transition: transform 1.7s var(--ease-out); }
.bw-progress i.go::after { transform: none; }
.bw-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.bw-list li { display: grid; gap: 2px; padding: 12px 14px; border-radius: 12px; background: #222523; font-size: 15px; line-height: 1.35; animation: bubble-in 420ms var(--ease-out) both; }
.bw-list li:nth-child(2) { animation-delay: 90ms; }
.bw-list li:nth-child(3) { animation-delay: 180ms; }
.bw-list li span { font-size: 12.5px; color: #8f978b; }
.bw-toast { margin-top: auto; }
.bw-toast svg { width: 18px; height: 18px; color: #3f5a0c; }

/* ------------------------------------------------------------ features */

/* Three things Scavi does with what you save. One panel each, in the brand's three grounds: paper, coal, lime. */
.feats { max-width: var(--max); margin: 0 auto; padding: clamp(96px, 12vw, 170px) var(--gutter) 0; display: grid; gap: 20px; }
.feat { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; gap: clamp(32px, 5vw, 80px); min-height: clamp(540px, 72vh, 680px); padding: clamp(28px, 5vw, 72px); border-radius: 32px; overflow: hidden; background: var(--bg); color: var(--text); }
.feat--find { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.feat--find .feat-copy { order: 2; }
.feat--remind { --bg: #d3f878; --text: #171918; --text-muted: #2d322e; --text-subtle: #3a403b; --mark: #171918; }
.feat h2 { font-size: clamp(40px, 4.6vw, 72px); }
.feat-copy > p:not(.feat-plan) { margin-top: 22px; max-width: 30em; font-size: clamp(17px, 1.3vw, 20px); line-height: 1.5; color: var(--text-muted); text-wrap: pretty; }
.feat-plan { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 30px; font: 500 15px/1.4 var(--font-sans); color: var(--text-muted); }
.feat-plan span { display: inline-flex; align-items: center; gap: 8px; }
.feat-plan b { padding: 4px 9px; border-radius: 999px; background: var(--sunken); color: var(--text); font: 600 12px/1.2 var(--font-sans); }
.feat-plan b.pro { background: #171918; color: #d3f878; }
.feat--find .feat-plan b:not(.pro) { background: var(--raised); }
.feat--remind .feat-plan b.pro { box-shadow: none; }

/* Collections: a new save drops onto its shelf. */
.shelf { display: grid; gap: 18px; }
.shelf-in { height: 84px; display: grid; place-items: center; }
.shelf-card { display: flex; align-items: center; gap: 12px; width: min(400px, 100%); padding: 10px 14px 10px 10px; border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-1), var(--shadow-2); animation: rise 460ms var(--ease-out) both; transition: transform 640ms var(--ease-in-out), opacity 640ms ease; }
.shelf-card img { width: 48px; height: 62px; flex: none; border-radius: 10px; object-fit: cover; }
.shelf-card b { display: block; font: 600 16px/1.25 var(--font-sans); }
.shelf-card small { display: flex; align-items: center; gap: 6px; margin-top: 4px; font: var(--type-caption); color: var(--text-subtle); }
.shelf-card small [data-icon] { width: 14px; height: 14px; }
.shelf-card em { margin-left: auto; flex: none; padding: 5px 10px; border-radius: 999px; background: #171918; color: #d3f878; font: 600 12px/1.2 var(--font-sans); font-style: normal; white-space: nowrap; }
.shelf-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.coll { position: relative; display: grid; grid-template-columns: 100px minmax(0, 1fr); align-items: center; gap: 14px; padding: 16px; border-radius: 22px; background: var(--surface); box-shadow: var(--shadow-1); transition: box-shadow 240ms ease, transform 360ms var(--ease-out); }
.coll.got { box-shadow: 0 0 0 3px #d3f878, var(--shadow-2); transform: translateY(-2px); }
.coll-stack { position: relative; height: 112px; }
.coll-stack img { position: absolute; top: 6px; left: 0; width: 76px; height: 100px; border-radius: 12px; object-fit: cover; border: 2px solid var(--surface); box-shadow: 0 6px 14px rgba(23, 25, 24, .16); transform: rotate(-7deg); }
.coll-stack img:nth-last-child(2) { left: 10px; top: 3px; transform: rotate(3deg); }
.coll-stack img:last-child { left: 20px; top: 0; transform: none; }
.coll-stack img.new { animation: drop 520ms var(--ease-out) both; }
@keyframes drop { from { opacity: 0; transform: translateY(-18px) scale(1.08); } }
.coll b { display: block; font: 650 21px/1.1 var(--font-sans); letter-spacing: -0.02em; }
.coll small { display: block; margin-top: 6px; font: var(--type-body-s); color: var(--text-subtle); font-variant-numeric: tabular-nums; }
.coll .plus { position: absolute; top: 12px; right: 12px; padding: 3px 8px; border-radius: 999px; background: #d3f878; color: #20251a; font: 600 12px/1.2 var(--font-sans); opacity: 0; transform: translateY(4px); transition: opacity 200ms ease, transform 300ms var(--ease-out); }
.coll.got .plus { opacity: 1; transform: none; }

/* Search: by word for everyone, by meaning in Pro. */
.find { display: grid; gap: 14px; align-content: start; min-height: 470px; }
.find-modes { display: inline-flex; justify-self: start; gap: 2px; padding: 4px; border-radius: 14px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.find-modes button { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border: 0; border-radius: 10px; background: none; color: var(--text-muted); font: 600 14px/1 var(--font-sans); cursor: pointer; transition: background-color var(--dur-state) ease, color var(--dur-state) ease; }
.find-modes button:hover { color: var(--text); }
.find-modes button[aria-pressed="true"] { background: var(--inverse); color: var(--on-inverse); }
.find-modes i { padding: 3px 7px; border-radius: 999px; background: #d3f878; color: #20251a; font: 600 11px/1.2 var(--font-sans); font-style: normal; }
.find-field { display: flex; align-items: center; gap: 12px; height: 64px; padding: 0 20px; border-radius: 18px; background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--signal); font: 500 20px/1 var(--font-sans); }
.find-field svg { width: 22px; height: 22px; flex: none; opacity: .7; }
.find-res { display: grid; gap: 10px; align-content: start; }
.find-hit { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 14px; padding: 12px; border-radius: 18px; background: var(--bg); animation: rise 460ms var(--ease-out) both; animation-delay: calc(var(--i) * 110ms); }
.find-hit img, .find-hit .ic { width: 56px; height: 72px; border-radius: 10px; object-fit: cover; }
.find-hit .ic { display: grid; place-items: center; background: var(--raised); color: var(--signal); }
.find-hit .ic [data-icon] { width: 24px; height: 24px; }
.find-hit b { display: block; font: 600 16px/1.25 var(--font-sans); }
.find-hit p { margin: 4px 0 8px; font: 400 15px/1.45 var(--font-sans); color: var(--text-muted); }
.find-meta { display: flex; align-items: center; gap: 8px; font: var(--type-caption); color: var(--text-subtle); }
.find-meta [data-icon] { width: 14px; height: 14px; }
.find-meta em { padding: 2px 8px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--text-muted); font-style: normal; }
.find-meta em.mean { box-shadow: none; background: #d3f878; color: #20251a; }

/* Reminders: the post with a date, the event Scavi found, the Telegram message. */
.remind { display: grid; gap: 14px; }
.rm { width: min(440px, 92%); padding: 18px 20px; border-radius: 22px; background: #171918; color: #f1f1e9; box-shadow: 0 24px 50px rgba(23, 25, 24, .22); opacity: 0; transform: translateY(14px); transition: opacity 360ms ease, transform 560ms var(--ease-out); }
.rm.on { opacity: 1; transform: none; }
.rm:nth-child(2) { justify-self: end; }
.rm:nth-child(3) { justify-self: center; }
.rm-src { display: flex; align-items: center; gap: 8px; font: var(--type-caption); color: #8f978b; }
.rm-src [data-icon] { width: 16px; height: 16px; }
.rm p { margin-top: 10px; font: 500 17px/1.45 var(--font-sans); }
.rm-event { display: grid; grid-template-columns: 66px minmax(0, 1fr); align-items: center; gap: 16px; }
.rm-date { display: grid; place-items: center; align-content: center; gap: 4px; height: 76px; border-radius: 16px; background: #d3f878; color: #20251a; }
.rm-event .rm-date b { margin: 0; font: 650 30px/1 var(--font-sans); letter-spacing: -0.02em; }
.rm-event .rm-date small { margin: 0; color: #20251a; font: 600 12px/1 var(--font-sans); text-transform: uppercase; letter-spacing: .04em; }
.rm-kind { font: var(--type-caption); color: #d3f878; }
.rm-event b { display: block; margin-top: 2px; font: 600 18px/1.25 var(--font-sans); }
.rm-event small { display: block; margin-top: 2px; font: var(--type-body-s); color: #b1b6ac; }
.rm-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.rm-chips i { padding: 3px 9px; border-radius: 999px; box-shadow: inset 0 0 0 1px #484f47; color: #dadcd3; font: 500 12px/1.4 var(--font-sans); font-style: normal; }
.rm-confirm { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 6px 12px; border-radius: 10px; background: #f1f1e9; color: #171918; font: 600 13px/1.2 var(--font-sans); transition: background-color 200ms ease, color 200ms ease; }
.rm-confirm.done { background: #2d322e; color: #d3f878; }
.rm-confirm [data-icon] { width: 14px; height: 14px; }
.rm-tg-head { display: flex; align-items: center; gap: 10px; }
.rm-ava { width: 32px; height: 32px; border-radius: 9px; overflow: hidden; flex: none; }
.rm-ava svg { width: 100%; height: 100%; display: block; }
.rm-tg-head b { font: 600 15px/1.2 var(--font-sans); }
.rm-tg-head small { margin-left: auto; font: var(--type-caption); color: #8f978b; }
.rm-tg p { margin-top: 12px; padding: 12px 14px; border-radius: 16px 16px 16px 6px; background: #2d322e; font-size: 16px; }
.rm-tg p strong { font-weight: 600; }
.rm-tg a { display: inline-block; margin-top: 10px; color: #d3f878; font: 600 14px/1.2 var(--font-sans); text-decoration: none; }

/* -------------------------------------------------------------- versus */

/* Scavi against the built-in «Saved»: a paper panel with Scavi as a dark column through the table. */
.versus { max-width: var(--max); margin: 0 auto; padding: clamp(64px, 8vw, 120px) var(--gutter); }
.versus-panel { padding: clamp(28px, 5vw, 72px); border-radius: 32px; background: var(--bg); color: var(--text); }
.versus-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px 64px; align-items: end; }
.versus-head h2 { font-size: clamp(40px, 4.6vw, 72px); }
.versus-head p { max-width: 32em; font-size: clamp(17px, 1.3vw, 20px); line-height: 1.5; color: var(--text-muted); text-wrap: pretty; }
.vs { width: 100%; margin-top: clamp(32px, 4vw, 56px); border-collapse: separate; border-spacing: 0; }
.vs th, .vs td { padding: 18px 22px; text-align: left; vertical-align: middle; }
.vs thead th { padding-top: 24px; padding-bottom: 16px; font: 600 14px/1.3 var(--font-sans); color: var(--text-subtle); }
.vs tbody th { width: 30%; padding-left: 0; border-top: 1px solid var(--line); font: 600 17px/1.35 var(--font-sans); }
.vs tbody td { border-top: 1px solid var(--line); font-size: 16px; line-height: 1.45; color: var(--text-muted); }
.vs td span { display: flex; align-items: flex-start; gap: 12px; }
.vs .us { --mark: #d3f878; width: 36%; background: #171918; color: #f1f1e9; }
.vs tbody .us { border-top-color: #2d322e; color: #f1f1e9; }
.vs thead .us { border-radius: 22px 22px 0 0; }
.vs tbody tr:last-child .us { border-radius: 0 0 22px 22px; padding-bottom: 24px; }
.vs-brand { color: #f1f1e9; }
.vs-brand svg { height: 24px; width: auto; display: block; }
.vs-no, .vs-yes { flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; }
.vs-no { position: relative; background: var(--sunken); }
.vs-no::after { content: ""; position: absolute; left: 6px; right: 6px; top: 10px; height: 2px; border-radius: 1px; background: var(--text-subtle); }
.vs-yes { display: grid; place-items: center; padding: 4px; background: #d3f878; color: #20251a; }

/* -------------------------------------------------------------- inside */

.inside { padding-top: clamp(80px, 10vw, 150px); padding-bottom: clamp(80px, 9vw, 140px); }
.inside-head { max-width: 760px; }
.inside-head h2 { font-size: clamp(40px, 4.8vw, 72px); }
.inside-head p { margin-top: 24px; font-size: clamp(18px, 1.4vw, 20px); color: var(--text-muted); max-width: 44ch; }
.inside-body { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 6vw, 112px); margin-top: clamp(48px, 6vw, 88px); }
.inside-sticky { position: relative; }
.specimen {
  position: sticky;
  top: calc(var(--nav-h) + 32px);
  border-radius: 28px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}
.spec-media { position: relative; height: clamp(150px, 15vw, 230px); }
.spec-media img { width: 100%; height: 100%; object-fit: cover; }
.spec-dur { position: absolute; right: 14px; bottom: 14px; padding: 4px 10px; border-radius: 999px; background: rgba(23, 25, 24, .78); color: #f1f1e9; font: 600 13px/18px var(--font-sans); font-variant-numeric: tabular-nums; }
.spec-body { padding: 24px 26px 28px; display: grid; gap: 16px; }
.spec-body h3 { font: 650 26px/1.15 var(--font-sans); letter-spacing: -0.02em; }
.spec-meta { display: flex; align-items: center; gap: 7px; font: var(--type-caption); color: var(--text-subtle); margin-top: -8px; }
.spec-meta [data-icon] { width: 14px; height: 14px; }
.spec-states { display: flex; flex-wrap: wrap; gap: 6px; }
.spec-states span { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 0 11px; border-radius: 999px; background: var(--raised); color: var(--text-subtle); font: var(--type-caption); transition: background-color 300ms ease, color 300ms ease; }
.spec-states span.done { background: var(--success-bg); color: var(--success); }
.spec-states span.now { background: var(--signal); color: var(--on-signal); }
.spec-layer { display: grid; gap: 6px; opacity: .14; filter: blur(2px); transition: opacity 500ms var(--ease-out), filter 500ms var(--ease-out); }
.spec-layer.on { opacity: 1; filter: none; }
.spec-label { font: 600 13px/18px var(--font-sans); color: var(--text-subtle); }
.spec-transcript p { font-size: 17px; line-height: 1.55; color: var(--text); min-height: 4.65em; }
.spec-summary p { font-size: 16px; line-height: 1.5; color: var(--text-muted); }
.spec-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.spec-tags .s-chip { min-height: 30px; font-size: 13px; padding: 0 12px; cursor: default; }
.spec-collection { font: 600 14px/20px var(--font-sans); color: var(--signal-text); margin-left: 4px; }
.steps { list-style: none; padding: 0; display: grid; }
.steps li { min-height: 38vh; padding: 6vh 0; opacity: .3; transition: opacity 400ms ease; display: grid; align-content: center; gap: 14px; }
.steps li.on { opacity: 1; }
.steps h3 { font: 650 clamp(28px, 2.6vw, 38px)/1.08 var(--font-sans); letter-spacing: -0.025em; }
.steps p { font-size: clamp(17px, 1.3vw, 19px); line-height: 1.55; color: var(--text-muted); max-width: 34ch; }
.inside-honest { margin-top: 24px; max-width: 60ch; font: var(--type-body-s); font-size: 15px; color: var(--text-subtle); }

/* --------------------------------------------------------- light zone */

.light-zone { background: var(--bg); color: var(--text); }
.price { padding-top: clamp(96px, 10vw, 160px); padding-bottom: 40px; }
.price-head { max-width: 760px; }
.price-head h2 { font-size: clamp(44px, 5.6vw, 84px); }
.price-head p { margin-top: 20px; font-size: clamp(18px, 1.4vw, 20px); color: var(--text-muted); }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: clamp(40px, 5vw, 64px); }
.plan { display: flex; flex-direction: column; gap: 16px; padding: clamp(26px, 3vw, 40px); border-radius: 30px; background: var(--surface); box-shadow: var(--shadow-1); }
.plan h3 { font: 650 28px/1 var(--font-sans); letter-spacing: -0.02em; }
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.plan-price { display: flex; align-items: baseline; gap: 10px; margin-top: 8px; }
.plan-price b { font: 650 clamp(52px, 5vw, 72px)/1 var(--font-sans); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.plan-price span { color: var(--text-muted); font-size: 17px; }
.plan-quota { font: 600 19px/1.3 var(--font-sans); }
.plan ul { list-style: none; padding: 0; display: grid; gap: 10px; margin: 6px 0 12px; }
.plan li { position: relative; padding-left: 28px; color: var(--text-muted); font-size: 16px; line-height: 1.45; }
.plan li::before { content: ""; position: absolute; left: 2px; top: .38em; width: 14px; height: 8px; border-left: 2px solid var(--signal-text); border-bottom: 2px solid var(--signal-text); transform: rotate(-45deg); }
.plan .s-btn { margin-top: auto; min-height: 56px; font-size: 17px; }
.plan-fine { font: var(--type-caption); color: var(--text-subtle); }
.plan--pro { background: #171918; color: #f1f1e9; box-shadow: 0 30px 70px rgba(23, 25, 24, .22); }
.plan--pro li { color: #b1b6ac; }
.plan--pro li::before { border-color: #d3f878; }
.plan--pro .plan-price span, .plan--pro .plan-fine { color: #8f978b; }
.plan--pro .s-btn--secondary { background: #2d322e; color: #b1b6ac; box-shadow: inset 0 0 0 1px #484f47; opacity: 1; }
.plan--pro .s-badge--partial { background: #372c1a; color: #f2cc8f; }
.period { display: inline-flex; align-self: flex-start; padding: 4px; border-radius: 14px; box-shadow: inset 0 0 0 1px #484f47; }
.period button { min-height: 38px; padding: 0 14px; border: 0; border-radius: 10px; background: transparent; color: #b1b6ac; font: 600 14px/20px var(--font-sans); cursor: pointer; }
.period button span { color: #d3f878; margin-left: 4px; }
.period button[aria-checked="true"] { background: #f1f1e9; color: #171918; }
.period button[aria-checked="true"] span { color: #3f5a0c; }
.price-promise { margin-top: 28px; font-size: 16px; color: var(--text-muted); }

.faq { padding-top: clamp(80px, 9vw, 140px); padding-bottom: clamp(96px, 10vw, 160px); display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 112px); align-items: start; }
.faq-head { position: sticky; top: calc(var(--nav-h) + 32px); }
.faq-head h2 { font-size: clamp(38px, 4.2vw, 64px); max-width: 11ch; }
.faq-head p { margin-top: 20px; color: var(--text-muted); }
.faq-head a { color: var(--text); }
.faq-list details { box-shadow: 0 1px 0 var(--line); }
.faq-list details:first-child { box-shadow: 0 -1px 0 var(--line), 0 1px 0 var(--line); }
.faq-list summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px 0;
  font: 600 clamp(19px, 1.6vw, 23px)/1.3 var(--font-sans);
  letter-spacing: -0.015em;
  cursor: pointer;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "";
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  border-right: 2px solid var(--text-subtle);
  border-bottom: 2px solid var(--text-subtle);
  transform: rotate(45deg) translate(-3px, -3px);
  transition: transform var(--dur-state) var(--ease-out);
}
.faq-list details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq-list details p { padding: 0 48px 26px 0; font-size: 17px; line-height: 1.6; color: var(--text-muted); max-width: 62ch; }
.faq-list details p a { color: var(--text); }

/* ---------------------------------------------------------------- final */

.final {
  background: #d3f878;
  color: #20251a;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
  padding: clamp(96px, 11vw, 180px) var(--gutter);
  overflow: hidden;
}
.final-mark { width: 100%; max-width: 460px; height: auto; justify-self: center; color: #171918; }
.final h2 { font-size: clamp(56px, 8.4vw, 136px); letter-spacing: -0.045em; line-height: .92; max-width: 7ch; }
.final-btn { margin-top: 44px; min-height: 64px; padding: 0 34px; border-radius: 18px; font-size: 19px; background: #171918; color: #d3f878; }
.final-btn:hover { background: #2d322e; }
.final p { margin-top: 18px; font: var(--type-body-s); font-size: 15px; color: #3a4a1a; }
.cut-band { transform: translate(var(--from), 0); }
.cutting .cut-band { animation: cut-slide var(--dur-cut) var(--ease-out) both; }
.cutting .cut-band.two { animation-delay: 200ms; }
.cutting .bookmark { animation: cut-appear 220ms var(--ease-out) both; }
.bookmark { transform-box: fill-box; transform-origin: center; }
@keyframes cut-slide { from { transform: translate(var(--from), 0); } to { transform: none; } }
@keyframes cut-appear { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }

/* --------------------------------------------------------------- footer */

.foot {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px 48px;
  align-items: center;
  padding: 48px var(--gutter) 56px;
  background: #171918;
  color: #b1b6ac;
  font: var(--type-body-s);
}
.foot-brand { color: #f1f1e9; --mark: #d3f878; }
.foot-brand svg { height: 30px; width: auto; display: block; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 22px; justify-self: end; }
.foot nav a { text-decoration: none; color: #dadcd3; }
.foot nav a:hover { color: #f1f1e9; text-decoration: underline; }
.foot p { grid-column: 1 / -1; }
/* Language switcher: endonyms, the current one marked. */
.foot-lang { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot-lang a { color: #8f978b; text-decoration: none; }
.foot-lang a:hover { color: #f1f1e9; text-decoration: underline; }
.foot-lang a[aria-current="true"] { color: #f1f1e9; font-weight: 600; }
.foot p a { color: #dadcd3; }
.foot-fine { color: #8f978b; font-size: 13px; }

/* ----------------------------------------------------------- responsive */

@media (max-width: 1180px) {
  .nav-links { display: none; }
}
@media (max-width: 900px) {
  :root { --nav-h: 64px; }
  .nav { gap: 12px; }
  .nav-brand svg { height: 24px; }
  .nav-actions .s-btn--ghost { display: none; }
  .hero { height: auto; min-height: 0; padding-top: calc(var(--nav-h) + 40px); }
  .hero h1 { font-size: clamp(34px, 9vw, 46px); }
  .hero-lead { margin-top: 18px; font-size: 17px; }
  .hero-cta { margin-top: 24px; }
  .hero-btn { width: 100%; }
  .lib { flex: none; height: 540px; margin-top: 36px; grid-template-columns: minmax(0, 1fr); }
  .lib-side, .lib-count { display: none; }
  .lib-main { padding: 1.2em 1.1em; }
  .lib-field { font-size: 16px; }
  .lib-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lib-fine { flex-basis: 100%; margin: 0.4em 0 0; }
  .feat, .feat--find { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 32px; padding: 28px 20px 24px; border-radius: 26px; }
  .feat--find .feat-copy { order: 0; }
  .feats { gap: 14px; }
  .shelf-in { height: 76px; }
  .shelf-grid { gap: 10px; }
  .coll { grid-template-columns: 1fr; gap: 10px; padding: 12px; }
  .coll-stack { height: 92px; }
  .coll-stack img { width: 62px; height: 82px; }
  .coll b { font-size: 18px; }
  .find { min-height: 0; }
  .find-field { height: 56px; font-size: 17px; }
  .find-res { min-height: 330px; }
  .rm { width: 100%; }
  .rm p { font-size: 15.5px; }
  .versus-head { grid-template-columns: minmax(0, 1fr); }
  .versus-panel { padding: 28px 20px 20px; border-radius: 26px; }
  /* On a phone each row becomes a card: the criterion, Scavi's answer, then the built-in one in a line. */
  .vs, .vs tbody, .vs th, .vs td { display: block; }
  .vs thead { display: none; }
  .vs tbody tr { display: flex; flex-direction: column; gap: 10px; padding: 18px 0; border-top: 1px solid var(--line); }
  .vs tbody th, .vs tbody td, .vs tbody .us { width: auto; padding: 0; border: 0; }
  .vs tbody .us { order: 1; padding: 12px 14px; border-radius: 14px; font-size: 15px; }
  .vs tbody tr:last-child .us { padding-bottom: 12px; border-radius: 14px; }
  .vs tbody .them { order: 2; font-size: 14px; color: var(--text-subtle); }
  .vs tbody .them span { display: inline; }
  .vs tbody .them .vs-no { display: none; }
  .vs tbody .them::before { content: attr(data-label) ": "; }
  .sources { height: 56px; }
  .sources-label { padding-right: 12px; font-size: 13px; }
  .sources-list { gap: 32px; padding-left: 16px; }
  .sources-list li { font-size: 15px; gap: 8px; }
  .sources-list [data-icon] { width: 18px; height: 18px; }
  /* Phone first, the switch right under it: what changes stays in view while you tap. */
  .save { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "visual" "pick"; row-gap: 28px; }
  .save-visual .phone { zoom: .72; }
  .save-visual .browser { zoom: .8; width: calc(100% / .8); }
  .channels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; margin-top: 0; }
  .channels button { justify-content: center; padding: 0 10px; font-size: 15px; }
  .save-aside { margin-top: 14px; }
  .inside-body { grid-template-columns: 1fr; gap: 0; }
  .inside-sticky { position: sticky; top: calc(var(--nav-h) + 8px); z-index: 2; }
  .specimen { position: relative; top: 0; box-shadow: inset 0 0 0 1px var(--line), 0 24px 40px rgba(0, 0, 0, .55); }
  .spec-media { height: 96px; }
  .spec-body { padding: 16px 18px 18px; gap: 10px; }
  .spec-body h3 { font-size: 19px; }
  .spec-transcript p { font-size: 14.5px; min-height: 0; }
  .spec-summary { display: none; }
  .steps li { min-height: 52vh; padding: 6vh 0; }
  .plans { grid-template-columns: 1fr; }
  .faq { grid-template-columns: 1fr; }
  .faq-head { position: static; }
  .final { grid-template-columns: 1fr; }
  .final-mark { max-width: 260px; justify-self: start; }
  .foot { grid-template-columns: 1fr; }
  .foot nav { justify-self: start; }
}
@media (max-width: 520px) {
  .nav-actions .s-btn--primary { padding: 0 14px; }
  .channels { display: flex; flex-wrap: wrap; }
  .channels button { flex: 1; justify-content: center; padding: 0 10px; font-size: 15px; }
  .faq-list details p { padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bubble, .ph-toast, .caret, .lib-card.is-match .lib-snip { animation: none; opacity: 1; }
  .lib-card { transition: none; }
  .sources-roll { animation: none; }
  .sources-track { overflow-x: auto; }
  .sources-list[aria-hidden] { display: none; }
  .spec-layer { transition: none; }
  .cut-band { transform: none; }
  .cutting .cut-band, .cutting .bookmark { animation: none; }
}
/* Scavi site pages around the landing: documents, blog, articles and 404.
   Built on top of design/landing/src/landing.css (nav, footer, library window, comparison table,
   FAQ list, buttons); this file only adds what those pages need. */

/* ---------------------------------------------------------------- shared */

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font: var(--type-body-s); color: var(--text-subtle); }
.crumbs a { color: var(--text-muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); text-decoration: underline; }

.page-h1 { font-weight: 650; letter-spacing: -0.045em; line-height: 1; text-wrap: balance; }

/* Long-form text: documents and articles. */
.prose { max-width: 68ch; font-size: 18px; line-height: 1.7; color: var(--text-muted); }
.prose h2 { margin-top: 56px; font-size: clamp(28px, 2.6vw, 36px); line-height: 1.12; color: var(--text); scroll-margin-top: calc(var(--nav-h) + 24px); }
.prose > section:first-child h2, .prose > h2:first-child { margin-top: 0; }
.prose p { margin-top: 18px; }
.prose ul, .prose ol { display: grid; gap: 10px; margin: 18px 0 0; padding-left: 22px; }
.prose li::marker { color: var(--signal-text); }
.prose b, .prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose blockquote { margin: 32px 0 0; padding: 22px 26px; border-radius: 20px; background: var(--surface); box-shadow: var(--shadow-1); font: 500 21px/1.45 var(--font-sans); letter-spacing: -0.01em; color: var(--text); }
.prose .table-wrap { margin-top: 28px; }
.prose .vs { margin-top: 0; }
.prose .vs tbody th { font-size: 16px; }
.prose .faq-list p { margin-top: 0; }

/* Table of contents: sticky beside the text, marks the section being read. */
.doc-toc { position: sticky; top: calc(var(--nav-h) + 32px); align-self: start; font: var(--type-body-s); }
.doc-toc p { margin-bottom: 12px; font: 600 13px/1.3 var(--font-sans); color: var(--text-subtle); }
.doc-toc ol { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; border-left: 1px solid var(--line); }
.doc-toc a { display: block; margin-left: -1px; padding: 6px 0 6px 14px; border-left: 2px solid transparent; color: var(--text-muted); line-height: 1.35; text-decoration: none; transition: color var(--dur-state) ease, border-color var(--dur-state) ease; }
.doc-toc a:hover { color: var(--text); }
.doc-toc a[aria-current="true"] { border-left-color: var(--text); color: var(--text); font-weight: 600; }

/* Pills that switch between sibling pages (documents, blog rubrics). */
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pills a, .pills button { padding: 9px 16px; border: 0; border-radius: 999px; background: none; box-shadow: inset 0 0 0 1px var(--line); color: var(--text-muted); font: 500 15px/1.2 var(--font-sans); text-decoration: none; cursor: pointer; transition: color var(--dur-state) ease, box-shadow var(--dur-state) ease; }
.pills a:hover, .pills button:hover { color: var(--text); box-shadow: inset 0 0 0 1px var(--text-subtle); }
.pills a[aria-current="page"], .pills button[aria-pressed="true"] { background: var(--inverse); color: var(--on-inverse); box-shadow: none; }

/* Lime call to action at the end of blog pages. */
.cta-panel { --bg: #d3f878; --text: #171918; --text-muted: #2d322e; display: grid; justify-items: start; gap: 18px; margin-top: clamp(64px, 8vw, 112px); padding: clamp(32px, 5vw, 72px); border-radius: 32px; background: var(--bg); color: var(--text); }
.cta-panel h2 { max-width: 16ch; font-size: clamp(36px, 4.4vw, 68px); }
.cta-panel p { max-width: 44ch; font-size: clamp(17px, 1.3vw, 20px); line-height: 1.5; color: var(--text-muted); }
.cta-panel .final-btn { margin-top: 12px; }

/* ---------------------------------------------------------------- documents */

.doc, .blog, .post { max-width: var(--max); margin: 0 auto; padding: calc(var(--nav-h) + clamp(40px, 7vh, 88px)) var(--gutter) clamp(80px, 9vw, 140px); }
.doc-head, .post-head { max-width: 980px; }
.doc-head h1 { margin-top: 20px; font-size: clamp(44px, 5.4vw, 80px); font-weight: 650; letter-spacing: -0.045em; line-height: 1; text-wrap: balance; }
.doc-lead { max-width: 46ch; margin-top: 22px; font-size: clamp(18px, 1.4vw, 21px); line-height: 1.5; color: var(--text-muted); }
.doc-lead a { color: var(--text); }
.doc-note { display: inline-flex; margin-top: 18px; padding: 6px 12px; border-radius: 999px; background: var(--sunken); color: var(--text-muted); font: var(--type-body-s); }
.doc-switch { margin-top: 36px; }
.doc-body, .post-body { display: grid; grid-template-columns: minmax(0, 250px) minmax(0, 1fr); gap: clamp(32px, 6vw, 112px); margin-top: clamp(48px, 6vw, 80px); padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--line); }
.doc-help { display: grid; gap: 10px; margin-top: clamp(56px, 7vw, 96px); padding: clamp(24px, 3vw, 36px) clamp(24px, 4vw, 48px); border-radius: 28px; background: var(--bg); color: var(--text); }
.doc-help p { font-size: 18px; line-height: 1.5; }
.doc-help a { color: var(--signal); }
.doc-help .doc-company { font: var(--type-body-s); color: var(--text-subtle); }

/* ---------------------------------------------------------------- blog */

.blog-head { display: grid; gap: 22px; max-width: 900px; }
.blog-head h1 { font-size: clamp(44px, 5.6vw, 88px); font-weight: 650; letter-spacing: -0.045em; line-height: .98; text-wrap: balance; }
.blog-head > p { max-width: 44ch; font-size: clamp(18px, 1.4vw, 21px); line-height: 1.5; color: var(--text-muted); }
.blog-filter { margin-top: 10px; }
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: clamp(40px, 5vw, 64px); }
.card { display: flex; flex-direction: column; overflow: hidden; border-radius: 26px; background: var(--surface); box-shadow: var(--shadow-1); color: var(--text); text-decoration: none; transition: transform 240ms var(--ease-out), box-shadow 240ms ease; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-1), var(--shadow-2); }
.card--big { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.card-body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 24px; }
.card--big .card-body { justify-content: center; gap: 16px; padding: clamp(28px, 4vw, 56px); }
.card-cat { font: var(--type-caption); color: var(--signal-text); }
.card h3 { font: 650 22px/1.15 var(--font-sans); letter-spacing: -0.02em; text-wrap: balance; }
.card--big h3 { font-size: clamp(30px, 3vw, 44px); line-height: 1.05; letter-spacing: -0.03em; }
.card-body > p { font-size: 16px; line-height: 1.5; color: var(--text-muted); }
.card--big .card-body > p { font-size: 18px; }
.card-body .card-meta { display: flex; gap: 14px; margin-top: auto; padding-top: 6px; font: var(--type-caption); color: var(--text-subtle); }
.card-meta .soon { padding: 3px 9px; border-radius: 999px; background: var(--warning-bg); color: var(--warning); }
.card--soon { cursor: default; }

/* Typographic covers in the brand grounds; the same layout makes the OG image. */
.cover { position: relative; display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 16 / 9; padding: 22px 24px; overflow: hidden; }
.card--big .cover { aspect-ratio: auto; min-height: 380px; padding: clamp(28px, 4vw, 48px); }
.cover b { position: relative; z-index: 1; max-width: 11ch; font: 650 clamp(24px, 2.2vw, 32px)/1.02 var(--font-sans); letter-spacing: -0.035em; }
.card--big .cover b { font-size: clamp(44px, 5vw, 80px); }
.cover-cat { position: relative; z-index: 1; font: 600 12px/1 var(--font-sans); opacity: .7; }
.cover-mark { position: absolute; right: -6%; bottom: -22%; width: 44%; aspect-ratio: 1; }
.cover-mark svg { width: 100%; height: 100%; display: block; }
/* On the wide cover the title sits low and the mark moves up, so long words never run into it. */
.card--big .cover-mark { top: -16%; right: -4%; bottom: auto; width: 36%; }
.cover--coal { background: #171918; color: #f1f1e9; }
.cover--coal .cover-mark { color: #d3f878; }
.cover--lime { background: #d3f878; color: #171918; }
.cover--lime .cover-mark { color: #171918; }
.cover--paper { background: #e9eae2; color: #171918; }
.cover--paper .cover-mark { color: #c9cdc2; }

/* ---------------------------------------------------------------- article */

.post-head h1 { margin-top: 20px; font-size: clamp(40px, 5vw, 76px); font-weight: 650; letter-spacing: -0.045em; line-height: 1; text-wrap: balance; }
.post-dek { max-width: 50ch; margin-top: 22px; font-size: clamp(19px, 1.5vw, 22px); line-height: 1.5; color: var(--text-muted); }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; margin-top: 28px; font: var(--type-body-s); color: var(--text-subtle); }
.post-author { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; }
.post-ava { display: inline-block; flex: none; width: 32px; height: 32px; overflow: hidden; border-radius: 9px; }
.post-ava svg { width: 100%; height: 100%; display: block; }
.tldr { margin-bottom: 44px; padding: 26px 28px; border-radius: 24px; background: var(--bg); color: var(--text); }
.tldr-label { font: 600 13px/1 var(--font-sans); color: var(--signal); }
.prose .tldr ul { margin-top: 14px; padding-left: 20px; font-size: 17px; line-height: 1.55; color: var(--text); }
.prose .tldr li::marker { color: var(--signal); }
.post-faq { margin-top: 56px; }
.post-faq .faq-list { margin-top: 20px; }
.author-box { display: flex; align-items: flex-start; gap: 16px; margin-top: 48px; padding: 22px 24px; border-radius: 22px; background: var(--surface); box-shadow: var(--shadow-1); }
.author-box .post-ava { width: 44px; height: 44px; border-radius: 12px; }
.author-box b { color: var(--text); font-size: 17px; }
.prose .author-box p { margin-top: 4px; font-size: 16px; line-height: 1.5; }
.related { margin-top: clamp(64px, 8vw, 112px); }
.related h2 { font-size: clamp(32px, 3.4vw, 48px); }
.related .blog-grid { margin-top: 28px; }

/* ---------------------------------------------------------------- 404 */

/* The first screen of the landing, with the library searching for the missing address. */
.nf-lib { grid-template-columns: minmax(0, 1fr); }
.nf-lib .lib-main { padding: 1.6em 1.8em; }
.nf .hero-cta { gap: 12px; }
.nf-path { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nf-empty { margin: 1.8em 0 1.1em; font-size: 1.15em; color: var(--text-muted); }
.nf-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1em; }
.nf-link { display: grid; gap: .3em; padding: 1.2em 1.3em; border-radius: 1.1em; background: var(--surface); color: var(--text); text-decoration: none; transition: box-shadow var(--dur-state) ease, transform 240ms var(--ease-out); }
.nf-link:hover { box-shadow: 0 0 0 2px var(--signal); transform: translateY(-2px); }
.nf-link b { font-size: 1.15em; font-weight: 600; }
.nf-link small { font-size: .95em; color: var(--text-subtle); }

/* ---------------------------------------------------------------- responsive */

@media (max-width: 1180px) {
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .doc, .blog, .post { padding-top: calc(var(--nav-h) + 32px); }
  .doc-body, .post-body { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .doc-toc { position: static; }
  .prose { font-size: 17px; }
  .prose h2 { margin-top: 44px; }
  .blog-grid { grid-template-columns: minmax(0, 1fr); }
  .card--big { grid-template-columns: minmax(0, 1fr); }
  .card--big .cover { min-height: 230px; }
  .cta-panel { border-radius: 26px; }
  .nf-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nf-lib .lib-main { padding: 1.2em 1.1em; }
}
@media (prefers-reduced-motion: reduce) {
  .card, .nf-link { transition: none; }
}


.spec-states span:not(.done):not(.now){color:var(--text-muted)}
h1,h2{overflow-wrap:anywhere;hyphens:auto}
