/* Direction: minimalist atelier — warm paper, near-black ink, one clay accent, hairline rules */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;450;500;600&display=swap');

:root {
  /* color */
  --paper: #f6f4ef;
  --paper-2: #efece4;
  --surface: #ffffff;
  --ink: #14161a;
  --ink-2: #45494f;
  --muted: #63676c;
  --line: #e3ded4;
  --line-strong: #cdc7ba;
  --primary: #16352b;
  --primary-hover: #0e251e;
  --primary-soft: #e7eee9;
  --on-primary: #ffffff;
  --accent: #b8501f;
  --accent-soft: #f6e7de;
  --ok: #1c6b45;
  --ok-soft: #e4f0e8;
  --warn: #8a5b00;
  --danger: #a32b1d;
  --danger-soft: #f8e6e3;

  /* type */
  --font-head: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --fs-100: 0.8rem;
  --fs-200: 1rem;
  --fs-300: 1.25rem;
  --fs-400: 1.563rem;
  --fs-500: 1.953rem;
  --fs-600: 2.441rem;
  --fs-700: 3.05rem;
  --fs-800: 3.8rem;

  /* space (8px scale) */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 80px;
  --s-10: 96px;

  /* radius */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-full: 999px;

  /* shadow: soft, single style */
  --shadow-sm: 0 1px 2px rgba(20, 22, 26, 0.05);
  --shadow-md: 0 10px 30px -12px rgba(20, 22, 26, 0.18);
  --shadow-lg: 0 24px 60px -20px rgba(20, 22, 26, 0.28);

  --ease: cubic-bezier(0.22, 0.68, 0.32, 1);
  --wrap: 1200px;
  --header-h: 68px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .display {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 var(--s-4);
}

h1 { font-size: clamp(2.25rem, 6vw, var(--fs-800)); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.75rem, 3.6vw, var(--fs-600)); }
h3 { font-size: clamp(1.25rem, 2vw, var(--fs-400)); letter-spacing: -0.015em; }
h4 { font-size: var(--fs-300); }

p { margin: 0 0 var(--s-4); }
a { color: inherit; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
a:hover { text-decoration-color: currentColor; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

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

::selection { background: var(--accent-soft); color: var(--ink); }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--s-5);
}
.wrap-narrow { max-width: 780px; }

.section { padding-block: clamp(56px, 9vw, 112px); }
.section-tight { padding-block: clamp(40px, 6vw, 72px); }

.eyebrow {
  font-family: var(--font-head);
  font-size: var(--fs-100);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 var(--s-3);
  display: flex;
  align-items: center;
  gap: var(--s-3);
}
.eyebrow::after {
  content: '';
  height: 1px;
  flex: 1;
  background: var(--line);
}
.eyebrow.no-rule::after { display: none; }

.lede {
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  color: var(--ink-2);
  max-width: 58ch;
}
.muted { color: var(--muted); }
.small { font-size: var(--fs-100); }
.tiny { font-size: 0.8125rem; line-height: 1.5; }
.mono { font-family: var(--font-head); font-variant-numeric: tabular-nums; }
.nowrap { white-space: nowrap; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(246, 244, 239, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: var(--s-5);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.03em;
  text-decoration: none;
  margin-right: auto;
}
.brand svg { width: 22px; height: 22px; }
.site-nav { display: flex; align-items: center; gap: var(--s-5); }
.site-nav a {
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 450;
  color: var(--ink-2);
  padding: var(--s-2) 0;
  position: relative;
}
.site-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms var(--ease);
}
.site-nav a:hover::after,
.site-nav a[aria-current='page']::after { transform: scaleX(1); }
.site-nav a[aria-current='page'] { color: var(--ink); }

.icon-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  height: 44px;
  min-width: 44px;
  padding: 0 var(--s-3);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-full);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: border-color 180ms var(--ease), background 180ms var(--ease);
}
.icon-btn:hover { border-color: var(--ink); }
.icon-btn svg { width: 18px; height: 18px; }
.cart-count {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  border-radius: var(--r-full);
  background: var(--primary);
  color: var(--on-primary);
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
}
.cart-btn .label { display: none; }

.menu-btn { display: none; }

