/* vinted-bot landing site.
 *
 * Same design system as the dashboard (tokens copied from web/static/css/tokens.css):
 * Vinted-like teal as the one action colour, teal-tinted greys, Gabarito for display,
 * Inter for everything else, big flat colour fields that hold Mags, lipped pill buttons,
 * hairline rings instead of resting shadows. Blur shadows only on things that float.
 */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/Inter-latin.056e5e12d6.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/Inter-latin-ext.a28eb6d3cc.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Gabarito";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/Gabarito-latin.3f5e6ec227.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Gabarito";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/Gabarito-latin-ext.6ec63e9aed.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: light;
  --c-primary: #007782;          /* white on it 5.2:1 */
  --c-primary-rgb: 0, 119, 130;
  --c-primary-hover: #006872;
  --c-primary-lip: #004f57;
  --c-on-primary: #ffffff;
  --c-primary-light: #c9f0ee;
  --c-primary-tint: #e6fafa;

  --c-ink: #15191a;
  --c-text-2: #5a6566;           /* 6.1:1 */
  --c-text-3: #7b8687;           /* hints only */
  --c-control: #b6bebf;
  --c-control-strong: #7b8687;
  --c-line: #e1e6e6;
  --c-fill: #edf2f2;
  --c-page: #ffffff;
  --c-surface: #ffffff;
  --c-surface-2: #f5f7f7;
  --c-border: rgba(21, 25, 26, .12);
  --c-border-faint: rgba(21, 25, 26, .07);

  --c-success: #28865a;
  --c-success-ink: #1f6e49;
  --c-success-tint: #ebfcef;
  --c-danger: #c23a4a;
  --c-danger-ink: #a8303f;
  --c-danger-tint: #fff4f4;
  --c-amber: #f9bb42;
  --c-amber-ink: #7a5300;
  --c-amber-tint: #fff5e5;

  --field-teal: #c9f0ee;
  --field-sun: #ffeecb;
  --field-lilac: #e3e2ff;
  --field-mint: #d6f5df;
  --field-deep: #112e33;         /* the one dark moment on the page */
  --field-ink: #15191a;

  --s-1: #2a78d6; --s-2: #eb6834; --s-3: #eda100; --s-4: #e87ba4;
  --s-5: #008300; --s-6: #6250d6; --s-7: #1baf7a;

  --st-watching: #28865a;
  --st-quiet: #7b8687;
  --st-stuck: #d08a00;
  --st-blocked: #c23a4a;

  --font-ui: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-display: "Gabarito", "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;

  --r-photo: 8px;
  --r-control: 10px;
  --r-card: 14px;
  --r-choice: 16px;
  --r-field: 28px;
  --r-pill: 999px;

  --ring: inset 0 0 0 1px var(--c-border);
  --shadow-float: 0 12px 32px rgba(21, 25, 26, .16), 0 2px 6px rgba(21, 25, 26, .08);
  --focus: 0 0 0 2px var(--c-page), 0 0 0 4px var(--c-primary);
  --ease-out: cubic-bezier(.2, .8, .2, 1);

  --wrap: 1180px;
  --gutter: 20px;
  --nav-h: 64px;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --c-primary: #4aa6b2;
    --c-primary-rgb: 74, 166, 178;
    --c-primary-hover: #66b8c3;
    --c-primary-lip: #1e6670;
    --c-on-primary: #0d1314;
    --c-primary-light: #134a52;
    --c-primary-tint: #12302f;
    --c-ink: #eef2f2;
    --c-text-2: #a9b3b4;
    --c-text-3: #869192;
    --c-control: #4a5556;
    --c-control-strong: #869192;
    --c-line: #2a3233;
    --c-fill: #232a2b;
    --c-page: #101515;
    --c-surface: #171d1e;
    --c-surface-2: #131919;
    --c-border: rgba(238, 242, 242, .12);
    --c-border-faint: rgba(238, 242, 242, .07);
    --c-success: #43b883;
    --c-success-ink: #6fd0a2;
    --c-success-tint: #142a1f;
    --c-danger: #ec6b7a;
    --c-danger-ink: #f39aa4;
    --c-danger-tint: #2c1a1d;
    --c-amber-ink: #f6cd7a;
    --c-amber-tint: #2e2514;
    --field-teal: #1d4448;
    --field-sun: #463920;
    --field-lilac: #2f2d55;
    --field-mint: #1c4029;
    --field-deep: #0b2124;
    --field-ink: #eef2f2;
    --s-1: #3987e5; --s-2: #d95926; --s-3: #c98500; --s-4: #d55181;
    --s-5: #2f9a2f; --s-6: #9085e9; --s-7: #199e70;
    --st-watching: #43b883;
    --st-quiet: #869192;
    --st-stuck: #f0a82a;
    --st-blocked: #ec6b7a;
    --shadow-float: 0 12px 32px rgba(0, 0, 0, .5), 0 2px 6px rgba(0, 0, 0, .3);
  }
}

/* ───────── Base ───────── */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--c-page);
  color: var(--c-text-2);
  font: 400 16px/1.55 var(--font-ui);
  font-feature-settings: "cv11" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--c-primary); text-underline-offset: 3px; }
a:hover { color: var(--c-primary-hover); }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, pre { margin: 0; }
h1, h2, h3 { color: var(--c-ink); text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--c-primary-light); color: var(--c-ink); }
code, kbd, pre { font-family: var(--font-mono); }
.num, time { font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: var(--r-pill); background: var(--c-ink); color: var(--c-page); text-decoration: none; }
.skip:focus { top: 12px; color: var(--c-page); }
.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.i-sm { width: 16px; height: 16px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: 0 clamp(72px, 9vw, 120px); }   /* sections stack, so only the bottom pads */

