/*
 * Stratamize Vending storefront. Consumes the stz spine (stratamize-tokens.css).
 * No raw colors here: every value is a --stz-* token or a derived calc.
 * Sections theme themselves with data-theme="dark" | "light".
 */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--stz-surface-canvas);
  color: var(--stz-text);
  font-family: var(--stz-font-body);
  font-size: var(--stz-size-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: var(--stz-focus-ring); outline-offset: var(--stz-focus-offset); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: var(--stz-space-3); top: -100px; z-index: var(--stz-z-tooltip); background: var(--stz-action-primary); color: var(--stz-on-action-primary); padding: var(--stz-space-2) var(--stz-space-3); border-radius: var(--stz-radius-control); }
.skip-link:focus { top: var(--stz-space-3); }

.wrap { width: min(1240px, 100% - 2 * max(16px, env(safe-area-inset-left))); margin-inline: auto; }
.band { padding-block: clamp(var(--stz-space-10), 7vw, var(--stz-space-14)); background: var(--stz-surface-canvas); color: var(--stz-text); }
.band--panel { background: var(--stz-surface-panel); }
.band--tight { padding-block: clamp(var(--stz-space-8), 5vw, var(--stz-space-11)); }

/* ---------- type ---------- */
.eyebrow { font-family: var(--stz-font-utility); font-size: var(--stz-size-micro); letter-spacing: .14em; text-transform: uppercase; color: var(--stz-text-muted); margin: 0 0 var(--stz-space-3); display: flex; align-items: center; gap: var(--stz-space-2); }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--stz-accent); }
h1, h2, h3, h4 { font-family: var(--stz-font-display); font-weight: var(--stz-weight-bold, 700); line-height: 1.05; letter-spacing: -0.025em; margin: 0; }
.display { font-size: clamp(2.6rem, 6.4vw, 5.2rem); }
.h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
.h3 { font-size: clamp(1.35rem, 2vw, 1.6rem); letter-spacing: -0.015em; }
.lead { font-size: clamp(var(--stz-size-body-lg), 1.6vw, var(--stz-size-lead)); line-height: 1.5; color: var(--stz-text-muted); max-width: 60ch; margin: var(--stz-space-4) 0 0; }
.muted { color: var(--stz-text-muted); }
.accent-text { color: var(--stz-accent-text); }
.num { font-variant-numeric: tabular-nums; }
.mono { font-family: var(--stz-font-utility); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--stz-space-4); margin-bottom: clamp(var(--stz-space-6), 4vw, var(--stz-space-10)); }
.section-head p { margin: var(--stz-space-3) 0 0; max-width: 56ch; color: var(--stz-text-muted); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--stz-space-2); min-height: 48px; padding: 0 var(--stz-space-6); border-radius: var(--stz-radius-control); border: var(--stz-border-width-hairline) solid transparent; font-weight: 700; font-size: var(--stz-size-btn-lg); letter-spacing: .02em; text-decoration: none; cursor: pointer; white-space: nowrap; transition-property: transform, opacity, background-position; }
.btn--primary { background: var(--stz-action-primary); color: var(--stz-on-action-primary); }
.btn--primary:hover { background: var(--stz-action-primary-hover); }
.btn--primary:active { background: var(--stz-action-primary-active); }
.btn--ghost { border-color: var(--stz-action-ghost-border); color: var(--stz-text); background: transparent; }
.btn--ghost:hover { background: var(--stz-action-ghost-hover); color: var(--stz-on-action-ghost-hover); }
.btn--sm { min-height: 40px; padding: 0 var(--stz-space-4); font-size: var(--stz-size-btn-md); }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
@media (prefers-reduced-motion: no-preference) {
  .btn { transition-duration: var(--stz-duration-fast); transition-timing-function: var(--stz-ease-in-out); }
  .btn:hover { transform: translateY(-1px); }
}
.link-arrow { display: inline-flex; gap: var(--stz-space-2); align-items: center; font-weight: 700; text-decoration: none; color: var(--stz-text); }
.link-arrow::after { content: "→"; color: var(--stz-accent-text); }
.link-arrow:hover { color: var(--stz-accent-text); }

