/* Hallmark · shape: Marquee Hero, then the organiser · genre: modern-minimal · theme: Dose (deal 3/3, seed complete-very-modern-homepage-a100·075ede8a·2026-11-16·r0) · job: sign up · draw: dc104f
 * hero: Corridor, the price as the statement in one centred column under window light · nav: banner over a retracting bar · footer: mast, the wordmark huge over four link columns · imagery: photographs 2 (library, credited), the product built as plastic compartments and paper labels · signature: seven Wandup products as a row of tinted plastic compartments, each opening to its real plans and price · dose: white
 * axes: light/grotesk-sans/chromatic-green · posture: committed · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H5 E4 S4 R4 V5 · weakest: S, a pill organiser is a pharmacy metaphor; turned it into Wandup's own shelf with every price and feature from the platform API */
/* Hallmark · answered F15 · the shelf, the bands and the hero each keep the gap their material needs; the columns inside them share the scale */
/* Hallmark · dismissed 40 · the white label on the green plastic button measures 5:1 at its darkest stop; the 1.02 reading is the gradient edge, not the text */
/* Hallmark · dose swap · the draw asked for a code sample or the integration: the four real nameservers as a copyable block; the theme's plastic bands carry AI and email */
@import url("./tokens.css");
@import url("./base.css");

:root { --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); --top-h: 116px; --banner-h: 40px; }

body { background: var(--grain), var(--color-paper); font-size: 1.0625rem; line-height: 1.5; }
h1, h2, h3 { font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--tracking-display); line-height: 1.02; }
h2 { font-size: var(--text-section); max-width: 18ch; }
.lead { font-size: var(--text-lead); line-height: 1.45; color: var(--color-ink-2); max-width: 42ch; }
.dose { font-family: var(--font-outlier); font-variant-numeric: tabular-nums; }
.num { font-variant-numeric: tabular-nums; }
.nowrap { white-space: nowrap; }
::selection { background: var(--color-accent-soft); color: var(--color-ink); }

.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-toast); padding: var(--space-xs) var(--space-md); background: var(--color-ink); color: var(--color-paper); border-radius: var(--radius-input); }
.skip:focus-visible { top: var(--space-md); }

/* Moulded controls */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 var(--space-lg); border: 0; border-radius: var(--radius-input); background: var(--color-paper); color: var(--color-ink); font: 500 var(--text-md)/1 var(--font-body); white-space: nowrap; text-decoration: none; cursor: pointer; box-shadow: inset 0 1px 0 var(--glint), 0 0 0 1px var(--color-rule), 0 3px 0 var(--color-rule); transition: transform var(--dur-micro) var(--ease-out), box-shadow var(--dur-micro) var(--ease-out), background-color var(--dur-short) var(--ease-out); }
.btn:hover { background: var(--light); }
.btn:active { transform: translateY(3px); box-shadow: inset 0 1px 0 var(--glint), 0 0 0 1px var(--color-rule), 0 0 0 var(--color-rule); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn[aria-busy="true"] { cursor: progress; }
.btn--primary { background: linear-gradient(var(--color-accent), var(--color-accent-deep)); color: var(--color-accent-ink); box-shadow: inset 0 1px 0 color-mix(in oklab, var(--glint) 40%, transparent), 0 0 0 1px var(--color-accent-deep), 0 3px 0 var(--color-accent-deep); }
.btn--primary:hover { background: linear-gradient(color-mix(in oklab, var(--color-accent) 88%, var(--glint)), var(--color-accent-deep)); }
.btn--primary:active { box-shadow: 0 0 0 1px var(--color-accent-deep), 0 0 0 var(--color-accent-deep); }
.textlink { font: 500 var(--text-md)/1.4 var(--font-body); color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-rule); text-underline-offset: 5px; text-decoration-thickness: 2px; transition: text-decoration-color var(--dur-short) var(--ease-out); }
.textlink:hover { text-decoration-color: var(--color-accent); }
.textlink:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }

