/* SNAPSHOT of market/market.css (Market v2), copied 23 Oct 2026 so the Studio keeps its look while the Market is redesigned.
   Studio-only rules live in studio.css. Fonts resolve to studio/fonts/. Re-sync by hand if the Market look should follow.

   Inazda Market, Clean direction (spec: ../CLEAN.md).
   Quiet white and warm-grey surfaces, hairline borders, Geist for everything and Geist Mono for numbers only.
   Market accent is ink, with green links. Light by default; follows the system, and data-theme="light|dark" on <html>.
   The previous "record crate" look is kept in _archive-expressive/. */

/* ---------- Fonts: self-hosted Geist (SIL OFL 1.1, fonts/OFL-Geist.txt) ---------- */
@font-face { font-family: "Geist"; src: url("fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("fonts/GeistMono-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("fonts/GeistMono-Medium.woff2") format("woff2"); font-weight: 500 600; font-style: normal; font-display: swap; }

/* ---------- Tokens (a layer on Inazda's --iz-* names) ---------- */
:root {
  --iz-font: "Geist", ui-sans-serif, system-ui, "Segoe UI", Roboto, sans-serif;
  --iz-mono: "Geist Mono", ui-monospace, Consolas, "DejaVu Sans Mono", monospace;
  --iz-r-sm: 6px; --iz-r-md: 8px; --iz-r-lg: 12px; --iz-r-xl: 16px; --iz-r-2xl: 20px;
  --iz-ease-out: cubic-bezier(.2, 0, 0, 1); --iz-dur-slow: 420ms;
  --iz-ink-band: #0A0A0B; --iz-on-band: #F5F5F4; --iz-on-band-muted: #D2CFCB;
  --iz-ring-img: rgb(0 0 0 / .07); --iz-lift: 0 1px 2px rgb(0 0 0 / .05), 0 22px 44px -22px rgb(0 0 0 / .32);
  --iz-ease: cubic-bezier(.2, .7, .2, 1); --iz-dur: 160ms;
  --iz-gutter: 16px; --iz-max: 1280px; --iz-section: 64px; --iz-head-h: 60px;
  --iz-shadow-pop: 0 1px 2px rgb(0 0 0 / .06), 0 8px 24px rgb(0 0 0 / .08);

  --iz-bg: #FFFFFF; --iz-bg-subtle: #FAFAF9; --iz-surface: #FFFFFF; --iz-sunken: #F5F5F4;
  --iz-border: #E7E5E4; --iz-border-strong: #D6D3D1;
  --iz-fg: #1C1917; --iz-muted-fg: #57534E; --iz-faint-fg: #78716C;
  --iz-accent: #1C1917; --iz-accent-fg: #FFFFFF; --iz-accent-hover: #3A3530;  /* Market: ink */
  --iz-link: #1F6F4A; --iz-focus: #1F6F4A;                                      /* green links and focus */
  --iz-info: #2558D6; --iz-success: #15803D; --iz-warning: #B45309; --iz-danger: #B91C1C;
  --iz-backdrop: rgb(28 25 23 / .32);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --iz-bg: #0C0C0B; --iz-bg-subtle: #111110; --iz-surface: #161615; --iz-sunken: #1C1B1A;
    --iz-border: #292827; --iz-border-strong: #3A3836;
    --iz-fg: #EDEDEC; --iz-muted-fg: #A8A29E; --iz-faint-fg: #8F8984;
    --iz-accent: #EDEDEC; --iz-accent-fg: #0C0C0B; --iz-accent-hover: #D6D3D1;
    --iz-link: #4FBF8B; --iz-focus: #4FBF8B;
    --iz-info: #7AA2FF; --iz-success: #4ADE80; --iz-warning: #F59E0B; --iz-danger: #F87171;
    --iz-shadow-pop: 0 1px 2px rgb(0 0 0 / .4), 0 8px 24px rgb(0 0 0 / .5);
    --iz-backdrop: rgb(0 0 0 / .6);
    --iz-ring-img: rgb(255 255 255 / .08); --iz-lift: 0 1px 2px rgb(0 0 0 / .4), 0 22px 44px -22px rgb(0 0 0 / .8);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --iz-bg: #0C0C0B; --iz-bg-subtle: #111110; --iz-surface: #161615; --iz-sunken: #1C1B1A;
  --iz-border: #292827; --iz-border-strong: #3A3836;
  --iz-fg: #EDEDEC; --iz-muted-fg: #A8A29E; --iz-faint-fg: #8F8984;
  --iz-accent: #EDEDEC; --iz-accent-fg: #0C0C0B; --iz-accent-hover: #D6D3D1;
  --iz-link: #4FBF8B; --iz-focus: #4FBF8B;
  --iz-info: #7AA2FF; --iz-success: #4ADE80; --iz-warning: #F59E0B; --iz-danger: #F87171;
  --iz-shadow-pop: 0 1px 2px rgb(0 0 0 / .4), 0 8px 24px rgb(0 0 0 / .5);
  --iz-backdrop: rgb(0 0 0 / .6);
  --iz-ring-img: rgb(255 255 255 / .08); --iz-lift: 0 1px 2px rgb(0 0 0 / .4), 0 22px 44px -22px rgb(0 0 0 / .8);
  color-scheme: dark;
}
@media (min-width: 640px) { :root { --iz-gutter: 24px; } }
@media (min-width: 1024px) { :root { --iz-gutter: 32px; --iz-section: 96px; --iz-head-h: 64px; } }

/* screenshots that swap with the theme */
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .only-dark { display: none !important; } }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .only-light { display: none !important; } }
:root[data-theme="light"] .only-dark, :root[data-theme="dark"] .only-light { display: none !important; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--iz-bg); -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--iz-head-h) + 16px); }
body { margin: 0; background: var(--iz-bg); color: var(--iz-fg); font: 400 16px/1.5 var(--iz-font); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--iz-focus); outline-offset: 2px; border-radius: 4px; }
[tabindex="-1"]:focus { outline: none; }
::selection { background: color-mix(in srgb, var(--iz-link) 22%, transparent); }
.vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: fixed; left: 12px; top: -60px; z-index: 500; padding: 8px 14px; border-radius: var(--iz-r-md); background: var(--iz-fg); color: var(--iz-bg); font-weight: 500; font-size: 14px; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--iz-max) + 2 * var(--iz-gutter)); margin-inline: auto; padding-inline: var(--iz-gutter); }
.muted { color: var(--iz-muted-fg); }
.mono { font-family: var(--iz-mono); font-variant-numeric: tabular-nums; letter-spacing: 0; }
main { display: block; min-height: 70vh; outline: none; }
.noscript { padding-block: 64px; }

/* type: 13 / 14 / 16 / 18 / 22 / 28 / 36 / 48, H1 36 -> 56 */
.h1, .h2, .h3 { font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; text-wrap: balance; }
.h1 { font-size: 36px; }
.h2 { font-size: 28px; }
.h3 { font-size: 22px; }
@media (max-width: 359px) { .h1 { font-size: 32px; } }
@media (min-width: 1024px) { .h1 { font-size: 56px; line-height: 1.08; } .h2 { font-size: 44px; letter-spacing: -0.035em; } }
.page-title { font-size: 36px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; text-wrap: balance; }
@media (min-width: 1024px) { .page-title { font-size: 52px; line-height: 1.05; letter-spacing: -0.035em; } }
.lede { font-size: 18px; line-height: 1.55; color: var(--iz-muted-fg); max-width: 62ch; text-wrap: pretty; }
.link { color: var(--iz-link); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--iz-link) 45%, transparent); }
.link:hover { text-decoration-color: currentColor; }
.tlink { color: var(--iz-link); font-weight: 500; text-decoration: none; white-space: nowrap; }
.tlink:hover { text-decoration: underline; }