/* ---------- header ---------- */
.site-header { color: var(--stz-text); position: sticky; top: 0; z-index: var(--stz-z-header); background: var(--stz-surface-canvas); border-bottom: var(--stz-border-width-hairline) solid var(--stz-border-hairline); }
.site-header .wrap { display: flex; align-items: center; gap: var(--stz-space-6); min-height: 72px; }
.brand { display: inline-flex; align-items: baseline; gap: var(--stz-space-2); text-decoration: none; color: var(--stz-text); }
.wordmark { font-family: var(--stz-font-display); font-weight: 700; font-size: 1.55rem; letter-spacing: -0.03em; }
.wordmark i { font-style: normal; color: var(--stz-accent); }
.brand small { font-family: var(--stz-font-utility); font-size: var(--stz-size-nano); letter-spacing: .18em; text-transform: uppercase; color: var(--stz-text-muted); }
.nav { display: flex; gap: var(--stz-space-1); margin-left: auto; align-items: center; }
.nav a { padding: var(--stz-space-2) var(--stz-space-3); border-radius: var(--stz-radius-control); text-decoration: none; font-weight: 500; font-size: var(--stz-size-small); color: var(--stz-text-muted); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--stz-text); background: var(--stz-surface-hover); }
.menu-toggle { display: none; margin-left: auto; background: none; border: var(--stz-border-width-hairline) solid var(--stz-border-default); border-radius: var(--stz-radius-control); min-height: 44px; padding: 0 var(--stz-space-3); cursor: pointer; }
@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; align-items: center; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; padding: var(--stz-space-3) max(16px, env(safe-area-inset-left)); background: var(--stz-surface-panel); border-bottom: var(--stz-border-width-hairline) solid var(--stz-border-hairline); box-shadow: var(--stz-shadow-card); }
  .nav[data-open="true"] { display: flex; }
  .nav a { padding: var(--stz-space-3); font-size: var(--stz-size-body); }
  .nav .btn { margin-top: var(--stz-space-2); }
}
/* Small phones: tighten the header so the Menu button stays on screen. */
@media (max-width: 380px) {
  .site-header .wrap { gap: var(--stz-space-2); }
  .wordmark { font-size: 1.3rem; }
  .brand small { letter-spacing: .1em; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--stz-surface-canvas); color: var(--stz-text); padding-block: clamp(var(--stz-space-10), 8vw, 120px) clamp(var(--stz-space-10), 7vw, var(--stz-space-14)); }
.hero::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 70vw; height: 70vw; background: radial-gradient(closest-side, var(--stz-accent-a14), transparent 70%); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(var(--stz-space-8), 5vw, var(--stz-space-13)); align-items: center; }
.hero h1 em { font-style: normal; color: var(--stz-accent-text); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--stz-space-3); margin-top: var(--stz-space-8); }
.hero-proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--stz-space-4); margin-top: var(--stz-space-10); padding-top: var(--stz-space-6); border-top: var(--stz-border-width-hairline) solid var(--stz-border-hairline); }
.hero-proof b { display: block; font-size: 1.6rem; letter-spacing: -0.02em; }
.hero-proof span { font-size: var(--stz-size-caption); color: var(--stz-text-muted); }
.hero-stage { position: relative; border-radius: var(--stz-radius-card); background: linear-gradient(160deg, var(--stz-surface-raised), var(--stz-surface-panel)); border: var(--stz-border-width-hairline) solid var(--stz-border-hairline); display: grid; grid-template-columns: repeat(3, 1fr); align-items: end; gap: var(--stz-space-2); padding: var(--stz-space-12) var(--stz-space-6) 0; box-shadow: var(--stz-shadow-feature); }
.hero-stage .machine-art { width: 100%; height: auto; }
.hero-stage .machine-art:nth-child(2) { transform: scale(1.12); transform-origin: bottom center; z-index: 1; }
.hero-stage figcaption { position: absolute; left: var(--stz-space-4); top: var(--stz-space-4); font-family: var(--stz-font-utility); font-size: var(--stz-size-nano); letter-spacing: .14em; text-transform: uppercase; color: var(--stz-text-muted); }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-stage { max-width: 560px; }
  .hero-proof { grid-template-columns: 1fr 1fr 1fr; }
}