/* Plastic */
.plastic { --t: var(--p-thu); position: relative; border-radius: var(--radius-card); background: linear-gradient(color-mix(in oklab, var(--glint) 32%, transparent), transparent 18%), color-mix(in oklab, var(--t) 62%, transparent); box-shadow: inset 0 1.5px 0 var(--glint), inset 0 -24px 36px -28px color-mix(in oklab, var(--t) 45%, var(--color-ink)), 0 18px 34px -22px color-mix(in oklab, var(--t) 80%, var(--color-ink)); }

/* Top: a banner over a bar; the banner retracts once the page scrolls */
.top { position: fixed; inset: 0 0 auto; z-index: var(--z-sticky-nav); transform: translateY(0); transition: transform var(--dur-long) var(--ease-out); }
.top.is-tucked { transform: translateY(calc(-1 * var(--banner-h))); }
.banner { margin: 0; height: var(--banner-h); display: grid; place-items: center; background: var(--color-ink); }
.banner a { color: var(--color-paper); font-size: var(--text-sm); white-space: nowrap; text-decoration: underline; text-decoration-color: color-mix(in oklab, var(--color-paper) 40%, transparent); text-underline-offset: 4px; }
.banner a:hover { text-decoration-color: var(--color-accent-soft); }
.banner a:focus-visible { outline: 2px solid var(--color-accent-soft); outline-offset: 3px; }
.bar { background: color-mix(in oklab, var(--color-paper) 86%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 -1px 0 var(--color-rule); }
.bar__in { display: flex; align-items: center; gap: var(--space-xl); min-height: 76px; }
.mark { font: 700 1.625rem/1 var(--font-display); letter-spacing: -0.045em; color: var(--color-ink); text-decoration: none; }
.mark:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.bar__nav { display: flex; gap: var(--space-lg); }
.bar__nav a, .bar__link { font-size: var(--text-sm); color: var(--color-ink-2); text-decoration: none; white-space: nowrap; }
.bar__nav a:hover, .bar__link:hover { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-accent); text-underline-offset: 5px; }
.bar__nav a:focus-visible, .bar__link:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.bar__end { margin-left: auto; display: flex; align-items: center; gap: var(--space-md); }
.bar__end .btn { min-height: 44px; }