/* ---------- Buttons, fields, chips ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: var(--iz-r-md); border: 1px solid var(--iz-border-strong); background: var(--iz-surface); color: var(--iz-fg); font-size: 14px; font-weight: 500; line-height: 1.2; text-decoration: none; white-space: nowrap; transition: background-color var(--iz-dur) var(--iz-ease), border-color var(--iz-dur) var(--iz-ease), color var(--iz-dur) var(--iz-ease); }
.btn:hover { background: var(--iz-sunken); }
.btn-primary { background: var(--iz-accent); border-color: var(--iz-accent); color: var(--iz-accent-fg); }
.btn-primary:hover { background: var(--iz-accent-hover); border-color: var(--iz-accent-hover); }
.btn-quiet { border-color: transparent; background: transparent; color: var(--iz-fg); }
.btn-quiet:hover { background: var(--iz-sunken); }
.btn-sm { min-height: 32px; padding: 0 12px; font-size: 13px; }
.btn[aria-disabled="true"] { color: var(--iz-muted-fg); background: var(--iz-sunken); border-color: var(--iz-border); cursor: not-allowed; }
.icon-btn { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: var(--iz-r-md); border: 1px solid transparent; background: transparent; color: var(--iz-fg); transition: background-color var(--iz-dur) var(--iz-ease); }
.icon-btn:hover { background: var(--iz-sunken); }
.icon-btn svg, .cart-btn svg, .field svg, .search-field svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sel { appearance: none; min-height: 40px; padding: 0 32px 0 12px; border-radius: var(--iz-r-md); border: 1px solid var(--iz-border-strong); background: var(--iz-surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m3 4.5 3 3 3-3' fill='none' stroke='%2378716C' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 10px center / 12px; font-size: 14px; color: var(--iz-fg); max-width: 100%; }
.sel-sm { min-height: 32px; font-size: 13px; padding-left: 10px; }
.field { display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px; border-radius: var(--iz-r-md); border: 1px solid var(--iz-border-strong); background: var(--iz-surface); color: var(--iz-muted-fg); }
.field:focus-within { border-color: var(--iz-focus); box-shadow: 0 0 0 1px var(--iz-focus); }
.field input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; font-size: 14px; color: var(--iz-fg); }
.field input::placeholder, .search-field input::placeholder { color: var(--iz-faint-fg); }
.seg { display: inline-flex; padding: 2px; gap: 2px; border-radius: var(--iz-r-md); border: 1px solid var(--iz-border); background: var(--iz-bg-subtle); }
.seg button { min-height: 32px; padding: 0 12px; border: 0; border-radius: var(--iz-r-sm); background: transparent; color: var(--iz-muted-fg); font-size: 13px; font-weight: 500; }
.seg button[aria-checked="true"] { background: var(--iz-surface); color: var(--iz-fg); box-shadow: 0 0 0 1px var(--iz-border-strong); }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border-radius: 999px; border: 1px solid var(--iz-border); background: var(--iz-bg-subtle); color: var(--iz-muted-fg); font-size: 12px; font-weight: 500; line-height: 1; white-space: nowrap; }
.chip-free { color: var(--iz-success); border-color: color-mix(in srgb, var(--iz-success) 40%, var(--iz-border)); }
.chip-soon { color: var(--iz-warning); border-color: color-mix(in srgb, var(--iz-warning) 40%, var(--iz-border)); }
.coll { font-size: 13px; color: var(--iz-muted-fg); }
.coll b { font-weight: 500; color: var(--iz-fg); }
.ph { margin-top: 12px; font-size: 13px; color: var(--iz-muted-fg); }

/* ---------- Header ---------- */
.top { position: sticky; top: 0; z-index: 60; background: var(--iz-bg); border-bottom: 1px solid var(--iz-border); }
.top-in { max-width: calc(var(--iz-max) + 2 * var(--iz-gutter)); margin: 0 auto; height: var(--iz-head-h); padding-inline: var(--iz-gutter); display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; color: var(--iz-fg); }
.brand-mark { width: 22px; height: 22px; fill: currentColor; }
.brand-name { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.brand-name span { color: var(--iz-muted-fg); font-weight: 500; }
.nav { display: none; gap: 4px; }
.nav a, .mobile-nav a { padding: 6px 10px; border-radius: var(--iz-r-sm); font-size: 14px; font-weight: 500; color: var(--iz-muted-fg); text-decoration: none; transition: color var(--iz-dur) var(--iz-ease), background-color var(--iz-dur) var(--iz-ease); }
.nav a:hover, .mobile-nav a:hover { color: var(--iz-fg); background: var(--iz-sunken); }
.nav a[aria-current="page"], .mobile-nav a[aria-current="page"] { color: var(--iz-fg); background: var(--iz-sunken); }
.tools { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.theme { display: inline-flex; padding: 2px; gap: 2px; border-radius: var(--iz-r-md); border: 1px solid var(--iz-border); }
.theme button { display: grid; place-items: center; width: 28px; height: 28px; border: 0; border-radius: var(--iz-r-sm); background: transparent; color: var(--iz-muted-fg); }
.theme button svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.theme button[aria-checked="true"] { background: var(--iz-sunken); color: var(--iz-fg); }
.tools > .theme { display: none; }
.cart-btn { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border-radius: var(--iz-r-md); border: 1px solid var(--iz-border-strong); background: var(--iz-surface); color: var(--iz-fg); font-size: 14px; font-weight: 500; }
.cart-btn:hover { background: var(--iz-sunken); }
.cart-btn span { display: none; }
.cart-count { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--iz-sunken); font: 500 12px/20px var(--iz-mono); text-align: center; }
.cart-count.bump { animation: bump 200ms var(--iz-ease); }
@keyframes bump { 50% { transform: scale(1.18); } }
.mobile-nav { position: sticky; top: var(--iz-head-h); z-index: 59; display: flex; align-items: center; gap: 2px; padding: 6px var(--iz-gutter); background: var(--iz-bg); border-bottom: 1px solid var(--iz-border); overflow-x: auto; scrollbar-width: none; }
.mobile-nav::-webkit-scrollbar { display: none; }
.mobile-nav a { flex: none; padding: 6px 8px; font-size: 13px; }
.mobile-nav .theme { margin-left: auto; flex: none; }
@media (max-width: 359px) { .mobile-nav .theme { display: none; } } /* the footer keeps the theme switch */
@media (min-width: 480px) { .cart-btn span { display: inline; } }
@media (min-width: 860px) {
  .nav { display: flex; }
  .tools > .theme { display: inline-flex; }
  .mobile-nav { display: none; }
}

/* ---------- Sections ---------- */
.sec { padding-block: var(--iz-section); }
.sec + .sec { border-top: 1px solid var(--iz-border); }
.sec.is-subtle { background: var(--iz-bg-subtle); border-block: 1px solid var(--iz-border); }
.sec-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; margin-bottom: 32px; }
.sec-head > div { display: grid; gap: 10px; max-width: 62ch; }
.sec-head .lede { font-size: 16px; }
@media (min-width: 1024px) { .sec-head { margin-bottom: 48px; } .sec-head .lede { font-size: 18px; } }

/* ---------- Home hero: see "v2 home" at the end ---------- */

/* problem block */
.split { display: grid; gap: 24px; }
.split .h2 { max-width: 18ch; }
.split-body { display: grid; gap: 16px; color: var(--iz-muted-fg); max-width: 62ch; }
.split-body p { text-wrap: pretty; }
.checks { display: grid; gap: 0; border-top: 1px solid var(--iz-border); }
.checks li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--iz-border); color: var(--iz-fg); font-size: 15px; }
.checks svg { width: 18px; height: 18px; margin-top: 2px; fill: none; stroke: var(--iz-link); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 900px) { .split { grid-template-columns: 5fr 7fr; gap: 64px; } }