@media (max-width: 860px) {
  .menu-btn { display: inline-flex; }
  .cart-btn .label { display: inline; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: var(--s-3) var(--s-5) var(--s-5);
    display: none;
  }
  .site-nav[data-open='true'] { display: flex; }
  .site-nav a { padding: var(--s-3) 0; border-bottom: 1px solid var(--line); font-size: 1.0625rem; }
  .site-nav a::after { display: none; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  min-height: 48px;
  padding: 0 var(--s-5);
  border-radius: var(--r-full);
  border: 1px solid transparent;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background 180ms var(--ease), color 180ms var(--ease),
    border-color 180ms var(--ease), transform 120ms var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { background: var(--primary-hover); }
.btn-secondary { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: var(--paper); }
.btn-ghost { background: var(--surface); border-color: var(--line-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: #9a4218; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-lg { min-height: 56px; padding: 0 var(--s-6); font-size: 1.0625rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); }

/* ---------- cards & surfaces ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.pad { padding: var(--s-5); }
.pad-lg { padding: clamp(20px, 3vw, var(--s-7)); }

.grid { display: grid; gap: var(--s-5); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.rule { border: 0; border-top: 1px solid var(--line); margin: var(--s-6) 0; }

/* ---------- hero ---------- */
.hero { padding-block: clamp(48px, 7vw, 96px); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { margin-bottom: var(--s-5); }
.hero h1 em {
  font-style: normal;
  border-bottom: 6px solid var(--accent-soft);
  padding-bottom: 2px;
}
.hero-figure {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 5;
  background: var(--paper-2);
}
.hero-figure img { width: 100%; height: 100%; object-fit: cover; }
.hero-tag {
  position: absolute;
  left: var(--s-4);
  bottom: var(--s-4);
  right: var(--s-4);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  border-radius: var(--r-md);
  padding: var(--s-3) var(--s-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  font-size: 0.875rem;
  box-shadow: var(--shadow-md);
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: clamp(20px, 4vw, 48px);
  margin-top: var(--s-6);
  padding-top: var(--s-5);
  border-top: 1px solid var(--line);
}
.hero-stats b {
  display: block;
  font-family: var(--font-head);
  font-size: var(--fs-400);
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.hero-stats span { font-size: 0.8125rem; color: var(--muted); }

/* ---------- base pack cards ---------- */
.pack-card { display: flex; flex-direction: column; overflow: hidden; height: 100%; }
.pack-media { position: relative; aspect-ratio: 4 / 3; background: var(--paper-2); }
.pack-media img { width: 100%; height: 100%; object-fit: cover; }
.pack-flag {
  position: absolute;
  top: var(--s-3);
  left: var(--s-3);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  padding: 4px 10px;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.pack-body { padding: var(--s-5); display: flex; flex-direction: column; flex: 1; }
.pack-body h3 { margin-bottom: var(--s-2); }
.pack-body p { color: var(--ink-2); font-size: 0.9375rem; }
.spec-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-4);
  margin: auto 0 var(--s-4);
  padding-top: var(--s-4);
  font-size: 0.8125rem;
  color: var(--muted);
}
.spec-list li { display: flex; align-items: center; gap: 6px; }
.spec-list svg { width: 14px; height: 14px; }
.price-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-3);
  margin-bottom: var(--s-4);
  padding-top: var(--s-3);
  border-top: 1px solid var(--line);
}
.price-line .amount {
  font-family: var(--font-head);
  font-size: var(--fs-300);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.is-active {
  border-color: var(--ink);
  box-shadow: 0 0 0 1px var(--ink);
}

/* ---------- customizer ---------- */
.customizer { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 0; overflow: hidden; }
@media (max-width: 1000px) { .customizer { grid-template-columns: 1fr; } }
.customizer-preview {
  position: relative;
  background: var(--paper-2);
  min-height: 320px;
  overflow: hidden;
}
.customizer-preview img,
.customizer-preview .illustration { position: absolute; inset: 0; width: 100%; height: 100%; }
.illustration { display: block; width: 100%; height: 100%; }
.preview-swatch {
  position: absolute;
  inset: 0;
  mix-blend-mode: multiply;
  opacity: 0;
  transition: opacity 260ms var(--ease), background 260ms var(--ease);
}
.preview-swatch.on { opacity: 0.45; }
.preview-overlay {
  position: absolute;
  inset: auto var(--s-4) var(--s-4) var(--s-4);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
}
.preview-chip {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  padding: 5px 12px;
  font-family: var(--font-head);
  font-size: 0.8125rem;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
}
.preview-chip.accent { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.customizer-form { padding: clamp(20px, 3vw, var(--s-7)); display: flex; flex-direction: column; }

.field { margin-bottom: var(--s-5); }
.field > label,
.fieldset-legend {
  display: block;
  font-family: var(--font-head);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--s-3);
}
fieldset { border: 0; margin: 0 0 var(--s-5); padding: 0; min-width: 0; }

.chips { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.chip {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  min-height: 44px;
  padding: 0 var(--s-4);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-full);
  background: var(--surface);
  font: inherit;
  font-size: 0.9375rem;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 160ms var(--ease), background 160ms var(--ease), color 160ms var(--ease);
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed='true'] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.chip small { opacity: 0.65; font-size: 0.8125rem; }
.chip[aria-pressed='true'] small { opacity: 0.8; }
.chip .price-tag { font-size: 0.8125rem; opacity: 0.7; }

.swatches { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.swatch {
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: var(--r-full);
  border: 1px solid var(--line-strong);
  cursor: pointer;
  padding: 0;
  transition: transform 160ms var(--ease);
}
.swatch:hover { transform: scale(1.05); }
.swatch[aria-pressed='true'] { box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--ink); }
.swatch-name { margin-top: var(--s-3); font-size: 0.875rem; color: var(--ink-2); }
.swatch-name b { font-family: var(--font-head); color: var(--ink); }

.addons { display: grid; gap: var(--s-2); }
.addon {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  padding: var(--s-3) var(--s-4);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  cursor: pointer;
  transition: border-color 160ms var(--ease), background 160ms var(--ease);
}
.addon:hover { border-color: var(--line-strong); }
.addon:has(input:checked) { border-color: var(--ink); background: var(--primary-soft); }
.addon input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--primary); flex: none; }
.addon-body { flex: 1; }
.addon-body b { display: block; font-family: var(--font-head); font-weight: 500; }
.addon-body span { font-size: 0.8125rem; color: var(--muted); }
.addon-price { font-family: var(--font-head); font-size: 0.9375rem; white-space: nowrap; }
.addon-extra { display: none; padding: var(--s-3) 0 0 calc(18px + var(--s-3)); }
.addon:has(input:checked) .addon-extra { display: block; }

.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-full);
  overflow: hidden;
  background: var(--surface);
}
.qty button {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 1.125rem;
  line-height: 1;
  color: var(--ink);
  display: grid;
  place-items: center;
}
.qty button:hover { background: var(--paper-2); }
.qty output {
  min-width: 44px;
  text-align: center;
  font-family: var(--font-head);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.summary {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--s-4);
  margin-top: auto;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  gap: var(--s-4);
  font-size: 0.9375rem;
  padding-block: 3px;
  color: var(--ink-2);
}
.summary-row.total {
  border-top: 1px solid var(--line-strong);
  margin-top: var(--s-2);
  padding-top: var(--s-3);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--ink);
}
.summary-row .free { color: var(--ok); }

