/*
  The only file that holds colour literals. Each one was sampled from a supplied asset.
    black   brand/LOGO ZIPKIT PNG...png   opaque body pixels (16.76% of canvas)
    white   brand/LOGO ZIPKIT PNG.png     flat field and inner ring (81.2%)
    cream   reference/ZIPKIT 1-6 slides   background (about 76%)
    yellow  brand logo, outer two pills on the left
    blue    brand logo, third pill
    red     brand logo, fourth pill
    green   brand logo, outer two pills on the right
  Every other shade below is a mix of these seven.
*/
:root {
  --brand-black: #000000;
  --brand-white: #fefefe;
  --brand-cream: #fefcf0;
  --brand-yellow: #feda14;
  --brand-blue: #3066fe;
  --brand-red: #fc4138;
  --brand-green: #98f832;

  --warm: color-mix(in srgb, var(--brand-cream) 55%, var(--brand-white));
  --paper: color-mix(in srgb, var(--warm) 97.2%, var(--brand-black));
  --paper-2: color-mix(in srgb, var(--warm) 95%, var(--brand-black));
  --surface: var(--warm);
  --surface-2: color-mix(in srgb, var(--warm) 94%, var(--brand-black));
  --field: var(--brand-white);
  --ink: color-mix(in srgb, var(--brand-black) 84%, var(--brand-cream));
  --ink-2: color-mix(in srgb, var(--brand-black) 70%, var(--brand-cream));
  --ink-3: color-mix(in srgb, var(--brand-black) 57%, var(--brand-cream));
  --edge: color-mix(in srgb, var(--brand-black) 11%, transparent);
  --edge-strong: color-mix(in srgb, var(--brand-black) 21%, transparent);
  --line-soft: color-mix(in srgb, var(--brand-black) 7%, transparent);
  --stripe: color-mix(in srgb, var(--brand-black) 3.5%, transparent);
  --hover: color-mix(in srgb, var(--brand-black) 3.5%, transparent);
  --shadow-color: color-mix(in srgb, var(--brand-black) 9%, transparent);
  --shadow-faint: color-mix(in srgb, var(--brand-black) 5%, transparent);

  --color-accent: var(--brand-blue);
  --accent-glow: color-mix(in srgb, var(--brand-blue) 28%, transparent);
  --up: color-mix(in srgb, var(--brand-green) 45%, var(--brand-black));
  --down: color-mix(in srgb, var(--brand-red) 72%, var(--brand-black));
  --flash-up: color-mix(in srgb, var(--brand-green) 55%, transparent);
  --flash-down: color-mix(in srgb, var(--brand-red) 38%, transparent);

  --yellow: color-mix(in srgb, color-mix(in srgb, var(--brand-yellow) 58%, var(--brand-cream)) 96%, var(--brand-black));
  --blue: color-mix(in srgb, color-mix(in srgb, var(--brand-blue) 40%, var(--brand-cream)) 96%, var(--brand-black));
  --coral: color-mix(in srgb, color-mix(in srgb, var(--brand-red) 40%, var(--brand-cream)) 97%, var(--brand-black));
  --acid: color-mix(in srgb, color-mix(in srgb, var(--brand-green) 44%, var(--brand-cream)) 95%, var(--brand-black));
  --lavender: color-mix(in srgb, color-mix(in srgb, var(--brand-blue), var(--brand-red) 28%) 28%, var(--brand-cream));
  --pink: color-mix(in srgb, var(--brand-red) 24%, var(--brand-cream));
  --mint: color-mix(in srgb, color-mix(in srgb, var(--brand-green), var(--brand-blue) 28%) 40%, var(--brand-cream));
  --orange: color-mix(in srgb, color-mix(in srgb, var(--brand-yellow), var(--brand-red) 40%) 46%, var(--brand-cream));
  --cyan: color-mix(in srgb, color-mix(in srgb, var(--brand-blue), var(--brand-green) 50%) 34%, var(--brand-cream));
  --magenta: color-mix(in srgb, color-mix(in srgb, var(--brand-red), var(--brand-blue) 45%) 36%, var(--brand-cream));
  --tan: color-mix(in srgb, color-mix(in srgb, var(--brand-yellow), var(--brand-black) 28%) 30%, var(--brand-cream));
  --rose: color-mix(in srgb, color-mix(in srgb, var(--brand-red), var(--brand-yellow) 18%) 32%, var(--brand-cream));

  --r-xs: 3px;
  --r-4: 4px;
  --r-md: 5px;
  --r-sm: 6px;
  --r: 10px;
  --r-lg: 14px;
  --r-full: 999px;
  --bw: 1px;
  --sh-sm: 0 1px 2px var(--shadow-faint);
  --sh: 0 1px 2px var(--shadow-faint), 0 4px 14px var(--shadow-faint);
  --sh-lg: 0 2px 4px var(--shadow-faint), 0 12px 28px color-mix(in srgb, var(--brand-black) 8%, transparent);
  --sh-xl: 0 4px 8px var(--shadow-faint), 0 20px 44px var(--shadow-color);
  --dur-fast: 120ms;
  --dur: 180ms;
  --dur-slow: 240ms;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-std: cubic-bezier(.4, 0, .2, 1);
  --ease-pulse: cubic-bezier(.4, 0, .6, 1);
  --sidebar-w: 248px;
  --font: "Inter", "Helvetica Neue", Arial, system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, "JetBrains Mono", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 150px; -webkit-text-size-adjust: 100%; }
body { background: var(--paper); color: var(--ink); font: 400 14px/1.45 var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 8px; top: 8px; z-index: 300; background: var(--yellow); border: var(--bw) solid var(--edge); border-radius: var(--r); padding: 12px 16px; font-weight: 800; }

