/* AgentBuys: "the product performs". White page, black type, one grey step, blue only on actions and the one stage.
   The interface fragments (search, answer, score sheet, connect dialog) are real and carry the page. */
:root {
  --bg: #fff; --surface: #f4f4f4; --ink: #111; --muted: #5f5f5f; --accent: #1a4be0; --accent-ink: #fff;
  --dark: #111; --dark-2: #1c1c1c; --dark-ink: #fff; --dark-muted: #a9a9a9; --r: 6px;
  --sans: "Work Sans", ui-sans-serif, system-ui, sans-serif;
  --s-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --s-note: 1rem;
  --s-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --s-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --s-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --m: clamp(16px, 2.8vw, 40px); --gap: clamp(112px, 12vw, 176px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 var(--s-body)/1.55 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 4px; transition: color .15s; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--accent-ink); }
h1, h2, h3 { font-family: var(--sans); font-weight: 300; letter-spacing: -0.035em; line-height: 1; margin: 0; text-wrap: balance; }
h1, h2 { font-size: var(--s-head); }
h3 { font-size: var(--s-lead); font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; }
p { margin: 0 0 1em; }
strong, b { font-weight: 500; }
.lead { font-size: var(--s-lead); line-height: 1.35; max-width: 36ch; color: var(--ink); }
.small { font-size: var(--s-note); }
.muted { color: var(--muted); }
.num { font-variant-numeric: tabular-nums lining-nums; }
.wrap { padding-inline: var(--m); }
section, .band { margin-top: var(--gap); }
.cols { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 clamp(10px, 1.4vw, 20px); }