/* steps */
.steps { display: grid; gap: 0; counter-reset: s; }
.steps li { display: grid; gap: 8px; align-content: start; padding: 20px 0; border-top: 1px solid var(--iz-border); }
.steps .n { font: 500 13px/1 var(--iz-mono); color: var(--iz-muted-fg); }
.steps h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.steps p { color: var(--iz-muted-fg); font-size: 15px; max-width: 46ch; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; } .steps li { padding-top: 24px; } }

/* aisles: a plain list, one row per category */
.aisles { border-top: 1px solid var(--iz-border); }
.aisles a { display: grid; grid-template-columns: 1fr auto; gap: 4px 24px; padding: 16px 0; border-bottom: 1px solid var(--iz-border); text-decoration: none; color: inherit; transition: background-color var(--iz-dur) var(--iz-ease); }
.aisles a:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.aisles h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.aisles p { grid-column: 1 / -1; color: var(--iz-muted-fg); font-size: 15px; max-width: 72ch; }
.aisles .c { grid-row: 1; grid-column: 2; font: 500 14px/1.6 var(--iz-mono); color: var(--iz-muted-fg); text-align: right; }
@media (min-width: 900px) {
  .aisles a { grid-template-columns: 220px 1fr 120px; align-items: baseline; padding: 20px 0; }
  .aisles p { grid-column: 2; }
  .aisles .c { grid-column: 3; }
}

/* bundle table (home) */
.btable { width: 100%; border-collapse: collapse; font-size: 15px; }
.btable th, .btable td { padding: 14px 12px 14px 0; border-bottom: 1px solid var(--iz-border); text-align: left; vertical-align: top; }
.btable thead th, .btable thead th.num { font-size: 13px; font-weight: 500; color: var(--iz-muted-fg); padding-top: 0; font-family: var(--iz-font); }
.btable td.num, .btable th.num { text-align: right; padding-right: 0; white-space: nowrap; }
.btable .num { font-family: var(--iz-mono); font-variant-numeric: tabular-nums; }
.btable s { color: var(--iz-muted-fg); font-size: 13px; margin-left: 6px; }
.btable td:first-child a { font-weight: 600; color: var(--iz-fg); text-decoration: none; }
.btable td:first-child a:hover { text-decoration: underline; }
.btable .blurb { display: block; margin-top: 4px; color: var(--iz-muted-fg); font-weight: 400; max-width: 64ch; }
@media (max-width: 699px) {
  .btable thead { display: none; }
  .btable tr { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 14px 0; border-bottom: 1px solid var(--iz-border); }
  .btable td { padding: 0; border: 0; }
  .btable td.items { grid-column: 1; text-align: left; color: var(--iz-muted-fg); font-size: 13px; align-self: center; }
  .btable td.items .vh { position: static !important; width: auto; height: auto; margin: 0; clip: auto; overflow: visible; font-family: var(--iz-font); }
  .btable td:first-child { grid-column: 1 / -1; }
}