[data-cat="blue"] { --cat: var(--blue); } [data-cat="coral"] { --cat: var(--coral); } [data-cat="acid"] { --cat: var(--acid); }
[data-cat="lavender"] { --cat: var(--lavender); } [data-cat="yellow"] { --cat: var(--yellow); } [data-cat="pink"] { --cat: var(--pink); }
[data-cat="mint"] { --cat: var(--mint); } [data-cat="orange"] { --cat: var(--orange); } [data-cat="tan"] { --cat: var(--tan); }
[data-cat="rose"] { --cat: var(--rose); } [data-cat="magenta"] { --cat: var(--magenta); } [data-cat="cyan"] { --cat: var(--cyan); }

.label { font: 600 12px/1.45 var(--font); letter-spacing: .01em; color: var(--ink-3); }
.row { display: flex; align-items: center; gap: 10px; }
.spread { justify-content: space-between; }
.wrapline { flex-wrap: wrap; gap: 12px; }
.grow { flex: 1; min-width: 0; }
.gap-b { margin-bottom: 8px; }
kbd { display: inline-block; min-width: 20px; padding: 0 4px; border: var(--bw) solid var(--edge); border-radius: var(--r-xs); background: var(--surface); box-shadow: var(--sh-sm); font: 700 10.5px/16px var(--mono); text-align: center; }
.stripes { background-image: repeating-linear-gradient(-45deg, transparent 0 8px, var(--stripe) 8px 9px); }

.progress { position: fixed; inset: 0 0 auto 0; height: 4px; z-index: 200; pointer-events: none; }
.progress i { display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--brand-yellow) 0 33%, var(--brand-blue) 33% 55%, var(--brand-red) 55% 76%, var(--brand-green) 76%); }

.shell { display: flex; align-items: flex-start; }
.sidebar { position: sticky; top: 0; height: 100vh; height: 100dvh; width: var(--sidebar-w); flex: none; display: flex; flex-direction: column; background: var(--paper-2); border-right: var(--bw) solid var(--edge); }
.side-brand { height: 56px; display: flex; align-items: center; padding: 0 16px; border-bottom: var(--bw) solid var(--edge); flex: none; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 900; font-size: 17px; line-height: 1; letter-spacing: -.04em; text-transform: uppercase; }
.brand img { width: 28px; height: auto; }
.side-search { padding: 12px 12px 8px; }
.search-btn { width: 100%; height: 44px; display: flex; align-items: center; justify-content: space-between; padding: 0 10px; background: var(--field); border: var(--bw) solid var(--edge); border-radius: var(--r-4); box-shadow: var(--sh-sm); font-weight: 600; font-size: 13.5px; transition: box-shadow var(--dur-fast) var(--ease); }
.search-btn:hover { box-shadow: var(--sh); }
.side-nav { flex: 1; min-height: 0; overflow-y: auto; padding: 0 12px 16px; display: flex; flex-direction: column; gap: 2px; }
.side-nav p.label { margin: 20px 0 6px; padding: 0 8px; }
.side-link { flex: none; min-height: 44px; display: flex; align-items: center; gap: 10px; padding: 0 8px; border: 2px solid transparent; border-radius: var(--r-4); font-weight: 700; font-size: 13.5px; transition: background-color var(--dur) var(--ease-std), color var(--dur) var(--ease-std); }
.side-link:hover { background: var(--hover); }
.side-link.on { background: var(--ink); color: var(--paper); }
.side-foot { padding: 10px 12px; border-top: var(--bw) solid var(--edge); }
.side-link.cta { background: var(--yellow); border: var(--bw) solid var(--edge); box-shadow: var(--sh-sm); justify-content: center; }

.column { flex: 1; min-width: 0; }
.topbar { position: sticky; top: 0; z-index: 100; background: var(--surface); border-bottom: var(--bw) solid var(--edge); padding-top: 4px; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 56px; padding: 0 16px; }
.crumb { display: flex; align-items: center; gap: 16px; }
.crumb .tick { width: 1px; height: 16px; background: var(--edge-strong); }
.hint { font-size: 12px; font-weight: 600; }
.bar-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.socials { display: flex; gap: 8px; }
.social { width: 44px; height: 44px; display: grid; place-items: center; background: var(--surface); border: var(--bw) solid var(--edge); border-radius: var(--r-4); box-shadow: var(--sh-sm); flex: none; }
.social.is-inert { color: var(--ink-3); box-shadow: none; border-style: dashed; cursor: default; }
.pill { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border: var(--bw) solid var(--edge); border-radius: var(--r-sm); background: var(--mint); font: 600 12px/1 var(--font); white-space: nowrap; }
.pill i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--brand-white); border: 1.5px solid var(--ink); }
.pill i::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid var(--ink); opacity: 0; }
.pill[data-tone="wait"] { background: var(--yellow); }
.pill[data-tone="bad"] { background: var(--coral); }
.motion .pill i::after { animation: ping 2s var(--ease-pulse) infinite; }
@keyframes ping { 0% { opacity: .8; transform: scale(.5); } 70%, 100% { opacity: 0; transform: scale(1.5); } }

