/* WashMetrics public site: one board of tiles (taste-skill direction "The well-kept board", 31.10.2026).
   No scripts (CSP): the demo, the price and the questions work on :checked, :has and CSS counters. */
@font-face { font-family: "Jost"; src: url("fonts/Jost-cyrillic.woff2") format("woff2"); font-weight: 400 700;
  font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Jost"; src: url("fonts/Jost-latin-ext.woff2") format("woff2"); font-weight: 400 700;
  font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308,
  U+0329, 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: "Jost"; src: url("fonts/Jost-latin.woff2") format("woff2"); font-weight: 400 700;
  font-display: swap; 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; }

/* The page is dark like the cabinet at night; the accent is the cabinet's own action blue, the run of fields its bars. */
:root {
  --bg: #0a0a0b;
  --surface: #161618;
  --surface-2: #202023;
  --ink: #efefef;
  --muted: #9a9aa3;
  --accent: #1f6fb2;
  --accent-deep: #17578c;
  --accent-ink: #ffffff;
  --field-1: #efefef; --field-1-ink: #0a0a0b;
  --field-2: #a7c8ee; --field-2-ink: #0a0a0b;
  --field-3: #5aa0e8; --field-3-ink: #0a0a0b;
  --field-4: #1d3048; --field-4-ink: #efefef;
  --warn: #f0a35c; --ok: #4fc27a; --bad: #ff6b6b;
  --gap: 8px;
  --edge: 8px;
  --text-edge: 24px;
  --radius: 8px;
  --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-name: clamp(140px, 16.5vw, 280px);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 var(--step-body)/1.5 "Jost", system-ui, "Segoe UI", Roboto, sans-serif;
  font-variant-numeric: tabular-nums;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--field-3); outline-offset: 2px; }
::selection { background: var(--accent); color: var(--accent-ink); }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
ul, ol { padding: 0; list-style: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.board { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); padding: 0 var(--edge); }
.tile { background: var(--surface); border-radius: var(--radius); padding: 24px; overflow: hidden; position: relative; }
.tile.flush { padding: 0; }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.head { font-weight: 700; font-size: var(--step-head); line-height: 0.95; letter-spacing: -0.03em; text-transform: uppercase; }
.lead { font-size: var(--step-lead); line-height: 1.3; }
.small { font-size: var(--step-small); }
.muted { color: var(--muted); }
section { margin-top: var(--gap); }
.section-gap { margin-top: clamp(96px, 14vh, 160px); }

/* ---------------------------------------------------------------- hero: the name band and rails */
.hero { height: 100svh; min-height: 680px; padding-top: var(--edge); padding-bottom: var(--gap);
  grid-template-rows: 190px 64px minmax(0, 1fr); margin: 0; font-size: inherit; }
.name-band { grid-column: 1 / -1; padding: 0; display: flex; align-items: center; justify-content: center;
  background: var(--surface); margin: 0; font-weight: 700; }
.name-band span { font-weight: 700; font-size: var(--step-name); letter-spacing: -0.04em; line-height: 1;
  white-space: nowrap; text-transform: uppercase; margin-top: -0.06em; }
.name-band b { color: var(--field-3); font-weight: 700; }
.links { display: contents; }
.link-tile { grid-column: span 3; padding: 0; background: var(--surface); }
.link-tile a { display: block; height: 100%; padding: 18px 20px; text-decoration: none; font-size: var(--step-body);
  transition: background-color 160ms ease-out; border-radius: var(--radius); }
.link-tile a:hover { background: var(--surface-2); }
.rails { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: minmax(0, 1fr);
  gap: var(--gap); min-height: 0; }
.rail-left { grid-column: 1 / 3; grid-row: 1; display: grid; grid-template-rows: minmax(0, 1.15fr) minmax(0, 1fr); gap: var(--gap); min-height: 0; }
.rail-left > * { min-height: 0; }
.rail-left .shot img { object-position: 50% 0; }
.facts { display: flex; flex-direction: column; gap: 8px; font-size: var(--step-small); line-height: 1.35; padding: 20px; }
.facts li { padding-left: 14px; position: relative; }
.facts li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 6px; height: 6px; border-radius: 50%;
  background: var(--field-3); }
.centre { grid-column: 3 / 11; grid-row: 1; position: relative; min-height: 0; padding: 0; }
.centre img { position: absolute; inset: 0; object-position: 50% 78%; }
.statement { grid-column: 3 / 9; grid-row: 1; align-self: end; z-index: 1; background: var(--bg); padding: 24px 28px 0 0;
  border-top-right-radius: var(--radius); }