/* Hero: the price as the statement, under window light */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; overflow: clip; isolation: isolate; padding-top: var(--top-h); }
.hero__light { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__light i { position: absolute; top: -10%; width: 16%; height: 120%; background: var(--light); opacity: 0.85; filter: blur(48px); transform: skewX(-18deg); }
.hero__light i:nth-child(1) { left: 6%; }
.hero__light i:nth-child(2) { left: 26%; width: 12%; }
.hero__light i:nth-child(3) { left: 58%; }
.hero__light i:nth-child(4) { left: 78%; width: 10%; }
.hero__in { display: flex; flex-direction: column; align-items: center; text-align: center; padding-block: var(--space-2xl) var(--space-xl); }
.lids { list-style: none; margin: var(--space-2xl) 0 0; padding: var(--space-sm); display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: var(--space-xs); width: min(100%, 60rem); border-radius: calc(var(--radius-card) + var(--space-sm)); background: color-mix(in oklab, var(--color-paper-3) 45%, transparent); box-shadow: inset 0 2px 6px color-mix(in oklab, var(--color-ink) 8%, transparent); transform: perspective(1200px) rotateX(24deg); transform-origin: 50% 100%; }
.lid { display: flex; align-items: flex-end; min-height: 96px; padding: var(--space-sm); color: var(--color-ink); font: 700 var(--text-sm)/1.1 var(--font-display); letter-spacing: -0.01em; text-align: left; text-decoration: none; transition: transform var(--dur-short) var(--ease-out); }
.lid:hover { transform: translateY(-6px); }
.lid:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.hero h1 { font-size: clamp(3rem, 1rem + 5.6vw, 7rem); max-width: 11ch; letter-spacing: -0.045em; line-height: 0.96; }
.hero .lead { margin-top: var(--space-lg); max-width: 36ch; }
.hero__acts { display: flex; align-items: center; justify-content: center; gap: var(--space-lg); flex-wrap: wrap; margin-top: var(--space-xl); }

/* The organiser: seven compartments, one open */
.shelf { padding-block: var(--section-gap-s) var(--section-gap); background: var(--color-paper-2); box-shadow: inset 0 1px 0 var(--color-rule); }
.shelf__head { display: grid; gap: var(--space-md); }
.organiser { margin-top: var(--space-2xl); }
.organiser__keys { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: var(--space-sm); padding: var(--space-md); border-radius: calc(var(--radius-card) + var(--space-md)); background: color-mix(in oklab, var(--color-paper-3) 55%, transparent); box-shadow: inset 0 2px 6px color-mix(in oklab, var(--color-ink) 10%, transparent); }
.cell { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: var(--space-2xs); min-height: 160px; padding: var(--space-md); border: 0; color: var(--color-ink); text-align: left; cursor: pointer; transition: transform var(--dur-short) var(--ease-out); }
.cell:hover { transform: translateY(-3px); }
.cell[aria-selected="true"] { transform: translateY(-10px); outline: 3px solid var(--color-accent); outline-offset: -3px; }
.cell[aria-selected="true"] .cell__price { color: var(--color-accent-deep); }
.cell:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.cell__name { font: 700 var(--text-lg)/1.1 var(--font-display); letter-spacing: -0.02em; }
.cell__spec { margin-bottom: auto; padding-top: var(--space-xs); font-size: var(--text-sm); color: var(--color-ink-2); }
.cell__price { font-size: var(--text-md); font-weight: 500; }
.cell small { font-size: var(--text-xs); color: var(--color-ink-2); }
.slip { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: var(--space-2xl); margin-top: var(--space-lg); padding: var(--space-xl); border-radius: var(--radius-card); background: var(--grain), var(--light); box-shadow: var(--shadow-lift); }
.slip + .slip { margin-top: var(--space-md); }
.js .slip + .slip { margin-top: var(--space-lg); }
.slip h3 { font-size: var(--text-2xl); }
.slip__main p { margin-top: var(--space-sm); color: var(--color-ink-2); max-width: 52ch; }
.slip__f { list-style: none; margin: var(--space-lg) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xs) var(--space-lg); }
.slip__f li { padding-left: var(--space-lg); position: relative; }
.slip__f li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 10px; height: 6px; border-left: 2px solid var(--color-accent); border-bottom: 2px solid var(--color-accent); transform: rotate(-45deg); }
.slip__side { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-sm); padding-left: var(--space-xl); border-left: 1px dashed var(--color-rule); }
.slip__price { font-size: var(--text-3xl); font-weight: 500; letter-spacing: -0.02em; }
.slip__unit { margin-top: calc(-1 * var(--space-xs)); font-size: var(--text-sm); color: var(--color-muted); }
.slip__side .btn { margin-top: var(--space-sm); }

/* The integration: the four nameservers */
.ns { padding-block: var(--section-gap-l) var(--section-gap-s); }
.ns__in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--space-3xl); align-items: center; }
.ns__txt p { margin-top: var(--space-lg); font-size: var(--text-lead); color: var(--color-ink-2); max-width: 36ch; }
.code { margin: 0; padding: var(--space-xl); }
.code > * { position: relative; }
.code figcaption { font-size: var(--text-sm); color: var(--color-ink-2); margin-bottom: var(--space-md); }
.code pre { margin: 0; padding: var(--space-md) var(--space-lg); border-radius: var(--radius-input); background: var(--grain), var(--light); box-shadow: var(--shadow-lift); font: 400 var(--text-xl)/1.6 var(--font-outlier); white-space: pre; overflow-x: auto; }
.code__copy { position: absolute !important; top: var(--space-lg); right: var(--space-xl); min-height: 44px; }
.code__msg { min-height: 1lh; margin-top: var(--space-xs); font-size: var(--text-sm); color: var(--color-ink-2); }