/* ---------- forms ---------- */
.input,
select.input,
textarea.input {
  width: 100%;
  min-height: 48px;
  padding: 11px var(--s-4);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease);
}
textarea.input { min-height: 96px; resize: vertical; }
.input::placeholder { color: var(--muted); opacity: 0.85; }
.input:hover { border-color: var(--muted); }
.input:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(22, 53, 43, 0.12);
}
.input[aria-invalid='true'] { border-color: var(--danger); background: #fffafa; }
.label { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 6px; }
.hint { font-size: 0.8125rem; color: var(--muted); margin-top: 6px; }
.error-text {
  display: none;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  color: var(--danger);
  margin-top: 6px;
}
.field[data-invalid='true'] .error-text { display: flex; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }

.choice-row { display: grid; gap: var(--s-2); }
.choice {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-3) var(--s-4);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  cursor: pointer;
}
.choice:has(input:checked) { border-color: var(--ink); background: var(--primary-soft); }
.choice input { width: 18px; height: 18px; accent-color: var(--primary); }
.choice b { font-family: var(--font-head); font-weight: 500; }
.choice span { margin-left: auto; font-size: 0.9375rem; color: var(--ink-2); }

.alert {
  display: flex;
  gap: var(--s-3);
  padding: var(--s-4);
  border-radius: var(--r-md);
  font-size: 0.9375rem;
  border: 1px solid;
}
.alert svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.alert-ok { background: var(--ok-soft); border-color: #bcdcc9; color: #14512f; }
.alert-info { background: var(--primary-soft); border-color: #c4d6cc; color: #16352b; }
.alert-danger { background: var(--danger-soft); border-color: #eec7c2; color: #7d2015; }

/* ---------- cart ---------- */
.cart-layout { display: grid; grid-template-columns: 1.4fr 0.6fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 960px) { .cart-layout { grid-template-columns: 1fr; } }

.cart-line {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: var(--s-4);
  padding: var(--s-4) 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
@media (max-width: 560px) {
  .cart-line { grid-template-columns: 68px 1fr; }
  .cart-line .line-total { grid-column: 2; justify-self: start; }
}
.line-thumb {
  width: 88px;
  height: 88px;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper-2);
  position: relative;
}
@media (max-width: 560px) { .line-thumb { width: 68px; height: 68px; } }
.line-thumb img { width: 100%; height: 100%; object-fit: cover; }
.line-thumb {
  display: grid;
  place-items: center;
}
.line-thumb svg { width: 46%; height: auto; color: #fff; opacity: 0.92; }
.line-title { font-family: var(--font-head); font-weight: 600; font-size: 1.0625rem; }
.line-meta { font-size: 0.875rem; color: var(--muted); margin: 2px 0 var(--s-3); }
.line-actions { display: flex; align-items: center; gap: var(--s-3); flex-wrap: wrap; }
.link-btn {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: 0.875rem;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.link-btn:hover { color: var(--danger); }
.line-total { font-family: var(--font-head); font-weight: 600; font-variant-numeric: tabular-nums; }
.cart-aside { position: sticky; top: calc(var(--header-h) + var(--s-5)); }
@media (max-width: 960px) { .cart-aside { position: static; } }

.empty { text-align: center; padding: var(--s-8) var(--s-4); }
.empty svg { width: 44px; height: 44px; color: var(--line-strong); margin: 0 auto var(--s-4); }

/* ---------- drawer ---------- */
.scrim {
  position: fixed;
  inset: 0;
  background: rgba(20, 22, 26, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms var(--ease);
  z-index: 80;
}
.scrim[data-open='true'] { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 100%);
  background: var(--paper);
  border-left: 1px solid var(--line);
  z-index: 90;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 260ms var(--ease);
  box-shadow: var(--shadow-lg);
}
.drawer[data-open='true'] { transform: translateX(0); }
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--s-4) var(--s-5);
  border-bottom: 1px solid var(--line);
}
.drawer-head h2 { font-size: 1.25rem; margin: 0; }
.drawer-body { flex: 1; overflow-y: auto; padding: 0 var(--s-5); }
.drawer-foot { padding: var(--s-5); border-top: 1px solid var(--line); background: var(--surface); }

/* ---------- steps, faq, quotes ---------- */
.step-num {
  font-family: var(--font-head);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: var(--s-3);
}
.feature {
  padding: var(--s-5);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  height: 100%;
}
.feature svg { width: 22px; height: 22px; color: var(--primary); margin-bottom: var(--s-3); }
.feature h3 { font-size: 1.0625rem; margin-bottom: var(--s-2); }
.feature p { font-size: 0.9375rem; color: var(--ink-2); margin: 0; }

.quote {
  padding: var(--s-5);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.stars { color: var(--accent); letter-spacing: 2px; font-size: 0.875rem; margin-bottom: var(--s-3); }
.quote p { font-size: 0.9375rem; color: var(--ink-2); }
.quote footer { margin-top: auto; font-size: 0.875rem; color: var(--muted); }
.quote footer b { font-family: var(--font-head); color: var(--ink); display: block; }

.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding: var(--s-5) 0;
  background: none;
  border: 0;
  font-family: var(--font-head);
  font-size: 1.0625rem;
  font-weight: 500;
  text-align: left;
  color: var(--ink);
  cursor: pointer;
}
.faq-q svg { width: 20px; height: 20px; flex: none; transition: transform 200ms var(--ease); }
.faq-q[aria-expanded='true'] svg { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 var(--s-6) var(--s-5) 0; color: var(--ink-2); }
.faq-item[data-open='true'] .faq-a { display: block; }

.banner {
  background: var(--primary);
  color: var(--on-primary);
  border-radius: var(--r-lg);
  padding: clamp(28px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}
@media (max-width: 860px) { .banner { grid-template-columns: 1fr; } }
.banner h2 { color: var(--on-primary); }
.banner > div > p { color: rgba(255, 255, 255, 0.85); }
.banner .input { border-color: rgba(255, 255, 255, 0.3); }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: var(--s-8) var(--s-6);
  margin-top: var(--s-7);
  background: var(--paper-2);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: var(--s-6);
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 {
  font-family: var(--font-head);
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--s-3);
}
.site-footer li { margin-bottom: var(--s-2); font-size: 0.9375rem; }
.site-footer a { color: var(--ink-2); text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }
.footer-base {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  margin-top: var(--s-7);
  padding-top: var(--s-5);
  font-size: 0.8125rem;
  color: var(--muted);
}
.pay-row { display: flex; gap: var(--s-2); }
.pay-chip {
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  padding: 3px 8px;
  font-family: var(--font-head);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  background: var(--surface);
  color: var(--ink-2);
}

/* ---------- toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 140%);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: var(--s-3);
  background: var(--ink);
  color: var(--paper);
  padding: var(--s-3) var(--s-5);
  border-radius: var(--r-full);
  box-shadow: var(--shadow-lg);
  font-size: 0.9375rem;
  transition: transform 280ms var(--ease);
  max-width: calc(100% - 32px);
}
.toast[data-show='true'] { transform: translate(-50%, 0); }
.toast svg { width: 18px; height: 18px; flex: none; }
.toast a { color: #fff; font-weight: 500; }

/* ---------- motion ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}
[data-reveal].is-in { opacity: 1; transform: none; }

.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(--s-4);
  top: -100px;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: var(--s-3) var(--s-4);
  border-radius: 0 0 var(--r-md) var(--r-md);
  transition: top 160ms var(--ease);
}
.skip-link:focus { top: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}