/* ---------- Product cards: the cover is the card ---------- */
.grid { display: grid; gap: 36px 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 28px; } }
@media (max-width: 559px) { .grid.shelf > :nth-child(n+5) { display: none; } }
.card { position: relative; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.card-img { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: var(--iz-r-xl); overflow: hidden; background: var(--iz-sunken); transition: translate var(--iz-dur-slow) var(--iz-ease-out), box-shadow var(--iz-dur-slow) var(--iz-ease-out); }
.card-img { z-index: 1; }
.card-cover { display: block; width: 100%; height: 100%; }
.card-img::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--iz-ring-img); pointer-events: none; }
.card-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: scale 700ms var(--iz-ease-out); }
.card-img .noimg { width: 100%; height: 100%; }
.card:hover .card-img { translate: 0 -3px; box-shadow: var(--iz-lift); }
.card:hover .card-img img { scale: 1.025; }
.card-qa { position: absolute; right: 12px; bottom: 12px; z-index: 2; display: flex; gap: 6px; transition: opacity var(--iz-dur) var(--iz-ease-out), translate var(--iz-dur) var(--iz-ease-out); }
@media (hover: hover) { .card-qa { opacity: 0; translate: 0 6px; } .card:hover .card-qa, .card:focus-within .card-qa { opacity: 1; translate: 0 0; } }
.qa { display: inline-flex; align-items: center; height: 32px; padding: 0 13px; border-radius: 999px; border: 1px solid rgb(0 0 0 / .1); background: #FFFFFF; color: #141414; font-size: 13px; font-weight: 500; white-space: nowrap; box-shadow: 0 4px 14px -4px rgb(0 0 0 / .3); transition: background-color var(--iz-dur) var(--iz-ease); }
.qa:hover { background: #F2F1EF; }
.qa-ink { background: #141414; border-color: #141414; color: #FFFFFF; }
.qa-ink:hover { background: #333230; }
.qa:focus-visible { outline: 2px solid #FFFFFF; box-shadow: 0 0 0 4px #141414; }
.card-body { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.card-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.card h3 { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-big h3 { font-size: 18px; }
.card h3 a { text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 0; border-radius: var(--iz-r-xl); }
.card h3 a:hover { text-decoration: underline; }
.card h3 a:focus-visible { outline: none; }
.card h3 a:focus-visible::after { outline: 2px solid var(--iz-focus); outline-offset: 4px; }
.card-meta { display: flex; align-items: center; gap: 6px; min-width: 0; font-size: 14px; color: var(--iz-muted-fg); }
.card-meta > span { white-space: nowrap; }
.card-meta > span:nth-child(3) { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.card-meta .dot { color: var(--iz-faint-fg); }
.card-meta .chip { margin-left: auto; flex: none; }
.card p.desc { display: none; font-size: 14px; color: var(--iz-muted-fg); }
.card-foot { display: flex; align-items: center; gap: 8px; }
.price-tag { flex: none; font: 500 14px/1.2 var(--iz-mono); font-variant-numeric: tabular-nums; color: var(--iz-fg); white-space: nowrap; }
.price-tag small { font-family: var(--iz-font); font-size: 13px; color: var(--iz-muted-fg); margin-right: 4px; font-weight: 400; }
.price-tag.word { font-family: var(--iz-font); }
/* list view */
.cat-layout.list .grid { grid-template-columns: minmax(0, 1fr); gap: 0; border-top: 1px solid var(--iz-border); }
.cat-layout.list .card { flex-direction: row; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--iz-border); }
.cat-layout.list .card-img { flex: none; width: 160px; border-radius: var(--iz-r-md); }
.cat-layout.list .card:hover .card-img { translate: none; box-shadow: none; }
.cat-layout.list .card-qa { display: none; }
.cat-layout.list .card p.desc { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.cat-layout.list .card-row { justify-content: flex-start; gap: 16px; }
.cat-layout.list .card-row .price-tag { margin-left: auto; }
@media (max-width: 559px) { .cat-layout.list .card-img { width: 96px; } .cat-layout.list .card p.desc { display: none; } }

/* collection group heads in the catalogue */
.group + .group { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--iz-border); }
.group-head { display: grid; gap: 6px; margin-bottom: 24px; }
.group-head h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; display: flex; align-items: baseline; gap: 10px; }
.group-head h3 .mono { font-size: 14px; font-weight: 500; color: var(--iz-muted-fg); letter-spacing: 0; }
.group-head p { color: var(--iz-muted-fg); font-size: 15px; max-width: 70ch; }

/* ---------- Page heads ---------- */
.page-head { padding-block: 40px 32px; display: grid; gap: 12px; }
@media (min-width: 1024px) { .page-head { padding-block: 64px 40px; } }

/* ---------- Catalogue ---------- */
.cat-layout { display: grid; gap: 24px; padding-bottom: var(--iz-section); }
.toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 12px; }
.toolbar .field { flex: 1 1 220px; }
.filters { display: none; }
.filters.open { display: grid; position: fixed; inset: auto 0 0 0; z-index: 70; max-height: 82vh; overflow: auto; padding: 20px var(--iz-gutter) 24px; gap: 20px; background: var(--iz-surface); border-top: 1px solid var(--iz-border-strong); border-radius: var(--iz-r-lg) var(--iz-r-lg) 0 0; box-shadow: var(--iz-shadow-pop); }
.fgroup { border: 0; margin: 0; padding: 0; display: grid; gap: 2px; min-width: 0; }
.fgroup legend { padding: 0; margin-bottom: 8px; font-size: 13px; font-weight: 500; color: var(--iz-muted-fg); }
.opt { display: grid; grid-template-columns: 18px 1fr auto; align-items: center; gap: 10px; min-height: 32px; padding: 2px 6px; margin-inline: -6px; border-radius: var(--iz-r-sm); font-size: 14px; cursor: pointer; }
.opt:hover { background: var(--iz-sunken); }
.opt input { width: 16px; height: 16px; margin: 0; accent-color: var(--iz-fg); }
.opt .n { font: 400 12px/1 var(--iz-mono); color: var(--iz-muted-fg); }
.f-done { display: inline-flex; }
.active-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.active-filters:not(:empty) { margin-bottom: 12px; }
.active-filters button { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--iz-border-strong); background: var(--iz-surface); font-size: 13px; }
.active-filters button:hover { background: var(--iz-sunken); }
.active-filters svg { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.result-n { margin-bottom: 20px; font-size: 13px; color: var(--iz-muted-fg); }
.empty { display: grid; gap: 12px; justify-items: start; padding: 32px 0; border-top: 1px solid var(--iz-border); }
.empty h2 { font-size: 18px; font-weight: 600; }
@media (min-width: 1024px) {
  .cat-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 48px; align-items: start; }
  .filters, .filters.open { display: grid; position: static; inset: auto; max-height: none; overflow: visible; gap: 24px; padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; z-index: auto; }
  .filter-btn, .f-done { display: none !important; }
}

/* ---------- Product ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 24px; font-size: 13px; color: var(--iz-muted-fg); }
.crumbs a { color: var(--iz-muted-fg); text-decoration: none; }
.crumbs a:hover { color: var(--iz-fg); text-decoration: underline; }
.crumbs [aria-current] { color: var(--iz-fg); }
.p-head { display: grid; gap: 32px; padding-block: 20px 48px; }
.p-title { display: grid; gap: 6px; }
.p-title .sub { font-size: 18px; color: var(--iz-muted-fg); }
.p-meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 24px; }
.gallery { display: grid; gap: 12px; }
.g-main { border: 1px solid var(--iz-border); border-radius: var(--iz-r-lg); overflow: hidden; background: var(--iz-sunken); }
.g-main img, .g-main video { width: 100%; aspect-ratio: 16 / 10; object-fit: contain; background: var(--iz-sunken); }
.g-main.portrait img, .g-main.portrait video { aspect-ratio: 9 / 16; max-height: 70vh; margin-inline: auto; width: auto; }
.g-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; }
.g-thumbs button { position: relative; padding: 0; border: 1px solid var(--iz-border); border-radius: var(--iz-r-md); overflow: hidden; background: var(--iz-sunken); transition: border-color var(--iz-dur) var(--iz-ease); }
.g-thumbs button:hover { border-color: var(--iz-border-strong); }
.g-thumbs button[aria-pressed="true"] { border-color: var(--iz-fg); box-shadow: 0 0 0 1px var(--iz-fg); }
.g-thumbs img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.g-thumbs .play { position: absolute; left: 6px; bottom: 6px; padding: 2px 6px; border-radius: var(--iz-r-sm); background: var(--iz-surface); color: var(--iz-fg); font-size: 11px; font-weight: 500; }
.buybox { display: grid; gap: 16px; align-content: start; padding: 20px; border: 1px solid var(--iz-border); border-radius: var(--iz-r-lg); background: var(--iz-surface); }
.price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price b { font: 600 28px/1.1 var(--iz-mono); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.price b.word { font-family: var(--iz-font); font-size: 22px; }
.price s { font: 400 14px var(--iz-mono); color: var(--iz-muted-fg); }
.lic { border: 0; margin: 0; padding: 0; display: grid; gap: 6px; }
.lic legend { padding: 0; margin-bottom: 8px; font-size: 13px; font-weight: 500; color: var(--iz-muted-fg); }
.lic label { display: grid; grid-template-columns: 16px 1fr auto; gap: 10px; align-items: start; padding: 10px 12px; border: 1px solid var(--iz-border); border-radius: var(--iz-r-md); cursor: pointer; transition: border-color var(--iz-dur) var(--iz-ease); }
.lic label:hover { border-color: var(--iz-border-strong); }
.lic label:has(input:checked) { border-color: var(--iz-fg); box-shadow: inset 0 0 0 1px var(--iz-fg); }
.lic input { margin: 3px 0 0; accent-color: var(--iz-fg); }
.lic span { display: grid; gap: 2px; font-size: 14px; }
.lic b { font-weight: 500; }
.lic small { font-size: 13px; color: var(--iz-muted-fg); }
.lic em { font: 500 14px var(--iz-mono); font-style: normal; font-variant-numeric: tabular-nums; }
.buy-actions { display: grid; gap: 8px; }
.buy-actions .btn { min-height: 44px; font-size: 15px; }
.demo-link { font-size: 14px; }
.buy-note { font-size: 13px; color: var(--iz-muted-fg); }
.buy-note b { color: var(--iz-fg); font-weight: 500; }
.p-body { display: grid; gap: 40px; padding-bottom: var(--iz-section); border-top: 1px solid var(--iz-border); padding-top: 40px; }
.block { display: grid; gap: 12px; }
.block + .block { margin-top: 40px; }
.block h2 { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.block p { color: var(--iz-muted-fg); max-width: 68ch; }
.block p b { color: var(--iz-fg); font-weight: 500; }
.block .p-meta { margin: 4px 0 0; }
.inside { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0 32px; }
.inside { border-bottom: 1px solid var(--iz-border); }
.inside div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--iz-border); font-size: 14px; }
.inside dt { color: var(--iz-muted-fg); }
.inside dd { font-family: var(--iz-mono); font-variant-numeric: tabular-nums; text-align: right; }
.inside dd.txt { font-family: var(--iz-font); }
.more { margin-top: 4px; }
.more summary { cursor: pointer; font-size: 14px; font-weight: 500; padding: 8px 0; width: fit-content; }
.more summary:hover { text-decoration: underline; }
.files { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 8px; display: block; overflow-x: auto; }
.files th, .files td { padding: 8px 12px 8px 0; border-bottom: 1px solid var(--iz-border); text-align: left; vertical-align: top; }
.files th { font-weight: 500; color: var(--iz-muted-fg); }
.files td:first-child { font-family: var(--iz-mono); word-break: break-all; }
.files .sz { font-family: var(--iz-mono); text-align: right; white-space: nowrap; padding-right: 0; }
.ticks { display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 22px; color: var(--iz-muted-fg); font-size: 15px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 10px; height: 5px; border-left: 1.6px solid var(--iz-link); border-bottom: 1.6px solid var(--iz-link); transform: rotate(-45deg); }
.ticks b { color: var(--iz-fg); font-weight: 500; }
.side-card { display: grid; gap: 12px; align-content: start; padding: 20px; border: 1px solid var(--iz-border); border-radius: var(--iz-r-lg); background: var(--iz-surface); }
.side-card h3 { font-size: 16px; font-weight: 600; }
.src-note { margin-top: 16px; font-size: 13px; color: var(--iz-muted-fg); }
.src-note .mono { word-break: break-all; }
.related { padding-block: 0 var(--iz-section); }
.related .sec-head { margin-bottom: 24px; padding-top: 40px; border-top: 1px solid var(--iz-border); }
@media (min-width: 1024px) {
  .p-head { grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start; }
  .buybox { position: sticky; top: calc(var(--iz-head-h) + 24px); margin-top: 0; }
  .p-body { grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start; }
}

/* ---------- Bundles page ---------- */
.b-list { display: grid; padding-bottom: var(--iz-section); border-top: 1px solid var(--iz-border); }
.b-row { display: grid; gap: 20px; padding-block: 32px; border-bottom: 1px solid var(--iz-border); scroll-margin-top: calc(var(--iz-head-h) + 56px); }
.b-row h2 { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.b-row .muted { margin-top: 8px; max-width: 62ch; }
.b-note { margin-top: 10px; font-size: 14px; max-width: 62ch; }
.b-members { margin-top: 4px; font-size: 14px; color: var(--iz-muted-fg); }
.b-thumbs { border: 1px solid var(--iz-border); border-radius: var(--iz-r-2xl); background: var(--iz-bg-subtle); overflow: hidden; }
.b-thumbs .bfan { height: 200px; }
.b-buy { display: grid; gap: 10px; align-content: start; }
.b-buy .price b { font-size: 22px; }
.save { font: 500 13px var(--iz-font); font-variant-numeric: tabular-nums; color: var(--iz-success); }
.b-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; }
@media (min-width: 1024px) { .b-row { grid-template-columns: minmax(0, 5fr) minmax(0, 5fr) 240px; gap: 40px; align-items: start; } .b-thumbs .bfan { height: 230px; } }

/* ---------- Prose pages: licence, about ---------- */
.prose-page { padding-block: 40px var(--iz-section); }
.prose { max-width: 720px; }
.prose > * + * { margin-top: 16px; }
.prose h2 { margin-top: 48px; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; }
.prose h3 { margin-top: 28px; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.prose p, .prose li { color: var(--iz-muted-fg); }
.prose p b, .prose li b { color: var(--iz-fg); font-weight: 500; }
.prose ul { padding-left: 1.2em; list-style: disc; display: grid; gap: 6px; }
.prose ul li::marker { color: var(--iz-faint-fg); }
.draft { display: grid; gap: 4px; padding: 14px 16px; border: 1px solid color-mix(in srgb, var(--iz-warning) 45%, var(--iz-border)); border-radius: var(--iz-r-md); background: var(--iz-bg-subtle); font-size: 14px; }
.draft b { color: var(--iz-warning); }
.draft p { color: var(--iz-muted-fg); }
.tiers { display: grid; gap: 0; border-top: 1px solid var(--iz-border); }
.tiers div { padding: 14px 0; border-bottom: 1px solid var(--iz-border); display: grid; gap: 2px; }
.tiers h3 { margin: 0; font-size: 16px; }
@media (min-width: 700px) { .tiers { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 24px; } }
.cmp-wrap { margin-top: 20px; }
.cmp { width: 100%; border-collapse: collapse; font-size: 14px; }
.cmp th, .cmp td { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--iz-border); text-align: left; vertical-align: top; }
.cmp thead th { font-size: 13px; font-weight: 500; color: var(--iz-muted-fg); padding-top: 0; }
.cmp tbody th { font-weight: 600; color: var(--iz-fg); width: 22%; }
.cmp td { color: var(--iz-muted-fg); }
.cmp tr.ours th, .cmp tr.ours td { background: var(--iz-bg-subtle); }
.cmp tr.ours th { padding-left: 12px; }
@media (max-width: 759px) {
  .cmp thead { display: none; }
  .cmp, .cmp tbody, .cmp tr, .cmp th, .cmp td { display: block; width: auto; }
  .cmp tr { padding: 16px 0; border-bottom: 1px solid var(--iz-border); }
  .cmp tr.ours { padding: 16px 12px; background: var(--iz-bg-subtle); }
  .cmp tr.ours th, .cmp tr.ours td { background: none; padding-left: 0; }
  .cmp th, .cmp td { padding: 0; border: 0; }
  .cmp td { margin-top: 8px; }
  .cmp td::before { content: attr(data-h); display: block; font-size: 12px; font-weight: 500; color: var(--iz-fg); margin-bottom: 2px; }
}
@media (min-width: 760px) { .cmp-wide { width: min(1100px, calc(100vw - 2 * var(--iz-gutter))); } }
.faq { border-top: 1px solid var(--iz-border); margin-top: 16px; }
.faq details { border-bottom: 1px solid var(--iz-border); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; cursor: pointer; list-style: none; font-weight: 500; color: var(--iz-fg); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font: 400 18px/1 var(--iz-mono); color: var(--iz-muted-fg); transition: transform var(--iz-dur) var(--iz-ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 16px; color: var(--iz-muted-fg); }

/* ---------- Checkout ---------- */
.co { display: grid; gap: 24px; padding-bottom: var(--iz-section); }
.co-state { display: grid; gap: 16px; align-content: start; }
.co-state h2 { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.co-state ul { list-style: disc; padding-left: 1.2em; display: grid; gap: 6px; color: var(--iz-muted-fg); }
.co-steps { display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: 13px; color: var(--iz-muted-fg); }
.co-steps [aria-current] { color: var(--iz-fg); font-weight: 500; }
.co-steps .mono { margin-right: 4px; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; }
.sum-lines { display: grid; gap: 8px; margin: 4px 0 12px; }
.sum-lines li { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.sum { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; padding-top: 12px; border-top: 1px solid var(--iz-border); font-size: 14px; }
.sum dt { color: var(--iz-muted-fg); }
.sum dd { font-family: var(--iz-mono); font-variant-numeric: tabular-nums; text-align: right; }
.sum .disc { color: var(--iz-success); }
.sum dt.total { color: var(--iz-fg); font-weight: 600; padding-top: 6px; }
.sum dt.total + dd { font-weight: 600; font-size: 16px; padding-top: 6px; }
@media (min-width: 900px) { .co { grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; align-items: start; } }

/* ---------- Dialogs: cart drawer, demo sheet, search ---------- */
dialog { padding: 0; border: 0; color: var(--iz-fg); background: var(--iz-surface); max-width: 100vw; max-height: 100dvh; }
dialog::backdrop { background: var(--iz-backdrop); }
.drawer { margin: 0 0 0 auto; width: min(440px, 100vw); height: 100dvh; border-left: 1px solid var(--iz-border); }
.drawer[open] { animation: slide 200ms var(--iz-ease); }
@keyframes slide { from { transform: translateX(24px); opacity: 0; } }
.drawer-in { display: flex; flex-direction: column; height: 100%; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 14px 20px; border-bottom: 1px solid var(--iz-border); }
.drawer-head h2 { font-size: 16px; font-weight: 600; }
.drawer-body { flex: 1; overflow: auto; padding: 4px 20px; }
.drawer-foot:not(:empty) { display: grid; gap: 12px; padding: 16px 20px 20px; border-top: 1px solid var(--iz-border); background: var(--iz-bg-subtle); }
.drawer-foot .btn { min-height: 44px; }
.cart-empty { display: grid; gap: 8px; justify-items: start; padding: 24px 0; }
.cart-empty .btn { margin-top: 8px; }
.line { display: grid; grid-template-columns: 72px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--iz-border); }
.line > img, .line > span { width: 72px; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border: 1px solid var(--iz-border); border-radius: var(--iz-r-sm); background: var(--iz-sunken); }
.line h3 { font-size: 14px; font-weight: 600; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.line-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--iz-border-strong); border-radius: var(--iz-r-md); height: 32px; }
.qty button { width: 30px; height: 30px; border: 0; background: transparent; font-size: 15px; border-radius: var(--iz-r-sm); }
.qty button:hover { background: var(--iz-sunken); }
.qty output { min-width: 22px; text-align: center; font: 500 13px var(--iz-mono); }
.amt { margin-left: auto; font: 500 14px var(--iz-mono); font-variant-numeric: tabular-nums; }
.rm { margin-top: 6px; padding: 2px 0; border: 0; background: none; font-size: 13px; color: var(--iz-muted-fg); text-decoration: underline; text-underline-offset: 3px; }
.rm:hover { color: var(--iz-danger); }

.sheet { width: min(1280px, calc(100vw - 24px)); height: calc(100dvh - 24px); margin: auto; border: 1px solid var(--iz-border); border-radius: var(--iz-r-lg); box-shadow: var(--iz-shadow-pop); overflow: hidden; }
.sheet-in { display: flex; flex-direction: column; height: 100%; }
.sheet-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 10px 12px 10px 16px; border-bottom: 1px solid var(--iz-border); }
.sheet-head h2 { font-size: 15px; font-weight: 600; margin-right: auto; min-width: 0; }
.sheet-stage { flex: 1; min-height: 0; display: grid; place-items: center; overflow: hidden; padding: 18px; background: var(--iz-sunken); }
.device { transform-origin: center; border: 1px solid var(--iz-border-strong); border-radius: var(--iz-r-md); overflow: hidden; background: var(--iz-bg); }
.device iframe { width: 100%; height: 100%; border: 0; display: block; background: #fff; }
@media (max-width: 699px) { .sheet { width: 100vw; height: 100dvh; border-radius: 0; border: 0; } .sheet-head .btn-quiet { display: none; } }

.search { width: min(640px, calc(100vw - 24px)); margin: 10vh auto auto; border: 1px solid var(--iz-border); border-radius: var(--iz-r-lg); box-shadow: var(--iz-shadow-pop); }
.search-field { display: flex; align-items: center; gap: 10px; padding: 0 16px; height: 56px; border-bottom: 1px solid var(--iz-border); color: var(--iz-muted-fg); }
.search-field input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font-size: 16px; color: var(--iz-fg); }
.search-field input::-webkit-search-cancel-button { display: none; }
kbd { font: 500 11px var(--iz-mono); padding: 2px 6px; border: 1px solid var(--iz-border-strong); border-radius: 4px; color: var(--iz-muted-fg); }
.search-results { max-height: min(60vh, 520px); overflow: auto; padding: 6px; }
.search-results a { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 12px; padding: 8px 10px; border-radius: var(--iz-r-md); text-decoration: none; }
.search-results a:hover, .search-results a:focus-visible { background: var(--iz-sunken); }
.search-results a:focus-visible { outline-offset: -2px; }
.search-results img, .search-results a > span:first-child { width: 64px; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border: 1px solid var(--iz-border); border-radius: var(--iz-r-sm); background: var(--iz-sunken); }
.search-results b { display: block; font-size: 14px; font-weight: 600; }
.search-results small { font-size: 13px; color: var(--iz-muted-fg); }
.search-results .none { padding: 16px 10px; font-size: 14px; color: var(--iz-muted-fg); }
@media (max-width: 479px) { .search-results .price-tag { display: none; } .search-results a { grid-template-columns: 56px 1fr; } .search-results img, .search-results a > span:first-child { width: 56px; } }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--iz-border); background: var(--iz-bg-subtle); padding-block: 48px; font-size: 14px; }
.foot-in { display: grid; gap: 24px; }
.foot-brand { display: grid; gap: 8px; max-width: 46ch; }
.foot-name { font-weight: 600; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot-nav a { color: var(--iz-muted-fg); text-decoration: none; }
.foot-nav a:hover { color: var(--iz-fg); text-decoration: underline; }
.theme-f button { width: auto; padding: 0 10px; font-size: 13px; font-weight: 500; }
.foot-note { font-size: 13px; }
@media (min-width: 900px) { .foot-in { grid-template-columns: 1.4fr 1fr auto; align-items: start; } .foot-note { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid var(--iz-border); } }

.testimonials figure { padding: 20px 0; border-top: 1px solid var(--iz-border); }
.testimonials figcaption { margin-top: 8px; font-size: 14px; color: var(--iz-muted-fg); }

/* ================= v2 home ================= */
/* hero: an ink band in both themes, real covers drifting behind a large headline */
.hero2 { position: relative; isolation: isolate; overflow: hidden; background: var(--iz-ink-band); color: var(--iz-on-band); padding: 64px 0 150px; }
.hero2::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(64% 72% at 50% 44%, rgb(10 10 11 / .94) 0%, rgb(10 10 11 / .9) 52%, rgb(10 10 11 / .35) 100%),
              linear-gradient(to bottom, rgb(10 10 11 / .55), rgb(10 10 11 / 0) 22%, rgb(10 10 11 / 0) 66%, rgb(10 10 11 / .95)); }
.hero2-in { position: relative; z-index: 2; display: grid; justify-items: center; gap: 20px; text-align: center; }
.display { font-size: clamp(40px, 7.2vw, 100px); font-weight: 600; letter-spacing: -0.048em; line-height: .98; max-width: 13ch; text-wrap: balance; color: #FFFFFF; }
.hero2-lede { font-size: 17px; line-height: 1.55; color: var(--iz-on-band-muted); max-width: 54ch; text-wrap: pretty; }
.hero2-cta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 24px; margin-top: 8px; }
.btn-light { min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid #FFFFFF; background: #FFFFFF; color: #0A0A0B; font-size: 15px; font-weight: 500; }
.btn-light:hover { background: #E7E5E4; border-color: #E7E5E4; }
.hero2 :focus-visible { outline-color: #FFFFFF; }
.hlink { color: #FFFFFF; font-size: 15px; font-weight: 500; text-decoration: none; }
.hlink:hover { text-decoration: underline; }
.hero2-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 20px; margin-top: 10px; padding: 6px 14px; border-radius: 999px; background: rgb(10 10 11 / .9); font-size: 13px; color: var(--iz-on-band-muted); }
@media (min-width: 560px) { .hero2-facts { gap: 4px 0; } .hero2-facts span + span::before { content: "·"; margin: 0 12px; color: #6E6B67; } }
.wall { position: absolute; inset: -30% -40% -20%; z-index: 0; perspective: 1600px; pointer-events: none; }
.wall-in { display: grid; gap: 16px; transform: rotateX(26deg) rotateZ(-10deg); transform-origin: 50% 45%; opacity: .78; }
.wall-row { display: flex; gap: 16px; width: max-content; animation: wall 160s linear infinite; }
.wall-row.r3 { animation-direction: reverse; animation-duration: 230s; margin-left: -260px; }
.wall-row.r4 { animation-duration: 180s; margin-left: -40px; }
.wall-row.r1 { animation-direction: reverse; animation-duration: 190s; margin-left: -180px; }
.wall-row.r2 { animation-duration: 210s; margin-left: -90px; }
.wall-row img { flex: none; width: 200px; aspect-ratio: 16 / 10; height: auto; border-radius: 10px; background: #1A1A1A; }
@keyframes wall { to { transform: translateX(-50%); } }
.hero2.is-paused .wall-row { animation-play-state: paused; }
.wall-toggle { position: absolute; z-index: 3; top: 14px; right: var(--iz-gutter); display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px 0 9px; border-radius: 999px; border: 1px solid rgb(255 255 255 / .2); background: rgb(10 10 11 / .7); color: #E7E5E4; font-size: 12px; font-weight: 500; }
.wall-toggle:hover { background: #1F1F1F; }
.wall-toggle svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.wall-toggle .i-play { display: none; }
.wall-toggle[aria-pressed="true"] .i-play { display: block; }
.wall-toggle[aria-pressed="true"] .i-pause { display: none; }
@media (max-width: 479px) { .wall-toggle span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .wall-toggle { padding: 0; width: 30px; justify-content: center; } }
@media (prefers-reduced-motion: reduce) { .wall-row { animation: none !important; } .wall-toggle { display: none; } }
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) { .wall { display: none; } .hero2::after { display: none; } }
:root[data-motion="reduce"] .wall-row { animation: none; }
@media (max-width: 699px) { .hero2::after { background: linear-gradient(to bottom, rgb(10 10 11 / .9), rgb(10 10 11 / .88) 70%, rgb(10 10 11 / .96)); } .wall-in { opacity: .9; } }
@media (min-width: 700px) { .hero2 { padding: 88px 0 190px; } .hero2-lede { font-size: 19px; } .wall-row img { width: 340px; border-radius: 12px; } .wall-in { gap: 24px; } .wall-row { gap: 24px; } }
@media (min-width: 1024px) { .hero2 { padding: 104px 0 230px; } .hero2-lede { font-size: 20px; } .wall-row img { width: 380px; } }

/* three large previews that overlap the band */
.hero-feat-wrap { position: relative; z-index: 3; margin-top: -108px; }
.hero-feat { display: grid; grid-auto-flow: column; grid-auto-columns: 80%; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--iz-gutter)); padding: 0 var(--iz-gutter) 8px; scroll-padding-inline: var(--iz-gutter); scrollbar-width: none; }
.hero-feat::-webkit-scrollbar { display: none; }
.hf { position: relative; display: block; min-width: 0; border-radius: var(--iz-r-2xl); overflow: hidden; scroll-snap-align: start; background: #1A1A1A; text-decoration: none; color: inherit;
  box-shadow: 0 0 0 1px rgb(255 255 255 / .06), 0 30px 60px -28px rgb(0 0 0 / .7); }
.hf img { width: 100%; height: 100%; object-fit: cover; transition: scale 900ms var(--iz-ease-out); }
.hf:hover img { scale: 1.02; }
.hf-img { display: none; }
.hf-img-m { display: block; aspect-ratio: 4 / 5; }
.hf-label { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 8px; max-width: calc(100% - 24px); padding: 7px 12px; border-radius: 999px; background: #FFFFFF; color: #141414; font-size: 13px; line-height: 1.2; box-shadow: 0 6px 18px -6px rgb(0 0 0 / .35); white-space: nowrap; }
.hf-label b { font-weight: 600; }
.hf-label span { color: #57534E; }
.hf-label .mono { color: #141414; }
.hf:focus-visible { outline: 2px solid var(--iz-focus); outline-offset: 3px; }
@media (min-width: 700px) {
  .hero-feat-wrap { margin-top: -140px; }
  .hero-feat { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 16px; overflow: visible; margin-inline: 0; padding: 0; }
  .hf-img { display: block; height: 100%; }
  .hf-img-m { display: none; }
  .hf-0 { grid-row: 1 / span 2; aspect-ratio: 16 / 10; }
  .hf-label { left: 16px; bottom: 16px; }
}
@media (min-width: 1024px) { .hero-feat-wrap { margin-top: -170px; } .hero-feat { gap: 20px; } }

/* section rhythm */
.sec2 { padding-block: 72px; }
.hero-feat-wrap + .sec2 { padding-top: 64px; }
@media (min-width: 1024px) { .sec2 { padding-block: 104px; } .hero-feat-wrap + .sec2 { padding-top: 96px; } }
.shead { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 32px; margin-bottom: 28px; }
.shead > div { display: grid; gap: 10px; max-width: 60ch; }
.slede { font-size: 16px; line-height: 1.55; color: var(--iz-muted-fg); text-wrap: pretty; }
@media (min-width: 1024px) { .shead { margin-bottom: 44px; } .slede { font-size: 18px; } }

/* categories: cover stacks in tinted tiles */
.aisles2 { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .aisles2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .aisle-4 { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .aisles2 { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; } .aisle-0, .aisle-1 { grid-column: span 3; } .aisle-2, .aisle-3, .aisle-4 { grid-column: span 2; } }
.aisle { position: relative; display: flex; flex-direction: column; min-height: 300px; padding: 22px 22px 0; border: 1px solid var(--iz-border); border-radius: var(--iz-r-2xl); background: var(--iz-bg-subtle); overflow: hidden; text-decoration: none; color: inherit; transition: border-color var(--iz-dur) var(--iz-ease); }
.aisle:hover { border-color: var(--iz-border-strong); }
.aisle:focus-visible { outline-offset: 3px; border-radius: var(--iz-r-2xl); }
.aisle-text { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 6px 10px; max-width: 44ch; }
.aisle-name { font-size: 21px; font-weight: 600; letter-spacing: -0.025em; }
.aisle-n { font-size: 13px; color: var(--iz-muted-fg); }
.aisle-who { grid-column: 1 / -1; font-size: 14px; line-height: 1.5; color: var(--iz-muted-fg); }
.aisle-go { position: absolute; top: 20px; right: 20px; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--iz-fg); }
.aisle-go svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: translate var(--iz-dur) var(--iz-ease-out); }
.aisle:hover .aisle-go svg { translate: 3px 0; }
.aisle-stack { position: relative; flex: 1; min-height: 150px; margin-top: 16px; }
@media (max-width: 639px) { .aisle { min-height: 0; } .aisle-stack { flex: none; height: 168px; } }
.as-card { position: absolute; bottom: -22px; width: 58%; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; background: var(--iz-sunken); box-shadow: 0 0 0 1px var(--iz-ring-img), 0 16px 32px -14px rgb(0 0 0 / .35); transition: translate 500ms var(--iz-ease-out), rotate 500ms var(--iz-ease-out); }
.as-card img { width: 100%; height: 100%; object-fit: cover; }
.as-card:nth-child(1) { left: 0; rotate: -5deg; bottom: -34px; }
.as-card:nth-child(2) { left: 21%; z-index: 2; bottom: -6px; }
.as-card:nth-child(3) { left: 42%; z-index: 1; rotate: 5deg; bottom: -30px; }
.aisle:hover .as-card:nth-child(1) { translate: -10px -4px; rotate: -8deg; }
.aisle:hover .as-card:nth-child(2) { translate: 0 -10px; }
.aisle:hover .as-card:nth-child(3) { translate: 10px -4px; rotate: 8deg; }
@media (min-width: 1024px) { .aisle { min-height: 340px; } .aisle .as-card { width: 64%; } .aisle .as-card:nth-child(2) { left: 18%; } .aisle .as-card:nth-child(3) { left: 36%; } .aisle-0, .aisle-1 { min-height: 380px; } .aisle-0 .as-card, .aisle-1 .as-card { width: 64%; } .aisle-0 .as-card:nth-child(2), .aisle-1 .as-card:nth-child(2) { left: 18%; } .aisle-0 .as-card:nth-child(3), .aisle-1 .as-card:nth-child(3) { left: 36%; } }
@media (min-width: 640px) and (max-width: 1023px) { .aisle-4 .as-card { width: 34%; } .aisle-4 .as-card:nth-child(2) { left: 33%; } .aisle-4 .as-card:nth-child(3) { left: 66%; } }
.aisle-more { margin-top: 18px; font-size: 14px; }
.aisle-more .mono { color: var(--iz-muted-fg); }

/* featured shelf: two large covers, then rows of three */
@media (min-width: 1024px) { .grid.feat { grid-template-columns: repeat(6, minmax(0, 1fr)); } .feat .card { grid-column: span 2; } .feat .card-big { grid-column: span 3; } }

/* component playground (real Motion · Clean components) */
.pg-sec { background: var(--iz-bg-subtle); border-block: 1px solid var(--iz-border); }
.pg { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .pg { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: dense; } .pg-glass { grid-column: 1 / -1; } .pg-settings { grid-row: span 2; } }
@media (min-width: 1100px) { .pg { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } .pg-glass { grid-column: span 2; grid-row: span 2; } .pg-toast, .pg-sort { grid-column: span 2; } .pg-settings { grid-column: span 2; grid-row: span 2; } }
.pg-h-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: start; gap: 10px 16px; }
.pg-h-row .seg { flex: none; }
.pg-h-row > div:first-child { display: grid; gap: 3px; max-width: 46ch; }
.pg-glass-stage { position: relative; margin: 16px; padding: 28px 20px; border-radius: var(--iz-r-xl); overflow: hidden; min-height: 340px; isolation: isolate; background: var(--iz-sunken); }
.pg-glass-stage > .pg-pattern { position: absolute; inset: 0; z-index: -1; }
.pg-gcard { --iz-glass-accent: #141414; --iz-glass-on-accent: #FFFFFF; --iz-glass-ring: #141414; width: min(100%, 340px); }
:root[data-theme="dark"] .pg-gcard { --iz-glass-accent: #EDEDEC; --iz-glass-on-accent: #0C0C0B; --iz-glass-ring: #EDEDEC; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pg-gcard { --iz-glass-accent: #EDEDEC; --iz-glass-on-accent: #0C0C0B; --iz-glass-ring: #EDEDEC; } }
.pg:not(.glass-live) .pg-glass-stage > * { opacity: 0; }
.pg-more { padding: 0 20px 18px; font-size: 14px; }
.pg-tile { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 250px; border: 1px solid var(--iz-border); border-radius: var(--iz-r-2xl); background: var(--iz-bg); overflow: hidden; }
.pg-h { padding: 18px 20px 0; display: grid; gap: 3px; }
.pg-h h3 { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.pg-h p { font-size: 13px; color: var(--iz-muted-fg); }
.pg-stage { flex: 1; display: grid; place-items: center; padding: 20px; min-width: 0; transition: opacity 300ms var(--iz-ease-out); }
.pg:not(.is-live) .pg-stage { opacity: 0; }
.pg.is-failed .pg-stage { opacity: 1; }
.pg-stage-top { position: relative; place-items: start center; min-height: 250px; }
.pg-col-stage { gap: 14px; align-content: center; }
.pg-card { width: min(100%, 400px); display: grid; gap: 14px; padding: 18px; border: 1px solid var(--iz-border); border-radius: var(--iz-r-xl); background: var(--iz-surface); box-shadow: var(--iz-lift); font-size: 14px; }
.pg-card-head { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.pg-card-head b, .pg-row b { display: block; font-weight: 600; }
.pg-card-head span:not(.mc-chip):not(.mc-chip *), .pg-row div > span { display: block; font-size: 13px; color: var(--iz-muted-fg); }
.pg-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 14px; border-top: 1px solid var(--iz-border); }
.pg-row b { font-weight: 500; }
.pg-col { flex-direction: column; align-items: flex-start; gap: 10px; }
.pg-checks { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.pg-foot { display: flex; justify-content: flex-end; padding-top: 4px; }
.pg-key { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; }
.pg-key code { padding: 7px 12px; border: 1px solid var(--iz-border); border-radius: var(--iz-r-md); background: var(--iz-surface); font: 400 13px var(--iz-mono); }
.pg-sort .mc-sort { width: min(100%, 380px); }
.pg-progress .mc-progress { width: min(100%, 320px); }
.pg-tabs .mc-tabs { width: min(100%, 340px); }
.pg-tabs dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; padding-top: 12px; font-size: 14px; }
.pg-tabs dt { color: var(--iz-muted-fg); }
.pg-tabs [role="tabpanel"] p { padding-top: 12px; font-size: 14px; color: var(--iz-muted-fg); }
.pg .mc-stat { min-width: 220px; }

/* bundles on the home page */
.bcards { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .bcards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
.bcard { position: relative; display: flex; flex-direction: column; border: 1px solid var(--iz-border); border-radius: var(--iz-r-2xl); overflow: hidden; background: var(--iz-bg-subtle); transition: border-color var(--iz-dur) var(--iz-ease); }
.bcard:hover { border-color: var(--iz-border-strong); }
.bfan { position: relative; height: 190px; overflow: hidden; }
.bfan span { position: absolute; top: 30px; width: 54%; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; background: var(--iz-sunken); box-shadow: 0 0 0 1px var(--iz-ring-img), 0 16px 32px -14px rgb(0 0 0 / .4); transition: translate 500ms var(--iz-ease-out); }
.bfan img { width: 100%; height: 100%; object-fit: cover; }
.bfan span:nth-child(1) { left: 5%; rotate: -4deg; top: 40px; }
.bfan span:nth-child(2) { left: 23%; z-index: 2; top: 22px; }
.bfan span:nth-child(3) { left: 41%; z-index: 1; rotate: 4deg; top: 44px; }
.bcard:hover .bfan span:nth-child(2) { translate: 0 -6px; }
@media (min-width: 1024px) { .bfan { height: 230px; } .bfan span { width: 46%; } .bfan span:nth-child(2) { left: 27%; } .bfan span:nth-child(3) { left: 49%; } }
.bcard-body { display: grid; gap: 6px; padding: 20px 22px 22px; border-top: 1px solid var(--iz-border); background: var(--iz-surface); flex: 1; align-content: start; }
.bcard-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.bcard h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.bcard h3 a { text-decoration: none; }
.bcard h3 a::after { content: ""; position: absolute; inset: 0; }
.bcard h3 a:focus-visible { outline: none; }
.bcard h3 a:focus-visible::after { outline: 2px solid var(--iz-focus); outline-offset: 2px; border-radius: var(--iz-r-2xl); }
.bcard .muted { font-size: 14px; }
.bcard-foot { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 10px; font-size: 13px; }
.bprice b { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.bprice s { margin-left: 8px; font-size: 14px; color: var(--iz-muted-fg); }

/* buying, licences and docs */
.info { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .info { grid-template-columns: repeat(2, minmax(0, 1fr)); } .info-faq { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .info { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } .info-how { grid-column: auto; } }
.info-card { display: grid; gap: 16px; align-content: start; padding: 24px; border: 1px solid var(--iz-border); border-radius: var(--iz-r-2xl); background: var(--iz-surface); }
.info-card h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.015em; }
.steps2 { display: grid; gap: 14px; }
.steps2 li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; font-size: 15px; color: var(--iz-muted-fg); }
.steps2 b { color: var(--iz-fg); font-weight: 500; }
.steps2 .n { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--iz-border-strong); font-size: 12px; color: var(--iz-fg); }
.lic-mini { display: grid; }
.lic-mini li { display: grid; gap: 2px; padding: 10px 0; border-top: 1px solid var(--iz-border); font-size: 14px; }
.lic-mini li:first-child { border-top: 0; padding-top: 0; }
.lic-mini span { color: var(--iz-muted-fg); }
.info-faq .faq { margin-top: 0; }
@media (min-width: 900px) { .info-faq .faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; border-top: 0; } .info-faq .faq details:nth-child(-n+2) { border-top: 1px solid var(--iz-border); } }

/* catalogue: category pills */
.cat-pills { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-top: 8px; padding-bottom: 2px; }
.cat-pills::-webkit-scrollbar { display: none; }
.cat-pills a { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--iz-border); background: var(--iz-surface); font-size: 14px; font-weight: 500; text-decoration: none; color: var(--iz-muted-fg); transition: border-color var(--iz-dur) var(--iz-ease), color var(--iz-dur) var(--iz-ease); }
.cat-pills a:hover { border-color: var(--iz-border-strong); color: var(--iz-fg); }
.cat-pills a[aria-current="true"] { background: var(--iz-fg); border-color: var(--iz-fg); color: var(--iz-bg); }
.cat-pills .mono { font-size: 12px; opacity: .8; }

/* product page: a big framed cover first */
.g-main { border: 0; border-radius: var(--iz-r-2xl); box-shadow: inset 0 0 0 1px var(--iz-ring-img); position: relative; }
.g-main img, .g-main video { border-radius: inherit; }
.g-thumbs { grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); }
.g-thumbs button { border-radius: 10px; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
}