/* ---------- machine illustration ---------- */
.machine-art { color: var(--stz-text); }
.machine-art .body { fill: var(--stz-surface-raised); stroke: var(--stz-border-strong); }
.machine-art .glass { fill: var(--stz-surface-sunken); stroke: var(--stz-border-default); }
.machine-art .shelf { stroke: var(--stz-border-default); }
.machine-art .item { fill: var(--stz-text-muted); opacity: .55; }
.machine-art .item.hot { fill: var(--stz-accent); opacity: .9; }
.machine-art .screen { fill: var(--stz-surface-inverse); opacity: .9; }
.machine-art .stripe { fill: var(--stz-accent); }
.machine-art .slot { fill: var(--stz-surface-canvas); }

/* ---------- category tiles ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--stz-space-4); }
.cat-tile { position: relative; display: grid; grid-template-columns: 1fr 76px; grid-template-rows: 1fr auto; gap: var(--stz-space-3); padding: var(--stz-space-5); min-height: 168px; border-radius: var(--stz-radius-card); background: var(--stz-surface-panel); border: var(--stz-border-width-hairline) solid var(--stz-border-hairline); text-decoration: none; color: var(--stz-text); transition-property: transform, opacity; }
.cat-tile:hover { border-color: var(--stz-border-accent); }
.cat-tile h3 { font-size: 1.2rem; letter-spacing: -0.015em; }
.cat-tile p { margin: var(--stz-space-2) 0 0; font-size: var(--stz-size-small); color: var(--stz-text-muted); line-height: 1.45; }
.cat-tile .count { grid-column: 1; font-family: var(--stz-font-utility); font-size: var(--stz-size-micro); color: var(--stz-accent-text); letter-spacing: .08em; text-transform: uppercase; }
.cat-tile .machine-art { grid-column: 2; grid-row: 1 / span 2; align-self: end; }
@media (prefers-reduced-motion: no-preference) {
  .cat-tile { transition-duration: var(--stz-duration-quick); }
  .cat-tile:hover { transform: translateY(-3px); }
}

/* ---------- catalog layout ---------- */
.catalog { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(var(--stz-space-6), 3vw, var(--stz-space-10)); align-items: start; }
.filters { position: sticky; top: 96px; display: grid; gap: var(--stz-space-6); }
.filters fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: var(--stz-space-1); }
.filters legend { font-family: var(--stz-font-utility); font-size: var(--stz-size-micro); letter-spacing: .14em; text-transform: uppercase; color: var(--stz-text-muted); margin-bottom: var(--stz-space-2); }
.chip { display: flex; align-items: center; justify-content: space-between; gap: var(--stz-space-2); min-height: 40px; padding: 0 var(--stz-space-3); border-radius: var(--stz-radius-control); text-decoration: none; color: var(--stz-text); font-size: var(--stz-size-small); cursor: pointer; border: var(--stz-border-width-hairline) solid transparent; background: none; text-align: left; width: 100%; }
.chip:hover { background: var(--stz-surface-hover); }
.chip[aria-pressed="true"], .chip[aria-current="page"] { background: var(--stz-surface-panel); border-color: var(--stz-border-accent); font-weight: 700; }
.chip small { color: var(--stz-text-muted); font-variant-numeric: tabular-nums; }
.check { display: flex; align-items: center; gap: var(--stz-space-2); min-height: 36px; font-size: var(--stz-size-small); cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--stz-accent); }
.search { position: relative; }
.search input, .toolbar select { width: 100%; min-height: 44px; padding: 0 var(--stz-space-3); border-radius: var(--stz-radius-control); border: var(--stz-border-width-hairline) solid var(--stz-border-control); background: var(--stz-surface-panel); }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--stz-space-3); margin-bottom: var(--stz-space-5); }
.toolbar select { width: auto; }
.result-count { font-size: var(--stz-size-small); color: var(--stz-text-muted); }
.filter-toggle { display: none; }
@media (max-width: 900px) {
  .catalog { grid-template-columns: 1fr; }
  .filters { position: static; display: none; padding: var(--stz-space-4); background: var(--stz-surface-panel); border-radius: var(--stz-radius-card); border: var(--stz-border-width-hairline) solid var(--stz-border-hairline); }
  .filters[data-open="true"] { display: grid; }
  .filter-toggle { display: inline-flex; }
}