/* ───────── Type ───────── */
.h1 {
  font: 800 clamp(40px, 5.4vw, 68px)/0.98 var(--font-display);
  letter-spacing: -0.035em;
}
.h1 span { display: block; color: var(--c-primary); }
.h2 { font: 800 clamp(30px, 3.6vw, 46px)/1.04 var(--font-display); letter-spacing: -0.028em; }
.h3 { font: 600 17px/1.35 var(--font-ui); color: var(--c-ink); }
.lead { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.55; color: var(--c-text-2); max-width: 58ch; }
.muted { color: var(--c-text-2); }
.small { font-size: 14px; line-height: 1.5; }
.kicker { font: 600 14px/1.3 var(--font-ui); color: var(--c-primary); margin-bottom: 12px; }
.head { display: grid; gap: 16px; max-width: 760px; margin-bottom: clamp(32px, 4vw, 48px); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }
.link-arrow .i { width: 18px; height: 18px; }

/* ───────── Buttons ───────── */
.btn {
  --lip: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border: 0; border-radius: var(--r-pill);
  font: 600 15px/1 var(--font-ui); text-decoration: none; white-space: nowrap;
  transition: transform 80ms, box-shadow 80ms, background-color 120ms;
}
.btn .i { width: 18px; height: 18px; }
.btn--primary { --lip: var(--c-primary-lip); background: var(--c-primary); color: var(--c-on-primary); box-shadow: 0 3px 0 var(--lip); }
.btn--primary:hover { background: var(--c-primary-hover); color: var(--c-on-primary); }
.btn--primary:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--lip); }
.btn--primary:focus-visible { outline: none; box-shadow: 0 3px 0 var(--lip), var(--focus); }
.btn--secondary { background: var(--c-surface); color: var(--c-ink); box-shadow: inset 0 0 0 1.5px var(--c-control); }
.btn--secondary:hover { background: var(--c-fill); color: var(--c-ink); box-shadow: inset 0 0 0 1.5px var(--c-control-strong); }
.btn--secondary:active { transform: translateY(1px); }
.btn--secondary:focus-visible { outline: none; box-shadow: inset 0 0 0 1.5px var(--c-control), var(--focus); }
.btn--ghost { background: transparent; color: var(--c-text-2); padding: 0 12px; }
.btn--ghost:hover { background: var(--c-fill); color: var(--c-ink); }
.btn--lg { height: 54px; padding: 0 28px; font-size: 16.5px; }
.btn--sm { height: 36px; padding: 0 14px; font-size: 14px; }
.btn--sm.btn--primary { box-shadow: 0 2px 0 var(--lip); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ───────── Nav ───────── */
.nav { position: sticky; top: 0; z-index: 50; background: var(--c-page); transition: box-shadow 160ms; }
.nav.is-scrolled { box-shadow: 0 1px 0 var(--c-border-faint); }
.nav__row { display: flex; align-items: center; gap: 24px; height: var(--nav-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--c-ink); text-decoration: none; flex: none; }
.brand:hover { color: var(--c-ink); }
.brand img { width: 34px; height: 34px; border-radius: 50%; background: var(--c-primary); }
.brand span { font: 800 21px/1 var(--font-display); letter-spacing: -0.02em; }
.nav__links { display: flex; gap: 2px; margin: 0 0 0 8px; padding: 0; list-style: none; }
.nav__links a { display: inline-flex; align-items: center; height: 38px; padding: 0 12px; border-radius: var(--r-pill); color: var(--c-text-2); font-size: 15px; font-weight: 500; text-decoration: none; }
.nav__links a:hover { background: var(--c-fill); color: var(--c-ink); }
.nav__end { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav__gh { width: 40px; padding: 0; }
@media (max-width: 900px) { .nav__links { display: none; } }

/* ───────── Hero ───────── */
.hero { padding-block: clamp(28px, 5vw, 64px) clamp(56px, 8vw, 96px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero__text { display: grid; gap: 22px; align-content: center; }
.hero .lead { font-size: clamp(17px, 1.6vw, 20px); }
.hero__note { font-size: 14px; color: var(--c-text-2); }
.trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 4px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--c-text-2); }
.trust li { display: inline-flex; align-items: center; gap: 6px; }
.trust .i { width: 16px; height: 16px; color: var(--c-success); }
.hero__indep { font-size: 14px; font-weight: 600; color: var(--c-text-2); }
.hero__indep + .hero__note { margin-top: -16px; }
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
}

/* The stage: a colour field with a small, working copy of the dashboard on it. */
.stage { position: relative; border-radius: var(--r-field); background: var(--field-teal); padding: 28px 28px 0; min-height: 540px; overflow: hidden; isolation: isolate; }
.stage__app { position: relative; z-index: 1; border-radius: var(--r-card) var(--r-card) 0 0; background: var(--c-surface); box-shadow: var(--ring); padding: 14px 16px 0; margin: 64px 72px 0 0; height: 476px; overflow: hidden; }
.stage__bar { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--c-border-faint); margin-bottom: 14px; }
.stage__bar img { width: 24px; height: 24px; border-radius: 50%; background: var(--c-primary); }
.stage__title { font: 800 16px/1 var(--font-display); color: var(--c-ink); letter-spacing: -0.01em; }
.stage__live { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--c-text-2); white-space: nowrap; }
.stage__live b { color: var(--c-ink); font-weight: 500; }
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--st-watching); flex: none; }
.pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--st-watching); opacity: 0; animation: pulse 2.4s var(--ease-out) infinite; }
@keyframes pulse { 0% { transform: scale(.5); opacity: .8; } 100% { transform: scale(1.4); opacity: 0; } }

