/* Retalign: "The product performs" (NGB-345). Forest and lime, Bricolage Grotesque. See DESIGN.md. */

:root {
  --bg: #0f1f10;
  --surface: #162a17;
  --surface-2: #213a22;
  --ink: #ffffff;
  --muted: #a9b3a9;
  --accent: #c6f19d;
  --accent-ink: #0f1f10;
  --black: #000000;
  --paper: #ffffff;
  --paper-ink: #0f1f10;
  --paper-muted: #4c5a4d;

  /* Inside the product's interface fragments ([data-ui]) */
  --ui-bg: #ffffff;
  --ui-2: #eef2ea;
  --ui-line: #d6ddd0;
  --ui-ink: #0f1f10;
  --ui-muted: #56645a;
  --ui-bad: #a8321b;
  --ui-bad-bg: #fbe8e3;

  --font: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --step-display: clamp(3.25rem, 1rem + 6.4vw, 7rem);

  --m: clamp(20px, 2.6vw, 40px);
  --gap: clamp(16px, 2vw, 28px);
  --section: clamp(96px, 12vw, 200px);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 var(--step-body)/1.5 var(--font);
  font-optical-sizing: auto;
  overflow-x: clip;
}
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--accent-ink); }

.wrap { padding-inline: var(--m); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--m); top: -60px; background: var(--accent); color: var(--accent-ink); padding: 12px 16px; z-index: 10; }
.skip:focus { top: 12px; }

.head { font-size: var(--step-head); font-weight: 600; letter-spacing: -0.04em; line-height: 0.95; }

.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 500; text-decoration: none;
  transition: transform 120ms var(--ease-out), background-color 160ms ease;
}
.button:hover { background: #d8f7b9; }
.button:active { transform: scale(0.97); }
.button-small { min-height: 44px; padding: 0 18px; }
.text-link, .bar a:not(.button), .foot a, .demo-rows a {
  text-decoration: underline; text-decoration-color: transparent;
  text-underline-offset: 0.22em; text-decoration-thickness: 2px;
  transition: text-decoration-color 160ms ease;
}
.text-link:hover, .bar a:not(.button):hover, .foot a:hover, .demo-rows a:hover { text-decoration-color: currentColor; }

/* ---------- Top and hero ---------- */
.top { min-height: 100svh; display: flex; flex-direction: column; }
.bar { display: flex; align-items: center; gap: 28px; padding-block: 20px; }
.mark { font-weight: 600; font-size: 1.375rem; letter-spacing: -0.03em; text-decoration: none; margin-right: auto; }
.bar-links { display: flex; gap: 28px; }
.bar-links a, .login { text-decoration: none; }

.hero {
  flex: 1;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap);
  align-items: center; padding-block: clamp(32px, 5vw, 72px) clamp(48px, 6vw, 96px);
}
.hero-copy { grid-column: 1 / 6; align-self: start; padding-top: clamp(16px, 4vw, 64px); }
.lines { font-size: var(--step-display); font-weight: 600; letter-spacing: -0.045em; line-height: 0.92; }
.lines .line { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.lines [data-line] { display: block; }
.lead { margin-top: 40px; max-width: 34em; }
.hero-act { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }

/* The stage: a drawn shelf and the working check that marks it */
.stage {
  grid-column: 6 / 13;
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  background: var(--surface);
  padding: clamp(20px, 2.4vw, 36px);
  border-radius: 0;
}
.shelf { grid-column: 1 / 3; position: relative; overflow: hidden; padding-bottom: 8px; }
.shelf-top { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.shelf-row {
  display: flex; align-items: flex-end; gap: 10px;
  height: clamp(150px, 16vw, 230px);
  padding: 0 14px;
  background: var(--surface-2);
  border-bottom: 14px solid #3a5a36;
  position: relative;
}
.sku { flex: var(--n, 2) 1 0; display: flex; align-items: flex-end; gap: 4px; height: 100%; position: relative; }
.sku[data-sku="0"], .sku[data-sku="3"] { --n: 3; }
.sku i {
  flex: 1; height: var(--h); background: var(--c); border-radius: 4px 4px 2px 2px; position: relative;
  transition: transform 380ms var(--ease-out), opacity 300ms ease;
}
.sku i::before { content: ""; position: absolute; left: 12%; right: 12%; top: -9px; height: 9px; background: var(--c); filter: brightness(0.7); border-radius: 3px 3px 0 0; }
.sku i::after { content: ""; position: absolute; left: 14%; right: 14%; top: 34%; height: 26%; background: rgba(255, 255, 255, 0.82); border-radius: 2px; }
.sku b {
  position: absolute; left: 0; bottom: -40px; min-width: 44px;
  background: #ffffff; color: var(--ui-ink); font: 600 13px/1 var(--font); padding: 5px 6px; border-radius: 2px;
}
.sku.is-gap i { transform: translateY(16px); opacity: 0; }
.sku.is-gap::after {
  content: "Yoxdur"; position: absolute; inset: 20% 0 0 0; display: grid; place-items: center;
  border: 2px dashed #e58a74; border-bottom: 0; color: #f3b3a3; font-size: 13px; font-weight: 500;
}
.shelf { padding-bottom: 46px; }
.scan { position: absolute; top: 34px; bottom: 46px; left: 0; width: 100%; pointer-events: none; }
.scan::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--accent); }