/* ---------- product cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: var(--stz-space-4); }
.card { position: relative; display: flex; flex-direction: column; border-radius: var(--stz-radius-card); background: var(--stz-surface-panel); border: var(--stz-border-width-hairline) solid var(--stz-border-hairline); overflow: hidden; transition-property: transform, opacity; }
.card:hover { border-color: var(--stz-border-default); }
.card-media { display: grid; place-items: end center; height: 230px; padding: var(--stz-space-5) var(--stz-space-5) 0; background: linear-gradient(180deg, var(--stz-surface-sunken), var(--stz-surface-panel)); }
.card-media .machine-art { height: 100%; width: auto; }
/* Factory photos are shot on white, so they sit on white in both themes. */
.card-media--photo { display: block; padding: var(--stz-space-3); background: var(--stz-white); }
.card-media--photo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.card-body { display: flex; flex-direction: column; gap: var(--stz-space-2); padding: var(--stz-space-4) var(--stz-space-5) var(--stz-space-5); flex: 1; }
.card-cat { font-family: var(--stz-font-utility); font-size: var(--stz-size-nano); letter-spacing: .12em; text-transform: uppercase; color: var(--stz-accent-text); }
.card h3 { font-size: 1.15rem; letter-spacing: -0.01em; line-height: 1.2; }
.card h3 a { text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card .model { font-family: var(--stz-font-utility); font-size: var(--stz-size-caption); color: var(--stz-text-muted); }
.card .specs { display: flex; flex-wrap: wrap; gap: var(--stz-space-1) var(--stz-space-3); margin: var(--stz-space-1) 0 0; padding: 0; list-style: none; font-size: var(--stz-size-caption); color: var(--stz-text-muted); }
.card-foot { margin-top: auto; padding-top: var(--stz-space-3); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--stz-space-2); border-top: var(--stz-border-width-hairline) solid var(--stz-border-hairline); }
.price { font-weight: 700; font-variant-numeric: tabular-nums; }
.price small { display: block; font-weight: 400; font-size: var(--stz-size-micro); color: var(--stz-text-muted); }
.card-foot .btn { position: relative; z-index: 1; }
.badge { position: absolute; top: var(--stz-space-3); left: var(--stz-space-3); padding: 3px var(--stz-space-2); border-radius: var(--stz-radius-tag); font-family: var(--stz-font-utility); font-size: var(--stz-size-nano); letter-spacing: .1em; text-transform: uppercase; background: var(--stz-action-primary); color: var(--stz-on-action-primary); }
.badge:has(+ .card-media--photo) { left: auto; right: var(--stz-space-3); }
.badge--quiet { background: var(--stz-surface-inverse); color: var(--stz-on-surface-inverse); }
@media (prefers-reduced-motion: no-preference) {
  .card { transition-duration: var(--stz-duration-quick); }
  .card:hover { transform: translateY(-3px); }
}
.empty { padding: var(--stz-space-10); text-align: center; border: var(--stz-border-width-hairline) dashed var(--stz-border-default); border-radius: var(--stz-radius-card); color: var(--stz-text-muted); }

