/* AndroidToMac, "the cable". Split stage: phone | Mac, the cable is the divider. */

@font-face {
  font-family: "Archivo";
  src: url("assets/fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
}

:root {
  /* Mac side is the default ground. */
  --sc-canvas: #EEF0F3;
  --sc-surface: #FFFFFF;
  --sc-ink: #1B1D21;
  --sc-ink-soft: #545B67;
  --sc-accent: #1D5BC9;
  --sc-accent-ink: #FFFFFF;
  --sc-font-display: "Archivo", system-ui, sans-serif;
  --sc-font-text: -apple-system, BlinkMacSystemFont, "Helvetica Neue", system-ui, sans-serif;
  --sc-font-mono: ui-monospace, "SF Mono", Menlo, monospace;
  --sc-shadow-color: 220 18% 30%;
  --sc-edge: inset 0 1px 0 rgb(255 255 255 / 0.9);

  --ok: #17713F; --ok-soft: #E2F3E9;
  --warn: #A8480A; --warn-soft: #FBECDF;
  --track: #E1E4E9;
  --line: #D6DAE0;
  --slate: #1C1E22;

  --split: 50vw;         /* where the divider sits at rest */
  --e: 0;                /* collapse, 0 to 1, written by page.js */
  --h: 0;                /* hero travel, 0 to 1 */
  --mx: 0; --my: 0;      /* pointer, -0.5 to 0.5 */
  --pad: clamp(1.25rem, 3vw, 3rem);
  --qw: 21.5rem;         /* queue width */
}

html { background: var(--sc-canvas); }
body { background: transparent; overflow-x: clip; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Phone-side subtree: light ink on the desk. Restate color with the token. */
.on-phone {
  --sc-ink: #EEF0F3; --sc-ink-soft: #B4BAC4; --sc-accent: #9CC0FF;
  color: var(--sc-ink);
}
.on-phone a { color: var(--sc-accent); }

/* ------------------------------------------------------------ grounds -- */
/* Sticky zero-height holders behave like fixed layers, and the verification
   harness (which hides position:fixed chrome) still measures type against them. */
.hold { position: sticky; top: 0; height: 0; z-index: 0; pointer-events: none; }
.macground { position: absolute; left: 0; top: 0; width: 100vw; height: 100vh; height: 100lvh; background: var(--sc-canvas); }

.desk {
  position: absolute; left: 0; top: 0;
  width: var(--split); height: 100vh; height: 100lvh;
  overflow: hidden; background: var(--slate);
  transform: translate3d(calc(var(--e) * -100%), 0, 0);
  will-change: transform;
}
/* The plate keeps its own 2:3 shape and hugs the divider, so the phone and the
   laptop edge stay put at any window shape. A mirrored copy of the same felt
   fills whatever is left on the far side. */
.desk__plates {
  position: absolute; right: 0; top: 50%; aspect-ratio: 2 / 3;
  width: max(88%, 71vh);
  transform: translate3d(0, calc(-50% + var(--h) * -16px + var(--my) * -8px), 0);
}
.desk__plates::before {
  content: ""; position: absolute; top: 0; bottom: 0; right: calc(100% - 1px); width: 100%;
  background: url("assets/desk-on.jpg") center / 100% 100% no-repeat; transform: scaleX(-1);
}
.desk__plate { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.desk__plate--off { opacity: var(--gone, 0); transition: opacity 140ms var(--sc-ease-out); }
.desk__light {
  position: absolute; inset: -20%;
  background:
    linear-gradient(112deg, transparent 22%, rgb(255 255 255 / 0.085) 30%, rgb(255 255 255 / 0.03) 43%, transparent 47%),
    linear-gradient(112deg, transparent 50%, rgb(255 255 255 / 0.06) 55%, rgb(255 255 255 / 0.02) 66%, transparent 70%);
  transform: translate3d(calc(var(--h) * 70px + var(--mx) * -18px + var(--gone, 0) * -160px), 0, 0);
  opacity: calc(1 - var(--gone, 0) * 0.85);
}
.desk__cup {
  position: absolute; left: 70%; top: -1.5rem;
  width: min(27vh, 16rem); height: auto; max-width: none;
  translate: -50% -50%;
  filter: blur(4px) drop-shadow(18px 26px 24px rgb(0 0 0 / 0.5));
  transform: translate3d(calc(var(--mx) * -40px), calc(var(--h) * -130px + var(--my) * -26px), 0);
}
.desk__dim {
  position: absolute; inset: 0; background: #0C0D10;
  opacity: calc(var(--gone, 0) * 0.5);
}

/* -------------------------------------------------------------- chrome -- */
.rail {
  position: fixed; z-index: 6; top: 0; left: var(--split); width: 2px; margin-left: -1px;
  height: 100vh; height: 100lvh;
  background: color-mix(in oklab, #7C8492 55%, transparent);
  transform: translate3d(calc(var(--e) * -1 * var(--split)), 0, 0);
}
.rail__fill {
  position: absolute; inset: 0; background: var(--rail-c, #2E73E8);
  transform-origin: top; transform: scaleY(var(--done, 0));
  transition: background-color 200ms var(--sc-ease-out);
}
.mark {
  position: fixed; z-index: 30; top: 1.1rem; left: var(--pad);
  display: flex; align-items: center; gap: 0;
  font: 650 1.12rem/1 var(--sc-font-display); font-stretch: 88%; letter-spacing: 0.005em;
  text-decoration: none; white-space: nowrap;
  color: color-mix(in srgb, #F2F4F7, #1B1D21 calc(var(--e, 0) * 100%));
}
.mark::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  left: calc(var(--pad) * -1); top: -1.1rem; width: calc(var(--split) * 0.56); height: 6.5rem;
  background: linear-gradient(#262728 0%, rgb(38 39 40 / 0.94) 58%, transparent);
  -webkit-mask-image: linear-gradient(to right, #000 78%, transparent); mask-image: linear-gradient(to right, #000 78%, transparent);
  opacity: calc(1 - var(--e, 0) * 3);
}
.mark__i { flex: none; width: 2.75rem; height: 2.75rem; margin-right: 0.65rem; filter: drop-shadow(0 4px 10px rgb(0 0 0 / 0.35)); }
.mark__to { color: #6FA2FF; color: color-mix(in srgb, #6FA2FF, #1D5BC9 calc(var(--e, 0) * 100%)); }

.status {
  position: fixed; z-index: 31; top: 0.6rem; right: var(--pad);
  display: inline-flex; align-items: center; gap: 0.35rem; height: 2rem; min-width: 2.75rem; padding: 0 0.6rem;
  border: 0; border-radius: 7px; background: transparent; color: var(--sc-ink);
  font: 700 0.86rem/1 var(--sc-font-text); font-variant-numeric: tabular-nums; cursor: pointer;
  transition: background-color 140ms var(--sc-ease-out);
}
.status[aria-expanded="true"] { background: rgb(27 29 33 / 0.1); }
@media (max-width: 1100px) { .status[aria-expanded="true"] { background: #E4E8EF; } }
.status.is-warn { color: var(--warn); }
@media (hover: hover) and (pointer: fine) { .status:hover { background: rgb(27 29 33 / 0.08); } }
.status:active { transform: translateY(1px); }

/* The other pages, as menu-bar items left of the status item (the Mac ground is always under them). */
.menu {
  position: fixed; z-index: 31; top: 0.6rem; right: calc(var(--pad) + 5.2rem);
  display: flex; align-items: center; gap: 0.15rem; height: 2rem;
  font: 500 0.86rem/1 var(--sc-font-text);
}
.menu a {
  display: inline-flex; align-items: center; height: 2rem; padding: 0 0.6rem; border-radius: 7px;
  color: #1B1D21; text-decoration: none; white-space: nowrap;
  transition: background-color 140ms var(--sc-ease-out);
}
/* A strip of the Mac ground behind the menus and the status item, so page text that scrolls up under them
   does not show through (seen by Valon, 30 Nov 2026: "Free copies both ways" ran into "Devices"). */
.menu::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  left: -7rem; right: calc(-5.2rem - var(--pad)); top: -0.6rem; bottom: -0.9rem;
  background: rgb(238 240 243 / 0.96);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  /* No hard edge: the strip fades out to the left and downwards, so a headline passing under it dissolves. */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6rem), linear-gradient(#000 62%, transparent);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent, #000 6rem), linear-gradient(#000 62%, transparent);
  mask-composite: intersect;
}
@media (hover: hover) and (pointer: fine) { .menu a:hover { background: rgb(27 29 33 / 0.08); } }
.menu a:active { transform: translateY(1px); }
/* One column on a phone: no room beside the logo; the same four links are in the footer. */
@media (max-width: 1100px) { .menu { display: none; } }

/* --------------------------------------------------------------- queue -- */
.q {
  position: fixed; z-index: 30; top: 3rem; right: var(--pad); width: var(--qw);
  background: var(--sc-surface); color: #1B1D21; border-radius: 14px; overflow: hidden;
  box-shadow: 0 0 0 1px rgb(27 29 33 / 0.08), 0 2px 4px rgb(40 48 64 / 0.08), 0 18px 44px rgb(40 48 64 / 0.2);
  font: 400 0.82rem/1.35 var(--sc-font-text);
  transform-origin: calc(100% - 1.4rem) 0;
  transition: opacity 180ms var(--sc-ease-out), transform 180ms var(--sc-ease-out), visibility 0s;
}
.q.is-closed { opacity: 0; transform: scale(0.96) translateY(-6px); visibility: hidden; pointer-events: none; transition: opacity 160ms var(--sc-ease-out), transform 160ms var(--sc-ease-out), visibility 0s 160ms; }
.q p { margin: 0; }
.q__head { display: flex; gap: 0.7rem; align-items: center; padding: 0.8rem 0.9rem; }
.q__icon { display: grid; place-items: center; width: 2rem; height: 2rem; flex: none; }
.q__name { font-weight: 650; font-size: 0.95rem; }
.q__conn { color: #59606C; }
.q__conn.is-warn { color: var(--warn); }

.q__sum { padding: 0.7rem 0.9rem 0.75rem; background: #F1F2F5; border-block: 1px solid var(--line); }
.q__sum-top { display: flex; justify-content: space-between; align-items: baseline; gap: 0.5rem; }
.q__title { font-weight: 700; font-size: 0.92rem; }
.q__eta, .q__bytes { color: #59606C; font-variant-numeric: tabular-nums; }
.bar { height: 5px; border-radius: 3px; background: var(--track); overflow: hidden; margin: 0.5rem 0 0.45rem; }
.bar span { display: block; height: 100%; background: #1D5BC9; border-radius: 3px; transform-origin: left; transform: scaleX(var(--v, 0)); }

.q__banner { padding: 0.75rem 0.9rem 0.8rem; background: var(--warn-soft); border-block: 1px solid #F0D5BF; }
.q__banner-t { font-weight: 700; color: var(--warn); font-size: 0.92rem; }
.q__banner-b { margin-top: 0.25rem !important; }
.q__banner-h { margin-top: 0.3rem !important; color: #59606C; }
.q__banner > p { transition: opacity 200ms var(--sc-ease-out); }
.q__banner > p.is-off { opacity: 0; }

.q__rows { list-style: none; margin: 0; padding: 0; }
.q__rows li { display: grid; grid-template-columns: 1.15rem 1fr; gap: 0.1rem 0.6rem; align-items: start; padding: 0.55rem 0.9rem; border-bottom: 1px solid var(--line); }
.q__dot { width: 1.05rem; height: 1.05rem; border-radius: 50%; margin-top: 0.1rem; display: grid; place-items: center; color: #fff; }
.q__dot svg { width: 0.7rem; height: 0.7rem; }
li[data-s="waiting"] .q__dot, li[data-s="notstarted"] .q__dot { box-shadow: inset 0 0 0 2px #6B7280; transform: scale(0.72); }
li[data-s="copying"] .q__dot { background: #1D5BC9; }
li[data-s="verified"] .q__dot { background: var(--ok); }
li[data-s="stopped"] .q__dot { color: var(--warn); }
li[data-s="stopped"] .q__dot svg { width: 1.05rem; height: 1.05rem; }
.q__file { font-weight: 600; font-size: 0.9rem; overflow-wrap: anywhere; }
.q__detail { grid-column: 2; color: #59606C; font-variant-numeric: tabular-nums; }
li[data-s="stopped"] .q__detail { color: var(--warn); }
.q__rows .bar { grid-column: 2; height: 4px; margin: 0.3rem 0 0.25rem; display: none; }
li[data-s="copying"] .bar { display: block; }

.q__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0.7rem 0.9rem; background: #F1F2F5; }
.q__btn, .q__retry {
  font: 600 0.84rem/1 var(--sc-font-text); border-radius: 8px; padding: 0.6rem 0.8rem; cursor: pointer;
  transition: background-color 140ms var(--sc-ease-out), transform 100ms var(--sc-ease-out);
}
.q__btn { flex: 1; background: #fff; color: #1B1D21; border: 1px solid #CDD1D8; box-shadow: 0 1px 1px rgb(0 0 0 / 0.04); }
.q__retry { flex: 1 0 100%; background: #1D5BC9; color: #fff; border: 0; }
.q__btn:active, .q__retry:active, .cta:active { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) { .q__btn:hover { background: #F5F6F8; } .q__retry:hover { background: #184EAD; } }
.q__foot { padding: 0.55rem 0.9rem; color: #59606C; border-top: 1px solid var(--line); background: #F1F2F5; font-variant-numeric: tabular-nums; }
.q__sample { padding: 0.5rem 0.9rem 0.6rem; color: #59606C; font-size: 0.76rem; border-top: 1px solid var(--line); }

:where(a, button, [tabindex]):focus-visible { outline: 2px solid #1D5BC9; outline-offset: 3px; border-radius: 6px; }
.on-phone :where(a, button):focus-visible { outline-color: #9CC0FF; }

/* ----------------------------------------------------------------- log -- */
.log { border: 0; padding: 0; border-radius: 12px; width: min(46rem, calc(100vw - 2rem)); max-height: min(34rem, calc(100vh - 2rem)); background: #fff; color: #1B1D21; box-shadow: 0 30px 80px rgb(20 24 32 / 0.4); overflow: hidden; }
.log[open] { display: flex; flex-direction: column; }
.log::backdrop { background: rgb(20 22 26 / 0.45); }
.log__bar { display: flex; justify-content: space-between; align-items: center; padding: 0.7rem 1rem; border-bottom: 1px solid var(--line); }
.log__bar h2 { margin: 0; font: 700 0.95rem/1 var(--sc-font-text); }
.log__x { border: 0; background: transparent; font: 600 0.84rem/1 var(--sc-font-text); color: #1D5BC9; padding: 0.5rem; cursor: pointer; }
.log__body { margin: 0; padding: 1rem; overflow: auto; flex: 1; font: 0.78rem/1.6 var(--sc-font-mono); white-space: pre-wrap; overflow-wrap: anywhere; }
.log__foot { display: flex; gap: 1rem; align-items: center; justify-content: space-between; padding: 0.7rem 1rem; background: #F1F2F5; border-top: 1px solid var(--line); }
.log__foot p { margin: 0; font-size: 0.8rem; color: #59606C; }
.log__foot .q__btn { flex: none; }

/* ---------------------------------------------------------------- type -- */
main { position: relative; }
.big, .huge, .hero__h, .qa__title, .close__h, .qa h3, .meas__v {
  font-family: var(--sc-font-display); font-stretch: 84%; font-weight: 640; margin: 0; text-wrap: balance;
}
.hero__h span { display: block; font-size: clamp(2rem, 3.1vw, 3.3rem); line-height: 1; letter-spacing: -0.028em; }
.big { font-size: clamp(1.5rem, 2.25vw, 2.3rem); line-height: 1.08; letter-spacing: -0.02em; }
.huge { font-size: clamp(2.3rem, 4.3vw, 4.4rem); line-height: 0.98; letter-spacing: -0.032em; font-weight: 700; font-stretch: 78%; }
.small { font-size: var(--sc-t-base); line-height: 1.5; color: var(--sc-ink-soft); margin: 0.8rem 0 0; max-width: 30ch; }

.cta {
  display: inline-flex; align-items: center; height: 3rem; padding: 0 1.3rem; border-radius: 10px;
  background: #1D5BC9; color: #fff; font: 650 1rem/1 var(--sc-font-text); text-decoration: none; white-space: nowrap;
  box-shadow: 0 1px 2px rgb(20 50 120 / 0.3), 0 8px 20px rgb(29 91 201 / 0.25);
  transition: background-color 140ms var(--sc-ease-out), transform 100ms var(--sc-ease-out);
}
@media (hover: hover) and (pointer: fine) { .cta:hover { background: #184EAD; } }

/* ---------------------------------------------------------------- hero -- */
.hero {
  min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-columns: var(--split) 1fr; grid-template-rows: auto 1fr auto;
  padding-block: clamp(4.5rem, 13vh, 8rem) clamp(2.5rem, 9vh, 5.5rem);
}
.hero__h { display: contents; }
.hero__h-phone { grid-column: 1; grid-row: 1; padding-inline: var(--pad); max-width: calc(var(--split) * 0.5); }
.hero__lead-phone { grid-column: 1; grid-row: 3; align-self: end; margin: 0; padding-inline: var(--pad); max-width: calc(var(--split) * 0.46); font-size: var(--sc-t-lg); line-height: 1.35; color: var(--sc-ink-soft); }
.hero__mac { grid-column: 2; grid-row: 2 / 4; align-self: end; padding-inline: clamp(1.5rem, 3.4vw, 3.5rem) var(--pad); }
.hero__h-mac { grid-column: 2; grid-row: 2; align-self: end; padding-inline: clamp(1.5rem, 3.4vw, 3.5rem) var(--pad); margin-bottom: 11.5rem; max-width: calc(100vw - var(--split) - var(--qw) - var(--pad)); }
.hero__lead { margin: 0; font-size: var(--sc-t-lg); line-height: 1.35; color: var(--sc-ink-soft); max-width: 24ch; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem 1.2rem; margin-top: 1.5rem; }
.hero__note { margin: 0; font-size: var(--sc-t-sm); color: var(--sc-ink-soft); max-width: 22ch; }

/* ------------------------------------------------------ pinned duo acts -- */
.act .sc-stage, .act [data-sc-stage] { background: transparent; }
.duo__l, .duo__r { position: absolute; margin: 0; }
.duo__l--top { left: var(--pad); top: clamp(4.5rem, 13vh, 8rem); width: calc(var(--split) * 0.47 - var(--pad)); max-width: 24rem; }
.duo__r { left: calc(var(--split) + clamp(1.5rem, 3.4vw, 3.5rem)); bottom: clamp(2.5rem, 9vh, 5.5rem); width: min(27rem, calc(100vw - var(--split) - var(--qw) - var(--pad) - 1rem - clamp(1.5rem, 3.4vw, 3.5rem))); }
.duo__r.huge { width: min(30rem, calc(100vw - var(--split) - var(--qw) - var(--pad) - 1rem - clamp(1.5rem, 3.4vw, 3.5rem))); }

/* ----------------------------------------------------------- flow acts -- */
.qa { padding-block: clamp(4rem, 12vh, 8rem) clamp(4rem, 14vh, 9rem); }
.qa__row { display: grid; grid-template-columns: var(--split) 1fr; align-items: end; }
.qa__row + .qa__row { margin-top: clamp(3rem, 9vh, 6rem); }
.qa__phone { padding-inline: var(--pad); max-width: calc(var(--split) * 0.45); }
.qa__mac { padding-inline: clamp(1.5rem, 3.4vw, 3.5rem) var(--pad); max-width: 34rem; }
.qa__title { font-size: clamp(1.7rem, 2.5vw, 2.6rem); line-height: 1.04; letter-spacing: -0.024em; }
.qa h3 { font-size: clamp(1.25rem, 1.6vw, 1.6rem); line-height: 1.12; letter-spacing: -0.015em; margin-bottom: 0.7rem; }
.qa p { margin: 0; font-size: var(--sc-t-base); line-height: 1.55; }
.qa__phone p { color: var(--sc-ink-soft); }
.qa__mac p { color: #2A2D33; }
.qa__intro { color: var(--sc-ink-soft) !important; max-width: 30ch; }
.where { display: none; }
.qa__phone > * + p { margin-top: 0.7rem; }

.meas .qa__row { align-items: start; }
.meas__dev { color: var(--sc-ink) !important; }
.meas__list { list-style: none; margin: 0; padding: 0 var(--pad) 0 clamp(1.5rem, 3.4vw, 3.5rem); max-width: 36rem; }
.meas__list li { padding-block: 1.6rem; border-top: 1px solid var(--line); }
.meas__list li:first-child { border-top: 0; padding-top: 0; }
.meas .meas__v { font-size: clamp(2.4rem, 4vw, 4rem); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; font-weight: 700; font-stretch: 78%; }
.meas__l { margin-top: 0.6rem !important; color: #1B1D21; max-width: 34ch; }
.meas__on { margin-top: 0.35rem !important; font-size: var(--sc-t-sm) !important; color: var(--sc-ink-soft); }

/* --------------------------------------------------------------- close -- */
.close { display: flex; flex-direction: column; justify-content: space-between; clip-path: inset(0 0 0 calc((1 - var(--e)) * var(--split))); }
.close__inner { margin-block: auto; padding: 3.5rem var(--pad) 0 clamp(2rem, 7vw, 7rem); width: min(60rem, calc(100vw - var(--qw) - var(--pad) * 2)); }
.close__h { font-size: clamp(2rem, 3.6vw, 3.7rem); line-height: 1; letter-spacing: -0.03em; max-width: 16em; }
.finder { margin: clamp(1.2rem, 3.5vh, 2.2rem) 0 0; max-width: 44rem; }
.finder img { width: 100%; height: auto; display: block; border-radius: 0 12px 12px 0; box-shadow: 0 2px 4px rgb(40 48 64 / 0.12), 0 22px 50px rgb(40 48 64 / 0.26); }
.finder figcaption { margin-top: 0.7rem; font-size: var(--sc-t-sm); color: var(--sc-ink-soft); }
.close__go { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem 1.4rem; margin-top: clamp(1.2rem, 3.5vh, 2.2rem); }
.close__icon { flex: none; width: 4.5rem; height: 4.5rem; filter: drop-shadow(0 8px 14px rgb(29 91 201 / 0.3)); }
.close__note { margin: 0; font-size: var(--sc-t-sm); line-height: 1.45; color: var(--sc-ink-soft); max-width: 46ch; flex: 1 1 18rem; }
.foot { display: flex; flex-wrap: wrap; gap: 0.4rem 1.6rem; padding: 1.1rem var(--pad) 1.3rem clamp(2rem, 7vw, 7rem); font-size: var(--sc-t-sm); }
.foot a { color: #2A2D33; text-underline-offset: 3px; padding-block: 0.4rem; }

/* Narrower desktops: a slimmer queue leaves the Mac column its copy. */
@media (min-width: 1101px) and (max-aspect-ratio: 3/2) { .qa__phone, .hero__lead-phone, .hero__h-phone { max-width: calc(var(--split) * 0.37); } .duo__l--top { width: calc(var(--split) * 0.36 - var(--pad)); } }
@media (min-width: 1101px) and (max-width: 1400px) { :root { --qw: 18.5rem; } .huge { font-size: clamp(2rem, 3.3vw, 2.9rem); } }

/* Short desktop viewports: tighten the queue so copy keeps its room. */
@media (min-width: 1101px) and (max-height: 860px) {
  .hero__mac { max-width: calc(100vw - var(--split) - var(--qw) - var(--pad) - 1rem); }
  .hero__note { display: none; }
  .q { font-size: 0.78rem; }
  .q__rows li { padding-block: 0.38rem; }
  .q__sample, .q__foot { padding-block: 0.4rem; }
  .q__head { padding-block: 0.6rem; }
  .hero__h-mac { margin-bottom: 10.5rem; }
}

/* ============================================================== phone == */
@media (max-width: 1100px) {
  :root { --split: 100vw; --top: 34svh; --pad: 1.15rem; --qw: auto; }

  .hold--desk { z-index: 5; }
  .desk { width: 100vw; height: var(--top); transform: translate3d(0, calc(var(--e) * -100%), 0); }
  .desk__cup { left: 52%; top: -0.5rem; width: 6.5rem; filter: blur(4px) drop-shadow(10px 14px 14px rgb(0 0 0 / 0.5)); transform: translate3d(0, calc(var(--h) * -40px), 0); }
  .desk__plates { inset: 0; width: auto; aspect-ratio: auto; transform: none; }
  .desk__plates::before { display: none; }
  .desk__plate { object-position: right bottom; }

  .rail { left: 0; top: var(--top); width: 100vw; height: 2px; margin: -1px 0 0; transform: translate3d(0, calc(var(--e) * -1 * var(--top)), 0); z-index: 21; }
  .rail__fill { transform-origin: left; transform: scaleX(var(--done, 0)); }

  .mark { top: 0.8rem; left: var(--pad); transform: none; gap: 0; height: auto; padding: 0; background: transparent; box-shadow: none; font-size: 0.9rem; opacity: calc(1 - var(--e) * 3); }
  .mark::before { display: none; }
  .mark__i { width: 1.75rem; height: 1.75rem; margin-right: 0.45rem; }
  .mark__a, .mark__m { width: auto; color: #EEF0F3; }
  .mark__to { color: #6FA2FF; }

  .status { top: calc(var(--top) + 0.45rem); right: 0.6rem; height: 2.75rem; min-width: 2.75rem; justify-content: center; background: #fff; box-shadow: 0 0 0 1px rgb(27 29 33 / 0.1), 0 4px 12px rgb(40 48 64 / 0.16); transform: translate3d(0, calc(var(--e) * -1 * var(--top)), 0); }
  .q { top: calc(var(--top) + 1px); left: 0; right: 0; width: auto; border-radius: 0; z-index: 20; box-shadow: 0 1px 0 var(--line), 0 10px 24px rgb(40 48 64 / 0.14); transform-origin: 50% 0; transform: translate3d(0, calc(var(--e) * -1 * var(--top)), 0); max-height: calc(100svh - var(--top) * (1 - var(--e))); overflow: auto; }
  .q.is-closed { transform: translate3d(0, -8px, 0); }
  .q__head { display: none; }
  .q__sum, .q__banner { padding-right: 5rem; border-top: 0; }
  .q:not(.is-full) :is(.q__actions, .q__foot, .q__sample) { display: none; }
  .q:not(.is-full) .q__rows li:not(.is-now) { display: none; }
  .q:not(.is-full) .q__banner-h { display: none; }
  .q__more { display: block; }

  .hero { display: block; padding: 0; min-height: 100svh; position: relative; }
  .hero__h-phone { position: absolute; z-index: 6; left: var(--pad); top: 3.1rem; width: 56vw; padding: 0; max-width: none; }
  .hero__h span { font-size: clamp(1.55rem, 7.1vw, 2.2rem); line-height: 1.02; }
  .hero__lead-phone { display: none; }
  .hero__h-mac { padding: calc(var(--top) + 12.4rem) var(--pad) 0; margin: 0; max-width: none; }
  .hero__mac { padding: 0.8rem var(--pad) 0; }
  .hero__lead { font-size: 1.05rem; max-width: 30ch; }
  .hero__actions { margin-top: 1.1rem; }

  .act [data-sc-stage] { z-index: 10; }
  .duo__l--top { left: var(--pad); top: 3.1rem; width: 56vw; max-width: none; }
  .duo__l--top.big, .duo__l--top .big { font-size: clamp(1.3rem, 5.8vw, 1.8rem); }
  .duo__l--top .small { font-size: 0.86rem; line-height: 1.4; margin-top: 0.5rem; }
  .duo__r, .duo__r.huge { left: var(--pad); right: var(--pad); width: auto; top: auto; bottom: 9svh; }
  .big { font-size: clamp(1.45rem, 6.4vw, 2rem); }
  .huge { font-size: clamp(2.1rem, 10vw, 3rem); }

  .qa { padding: calc(var(--top) + 2rem) 0 4rem; }
  .qa__row { display: block; }
  .qa__row + .qa__row { margin-top: 2.6rem; }
  .qa__phone, .qa__mac, .meas__list { max-width: none; padding-inline: var(--pad); }
  .qa__mac { margin-top: 0.9rem; }
  .on-phone.qa__phone { --sc-ink: #1B1D21; --sc-ink-soft: #545B67; --sc-accent: #1D5BC9; color: var(--sc-ink); }
  .qa__phone p { color: #2A2D33; }
  .where { display: block; font: 700 0.72rem/1 var(--sc-font-text) !important; letter-spacing: 0.07em; text-transform: uppercase; color: var(--sc-ink-soft) !important; margin-bottom: 0.35rem !important; }
  .meas__list { margin-top: 2rem; }
  .meas__dev { color: #1B1D21 !important; }

  .close { clip-path: inset(calc((1 - var(--e)) * var(--top)) 0 0 0); }
  .close__inner { width: auto; margin-block: 0; padding: 4.2rem var(--pad) 0; }
  .close__h { font-size: clamp(1.8rem, 8vw, 2.5rem); }
  .finder img { border-radius: 0 8px 8px 0; }
  .foot { padding: 0.8rem var(--pad) 1rem; }
}
.q__more { display: none; }

@media (max-width: 1100px) and (max-height: 700px) {
  .hero__note, .close__note { display: none; }
  .finder figcaption { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .desk__plates { transform: translate3d(0, -50%, 0); }
  .desk__cup, .desk__light { transform: none; }
  .desk__plate--off { transition: none; }
  .q, .q.is-closed { transition: none; }
}
