/* ===== Med Javor — Memphis 80s design system ===== */

:root {
  --grey-950: #19181c;
  --grey-900: #232227;
  --grey-800: #343239;
  --grey-700: #4d4a53;
  --grey-500: #837f8a;
  --grey-300: #bdb9c2;
  --grey-200: #dcd9e0;
  --grey-100: #ece9ef;
  --grey-50: #f6f4f7;
  --paper: #faf8f4;
  --accent: #ffc53d;
  --accent-dark: #e6a300;
  --accent-ink: #2a2200;

  --font-display: "Iowan Old Style", "Palatino Linotype", Georgia, "Times New Roman", serif;
  --font-body: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Consolas", "SF Mono", Menlo, monospace;

  --radius-s: 6px;
  --radius-m: 14px;
  --radius-l: 28px;
  --shadow-paper: 0 2px 0 var(--grey-900), 6px 10px 0 -2px var(--grey-200), 6px 10px 0 -1px var(--grey-900);
  --ease: cubic-bezier(.22, .9, .3, 1);
}

* { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--grey-900);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  margin: 0 0 .5em;
  color: var(--grey-950);
}

h1 { font-size: clamp(2.6rem, 6.2vw, 5.4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }

p { margin: 0 0 1em; }

a { color: var(--grey-900); text-decoration: none; }

:focus-visible {
  outline: 3px solid var(--accent-dark);
  outline-offset: 2px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(1.1rem, 4vw, 2.4rem);
}

section { position: relative; padding: clamp(3rem, 7vw, 6rem) 0; }

/* ===== grain overlay ===== */
.grain {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 999;
  opacity: .5;
  mix-blend-mode: overlay;
}

/* ===== reveal animation ===== */
.reveal {
  opacity: 1;
  transform: none;
  clip-path: inset(0 0 0 0);
}
.reveal.jsr {
  opacity: 0;
  transform: translateY(26px);
  clip-path: inset(0 0 100% 0);
  transition: opacity .7s var(--ease), transform .7s var(--ease), clip-path .7s var(--ease);
}
.reveal.jsr.in-view {
  opacity: 1;
  transform: translateY(0);
  clip-path: inset(0 0 0 0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal.jsr { transition: none; opacity: 1; transform: none; clip-path: inset(0 0 0 0); }
}

/* ===== skip link ===== */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: var(--accent-ink);
  padding: .6em 1em;
  z-index: 1000;
}
.skip-link:focus { left: .5rem; top: .5rem; }

/* ===== header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--grey-950);
  color: var(--paper);
  border-bottom: 3px solid var(--accent);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: .7rem;
  padding-bottom: .7rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: var(--paper);
}
.brand .mark { width: 42px; height: 42px; flex: none; }
.brand .wordmark { width: 150px; height: 30px; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}
.main-nav a {
  color: var(--grey-200);
  font-size: .96rem;
  font-weight: 600;
  letter-spacing: .01em;
  position: relative;
  padding: .3rem 0;
}
.main-nav a.active,
.main-nav a:hover { color: var(--paper); }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.main-nav a:hover::after,
.main-nav a.active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: .9rem; }

.cart-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--paper);
  font-weight: 700;
  border: 2px solid var(--grey-700);
  border-radius: 999px;
  padding: .45rem .9rem;
}
.cart-link svg { width: 20px; height: 20px; }
.cart-count {
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 999px;
  min-width: 1.4em;
  padding: 0 .35em;
  text-align: center;
  font-size: .82rem;
  transition: transform .3s var(--ease);
}
.cart-count.bump { transform: scale(1.5); }

.menu-toggle {
  display: none;
  background: none;
  border: 2px solid var(--grey-700);
  border-radius: var(--radius-s);
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--paper);
}
.menu-toggle svg { width: 22px; height: 22px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-menu { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(320px, 82vw);
    background: var(--grey-950);
    flex-direction: column;
    align-items: flex-start;
    gap: 1.4rem;
    padding: 6rem 1.6rem 2rem;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .35s var(--ease), visibility .35s;
    border-left: 3px solid var(--accent);
  }
  .main-nav.open { transform: translateX(0); visibility: visible; }
  .main-nav a { font-size: 1.1rem; }
  .menu-toggle { display: flex; }
}

/* ===== buttons ===== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .98rem;
  padding: .8rem 1.5rem;
  border-radius: 999px;
  border: 2.5px solid var(--grey-950);
  background: var(--paper);
  color: var(--grey-950);
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  min-height: 44px;
  transition: color .35s var(--ease), border-color .35s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  left: -100%;
  width: 100%;
  background: var(--grey-950);
  z-index: -1;
  transition: left .35s var(--ease);
}
.btn:hover, .btn:focus-visible { color: var(--paper); }
.btn:hover::before, .btn:focus-visible::before { left: 0; }

.btn-primary {
  background: var(--accent);
  border-color: var(--grey-950);
  color: var(--accent-ink);
}
.btn-primary::before { background: var(--grey-950); }
.btn-primary:hover, .btn-primary:focus-visible { color: var(--paper); }

.btn-dark {
  background: var(--grey-950);
  color: var(--paper);
  border-color: var(--grey-950);
}
.btn-dark::before { background: var(--accent); }
.btn-dark:hover, .btn-dark:focus-visible { color: var(--accent-ink); }

.btn-ghost {
  background: transparent;
  border-color: var(--paper);
  color: var(--paper);
}
.btn-ghost::before { background: var(--paper); }
.btn-ghost:hover, .btn-ghost:focus-visible { color: var(--grey-950); }

.btn-sm { padding: .5rem 1rem; font-size: .88rem; min-height: 38px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn svg { width: 18px; height: 18px; }

/* ===== hero ===== */
.hero {
  background: var(--grey-950);
  color: var(--paper);
  position: relative;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(5rem, 10vw, 8rem);
  overflow: hidden;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  position: relative;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  color: var(--accent);
  margin-bottom: 1.1rem;
}
.hero h1 { color: var(--paper); }
.hero h1 .ink { position: relative; white-space: nowrap; }
.hero h1 .ink svg {
  position: absolute;
  left: -2%; bottom: -.18em;
  width: 104%; height: .32em;
  overflow: visible;
}
.hero h1 .ink path {
  stroke: var(--accent);
  stroke-width: 10;
  fill: none;
  stroke-linecap: round;
  stroke-dasharray: 320;
  stroke-dashoffset: 320;
  animation: draw-underline 1.1s var(--ease) .5s forwards;
}
@keyframes draw-underline { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .hero h1 .ink path { animation: none; stroke-dashoffset: 0; }
}
.hero-lede { font-size: 1.14rem; color: var(--grey-200); max-width: 34em; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.6rem; }

.hero-art {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-art svg { width: 100%; height: 100%; }
.hero-art .bob {
  animation: bob 5s ease-in-out infinite;
  transform-origin: center;
}
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-10px) rotate(-2deg); } }
@media (prefers-reduced-motion: reduce) { .hero-art .bob { animation: none; } }