/* ---------- product page ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: var(--stz-space-2); font-size: var(--stz-size-caption); color: var(--stz-text-muted); margin-bottom: var(--stz-space-6); }
.crumbs a { color: inherit; }
.pdp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: clamp(var(--stz-space-8), 5vw, var(--stz-space-13)); align-items: start; }
.pdp-media { position: sticky; top: 96px; display: grid; place-items: end center; aspect-ratio: 5 / 6; max-height: 680px; padding: var(--stz-space-12) var(--stz-space-8) var(--stz-space-6); border-radius: var(--stz-radius-card); background: linear-gradient(180deg, var(--stz-surface-sunken), var(--stz-surface-panel)); border: var(--stz-border-width-hairline) solid var(--stz-border-hairline); }
.pdp-media .machine-art { height: 100%; width: auto; }
.pdp-media .note { position: absolute; left: var(--stz-space-4); top: var(--stz-space-4); font-size: var(--stz-size-micro); color: var(--stz-text-muted); }
.pdp-gallery { position: sticky; top: 96px; display: grid; gap: var(--stz-space-3); }
.pdp-photo { margin: 0; display: grid; gap: var(--stz-space-2); }
.pdp-photo-frame { display: block; aspect-ratio: 1 / 1; max-height: 640px; padding: var(--stz-space-4); border-radius: var(--stz-radius-card); background: var(--stz-white); border: var(--stz-border-width-hairline) solid var(--stz-border-hairline); overflow: hidden; }
.pdp-photo-frame img { display: block; width: 100%; height: 100%; object-fit: contain; }
.pdp-photo figcaption { font-size: var(--stz-size-micro); color: var(--stz-text-muted); }
.pdp-thumbs { display: flex; flex-wrap: wrap; gap: var(--stz-space-2); margin: 0; padding: 0; list-style: none; }
.pdp-thumbs a { display: block; width: 76px; height: 76px; padding: var(--stz-space-1); border-radius: var(--stz-radius-control); background: var(--stz-white); border: var(--stz-border-width-hairline) solid var(--stz-border-hairline); }
.pdp-thumbs a:hover { border-color: var(--stz-border-default); }
.pdp-thumbs a[aria-current="true"] { border-color: var(--stz-border-accent); outline: var(--stz-border-width-hairline) solid var(--stz-border-accent); }
.pdp-thumbs img { display: block; width: 100%; height: 100%; object-fit: contain; }
.pdp h1 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
.pdp .summary { color: var(--stz-text-muted); font-size: var(--stz-size-body-lg); margin: var(--stz-space-4) 0 var(--stz-space-6); }
.highlights { display: grid; gap: var(--stz-space-2); margin: 0 0 var(--stz-space-8); padding: 0; list-style: none; }
.highlights li { display: grid; grid-template-columns: 20px 1fr; gap: var(--stz-space-2); }
.highlights li::before { content: ""; width: 8px; height: 8px; margin-top: 9px; background: var(--stz-accent); border-radius: var(--stz-radius-tag); }
.configurator { display: grid; gap: var(--stz-space-5); padding: var(--stz-space-6); border-radius: var(--stz-radius-card); background: var(--stz-surface-panel); border: var(--stz-border-width-hairline) solid var(--stz-border-hairline); box-shadow: var(--stz-shadow-card); }
.opt-group { border: 0; padding: 0; margin: 0; display: grid; gap: var(--stz-space-2); }
.opt-group legend { font-weight: 700; margin-bottom: var(--stz-space-2); font-size: var(--stz-size-small); }
.qty { display: inline-flex; align-items: center; border: var(--stz-border-width-hairline) solid var(--stz-border-control); border-radius: var(--stz-radius-control); }
.qty button { width: 44px; height: 44px; background: none; border: 0; cursor: pointer; font-size: 1.2rem; }
.qty input { width: 56px; height: 44px; text-align: center; border: 0; background: none; font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.config-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: var(--stz-space-4); border-top: var(--stz-border-width-hairline) solid var(--stz-border-hairline); }
.config-actions { display: grid; gap: var(--stz-space-2); }
.start-h { font-weight: 700; font-size: var(--stz-size-small); letter-spacing: 0; }
.deal-list { display: grid; gap: var(--stz-space-3); margin: var(--stz-space-1) 0 0; padding: 0; list-style: none; }
.deal-list li { display: grid; grid-template-columns: 20px minmax(0, 1fr); column-gap: var(--stz-space-2); }
.deal-list li::before { content: ""; grid-row: span 2; width: 8px; height: 8px; margin-top: 7px; background: var(--stz-accent); border-radius: var(--stz-radius-tag); }
.deal-list b { font-size: var(--stz-size-small); }
.deal-list span { grid-column: 2; font-size: var(--stz-size-caption); color: var(--stz-text-muted); line-height: 1.4; }
.config-total b { font-size: 1.25rem; }
.fine { font-size: var(--stz-size-micro); color: var(--stz-text-muted); line-height: 1.5; margin: 0; }
.spec-table { width: 100%; border-collapse: collapse; font-size: var(--stz-size-small); }
.spec-table th, .spec-table td { text-align: left; padding: var(--stz-space-3) 0; border-bottom: var(--stz-border-width-hairline) solid var(--stz-border-hairline); vertical-align: top; }
.spec-table th { width: 38%; font-weight: 500; color: var(--stz-text-muted); padding-right: var(--stz-space-4); }
.spec-table td { font-variant-numeric: tabular-nums; }
.tabs-h { margin: var(--stz-space-10) 0 var(--stz-space-4); }
@media (max-width: 960px) {
  .pdp { grid-template-columns: 1fr; }
  .pdp-media { position: static; aspect-ratio: 4 / 3; }
  .pdp-gallery { position: static; }
  .pdp-photo-frame { max-height: 70vh; }
}

/* ---------- value props / steps ---------- */
.props { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--stz-space-6); }
.prop { padding-top: var(--stz-space-4); border-top: var(--stz-border-width-strong) solid var(--stz-accent); }
.prop h3 { font-size: 1.1rem; letter-spacing: -0.01em; margin-bottom: var(--stz-space-2); }
.prop p { margin: 0; color: var(--stz-text-muted); font-size: var(--stz-size-small); }
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--stz-space-4); padding: 0; margin: 0; list-style: none; }
.steps li { counter-increment: step; padding: var(--stz-space-5); border-radius: var(--stz-radius-card); background: var(--stz-surface-panel); border: var(--stz-border-width-hairline) solid var(--stz-border-hairline); }
.steps li::before { content: "0" counter(step); display: block; font-family: var(--stz-font-utility); font-size: var(--stz-size-caption); color: var(--stz-accent-text); margin-bottom: var(--stz-space-4); }
.steps h3 { font-size: 1.05rem; margin-bottom: var(--stz-space-2); }
.steps p { margin: 0; font-size: var(--stz-size-small); color: var(--stz-text-muted); }
@media (max-width: 960px) { .props, .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .props, .steps { grid-template-columns: 1fr; } .hero-proof { grid-template-columns: 1fr; } }