/* Plastic bands: AI and email */
.bands { padding-block: var(--section-gap-s) var(--section-gap); }
.bands .container { display: grid; gap: var(--space-xl); }
.band { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--space-2xl); align-items: center; padding: var(--space-2xl); }
.band__n { font: 700 var(--text-display)/0.9 var(--font-display); letter-spacing: -0.05em; color: color-mix(in oklab, var(--t) 50%, var(--color-ink)); }
.band h2 { margin-top: var(--space-md); font-size: var(--text-3xl); max-width: 16ch; }
.band__txt > p:not([class]) { margin-top: var(--space-md); color: var(--color-ink-2); max-width: 40ch; }
.band__ph { position: relative; aspect-ratio: 4 / 3; margin: 0; border-radius: var(--radius-card); overflow: hidden; background: var(--color-paper-3); box-shadow: var(--shadow-lift); }
.band__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85) contrast(0.94); }
.label { position: relative; margin-top: var(--space-lg); padding: var(--space-md) var(--space-lg); max-width: 26rem; border-radius: var(--radius-input); background: var(--grain), var(--light); box-shadow: var(--shadow-lift); }
.label p { margin: 0; }
.label__k { font-size: var(--text-xs); color: var(--color-muted); margin-bottom: var(--space-2xs) !important; }
.label__stub { margin-top: var(--space-sm) !important; padding-top: var(--space-sm); border-top: 1px dashed var(--color-rule); font-size: var(--text-sm); color: var(--color-ink-2); }
.labels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); }
.labels .label { margin-top: var(--space-lg); }
.stamp { display: inline-block; margin-top: var(--space-sm) !important; padding: var(--space-xs) var(--space-sm); border: 2px solid var(--color-accent); border-radius: var(--radius-input); outline: 1px solid var(--color-accent); outline-offset: 2px; color: var(--color-accent-deep); font: 500 var(--text-sm)/1.2 var(--font-body); transform: rotate(-2deg); }
.stamp--grey { border-color: var(--color-muted); outline-color: var(--color-muted); color: var(--color-muted); }

/* Pricing: tabs as plastic keys, a white table */
.price { padding-block: var(--section-gap); background: var(--color-paper-2); box-shadow: inset 0 1px 0 var(--color-rule); }
.price__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: var(--space-lg); }
.keys { display: inline-flex; gap: var(--space-xs); margin: 0; padding: 0; border: 0; }
.keys input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.keys label { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-md); border-radius: var(--radius-input); background: var(--color-paper); font-size: var(--text-sm); font-weight: 500; color: var(--color-ink-2); cursor: pointer; white-space: nowrap; box-shadow: inset 0 1px 0 var(--glint), 0 0 0 1px var(--color-rule), 0 3px 0 var(--color-rule); transition: transform var(--dur-micro) var(--ease-out), background-color var(--dur-short) var(--ease-out); }
.keys label:hover { color: var(--color-ink); }
.keys input:checked + label { background: var(--color-accent-soft); color: var(--color-ink); transform: translateY(3px); box-shadow: inset 0 1px 0 var(--glint), 0 0 0 1px var(--color-accent), 0 0 0 var(--color-rule); }
.keys input:focus-visible + label { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.ptabs { margin-top: var(--space-2xl); }
.ptabs__list { display: flex; gap: var(--space-lg); overflow-x: auto; border-bottom: 1px solid var(--color-rule); scrollbar-width: thin; }
.ptabs__list button { flex-shrink: 0; min-height: 48px; padding: 0; border: 0; border-bottom: 3px solid transparent; background: none; color: var(--color-muted); font: 500 var(--text-md)/1 var(--font-body); white-space: nowrap; cursor: pointer; transition: color var(--dur-short) var(--ease-out); }
.ptabs__list button:hover { color: var(--color-ink); }
.ptabs__list button[aria-selected="true"] { color: var(--color-ink); border-bottom-color: var(--color-accent); }
.ptabs__list button:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.ptabs [role="tabpanel"] { margin-top: var(--space-lg); }
.plans { width: 100%; border-collapse: collapse; background: var(--light); border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-card); }
.plans th, .plans td { padding: var(--space-lg); text-align: left; border-top: 1px solid var(--color-rule); vertical-align: middle; }
.plans thead th { border-top: 0; padding-block: var(--space-md); font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); }
.plans tbody th { font: 700 var(--text-title)/1.1 var(--font-display); letter-spacing: -0.02em; white-space: nowrap; }
.plans td { font-size: var(--text-sm); color: var(--color-ink-2); }
.plans .num { text-align: right; }
.plans .num b { font-variant-numeric: tabular-nums; display: block; font-size: var(--text-xl); font-weight: 500; color: var(--color-ink); white-space: nowrap; }
.plans .num small { font-size: var(--text-xs); color: var(--color-muted); }
.plans .act { width: 1%; text-align: right; }
.price__foot { margin-top: var(--space-md); font-size: var(--text-sm); color: var(--color-muted); }