.hero-card {
  position: absolute;
  bottom: -2.4rem;
  left: -1.4rem;
  background: var(--paper);
  color: var(--grey-950);
  border: 2.5px solid var(--grey-950);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-paper);
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  gap: .8rem;
  max-width: 230px;
}
.hero-card img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; }
.hero-card strong { display: block; font-size: .95rem; }
.hero-card span { font-size: .82rem; color: var(--grey-700); }

@media (max-width: 760px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-card { position: static; margin-top: 1.4rem; max-width: none; }
}

.confetti { position: absolute; pointer-events: none; width: 140px; height: auto; }

.mark .drip { stroke: var(--accent); }
.icon { width: 22px; height: 22px; }

/* ===== dividers ===== */
.divider { width: 100%; height: auto; display: block; }
.divider-wrap { line-height: 0; background: var(--paper); color: var(--grey-900); }
.divider-wrap.flip { transform: scaleY(-1); }
.divider-wrap.on-dark { background: var(--grey-950); color: var(--grey-700); }
.divider-wrap.to-dark { color: var(--grey-950); background: var(--grey-900); }
.divider-wrap.on-accent { background: var(--accent); color: var(--accent-ink); }

/* ===== sections ===== */
.section-tight { padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.eyebrow {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  color: var(--grey-700);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .6rem;
}
.eyebrow::before {
  content: "";
  width: 18px; height: 3px;
  background: var(--accent-dark);
  display: inline-block;
}
.section-head { max-width: 42em; margin-bottom: 2.4rem; }
.section-head p { color: var(--grey-700); font-size: 1.05rem; }

/* ===== product grid / cards ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.6rem;
}
.product-card {
  background: var(--grey-50);
  border: 2.5px solid var(--grey-950);
  border-radius: var(--radius-m);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-paper); }
.product-card .thumb {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-bottom: 2.5px solid var(--grey-950);
  background: var(--grey-200);
}
.product-card .thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s var(--ease);
}
.product-card:hover .thumb img { transform: scale(1.08); }
.product-card .badge {
  position: absolute;
  top: .6rem; left: .6rem;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: .3em .6em;
  border-radius: 999px;
  border: 2px solid var(--grey-950);
}
.product-card .body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.product-card h3 { font-size: 1.1rem; margin: 0; }
.product-card .cat { font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--grey-500); }
.product-card p.desc { font-size: .9rem; color: var(--grey-700); margin: 0; flex: 1; }
.product-card .price-row { display: flex; align-items: baseline; justify-content: space-between; margin-top: .3rem; }
.price { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; }
.unit { font-size: .78rem; color: var(--grey-500); }
.product-card .card-actions { display: flex; gap: .6rem; margin-top: .5rem; }
.product-card .card-actions .btn { flex: 1; }

/* horizontal scroll-snap strip on mobile */
@media (max-width: 640px) {
  .product-grid.strip {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    padding-bottom: .5rem;
    margin: 0 -1.1rem;
    padding-left: 1.1rem;
    padding-right: 1.1rem;
  }
  .product-grid.strip .product-card { min-width: 72vw; scroll-snap-align: start; }
  .product-grid.strip .product-card.reveal.jsr {
    opacity: 1;
    transform: none;
    clip-path: inset(0 0 0 0);
    transition: none;
  }
}

/* ===== badge / seal ===== */
.seal { width: 120px; height: 120px; flex: none; }
.seal .spin { transform-origin: center; animation: spin-slow 22s linear infinite; }
@media (prefers-reduced-motion: reduce) { .seal .spin { animation: none; } }
@keyframes spin-slow { to { transform: rotate(360deg); } }

/* ===== feature / configurator ===== */
.feature-section { background: var(--grey-900); color: var(--paper); position: relative; }
.feature-head { max-width: 46em; }
.feature-head h2 { color: var(--paper); }
.feature-head .eyebrow { color: var(--grey-300); }
.feature-head p { color: var(--grey-300); }
.configurator {
  margin-top: 2.2rem;
  background: var(--grey-950);
  border: 2.5px solid var(--accent);
  border-radius: var(--radius-l);
  padding: clamp(1.2rem, 3vw, 2.2rem);
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem;
}
@media (max-width: 760px) { .configurator { grid-template-columns: 1fr; } }

.config-list { display: flex; flex-direction: column; gap: .7rem; }
.config-item {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: .9rem;
  background: var(--grey-900);
  border: 2px solid var(--grey-700);
  border-radius: var(--radius-s);
  padding: .6rem .8rem;
}
.config-item img { width: 52px; height: 52px; border-radius: var(--radius-s); object-fit: cover; }
.config-item .ci-name { font-weight: 700; font-size: .94rem; }
.config-item .ci-price { font-size: .82rem; color: var(--grey-300); }
.qty {
  display: flex;
  align-items: center;
  gap: .4rem;
  background: var(--grey-800);
  border-radius: 999px;
  padding: .2rem;
}
.qty button {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: none;
  background: var(--grey-700);
  color: var(--paper);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.qty button:hover { background: var(--accent); color: var(--accent-ink); }
.qty output { min-width: 1.6em; text-align: center; font-weight: 700; }

.config-summary {
  background: var(--grey-900);
  border: 2px dashed var(--grey-700);
  border-radius: var(--radius-m);
  padding: 1.3rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: .9rem;
  align-self: start;
  position: sticky;
  top: 6rem;
}
.config-summary .cs-row { display: flex; justify-content: space-between; font-size: .92rem; color: var(--grey-300); }
.config-summary .cs-total { display: flex; justify-content: space-between; font-size: 1.3rem; font-weight: 700; color: var(--paper); }
.config-summary .cs-hint { font-size: .8rem; color: var(--grey-500); }

/* ===== product detail thumbs ===== */
.p-thumbs { display: flex; gap: .6rem; margin-top: .9rem; }
.p-thumb { width: 64px; height: 64px; padding: 0; border: 2px solid var(--grey-300); border-radius: var(--radius-s); overflow: hidden; background: none; cursor: pointer; }
.p-thumb img { width: 100%; height: 100%; object-fit: cover; }
.p-thumb.active { border-color: var(--accent-dark); }

/* ===== about / story layout ===== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.6rem, 4vw, 3.2rem);
  align-items: center;
}
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }
.split .media { position: relative; }
.split .media img {
  width: 100%;
  aspect-ratio: 5/4;
  object-fit: cover;
  border-radius: var(--radius-l);
  border: 2.5px solid var(--grey-950);
}
.split .media .seal { position: absolute; bottom: -1.2rem; right: -1.2rem; background: var(--paper); border-radius: 50%; border: 2.5px solid var(--grey-950); }

.stat-strip { display: flex; flex-wrap: wrap; gap: 1.6rem; margin-top: 1.4rem; }
.stat-strip .stat { font-family: var(--font-mono); font-size: .85rem; color: var(--grey-700); }

/* ===== timeline (about) ===== */
.timeline { display: flex; flex-direction: column; gap: 1.6rem; margin-top: 2rem; }
.timeline-item { display: grid; grid-template-columns: 90px 1fr; gap: 1.2rem; }
.timeline-item .year { font-family: var(--font-mono); font-weight: 700; color: var(--accent-dark); font-size: 1.1rem; }
.timeline-item h3 { margin-bottom: .2rem; }

/* ===== icon tiles ===== */
.icon-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1.4rem; margin-top: 2rem; }
.icon-tile {
  background: var(--grey-50);
  border: 2px solid var(--grey-900);
  border-radius: var(--radius-m);
  padding: 1.4rem;
}
.icon-tile svg { width: 34px; height: 34px; margin-bottom: .7rem; color: var(--accent-dark); }
.icon-tile h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.icon-tile p { font-size: .9rem; color: var(--grey-700); margin: 0; }

/* ===== forms ===== */
.form-card {
  background: var(--grey-50);
  border: 2.5px solid var(--grey-950);
  border-radius: var(--radius-l);
  padding: clamp(1.4rem, 3vw, 2.4rem);
  max-width: 640px;
}
.field { margin-bottom: 1.1rem; display: flex; flex-direction: column; gap: .4rem; }
.field label { font-weight: 700; font-size: .92rem; }
.field input, .field textarea, .field select {
  font: inherit;
  padding: .7rem .9rem;
  border: 2px solid var(--grey-700);
  border-radius: var(--radius-s);
  background: var(--paper);
  color: var(--grey-950);
  accent-color: var(--accent-dark);
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent-dark); }
.field textarea { resize: vertical; min-height: 110px; }
.field.check { flex-direction: row; align-items: flex-start; gap: .6rem; }
.field.check input { margin-top: .25rem; width: 18px; height: 18px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.form-msg { margin-top: 1rem; padding: .8rem 1rem; border-radius: var(--radius-s); font-size: .92rem; display: none; }
.form-msg.ok { display: block; background: #e4f4df; border: 2px solid #3a7d2c; color: #234f19; }
.form-msg.err { display: block; background: #fbe4e1; border: 2px solid #b0392c; color: #7a241a; }
.field-error { color: #b0392c; font-size: .82rem; }

/* newsletter (footer) */
.newsletter { display: flex; gap: .6rem; flex-wrap: wrap; }
.newsletter input { flex: 1; min-width: 200px; }

/* ===== cart / checkout ===== */
.cart-table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; }
.cart-table th { text-align: left; font-family: var(--font-mono); text-transform: uppercase; font-size: .72rem; letter-spacing: .06em; color: var(--grey-500); padding-bottom: .6rem; border-bottom: 2px solid var(--grey-900); }
.cart-table td { padding: .9rem 0; border-bottom: 1px solid var(--grey-200); vertical-align: middle; }
.cart-row-product { display: flex; align-items: center; gap: .8rem; }
.cart-row-product img { width: 56px; height: 56px; border-radius: var(--radius-s); object-fit: cover; }
.cart-remove { background: none; border: none; color: var(--grey-500); cursor: pointer; text-decoration: underline; font-size: .85rem; padding: 0; }
.cart-remove:hover { color: #b0392c; }
.cart-empty { text-align: center; padding: 3rem 1rem; color: var(--grey-700); }
.cart-summary { background: var(--grey-50); border: 2.5px solid var(--grey-950); border-radius: var(--radius-m); padding: 1.4rem 1.6rem; max-width: 360px; margin-left: auto; }
.cart-summary .cs-total { display: flex; justify-content: space-between; font-size: 1.3rem; font-weight: 700; margin: .8rem 0 1.2rem; }
.checkout-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.4rem; margin-top: 2rem; align-items: start; }
@media (max-width: 860px) { .checkout-grid { grid-template-columns: 1fr; } }
.order-summary { background: var(--grey-50); border: 2.5px solid var(--grey-950); border-radius: var(--radius-m); padding: 1.4rem 1.6rem; position: sticky; top: 6rem; }
.order-summary li { display: flex; justify-content: space-between; font-size: .9rem; padding: .35rem 0; border-bottom: 1px solid var(--grey-200); }
.order-summary .os-total { display: flex; justify-content: space-between; font-weight: 700; font-size: 1.2rem; margin-top: .8rem; }

/* ===== FAQ accordion ===== */
.faq-list { max-width: 760px; }
.faq-item { border-bottom: 2px solid var(--grey-200); }
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 1.1rem 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--accent-dark);
  flex: none;
  transition: transform .3s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding-bottom: 1.1rem; color: var(--grey-700); margin: 0; }

/* ===== legal pages ===== */
.legal-page .container { max-width: 760px; }
.legal-page h2 { margin-top: 2rem; }
.legal-page ul { color: var(--grey-700); }
.updated { font-family: var(--font-mono); font-size: .82rem; color: var(--grey-500); }

/* ===== CTA band ===== */
.cta-band { background: var(--accent); color: var(--accent-ink); position: relative; overflow: hidden; }
.cta-band h2 { color: var(--accent-ink); }
.cta-band .container { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }

/* ===== 404 ===== */
.notfound { min-height: 70vh; display: flex; align-items: center; }
.notfound .container { text-align: center; }
.notfound .big { font-family: var(--font-display); font-size: clamp(5rem, 18vw, 11rem); color: var(--grey-900); margin: 0; }

/* ===== cookie banner ===== */
.cookie-banner {
  position: fixed;
  left: 1rem; right: 1rem; bottom: 1rem;
  z-index: 200;
  max-width: 640px;
  margin: 0 auto;
  background: var(--grey-950);
  color: var(--paper);
  border: 2.5px solid var(--accent);
  border-radius: var(--radius-m);
  padding: 1.2rem 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  transform: translateY(120%);
  transition: transform .4s var(--ease);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner p { margin: 0; font-size: .88rem; color: var(--grey-200); flex: 1 1 260px; }
.cookie-banner a { color: var(--accent); text-decoration: underline; }
.cookie-actions { display: flex; gap: .7rem; flex-wrap: wrap; }

/* ===== footer ===== */
.site-footer { background: var(--grey-950); color: var(--grey-300); padding: 4rem 0 2rem; position: relative; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 2.4rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: var(--paper); font-family: var(--font-body); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .55rem; }
.footer-grid a { color: var(--grey-300); font-size: .92rem; }
.footer-grid a:hover { color: var(--accent); }
.footer-brand { display: flex; align-items: center; gap: .6rem; margin-bottom: .8rem; }
.footer-brand .mark { width: 36px; height: 36px; flex: none; }
.footer-brand .wordmark { width: 130px; height: 26px; }
.footer-about { font-size: .88rem; color: var(--grey-500); max-width: 26em; }
.footer-bottom { border-top: 1px solid var(--grey-800); margin-top: 3rem; padding-top: 1.4rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: .82rem; color: var(--grey-500); }

/* ===== utility ===== */
.visually-hidden { position: absolute; left: -9999px; }
.mt-lg { margin-top: 3rem; }
.text-center { text-align: center; }
.muted { color: var(--grey-700); }