/* ---------- split feature ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(var(--stz-space-8), 5vw, var(--stz-space-13)); align-items: center; }
.split ul { margin: var(--stz-space-6) 0 0; padding: 0; list-style: none; display: grid; gap: var(--stz-space-3); }
.split li { padding-left: var(--stz-space-6); position: relative; }
.split li::before { content: "✓"; position: absolute; left: 0; color: var(--stz-accent-text); font-weight: 700; }
.screen-mock { aspect-ratio: 9 / 14; max-width: 360px; margin-inline: auto; border-radius: 22px; padding: 14px; background: var(--stz-surface-inverse); box-shadow: var(--stz-shadow-feature); }
.screen-mock .scr { height: 100%; border-radius: 12px; background: var(--stz-surface-canvas); padding: var(--stz-space-3); display: grid; grid-template-rows: auto 1fr auto; gap: var(--stz-space-3); }
.scr-top { display: flex; justify-content: space-between; align-items: center; font-size: var(--stz-size-micro); }
.scr-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; align-content: start; }
.scr-grid span { aspect-ratio: 3/4; border-radius: 6px; background: var(--stz-surface-panel); border: var(--stz-border-width-hairline) solid var(--stz-border-hairline); display: grid; place-items: end center; padding-bottom: 4px; font-size: 9px; color: var(--stz-text-muted); }
.scr-grid span:nth-child(3n+2) { border-color: var(--stz-border-accent); }
.scr-pay { border-radius: 6px; background: var(--stz-action-primary); color: var(--stz-on-action-primary); text-align: center; font-weight: 700; font-size: var(--stz-size-micro); padding: 8px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: var(--stz-space-2); max-width: 860px; }
.faq details { border-bottom: var(--stz-border-width-hairline) solid var(--stz-border-hairline); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: var(--stz-space-4); padding: var(--stz-space-4) 0; font-weight: 700; font-size: var(--stz-size-body-lg); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--stz-accent-text); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 0 0 var(--stz-space-4); color: var(--stz-text-muted); max-width: 70ch; }

/* ---------- CTA band ---------- */
.cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--stz-space-6); align-items: center; padding: clamp(var(--stz-space-8), 5vw, var(--stz-space-12)); border-radius: var(--stz-radius-card); background: var(--stz-surface-brand); color: var(--stz-on-surface-brand); }
.cta p { margin: var(--stz-space-3) 0 0; max-width: 56ch; }
.cta .btn--ghost { color: var(--stz-on-surface-brand); border-color: var(--stz-on-surface-brand); }
.cta .btn--ghost:hover { background: var(--stz-on-surface-brand); color: var(--stz-surface-brand); }
.cta .btn--primary { background: var(--stz-surface-inverse); color: var(--stz-on-surface-inverse); }
.cta :focus-visible { outline: var(--stz-focus-ring-on-brand); }
@media (max-width: 760px) { .cta { grid-template-columns: 1fr; } }