/* bar */
.top { position: absolute; inset: 0 0 auto 0; z-index: 6; display: flex; align-items: center; gap: clamp(14px, 2.4vw, 32px); padding: 22px var(--m); }
.brand { font: 500 1.375rem/1 var(--sans); letter-spacing: -0.03em; text-decoration: none; margin-right: auto; }
.top nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 32px); font-size: 0.9375rem; }
.top nav a { text-decoration: none; padding: 12px 0; }
.top nav a.btn { padding: 0 16px; min-height: 40px; }
/* inner pages: the nav sits on a strip of the same painting as the home page */
.band { position: absolute; inset: 0 0 auto 0; height: 200px; margin: 0; overflow: hidden; }
.band .art, .band .veil { height: 100%; object-position: 50% 60%; }
main { padding-top: 256px; }
main.flush { padding-top: 0; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border-radius: var(--r); background: var(--accent); color: var(--accent-ink); font: 500 0.9375rem/1 var(--sans); text-decoration: none; border: 0; cursor: pointer; transition: transform .15s, background .15s; }
.btn:hover { color: var(--accent-ink); background: #1239b4; }
.btn:active { transform: scale(.97); }
.btn.ink { background: var(--ink); } .btn.ink:hover { background: #333; }

/* product photo tile */
.tile { position: relative; display: grid; place-items: center; aspect-ratio: 1; overflow: hidden; background: var(--surface); border-radius: var(--r); }
.tile img { width: 78%; height: 78%; object-fit: contain; mix-blend-mode: multiply; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
a:hover > .tile img, .tile:hover img { transform: scale(1.05); }
.tile .tile-name::before { content: attr(data-b); }
.tile .tile-name { font: 300 var(--s-head)/1 var(--sans); letter-spacing: -0.035em; color: var(--muted); padding: 8%; text-align: center; overflow-wrap: anywhere; }

/* score */
.meter { display: flex; align-items: center; gap: 10px; }
.meter .bar { flex: 1; max-width: 220px; height: 8px; background: rgb(17 17 17 / .1); border-radius: 4px; overflow: hidden; }
.meter .bar i { display: block; height: 100%; background: var(--ink); transform-origin: left; }
.meter b { min-width: 3ch; font-variant-numeric: tabular-nums; }
.verdict { font-weight: 500; }
.v-buy { color: var(--accent); }

/* interface fragments: the product's own conventions apply inside */
[data-ui] { background: var(--bg); color: var(--ink); border-radius: 10px; font-size: 0.9375rem; line-height: 1.45; }
.ui-row { display: grid; grid-template-columns: 56px 1fr auto; gap: 4px 14px; align-items: center; padding: 12px 0; }
.ui-row + .ui-row { border-top: 1px solid #e8e8e8; } /* taste-skill-ignore: inside a data-ui interface fragment */
.ui-row .tile { width: 56px; border-radius: 4px; grid-row: 1 / span 2; }
.ui-row .nm { font-weight: 500; text-decoration: none; }
.ui-row .pr { text-align: right; font-weight: 500; font-variant-numeric: tabular-nums; }
.ui-row .why { grid-column: 2 / -1; color: var(--muted); font-size: 0.875rem; }
.ui-row .why a { color: var(--accent); margin-left: 8px; white-space: nowrap; }

/* hero: the search floats on a painted landscape */
.on-art .top { color: #fff; }
.on-art .top a:hover { color: #fff; text-decoration: underline; }
.on-art .top .btn.ink { background: #fff; color: var(--ink); }
.hero { position: relative; text-align: center; padding: 0 var(--m); }
.art, .veil { position: absolute; inset: 0 0 auto 0; width: 100%; height: 94svh; }
.art { object-fit: cover; object-position: 50% 32%; }
.art-wrap { position: absolute; inset: 0 0 auto 0; height: 94svh; overflow: hidden; }
.art-wrap .art { animation: drift 30s ease-in-out infinite alternate; }
@keyframes drift { from { transform: scale(1.02); } to { transform: scale(1.1) translateY(-1.5%); } }
.veil { background: rgb(14 12 16 / .46); }
.hero .say { position: relative; color: #fff; padding-top: 21svh; max-width: 980px; margin-inline: auto; }
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 5.4rem); font-weight: 400; line-height: 0.98; }
.hero .lead { margin: 22px auto 0; max-width: 44ch; color: #fff; }
.float { position: relative; text-align: left; max-width: 760px; margin: 6svh auto 0; }
.search-ui { padding: 18px 20px 8px; box-shadow: 0 30px 80px rgb(0 0 0 / .35); } /* taste-skill-ignore: the panel floats over the painting */
.search-ui form { display: flex; gap: 8px; }
.search-ui input { flex: 1; min-width: 0; height: 52px; padding: 0 14px; font: inherit; font-size: 1.0625rem; border: 1px solid #cfcfcf; border-radius: var(--r); background: #fff; color: var(--ink); }
.search-ui input:focus-visible { outline-offset: 0; border-color: var(--accent); }
.search-ui .btn { min-height: 52px; }
.tries { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 10px 0 4px; font-size: 0.875rem; color: var(--muted); }
.tries button { font: inherit; color: var(--accent); background: none; border: 0; padding: 4px 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.search-ui .status { font-size: 0.875rem; color: var(--muted); margin: 8px 0 0; min-height: 1.4em; }
.search-ui ol { list-style: none; margin: 0; padding: 0; }

/* top picks: a run of real product photos */
.strip { padding-inline: var(--m); }
.strip h2 { font-size: var(--s-lead); font-weight: 500; letter-spacing: -0.02em; margin-bottom: 20px; }
.strip ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.strip a { text-decoration: none; display: block; }
.strip .cap { display: block; margin-top: 10px; font-size: var(--s-note); line-height: 1.35; }
.strip .cap b { display: block; }

/* lists: giant command list */
.command { padding-inline: var(--m); }
.command .finder { display: block; }
.command input { width: min(100%, 1100px); height: 1.9em; padding: 0 0.5em; font: 300 clamp(1.5rem, 3vw, 2.75rem)/1 var(--sans); letter-spacing: -0.03em; border: 0; border-radius: var(--r); background: var(--surface); color: var(--ink); }
.command input::placeholder { color: var(--muted); }
.rows { list-style: none; margin: 18px 0 0; padding: 0; }
.rows li a { display: grid; grid-template-columns: 1fr auto; gap: 0 24px; align-items: baseline; padding: 4px 12px; margin-inline: -12px; border-radius: var(--r); text-decoration: none; }
.rows .name { font: 300 clamp(2rem, 4.6vw, 4.75rem)/1.1 var(--sans); letter-spacing: -0.04em; }
.rows .count { font-variant-numeric: tabular-nums; color: var(--muted); }
.rows .note { grid-column: 1 / -1; display: none; font-size: var(--s-note); padding-bottom: 10px; }
.rows li a:hover, .rows li a:focus-visible { background: var(--accent); color: var(--accent-ink); outline: 0; }
.rows li a:hover .note, .rows li a:focus-visible .note { display: block; }
.rows li a:hover .count, .rows li a:focus-visible .count { color: inherit; }
.rows li[hidden] { display: none; }

/* showcase: input half, output half */
.inout { display: grid; grid-template-columns: 1fr 1fr; min-height: 90svh; }
.inout > div { display: grid; grid-template-rows: 1fr auto; padding: 12svh var(--m) 32px; gap: 40px; }
.inout .in { background: var(--dark); color: var(--dark-ink); }
.inout .out { background: var(--surface); }
.inout pre { margin: 0; padding: 0; background: none; color: inherit; font-size: clamp(0.9375rem, 1.35vw, 1.25rem); line-height: 1.6; white-space: pre-wrap; max-width: 36ch; }
.inout h2 { font-size: clamp(2.5rem, 5vw, 5rem); }
.answer { max-width: 520px; padding: 22px; align-self: start; }
.answer .tile { width: 132px; float: right; margin: 0 0 12px 16px; }
.answer h3 { margin-bottom: 6px; }
.answer table { width: 100%; margin: 14px 0; font-size: 0.9375rem; }
.answer td { padding: 7px 0; border-top: 1px solid #e8e8e8; } /* taste-skill-ignore: inside a data-ui interface fragment */
.answer .btn { width: 100%; }

/* how: pinned fragment, changing state */
.pinned { display: grid; grid-template-columns: 5fr 1fr 6fr; padding-inline: var(--m); }
.pinned .steps > h2 { font-size: var(--s-lead); letter-spacing: -0.02em; font-weight: 500; padding-top: 14vh; }
.step { min-height: 80vh; display: flex; flex-direction: column; justify-content: center; color: var(--muted); transition: color .3s; }
.step.on, html:not(.js) .step { color: var(--ink); }
.step h3 { font-size: clamp(1.75rem, 2.4vw, 2rem); font-weight: 400; letter-spacing: -0.03em; line-height: 1.15; max-width: 22ch; }
.step p { font-size: var(--s-note); margin: 12px 0 0; max-width: 36ch; }
.pin { grid-column: 3; position: sticky; top: 14vh; align-self: start; height: min(560px, 72vh); background: var(--surface); border-radius: 10px; display: grid; place-items: center; padding: clamp(16px, 3vw, 44px); }
.pin [data-ui] { width: 100%; max-width: 520px; padding: 26px; font-size: 1.0625rem; grid-area: 1 / 1; transition: opacity .35s, transform .35s, visibility .35s; }
.js .pin [data-ui]:not(.on) { opacity: 0; visibility: hidden; transform: translateY(14px); }
html:not(.js) .pin { position: static; height: auto; gap: 14px; } html:not(.js) .pin [data-ui] { grid-area: auto; }
.pin dl { display: grid; grid-template-columns: 1fr auto; margin: 0; }
.pin dt, .pin dd { margin: 0; padding: 9px 0; border-top: 1px solid #e8e8e8; } /* taste-skill-ignore: inside a data-ui interface fragment */
.pin dd { text-align: right; font-weight: 500; }
.pin dd a { color: var(--accent); font-weight: 400; margin-left: 8px; }
.pin table { width: 100%; } .pin td { padding: 9px 0; border-top: 1px solid #e8e8e8; background: none; } /* taste-skill-ignore: inside a data-ui interface fragment */
.pin .total { font-size: 2.5rem; font-weight: 300; letter-spacing: -0.04em; line-height: 1; }
.pin pre { margin: 0; background: none; color: inherit; padding: 0; white-space: pre-wrap; font-size: 0.875rem; line-height: 1.65; }

/* stats: ledger */
.ledger { display: grid; grid-template-columns: 5fr 1fr 6fr; align-items: center; padding-inline: var(--m); }
.ledger h2 { font-size: clamp(2rem, 3.2vw, 3.25rem); line-height: 1.05; }
.ledger h2 span { color: var(--muted); display: block; }
.ledger dl { grid-column: 3; margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 20px 28px; align-items: baseline; }
.ledger dt { font: 300 clamp(4rem, 7vw, 7rem)/1 var(--sans); letter-spacing: -0.05em; text-align: right; font-variant-numeric: tabular-nums lining-nums; }
.ledger dd { margin: 0; font-size: var(--s-note); max-width: 22ch; }

/* faq */
.faq { display: grid; grid-template-columns: 4fr 8fr; gap: var(--m); align-items: start; }
.faq h2 { position: sticky; top: 96px; }
.faq details { background: var(--surface); margin-bottom: 8px; border-radius: var(--r); }
.faq summary { position: relative; list-style: none; display: flex; align-items: center; min-height: 72px; padding: 14px 64px 14px 24px; font-size: 1.25rem; font-weight: 500; line-height: 1.25; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 16px; height: 3px; margin-top: -1.5px; background: currentColor; transition: transform .2s; }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] { background: var(--accent); color: var(--accent-ink); }
.faq details[open] summary::after { transform: none; }
.faq details p { padding: 0 24px 22px; max-width: 52ch; margin: 0; font-size: 1.0625rem; }
.faq details a:hover { color: inherit; }

/* cta: first step, already open */
.open { position: relative; overflow: hidden; display: grid; grid-template-columns: 5fr 1fr 5fr 1fr; align-items: end; min-height: 92svh; background: var(--dark); color: #fff; padding: 40px var(--m); }
.open .art, .open .veil { height: 100%; } .open .veil { background: rgb(10 10 14 / .5); }
.open .say, .open .dialog { position: relative; }
.open h2 { font-size: clamp(3.5rem, 7vw, 7rem); line-height: 0.92; }
.open .say p { max-width: 34ch; margin: 18px 0 0; font-size: 1.0625rem; }
.dialog { grid-column: 3; align-self: center; padding: 26px; box-shadow: 0 24px 60px rgb(0 0 0 / .28); } /* taste-skill-ignore: a real dialog floats */
.dialog h3 { margin-bottom: 16px; }
.dialog label { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 6px; }
.dialog input { width: 100%; height: 46px; padding: 0 12px; font: inherit; font-size: 0.9375rem; border: 1px solid #cfcfcf; border-radius: var(--r); }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; background: var(--surface); border-radius: var(--r); margin: 16px 0; border: 0; }
.seg label { margin: 0; text-align: center; padding: 10px 4px; border-radius: 4px; cursor: pointer; font-weight: 400; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg label:has(input:checked) { background: var(--bg); font-weight: 500; }
.seg label:has(input:focus-visible) { outline: 3px solid var(--accent); }
.dialog pre { margin: 0 0 16px; padding: 14px; background: var(--dark); color: var(--dark-ink); border-radius: var(--r); font-size: 0.8125rem; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; min-height: 5.6em; }
.dialog .btn { width: 100%; }

/* category page */
.head { display: grid; grid-template-columns: 7fr 5fr; gap: var(--m); align-items: end; }
.head .lead { max-width: 40ch; margin: 18px 0 0; }
h1.xl { font-size: clamp(2.4rem, 5.2vw, 5rem); }
h1.sm { font-size: clamp(1.6rem, 3vw, 2.75rem); line-height: 1.05; }
.plate { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 14px; }
.plate li:first-child { grid-column: span 2; grid-row: span 2; }
.plate.three { grid-template-columns: repeat(3, 1fr); } .plate.three li:first-child { grid-column: auto; grid-row: auto; } .plate.three li:first-child .cap { font-size: inherit; }
.plate .cap { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; margin-top: 12px; }
.plate .cap a.nm { font-weight: 500; text-decoration: none; }
.plate .why { grid-column: 1 / -1; font-size: var(--s-note); line-height: 1.45; margin: 0; color: var(--muted); }
.plate .buy { grid-column: 1 / -1; display: flex; gap: 14px; align-items: center; font-weight: 500; margin: 4px 0; }
.plate .buy a:not(.btn) { color: var(--accent); }
.plate li:first-child .cap { font-size: var(--s-lead); line-height: 1.25; }
.plate li:first-child .why { font-size: var(--s-body); }
.tune { background: var(--dark); color: var(--dark-ink); padding: clamp(18px, 2.2vw, 28px); display: grid; gap: 18px; border-radius: 10px; }
.tune h2 { font-size: var(--s-lead); font-weight: 500; letter-spacing: -0.02em; }
.tune p { color: var(--dark-muted); font-size: var(--s-note); margin: 8px 0 0; max-width: 36ch; }
.sliders { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px 24px; align-content: start; }
.sliders label { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; font-size: 0.9375rem; }
.sliders input { grid-column: 1 / -1; width: 100%; height: 32px; accent-color: #7da2ff; }
.tune .btn { justify-self: start; background: var(--dark-ink); color: var(--ink); }
.linklist { columns: 3 260px; column-gap: var(--m); list-style: none; padding: 0; margin: 24px 0 0; }
.linklist li { padding: 6px 0; break-inside: avoid; }

/* tables keep their conventions */
.table-wrap { overflow-x: auto; background: var(--surface); margin-top: 24px; border-radius: var(--r); }
table { border-collapse: collapse; width: 100%; font-size: var(--s-note); line-height: 1.4; }
th, td { padding: 10px 12px; text-align: left; vertical-align: top; }
tbody tr:nth-child(even) { background: rgb(255 255 255 / .6); }
th { font-weight: 500; white-space: nowrap; }
td.n { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* product + compare */
.pd { display: grid; grid-template-columns: 1fr 1fr; gap: var(--m); align-items: start; }
.pd > div { min-width: 0; }
.pd .tile { position: sticky; top: 24px; border-radius: 10px; }
.pd .tile img { width: 90%; height: 90%; }
.pd h1 { margin-bottom: 18px; }
.buybox { background: var(--ink); color: var(--dark-ink); padding: clamp(18px, 2.4vw, 28px); margin: 28px 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 28px; align-items: center; border-radius: 10px; }
.buybox .price { font: 300 var(--s-head)/1 var(--sans); letter-spacing: -0.04em; }
.buybox ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.buybox li { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.buybox .small { grid-column: 1 / -1; color: var(--dark-muted); margin: 6px 0 0; }
.sheet { display: grid; grid-template-columns: 1fr 1fr; margin: 0; background: var(--surface); border-radius: var(--r); overflow: hidden; }
.sheet > * { padding: 10px 14px; margin: 0; }
.sheet > :nth-child(4n+1), .sheet > :nth-child(4n+2) { background: rgb(255 255 255 / .6); }
.sheet dd { text-align: right; font-weight: 500; font-variant-numeric: tabular-nums; }
.sheet dd a, .sheet dd small { display: block; font-weight: 400; font-size: var(--s-note); }
.sheet dd a { color: var(--accent); }
.block { margin-top: 56px; }
.block h2, h2.lead-h { font-size: var(--s-lead); font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 14px; }
.meta { margin: 0; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pair .side { padding: clamp(18px, 2.4vw, 32px); background: var(--surface); border-radius: 10px; }
.pair ul { padding-left: 1.1em; margin: 12px 0 20px; }
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 32px; }
.vs .tile img { width: 90%; height: 90%; }
.vs .cap { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; font-weight: 500; }
.disclose { font-size: var(--s-note); color: var(--muted); max-width: 70ch; margin: 18px 0 0; }

/* text pages */
.doc { display: grid; grid-template-columns: 4fr 8fr; gap: var(--m); align-items: start; }
.doc > * { min-width: 0; }
.prose { max-width: 68ch; overflow-wrap: anywhere; }
.prose h2 { font-size: var(--s-lead); font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; margin: 2em 0 .6em; }
.prose li { margin-bottom: .4em; }
.prose a { color: var(--accent); }
pre { background: var(--dark); color: var(--dark-ink); padding: 18px; overflow-x: auto; font: 0.875rem/1.5 ui-monospace, Consolas, monospace; border-radius: var(--r); }
code { font-family: ui-monospace, Consolas, monospace; font-size: .9em; }

/* footer: a single quiet line */
footer { margin-top: var(--gap); padding: 0 var(--m) 30px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px 24px; align-items: baseline; font-size: 0.9375rem; color: var(--muted); }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; color: var(--ink); }
footer nav a { text-decoration: none; }
footer .end { text-align: right; }
main.flush + footer { margin-top: 0; padding-top: 30svh; }

/* motion */
.js .rise { opacity: 0; transform: translateY(24px); transition: opacity .6s, transform .6s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 80ms); }
.js .rise.in { opacity: 1; transform: none; }
.js .meter .bar i { transform: scaleX(0); transition: transform .8s cubic-bezier(.2,.7,.2,1) .15s; }
.js .in .meter .bar i, .js .meter.in .bar i, .js .on .meter .bar i { transform: none; }
.float { animation: open 1s cubic-bezier(.2,.7,.2,1) both .15s; }
@keyframes open { from { transform: translateY(8svh); opacity: 0; } }
.ui-row { animation: row .4s both; animation-delay: calc(var(--i, 0) * 70ms); }
@keyframes row { from { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rise, .js .meter .bar i { opacity: 1; transform: none; transition: none; }
  .float, .ui-row, .art-wrap .art { animation: none; } .tile img, .btn, .pin [data-ui], .step { transition: none; }
}

@media (max-width: 820px) {
  .band { height: 140px; } main { padding-top: 176px; }
  .top nav a.opt { display: none; }
  .hero .say { padding-top: 124px; }
  .hero h1 { font-size: 10vw; }
  .art, .veil, .art-wrap { height: 86svh; }
  .float { margin-top: 36px; }
  .search-ui form { flex-wrap: wrap; } .search-ui .btn { width: 100%; }
  .strip ul { grid-template-columns: 1fr 1fr; }
  .rows .name { font-size: 8.5vw; }
  .rows li a { grid-template-columns: 1fr; } .rows .count { display: none; }
  .inout { grid-template-columns: 1fr; min-height: 0; }
  .inout > div { min-height: 62svh; padding-top: 48px; } .inout h2 { font-size: 11vw; }
  .inout .out { grid-template-rows: auto 1fr; } .inout .out h2 { order: -1; }
  .pinned { display: block; }
  .pin { top: 0; height: 46svh; z-index: 2; padding: 12px; border-radius: 0; margin-inline: calc(var(--m) * -1); }
  .step { min-height: 60svh; } .step h3 { font-size: 1.375rem; }
  .ledger { grid-template-columns: 1fr; gap: 28px; } .ledger dl { grid-column: 1; } .ledger dt { font-size: 15vw; }
  .faq, .doc, .pd, .head { grid-template-columns: 1fr; }
  .faq h2, .pd .tile { position: static; }
  .faq summary { font-size: 1.125rem; min-height: 64px; }
  .open { grid-template-columns: 1fr; gap: 40px; align-items: start; min-height: 84svh; }
  .open h2 { font-size: 13vw; } .dialog { grid-column: 1; }
  .plate { grid-template-columns: 1fr 1fr; gap: 28px 8px; } .plate.three { grid-template-columns: 1fr 1fr; }
  .pair { grid-template-columns: 1fr; }
  .buybox { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr; } footer .end { text-align: left; }
}
