/* «Ярус» — page CSS. CSP: style-src 'self', so every rule of the page lives here (no style="" and no <style>).
   Order: the brand fonts, the :root block exactly as start.mjs brand printed it, then the page's own rules:
   only what sits inside a visual (the window, the phone, the keypad phone, the SIP card), the --p-h of a
   card group and the --h / --hm of a section, as references/system.md and layout-v4.md allow. */

@font-face { font-family: "Onest"; src: url("fonts/onest-cyrillic-wght-normal.woff2") format("woff2-variations"); font-weight: 100 900; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; src: url("fonts/onest-latin-wght-normal.woff2") format("woff2-variations"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* node scripts/start.mjs brand --page software --bg "#fbfaf6" --ink "#17181c" --accent "#fbd530" --type onest --radius soft */
:root {
  --p-bg: #fbfaf6; --p-surface: #eeedea; --p-ink: #17181c; --p-muted: #646566;
  --p-accent: #fbd530; --p-accent-ink: #111111; --p-action: #17181c; --p-action-ink: #fbfaf6;
  --p-inv-bg: #17181c; --p-inv-surface: #242528; --p-inv-ink: #fbfaf6; --p-inv-muted: #9b9b9b;
  --p-inv-accent: #fbd530; --p-inv-accent-ink: #111111; --p-inv-action: #fbd530; --p-inv-action-ink: #111111;
  --font-display: "Onest", system-ui, sans-serif;
  --font-text: "Onest", system-ui, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --display-weight: 400;
  --display-tracking: -0.035em;
  --display-tracking-xl: -0.04em;
}

/* the client's logo: the yellow origami dove beside the name */
.nav__logo img { width: 28px; height: 28px; }
.footer .nav__logo img { width: 32px; height: 32px; }

/* ---------------------------------------------------------------- hero: the showroom key image, full bleed
   The commissioned render (assets/gen/hero-showroom.png -> media/hero-showroom-*.avif|webp) fills the first screen on
   the graphite ground; the words sit on its calm, empty upper left.    the hero), so the path and the four hotspots keep their place on the devices at every crop. From 1023 down the image
   is a band under the header, whole, and the words sit under it on the same ground. */
.hero--show { position: relative; overflow: hidden; background: var(--p-inv-bg); color: var(--p-inv-ink); }
main > section.hero--show > picture.show__pic { z-index: 0; overflow: hidden; }
/* the parallax moves the crop inside the box, never the box: object-position follows the pointer by a few px */
.hero--show { --px: 0px; --py: 0px; }
main > section.hero--show > picture.show__pic > img { width: 100%; height: 100%; max-width: none; object-fit: cover;
  object-position: calc(50% + var(--px)) calc(50% + var(--py)); transition: object-position 600ms cubic-bezier(.22,1,.36,1); }
/* the pulse that runs the call's path: an SVG line laid on the devices from the .wrap, drawn three times on load */
.show__path { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.show__pulse { fill: none; stroke: #fff6c8; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: .07 .93; stroke-dashoffset: .07; opacity: 0; filter: drop-shadow(0 0 5px #fbd530) drop-shadow(0 0 12px #fbd530); }
@media (prefers-reduced-motion: no-preference) {
  .show__path.is-running .show__pulse { animation: pulse-run 1.6s cubic-bezier(.65,0,.35,1) 3; }
  @keyframes pulse-run { 0% { stroke-dashoffset: .07; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { stroke-dashoffset: -1; opacity: 0; } }
}
/* the four places on the devices: page.js puts each disc on its device (--x, --y in px from the .wrap's corner);
   without script they wait, since only the script knows where the image's crop puts the devices */
.show__spots { position: absolute; inset: 0; z-index: 2; pointer-events: none; transform: translate(var(--px), var(--py)); transition: transform 600ms cubic-bezier(.22,1,.36,1); }
/* a card opens on hover, focus or a tap; at rest it is not drawn at all */
.show__spots .ly-spot:not(.is-open, :hover, :focus-within) > .ly-spot__card { display: none; }
.show__spots > .ly-spot { pointer-events: auto; }
html:not(.js) .show__spots, .show__spots:not(.is-placed) { display: none; }
.hero--show .ly-spot > button { background: var(--p-accent); color: var(--p-accent-ink); box-shadow: 0 0 0 6px rgb(251 213 48 / .25), 0 6px 18px -6px rgb(0 0 0 / .6); }
.hero--show .ly-spot > button:hover, .hero--show .ly-spot.is-open > button { box-shadow: 0 0 0 9px rgb(251 213 48 / .3), 0 6px 18px -6px rgb(0 0 0 / .6); }
.hero--show .ly-spot__card a { display: inline-block; margin-top: 4px; font-weight: 500; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.hero--show .ly-spot--left .ly-spot__card { right: calc(100% + 12px); }
.hero--show > .wrap { position: relative; z-index: 1; }
.hero--show > .wrap > .hero-text { position: relative; display: flex; flex-direction: column; justify-content: flex-start; }
.hero--show .hero__text { position: relative; z-index: 1; width: 100%; display: grid; gap: var(--s-5); justify-items: start; }
.hero--show h1 { font-size: var(--ly-h1); max-width: 16ch; color: var(--p-inv-ink); }
.hero--show .hero__lead { max-width: 56ch; font-size: var(--t-lead); line-height: 1.5; color: var(--p-inv-ink); }
.hero--show .btn-row { margin-top: var(--s-1); }
.show__list { display: none; }
@media (max-width: 1023px) {
  .hero--show { --band: min(56.25vw, 46svh); }
  main > section.hero--show > picture.show__pic { inset: var(--nav) 0 auto 0; height: var(--band); }
  main > section.hero--show > picture.show__pic > img { transition: none; }
  main > .hero--show { padding-top: calc(var(--nav) + var(--band) + var(--s-6)); }
  .hero--show .hero__text { width: 100%; gap: var(--s-4); }
  .hero--show h1 { font-size: var(--ly-h1); max-width: none; }
}
@media (max-width: 639px) {
  /* the band shows the smartphone, the laptop and the keypad phone; the four places become a list under the words */
  .hero--show { --band: 220px; }
  .hero--show .hero__text { gap: var(--s-3); }
  main > .hero--show { padding-top: calc(var(--nav) + var(--band) + var(--s-5)); }
  main > section.hero--show > picture.show__pic > img { object-position: 0 50%; }
  .show__spots { display: none !important; }
  .hero--show .hero__lead { font-size: 17px; }
  .show__list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--s-4); width: 100%; margin-top: var(--s-2); border-top: 1px solid var(--line); }
  .show__list li { border-bottom: 1px solid var(--line); }
  .show__list a { display: grid; align-content: center; min-height: 52px; padding-block: var(--s-2); }
  .show__list b { font-size: var(--t-small); font-weight: 500; line-height: 1.3; } .show__list span { display: none; }
}

/* ---------------------------------------------------------------- #call: the phone on the line */
#call > .wrap > .call-grid { flex: 1 1 auto; min-height: 0; row-gap: var(--s-6); align-items: start; }
@media (min-width: 1024px) {
  #call .call-grid { grid-template-rows: auto auto 1fr; row-gap: var(--s-6); }
  #call .call-head { grid-column: 1 / span 6; grid-row: 1; }
  #call .chain { grid-column: 1 / span 6; grid-row: 2; }
  #call .demo-end { grid-column: 1 / span 6; grid-row: 3; }
  #call .call-phone { grid-column: 7 / span 6; grid-row: 1 / span 3; height: 100%; align-self: stretch; }
}
.call-head { display: grid; gap: var(--s-5); }
.call-frame { height: 100%; min-height: 0; padding: var(--s-6); background: color-mix(in oklab, var(--p-inv-ink) 7%, var(--p-inv-bg)); border-color: transparent; align-items: center; }
@media (max-width: 1023px) { .call-frame { padding: var(--s-6) var(--s-4); } }

.device { --dv-h: clamp(500px, calc(100svh - 260px), 640px); position: relative; width: 300px; height: var(--dv-h); flex: none; overflow: hidden;
  border: 10px solid #0f1012; border-radius: 46px; background: linear-gradient(180deg, #2c2f33 0%, #1c1e21 46%, #141517 100%);
  box-shadow: 0 40px 80px -40px rgb(23 24 28 / .55); }
@media (max-width: 1023px) { .device { --dv-h: 600px; } }
.dv-screen { position: relative; height: 100%; display: flex; flex-direction: column; color: #f4f3ef; padding: 12px 18px 22px; }
.dv-status { display: flex; align-items: center; justify-content: space-between; height: 26px; font: 500 13px/1 var(--font-text); font-variant-numeric: tabular-nums; }
.dv-island { width: 88px; height: 24px; border-radius: 14px; background: #000; }
.dv-icons { display: flex; align-items: center; gap: 6px; }
.dv-sig { display: inline-flex; align-items: end; gap: 2px; height: 11px; } .dv-sig b { width: 3px; background: #f4f3ef; border-radius: 1px; }
.dv-sig b:nth-child(1) { height: 4px; } .dv-sig b:nth-child(2) { height: 6px; } .dv-sig b:nth-child(3) { height: 8px; } .dv-sig b:nth-child(4) { height: 11px; }
.dv-bat { width: 22px; height: 11px; border-radius: 3px; border: 1.5px solid #f4f3ef; position: relative; }
.dv-bat::after { content: ""; position: absolute; inset: 1.5px 5px 1.5px 1.5px; background: #f4f3ef; border-radius: 1px; }
.dv-caller { display: grid; justify-items: center; gap: 6px; margin-top: 34px; text-align: center; }
.dv-avatar { width: 64px; height: 64px; border-radius: 50%; background: #3a3d42; display: grid; place-items: center; margin-bottom: 6px; }
.dv-avatar img { width: 44px; height: 44px; }
.dv-name { font: 500 24px/1.2 var(--font-display); letter-spacing: -0.02em; }
.dv-sub { font-size: 15px; color: #b9bab6; min-height: 22px; font-variant-numeric: tabular-nums; }
.dv-sub > span { display: none; }
.device[data-state="idle"] .dv-sub-idle, .device[data-state="ringing"] .dv-sub-ring,
.device[data-state="talk"] .dv-time, .device[data-state="ended"] .dv-time { display: inline; }
.dv-hint { margin: auto 6px 0; text-align: center; font-size: 15px; line-height: 1.45; color: #d9d8d3; }
.device:not([data-state="idle"]) .dv-hint { display: none; }
.dv-talk { display: none; flex: 1 1 auto; min-height: 0; flex-direction: column; gap: 10px; margin-top: 18px; }
.device:is([data-state="talk"], [data-state="ended"]) .dv-talk { display: flex; }
.dv-bars { display: flex; align-items: center; justify-content: center; gap: 3px; height: 28px; flex: none; }
.dv-bars i { width: 3px; border-radius: 2px; background: rgb(244 243 239 / .28); }
.dv-bars i.on { background: var(--p-accent); }
.dv-log { flex: 1 1 auto; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; scrollbar-width: none; outline: none; }
.dv-log::-webkit-scrollbar { display: none; }
.dv-log li { max-width: 92%; padding: 8px 12px; border-radius: 14px; font-size: 14px; line-height: 1.4; }
.dv-log li[data-who="line"] { align-self: flex-start; background: rgb(244 243 239 / .1); border-bottom-left-radius: 5px; }
.dv-log li[data-who="you"] { align-self: flex-end; background: #f4f3ef; color: #17181c; border-bottom-right-radius: 5px; }
.dv-log li.is-fresh { align-self: center; background: none; color: #b9bab6; font-size: 13px; }
.dv-log li small { display: block; margin-top: 4px; font-size: 13px; color: #b9bab6; }
.dv-log .kw { color: rgb(244 243 239 / .45); transition: color 120ms linear; }
.dv-log .kw.on { color: #f4f3ef; }
.dv-say { display: grid; gap: 6px; flex: none; }
.dv-say p { font-size: 13px; color: #b9bab6; text-align: center; }
.dv-say button { min-height: 44px; border-radius: 12px; border: 0; background: #f4f3ef; color: #17181c; font: 500 15px/1.2 var(--font-text); cursor: pointer; }
.dv-say button:hover { background: #fff; }
.dv-say button:focus-visible { outline: 2px solid var(--p-accent); outline-offset: 2px; }
.dv-keys { display: flex; justify-content: center; gap: 28px; margin-top: 18px; flex: none; }
.dv-key { display: grid; justify-items: center; gap: 6px; font-size: 12px; color: #d9d8d3; }
.dv-round { width: 64px; height: 64px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; color: #fff; background: rgb(244 243 239 / .16); }
.dv-round:focus-visible { outline: 2px solid var(--p-accent); outline-offset: 3px; }
.dv-call { background: #1f9d55; } .dv-call:hover { background: #22ad5e; }
.dv-hang { background: #e0352b; } .dv-hang svg { transform: rotate(135deg); } .dv-hang:hover { background: #ec4136; }
.dv-again { background: #1f9d55; }
.dv-mute[aria-pressed="true"] { background: #f4f3ef; color: #17181c; }
.dv-key.k-hang, .dv-key.k-again { display: none; }
.device:is([data-state="ringing"], [data-state="talk"]) .k-call { display: none; }
.device:is([data-state="ringing"], [data-state="talk"]) .k-hang { display: grid; }
.device[data-state="ended"] .k-call { display: none; }
.device[data-state="ended"] .k-again { display: grid; }

.chain { display: grid; gap: var(--s-5); counter-reset: none; }
.st { display: block; }
.st-body { display: grid; gap: var(--s-2); min-width: 0; }
.st h3 { display: flex; align-items: center; gap: var(--s-3); font: 500 var(--t-card)/1.3 var(--font-text); letter-spacing: -0.01em; outline: none; }
/* the step's state after its name: an empty ring waits, yellow is "your move", ink is done */
.st h3::after { content: ""; flex: none; width: 12px; height: 12px; border-radius: 999px; border: 1.5px solid var(--line-strong); transition: background-color 200ms var(--ease), border-color 200ms var(--ease); }
.st.is-now h3::after { background: var(--p-accent); border-color: var(--ink); }
.st.is-done h3::after { background: var(--ink); border-color: var(--ink); }
.st-text { color: var(--ink); }
.st-live { min-height: 52px; display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); }
.deskrow { flex: 1 1 280px; min-width: 0; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: var(--s-3);
  min-height: 52px; padding: 6px 12px; border-radius: var(--r-md); background: var(--card); border: 1px dashed var(--line-strong); font-size: 14px; }
.st.is-open .deskrow { border-style: solid; background: #fff; }
.dr-what { font-weight: 500; padding: 2px 8px; border-radius: 6px; background: color-mix(in oklab, var(--ink) 8%, transparent); }
.deskrow.is-urgent .dr-what { background: #fbe1df; color: #a3231b; }
.deskrow.is-assigned .dr-what { background: color-mix(in oklab, var(--p-accent) 55%, white); color: var(--p-accent-ink); }
.dr-main { display: grid; min-width: 0; } .dr-main b { font-weight: 500; } .dr-main small { font-size: 13px; color: #55565a; }
.dr-who { color: #55565a; font-size: 13px; text-align: right; }
.st-assign:disabled { opacity: .45; cursor: default; }
.incoming { display: flex; align-items: center; gap: var(--s-3); flex: 1 1 280px; min-height: 52px; }
.incoming img { width: 30px; height: 60px; object-fit: cover; object-position: top; border-radius: 6px; border: 1px solid var(--line); }
.incoming p { font-size: 14px; }
.lcd { flex: 1 1 auto; min-height: 52px; padding: 8px 12px; border-radius: 8px; background: #c9d3b4; color: #1d2414; font: 500 14px/1.35 var(--font-text); }
.lcd-who { font-size: 13px; color: #2f3820; }
.lcd .kw { color: #5d6a45; } .lcd .kw.on { color: #1d2414; }
.track { display: flex; flex-wrap: wrap; gap: 6px 4px; }
.track li { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px 0 8px; border-radius: 999px; font-size: 13px; font-weight: 500;
  border: 1px solid var(--line); color: var(--muted); transition: background-color 200ms var(--ease), color 200ms var(--ease); }
.track li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid currentColor; }
.track li.is-done { color: var(--ink); } .track li.is-done::before { background: var(--ink); border-color: var(--ink); }
.track li.is-now { background: var(--p-accent); border-color: var(--p-accent); color: var(--p-accent-ink); } .track li.is-now::before { background: var(--p-accent-ink); border-color: var(--p-accent-ink); }
.demo-end { min-height: 24px; color: var(--ink); font-weight: 500; }
/* a short screen (1024x768): the steps keep their titles and live rows, their one-line notes wait */
@media (min-width: 1024px) and (max-height: 840px) { #call .st-text { display: none; } #call .chain { gap: var(--s-4); } }
@media (min-width: 640px) and (max-width: 1023px) { #call { --h: 2; } }
@media (max-width: 639px) { .device { width: 290px; } .dv-keys { gap: 22px; } }

/* ---------------------------------------------------------------- #safety: the statement beside the resident */
#safety .safety-grid { align-items: start; row-gap: var(--s-7); }
#safety .t-label { color: var(--muted); margin-bottom: var(--s-5); }
#safety .mo-wh__text { max-width: none; }
.safety-photo { --ratio: 75%; }
@media (max-width: 639px) { }

/* ---------------------------------------------------------------- #desk: the dispatcher's program */
#desk .desk-head { align-items: start; margin-bottom: var(--s-7); }
.desk-intro { display: grid; gap: var(--s-5); }
.desk-tools { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-5); }
.desk-xlsx { display: inline-flex; align-items: center; gap: var(--s-2); font-size: var(--t-small); font-weight: 500; }
.desk-frame { padding: 0; min-height: 280px; background: #fff; }
.desk-frame > .desk-shot { object-fit: cover; object-position: 0 0; }
@media (max-width: 639px) { .desk-frame { min-height: 360px; } .desk-frame > .desk-shot { object-position: 18% 0; } #desk { --hm: 1; } }

/* ---------------------------------------------------------------- #master: the push-button phone */
#master .master-grid { align-items: start; }
.master-text { display: grid; gap: var(--s-5); }
.pp-demo { display: flex; flex-wrap: wrap; align-items: flex-start; gap: var(--s-6); margin-top: var(--s-3); }
.pp { width: 200px; flex: none; padding: 22px 16px 18px; border-radius: 36px 36px 30px 30px; background: #26282c; color: #f4f3ef;
  box-shadow: 0 0 0 1px rgb(0 0 0 / .2) inset, 0 30px 60px -30px rgb(23 24 28 / .5); display: grid; gap: 12px; justify-items: center; }
.pp-speaker { width: 44px; height: 5px; border-radius: 3px; background: #4a4d52; }
.pp-lcd { width: 100%; min-height: 112px; padding: 10px 12px; border-radius: 8px; background: #c9d3b4; color: #1d2414; box-shadow: 0 0 0 3px #1b1c1f inset; }
.pp-who { font: 500 13px/1.3 var(--font-text); color: #2f3820; margin-bottom: 4px; }
.pp-text { font: 500 14px/1.35 var(--font-text); }
.pp-text .kw { color: #5d6a45; } .pp-text .kw.on { color: #1d2414; }

.pp-keys { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.pp-keys span { height: 26px; border-radius: 8px; background: #3a3d42; display: flex; align-items: baseline; justify-content: center; gap: 3px; cursor: default; }
.pp-keys b { font: 500 14px/26px var(--font-text); } .pp-keys small { font-size: 9px; letter-spacing: .02em; color: #b9bab6; }
.pp-keys .k-green { background: #1f9d55; } .pp-keys .k-red { background: #c8362d; } .pp-keys .k-nav { background: #4a4d52; }
.pp-side { flex: 1 1 220px; display: grid; gap: var(--s-5); align-content: start; }
.pp-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.outcomes { display: grid; gap: 0; }
.outcomes li { padding-block: var(--s-3); border-bottom: 1px solid var(--line); color: var(--ink); }
.outcomes li.is-on { font-weight: 500; border-bottom: 2px solid var(--p-ink); }
.master-photo { --ratio: 100%; }
@media (min-width: 1024px) and (max-height: 840px) { .pp-keys span { height: 22px; } .pp-keys b { line-height: 22px; } .pp-lcd { min-height: 96px; } .pp { padding-block: 16px 14px; gap: 10px; } }
@media (min-width: 640px) and (max-width: 1023px) { #master { --h: 2; } }
@media (max-width: 639px) { .pp-demo { gap: var(--s-5); } .pp { margin-inline: auto; } .pp-actions .btn { flex: 1 1 140px; } }

/* ---------------------------------------------------------------- #ticket: the request's path as pinned chapters
   the step in hand carries the yellow rule (moment.css: the accent on its left edge); each step's screen stands whole
   on the lit ground, never cropped */
#ticket .mo-pc__step { border-left-width: 3px; }
#ticket .mo-pc__visual--lit > img { width: auto; height: 100%; max-width: 100%; aspect-ratio: auto; object-fit: contain; border-radius: 18px;
  box-shadow: 0 0 0 1px rgb(23 24 28 / .1), 0 24px 48px -24px rgb(23 24 28 / .4); }
#ticket .mo-pc__visual--lit:has(img[width="1440"]) > img { width: 100%; height: auto; border-radius: 10px; }
#ticket:not(.is-live) .mo-pc__visual--lit { aspect-ratio: auto; height: 30svh; }
@media (max-width: 639px) { #ticket:not(.is-live) .mo-pc__visual--lit { height: 300px; } }

/* ---------------------------------------------------------------- #modes */
#modes .modes-grid { align-items: stretch; }
.modes-text { display: grid; gap: var(--s-7); align-content: start; }
.modes-rows > li { grid-template-columns: minmax(0, 1fr); }
.modes-rows .rows__name { font-size: var(--t-card); }
@media (min-width: 640px) and (max-width: 1023px) { #modes { --h: 2; } }
@media (max-width: 639px) { }

/* ---------------------------------------------------------------- #connect: SIP card and the modem */
#connect .connect-grid { --p-h: 300px; }
#connect .sip-slot { --ax: max(24px, calc(50% - 190px)); --ay: 40px; --fit-max: 380px; }
.ui.sip { width: 100%; padding: 18px 20px; border-radius: 12px; background: #fff; color: #17181c; font: 400 14px/1.4 var(--font-text);
  box-shadow: 0 0 0 1px rgb(23 24 28 / .08), 0 24px 48px -24px rgb(23 24 28 / .35); display: grid; gap: 10px; }
.sip__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.sip__head b { font-weight: 500; font-size: 15px; }
.sip__ok { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; background: #e3f3e8; color: #17663a; font-size: 13px; font-weight: 500; }
.sip__ok::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #1f9d55; }
.sip__field { display: grid; grid-template-columns: 90px minmax(0, 1fr); align-items: center; gap: 12px; height: 40px; padding: 0 12px; border-radius: 8px; border: 1px solid rgb(23 24 28 / .12); }
.sip__field span { color: #5c5d61; font-size: 13px; } .sip__field b { font-weight: 500; }
.sip__check { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #5c5d61; }
.sip__check i { width: 8px; height: 8px; border-radius: 50%; background: var(--p-accent); box-shadow: 0 0 0 3px color-mix(in oklab, var(--p-accent) 35%, white); }
.modem-panel > .frame__img { object-position: 45% 60%; }
@media (min-width: 640px) and (max-width: 1023px) { #connect { --h: 2; } }
@media (max-width: 639px) { #connect .connect-grid { --p-h: 250px; } }

/* ---------------------------------------------------------------- #price */

.card--plan .price { flex-wrap: wrap; column-gap: var(--s-3); }
.plan-for { color: var(--ink); }
.plan-lines { display: grid; gap: var(--s-3); margin-top: var(--s-2); }
.plan-lines li { position: relative; padding-left: 20px; color: var(--ink); }
.plan-lines li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.card--plan.is-featured .plan-lines li::before { background: var(--p-accent); box-shadow: 0 0 0 1.5px var(--ink); }
@media (min-width: 640px) and (max-width: 1023px) { #price { --h: 2; } }
@media (max-width: 639px) { }

/* ---------------------------------------------------------------- #faq */
#faq .faq-grid { align-items: start; }
.faq-head { display: grid; gap: var(--s-5); justify-items: start; }
@media (min-width: 640px) and (max-width: 1023px) { #faq { --h: 1; } }
@media (max-width: 639px) { }

/* ---------------------------------------------------------------- #start: the form */
#start .start-grid { align-items: start; }
.start-text { display: grid; gap: var(--s-5); }
.form-box { padding: var(--s-7); border-radius: var(--r-lg); background: var(--p-surface); }
.field input { font-size: 16px; }
.field--check { font-weight: 400; }
.consent { display: block; min-height: 44px; padding-top: 10px; font-size: var(--t-small); line-height: 1.5; }
.consent input { width: 20px; height: 20px; margin: 0 8px 0 0; vertical-align: -4px; accent-color: var(--p-ink); }
.consent__link { text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn-row .btn { min-width: 260px; }
.form__status.is-sent { font-size: var(--t-lead); font-weight: 500; }
@media (max-width: 1023px) { .form-box { padding: var(--s-6); } }
@media (max-width: 639px) { .form-box { padding: var(--s-5); } .form .btn-row .btn { min-width: 0; } }

/* ---------------------------------------------------------------- footer */
.footer__apps li { display: grid; gap: 0; }
.footer__apps a { display: inline-flex; align-items: center; gap: var(--s-2); }
.footer__apps a .ic { width: 16px; height: 16px; flex: none; }
.app-ver { font-size: var(--t-label); color: var(--muted); }
.app-ver:empty { display: none; }
.legal-note { max-width: 70ch; }
@media (min-width: 1024px) { .closing__links .footer__col { grid-column: auto / span 2; } }

/* ---------------------------------------------------------------- policy.html */
.policy-page .nav__bar { justify-content: space-between; }
.policy { padding: calc(var(--nav) + var(--s-9)) 0 var(--s-9); max-width: 760px; }
.policy h1 { font-size: var(--t-h2); margin-bottom: var(--s-7); }
.policy h2 { font: 500 var(--t-lead)/1.4 var(--font-text); letter-spacing: 0; margin: var(--s-7) 0 var(--s-3); }
.policy p { max-width: 62ch; }
.policy-foot { border-top: 1px solid var(--line); padding: var(--s-6) 0; font-size: var(--t-label); color: var(--muted); }

/* #start: what happens after the form, in order (the order is the content) */
.next-steps { display: grid; margin-top: var(--s-2); }
.next-steps li { padding-block: var(--s-3); border-bottom: 1px solid var(--line); color: var(--ink); }
#price .price-grid { align-items: start; }
#connect .sip-slot { --ay: 56px; }
.ui.sip { align-content: start; }

/* fixes after the first check: the tablet holds the three prices in one row; the footer's download links wrap on a phone */
@media (min-width: 640px) and (max-width: 1023px) {
  #price { --h: 1; }
  #price .price-grid > .card--plan { grid-column: auto / span 4; }
}
.footer__apps li, .footer__apps a { min-width: 0; }
@media (max-width: 639px) {
  .closing__links .footer__col.footer__apps { grid-column: 1 / -1; }
  .device { --dv-h: 540px; }
  .call-frame { padding: var(--s-4); }
}
@media (max-width: 639px) { .pp-demo > .pp { order: -1; } }
/* step numbers drawn by counters: the order is the content, the digits are not copy */
.chain { counter-reset: st; } .st { counter-increment: st; }



/* #price: the price list beside the line's journal (what "a call the assistant took" looks like) */
.price-list { display: grid; gap: var(--s-6); align-content: start; }
.price-list .rows > li { row-gap: var(--s-2); }
.price-list .rows__name { font-size: var(--t-card); }
.price-list .rows__value { font-weight: 500; font-size: var(--t-card); }
.price-note { font-weight: 500; }
.price-frame { padding: var(--s-7); background: var(--ground-bg); border-color: transparent; align-items: flex-start; min-height: 0; }
.ui.journal { width: 100%; max-width: 520px; border-radius: 12px; background: #fff; color: #17181c; font: 400 14px/1.4 var(--font-text);
  box-shadow: 0 0 0 1px rgb(23 24 28 / .08), 0 24px 48px -24px rgb(23 24 28 / .35); overflow: hidden; }
.journal__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid rgb(23 24 28 / .08); }
.journal__head b { font-weight: 500; font-size: 15px; } .journal__head span { font-size: 13px; color: #5c5d61; }
.journal__row { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 18px; border-bottom: 1px solid rgb(23 24 28 / .06); }
.journal__row:last-child { border-bottom: 0; }
.journal__row time { color: #5c5d61; font-size: 13px; font-variant-numeric: tabular-nums; }
.journal__row span { display: grid; min-width: 0; } .journal__row b { font-weight: 500; } .journal__row small { font-size: 13px; color: #5c5d61; }
.journal__row em { font-style: normal; font-size: 13px; font-weight: 500; padding: 3px 9px; border-radius: 999px; background: #f1efe8; white-space: nowrap; }
.journal__row:first-of-type em { background: var(--p-accent); color: var(--p-accent-ink); }
@media (max-width: 1023px) { .price-frame { padding: var(--s-5); } }
@media (max-width: 639px) { .price-frame { padding: var(--s-4); } .journal__row { grid-template-columns: 40px minmax(0, 1fr); } .journal__row em { grid-column: 2; justify-self: start; } }

/* #start: the apps a company installs after the call */
.apps { display: grid; gap: var(--s-3); margin-top: var(--s-5); }
.apps__head { font-weight: 500; }
.apps { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--s-4); }
.apps__head { grid-column: 1 / -1; }
.app { display: flex; align-items: center; gap: var(--s-3); min-height: 48px; }
.app b { text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; transition: text-decoration-color var(--dur) var(--ease); }
.app:hover b { text-decoration-color: currentColor; }
@media (max-width: 639px) { .apps { grid-template-columns: minmax(0, 1fr); } }
.app .ic-tile { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; background: #fff; }
.app .ic { width: 28px; height: 28px; }
.app > span:last-child { display: grid; } .app b { font-weight: 500; } .app small { font-size: var(--t-small); color: var(--muted); }

/* phone: a section grows with what it holds; pictures keep their ratio */
footer.closing > .wrap { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 1023px) {
  .modes-photo { height: auto; aspect-ratio: 4 / 5; flex: none; }
}
@media (max-width: 639px) {
  #connect .connect-grid .panel { flex: none; }
  .modes-photo { aspect-ratio: 1; }
}

/* phone: a block that takes what the screen leaves (.fill) still grows with what it holds */
@media (max-width: 639px) {
  #modes .modes-grid, #connect .connect-grid, #price .price-grid, #call .call-grid { flex: 1 0 auto; min-height: auto; }
  .closing__cta .btn--xl.btn--wide { padding-inline: var(--s-5); }
}
/* phone: sections whose stacked content passes one screen take exactly two */
@media (max-width: 639px) {
  #price, #start { --hm: 2; }
  .journal__row:nth-of-type(n+4) { display: none; }
}


/* phone: a two-screen section's last picture takes what its screens leave, so the next section starts after the usual gap */
@media (max-width: 639px) {
  #price .price-grid.fill, #start .start-grid.fill { display: flex; flex-direction: column; gap: var(--s-6); flex: 1 0 auto; }
  #start .form-box { flex: 1 0 auto; align-self: stretch; }
}

/* ---------------------------------------------------------------- #resident: the resident app and its bill */
#resident .resident-grid { align-items: start; }
.resident-text { display: grid; gap: var(--s-5); justify-items: start; }
.resident-rows { width: 100%; }
.resident-rows > li { grid-template-columns: minmax(0, 1fr); row-gap: var(--s-1); }
.resident-rows .rows__name { font-size: var(--t-card); }
.resident-visual { height: 100%; }
.resident-frame { height: 100%; min-height: 0; padding: var(--s-6) var(--s-6) 0; align-items: flex-start; overflow: hidden;
  background: color-mix(in oklab, var(--p-inv-ink) 7%, var(--p-inv-bg)); border-color: transparent; }
/* the bill as the app draws it: a phone-width screen rising from the frame's foot */
.ui.bill { width: 340px; max-width: 100%; border-radius: 28px 28px 0 0; background: #fff; color: #17181c; font: 400 14px/1.4 var(--font-text);
  padding: 18px 16px 0; display: grid; gap: 12px; align-content: start; align-self: stretch; box-shadow: 0 30px 80px -30px rgb(0 0 0 / .7); }
.bill__bar { display: flex; align-items: center; gap: 12px; }
.bill__back { width: 22px; height: 22px; flex: none; border-left: 2px solid #17181c; border-bottom: 2px solid #17181c; transform: scale(.45) rotate(45deg); }
.bill__bar span:last-child { display: grid; } .bill__bar b { font-size: 20px; font-weight: 500; letter-spacing: -.01em; } .bill__bar small { color: #5c5d61; font-size: 13px; }
.bill__due { display: grid; gap: 6px; justify-items: start; padding: 14px 16px; border-radius: 16px; background: #fdf0b8; box-shadow: inset 4px 0 0 #fbd530; }
.bill__due small { color: #4a4b4f; font-size: 13px; }
.bill__sum { font: 500 30px/1.1 var(--font-display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.bill__date { padding: 4px 10px; border-radius: 999px; background: rgb(23 24 28 / .07); font-weight: 500; font-size: 13px; }
.bill__pay { display: grid; gap: 8px; padding: 14px 16px; border-radius: 16px; border: 1px solid rgb(23 24 28 / .1); }
.bill__pay > b { font-weight: 500; font-size: 15px; } .bill__pay > small { color: #4a4b4f; font-size: 13px; }
.bill__qr { width: 150px; height: 150px; justify-self: center; margin-block: 4px; shape-rendering: crispEdges; }
.bill__save { display: grid; place-items: center; height: 42px; border-radius: 12px; background: #fbd530; font-weight: 500; }
.bill__row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bill__row span { display: grid; place-items: center; height: 38px; border-radius: 12px; border: 1px solid rgb(23 24 28 / .2); font-weight: 500; font-size: 13px; }
.bill__paid { justify-self: center; font-size: 13px; color: #4a4b4f; text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 1024px) and (max-height: 840px) { .bill__qr { width: 112px; height: 112px; } .resident-rows > li > p { font-size: 15px; } }
@media (min-width: 640px) and (max-width: 1023px) { #resident { --h: 2; } .resident-frame { min-height: 640px; justify-content: center; } }
@media (max-width: 639px) {
  #resident { --hm: 2; }
  .resident-frame { min-height: 560px; padding: var(--s-5) var(--s-4) 0; justify-content: center; }
}

/* graphite screens between the light ones: the statement, the master and the resident app */
.ground-inverse .rows > li { border-color: var(--line); }
#safety .t-label { color: var(--muted); }
#master .outcomes li.is-on { border-bottom-color: var(--p-accent); }
#master .pp { background: #2e3035; box-shadow: 0 0 0 1px rgb(255 255 255 / .08) inset, 0 30px 60px -30px rgb(0 0 0 / .8); }
/* phone: the master's two screens, the words and the keypad phone on one, the photograph filling the other */
@media (max-width: 639px) {
  #master { --hm: 2; }
  #master .master-grid { display: flex; flex-direction: column; gap: var(--s-6); flex: 1 0 auto; }
  #master .master-photo { flex: 1 1 auto; min-height: 320px; align-self: stretch; }
}

/* #call on the graphite scene: the desk row and the steps read on the dark ground */
#call .deskrow { background: color-mix(in oklab, var(--p-inv-ink) 6%, var(--p-inv-bg)); border-color: var(--line-strong); }
#call .st.is-open .deskrow { background: #fff; color: #17181c; }
#call .st.is-open .deskrow :is(.dr-main small, .dr-who) { color: #55565a; }
#call .dr-main small, #call .dr-who { color: var(--muted); }
#call .dr-what { background: color-mix(in oklab, var(--ink) 14%, transparent); }
/* #price on graphite: the prices set large */
#price .price-list .rows__value { font: var(--display-weight) var(--t-h3)/1.1 var(--font-display); letter-spacing: var(--display-tracking); color: var(--p-accent); }
#price .price-list .rows > li { align-items: baseline; }
#price .price-frame { background: color-mix(in oklab, var(--p-inv-ink) 7%, var(--p-inv-bg)); }

/* a short desktop screen (1024x768): the same sections on one screen */
@media (min-width: 1024px) and (max-width: 1279px) {
  .pp { width: 170px; padding-inline: 12px; } .pp-side { flex-basis: 180px; }
}
@media (min-width: 1024px) and (max-height: 840px) {
  .resident-text > .t-lead { display: none; }
  .resident-rows > li { padding-block: var(--s-3); }
  #price .price-grid { display: block; }
  #price .price-frame { display: none; }
  #price .price-list .rows > li > p { max-width: 90ch; }
}
/* the request's path at rest (tablet, phone): two screens */
@media (min-width: 640px) and (max-width: 1023px) { main > section#ticket:not(.is-live) { min-height: 200vh; min-height: 200svh; } }
@media (max-width: 639px) {
  main > section#ticket:not(.is-live) { min-height: 200vh; min-height: 200lvh; }
  #ticket:not(.is-live) .mo-pc__visual--lit { height: 180px; padding: 12px; }
}
@media (max-width: 639px) {
  #price .price-list .rows > li { grid-template-columns: minmax(0, 1fr); }
  #price .price-list .rows__value { grid-column: 1; grid-row: auto; text-align: left; white-space: normal; }
}

/* #safety: the statement set large in full ink, beside the resident's photograph (no scroll highlight) */
#safety .safety-text { margin-top: var(--s-6); font: var(--display-weight) var(--t-h3)/1.3 var(--font-display); letter-spacing: var(--display-tracking); max-width: 26ch; color: var(--ink); }
@media (min-width: 1024px) { #safety .safety-text { font-size: clamp(28px, 2.2vw, 34px); } }
/* the main action is the yellow «your move» on every ground (the label in graphite reads 13:1 on it) */
.btn.btn--primary { background: var(--p-accent); color: var(--p-accent-ink); }
.btn.btn--primary:hover { background: color-mix(in oklab, var(--p-accent) 88%, var(--p-ink)); }
/* the graphite program and number sections */
#desk .desk-frame { background: #fff; border-color: transparent; }
#connect .panel:not(.modem-panel) { background: color-mix(in oklab, var(--p-inv-ink) 8%, var(--p-inv-bg)); }
#ticket .mo-pc__visual--lit, #price .price-frame { background: color-mix(in oklab, var(--p-ink) 8%, var(--p-bg)); }
#price .price-frame { background: color-mix(in oklab, var(--p-inv-ink) 7%, var(--p-inv-bg)); }
@media (max-width: 639px) {
  .resident-visual { height: auto; }
  #price .price-frame { display: none; }
  #price { --hm: 1; }
  #ticket:not(.is-live) .mo-pc__visual--lit { height: 260px; }
  #start .start-grid.fill > .form-box { order: 1; }
  #start .start-grid.fill > .start-text { display: contents; }
  #start .apps { order: 2; }
  #start .form-box { flex: none; }
}
/* the motion layer steps a hovered primary from --action: on every ground that is the yellow */
.btn.btn--primary { --action: var(--p-accent); --action-ink: var(--p-accent-ink); }
.btn.btn--primary:focus-visible { outline-color: var(--ink); }

/* ---------------------------------------------------------------- chapter openers: one product frame of the showroom
   per chapter, full bleed on the graphite ground, the words large on the frame's empty left half (the client's
   renders, made for that half to stay empty) */
main > section.chapter > picture.chapter__pic > img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 70% 50%; }
.chapter > .wrap { justify-content: center; }
.chapter__text { width: min(100%, 560px); display: grid; gap: var(--s-5); }
.chapter h2 { font-size: var(--ly-h1, var(--t-h1)); line-height: 1.02; color: var(--p-inv-ink); }
.chapter__lead { font-size: var(--t-lead); line-height: 1.5; color: var(--p-inv-ink); max-width: 40ch; }
@media (max-width: 1023px) {
  .chapter { --band: 75vw; }
  main > section.chapter > picture.chapter__pic { inset: var(--nav) 0 auto 0; height: var(--band); }
  main > section.chapter > picture.chapter__pic > img { object-position: 85% 50%; }
  main > section.chapter { padding-top: calc(var(--nav) + var(--band) + var(--s-6)); }
  .chapter > .wrap { justify-content: flex-start; }
  .chapter h2 { font-size: var(--t-h1); }
}
@media (min-width: 640px) and (max-width: 1023px) { .chapter { --band: 56.25vw; } }
/* phone fixes after the last gate round */
@media (max-width: 639px) {
  #price .price-frame { display: flex; padding: var(--s-4); }
  #price { --hm: 2; }
  #ticket:not(.is-live) .mo-pc__visual--lit { height: 200px; }
  #ticket .mo-pc__step p { font-size: 15px; }
  #resident .resident-grid { display: flex; flex-direction: column; gap: var(--s-6); flex: 1 0 auto; }
  .resident-frame { min-height: 0; height: auto; }
  #start { --hm: 1; }
}
@media (max-width: 639px) {
  #resident .resident-visual { align-self: stretch; width: 100%; min-width: 0; }
  .resident-frame { padding: var(--s-4) var(--s-4) 0; }
  .ui.bill { width: 100%; }
  #start { --hm: 2; }
  #start .start-grid.fill { flex: 1 0 auto; }
  #start .apps { flex: 1 0 auto; align-content: start; }
}

/* chapter frames whose empty part is not the left half */
.chapter--end > .wrap { justify-content: flex-end; }
@media (min-width: 1024px) {
  .chapter--end .chapter__text { margin-left: calc(50% + var(--gutter) / 2); width: calc(50% - var(--gutter) / 2); }
  .chapter--top > .wrap { justify-content: flex-start; }
}
main > section.chapter--end > picture.chapter__pic > img { object-position: 30% 50%; }

/* light screens: the stages and frames that sat on graphite now sit on the lit sand ground */
.call-frame, .resident-frame, #price .price-frame { background: var(--ground-bg); }
#call .deskrow { background: var(--card); border-color: var(--line-strong); }
#call .st.is-open .deskrow { background: #fff; }
#call .dr-main small, #call .dr-who { color: #55565a; }
#call .dr-what { background: color-mix(in oklab, var(--ink) 8%, transparent); }
#connect .panel:not(.modem-panel) { background: var(--ground-bg); }
#master .pp { background: #26282c; }
#price .price-list .rows__value { color: var(--ink); }
/* #safety on a short desktop screen: the photograph takes the column's height so the screen is not half empty */
@media (min-width: 1024px) { #safety .safety-grid { align-items: stretch; flex: 1 1 auto; } #safety .safety-photo { --ratio: 0px; height: 100%; min-height: 420px; } #safety > .wrap > .safety-grid { min-height: 0; } }

/* chapter headings: the page's largest h2, a step under the hero's h1 */
.chapter h2 { font-size: var(--t-h2); }
#ch-path .chapter__text { width: min(100%, 420px); }
main > section#ch-path > picture.chapter__pic > img { object-position: 50% 50%; }

@media (min-width: 1024px) {
  .chapter--bottom > .wrap { justify-content: flex-end; }
  #price .price-grid.fill { align-items: stretch; } #price .price-frame { height: 100%; }
  #start .start-grid.fill { align-items: stretch; } #start .form-box { height: 100%; }
}
@media (max-width: 639px) { #ch-path { --band: 100vw; } }

/* ---------------------------------------------------------------- round 5: the reviews' fixes */
/* neutral grounds from the palette instead of the sand behind the UI */
html[data-ground="sand"] { --ground-bg: #eeedea; --ground-surface: #f6f5f1; --ground-ink: #17181c; --ground-muted: #4a4b4f; --ground-accent: #b38f00; }
/* the hero's notice line above the h1 */
.hero--show .hero-notice { color: var(--p-inv-ink); font-size: var(--t-body); font-weight: 500; }
/* the three ways in: the hero's docked row, solid dark tiles over the floor of the image */
.hero--show > .wrap { grid-template-rows: minmax(0, 1fr) auto; }
.fit-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); max-height: none; }
a.fit { display: grid; align-content: start; gap: 2px; min-height: 76px; padding: var(--s-3) var(--s-4); border-radius: var(--r-md);
  background: rgb(23 24 28 / .88); border: 1px solid rgb(251 250 246 / .14); color: var(--p-inv-ink); transition: border-color var(--dur) var(--ease); }
a.fit:hover { border-color: var(--p-accent); }
a.fit b { font-weight: 500; } a.fit b::after { content: " →"; color: var(--p-accent); }
a.fit span { font-size: 15px; line-height: 1.4; color: #d9d8d3; }
@media (max-width: 1023px) { .fit-strip { grid-template-columns: minmax(0, 1fr); gap: var(--s-2); } .fit { min-height: 52px; } }
@media (max-width: 639px) {
  :is(.hero, .section--hero) > .wrap > .hero-strip.fit-strip { display: grid; }
  a.fit span { display: none; }
  a.fit { min-height: 48px; padding: var(--s-2) var(--s-4); align-content: center; }
  .hero--show { --band: 150px; }
  .hero--show .hero__lead { font-size: 16px; }
}
/* the action after the demo call */
.demo-end { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-5); }
.demo-end p { font-weight: 500; }
/* chapter titles: large type that is not an h2 (the chapters open the sections that carry the h2) */
.chapter__title { font: var(--display-weight) var(--t-h2)/1.08 var(--font-display); letter-spacing: var(--display-tracking); color: var(--p-inv-ink); text-wrap: balance; }
/* #price: the free month as a plaque, the two situations, the calculator and the way out */
.price-list { display: grid; gap: var(--s-5); align-content: start; }
.price-free { padding: var(--s-4) var(--s-5); border-radius: var(--r-md); background: color-mix(in oklab, var(--p-accent) 32%, var(--bg)); color: var(--ink); }
.price-note, .price-guilt, .price-new, .form-note, .promise-new { font-size: 16px; line-height: 1.5; color: var(--ink); }
.price-guilt, .promise-new { padding-left: var(--s-4); border-left: 2px solid var(--line-strong); }
.price-side { display: grid; gap: var(--s-6); align-content: start; }
.calc { display: grid; gap: var(--s-3); padding: var(--s-6); border-radius: var(--r-lg); background: var(--ground-bg); }
.calc__label { font-weight: 500; }
.calc__input { height: 56px; padding: 0 var(--s-4); border-radius: var(--r-sm); border: 1px solid var(--line-strong); background: #fff; color: var(--ink); font: 500 22px/1 var(--font-text); font-variant-numeric: tabular-nums; }
.calc__out { font: var(--display-weight) var(--t-h3)/1.2 var(--font-display); letter-spacing: var(--display-tracking); }
.calc__hint { font-size: 15px; color: var(--ink); }
.leave h3 { font: 500 var(--t-card)/1.3 var(--font-text); margin-bottom: var(--s-3); }
.leave li { padding-block: var(--s-3); border-bottom: 1px solid var(--line); }
/* #start: the steps keep their own height; four promises beside the form */
.start-text { align-content: start; }
.promise { display: grid; margin-top: var(--s-2); }
.promise li { padding-block: var(--s-3); border-bottom: 1px solid var(--line); font-weight: 500; }
/* larger text where it was small and grey */
.legal-note, .footer__legal, .footer ul { font-size: 15px; }
.footer__apps li { display: grid; }
/* #ticket: the request's screens about twice as large, no grey under them */
#ticket .mo-pc__visual--lit, #ticket.is-live .mo-pc__visuals { background: none; }
#ticket.is-live .mo-pc__visuals { aspect-ratio: auto; height: calc(100svh - var(--nav) - 96px); max-height: none; }
#ticket .mo-pc__visual--lit { padding: 0; }
#ticket:not(.is-live) .mo-pc__visual--lit { height: 60svh; }
@media (min-width: 640px) and (max-width: 1023px) { #ticket:not(.is-live) .mo-pc__visual--lit { height: 34svh; } }
@media (max-width: 639px) { #ticket:not(.is-live) .mo-pc__visual--lit { height: 230px; } }
/* phone: the chapters' image fills what the words leave, so no empty graphite stands under the text */
@media (max-width: 639px) {
  .chapter { --band: calc(100lvh - var(--nav) - 250px); }
  main > section.chapter > picture.chapter__pic > img { object-position: 85% 50%; }
  .desk-frame > .desk-shot { object-position: 0 0; }
  .desk-frame { min-height: 460px; }
}
/* round 5 fit: the calculator inside the phone column; short screens keep each section on its screen */
.price-side, .price-list { min-width: 0; }
.calc__input { width: 100%; min-width: 0; }
@media (max-width: 639px) { #price .price-grid.fill > * { width: 100%; align-self: stretch; } .calc { padding: var(--s-5); } }
@media (min-width: 1024px) and (max-height: 840px) {
  #modes .modes-rows > li:nth-child(3), #price .price-note, #price .price-new { display: none; }
  #modes .modes-text { gap: var(--s-5); }
}
@media (min-width: 640px) and (max-width: 1023px) { #price { --h: 2; } }
@media (min-width: 1024px) and (max-height: 840px) { #price .calc__hint { display: none; } #price .price-side { gap: var(--s-5); } #price .calc { padding: var(--s-5); } }
@media (max-width: 639px) {
  .hero--show { --band: 100px; }
  .fit-strip { gap: 4px; }
  #ticket:not(.is-live) .mo-pc__visual--lit { height: 190px; }
  #price .calc__hint, #price .price-note { display: none; }
  #start .next-steps, #start .start-text > .t-lead { display: none; }
}
@media (min-width: 1024px) and (max-height: 840px) { #price .price-grid { display: grid; } }
@media (max-width: 639px) { #hero .fit { min-height: 44px; padding-block: 6px; } .hero--show .hero-notice { font-size: 14px; } }
/* the two situations: the name, then the price set large under it, then the line (no squeezed columns) */
#price .price-list .rows > li { grid-template-columns: minmax(0, 1fr); row-gap: var(--s-1); }
#price .price-list .rows__value { grid-column: 1; grid-row: auto; text-align: left; white-space: normal; }
@media (max-width: 639px) { .hero--show { --band: 92px; } }
@media (min-width: 1024px) and (max-height: 840px) { #price .price-free { padding-block: var(--s-3); } #price .price-list { gap: var(--s-4); } #price .rows > li > p { font-size: 15px; } }
/* gate round 1 fixes */
.price-guilt, .promise-new { padding: var(--s-3) 0 0; border-left: 0; border-top: 1px solid var(--line-strong); }
.card.price-free { display: block; padding: var(--s-4) var(--s-5); border: 0; border-radius: var(--r-md); background: color-mix(in oklab, var(--p-accent) 32%, var(--bg)); box-shadow: none; }
#price .price-list { gap: var(--s-4); }
#price .price-list .rows > li { padding-block: var(--s-3); }
.calc.ui { font: inherit; }
#ticket .mo-pc__step { position: relative; padding-left: 0; border-left: 0; }
#ticket .mo-pc__step::before { content: ""; position: absolute; left: -16px; top: 2px; bottom: 2px; width: 3px; border-radius: 2px; background: var(--line); }
#ticket.is-live .mo-pc__step.is-on::before { background: var(--p-accent); }
@media (max-width: 1023px) { #ticket .mo-pc__step::before { display: none; } }
@media (max-width: 639px) { .hero--show { --band: 72px; } }

/* Правовые страницы (политика, согласие) и галочка согласия — 15.11.2026 */
.policy ul { max-width: 62ch; margin: 0 0 var(--s-4); padding-left: 1.2em; list-style: disc; display: grid; gap: 6px; }
.policy-table { overflow-x: auto; margin: 0 0 var(--s-4); }
.policy-table table { border-collapse: collapse; min-width: 680px; font-size: var(--t-small); line-height: 1.45; }
.policy-table th, .policy-table td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.policy-table th { font-weight: 600; }
.consent__policy { margin: 6px 0 0; font-size: var(--t-small); }