.check {
  grid-column: 2 / 3; margin-top: -8px;
  background: var(--ui-bg); color: var(--ui-ink); border-radius: 10px; padding: 16px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35); /* taste-skill-ignore: data-ui panel floating over the shelf */
  font-size: 15px; line-height: 1.35;
}
.stage-note {
  grid-column: 1 / 2; grid-row: 2; align-self: end; padding: 0 28px 4px 0;
  color: var(--ink); font-size: var(--step-body); line-height: 1.45;
}
.check-head { display: flex; flex-direction: column; gap: 2px; margin-bottom: 10px; }
.check-head span { color: var(--ui-muted); font-size: 14px; }
.check-list li + li { margin-top: 4px; }
.check-list button {
  width: 100%; min-height: 44px; display: grid; grid-template-columns: 12px 1fr auto; grid-template-rows: auto auto;
  column-gap: 10px; align-items: center; text-align: left;
  padding: 6px 10px; border: 1px solid var(--ui-line); border-radius: 6px; background: var(--ui-bg); cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, transform 120ms var(--ease-out);
}
.check-list button:hover { border-color: var(--ui-ink); }
.check-list button:active { transform: scale(0.98); }
.check-list .dot { grid-row: 1 / 3; }
.check-list small { grid-column: 2; font-size: 13px; color: var(--ui-muted); }
.check-list em { grid-column: 3; grid-row: 1 / 3; font-style: normal; font-weight: 600; font-size: 13px; padding: 4px 8px; border-radius: 4px; background: var(--accent); }
.check-list button[aria-pressed="false"] { background: var(--ui-bad-bg); border-color: #efc2b6; }
.check-list button[aria-pressed="false"] em { background: var(--ui-bad); color: #ffffff; }
.dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: var(--c); }
.check-score { display: flex; justify-content: space-between; align-items: baseline; margin-top: 12px; }
.check-score strong { font-size: 28px; letter-spacing: -0.03em; }
.meter { height: 8px; background: var(--ui-2); border-radius: 4px; overflow: hidden; margin-top: 6px; }
.meter span { display: block; height: 100%; background: var(--bg); transition: width 400ms var(--ease-out); }

/* ---------- What it does ---------- */
.what {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap);
  padding-block: var(--section);
}
.what-text { grid-column: 1 / 6; }
.what-text .head { margin-bottom: 40px; }
.what-text p + p { margin-top: 1.1em; }
.what-text p:not(.first) { color: var(--ink); }
.what-text .first { font-size: var(--step-lead); font-weight: 500; line-height: 1.35; }
.measures { grid-column: 7 / 13; align-self: end; }
.measures li { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 14px 0; }
.measures li + li { margin-top: 8px; }
.measures strong { font-size: var(--step-head); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.measures span { color: var(--muted); font-size: var(--step-small); text-align: right; }
.measures li:nth-child(1) strong { color: var(--accent); }

/* ---------- Features: the command menu ---------- */
.features { background: var(--black); padding-block: var(--section); }
.features .head { margin-bottom: 40px; }
.cmd { position: relative; }
.cmd-search input {
  width: 100%; height: 1.9em; padding: 0 0.5em; border: 0; border-radius: 8px;
  background: #1b1d1b; color: var(--ink);
  font-size: clamp(1.75rem, 3vw, 2.75rem); letter-spacing: -0.02em;
}
.cmd-search input::placeholder { color: #8d958d; }
.cmd-search input:focus-visible { outline: 3px solid var(--accent); outline-offset: 0; }
.cmd-list { margin-top: 20px; }
.cmd-row { width: 56%; }
.cmd-name {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0.12em 0.3em; border: 0; border-radius: 8px; background: transparent; cursor: pointer; text-align: left;
  font-size: var(--step-head); font-weight: 500; letter-spacing: -0.035em; line-height: 1.1;
  transition: background-color 160ms ease, color 160ms ease;
}
.cmd-name:hover { background: #1b1d1b; }
.cmd-row.is-on .cmd-name { background: var(--accent); color: var(--accent-ink); }
kbd {
  display: inline-grid; place-items: center; width: 1em; height: 1em; flex: none;
  font: 500 0.45em/1 var(--font); border-radius: 6px; background: #2a2d2a; color: var(--ink);
}
.cmd-row.is-on kbd { background: var(--accent-ink); color: var(--accent); }
.cmd-detail { padding: 14px 0.3em 24px; }
.cmd-detail > p { max-width: 36em; }
.cmd-detail .ui-card { margin-top: 20px; }
.js .cmd-row:not(.is-on) .cmd-detail { display: none; }
.cmd-row[hidden] { display: none; }
.cmd-empty { padding: 20px 0.3em; color: var(--muted); }

@media (min-width: 900px) {
  .js .cmd-row.is-on .cmd-detail {
    position: absolute; top: calc(1.9 * clamp(1.75rem, 3vw, 2.75rem) + 20px); right: 0; width: 40%;
    padding: 0;
  }
  .js .cmd-detail > p { font-size: var(--step-lead); line-height: 1.35; color: var(--ink); }
}

/* Interface fragments */
.ui-card {
  background: var(--ui-bg); color: var(--ui-ink); border-radius: 10px; padding: 18px;
  font-size: 14px; line-height: 1.4;
}
.ui-title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; font-size: 15px; }
.ui-title span { color: var(--ui-muted); font-size: 13px; }
.ui-card table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.ui-card th { text-align: left; font-weight: 500; color: var(--ui-muted); font-size: 13px; padding: 6px 8px; border-bottom: 1px solid var(--ui-line); }
.ui-card td { padding: 8px; border-bottom: 1px solid var(--ui-2); }
.ui-card .num { text-align: right; }
.ui-card tr.is-sel td { background: #e9f8d8; }
.ui-card tr.is-bad td { background: var(--ui-bad-bg); color: var(--ui-bad); font-weight: 500; }
.ui-phone { max-width: 340px; }
.ui-field { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--ui-2); } /* taste-skill-ignore: data-ui form rows */
.seg { display: inline-flex; background: var(--ui-2); border-radius: 6px; padding: 3px; gap: 2px; }
.seg b, .seg button { font-weight: 500; padding: 5px 10px; border-radius: 4px; font-size: 13px; border: 0; background: transparent; }
.seg .is-on, .seg button[aria-pressed="true"] { background: var(--ui-ink); color: #ffffff; }
.seg button { cursor: pointer; min-height: 36px; }
.step { display: inline-flex; align-items: center; gap: 12px; }
.step b { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--ui-line); border-radius: 4px; }
.ui-input { padding: 4px 10px; border: 1px solid var(--ui-line); border-radius: 4px; min-width: 88px; text-align: right; }
.ui-ok { color: #2f6b1f; font-weight: 500; }
.ui-save { margin-top: 14px; background: var(--ui-ink); color: #ffffff; text-align: center; padding: 10px; border-radius: 6px; font-weight: 500; }
.bars li { display: grid; grid-template-columns: 7.5em 1fr 3em; align-items: center; gap: 10px; padding: 6px 0; }
.bars b { height: 14px; background: var(--ui-2); border-radius: 3px; position: relative; overflow: hidden; }
.bars b::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--v); background: #2f6b1f; }
.bars .is-low b::after { background: var(--ui-bad); }
.bars em { font-style: normal; text-align: right; font-variant-numeric: tabular-nums; font-weight: 500; }
.ui-note { margin-top: 10px; color: var(--ui-muted); font-size: 13px; }
.ui-roles .menu { margin-top: 12px; }
.ui-roles .menu li { padding: 9px 12px; border-radius: 6px; }
.ui-roles .menu li.is-on { background: var(--ui-2); font-weight: 500; }
.snap { background: #e9e4d6; padding: 14px 12px 0; border-radius: 6px; }
.snap-row { display: flex; gap: 4px; align-items: flex-end; height: 82px; border-bottom: 10px solid #8a7f68; margin-bottom: 12px; padding: 0 6px; }
.snap-row i { flex: 1; height: 80%; background: var(--c); border-radius: 3px 3px 1px 1px; }
.snap-row i:nth-child(odd) { height: 66%; }
.snap-row i.gap { background: transparent; border: 2px dashed var(--ui-bad); border-bottom: 0; }
.ui-snap figcaption { margin-top: 10px; color: var(--ui-muted); font-size: 13px; }

/* ---------- How it works: one slider drives both fields ---------- */
.how { display: grid; grid-template-columns: 1fr 1fr; min-height: 88svh; }
.how-say { background: var(--paper); color: var(--paper-ink); padding: var(--section) var(--m) 48px; }
.how-say .head { margin-bottom: 32px; }
.how-clause { font-size: clamp(1.5rem, 1rem + 1.4vw, 2.25rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; max-width: 16em; transition: opacity 200ms ease; }
.how-show { background: var(--surface); display: grid; place-items: center; padding: 48px var(--m); }
.visit {
  width: min(100%, 440px); background: var(--ui-bg); color: var(--ui-ink); border-radius: 10px; padding: 22px;
  font-size: 15px; line-height: 1.4;
}
.tag { background: var(--ui-2); color: var(--ui-ink) !important; padding: 3px 9px; border-radius: 4px; font-weight: 500; }
.visit-line { padding: 10px 0; border-top: 1px solid var(--ui-2); transition: opacity 200ms ease; } /* taste-skill-ignore: data-ui card rows */
.visit-shelves { padding: 4px 0 10px; }
.visit-shelves li { display: flex; justify-content: space-between; padding: 6px 10px; border-radius: 4px; }
.visit-shelves li:nth-child(odd) { background: var(--ui-2); }
.visit-shelves li span:last-child { color: var(--ui-muted); }
.visit-big { font-size: 34px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
.visit .meter span { background: #2f6b1f; width: 50%; }
.js .visit[data-stage="0"] .s1, .js .visit[data-stage="0"] .s2, .js .visit[data-stage="0"] .s3,
.js .visit[data-stage="1"] .s2, .js .visit[data-stage="1"] .s3,
.js .visit[data-stage="2"] .s3 { display: none; }
.js .visit[data-stage="3"] .s2 { display: none; }
.visit[data-stage="3"] .tag { background: var(--accent); }
.how-track { grid-column: 1 / 3; background: var(--black); padding: 28px var(--m) 32px; }
.rail { position: relative; }
.rail::before, .rail-fill { content: ""; position: absolute; left: 0; top: 16px; height: 8px; width: 100%; background: #3a3d3a; }
.rail-fill { width: var(--p, 0%); background: var(--ink); transition: width 200ms var(--ease-out); }
.how-track input { position: relative; width: 100%; height: 40px; margin: 0; background: transparent; cursor: pointer; -webkit-appearance: none; appearance: none; }
.how-track input::-webkit-slider-runnable-track { height: 8px; background: transparent; }
.how-track input::-moz-range-track { height: 8px; background: transparent; }
.how-track input::-webkit-slider-thumb { -webkit-appearance: none; width: 32px; height: 32px; margin-top: -12px; background: var(--accent); border: 0; border-radius: 0; }
.how-track input::-moz-range-thumb { width: 32px; height: 32px; background: var(--accent); border: 0; border-radius: 0; }
.how-steps { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 10px; color: var(--muted); }
.how-steps li:nth-child(2) { text-align: center; transform: translateX(-17%); }
.how-steps li:nth-child(3) { text-align: center; transform: translateX(17%); }
.how-steps li:nth-child(4) { text-align: right; }
.how-steps li.is-on { color: var(--ink); font-weight: 500; }

/* ---------- Who it is for ---------- */
.who {
  background: var(--paper); color: var(--paper-ink);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap);
  padding-block: var(--section);
}
.who .head { grid-column: 1 / 6; align-self: start; position: sticky; top: 32px; padding-top: 8px; }
.who-list { grid-column: 7 / 13; }
.who-group { color: var(--paper-muted); margin-top: 40px; margin-bottom: 6px; }
.who-group:first-child { margin-top: 0; }
.who-list li { display: grid; grid-template-columns: 16px auto 1fr; align-items: baseline; column-gap: 10px; padding: 8px 0; }
.who-list .dot { width: 14px; height: 14px; align-self: center; }
.who-list strong { font-weight: 500; }
.who-list li > span:last-child { text-align: right; color: var(--paper-muted); font-size: var(--step-small); font-variant-numeric: tabular-nums; }

/* ---------- Demo ---------- */
.demo { padding-block: var(--section); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.demo-main { grid-column: 1 / 8; }
.letter {
  grid-column: 9 / 13; align-self: center;
  background: var(--ui-bg); color: var(--ui-ink); border-radius: 10px; padding: 20px; font-size: 15px; line-height: 1.45;
}
.letter-head { display: flex; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--ui-2); } /* taste-skill-ignore: data-ui mail header rows */
.letter-head span { color: var(--ui-muted); min-width: 4.5em; }
.letter-body { padding: 16px 0; min-height: 160px; }
.letter-body p + p { margin-top: 10px; }
.letter-body b { font-weight: 600; background: #e9f8d8; padding: 0 3px; }
.letter-send { display: inline-block; background: var(--ui-ink); color: #ffffff; padding: 9px 18px; border-radius: 6px; font-weight: 500; }
.demo-say { font-size: var(--step-head); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.demo-say span { color: var(--muted); display: block; }
.demo-field { position: relative; margin-top: 40px; }
.demo-field input {
  width: 100%; height: 72px; padding: 0 84px 0 22px; border: 0; border-radius: 0;
  background: var(--paper); color: var(--paper-ink); font-size: var(--step-lead);
}
.demo-field input::placeholder { color: #6b776c; }
.demo-field input:focus-visible { outline: 3px solid var(--accent); outline-offset: 0; }
.demo-field button {
  position: absolute; right: 10px; top: 10px; width: 52px; height: 52px; border: 0; border-radius: 0;
  background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; cursor: pointer;
  transition: transform 120ms var(--ease-out);
}
.demo-field button:hover svg { transform: translateX(3px); }
.demo-field button svg { transition: transform 160ms var(--ease-out); }
.demo-field button:active { transform: scale(0.94); }
.demo-next { margin-top: 16px; color: var(--muted); font-size: var(--step-small); }
.demo-rows { margin-top: 64px; display: grid; grid-template-columns: repeat(2, auto); justify-content: start; gap: 24px 64px; }
.demo-rows dt { color: var(--muted); font-size: var(--step-small); }
.demo-rows dd { font-size: var(--step-body); font-weight: 500; overflow-wrap: anywhere; }

/* ---------- Footer ---------- */
.foot { background: var(--black); padding-bottom: 28px; overflow: hidden; }
.foot-name {
  font-size: 21.5vw; font-weight: 600; letter-spacing: -0.06em; line-height: 0.8;
  color: var(--accent); padding-top: 0.12em; margin-left: -0.04em;
}
.foot-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); margin-top: 72px; }
.foot-places { grid-column: 1 / 7; }
.foot-places a { font-size: clamp(1.5rem, 1rem + 1.4vw, 2.25rem); font-weight: 500; letter-spacing: -0.02em; color: var(--accent); }
.foot-places li + li { margin-top: 6px; }
.foot-links { grid-column: 8 / 13; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.foot-links li + li { margin-top: 8px; }
.foot-legal { display: flex; justify-content: space-between; gap: 20px; margin-top: 96px; color: var(--muted); font-size: var(--step-small); }

/* ---------- Motion ---------- */
@keyframes line-up { to { transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } }
@keyframes scan { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(calc(100% - 3px)); } }
@media (prefers-reduced-motion: no-preference) {
  .js .lines [data-line] { transform: translateY(105%); animation: line-up 900ms var(--ease-out) forwards; animation-delay: calc(var(--i) * 110ms + 150ms); }
  .js .appear { animation: fade-up 700ms var(--ease-out) 650ms backwards; }
  .js .stage { animation: fade-up 900ms var(--ease-out) 350ms backwards; }
  .scan { animation: scan 9s ease-in-out infinite; }
  @supports (animation-timeline: view()) {
    .rise, .who-list li {
      animation: rise linear forwards; animation-timeline: view(); animation-range: entry 0% entry 60%;
    }
  }
}

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
  .bar-links { display: none; }
  .hero-copy { grid-column: 1 / 13; padding-top: 0; }
  .stage { grid-column: 1 / 13; margin-top: 48px; }
  .cmd-row { width: 100%; }
}
@media (max-width: 899px) {
  .what-text, .measures { grid-column: 1 / 13; }
  .measures { margin-top: 56px; }
  .how { grid-template-columns: 1fr; }
  .how-show { order: -1; min-height: 46svh; }
  .how-track { grid-column: 1; order: 0; }
  .how-say { order: 1; padding-top: 56px; }
  .who .head, .who-list { grid-column: 1 / 13; position: static; }
  .who .head { margin-bottom: 40px; }
  .demo-main, .letter { grid-column: 1 / 13; }
  .letter { margin-top: 56px; max-width: 480px; }
  .foot-places, .foot-links { grid-column: 1 / 13; }
  .foot-links { margin-top: 48px; }
}

/* ---------- Phone ---------- */
@media (max-width: 600px) {
  .bar { gap: 16px; }
  .login { font-size: 15px; }
  .bar .button-small { display: none; }
  .login { white-space: nowrap; min-height: 44px; display: inline-flex; align-items: center; }
  .lines { font-size: clamp(3rem, 15.5vw, 4.5rem); }
  .lead { margin-top: 28px; }
  .stage { grid-template-columns: 1fr; padding: 16px; margin-left: calc(var(--m) * -1); margin-right: calc(var(--m) * -1); }
  .shelf { grid-column: 1; }
  .shelf-row { gap: 6px; padding: 0 8px; }
  .sku b { min-width: 0; font-size: 12px; padding: 4px; }
  .stage-note { grid-row: 2; grid-column: 1; padding: 0 0 16px; font-size: 16px; }
  .check { grid-column: 1; grid-row: 3; margin-top: 0; }
  .measures li { flex-direction: column; gap: 2px; }
  .measures span { text-align: left; }
  .cmd-name { font-size: 8.5vw; }
  .cmd-name kbd { display: none; }
  .cmd-search input { height: 56px; font-size: 20px; }
  .ui-card { padding: 14px; }
  .ui-card table { font-size: 13px; }
  .ui-card th, .ui-card td { padding: 6px 4px; }
  .ui-card .hide-s { display: none; }
  .bars li { grid-template-columns: 6.5em 1fr 2.6em; }
  .how-steps { grid-template-columns: 1fr 1fr; gap: 6px; }
  .how-steps li:nth-child(n) { text-align: left; transform: none; }
  .who-list li { grid-template-columns: 16px 1fr; min-height: 44px; }
  .who-list li > span:last-child { grid-column: 2; text-align: left; }
  .demo-field input { height: 64px; padding-right: 72px; font-size: 18px; }
  .demo-field button { top: 8px; right: 8px; width: 48px; height: 48px; }
  .demo-rows { grid-template-columns: 1fr; gap: 20px; margin-top: 48px; }
  .foot-places a { font-size: 22px; }
  .foot-legal { flex-direction: column; margin-top: 64px; }
}