.mini-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 12px; }
.mini { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; min-width: 0; font-size: 11.5px; line-height: 1.35; color: var(--c-text-2); }
.mini__media { position: relative; aspect-ratio: 2 / 3; border-radius: var(--r-photo); overflow: hidden; background: var(--c-fill); }
.mini__media img { width: 100%; height: 100%; object-fit: cover; }
.mini__flags { position: absolute; top: 6px; left: 6px; right: 6px; display: flex; flex-wrap: wrap; gap: 4px; }
.mini__title { color: var(--c-ink); font-size: 12.5px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini__meta { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini__total { color: var(--c-primary); font-size: 13.5px; font-weight: 600; display: flex; align-items: baseline; gap: 4px; }
.mini__total small { font-size: 11px; font-weight: 400; }
.mini__foot { display: flex; justify-content: space-between; gap: 6px; min-width: 0; }
.mini__foot span:first-child { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini__foot span .sdot { margin-right: 5px; vertical-align: 1px; }
.mini__foot time { flex: none; white-space: nowrap; }
.sdot { width: 7px; height: 7px; border-radius: 50%; flex: none; background: var(--sc, var(--c-text-3)); display: inline-block; }
.mini.is-new .mini__media { box-shadow: 0 0 0 3px var(--c-primary); }
.mini.is-arriving { animation: arrive 420ms var(--ease-out); }
@keyframes arrive { from { opacity: 0; transform: translateY(-14px) scale(.96); } to { opacity: 1; transform: none; } }

.badge { display: inline-flex; align-items: center; gap: 4px; height: 21px; padding: 0 8px; border-radius: var(--r-pill); font-size: 11px; font-weight: 600; white-space: nowrap; background: var(--c-fill); color: var(--c-text-2); }
.badge .i { width: 12px; height: 12px; }
.badge--new { background: var(--c-primary); color: var(--c-on-primary); }
.badge--deal { background: var(--c-amber); color: #15191a; }

/* The push notification that drops onto the stage */
.push {
  position: absolute; z-index: 3; top: 18px; left: 50%; width: min(400px, calc(100% - 32px));
  display: grid; grid-template-columns: 38px minmax(0, 1fr) 46px; gap: 12px; align-items: center;
  padding: 12px 12px 12px 14px; border-radius: 18px;
  background: var(--c-surface); box-shadow: var(--shadow-float), var(--ring);
  transform: translate(-50%, 0); transition: transform 460ms var(--ease-out), opacity 300ms;
}
.push.is-out { transform: translate(-50%, -140%); opacity: 0; }
.push__icon { width: 38px; height: 38px; border-radius: 10px; background: var(--c-primary); }
.push__body { min-width: 0; font-size: 13px; line-height: 1.35; }
.push__top { display: flex; justify-content: space-between; gap: 8px; color: var(--c-text-2); font-size: 12px; }
.push__app { font-weight: 600; color: var(--c-ink); }
.push__title { color: var(--c-ink); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.push__text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--c-text-2); }
.push__thumb { width: 46px; height: 58px; border-radius: 8px; object-fit: cover; background: var(--c-fill); }
.stage__mags { position: absolute; z-index: 2; right: 4px; bottom: -6px; width: 150px; height: auto; pointer-events: none; }
.stage__ctl { position: absolute; z-index: 4; left: 16px; bottom: 14px; }
.stage__ctl button { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border: 0; border-radius: var(--r-pill); background: var(--c-surface); color: var(--c-ink); font-size: 13px; font-weight: 500; box-shadow: var(--shadow-float), var(--ring); }
.stage__ctl .i { width: 14px; height: 14px; }

@media (max-width: 1100px) and (min-width: 961px) {
  .mini-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mini:nth-child(n+5) { display: none; }
}
@media (max-width: 640px) {
  .stage { padding: 16px 16px 0; min-height: 0; }
  .stage__app { margin: 84px 0 0; height: 420px; padding: 12px 12px 0; }
  .mini-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 10px; }
  .mini:nth-child(n+5) { display: none; }
  .stage__live span.long { display: none; }
  .stage__mags { width: 104px; right: 6px; }
  .push { top: 12px; grid-template-columns: 34px minmax(0, 1fr) 40px; gap: 10px; padding: 10px; border-radius: 16px; }
  .push__icon { width: 34px; height: 34px; }
  .push__thumb { width: 40px; height: 52px; }
}

/* ───────── Steps ───────── */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.step { display: grid; grid-template-rows: auto 1fr; border-radius: var(--r-card); background: var(--c-surface); box-shadow: var(--ring); overflow: hidden; }
.step__demo { background: var(--c-surface-2); padding: 22px; min-height: 196px; display: grid; align-content: center; gap: 10px; border-bottom: 1px solid var(--c-border-faint); }
.step__text { padding: 20px 22px 24px; display: grid; gap: 8px; align-content: start; }
.step__when { font: 600 13px/1 var(--font-ui); color: var(--c-primary); }
.step__text p { font-size: 15px; }
@media (max-width: 900px) { .steps { grid-template-columns: minmax(0, 1fr); } .step__demo { min-height: 0; } }

.fake-input { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px; border-radius: var(--r-control); background: var(--c-surface); border: 1px solid var(--c-primary); box-shadow: inset 0 0 0 1px var(--c-primary); font-size: 13.5px; color: var(--c-ink); min-width: 0; }
.fake-input span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fake-input .i { color: var(--c-text-2); width: 16px; height: 16px; }
.read { display: flex; flex-wrap: wrap; gap: 6px; }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px; border-radius: var(--r-pill); background: var(--c-surface); box-shadow: var(--ring); font-size: 12.5px; color: var(--c-ink); white-space: nowrap; }
.pill .i { width: 14px; height: 14px; color: var(--c-success); }
.okline { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--c-success-ink); }
.okline .i { width: 16px; height: 16px; }
.dest { display: grid; grid-template-columns: 32px minmax(0, 1fr) 20px; align-items: center; gap: 12px; min-height: 48px; padding: 8px 12px; border-radius: 12px; background: var(--c-surface); box-shadow: var(--ring); font-size: 14px; color: var(--c-ink); font-weight: 500; }
.dest.is-on { background: var(--c-primary-tint); box-shadow: inset 0 0 0 2px var(--c-primary); }
.dest__icon { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; color: #fff; }
.dest__icon .i { width: 17px; height: 17px; }
.dest__tick { width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--c-control-strong); display: grid; place-items: center; }
.dest.is-on .dest__tick { background: var(--c-primary); box-shadow: none; color: var(--c-on-primary); }
.dest__tick .i { width: 12px; height: 12px; stroke-width: 3; }
.bg-discord { background: #5865f2; }
.bg-telegram { background: #2aabee; }
.bg-ntfy { background: #317f6f; }
.mini-push { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; align-items: center; padding: 10px 12px; border-radius: 14px; background: var(--c-surface); box-shadow: var(--ring); font-size: 13px; line-height: 1.35; }
.mini-push img { width: 34px; height: 34px; border-radius: 9px; background: var(--c-primary); }
.mini-push b { color: var(--c-ink); font-weight: 600; }
.mini-push span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-push--faint { opacity: .75; }

/* ───────── Alert previews ───────── */
.field { --pad: clamp(20px, 4vw, 48px); position: relative; border-radius: var(--r-field); padding: var(--pad); }
.field--teal { background: var(--field-teal); }
.field--sun { background: var(--field-sun); }
.field--lilac { background: var(--field-lilac); }
.field--deep { background: var(--field-deep); color: #c9d6d6; }
.field--deep .h2, .field--deep .h3 { color: #fff; }
.field--deep .lead { color: #c9d6d6; }

.alerts { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(20px, 3vw, 36px); align-items: start; }
.alerts__col { display: grid; gap: 10px; min-width: 0; }
.alerts__label { display: inline-flex; align-items: center; gap: 8px; font: 600 14px/1 var(--font-ui); color: var(--field-ink); }
.alerts__label .dest__icon { width: 26px; height: 26px; border-radius: 7px; }
.alerts__label .dest__icon .i { width: 14px; height: 14px; }
.alerts__foot { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin: 28px 0 calc(-1 * var(--pad)); padding: 0 0 var(--pad) 150px; min-height: 150px; color: var(--field-ink); font-size: 15px; }
.alerts__mags { position: absolute; left: 0; bottom: -6px; width: 124px; }
.alerts__foot .pill { background: rgba(255, 255, 255, .7); box-shadow: none; }
@media (prefers-color-scheme: dark) { .alerts__foot .pill { background: rgba(0, 0, 0, .25); } }
@media (max-width: 900px) {
  .alerts { grid-template-columns: minmax(0, 1fr); }
  .alerts__foot { padding-left: 0; padding-bottom: 130px; }
  .alerts__mags { left: auto; right: 0; width: 100px; }
}

/* Discord, dark theme, drawn after a Components V2 webhook message. */
.dc { border-radius: 12px; background: #313338; color: #dbdee1; padding: 16px 16px 18px 14px; font: 400 15px/1.375 "gg sans", "Noto Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 0 14px; -webkit-font-smoothing: antialiased; }
.dc__avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--c-primary); }
.dc__head { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; line-height: 1.2; margin-bottom: 6px; }
.dc__name { color: #f2f3f5; font-weight: 600; }
.dc__tag { background: #5865f2; color: #fff; font-size: 10px; font-weight: 600; padding: 1px 5px; border-radius: 4px; letter-spacing: .02em; }
.dc__time { color: #949ba4; font-size: 12px; margin-left: 2px; }
.dc__box { position: relative; border-radius: 8px; background: #393a41; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05); padding: 14px 14px 14px 18px; display: grid; gap: 8px; max-width: 440px; }
.dc__box::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; border-radius: 8px 0 0 8px; background: #28865a; }
.dc__sub { font-size: 12px; color: #949ba4; line-height: 1.35; }
.dc a { color: #33b9ff; text-decoration: none; }
.dc a:hover { text-decoration: underline; color: #33b9ff; }
.dc__h3 { font-size: 16px; font-weight: 700; line-height: 1.3; }
.dc__gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 4px; border-radius: 8px; overflow: hidden; aspect-ratio: 4 / 3; }
.dc__gallery img { width: 100%; height: 100%; object-fit: cover; background: #2b2d31; }
.dc__gallery img:first-child { grid-row: 1 / span 2; }
.dc__price { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; }
.dc__price b { font-size: 24px; font-weight: 700; color: #f2f3f5; line-height: 1.2; }
.dc code { font: 500 13px/1.3 var(--font-mono); background: #2b2d31; border: 1px solid #1e1f22; border-radius: 4px; padding: 2px 5px; color: #dbdee1; }
.dc__hr { height: 1px; background: rgba(255, 255, 255, .08); margin: 2px 0; }
.dc__facts { font-size: 14px; line-height: 1.5; }
.dc__facts strong { color: #f2f3f5; font-weight: 600; }
.dc__btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.dc__btn { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 8px; background: #4e5058; color: #fff; font-size: 14px; font-weight: 500; }
.dc__btn .i { width: 14px; height: 14px; opacity: .85; }
.star { color: #f9bb42; }
.flag { display: inline-block; width: 15px; height: 10px; border-radius: 2px; vertical-align: -1px; background: linear-gradient(90deg, #002395 0 33.3%, #fff 33.3% 66.6%, #ed2939 66.6%); }

/* Telegram, drawn after a sendPhoto alert with an inline keyboard. */
.tg { border-radius: 12px; background: #d5e2c3; padding: 16px 14px 14px; display: grid; gap: 4px; font: 400 14.5px/1.4 -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; color: #000; justify-items: start; }
.tg__bubble { width: min(100%, 310px); border-radius: 14px 14px 14px 4px; background: #fff; overflow: hidden; }
.tg__photo { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 35%; background: #e8eef2; }
.tg__cap { padding: 8px 12px 6px; display: grid; gap: 1px; }
.tg__cap a { color: #168acd; text-decoration: none; }
.tg__cap i { font-style: italic; }
.tg__quote { margin: 5px 0 3px; padding: 4px 8px 4px 10px; border-left: 3px solid #168acd; border-radius: 4px; background: rgba(22, 138, 205, .08); font-size: 13.5px; position: relative; }
.tg__time { justify-self: end; font-size: 12px; color: #6d7f8f; margin-top: -2px; }
.tg__kb { width: min(100%, 310px); display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.tg__key { display: grid; place-items: center; height: 38px; border-radius: 10px; background: rgba(60, 90, 50, .38); color: #fff; font-size: 14px; font-weight: 500; }
.tg__key--success { background: #2e8247; }
.tg__key--primary { background: #2a6fb8; }
.tg__key--wide { grid-column: 1 / -1; }
@media (prefers-color-scheme: dark) {
  .tg { background: #0e1621; color: #f5f5f5; }
  .tg__bubble { background: #182533; }
  .tg__cap a { color: #71baf4; }
  .tg__quote { border-color: #71baf4; background: rgba(113, 186, 244, .1); }
  .tg__time { color: #8197ad; }
  .tg__key { background: rgba(255, 255, 255, .12); }
  .tg__key--success { background: #2e8247; }
  .tg__key--primary { background: #2a6fb8; }
}

/* ───────── Health ───────── */
.health { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 64px); align-items: start; overflow: hidden; }
.health__text { display: grid; gap: 18px; align-content: start; position: relative; align-self: stretch; padding-bottom: 170px; }
.health__mags { position: absolute; left: 0; bottom: calc(-1 * var(--pad) - 6px); width: 140px; }
.health__quote { font-size: 15px; color: #a9bcbc; border-left: 3px solid #4aa6b2; padding-left: 14px; }
.status-card { border-radius: var(--r-card); background: var(--c-surface); color: var(--c-text-2); box-shadow: var(--ring); overflow: hidden; }
.status-card__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--c-border-faint); font-size: 14px; }
.status-card__head b { color: var(--c-ink); font-weight: 600; font-size: 15px; }
.srow { display: grid; grid-template-columns: 4px minmax(0, 1fr); gap: 14px; padding: 14px 18px; }
.srow + .srow { border-top: 1px solid var(--c-border-faint); }
.srow__bar { border-radius: 4px; background: var(--sc); }
.srow__name { color: var(--c-ink); font-weight: 600; font-size: 15px; }
.srow__state { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; font-size: 14px; margin-top: 2px; }
.status { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--c-ink); white-space: nowrap; }
.status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--st-c); flex: none; }
.status--watching { --st-c: var(--st-watching); }
.status--quiet { --st-c: var(--st-quiet); }
.status--stuck { --st-c: var(--st-stuck); }
.status--stuck::before { border-radius: 2px; transform: rotate(45deg) scale(.85); }
.status--blocked { --st-c: var(--st-blocked); }
.status--blocked::before { border-radius: 2px; }
@media (max-width: 900px) {
  .health { grid-template-columns: minmax(0, 1fr); }
  .health__text { padding-bottom: 0; }
  .health__mags { display: none; }
}

/* ───────── Features ───────── */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--c-line); }
.feature { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding: 26px 28px 28px 0; border-bottom: 1px solid var(--c-line); }
.feature__icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--c-primary-tint); color: var(--c-primary); }
.feature h3 { font: 600 16.5px/1.35 var(--font-ui); color: var(--c-ink); margin-bottom: 4px; }
.feature p { font-size: 15px; line-height: 1.5; }
@media (max-width: 960px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .features { grid-template-columns: minmax(0, 1fr); } .feature { padding: 20px 0; } }

/* ───────── Screens ───────── */
.tabs { display: flex; gap: 4px; padding: 4px; border-radius: var(--r-pill); background: var(--c-fill); width: max-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs [role="tab"] { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 16px; border: 0; border-radius: var(--r-pill); background: transparent; color: var(--c-text-2); font-size: 14.5px; font-weight: 500; white-space: nowrap; }
.tabs [role="tab"]:hover { color: var(--c-ink); }
.tabs [role="tab"][aria-selected="true"] { background: var(--c-surface); color: var(--c-ink); box-shadow: 0 1px 2px rgba(21, 25, 26, .16); }
.tabs [role="tab"]:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 1px; }
.tabs .i { width: 16px; height: 16px; }
.screens__panel { margin-top: 20px; }
.window { border-radius: var(--r-card); background: var(--c-surface); box-shadow: var(--ring); overflow: hidden; }
.window__bar { display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--c-border-faint); background: var(--c-surface-2); }
.window__dots { display: flex; gap: 6px; }
.window__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--c-line); }
.window__url { flex: 1; max-width: 360px; margin-inline: auto; height: 24px; border-radius: var(--r-pill); background: var(--c-fill); font-size: 12px; display: grid; place-items: center; color: var(--c-text-2); }
.window img { width: 100%; height: auto; background: var(--c-surface-2); }
.screens__cap { margin-top: 14px; font-size: 15px; max-width: 70ch; }

/* ───────── Compare ───────── */
.compare-wrap { border-radius: var(--r-card); box-shadow: var(--ring); overflow: hidden; background: var(--c-surface); }
.compare { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 15px 20px; text-align: left; vertical-align: top; }
.compare thead th { font: 600 14px/1.3 var(--font-ui); color: var(--c-text-2); background: var(--c-surface-2); border-bottom: 1px solid var(--c-border-faint); }
.compare thead th.is-us { color: var(--c-primary); }
.compare tbody th { font-weight: 600; color: var(--c-ink); width: 24%; }
.compare tbody tr + tr > * { border-top: 1px solid var(--c-border-faint); }
.compare td.is-us { color: var(--c-ink); background: rgba(var(--c-primary-rgb), .05); }
.compare td .i { display: inline-block; vertical-align: -4px; margin-right: 6px; width: 18px; height: 18px; }
.yes { color: var(--c-success); }
.no { color: var(--c-text-3); }
.compare-note { margin-top: 18px; display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; padding: 16px 18px; border-radius: var(--r-choice); background: var(--c-amber-tint); color: var(--c-ink); font-size: 15px; max-width: 860px; }
.compare-note .i { color: var(--c-amber-ink); margin-top: 1px; }
@media (max-width: 720px) {
  .compare thead { display: none; }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare tbody tr { padding: 14px 16px; }
  .compare tbody tr + tr { border-top: 1px solid var(--c-border-faint); }
  .compare tbody tr + tr > * { border-top: 0; }
  .compare th, .compare td { padding: 0; }
  .compare tbody th { width: auto; margin-bottom: 8px; }
  .compare td { padding: 8px 10px; border-radius: 10px; font-size: 14.5px; }
  .compare td.is-us { margin-bottom: 4px; }
  .compare td::before { content: attr(data-label); display: block; font-size: 12.5px; font-weight: 600; color: var(--c-text-2); margin-bottom: 2px; }
  .compare td.is-us::before { color: var(--c-primary); }
}

/* ───────── Install ───────── */
.install { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.install__panel { border-radius: var(--r-card); background: var(--c-surface); box-shadow: var(--ring); padding: clamp(18px, 3vw, 32px); display: grid; gap: 18px; }
.install__panel ol { margin: 0; padding-left: 22px; display: grid; gap: 14px; color: var(--c-text-2); }
.install__panel li::marker { color: var(--c-ink); font-weight: 600; }
.install__panel li > p { margin-bottom: 8px; }
.install__panel strong { color: var(--c-ink); font-weight: 600; }
.install__panel h3 { margin-bottom: 2px; }
.code { position: relative; display: flex; align-items: stretch; border-radius: 12px; background: #15191a; color: #e6eded; min-width: 0; }
@media (prefers-color-scheme: dark) { .code { background: #0b0f0f; box-shadow: var(--ring); } }
.code pre { flex: 1; min-width: 0; padding: 14px 16px; overflow-x: auto; font-size: 14px; line-height: 1.55; white-space: pre; scrollbar-width: thin; }
.code pre .p { color: #7f8c8d; user-select: none; }
.copy { flex: none; align-self: flex-start; margin: 7px 7px 0 0; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border: 0; border-radius: var(--r-pill); background: rgba(255, 255, 255, .1); color: #fff; font-size: 13.5px; font-weight: 600; }
.copy:hover { background: rgba(255, 255, 255, .18); }
.copy:focus-visible { outline: 2px solid #86cdcf; outline-offset: 2px; }
.copy .i { width: 15px; height: 15px; }
.copy.is-done { background: #28865a; }
.install__aside { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: end; border-radius: var(--r-card); background: var(--c-surface-2); padding: 20px 24px 0; overflow: hidden; }
.install__aside .text { display: grid; gap: 6px; padding-bottom: 20px; font-size: 15px; }
.install__aside img { width: 170px; margin-bottom: -2px; }
.fine { font-size: 14px; color: var(--c-text-2); }
.fine a { color: var(--c-text-2); }
@media (max-width: 620px) {
  .install__aside { grid-template-columns: minmax(0, 1fr); padding-top: 18px; }
  .install__aside img { width: 140px; justify-self: end; }
  .install__aside .text { padding-bottom: 0; }
}

/* ───────── AI helper ───────── */
.ai { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.ai__text { display: grid; gap: 16px; position: relative; padding-bottom: 210px; }
.ai__mags { position: absolute; left: 0; bottom: calc(-1 * var(--pad) - 6px); width: 150px; }
.prompt { border-radius: var(--r-card); background: var(--c-surface); box-shadow: var(--ring); overflow: hidden; }
.prompt pre { margin: 0; padding: 18px 20px; max-height: 340px; overflow: auto; font: 400 14px/1.6 var(--font-ui); white-space: pre-wrap; color: var(--c-ink); }
.prompt__foot { display: flex; flex-wrap: wrap; gap: 10px; padding: 14px 16px; border-top: 1px solid var(--c-border-faint); background: var(--c-surface-2); }
.prompt__foot .copy { margin: 0; align-self: center; height: 44px; padding: 0 18px; font-size: 15px; background: var(--c-primary); color: var(--c-on-primary); box-shadow: 0 3px 0 var(--c-primary-lip); }
.prompt__foot .copy:hover { background: var(--c-primary-hover); }
.prompt__foot .copy.is-done { background: var(--c-success); color: #fff; }
.ai__fine { margin-top: 12px; font-size: 14px; color: var(--field-ink); }
@media (max-width: 900px) {
  .ai { grid-template-columns: minmax(0, 1fr); }
  .ai__text { padding-bottom: 0; }
  .ai__mags { display: none; }
}

/* ───────── FAQ ───────── */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq__list { border-top: 1px solid var(--c-line); }
.faq details { border-bottom: 1px solid var(--c-line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; cursor: pointer; list-style: none; font: 600 17.5px/1.35 var(--font-ui); color: var(--c-ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { transition: transform 180ms var(--ease-out); color: var(--c-text-2); }
.faq details[open] summary .i { transform: rotate(180deg); }
.faq summary:focus-visible { outline-offset: 4px; }
.faq__body { padding: 0 0 22px; display: grid; gap: 10px; max-width: 66ch; font-size: 16px; }
.faq__body strong { color: var(--c-ink); font-weight: 600; }
@media (max-width: 900px) { .faq { grid-template-columns: minmax(0, 1fr); } }

/* ───────── Closing ───────── */
.closer { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; padding-bottom: 0; overflow: hidden; }
.closer__text { display: grid; gap: 18px; padding-bottom: var(--pad); }
.closer img { width: 220px; margin-bottom: -6px; }
@media (max-width: 720px) {
  .closer { grid-template-columns: minmax(0, 1fr); }
  .closer img { width: 150px; justify-self: end; margin-top: -24px; }
  .closer__text { padding-bottom: 0; }
}

/* ───────── Footer ───────── */
.footer { border-top: 1px solid var(--c-border-faint); padding-block: 40px 48px; font-size: 14px; color: var(--c-text-2); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); gap: 32px; }
.footer h2 { font: 600 14px/1.3 var(--font-ui); color: var(--c-ink); margin-bottom: 10px; }
.footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.footer a { color: var(--c-text-2); }
.footer a:hover { color: var(--c-ink); }
.footer .brand, .footer .brand:hover { color: var(--c-ink); text-decoration: none; }
.footer__legal { display: grid; gap: 12px; max-width: 46ch; }
.footer__legal .brand span { font-size: 19px; }
@media (max-width: 720px) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer__legal { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .pulse::after { display: none; }
}

@media (max-width: 420px) {
  :root { --gutter: 16px; }
  .btn--lg { height: 52px; padding: 0 22px; font-size: 16px; }
}

/* Late fixes: grid children must be allowed to shrink, long commands must wrap. */
.install > *, .install__panel > *, .install__panel li { min-width: 0; }
.fine code, .faq__body code { overflow-wrap: break-word; font-size: .92em; }
@media (max-width: 620px) {
  .tabs { flex-wrap: wrap; width: 100%; border-radius: 22px; }
  .tabs [role="tab"] { flex: 1 1 auto; justify-content: center; padding: 0 12px; }
}

.more { margin-top: -4px; }
.more summary { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--c-ink); }
.more[open] summary { margin-bottom: 10px; }
.more p { font-size: 14px; margin-bottom: 8px; }
@media (max-width: 640px) {
  .field { --pad: 16px; border-radius: 22px; }
  .stage__mags { display: none; }
  .dc { grid-template-columns: 32px minmax(0, 1fr); gap: 0 10px; padding: 12px 10px 14px 10px; }
  .dc__avatar { width: 32px; height: 32px; }
  .dc__box { padding: 12px 12px 12px 14px; }
  .code pre { white-space: pre-wrap; word-break: break-all; font-size: 13.5px; }
  .ai__fine { margin-top: 10px; }
}
/* Other languages run about a third longer; keep the hero headline to five lines. */
html:not([lang="en"]) .hero .h1 { font-size: clamp(36px, 4.4vw, 56px); }

/* ───────── Free badge above the hero headline ───────── */
.eyebrow { display: inline-flex; align-items: center; gap: 6px; justify-self: start; height: 30px; padding: 0 12px 0 9px; border-radius: var(--r-pill); background: var(--c-success-tint); color: var(--c-success-ink); font: 600 14px/1 var(--font-ui); margin-bottom: -6px; }
.eyebrow .i { width: 16px; height: 16px; stroke-width: 2.5; }
@media (prefers-color-scheme: dark) { .eyebrow { background: rgba(40, 134, 90, .18); color: #7fd6a8; } }

/* ───────── Language menu ───────── */
.lang { position: relative; }
.lang summary { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: var(--r-pill); color: var(--c-text-2); font: 600 14px/1 var(--font-ui); cursor: pointer; list-style: none; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover, .lang[open] summary { background: var(--c-fill); color: var(--c-ink); }
.lang summary .i { width: 18px; height: 18px; }
.lang__menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 60; min-width: 170px; margin: 0; padding: 6px; list-style: none; background: var(--c-surface); border-radius: var(--r-card); box-shadow: var(--shadow-float), var(--ring); }
.lang__menu a { display: block; padding: 9px 12px; border-radius: var(--r-control); color: var(--c-ink); font-size: 15px; text-decoration: none; }
.lang__menu a:hover { background: var(--c-fill); }
.lang__menu a[aria-current] { font-weight: 600; color: var(--c-primary); }
.footer a[aria-current] { color: var(--c-ink); font-weight: 600; }
.footer__grid { grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .footer__legal { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .nav__gh { display: none; } .nav__row { gap: 12px; } }
.screens__note { margin-top: 12px; }

/* ───────── Guides, docs and other text pages ───────── */
.wrap--text { max-width: calc(760px + 2 * var(--gutter)); }
.page, .article { padding-block: clamp(20px, 3vw, 36px) clamp(72px, 9vw, 120px); }
.h1--page { font-size: clamp(34px, 4.6vw, 54px); line-height: 1.04; }
.h2--page { font-size: clamp(26px, 3vw, 34px); margin-bottom: 8px; }
.page__head { margin-top: 8px; }
.article__head { display: grid; gap: 16px; margin: 8px 0 28px; }
.article__meta { font-size: 14px; color: var(--c-text-2); }
.article__meta a { color: var(--c-text-2); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0 0 20px; padding: 0; list-style: none; font-size: 14px; color: var(--c-text-2); }
.crumbs li + li::before { content: "›"; margin-right: 8px; color: var(--c-text-3); }
.crumbs a { color: var(--c-text-2); }
.toc { margin: 0 0 32px; padding: 18px 22px; border-radius: var(--r-card); background: var(--c-surface-2); box-shadow: var(--ring); }
.toc__title { font: 600 14px/1.3 var(--font-ui); color: var(--c-ink); margin-bottom: 8px; }
.toc ol { margin: 0; padding-left: 20px; display: grid; gap: 4px; font-size: 15px; }
.note { margin: 0 0 24px; padding: 12px 16px; border-radius: var(--r-control); background: var(--c-amber-tint); color: var(--c-ink); font-size: 15px; }
@media (prefers-color-scheme: dark) { .note { background: rgba(249, 187, 66, .12); } }

.prose { font-size: 17px; line-height: 1.7; color: var(--c-ink); }
.prose > * + * { margin-top: 1em; }
.prose h2 { font: 800 clamp(24px, 2.6vw, 30px)/1.15 var(--font-display); letter-spacing: -0.02em; margin-top: 1.8em; scroll-margin-top: calc(var(--nav-h) + 16px); }
.prose h3 { font: 600 19px/1.35 var(--font-ui); margin-top: 1.5em; scroll-margin-top: calc(var(--nav-h) + 16px); }
.prose h4 { font: 600 17px/1.35 var(--font-ui); margin-top: 1.3em; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: .35em; }
.prose a { color: var(--c-primary); }
.prose strong { font-weight: 600; }
.prose img { max-width: 100%; height: auto; border-radius: var(--r-card); }
.prose blockquote { margin-inline: 0; padding: 12px 18px; border-left: 3px solid var(--c-primary); background: var(--c-surface-2); border-radius: 0 var(--r-control) var(--r-control) 0; color: var(--c-text-2); }
.prose pre { overflow-x: auto; padding: 14px 16px; border-radius: var(--r-control); background: #15191a; color: #e6eded; font: 14px/1.55 var(--font-mono); }
.prose :not(pre) > code { padding: .1em .35em; border-radius: 6px; background: var(--c-fill); font: .9em var(--font-mono); overflow-wrap: break-word; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--c-line); }
.prose th { font-weight: 600; background: var(--c-surface-2); }
.prose hr { border: 0; border-top: 1px solid var(--c-line); margin-block: 2em; }
.article__faq { margin-top: 48px; border-top: 0; }
.article__faq h2 { padding-bottom: 8px; border-bottom: 1px solid var(--c-line); }
.article__faq details:first-of-type { border-top: 0; }

.cta-box { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: end; margin: 40px 0; padding: clamp(20px, 3vw, 32px) clamp(20px, 3vw, 32px) 0; border-radius: var(--r-field); background: var(--field-teal); color: var(--field-ink); overflow: hidden; }
.cta-box__text { display: grid; gap: 12px; padding-bottom: clamp(20px, 3vw, 32px); }
.cta-box__title { font: 800 clamp(22px, 2.4vw, 28px)/1.15 var(--font-display); letter-spacing: -0.02em; }
.cta-box .btn-row { align-items: center; gap: 12px 20px; }
.cta-box .link-arrow { color: var(--field-ink); }
.cta-box img { width: 130px; margin-bottom: -6px; }
.prose .cta-box a.btn { color: var(--c-on-primary); text-decoration: none; }
@media (max-width: 560px) { .cta-box { grid-template-columns: minmax(0, 1fr); } .cta-box img { display: none; } }

.guide-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.guide-card a { display: grid; gap: 8px; height: 100%; padding: 20px 22px; border-radius: var(--r-card); background: var(--c-surface); box-shadow: var(--ring); color: var(--c-ink); text-decoration: none; transition: box-shadow 120ms; }
.guide-card a:hover { box-shadow: inset 0 0 0 2px var(--c-primary); }
.guide-card__title { font: 600 18px/1.3 var(--font-ui); }
.guide-card__desc { font-size: 15px; line-height: 1.5; color: var(--c-text-2); }
.guide-card__meta { font-size: 13px; color: var(--c-text-3); }
.guide-list + p { margin-top: 20px; }
.related { margin-top: 48px; display: grid; gap: 16px; }
.guide-list--compact { grid-template-columns: minmax(0, 1fr); }

/* Narrow phones: the header holds brand, language and install in every language. */
.read .pill, .alerts__foot .pill { max-width: 100%; }
@media (max-width: 440px) {
  .nav__row { gap: 8px; }
  .nav__end { gap: 4px; }
  .brand { gap: 8px; }
  .brand span { font-size: 19px; }
  .lang summary { padding: 0 9px; }
  .lang summary span { display: none; }
  .read .pill, .alerts__foot .pill { white-space: normal; height: auto; min-height: 28px; padding-block: 4px; line-height: 1.3; }
}
@media (max-width: 374px) { .nav__end .btn--primary { display: none; } }

/* The FAQ inside a guide uses the homepage FAQ's look. */
.article__faq details { border-bottom: 1px solid var(--c-line); }
.article__faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; cursor: pointer; list-style: none; font: 600 17px/1.35 var(--font-ui); color: var(--c-ink); }
.article__faq summary::-webkit-details-marker { display: none; }
.article__faq summary .i { flex: none; transition: transform 180ms var(--ease-out); color: var(--c-text-2); }
.article__faq details[open] summary .i { transform: rotate(180deg); }
.article__faq .faq__body { padding: 0 0 20px; font-size: 16px; color: var(--c-ink); }
.dc__facts a { text-decoration: underline; text-underline-offset: 2px; }