.statement-title { font-weight: 500; font-size: var(--step-lead); line-height: 1.15; letter-spacing: -0.01em; }
.statement p + p { margin-top: 12px; max-width: 46ch; }
.rail-right { grid-column: 11 / 13; grid-row: 1; display: grid; grid-template-rows: repeat(5, 1fr); gap: var(--gap); min-height: 0; }
.rail-right .tile { padding: 16px; font-size: var(--step-small); line-height: 1.3; }
.rail-right .tile strong { display: block; font-size: var(--step-lead); line-height: 1.05; font-weight: 700; margin-bottom: 4px; }
.f1 { background: var(--field-1); color: var(--field-1-ink); }
.f2 { background: var(--field-2); color: var(--field-2-ink); }
.f3 { background: var(--field-3); color: var(--field-3-ink); }
.f4 { background: var(--field-4); color: var(--field-4-ink); }
.action { background: var(--accent); color: var(--accent-ink); display: flex; flex-direction: column; justify-content: space-between; gap: 12px; }
.action .button { background: var(--field-1); color: var(--field-1-ink); justify-content: center; padding: 0 12px; }
.action .button:hover { background: #ffffff; }

/* ---------------------------------------------------------------- the one button */
.button { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: var(--radius);
  background: var(--accent); color: var(--accent-ink); font-weight: 500; text-decoration: none;
  transition: background-color 160ms ease-out, transform 160ms ease-out; }
.button:hover { background: var(--accent-deep); }
.button:active { transform: scale(0.98); }

/* ---------------------------------------------------------------- showcase: build your wash */
.showcase { padding: 0 var(--text-edge); display: grid; justify-content: center; }
.showcase-inner { width: min(760px, 100%); }
.showcase h2 { font-size: var(--step-head); line-height: 0.95; font-weight: 700; letter-spacing: -0.02em; text-transform: uppercase; }
.showcase .sub { margin-top: 8px; max-width: 52ch; }
.demo { margin-top: 32px; display: grid; grid-template-columns: 62fr 38fr; min-height: 640px; border-radius: var(--radius);
  overflow: hidden; background: var(--surface); counter-reset: price devices; }
.demo-screen { padding: 20px; display: flex; flex-direction: column; gap: 12px; position: relative; }
.demo-controls { background: var(--surface-2); padding: 12px 16px 16px; display: flex; flex-direction: column; }
.demo-foot { margin-top: auto; padding-top: 16px; }
.start { margin-top: 16px; color: var(--muted); }
.row { min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: var(--step-small); }
.pills-row { flex-direction: column; align-items: stretch; gap: 4px; padding: 6px 0; }
.pills-row .pills { justify-content: space-between; }
.row + .row { margin-top: 4px; }
.row > span { color: var(--ink); }
.pills { display: flex; flex-wrap: wrap; gap: 2px; justify-content: flex-end; }
.pills label { min-width: 26px; height: 30px; display: grid; place-items: center; border-radius: 6px; cursor: pointer;
  font-size: var(--step-small); color: var(--muted); transition: background-color 140ms ease-out, color 140ms ease-out; }
.pills label:hover { color: var(--ink); background: var(--surface); }
.pills input, .switch input { position: absolute; opacity: 0; pointer-events: none; }
.pills input:checked + label { background: var(--accent); color: var(--accent-ink); }
.pills input:focus-visible + label, .switch input:focus-visible + label { outline: 3px solid var(--field-3); outline-offset: 1px; }
.switch label { width: 44px; height: 26px; border-radius: 13px; background: var(--surface); position: relative; cursor: pointer;
  display: block; transition: background-color 160ms ease-out; }
.switch label::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--muted); transition: transform 180ms cubic-bezier(.2,.8,.2,1), background-color 160ms ease-out; }
.switch input:checked + label { background: var(--accent); }
.switch input:checked + label::after { transform: translateX(18px); background: var(--accent-ink); }
.price-row { margin-top: 12px; padding-top: 12px; display: block; }
/* "\0000a0\0020bd" - a no-break space and the rouble sign (this file stays ASCII) */
.price-row .num::before { content: counter(price) "\0000a0\0020bd"; font-size: 44px; font-weight: 700; letter-spacing: -0.02em; line-height: 1; }
.price-row .count::before { content: counter(devices); }
/* every checked choice adds its posts and their price (750 roubles each; a vacuum is a post too, owner 03.11) */
#p2:checked { counter-increment: price 1500 devices 2; } #p3:checked { counter-increment: price 2250 devices 3; }
#p4:checked { counter-increment: price 3000 devices 4; } #p5:checked { counter-increment: price 3750 devices 5; }
#p6:checked { counter-increment: price 4500 devices 6; } #p7:checked { counter-increment: price 5250 devices 7; }
#p8:checked { counter-increment: price 6000 devices 8; }
#v0:checked { counter-increment: price 0 devices 0; } #v2:checked { counter-increment: price 1500 devices 2; }
#v4:checked { counter-increment: price 3000 devices 4; } #v6:checked { counter-increment: price 4500 devices 6; }
#v8:checked { counter-increment: price 6000 devices 8; }
/* the same price with a thousands space ("8 250"): the posts counter (2..16) through a fixed counter style. A browser
   without @counter-style would print the bare number of posts, so the rule is gated on a feature every engine shipped
   later than @counter-style (text-wrap: balance: Chrome 114, Firefox 121, Safari 17.5); elsewhere the plain "8250" stays
   (\0000a0 is the no-break space: six hex digits, or the digits after it would be read as a part of the escape) */