.ca-bar { padding: 0 16px 10px; }
.ca { width: 100%; min-height: 52px; display: flex; align-items: center; gap: 12px; padding: 8px 14px; text-align: left; background: var(--yellow); border: var(--bw) solid var(--edge); border-radius: var(--r); box-shadow: var(--sh-sm); transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease); }
.ca:not(:disabled):hover { transform: translateY(-1px); box-shadow: var(--sh); }
.ca:not(:disabled):active { transform: translateY(0); box-shadow: var(--sh-sm); }
.ca:disabled { background: var(--field); border: var(--bw) dashed var(--edge-strong); box-shadow: none; color: var(--ink-2); }
.ca-value { flex: 1; min-width: 0; font: 800 24px/1.2 var(--mono); letter-spacing: -.02em; overflow-wrap: anywhere; }
.ca-hint { flex: none; font: 600 12px/1 var(--font); border: var(--bw) solid var(--edge); border-radius: var(--r-xs); background: var(--surface); padding: 6px 8px; }
.ca.copied .ca-hint { background: var(--acid); }
.motion .ca.copied .ca-hint { animation: pop-in var(--dur) var(--ease); }

.wrap { max-width: 1320px; margin: 0 auto; padding: 24px 16px 112px; display: flex; flex-direction: column; gap: 64px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 14px; background: var(--surface); border: var(--bw) solid var(--edge); border-radius: var(--r); box-shadow: var(--sh-sm); font-size: 13px; font-weight: 650; white-space: nowrap; transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease); }
.btn:hover { transform: translateY(-1px); box-shadow: var(--sh); }
.btn:active { transform: translateY(0); box-shadow: var(--sh-sm); }
.btn-lg { min-height: 46px; padding: 0 20px; font-size: 15px; font-weight: 800; }
.btn-dark { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn-cat { background: var(--cat); }
.press { transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease); }
.press:hover { transform: translateY(-1px); box-shadow: var(--sh-lg); }
.press:active { transform: translateY(0); box-shadow: var(--sh-sm); }

.spot { position: relative; isolation: isolate; }
.spot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), var(--accent-glow), transparent 70%); transition: opacity var(--dur-slow) var(--ease); z-index: 1; }
@media (hover: hover) { .spot:hover::after { opacity: .7; } }

.card { position: relative; background: var(--surface); border: var(--bw) solid var(--edge); border-radius: var(--r-lg); box-shadow: var(--sh); }
.card.flat { box-shadow: none; }
.lift { transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease); }
@media (hover: hover) {
  .lift:hover { transform: translateY(-1px); box-shadow: var(--sh-lg); }
  .lift:hover .glyph { transform: rotate(-6deg); }
  .lift:hover .arrow, .more:hover span, .list-card li:hover > span:last-child { transform: translateX(4px); }
  .quick-tile:hover .glyph, .browse-tile:hover .glyph { transform: rotate(-6deg); }
}
.glyph { flex: none; display: inline-grid; place-items: center; width: 20px; height: 20px; background: var(--cat); border: var(--bw) solid var(--edge); border-radius: var(--r-xs); font: 800 10px/1 var(--mono); transition: transform var(--dur) var(--ease); }
.glyph.md { width: 32px; height: 32px; border-width: 2px; border-radius: var(--r-md); font-size: 13px; }
.glyph.lg { width: 40px; height: 40px; border-width: 2px; border-radius: var(--r-sm); font-size: 15px; }
.tag { display: inline-block; padding: 0 4px; border: var(--bw) solid var(--edge); border-radius: var(--r-xs); font: 600 9.5px/16px var(--font); color: var(--ink-2); white-space: nowrap; }
.tag.solid { padding: 3px 8px; border-radius: var(--r-sm); background: var(--surface); font-size: 11px; }