/* ---------- forms ---------- */
.form { display: grid; gap: var(--stz-space-4); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--stz-space-4); }
.field { display: grid; gap: 6px; }
.field label { font-size: var(--stz-size-label); font-weight: 700; }
.field label small { font-weight: 400; color: var(--stz-text-muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 46px; padding: var(--stz-space-2) var(--stz-space-3); border-radius: var(--stz-radius-control); border: var(--stz-border-width-hairline) solid var(--stz-border-control); background: var(--stz-surface-panel); }
.field textarea { min-height: 110px; resize: vertical; }
.field [aria-invalid="true"] { border-color: var(--stz-status-danger); }
.field-error { font-size: var(--stz-size-caption); color: var(--stz-status-danger); }
.notice { padding: var(--stz-space-4); border-radius: var(--stz-radius-control); border-left: 4px solid var(--stz-status-info); background: var(--stz-status-info-subtle); font-size: var(--stz-size-small); }
.notice--ok { border-left-color: var(--stz-status-success); background: var(--stz-status-success-subtle); }
.notice--warn { border-left-color: var(--stz-status-warning); background: var(--stz-status-warning-subtle); }
.notice--err { border-left-color: var(--stz-status-danger); background: var(--stz-status-danger-subtle); }
.notice[hidden] { display: none; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

/* ---------- shared small controls ---------- */
.text-btn { background: none; border: 0; padding: var(--stz-space-1); color: var(--stz-text-muted); cursor: pointer; text-decoration: underline; font-size: var(--stz-size-caption); }
.text-btn:hover { color: var(--stz-status-danger); }

/* ---------- footer ---------- */
.site-footer { background: var(--stz-surface-canvas); color: var(--stz-text); padding-block: var(--stz-space-12) var(--stz-space-8); }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: var(--stz-space-8); }
.foot-grid h4 { font-family: var(--stz-font-utility); font-size: var(--stz-size-micro); letter-spacing: .14em; text-transform: uppercase; color: var(--stz-text-muted); font-weight: 500; margin-bottom: var(--stz-space-3); }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--stz-space-2); font-size: var(--stz-size-small); }
.foot-grid a { text-decoration: none; color: var(--stz-text-muted); }
.foot-grid a:hover { color: var(--stz-text); }
.foot-base { margin-top: var(--stz-space-10); padding-top: var(--stz-space-5); border-top: var(--stz-border-width-hairline) solid var(--stz-border-hairline); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--stz-space-3); font-size: var(--stz-size-caption); color: var(--stz-text-muted); }
.foot-base .legal-block { margin: 0; line-height: 1.7; }
/* minmax(0, 1fr) lets a column shrink below its longest word, so a long link
   wraps instead of pushing the last column off a phone screen. */
.foot-grid > div { min-width: 0; }
.foot-grid a { overflow-wrap: anywhere; }
@media (max-width: 860px) {
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--stz-space-8) var(--stz-space-5); }
  /* Brand and contact rows span the full width so the email stays on one line. */
  .foot-grid > div:first-child, .foot-grid > div:last-child { grid-column: 1 / -1; }
}

/* ---------- reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity var(--stz-duration-slide) var(--stz-ease-out-quad), transform var(--stz-duration-slide) var(--stz-ease-out-quad); }
  [data-reveal].is-in { opacity: 1; transform: none; }
}