@counter-style wm-price { system: fixed 2; symbols: "1\0000a0500" "2\0000a0250" "3\0000a0000" "3\0000a0750"
  "4\0000a0500" "5\0000a0250" "6\0000a0000" "6\0000a0750" "7\0000a0500" "8\0000a0250" "9\0000a0000" "9\0000a0750"
  "10\0000a0500" "11\0000a0250" "12\0000a0000"; }
@supports (text-wrap: balance) { .price-row .num::before { content: counter(devices, wm-price) "\0000a0\0020bd"; } }

/* the cabinet's posts board, as in the app (cabinet/style.css, dark theme) */
[data-ui] { font-family: "Jost", system-ui, sans-serif; }
.ui-top { display: flex; justify-content: space-between; align-items: flex-start; }
.ui-top b { display: block; font-size: 22px; line-height: 1.1; letter-spacing: -0.02em; }
.ui-top .ok { color: var(--ok); font-size: 14px; }
.ui-top .ok::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); margin-right: 6px; }
.ui-clock { text-align: right; font-size: 14px; color: var(--muted); }
.ui-clock b { color: var(--ink); font-size: 18px; }
.posts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.post { background: var(--surface-2); border-radius: 10px; padding: 10px 12px; font-size: 14px; line-height: 1.3;
  border: 2px solid transparent; animation: pop 220ms cubic-bezier(.2,.8,.2,1) both; }
.post:hover { border-color: var(--field-3); }
.post header { display: flex; justify-content: space-between; font-weight: 500; }
.post header::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); margin-top: 6px; }
.post .state { font-size: 16px; margin-top: 2px; }
.post .meta { color: var(--muted); font-size: 13px; }
.post .bar { height: 4px; border-radius: 2px; background: var(--surface); margin-top: 8px; overflow: hidden; }
.post .bar span { display: block; height: 100%; width: var(--fill, 40%); background: var(--field-3); border-radius: 2px;
  transition: background-color 200ms ease-out; }
.post .box { color: var(--muted); font-size: 13px; margin-top: 4px; }
.bar .w20 { width: 20%; } .bar .w30 { width: 30%; } .bar .w40 { width: 40%; } .bar .w50 { width: 50%; }
.bar .w60 { width: 60%; } .bar .w70 { width: 70%; } .bar .w92 { width: 92%; }
.post .alt { display: none; }
.vacs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13px; color: var(--muted); }
.vac { background: var(--surface-2); border-radius: 6px; padding: 4px 8px; color: var(--ink); animation: pop 220ms cubic-bezier(.2,.8,.2,1) both; }
.no-vacs { display: none; }
.manager-note { display: none; color: var(--muted); font-size: 13px; }
@keyframes pop { from { opacity: 0; transform: scale(0.96); } }