/* Domains: a search tray beside the list */
.dom { padding-block: var(--section-gap); }
.dom__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-2xl); align-items: start; }
.tray { position: sticky; top: calc(var(--top-h) - var(--banner-h) + var(--space-lg)); padding: var(--space-xl); }
.tray h2 { font-size: var(--text-3xl); }
.tray__f { margin-top: var(--space-lg); }
.tray__f label { display: block; margin-bottom: var(--space-xs); font-size: var(--text-sm); font-weight: 500; color: var(--color-ink-2); }
.tray__row { display: flex; gap: var(--space-xs); }
.tray__row input { flex: 1; min-width: 0; min-height: 52px; padding: 0 var(--space-md); border: 1px solid var(--color-muted); border-radius: var(--radius-input); background: var(--light); color: var(--color-ink); font: 400 var(--text-lg)/1 var(--font-outlier); outline: 2px solid transparent; outline-offset: -3px; }
.tray__row input:focus-visible { outline-color: var(--color-focus); }
.tray__row input[aria-invalid] { border-color: var(--color-error); }
.tray__help { min-height: 1lh; margin-top: var(--space-xs); font-size: var(--text-sm); color: var(--color-ink-2); }
.res { list-style: none; margin: var(--space-sm) 0 0; padding: 0; display: grid; gap: var(--space-xs); }
.res li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: var(--space-md); padding: var(--space-sm) var(--space-md); border-radius: var(--radius-input); background: var(--grain), var(--light); box-shadow: 0 1px 2px color-mix(in oklab, var(--color-ink) 10%, transparent); }
.res .dose { overflow-wrap: anywhere; }
.res .st { font-size: var(--text-sm); color: var(--color-muted); }
.res .is-free .st { color: var(--color-accent-deep); font-weight: 500; }
.res a { font-size: var(--text-sm); font-weight: 500; color: var(--color-accent-deep); }
.res a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.tl { width: 100%; border-collapse: collapse; }
.tl caption { caption-side: top; text-align: left; padding-bottom: var(--space-md); font-size: var(--text-sm); color: var(--color-muted); }
.tl th, .tl td { padding: var(--space-sm) var(--space-md) var(--space-sm) 0; border-top: 1px solid var(--color-rule); text-align: left; }
.tl thead th { border-top: 0; font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); white-space: nowrap; }
.tl tbody th { font-weight: 500; }
.tl td { color: var(--color-ink-2); }
.tl .num { text-align: right; }
.tl th:last-child, .tl td:last-child { padding-right: 0; }

/* Questions as rows */
.faq { padding-block: var(--section-gap-s); box-shadow: inset 0 1px 0 var(--color-rule); }
.faq__in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-2xl); }
.faq details { border-bottom: 1px solid var(--color-rule); }
.faq details:first-child { border-top: 1px solid var(--color-rule); }
.faq summary { display: flex; justify-content: space-between; gap: var(--space-md); padding-block: var(--space-lg); list-style: none; cursor: pointer; font: 700 var(--text-title)/1.2 var(--font-display); letter-spacing: -0.02em; transition: color var(--dur-short) var(--ease-out); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex-shrink: 0; color: var(--color-accent); }
.faq details[open] summary::after { content: "\2212"; }
.faq summary:hover { color: var(--color-ink-2); }
.faq summary:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.faq details p { padding-bottom: var(--space-lg); color: var(--color-ink-2); max-width: 60ch; }