/* hero */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; isolation: isolate; }
.mesh, .floats { position: absolute; inset: -24px -16px; pointer-events: none; z-index: -1; overflow: hidden; }
.mesh i { position: absolute; width: 62%; aspect-ratio: 1; border-radius: 50%; opacity: .34; }
.mesh i:nth-child(1) { left: -18%; top: -14%; background: radial-gradient(circle, var(--brand-yellow), transparent 65%); }
.mesh i:nth-child(2) { right: -16%; top: 8%; background: radial-gradient(circle, var(--blue), transparent 65%); }
.mesh i:nth-child(3) { left: 24%; bottom: -22%; background: radial-gradient(circle, var(--acid), transparent 65%); }
.motion .mesh i { animation: drift 18s ease-in-out infinite alternate; }
.motion .mesh i:nth-child(2) { animation-duration: 23s; animation-delay: -6s; }
.motion .mesh i:nth-child(3) { animation-duration: 29s; animation-delay: -11s; }
@keyframes drift { to { transform: translate3d(8%, 6%, 0) scale(1.14); } }
.floats i { position: absolute; height: 14px; border-radius: var(--r-full); opacity: .75; translate: var(--px, 0) var(--py, 0); }
.floats .f1 { width: 44px; left: 4%; top: 1%; background: var(--brand-yellow); }
.floats .f2 { width: 70px; left: 46%; top: 3%; background: var(--brand-blue); }
.floats .f3 { width: 62px; right: 3%; top: 46%; background: var(--brand-red); }
.floats .f4 { width: 40px; left: 52%; bottom: 8%; background: var(--brand-green); }
.floats .f5 { width: 34px; right: 22%; bottom: 1%; background: var(--brand-yellow); }
.hero-left { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; min-width: 0; }
.dot { width: 10px; height: 10px; border: var(--bw) solid var(--edge); border-radius: 50%; background: var(--mint); }
.badge { border: var(--bw) solid var(--edge); border-radius: var(--r-full); background: var(--surface); padding: 2px 10px; font: 600 12px/1.45 var(--font); color: var(--ink-2); }
h1 { margin-top: 16px; font-size: 42px; line-height: .95; font-weight: 800; letter-spacing: -.04em; }
h1 .sub { display: inline-block; margin-top: 8px; font-size: .6em; font-weight: 700; letter-spacing: -.03em; }
.mark { display: inline-block; background: var(--cat); color: var(--brand-black); border-radius: .18em; padding: 0 .14em; }
.aside { margin-top: 12px; max-width: 34rem; font-size: 15px; line-height: 1.625; color: var(--ink-3); }
.lead { margin-top: 20px; max-width: 34rem; font-size: 16px; line-height: 1.375; font-weight: 500; }
.lead b { font-weight: 900; }
.actions { margin-top: 20px; }
.drop { display: flex; flex-direction: column; justify-content: space-between; gap: 12px; min-height: 220px; padding: 16px; background-color: color-mix(in srgb, var(--cat) 20%, var(--surface)); border: var(--bw) solid var(--edge-strong); border-radius: var(--r-lg); box-shadow: var(--sh); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background-color var(--dur) var(--ease); }
.drop.over { background-color: color-mix(in srgb, var(--cat) 48%, var(--surface)); transform: translateY(-1px); box-shadow: var(--sh-lg); }
.drop .top { align-items: flex-start; }
.drop-icon { width: 76px; height: 76px; display: grid; place-items: center; background: var(--surface); border: var(--bw) solid var(--edge); border-radius: var(--r); box-shadow: var(--sh); font-size: 40px; font-weight: 600; transform: rotate(-4deg); transition: transform var(--dur) var(--ease); }
.drop.over .drop-icon { transform: rotate(0) translateY(4px) scale(1.06); }
.motion .drop:hover .drop-icon { animation: wiggle .5s var(--ease-std); }
@keyframes wiggle { 25% { transform: rotate(-7deg); } 75% { transform: rotate(3deg); } }
.drop-title { font-size: 28px; line-height: .95; font-weight: 800; letter-spacing: -.035em; }
.drop-sub { margin-top: 8px; font-size: 17px; font-weight: 700; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tags li { padding: 2px 8px; background: var(--surface); border: var(--bw) solid var(--edge); border-radius: var(--r-sm); font: 600 11px/1.5 var(--font); color: var(--ink-2); }
.readout { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; padding: 12px; background: var(--surface); border: var(--bw) solid var(--edge); border-radius: var(--r); font: 600 12px/1.5 var(--mono); }
.readout dd { overflow-wrap: anywhere; }
.local-note { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; }
.local-note::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--mint); border: var(--bw) solid var(--edge); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 36rem; border-block: var(--bw) solid var(--edge); }
.stats div { display: flex; flex-direction: column; padding: 12px 0; }
.stats div + div { border-left: var(--bw) solid var(--edge); padding-left: 16px; }
.stats dd { font: 800 34px/1 var(--mono); letter-spacing: -.025em; }
.hero-right { display: flex; flex-direction: column; min-width: 0; align-self: start; width: 100%; overflow: hidden; }
.banner { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 12px 16px; border-bottom: var(--bw) solid var(--edge); transition: background-color var(--dur) var(--ease-std); }
.banner img { width: 28px; height: 33px; }
.banner b { display: block; font-size: 13px; font-weight: 700; }
.banner small { display: block; font-size: 13px; color: var(--ink-3); }
.movers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--edge); border-block: var(--bw) solid var(--edge); }
.mover { display: flex; align-items: center; gap: 12px; height: 100%; min-height: 72px; padding: 12px 16px; background: var(--surface); transition: background-color var(--dur) var(--ease-std); }
.mover b { display: block; font-size: 13px; font-weight: 700; line-height: 1.45; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mover small { display: block; font: 600 12px/1.375 var(--mono); }
.mover .logo-box { width: 40px; height: 40px; }
.movers > li:only-child { grid-column: span 2; background: var(--surface); padding: 16px; }
.slot { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 16px; row-gap: 6px; padding: 20px; background: color-mix(in srgb, var(--cat) 45%, var(--surface)); }
.panel-label { padding: 12px 16px 8px; }
.slot-logo { grid-row: span 3; width: 84px; height: auto; }
.slot-title { font-size: 28px; line-height: .95; font-weight: 800; letter-spacing: -.035em; }
.slot-note { font-size: 13px; line-height: 1.375; font-weight: 500; }
.motion .slot-logo { animation: bob 5s ease-in-out infinite alternate; }
@keyframes bob { to { transform: translateY(-6px) rotate(-3deg); } }

/* ticker */
.ticker { overflow: hidden; border-block: var(--bw) solid var(--edge); background: var(--surface); margin-block: -24px; }
.ticker-track { display: flex; width: max-content; }
.motion .ticker-track.run { animation: marquee 48s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
html:not(.motion) .ticker { overflow-x: auto; }
@keyframes marquee { to { transform: translateX(-50%); } }
.tick-item { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 20px; font: 600 12px/1 var(--mono); white-space: nowrap; }
.tick-item .logo-box { width: 22px; height: 22px; font-size: 11px; }
.ticker .up { color: var(--up); } .ticker .down { color: var(--down); }

.chips { display: flex; gap: 8px; overflow-x: auto; margin: 0 -16px -32px; padding: 2px 16px 6px; }
.chip { flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 56px; min-height: 44px; padding: 2px 12px; background: var(--surface); border: var(--bw) solid var(--edge); border-radius: var(--r); font-size: 12px; font-weight: 650; transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease); }
.chip:active { transform: translate(1px, 1px); }

.title-rule { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; min-height: 44px; }
.h-sm { font-size: 24px; line-height: 1; font-weight: 800; letter-spacing: -.03em; }
.rule { flex: 1; height: 1px; background: var(--edge); }
.text-btn { min-width: 44px; min-height: 44px; background: none; border: 0; font-size: 12px; font-weight: 600; }
.text-btn:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.quick { display: flex; gap: 12px; overflow-x: auto; margin: 0 -16px; padding: 4px 16px 12px; }
.quick li { flex: none; }
.quick-tile { display: flex; align-items: center; gap: 12px; width: 210px; height: 100%; min-height: 60px; padding: 8px 12px 8px 8px; background: var(--surface); border: var(--bw) solid var(--edge); border-radius: var(--r); box-shadow: var(--sh-sm); }
.quick-tile b { font-size: 14px; line-height: 1.25; font-weight: 800; }
.duo { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.empty { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px; min-height: 180px; padding: 24px; border: var(--bw) dashed var(--edge-strong); }
.empty p, .pins p { max-width: 28rem; }
.strong { font-size: 18px; font-weight: 700; }
.pins { display: flex; flex-direction: column; gap: 8px; padding: 24px; }
.drops { width: 100%; }
.drops li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: var(--bw) solid var(--line-soft); font-weight: 600; }
.drops li span:first-child { min-width: 0; overflow-wrap: anywhere; }

/* board */
.board { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.h-xl { margin-top: 8px; font-size: 40px; line-height: .9; font-weight: 800; letter-spacing: -.045em; }
.blurb { margin-top: 10px; max-width: 36rem; font-size: 16px; line-height: 1.375; font-weight: 500; }
.board-intro .blurb { max-width: 20rem; font-size: 15px; }
.feed-error { margin-top: 12px; padding: 10px 12px; background: var(--coral); border: var(--bw) solid var(--edge); border-radius: var(--r); font-weight: 600; max-width: 20rem; }
.board-list { padding: 8px; min-width: 0; }
.mrow { display: grid; grid-template-columns: 32px 36px minmax(0, 1fr) auto; grid-template-areas: "rank logo who price" "rank logo who change" ". volume volume liquidity"; align-items: center; column-gap: 12px; row-gap: 2px; min-height: 59px; padding: 10px 8px; border-radius: var(--r-4); border-left: 2px solid transparent; transition: background-color var(--dur) var(--ease-std); }
a.mrow:hover { background-color: var(--hover); }
.rows-in li + li, .own-wrap { border-bottom: var(--bw) solid var(--line-soft); }
.rank { grid-area: rank; font: 800 20px/1 var(--mono); color: var(--ink-3); font-variant-numeric: tabular-nums; }
a.mrow:hover .rank { color: var(--ink); }
.mrow > .logo-box { grid-area: logo; }
.who { grid-area: who; min-width: 0; }
.who b { display: block; font-size: 14.5px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.who small { display: block; font-size: 12px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m { display: flex; justify-content: flex-end; align-items: baseline; gap: 6px; font: 600 12px/1.4 var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.m small { font: 600 10.5px/1.4 var(--font); color: var(--ink-3); }
.m b { border-radius: var(--r-sm); padding: 0 3px; }
.m.price { grid-area: price; font-size: 13px; } .m.price small, .m.change small { display: none; }
.m.change { grid-area: change; } .m.volume { grid-area: volume; justify-content: flex-start; } .m.liquidity { grid-area: liquidity; }
.up { color: var(--up); } .down { color: var(--down); }
.motion .flash-up { animation: flash-up 900ms var(--ease-std); }
.motion .flash-down { animation: flash-down 900ms var(--ease-std); }
@keyframes flash-up { 20% { background: var(--flash-up); } }
@keyframes flash-down { 20% { background: var(--flash-down); } }
.logo-box { position: relative; flex: none; width: 36px; height: 36px; display: grid; place-items: center; overflow: hidden; background: var(--cat, var(--yellow)); border: var(--bw) solid var(--edge); border-radius: var(--r-md); color: var(--brand-black); font: 800 15px/1 var(--mono); }
.logo-box img { width: 100%; height: 100%; object-fit: cover; }
#own-logo { background: var(--brand-white); }
#own-logo img { object-fit: contain; padding: 2px; }
.own { border-left: 2px solid var(--color-accent); isolation: isolate; }
.own::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, var(--accent-glow), transparent 75%); opacity: .25; pointer-events: none; z-index: -1; animation: ownPulse 2s cubic-bezier(.4, 0, .6, 1) infinite; }
@keyframes ownPulse { 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .own::before { animation: none; } }
div.own { cursor: default; }
.sk { position: relative; display: block; overflow: hidden; background: var(--surface-2); border-radius: var(--r-sm); }
.motion .sk { animation: pulse 2s var(--ease-pulse) infinite; }
@keyframes pulse { 50% { opacity: .5; } }
.sk-logo { grid-area: logo; flex: none; width: 36px; height: 36px; border-radius: var(--r-md); }
.sk-a { width: 70%; height: 12px; margin-bottom: 6px; } .sk-b { width: 45%; height: 10px; }
.sk-c { grid-area: price; width: 64px; height: 12px; }

.browse { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.browse-tile { display: flex; flex-direction: column; gap: 12px; height: 100%; padding: 12px; background: var(--surface); border: var(--bw) solid var(--edge); border-radius: var(--r-lg); box-shadow: var(--sh-sm); }
.browse-tile b { font-size: 14px; line-height: 1.25; font-weight: 700; }
.mono-num { font: 800 18px/1 var(--mono); }

/* shelves */
.shelf-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 32px; margin-bottom: 24px; position: relative; }
.shelf-head .grow { min-width: 220px; }
.num { padding: 0 4px; border: var(--bw) solid var(--edge); border-radius: var(--r-xs); background: var(--cat); color: var(--brand-black); }
.shelf-count { display: flex; align-items: flex-end; gap: 12px; min-height: 44px; text-align: right; }
.shelf-count > span:first-child { display: flex; flex-direction: column; }
.big-num { font: 800 44px/1 var(--mono); letter-spacing: -.025em; }
.square { width: 44px; height: 44px; display: grid; place-items: center; background: var(--surface); border: var(--bw) solid var(--edge); border-radius: var(--r-4); box-shadow: var(--sh-sm); font-size: 18px; font-weight: 800; color: var(--ink); }
.feature { display: flex; flex-direction: column; min-width: 0; min-height: 300px; overflow: hidden; }
.card-bar { display: flex; justify-content: space-between; padding: 10px 16px; border-bottom: var(--bw) solid var(--edge); }
.stage { flex: 1; min-height: 150px; display: flex; align-items: center; justify-content: center; padding: 24px; border-bottom: var(--bw) solid var(--edge); background-color: color-mix(in srgb, var(--cat) 22%, var(--surface)); }
.card-body { display: flex; flex-direction: column; gap: 6px; padding: 16px; }
.card-body .row { gap: 12px; }
h3 { font-size: 21px; line-height: 1; font-weight: 800; letter-spacing: -.025em; }
.card-body p { font-size: 14px; line-height: 1.375; color: var(--ink-2); }
.card-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; font-weight: 600; }
.arrow { transition: transform var(--dur) var(--ease); }
.mini { display: flex; flex-direction: column; gap: 12px; min-width: 0; min-height: 148px; padding: 16px; }
.mini > div:last-child { margin-top: auto; }
.mini .row { align-items: flex-start; }
h4 { font-size: 16px; line-height: 1.1; font-weight: 700; letter-spacing: -.02em; }
.mini p { margin-top: 4px; font-size: 13px; line-height: 1.375; color: var(--ink-2); }
.side-intro { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.mosaic, .thirds, .trio, .side-grid, .side { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.side { gap: 24px; }
.quad { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 20px; }
.more { display: flex; align-items: center; justify-content: space-between; min-height: 72px; padding: 16px; border: var(--bw) solid var(--edge); border-radius: var(--r-lg); background-color: color-mix(in srgb, var(--cat) 35%, var(--surface)); box-shadow: var(--sh); font-weight: 700; }
.more span { transition: transform var(--dur) var(--ease); }
.compact { display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 72px; padding: 10px 12px 10px 10px; }
.compact h4 { font-size: 13.5px; font-weight: 800; letter-spacing: -.01em; }
.compact p { font-size: 12px; line-height: 1.375; color: var(--ink-3); }
.compact .tag { margin-left: auto; align-self: flex-start; }
.grid3, .grid4 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.accent { background: var(--cat); overflow: hidden; padding: 20px; }
.watermark { position: absolute; right: -24px; bottom: -64px; font: 900 200px/1 var(--mono); letter-spacing: -.05em; opacity: .08; pointer-events: none; user-select: none; }
.accent .thirds, .accent .quad { position: relative; }
.list-card { display: flex; flex-direction: column; padding: 16px 8px; }
.list-card li, .ink-side li { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px; border-radius: var(--r-4); transition: background-color var(--dur) var(--ease-std); }
.list-card li:hover, .ink-side li:hover, .banner:hover, a.mover:hover { background-color: color-mix(in srgb, var(--brand-black) 3.5%, var(--surface)); }
.list-card li > span:last-child { transition: transform var(--dur) var(--ease); }
li b { font-weight: 800; }
.list-card b, .ink-side b { display: block; font-size: 14px; }
.list-card small, .ink-side small { display: block; font-size: 12px; color: var(--ink-3); }
.shelf-head.stacked { flex-direction: column; align-items: flex-start; margin: 0; align-self: start; }
.shelf-head.stacked .grow { flex: none; }
.rail { display: grid; grid-auto-flow: column; grid-template-rows: repeat(2, auto); grid-auto-columns: max-content; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; margin: 0 -16px; padding: 4px 16px 16px; }
.rail > * { scroll-snap-align: start; }
.rail-big { grid-row: span 2; width: 300px; }
.rail-mini { width: 240px; }
.ink-card { display: grid; grid-template-columns: minmax(0, 1fr); overflow: hidden; background: var(--ink); color: var(--paper); }
.ink-main { padding: 24px; }
.ink-main .label { color: var(--paper); }
.h-ink { margin-top: 12px; font-size: 44px; line-height: .9; font-weight: 800; letter-spacing: -.045em; }
.ink-card .num { border-color: var(--paper); }
.points { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 32px; }
.points li { display: flex; gap: 12px; }
.points .glyph { color: var(--brand-black); width: 36px; height: 36px; border-radius: var(--r-sm); }
.points b { display: block; }
.points small { display: block; font-size: 13px; opacity: .8; }
.ink-main .btn { margin-top: 32px; color: var(--brand-black); border-color: var(--edge); }
.ink-side { padding: 20px; background: var(--surface); color: var(--ink); }
.ink-side .label { margin-bottom: 8px; }

/* illustrations */
.art-canvas { display: flex; align-items: center; gap: 12px; width: 100%; height: 100%; }
.frame { position: relative; flex: 1; align-self: stretch; min-height: 130px; overflow: hidden; background: var(--cat); border: var(--bw) solid var(--ink); border-radius: var(--r-xs); }
.sun { position: absolute; right: 14%; top: 18%; width: 40px; height: 40px; border-radius: 50%; background: var(--brand-yellow); border: var(--bw) solid var(--ink); }
.hill { position: absolute; inset: 55% 0 0 0; background: var(--surface); clip-path: polygon(0 40%, 25% 0, 50% 55%, 70% 25%, 100% 70%, 100% 100%, 0 100%); }
.knobs { width: 34%; display: flex; flex-direction: column; gap: 14px; }
.knobs i { position: relative; height: 6px; background: var(--surface); border: 1.5px solid var(--ink); border-radius: var(--r-full); }
.knobs i::after { content: ""; position: absolute; top: -5px; left: 62%; width: 12px; height: 12px; background: var(--cat); border: 1.5px solid var(--ink); border-radius: var(--r-sm); }
.knobs i:nth-child(2)::after { left: 30%; } .knobs i:nth-child(3)::after { left: 76%; }
.win { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 4px; width: 160px; min-height: 96px; padding: 8px; background: var(--surface); border: var(--bw) solid var(--edge); border-radius: var(--r); box-shadow: var(--sh); }
.win b { width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }
.win i { width: 100%; height: 6px; margin-top: 6px; border-radius: var(--r-sm); background: var(--ink-3); }
.win i:last-child { width: 62%; }
.sheet { display: flex; align-items: flex-end; justify-content: center; background: var(--surface); border: var(--bw) solid var(--ink); border-radius: var(--r-xs); font: 900 11px/2 var(--mono); }
.art-shrink { display: flex; align-items: flex-end; gap: 12px; }
.art-shrink em { font: 900 18px/1 var(--mono); }
.sheet.tall { width: 64px; height: 80px; } .sheet.short { width: 44px; height: 40px; background: var(--cat); }
.art-sign .sheet { flex-direction: column; justify-content: flex-end; width: 144px; height: 80px; padding: 8px; }
.art-sign i { width: 100%; height: 2px; background: var(--ink); }
.art-sign span { align-self: flex-start; font-size: 9px; text-transform: uppercase; }
.art-stack { position: relative; width: 120px; height: 104px; }
.art-stack i { position: absolute; width: 76px; height: 88px; background: var(--surface); border: var(--bw) solid var(--ink); border-radius: var(--r-xs); }
.art-stack i:nth-child(2) { left: 20px; top: 8px; } .art-stack i:nth-child(3) { left: 40px; top: 16px; background: var(--cat); }
.art-split { display: flex; align-items: center; gap: 12px; }
.art-split i { width: 56px; height: 84px; background: var(--surface); border: var(--bw) solid var(--ink); border-radius: var(--r-xs); }
.art-split em { height: 100px; border-left: 3px dashed var(--ink); }
.art-table { display: grid; grid-template-columns: repeat(4, 44px); grid-auto-rows: 22px; gap: 2px; padding: 2px; background: var(--ink); border-radius: var(--r-xs); }
.art-table i { background: var(--surface); } .art-table i:nth-child(-n+4) { background: var(--cat); }
.art-code { display: flex; flex-direction: column; gap: 8px; width: 180px; padding: 14px; background: var(--surface); border: var(--bw) solid var(--ink); border-radius: var(--r-xs); }
.art-code i { height: 7px; width: 80%; background: var(--ink-3); border-radius: var(--r-sm); }
.art-code i:nth-child(2) { width: 55%; margin-left: 16px; background: var(--color-accent); } .art-code i:nth-child(3) { width: 66%; margin-left: 16px; } .art-code i:nth-child(4) { width: 30%; }
.art-wave { display: flex; align-items: center; gap: 5px; height: 90px; }
.art-wave i { width: 8px; height: 30%; background: var(--surface); border: 1.5px solid var(--ink); border-radius: var(--r-full); }
.art-wave i:nth-child(3n) { height: 75%; background: var(--cat); } .art-wave i:nth-child(4n) { height: 100%; } .art-wave i:nth-child(5n) { height: 55%; }
.art-swatch { display: flex; }
.art-swatch i { width: 44px; height: 80px; border: var(--bw) solid var(--ink); background: var(--brand-yellow); }
.art-swatch i + i { margin-left: -2px; } .art-swatch i:nth-child(2) { background: var(--brand-blue); } .art-swatch i:nth-child(3) { background: var(--brand-red); } .art-swatch i:nth-child(4) { background: var(--brand-green); }
.art-blend i { display: block; width: 180px; height: 84px; border: var(--bw) solid var(--ink); border-radius: var(--r-lg); background: linear-gradient(110deg, var(--brand-yellow), var(--brand-red), var(--brand-blue)); }

.foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding-top: 24px; border-top: var(--bw) solid var(--edge); }
.foot img { width: 64px; height: 64px; object-fit: cover; transform: scale(1.5); }
.foot-word { font-size: 28px; line-height: 1; font-weight: 800; letter-spacing: -.04em; }
.foot-line { font-weight: 500; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 4px 8px; margin-left: auto; }
.foot-nav a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 4px; font-size: 12px; font-weight: 600; }
.foot-nav a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.foot-meta { width: 100%; font-weight: 500; }
.breakable { overflow-wrap: anywhere; }

.dock { position: fixed; inset: auto 0 0 0; z-index: 90; display: flex; height: calc(64px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: var(--surface); border-top: var(--bw) solid var(--edge); }
.dock > * { position: relative; flex: 1; min-width: 44px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; background: none; border: 0; font-size: 11px; font-weight: 700; }
.dock .on::after { content: ""; position: absolute; left: 12px; right: 12px; top: 0; height: 4px; background: var(--ink); }
.dock-key { width: 36px; height: 36px; display: grid; place-items: center; background: var(--yellow); border: var(--bw) solid var(--edge); border-radius: var(--r-4); box-shadow: var(--sh-sm); font: 800 16px/1 var(--mono); }
.dock [data-search] { font-size: 0; }

.finder { margin: 11vh auto auto; width: min(94vw, 720px); max-height: 76vh; padding: 0; background: var(--surface); color: var(--ink); border: var(--bw) solid var(--edge); border-radius: var(--r-lg); box-shadow: var(--sh-xl); }
.finder::backdrop, .drawer::backdrop { background: color-mix(in srgb, var(--brand-black) 45%, transparent); }
.motion .finder[open]::backdrop, .motion .drawer[open]::backdrop { animation: fade-in var(--dur) var(--ease); }
.motion .finder[open] { animation: pop-in var(--dur) var(--ease); }
.finder form { position: sticky; top: 0; display: flex; gap: 8px; padding: 12px; background: var(--surface); border-bottom: var(--bw) solid var(--edge); }
.finder input { flex: 1; min-width: 0; min-height: 44px; padding: 0 12px; background: var(--field); border: var(--bw) solid var(--edge); border-radius: var(--r); transition: box-shadow var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease); }
.finder input:focus { box-shadow: 3px 3px 0 var(--color-accent); outline: none; }
.motion .finder li { animation: rise-in var(--dur-slow) var(--ease) both; animation-delay: calc(40ms + var(--i, 0) * 30ms); }
.finder ul { padding: 8px; }
.finder a { display: flex; justify-content: space-between; gap: 12px; align-items: center; min-height: 44px; padding: 0 10px; border-radius: var(--r-sm); font-weight: 600; }
.finder a:hover { background: var(--surface-2); }
@keyframes pop-in { from { opacity: 0; transform: translate(4px, 4px); } }
@keyframes fade-in { from { opacity: 0; } }

.drawer { margin: auto 0 0; width: 100%; max-width: none; max-height: 80vh; padding: 16px; background: var(--surface); color: var(--ink); border: var(--bw) solid var(--edge); border-bottom: 0; border-radius: var(--r-lg) var(--r-lg) 0 0; box-shadow: var(--sh-xl); }
.drawer .spread { margin-bottom: 12px; }
.drawer ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.drawer ul a { width: 100%; justify-content: flex-start; padding: 2px 10px; }
.motion .drawer[open] { animation: sheet-up var(--dur-slow) var(--ease); }
@keyframes sheet-up { from { transform: translateY(100%); } }

.motion [data-reveal]:not(.shown) { opacity: 0; }
.motion .rise-in { animation: rise-in var(--dur-slow) var(--ease) both; animation-delay: calc(var(--i, 0) * 60ms); }
@keyframes rise-in { from { opacity: 0; transform: translateY(10px); } }

.desk-only, .sidebar { display: none; }
@media (max-width: 479px) {
  .m small { letter-spacing: 0; }
  .floats .f2 { display: none; }
  .floats .f1 { top: 4px; }
  .ca-value { font-size: 17px; }
  .ca-key { display: none; }
  .pill span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .pill { width: 32px; justify-content: center; padding: 0; }
}
@media (min-width: 480px) { .ca-value { font-size: 20px; } }
@media (min-width: 640px) {
  h1 { font-size: 60px; }
  .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quad { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .browse { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats dd { font-size: 42px; }
  .mrow { grid-template-columns: 32px 36px minmax(0, 1fr) 96px 72px 80px 80px; grid-template-areas: "rank logo who price change volume liquidity"; }
  .m { flex-direction: column; align-items: flex-end; gap: 0; }
  .m.price small, .m.change small { display: block; }
  .m.volume { justify-content: center; align-items: flex-end; }
}
@media (min-width: 768px) {
  .sidebar { display: flex; }
  .desk-only { display: flex; }
  .mobile-brand, .dock, .chips, .drawer { display: none; }
  .bar { padding: 0 40px; }
  .ca-bar { padding: 0 40px 10px; }
  .ca-value { font-size: 22px; }
  .wrap { gap: 96px; padding: 40px 40px 96px; }
  .ticker { margin-block: -48px; }
  .mesh, .floats { inset: -40px; }
  .lead { font-size: 17px; }
  .drop { padding: 20px; }
  .drop-title { font-size: 34px; }
  .h-xl { font-size: 52px; }
  .aside { font-size: 15px; }
  .h-ink { font-size: 64px; }
  .ink-main { padding: 40px; }
  .ink-side { padding: 24px; }
  .accent { padding: 32px; }
  .watermark { font-size: 260px; }
  .quick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 4px 0 0; overflow: visible; }
  .quick-tile { width: auto; }
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-card { grid-column: span 2; }
  .thirds { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rail { margin: 0 -40px; padding-inline: 40px; scroll-padding-inline: 40px; }
  .rail-big { width: 320px; }
}
@media (min-width: 1024px) {
  h1 { font-size: clamp(40px, 7vh, 72px); }
  .grid3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid4 .more { grid-column: span 3; }
  .bar { min-height: 56px; }
  .hero { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 40px; }
  .duo { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
  .browse { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .quick { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .mosaic { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .hero-card { grid-column: span 6; grid-row: span 2; }
  .side-card { grid-column: span 3; }
  .quad { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .trio { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, .9fr); }
  .side { grid-template-columns: 300px minmax(0, 1fr); }
  .side-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 12px; }
  .side-intro .feature { flex: 1; }
  .ink-card { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
}
@media (min-width: 1280px) {
  .quick { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .board { grid-template-columns: 300px minmax(0, 1fr); }
}
@media (min-width: 768px) and (max-width: 1023px) { html { scroll-padding-top: 130px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