.demo:has(#p2:checked) .post:nth-child(n+3), .demo:has(#p3:checked) .post:nth-child(n+4),
.demo:has(#p4:checked) .post:nth-child(n+5), .demo:has(#p5:checked) .post:nth-child(n+6),
.demo:has(#p6:checked) .post:nth-child(n+7), .demo:has(#p7:checked) .post:nth-child(n+8) { display: none; }
.demo:has(#v0:checked) .vac, .demo:has(#v2:checked) .vac:nth-of-type(n+3),
.demo:has(#v4:checked) .vac:nth-of-type(n+5), .demo:has(#v6:checked) .vac:nth-of-type(n+7) { display: none; }
.demo:has(#v0:checked) .no-vacs { display: inline; }
/* the states: the service card on post 2, a full box on post 4, post 5 silent */
.demo:has(#s-card:checked) .post-2 .main, .demo:has(#s-full:checked) .post-4 .main,
.demo:has(#s-lost:checked) .post-5 .main { display: none; }
.demo:has(#s-card:checked) .post-2 .alt, .demo:has(#s-full:checked) .post-4 .alt,
.demo:has(#s-lost:checked) .post-5 .alt { display: block; }
.demo:has(#s-card:checked) .post-2 .state { color: var(--field-2); }
.demo:has(#s-full:checked) .post-4 .bar span { background: var(--warn); }
.demo:has(#s-lost:checked) .post-5 header::after { background: var(--bad); }
.demo:has(#s-lost:checked) .post-5 .state { color: var(--warn); }
/* the manager sees no money (owner 23.10): sums go, prices of a minute stay */
.demo:has(#s-manager:checked) .money { display: none !important; }
.demo:has(#s-manager:checked) .manager-note { display: block; }

/* ---------------------------------------------------------------- features: staggered fragment cells */
.features h2, .how h2, .pricing h2 { font-weight: 700; letter-spacing: -0.03em; line-height: 0.95; text-transform: uppercase; }
.features h2 { font-size: var(--step-head); grid-column: 1 / -1; margin-bottom: 48px; padding: 0 var(--text-edge); }
.cell { grid-column: span 4; height: 440px; padding: 0; display: flex; flex-direction: column; background: var(--surface); }
.cell .text { padding: 24px; }
.cell h3 { font-size: var(--step-lead); font-weight: 500; line-height: 1.15; }
.cell .text p { font-size: var(--step-body); margin-top: 6px; max-width: 34ch; }
.cell .frag { flex: 1; min-height: 0; overflow: hidden; }
.cell .frag img { width: 100%; height: 100%; object-fit: cover; }
.cell.flip { flex-direction: column-reverse; }
.pos-posts { object-position: 50% 7%; } .pos-today { object-position: 50% 15%; }
.pos-peak { object-position: 50% 44%; } .pos-money { object-position: 50% 87%; }
.frag.inset { padding: 0 0 0 24px; }
.frag.inset.right { padding: 0 24px 0 0; }
.journal { background: var(--surface-2); border-top-left-radius: 12px; height: 100%; padding: 16px 20px; font-size: 14px; line-height: 1.35; }
.right .journal { border-radius: 0 0 12px 0; }
.journal h4 { margin: 0 0 4px; font-size: 18px; font-weight: 700; }
[data-ui] .journal .sum { color: var(--muted); font-size: 13px; padding-bottom: 8px; border-bottom: 1px solid #323236; }
.session { display: grid; grid-template-columns: 52px 1fr; gap: 10px; padding: 10px 0; }
.session time { font-weight: 500; }
.session time span { display: block; color: var(--muted); font-weight: 400; }
.session b { font-weight: 500; }
.session small { display: block; color: var(--muted); font-size: 13px; }
.pause { text-align: center; color: var(--muted); font-size: 13px; }
.chat { background: #0e1621; height: 100%; padding: 20px; display: flex; flex-direction: column; gap: 10px; justify-content: flex-end; }
.msg { background: #182533; border-radius: 12px 12px 12px 4px; padding: 10px 12px; font-size: 14px; line-height: 1.35; max-width: 92%; }
.msg b { color: var(--field-3); font-weight: 500; display: block; font-size: 13px; }
.msg time { display: block; text-align: right; color: #93a5b5; font-size: 13px; }
[data-ui] .chat .msg:last-child { border: 1px solid var(--field-3); }

/* ---------------------------------------------------------------- marquee: the cabinet's honest words */
.marquee { margin-top: clamp(96px, 14vh, 160px); overflow: hidden; white-space: nowrap; }
.marquee-track { display: inline-flex; animation: run 48s linear infinite; }
.marquee span { font-weight: 700; font-size: clamp(56px, 8vw, 128px); letter-spacing: -0.03em; text-transform: uppercase;
  padding-right: 0.5em; line-height: 1.05; }
.marquee span i { font-style: normal; color: var(--field-3); }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes run { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------- how it works: one bar */
.how h2 { font-size: var(--step-head); grid-column: 1 / -1; margin-bottom: 64px; padding: 0 var(--text-edge); }
.stages { grid-column: 1 / -1; display: flex; gap: 6px; height: 22vh; min-height: 160px; }
.stage { border-radius: var(--radius); padding: 20px; flex-basis: 0; min-width: 12%;
  font-size: var(--step-lead); font-weight: 500; line-height: 1.1; }
.stage-1 { flex-grow: 1; } .stage-2 { flex-grow: 2.2; } .stage-3 { flex-grow: 1; } .stage-4 { flex-grow: 6; }
.clauses { grid-column: 1 / -1; display: flex; gap: 6px; margin-top: 16px; padding-left: 16px; }
.clauses p { flex-basis: 0; min-width: 12%; font-size: var(--step-body); max-width: 22ch; padding-right: 12px; }
.clauses p:nth-child(1) { flex-grow: 1; } .clauses p:nth-child(2) { flex-grow: 2.2; }
.clauses p:nth-child(3) { flex-grow: 1; } .clauses p:nth-child(4) { flex-grow: 6; }

/* ---------------------------------------------------------------- pricing: plans that step up */
.plans { align-items: end; }
.pricing h2 { grid-column: 1 / 9; grid-row: 1; align-self: start; font-size: var(--step-head); padding: 0 var(--text-edge); }
.pricing .note { grid-column: 1 / 9; grid-row: 2; padding: 16px var(--text-edge) 0; max-width: 64ch; }
.plan { grid-column: span 4; grid-row: 1; padding: 0; display: flex; flex-direction: column; }
.plan-1 { grid-column: 1 / 5; height: 360px; }
.plan-2 { grid-column: 5 / 9; height: 480px; }
.plan-3 { grid-column: 9 / 13; height: 600px; }
.pricing .plan-1, .pricing .plan-2 { align-self: end; }
.plan .body { padding: 28px; flex: 1; }
.plan h3 { font-size: var(--step-lead); font-weight: 700; line-height: 1.1; }
.plan .cost { font-size: var(--step-head); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; margin: 8px 0 16px; }
.plan .cost small { font-size: var(--step-body); font-weight: 400; letter-spacing: 0; }
.plan li { font-size: var(--step-body); }
.plan a { display: flex; align-items: center; height: 64px; padding: 0 28px; text-decoration: none; font-weight: 500;
  transition: filter 160ms ease-out; }
.plan a:hover { filter: brightness(1.12); }
.plan-1 a { background: #c9c9c9; } .plan-2 a { background: #84abd8; } .plan-3 a { background: var(--accent-deep); color: var(--accent-ink); }
.plan-3 { background: var(--accent); color: var(--accent-ink); }

/* ---------------------------------------------------------------- questions: index and one answer */
.faq-list { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap);
  row-gap: 18px; align-content: start; padding: 0 var(--text-edge); }
.faq-list li { display: contents; }
.faq-list .title { display: block; grid-column: 1 / 6; color: var(--muted); font-size: var(--step-body); }
.faq-list label { grid-column: 1 / 6; }
.faq-list input { position: absolute; opacity: 0; pointer-events: none; }
.faq-list label { display: flex; gap: 14px; align-items: baseline; font-size: var(--step-body); color: var(--muted); cursor: pointer;
  transition: color 150ms ease-out; }
.faq-list label::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--muted);
  transform: translateY(-2px); transition: background-color 150ms ease-out; }
.faq-list input:checked + label, .faq-list label:hover { color: var(--ink); }
.faq-list input:checked + label::before { background: var(--field-3); }
.faq-list input:focus-visible + label { outline: 3px solid var(--field-3); outline-offset: 4px; }
.answer { grid-column: 7 / 13; grid-row: 1 / span 8; font-size: var(--step-lead); line-height: 1.3;
  max-width: 30ch; opacity: 0; visibility: hidden; transition: opacity 150ms ease-out, visibility 0s 150ms; }
.faq-list input:checked ~ .answer { opacity: 1; visibility: visible; transition: opacity 150ms ease-out; }

/* ---------------------------------------------------------------- the action tile */
.cta { overflow: hidden; }
.cta .row-tiles { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 12px; margin: 0 -48px; }
.cta .tile { height: 360px; }
.cta .side-a { grid-column: 1 / 3; padding: 0; }
.cta .side-b { grid-column: 11 / 13; background: var(--field-3); }
.cta .main { grid-column: 3 / 11; background: var(--accent); color: var(--accent-ink); padding: 40px; display: flex;
  flex-direction: column; justify-content: center; gap: 16px; }
.cta h2 { font-size: var(--step-head); font-weight: 700; letter-spacing: -0.03em; line-height: 1; text-transform: uppercase; }
.cta p { font-size: var(--step-body); max-width: 46ch; }
.cta .button { background: var(--field-1); color: var(--field-1-ink); align-self: flex-start; }
.cta .button:hover { background: #ffffff; }

/* ---------------------------------------------------------------- footer: the mark built large */
.footer { margin-top: var(--gap); background: var(--field-1); color: var(--field-1-ink); padding: 40px var(--text-edge) 24px; }
.mark { height: 34svh; min-height: 200px; display: flex; gap: 4px; align-items: flex-end; }
.mark span { flex: 1; display: flex; align-items: flex-end; justify-content: center; border-radius: 4px; padding-bottom: 0.08em;
  font-weight: 700; font-size: clamp(36px, 6vw, 96px); line-height: 1; color: var(--field-1); text-transform: uppercase; }
.mark span:nth-child(3n+1) { background: var(--bg); }
.mark span:nth-child(3n+2) { background: var(--accent); }
.mark span:nth-child(3n) { background: var(--field-4); }
.mark span:nth-child(1) { height: 100%; } .mark span:nth-child(2) { height: 72%; } .mark span:nth-child(3) { height: 88%; }
.mark span:nth-child(4) { height: 64%; } .mark span:nth-child(5) { height: 94%; } .mark span:nth-child(6) { height: 80%; }
.mark span:nth-child(7) { height: 60%; } .mark span:nth-child(8) { height: 90%; } .mark span:nth-child(9) { height: 70%; }
.mark span:nth-child(10) { height: 84%; } .mark span:nth-child(11) { height: 100%; }
.foot-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px 8px; font-size: var(--step-small); }
.foot-grid h3 { font-size: var(--step-small); font-weight: 500; margin-bottom: 8px; }
.foot-grid li + li { margin-top: 4px; }
.foot-col { grid-column: span 2; }
.foot-contact { grid-column: 9 / 13; display: flex; flex-direction: column; gap: 12px; }
.foot-last { margin-top: 40px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: var(--step-small); }
.credits { margin-top: 32px; font-size: var(--step-small); max-width: 110ch; }
.button.small-button { min-height: 40px; padding: 0 16px; background: var(--bg); color: var(--ink); }
.button.small-button:hover { background: #2a2a2e; }

/* ---------------------------------------------------------------- the install page */
.hero-install { padding-top: var(--edge); }
.steps-board { margin-top: var(--gap); }
.page-band b { color: var(--field-3); font-weight: 700; }
.page-side .button { align-self: flex-start; }
.page-band { grid-column: 1 / -1; height: 110px; padding: 0; display: flex; align-items: center; justify-content: space-between; }
.page-band a { font-weight: 700; font-size: clamp(48px, 7vw, 96px); letter-spacing: -0.04em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap; padding-left: 20px; }
.page-title { grid-column: 1 / 9; min-height: 300px; display: flex; flex-direction: column; justify-content: flex-end; gap: 16px; }
.page-title h1 { font-size: var(--step-head); font-weight: 700; letter-spacing: -0.03em; line-height: 0.95; text-transform: uppercase; }
.page-side { grid-column: 9 / 13; background: var(--field-4); color: var(--field-4-ink); display: flex; flex-direction: column;
  justify-content: space-between; gap: 16px; }
.step { grid-column: span 3; min-height: 380px; display: flex; flex-direction: column; gap: 12px; }
.step .n { font-size: var(--step-lead); font-weight: 700; }
.step h2 { font-size: var(--step-lead); font-weight: 500; line-height: 1.15; }
.step p { font-size: var(--step-body); }
.step a { text-decoration-color: var(--field-3); text-underline-offset: 3px; }
.step:nth-child(4) { background: var(--field-2); color: var(--field-2-ink); }
.step-shot { margin: auto -24px -24px; height: 200px; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }
.step-shot img { width: 100%; height: 100%; object-fit: cover; }
.wide { grid-column: 1 / 9; }
.wide li { padding-left: 16px; position: relative; margin-top: 10px; max-width: 70ch; }
.wide li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 6px; height: 6px; border-radius: 50%; background: var(--field-3); }
.wide h2, .narrow h2 { font-size: var(--step-lead); font-weight: 700; text-transform: uppercase; letter-spacing: -0.01em; }
.narrow { grid-column: 9 / 13; background: var(--field-1); color: var(--field-1-ink); }
.narrow p { margin-top: 12px; }
/* the installer's file name, hash and commands: monospace, and a 64-character hash breaks anywhere, not the layout */
.step code, .wide code, .narrow code, .doc code { font-family: ui-monospace, Consolas, "Cascadia Mono", "Segoe UI Mono", monospace;
  font-size: 0.92em; overflow-wrap: anywhere; }
.step .download { overflow-wrap: anywhere; }

/* ---------------------------------------------------------------- legal pages: one long document tile and a sticky index */
.doc-board { margin-top: var(--gap); align-items: start; }
.doc { grid-column: 1 / 9; padding: 32px; }
.doc-side { grid-column: 9 / 13; position: sticky; top: var(--edge); background: var(--field-4); color: var(--field-4-ink); }
.doc-side h2 { font-size: var(--step-small); font-weight: 500; text-transform: uppercase; letter-spacing: 0.04em; }
.doc-side ol { margin-top: 12px; }
.doc-side li { margin-top: 6px; font-size: var(--step-small); line-height: 1.35; }
.doc-side li a { text-decoration: none; }
.doc-side li a:hover { text-decoration: underline; text-decoration-color: var(--field-3); }
.doc-side .req { margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(239, 239, 239, 0.2); font-size: var(--step-small); }
.doc-side .req p + p { margin-top: 6px; }
.doc h2 { font-size: var(--step-lead); font-weight: 500; line-height: 1.15; margin-top: 44px; }
.doc h2:first-child { margin-top: 0; }
.doc h3 { font-size: var(--step-body); font-weight: 700; margin-top: 28px; }
.doc p, .doc li { max-width: 74ch; }
.doc p { margin-top: 12px; }
.doc ul, .doc ol { margin-top: 12px; padding-left: 22px; }
.doc ul { list-style: disc; }
.doc ol { list-style: decimal; }
.doc li + li { margin-top: 6px; }
.doc a { text-decoration-color: var(--field-3); text-underline-offset: 3px; }
.doc .edition { color: var(--muted); font-size: var(--step-small); }
.doc table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: var(--step-small); line-height: 1.35; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 8px 10px 8px 0; border-bottom: 1px solid #323236; }
.doc th { font-weight: 500; color: var(--muted); }
.doc .appendix { margin-top: 56px; padding-top: 32px; border-top: 1px solid #323236; }
.doc .appendix h2 { margin-top: 0; }

/* ---------------------------------------------------------------- the other pages: support, price, first steps */
.hero-install .link-tile { height: 64px; }
.cap { font-size: var(--step-lead); font-weight: 700; text-transform: uppercase; letter-spacing: -0.01em; line-height: 1.15; }
.tile .cap + p, .tile .cap + ul, .tile .cap + ol { margin-top: 12px; }
.tile p + p { margin-top: 10px; }
.dots li { padding-left: 16px; position: relative; margin-top: 10px; max-width: 70ch; }
.dots li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 6px; height: 6px; border-radius: 50%; background: var(--field-3); }
.f1 .dots li::before, .f2 .dots li::before, .f3 .dots li::before { background: currentColor; }
.numbered { counter-reset: item; }
.numbered li { counter-increment: item; padding-left: 32px; position: relative; margin-top: 10px; max-width: 70ch; }
.numbered li::before { content: counter(item); position: absolute; left: 0; top: 0; font-weight: 700; color: var(--field-3); }
.half { grid-column: span 6; } .third { grid-column: span 4; }
.tile a:not(.button) { text-decoration-color: var(--field-3); text-underline-offset: 3px; }
.f3 a:not(.button), .f1 a:not(.button), .f2 a:not(.button) { text-decoration-color: currentColor; }
.contact { min-height: 260px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.contact .big { font-size: var(--step-lead); font-weight: 500; line-height: 1.2; overflow-wrap: anywhere; }
.contact .button { align-self: flex-start; }
.formula { grid-column: 1 / 9; min-height: 300px; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; }
.formula .big { font-size: var(--step-head); font-weight: 700; letter-spacing: -0.03em; line-height: 1; text-transform: uppercase; }
.example { grid-column: 9 / 13; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.example .sum { font-size: var(--step-head); font-weight: 700; letter-spacing: -0.02em; line-height: 1; }
.example .sum small { font-size: var(--step-body); font-weight: 400; letter-spacing: 0; }
.sample { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; }
.sample b { font-weight: 500; white-space: nowrap; }
.pending { display: inline-block; margin-top: 12px; padding: 4px 10px; border-radius: 6px; background: var(--bg); color: var(--ink);
  font-size: var(--step-small); }
.guide .step { grid-column: span 4; min-height: 0; gap: 10px; }
.guide .step:nth-child(4) { background: var(--surface); color: var(--ink); }
.guide .step:nth-child(3n) { background: var(--surface-2); }
.guide .step.help { background: var(--field-3); color: var(--field-3-ink); justify-content: space-between; }
.guide .step.help .button { align-self: flex-start; background: var(--bg); color: var(--ink); }
.guide .step.help .button:hover { background: #2a2a2e; }
.chat-tile { padding: 0; display: flex; flex-direction: column; background: #0e1621; color: var(--ink); }
.chat-tile .chat { flex: 1; justify-content: flex-start; }
.chat-tile .msg.mine { background: #2b5278; border-radius: 12px 12px 4px 12px; align-self: flex-end; }
.chat-tile .msg.mine b { color: #a7c8ee; }
.chat-tile .msg.mine time { color: #d3e3f3; }
.cta .side-b img { width: 100%; height: 100%; object-fit: cover; }
.guide .step p + p { margin-top: 0; }
.guide .where, .where { color: var(--muted); font-size: var(--step-small); line-height: 1.4; }
.guide .step:nth-child(3n) .where { color: #b4b4bc; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: var(--step-small); }
.foot-links a { text-decoration-color: var(--accent); text-underline-offset: 3px; }
.footer-plain { padding-top: 32px; }
.footer-plain .foot-last { margin-top: 24px; }

/* ---------------------------------------------------------------- entrance: tiles rise as they come into view */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .rise { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
    @keyframes rise { from { opacity: 0.35; transform: translateY(40px); } }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .post, .vac { animation: none; }
  * { transition-duration: 0s !important; }
}

/* ---------------------------------------------------------------- phone: its own board in two columns */
@media (max-width: 900px) {
  :root { --gap: 6px; --edge: 6px; }
  .board, .rails, .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  :root { --text-edge: 16px; }
  .hero { height: auto; min-height: 0; grid-template-rows: auto; }
  .name-band { height: 110px; }
  .name-band span { font-size: 15.5vw; }
  .link-tile { grid-column: span 1; height: 64px; }
  .rails { display: contents; }
  .centre { grid-column: 1 / -1; grid-row: auto; order: 1; aspect-ratio: 4 / 3; }
  @media (min-width: 600px) { .centre { aspect-ratio: 2 / 1; } }
  .statement { grid-column: 1 / -1; grid-row: auto; order: 2; padding: 16px 10px 12px; background: none; }
  .statement-title { font-size: clamp(26px, 7vw, 40px); }
  .rail-right { display: contents; }
  .rail-right .tile { order: 4; grid-column: span 1; min-height: 104px; font-size: var(--step-body); }
  .rail-right .tile strong { display: inline; font-size: inherit; margin: 0; }
  .rail-right .f1, .rail-right .f2 { grid-column: 1 / -1; min-height: 0; }
  .rail-right .action { order: 3; grid-column: 1 / -1; min-height: 0; }
  .rail-left { grid-column: 1 / -1; grid-row: auto; order: 5; grid-template-rows: none; grid-template-columns: 1fr 1fr; }
  .rail-left .shot { aspect-ratio: 3 / 4; }
  .demo { grid-template-columns: 1fr; min-height: 0; }
  .demo-controls { padding: 8px 12px 16px; }
  .row { min-height: 52px; }
  .cell, .cell.flip { grid-column: 1 / -1; height: auto; flex-direction: column; }
  .cell .frag { height: 360px; flex: none; }
  .cell:nth-child(odd) .frag.inset { padding: 0 0 0 24px; }
  .cell:nth-child(even) .frag.inset { padding: 0 24px 0 0; }
  .how h2 { font-size: clamp(40px, 11vw, 64px); }
  .stages { flex-direction: column; height: 70svh; }
  .stage { min-width: 0; min-height: 72px; }
  .clauses { display: none; }
  .stage small { display: block; font-size: var(--step-body); font-weight: 400; margin-top: 6px; line-height: 1.35; }
  .pricing h2 { grid-column: 1 / -1; grid-row: auto; }
  .pricing .note { grid-column: 1 / -1; grid-row: auto; margin-top: 0; margin-bottom: 8px; }
  .plan, .plan-1, .plan-2, .plan-3 { grid-column: 1 / -1; grid-row: auto; height: auto; }
  .plan + .plan { margin-top: 24px; }
  .faq-list { grid-column: 1 / -1; display: block; }
  .faq-list li { display: block; }
  .faq-list li + li { margin-top: 18px; }
  .answer { display: none; font-size: var(--step-body); padding-left: 22px; margin-top: 8px; max-width: none; opacity: 1; visibility: visible; }
  .faq-list input:checked ~ .answer { display: block; }
  .faq { min-height: 0; }
  .cta .row-tiles { grid-template-columns: 1fr 1fr; margin: 0; gap: 6px; }
  .cta .main { grid-column: 1 / -1; grid-row: 1; height: auto; min-height: 300px; padding: 28px 20px; }
  .cta .side-a, .cta .side-b { grid-column: span 1; height: 120px; }
  .cta .button { align-self: stretch; justify-content: center; }
  .mark { height: 22svh; flex-wrap: wrap; align-content: flex-end; }
  .mark span { flex: 1 0 calc(100% / 6 - 4px); height: 48% !important; font-size: 9vw; }
  .foot-col { grid-column: span 1; }
  .foot-contact { grid-column: 1 / -1; }
  .page-band a { font-size: 13vw; padding-left: 12px; }
  .page-title, .page-side, .step, .wide, .narrow { grid-column: 1 / -1; min-height: 0; }
  .doc, .doc-side { grid-column: 1 / -1; }
  .doc { padding: 20px 16px; }
  .doc-side { position: static; }
  .doc table { display: block; overflow-x: auto; }
  .half, .third, .formula, .example, .guide .step { grid-column: 1 / -1; }
  .formula { min-height: 0; }
  .formula .big { font-size: clamp(28px, 8vw, 48px); }
  .contact { min-height: 0; }
  .foot-links { gap: 8px 16px; }
}
@media (min-width: 901px) { .stage small { display: none; } }
