/* MHN Disk: disk.metahuman.network
   Direction "The product performs" (tasteskill seed 187028813): plum-black and pink, Switzer.
   Fragments of the app carry data-ui; inside them the app's own borders, radii and shadows apply. */

@font-face { font-family: "Switzer"; src: url("fonts/switzer-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("fonts/switzer-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --bg: #0d060b;
  --surface: #1b0e17;
  --ink: #ffffff;
  --muted: #a1959e;
  --accent: #ff488b;
  --accent-ink: #0d060b;
  --plum: #470c35;
  --paper: #ffffff;
  --paper-2: #f2eff3;
  --paper-3: #e8e3ea;
  --paper-ink: #101421;
  --paper-muted: #5a5d6b;

  --font: "Switzer", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --ui: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;

  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1rem + 0.9vw, 2rem);
  --step-head: clamp(2rem, 1.2rem + 3.4vw, 4.5rem);
  --step-display: clamp(3rem, 0.8rem + 7.4vw, 8.25rem);

  --margin: clamp(1.25rem, 2.8vw, 2.5rem);
  --gutter: clamp(1rem, 2vw, 2rem);
  --section: clamp(6.5rem, 12vw, 12rem);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: var(--step-body); line-height: 1.5; letter-spacing: -0.01em; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
h1, h2, h3, p, figure, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input { font: inherit; color: inherit; letter-spacing: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
a { color: inherit; }
h1, h2, h3 { font-weight: 400; text-wrap: balance; letter-spacing: -0.03em; }
p { text-wrap: pretty; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
:target { scroll-margin-top: 2rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.small { font-size: var(--step-small); line-height: 1.45; }
.lead { font-size: var(--step-lead); line-height: 1.2; }
.head { font-size: var(--step-head); line-height: 1.04; }
.display { font-size: var(--step-display); line-height: 0.92; letter-spacing: -0.045em; }
.nums { font-variant-numeric: tabular-nums; }
.soft { color: var(--muted); }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3.25rem; padding: 0 1.6rem; background: var(--accent); color: var(--accent-ink); font-weight: 500; text-decoration: none; white-space: nowrap; transition: transform 140ms var(--ease-out), background-color 180ms ease; }
.button:active { transform: scale(0.97); }
.link { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.22em; text-decoration-thickness: 0.07em; transition: text-decoration-color 180ms ease; }
.link-plain { text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 0.07em; }
@media (hover: hover) and (pointer: fine) {
  .button:hover { background: #ff6aa1; }
  .link:hover { text-decoration-color: currentColor; }
}

/* ---------- hero: two tones, the copy and the live rings ---------- */
.hero { position: relative; display: grid; grid-template-columns: 1fr 1fr; min-height: 100svh; }
.hero-copy { display: flex; flex-direction: column; justify-content: space-between; gap: 3rem; padding: 40px; background: var(--bg); }
.mark { display: inline-flex; align-items: center; gap: 0.7rem; font-size: var(--step-body); font-weight: 500; text-decoration: none; align-self: flex-start; }
.mark img { width: 32px; height: 32px; image-rendering: pixelated; }
.hero-title { font-size: var(--step-head); font-weight: 500; line-height: 1.02; letter-spacing: -0.035em; }
.hero-sub { margin-top: 2rem; max-width: 44ch; color: var(--muted); font-size: var(--step-body); line-height: 1.5; }
.hero-action { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.5rem; margin-top: 2.5rem; }
.hero-action .small { color: var(--muted); }
.hero-stage { display: grid; place-items: center; padding: 40px; background: var(--surface); }
.toplink { position: absolute; top: 40px; right: 40px; font-size: var(--step-body); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.25em; transition: text-decoration-color 180ms ease; }
.toplink:hover { text-decoration-color: currentColor; }

/* the scan fragment (data-ui) */
.scan { width: min(470px, 100%); font-family: var(--ui); font-size: 13px; letter-spacing: 0; }
.scan-head { display: flex; justify-content: space-between; gap: 1rem; color: var(--muted); }
.scan-title { color: var(--ink); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scan-total { white-space: nowrap; font-variant-numeric: tabular-nums; }
.scan-rings { width: 100%; height: auto; aspect-ratio: 1; margin: 0.5rem 0 0.25rem; touch-action: manipulation; cursor: default; }
.scan-rings:focus-visible { outline-offset: -2px; border-radius: 50%; }
.scan-rings.by-pointer:focus { outline: none; }
.scan-rings .arc { stroke: var(--surface); stroke-width: 1.2; transition: opacity 160ms ease; }
.scan-rings .arc.is-folder { cursor: zoom-in; }
.scan-rings .sel { fill: none; stroke: #fff; stroke-width: 2.5; pointer-events: none; }
.scan-rings .hub { fill: #26161f; cursor: zoom-out; }
.scan-rings .hub.is-root { cursor: default; }
.scan-rings text { fill: #fff; font-family: var(--ui); text-anchor: middle; pointer-events: none; }
.scan-rings .hub-name { font-size: 12px; fill: #cdbfc8; }
.scan-rings .hub-size { font-size: 21px; font-weight: 600; font-variant-numeric: tabular-nums; }
.scan-rings .hub-count { font-size: 11px; fill: #a1959e; }
.scan-readout { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; min-height: 1.5em; padding: 0.55rem 0.75rem; background: #26161f; border-radius: 7px; }
.scan-name { color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scan-size { color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.scan-finding { margin-top: 0.7rem; color: var(--muted); min-height: 1.45em; }

/* ---------- maps: one picture pinned while three statements change it ---------- */
.maps { padding: var(--section) var(--margin); }
.maps-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
.maps-text { grid-column: 1 / span 5; }
.maps-text .head { max-width: 11ch; }
.map-step { min-height: 72svh; display: flex; flex-direction: column; justify-content: center; gap: 1.1rem; max-width: 30rem; opacity: 0.38; transition: opacity 400ms var(--ease-out); }
.map-step.is-active { opacity: 1; }
.map-step:first-of-type { min-height: 60svh; }
.map-step p { color: var(--ink); }
.maps-stage { grid-column: 6 / -1; position: sticky; top: 8svh; height: 84svh; align-self: start; }
.maps-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center; opacity: 0; transform: scale(0.985); transition: opacity 500ms var(--ease-out), transform 900ms var(--ease-soft); }
.maps-stage img.is-active { opacity: 1; transform: none; }

/* ---------- find: the headline is the app's Filter by Name ---------- */
.find { background: var(--paper); color: var(--paper-ink); padding: var(--section) var(--margin); }
.find-title { color: var(--paper-muted); }
.find-ui { margin-top: 1.5rem; }
.find-line { overflow: hidden; }
.find-input { display: block; width: 100%; padding: 0; border: 0; background: none; color: var(--paper-ink); font-family: var(--font); font-size: var(--step-display); line-height: 1.05; letter-spacing: -0.045em; caret-color: var(--accent); }
.find-input:focus { outline: none; }
.find-input:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
.find-answer { margin-top: 48px; max-width: 560px; font-family: var(--ui); letter-spacing: 0; }
.find-results li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 0.75rem; padding: 0.55rem 0.75rem; font-size: 13px; border-radius: 6px; }
.find-results li:nth-child(odd) { background: var(--paper-2); }
.find-results .ico { width: 22px; height: 18px; border-radius: 3px; background: #5aaef0; }
.find-results .ico.is-file { width: 16px; height: 20px; margin-left: 3px; border-radius: 2px; background: #d9dbe1; }
.find-results .ico.is-pkg { background: #8e8fa0; }
.find-results b { display: block; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.find-results .path { display: block; color: var(--paper-muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.find-results .size { font-variant-numeric: tabular-nums; font-weight: 500; }
.find-count { margin-top: 0.75rem; color: var(--paper-muted); font-size: 13px; min-height: 1.4em; }
.find-examples { display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; margin-top: 3.5rem; }
.find-examples button { font-size: var(--step-body); color: var(--paper-ink); text-decoration: underline; text-decoration-thickness: 0.07em; text-underline-offset: 0.25em; text-decoration-color: rgba(16, 20, 33, 0.3); transition: text-decoration-color 180ms ease, transform 140ms var(--ease-out); }
.find-examples button:hover { text-decoration-color: currentColor; }
.find-examples button:active { transform: scale(0.97); }
.find-note { margin-top: 1rem; color: var(--paper-muted); }

/* ---------- commands: the app's command menu, scaled up ---------- */
.commands { background: var(--paper-2); color: var(--paper-ink); padding: var(--section) var(--margin); }
.commands .head { max-width: 14ch; }
.cmd { margin-top: 3rem; }
.cmd-search { display: block; width: min(100%, 83.3%); height: 1.9em; padding: 0 0.6em; border: 0; border-radius: 0; background: var(--paper); color: var(--paper-ink); font-size: var(--step-lead); -webkit-appearance: none; appearance: none; }
.cmd-search::placeholder { color: var(--paper-muted); }
.cmd-search:focus { outline: none; }
.cmd-search:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.cmd-list { margin-top: 1.25rem; }
.cmd-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 1rem; padding: 0.06em 0.22em; font-size: var(--step-head); line-height: 1.12; letter-spacing: -0.03em; cursor: pointer; transition: background-color 160ms ease, color 160ms ease; }
.cmd-list li[aria-selected="true"] { background: var(--accent); color: var(--accent-ink); }
.cmd-list li[hidden] { display: none; }
.cmd-name { min-width: 0; }
.keys { display: flex; gap: 0.2em; font-size: 0.4em; letter-spacing: 0; }
.keys kbd { display: grid; place-items: center; width: 1.9em; height: 1.9em; background: rgba(16, 20, 33, 0.08); font-family: var(--ui); font-size: 1em; font-weight: 500; }
.cmd-list li[aria-selected="true"] kbd { background: rgba(13, 6, 11, 0.14); }
.cmd-desc { display: none; grid-column: 1 / -1; max-width: 58ch; padding: 0.35rem 0 0.9rem; font-size: var(--step-body); line-height: 1.45; letter-spacing: -0.01em; }
.cmd-list li[aria-selected="true"] .cmd-desc { display: block; }
.cmd-empty { margin-top: 1rem; color: var(--paper-muted); }

/* ---------- stages: one slider drives the clause and the picture ---------- */
.stages { position: relative; display: grid; grid-template-columns: 1fr 1fr; min-height: 88svh; }
.stage-copy { display: flex; flex-direction: column; gap: 1.5rem; padding: clamp(3rem, 7vw, 6rem) var(--margin) 8.5rem; background: var(--plum); }
.stage-clause { max-width: 12ch; }
.stage-note { max-width: 40ch; }
.stage-shot { display: grid; place-items: center; padding: 3rem var(--margin) 8.5rem; background: var(--surface); }
.stage-shot img { grid-area: 1 / 1; opacity: 0; transition: opacity 200ms ease; }
.stage-shot img.is-active { opacity: 1; }
.shot-scan { width: min(500px, 100%); }
.shot-see { width: min(620px, 100%); }
.shot-collect { width: 100%; max-width: 900px; }
.shot-trash { width: min(500px, 100%); border-radius: 12px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5); } /* taste-skill-ignore: data-ui, the app's sheet floats over its window */
.stage-control { position: absolute; left: 28px; right: 28px; bottom: 28px; }
.stage-range { display: block; width: 100%; height: 32px; margin: 0; overflow: hidden; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; }
.stage-range::-webkit-slider-runnable-track { height: 8px; background: rgba(255, 255, 255, 0.22); }
.stage-range::-moz-range-track { height: 8px; background: rgba(255, 255, 255, 0.22); }
.stage-range::-moz-range-progress { height: 8px; background: var(--ink); }
.stage-range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 32px; height: 32px; margin-top: -12px; border: 0; border-radius: 0; background: var(--accent); box-shadow: calc(-100vw) 0 0 calc(100vw - 16px) var(--ink); clip-path: inset(12px 0 12px -100vw); transition: transform 140ms var(--ease-out); } /* taste-skill-ignore: not a shadow, paints the passed part of the track */
.stage-range:active::-webkit-slider-thumb { transform: scale(1.1); }
.stage-range::-moz-range-thumb { width: 32px; height: 32px; border: 0; border-radius: 0; background: var(--accent); }
.stage-range:focus { outline: none; }
.stage-range:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
.stage-names { display: flex; justify-content: space-between; margin-top: 0.6rem; }
.stage-names button { font-size: var(--step-body); color: var(--muted); padding: 0.25rem 0; transition: color 160ms ease; }
.stage-names button[aria-current="step"] { color: var(--ink); }
.stage-names button:hover { color: var(--ink); }

/* ---------- tools: tabs and banded rows ---------- */
.tools { background: var(--paper); color: var(--paper-ink); padding: var(--section) var(--margin); }
.tools-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; }
.tools-head .soft { color: var(--paper-muted); }
.tools-body { display: grid; grid-template-columns: 180px minmax(0, 1fr); column-gap: 40px; margin-top: 56px; }
.tools-tabs { display: flex; flex-direction: column; gap: 6px; }
.tools-tabs [role="tab"] { display: flex; flex-direction: column; justify-content: center; min-height: 64px; padding: 0.5rem 0.9rem; background: var(--paper-2); color: var(--paper-ink); font-size: var(--step-body); line-height: 1.25; transition: background-color 160ms ease, color 160ms ease, transform 140ms var(--ease-out); }
.tools-tabs [role="tab"]:hover { background: var(--paper-3); }
.tools-tabs [role="tab"]:active { transform: scale(0.98); }
.tools-tabs [aria-selected="true"], .tools-tabs [aria-selected="true"]:hover { background: var(--paper-ink); color: var(--paper); }
.tab-note { font-size: var(--step-small); opacity: 0.7; }
.panel-sum { font-size: var(--step-body); margin-bottom: 1rem; }
.bands { display: flex; flex-direction: column; gap: 4px; }
.bands li { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr) auto; align-items: center; column-gap: 1.25rem; min-height: 76px; padding: 0.5rem 20px; background: var(--paper-2); }
.bands li:nth-child(even) { background: var(--paper-3); }
.b-lead { font-size: var(--step-body); font-variant-numeric: tabular-nums; }
.b-warn { font-weight: 500; }
.b-main { min-width: 0; }
.b-main b { display: block; font-size: var(--step-body); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b-main span { display: block; font-size: var(--step-small); color: var(--paper-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b-side { font-size: var(--step-small); color: var(--paper-muted); text-align: right; }
.panel-note { margin-top: 1rem; color: var(--paper-muted); font-size: var(--step-small); max-width: 60ch; }

/* ---------- questions: an index and one answer ---------- */
.faq { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); padding: var(--section) var(--margin); background: var(--bg); }
.faq-list { grid-column: 1 / span 5; }
.faq-title { font-size: var(--step-body); letter-spacing: -0.01em; color: var(--muted); margin-bottom: 18px; }
.faq-q { display: flex; flex-direction: column; gap: 18px; }
.faq-q button { display: flex; align-items: baseline; gap: 14px; font-size: var(--step-body); line-height: 1.35; color: var(--muted); transition: color 160ms ease; }
.faq-q button:hover, .faq-q button[aria-expanded="true"] { color: var(--ink); }
.dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); transform: translateY(-2px); transition: background-color 160ms ease, transform 160ms var(--ease-out); }
.faq-q button[aria-expanded="true"] .dot { background: var(--accent); transform: translateY(-2px) scale(1.25); }
.faq-a { padding: 0.6rem 0 0.4rem 22px; font-size: var(--step-body); line-height: 1.45; max-width: 46ch; }
.faq-pane { grid-column: 7 / -1; position: sticky; top: 120px; align-self: start; font-size: var(--step-lead); line-height: 1.3; max-width: 30ch; }
.faq-pane p { transition: opacity 150ms ease; }
@media (min-width: 64em) {
  .js .faq-list .faq-a { display: none; }
}
@media not all and (min-width: 64em) {
  .faq-pane { display: none; }
}

/* ---------- the first hard disk: real pictures of the subject's world ---------- */
.first { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto 1fr; column-gap: var(--gutter); row-gap: 3rem; padding: var(--section) var(--margin); background: var(--surface); }
.first figure { display: flex; flex-direction: column; gap: 0.6rem; }
.first figcaption { color: var(--muted); }
.first img, .first video { display: block; width: 100%; height: auto; background: var(--bg); }
.first-stack { grid-column: 1 / span 5; grid-row: 1 / span 2; }
.first-stack img { aspect-ratio: 3 / 4; object-fit: cover; }
.first-copy { grid-column: 7 / -1; grid-row: 1; display: flex; flex-direction: column; gap: 1.5rem; }
.first-copy p { max-width: 42ch; }
.first-platter { grid-column: 7 / span 3; grid-row: 2; align-self: end; }
.first-platter img { aspect-ratio: 1; object-fit: cover; }
.first-clip { grid-column: 10 / -1; grid-row: 2; align-self: end; }
.first-clip video { aspect-ratio: 1; object-fit: cover; }
@media (prefers-reduced-motion: no-preference) {
  .first-stack img { transform: scale(1.04); transition: transform 2400ms var(--ease-soft); }
  .first-stack.is-in img { transform: none; }
}

/* ---------- download: the first step, already open ---------- */
.get { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); min-height: 90svh; padding: 40px var(--margin); background: var(--plum); }
.get-copy { grid-column: 1 / span 6; align-self: end; display: flex; flex-direction: column; gap: 1.5rem; }
.get-sub { max-width: 36ch; font-size: var(--step-body); }
.panel { grid-column: 8 / span 5; align-self: center; width: 100%; max-width: 440px; justify-self: end; padding: 22px; background: #221a20; border-radius: 12px; box-shadow: 0 28px 70px rgba(0, 0, 0, 0.45); /* taste-skill-ignore: data-ui dialog */ font-family: var(--ui); font-size: 13px; letter-spacing: 0; color: #f4f0f3; }
.panel-head { display: flex; align-items: center; gap: 14px; }
.panel-head img { width: 64px; height: 64px; image-rendering: pixelated; }
.panel-name { font-size: 15px; font-weight: 600; }
.panel-ver { color: #b3a7b0; }
.panel-rows { margin-top: 18px; }
.panel-rows div { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 0.75rem; padding: 0.55rem 0; border-top: 1px solid rgba(255, 255, 255, 0.09); } /* taste-skill-ignore: data-ui, the app's own list separators */
.panel-rows dt { color: #b3a7b0; }
.panel-sha dd { display: flex; align-items: flex-start; gap: 0.5rem; }
.panel-sha code { flex: 1; min-width: 0; font-family: var(--ui); font-variant-numeric: tabular-nums; font-size: 13px; overflow-wrap: anywhere; line-height: 1.4; color: #e6dde3; }
.copy { flex: none; padding: 0.15rem 0.55rem; border-radius: 5px; background: rgba(255, 255, 255, 0.1); font-size: 13px; transition: background-color 160ms ease, transform 140ms var(--ease-out); }
.copy:hover { background: rgba(255, 255, 255, 0.18); }
.copy:active { transform: scale(0.95); }
.panel-button { display: flex; align-items: center; justify-content: center; min-height: 44px; margin-top: 18px; border-radius: 8px; background: var(--accent); color: var(--accent-ink); font-size: 13px; font-weight: 600; text-decoration: none; transition: background-color 160ms ease, transform 140ms var(--ease-out); }
.panel-button:hover { background: #ff6aa1; }
.panel-button:active { transform: scale(0.98); }

/* ---------- footer: tiles ---------- */
.foot { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 8px; padding: 10px; background: var(--bg); }
.tile { display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; min-height: 220px; padding: 22px; background: var(--surface); }
.tile-say { grid-column: 1 / span 4; font-size: var(--step-lead); line-height: 1.25; }
.tile-say .legal { font-size: var(--step-small); line-height: 1.45; color: var(--muted); }
.tile-nav { grid-column: 5 / span 3; justify-content: flex-start; }
.tile-nav ul { display: flex; flex-direction: column; gap: 0.35rem; font-size: var(--step-body); }
.tile-ver { grid-column: 8 / span 2; }
.tile-mail { grid-column: 10 / span 3; justify-content: space-between; }
.mail { font-size: var(--step-body); overflow-wrap: anywhere; }
.tile-word { grid-column: 1 / span 8; min-height: 320px; justify-content: center; align-items: center; background: var(--ink); color: var(--bg); }
.tile-word span { font-size: var(--step-display); line-height: 1; letter-spacing: -0.05em; white-space: nowrap; }
.tile-go { grid-column: 9 / -1; min-height: 320px; background: var(--accent); color: var(--accent-ink); text-decoration: none; font-size: var(--step-lead); line-height: 1.15; transition: background-color 180ms ease; }
.tile-go svg { align-self: flex-end; transition: transform 240ms var(--ease-out); }
.tile-go:hover { background: #ff6aa1; }
.tile-go:hover svg { transform: translateY(6px); }

/* ---------- phone and tablet ---------- */
@media (max-width: 63.99em) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-stage { order: -1; min-height: 58svh; padding: 4.5rem 20px 1.5rem; }
  .scan { width: min(82vw, 520px); }
  .hero-copy { padding: 2rem var(--margin) 3.5rem; }
  .mark { position: absolute; top: 20px; left: var(--margin); }
  .toplink { top: 22px; right: var(--margin); }
  .hero-sub { margin-top: 1.25rem; }
  .hero-action { margin-top: 1.75rem; }
  .first-stack { grid-column: 1 / span 6; }
  .first-copy { grid-column: 7 / -1; }
  .first-platter { grid-column: 1 / span 6; grid-row: 3; }
  .first-clip { grid-column: 7 / -1; grid-row: 3; }
  .first-copy .head { font-size: var(--step-lead); }
  .maps-text { grid-column: 1 / span 6; }
  .maps-stage { grid-column: 7 / -1; }
  .faq-list { grid-column: 1 / -1; }
  .get-copy { grid-column: 1 / span 7; }
  .panel { grid-column: 8 / -1; }
  .tile-say { grid-column: 1 / span 6; }
  .tile-nav { grid-column: 7 / span 6; }
  .tile-ver { grid-column: 1 / span 6; }
  .tile-mail { grid-column: 7 / span 6; }
  .tile-word { grid-column: 1 / -1; }
  .tile-go { grid-column: 1 / -1; min-height: 200px; }
}
@media (max-width: 47.99em) {
  .hero-action .button { width: 100%; }

  .maps { padding-top: 5rem; }
  .maps-grid { display: flex; flex-direction: column; }
  .maps-text { display: contents; }
  .maps-text .head { order: -2; }
  .maps-stage { order: -1; align-self: stretch; }
  .maps-stage { position: sticky; top: 0; z-index: 1; height: 46svh; margin: 1.5rem calc(var(--margin) * -1) 0; background: var(--bg); }
  .map-step, .map-step:first-of-type { min-height: 62svh; justify-content: flex-start; padding-top: 2.5rem; }

  .find-examples { gap: 0 1.25rem; margin-top: 2rem; }
  .find-examples button { min-height: 44px; }

  .cmd-search { width: 100%; height: 56px; }
  .keys { display: none; }

  .stages { display: flex; flex-direction: column; min-height: 0; }
  .stage-shot { order: 1; min-height: 46svh; padding: 2rem 16px; overflow: hidden; }
  .shot-collect { width: 180%; max-width: none; justify-self: start; }
  .stage-control { position: static; order: 2; padding: 1rem 20px 1.25rem; background: var(--surface); }
  .stage-range::-webkit-slider-thumb { width: 40px; height: 40px; margin-top: -16px; clip-path: inset(16px 0 16px -100vw); box-shadow: calc(-100vw) 0 0 calc(100vw - 20px) var(--ink); } /* taste-skill-ignore: track fill, not a shadow */
  .stage-copy { order: 3; padding: 2.5rem 20px 3rem; }
  .stage-names { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }

  .tools-head { flex-direction: column; align-items: stretch; }
  .tools-head .button { width: 100%; }
  .tools-body { display: block; margin-top: 2rem; }
  .tools-tabs { position: sticky; top: 0; z-index: 1; flex-direction: row; gap: 4px; margin-bottom: 1rem; background: var(--paper); padding: 4px 0; }
  .tools-tabs [role="tab"] { flex: 1; min-height: 52px; padding: 0.4rem 0.6rem; font-size: var(--step-small); }
  .tools-tabs [role="tab"][aria-selected="false"] { background: transparent; }
  .tools-tabs [role="tab"][aria-selected="false"] { text-decoration: underline; text-underline-offset: 0.25em; text-decoration-color: rgba(16, 20, 33, 0.3); }
  .tab-note { display: none; }
  .bands li { grid-template-columns: 1fr; row-gap: 0.25rem; padding: 16px; }
  .b-side { text-align: left; }
  .b-lead { font-size: 1rem; }

  .first { display: flex; flex-direction: column; gap: 2rem; }
  .first-copy .head { font-size: var(--step-head); }
  .first-copy { order: -1; }
  .first-platter, .first-clip { width: 100%; }

  .get { display: flex; flex-direction: column; justify-content: space-between; gap: 3rem; min-height: 84svh; padding: 3rem 16px 2rem; }
  .panel { max-width: none; }
  .panel-button { min-height: 52px; }

  .foot { grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; }
  .tile { min-height: 160px; padding: 20px; }
  .tile-word { grid-column: 1 / -1; order: -2; min-height: 160px; }
  .tile-go { grid-column: 1 / -1; order: -1; min-height: 160px; }
  .tile-nav { grid-column: 1 / 2; }
  .tile-mail { grid-column: 2 / 3; }
  .tile-ver { grid-column: 1 / -1; min-height: 0; flex-direction: row; justify-content: space-between; background: var(--plum); }
  .tile-say { grid-column: 1 / -1; min-height: 0; }
}

/* ---------- motion (content stays visible without JavaScript) ---------- */
.lines .line { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.lines [data-line] { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .js .lines [data-line] { transform: translateY(110%); animation: rise-line 900ms var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 110ms + 150ms); }
  .js [data-rise] { opacity: 0; transform: translateY(18px); animation: rise 800ms var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 90ms + 420ms); }
  .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
}
@keyframes rise-line { to { transform: none; } }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; }
}

/* ---------- 404 ---------- */
.lost { display: flex; flex-direction: column; justify-content: space-between; gap: 4rem; min-height: 100svh; padding: 40px var(--margin); background: var(--bg); }
.lost-sub { margin-top: 1.5rem; max-width: 40ch; color: var(--muted); }
.lost-go { margin-top: 2.5rem; }