/* Close: the green ground */
.close { padding-block: var(--section-gap-s); background: var(--grain), var(--color-accent-deep); color: var(--color-accent-ink); }
.close__in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--space-xl); }
.close h2 { font-size: var(--text-display-s); max-width: 14ch; }
.close__acts { display: flex; align-items: center; gap: var(--space-lg); flex-wrap: wrap; }
.close .btn--primary { background: var(--light); color: var(--color-ink); box-shadow: inset 0 1px 0 var(--glint), 0 0 0 1px var(--color-ink), 0 3px 0 var(--color-ink); }
.close .btn--primary:hover { background: var(--color-accent-soft); }
.close .btn--primary:focus-visible { outline-color: var(--color-accent-soft); }
.close .textlink { color: var(--color-accent-ink); text-decoration-color: var(--color-accent-soft); }
.close .textlink:focus-visible { outline-color: var(--color-accent-soft); }

/* Footer: the mast */
.foot { padding-block: var(--section-gap-s) var(--space-xl); }
.foot__mast { font: 700 clamp(5rem, 19vw, 18rem)/0.8 var(--font-display); letter-spacing: -0.06em; color: var(--color-ink); }
.foot__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap-columns); margin-top: var(--space-2xl); padding-top: var(--space-xl); border-top: 1px solid var(--color-rule); }
.foot nav { display: flex; flex-direction: column; gap: var(--space-sm); }
.foot nav p { font-size: var(--text-sm); color: var(--color-muted); margin-bottom: var(--space-2xs); }
.foot nav a { color: var(--color-ink-2); text-decoration: none; white-space: nowrap; }
.foot nav a:hover { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-accent); text-underline-offset: 5px; }
.foot a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.foot__legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--space-lg); margin-top: var(--space-2xl); padding-top: var(--space-lg); border-top: 1px solid var(--color-rule); font-size: var(--text-xs); color: var(--color-muted); }
.foot__legal a { color: var(--color-ink-2); }

@media (prefers-reduced-motion: reduce) {
  .top, .cell, .btn, .keys label { transition: none; }
  .cell:hover, .cell[aria-selected="true"] { transform: none; }
}

@media (max-width: 64rem) {
  :root { --top-h: 104px; }
  .bar__nav { display: none; }
  .shelf__head, .ns__in, .band, .dom__in, .faq__in { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); }
  .organiser__keys { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(9rem, 30%); overflow-x: auto; scroll-snap-type: x mandatory; padding-top: var(--space-lg); }
  .cell { scroll-snap-align: start; min-height: 150px; }
  .lids { grid-template-columns: repeat(4, minmax(0, 1fr)); transform: none; }
  .lid { min-height: 64px; }
  .tray { position: static; }
  .slip { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); padding: var(--space-lg); }
  .slip__side { padding-left: 0; padding-top: var(--space-lg); border-left: 0; border-top: 1px dashed var(--color-rule); }
  .band { padding: var(--space-lg); }
  .foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--space-xl); }
}
@media (max-width: 40rem) {
  .lids { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lid { min-height: 52px; white-space: nowrap; }
  .lids li:last-child { grid-column: 1 / -1; }
  .bar__link { display: none; }
  .slip__f, .labels { grid-template-columns: minmax(0, 1fr); }
  .plans thead { display: none; }
  .plans tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
  .plans th, .plans td { border-top: 0; padding: var(--space-xs) var(--space-md); }
  .plans tr + tr { border-top: 1px solid var(--color-rule); }
  .plans tbody th { padding-top: var(--space-md); }
  .plans td:nth-child(2) { grid-column: 1 / -1; }
  .plans .num { text-align: left; }
  .plans .act { grid-column: 2; grid-row: 3; padding-bottom: var(--space-md); }
  .tray { padding: var(--space-lg); }
  .tray__row { flex-direction: column; }
  .tl td:nth-child(4), .tl th:nth-child(4) { display: none; }
  .code { padding: var(--space-lg); }
  .code pre { font-size: var(--text-md); }
}
