/* ==========================================================================
   Dish AI — Design tokens
   ========================================================================== */
:root {
  --bg: #1a1a18;
  --surface: #252522;
  --surface-2: #201f1c;
  --border: #2a2a28;
  --border-strong: #3a3934;

  --gold: #c9a84c;
  --gold-light: #f0c86a;
  --gold-dim: rgba(201, 168, 76, 0.14);
  --gold-dim-strong: rgba(201, 168, 76, 0.28);

  --cream: #f0ead8;
  --text-muted: rgba(240, 234, 216, 0.62);
  --text-faint: rgba(240, 234, 216, 0.38);

  --danger: #c96a5a;

  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.375rem;
  --fs-xl: clamp(1.5rem, 1.35rem + 0.7vw, 1.875rem);
  --fs-2xl: clamp(1.875rem, 1.5rem + 1.8vw, 2.75rem);
  --fs-3xl: clamp(2.25rem, 1.7rem + 2.6vw, 3.375rem);
  --fs-hero: clamp(2.5rem, 1.7rem + 3.4vw, 4rem);

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --space-10: 8rem;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur-fast: 160ms;
  --dur: 260ms;

  --container: 1180px;
  --shadow-gold: 0 24px 48px -28px rgba(201, 168, 76, 0.35);
  --shadow-soft: 0 20px 40px -24px rgba(0, 0, 0, 0.55);
}

/* ==========================================================================
   Reset
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
body {
  min-height: 100dvh;
  overflow-x: clip;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, picture, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
h1 { font-size: var(--fs-hero); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-lg); font-weight: 600; }
p { color: var(--text-muted); }
:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
  border-radius: 4px;
}

.visually-hidden {
  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; top: -100%; left: var(--space-4);
  background: var(--gold); color: var(--bg);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-sm);
  font-weight: 700; z-index: 200;
  transition: top var(--dur-fast) var(--ease);
}
.skip-link:focus { top: var(--space-4); }

/* ==========================================================================
   Layout helpers
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-5);
}
.section { padding-block: var(--space-9); }
.section--tight { padding-block: var(--space-7); }
@media (max-width: 720px) {
  .section { padding-block: var(--space-8); }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-4);
}
.lede {
  font-size: var(--fs-md);
  max-width: 46ch;
}
#pricing .lede { max-width: none; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  --btn-fg: var(--bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.9rem 1.6rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--fs-sm);
  border: 1px solid transparent;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease), background var(--dur) var(--ease);
  touch-action: manipulation;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: linear-gradient(120deg, var(--gold), var(--gold-light));
  color: var(--btn-fg);
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover { box-shadow: 0 28px 56px -24px rgba(201, 168, 76, 0.5); }

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: var(--border-strong);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-light); }

.btn-sm { padding: 0.65rem 1.25rem; font-size: var(--fs-xs); }

/* ==========================================================================
   Viewfinder corners — signature motif
   ========================================================================== */
.frame {
  position: relative;
  isolation: isolate;
}
.frame__corner {
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid var(--gold);
  opacity: 0.75;
  transition: width var(--dur) var(--ease), height var(--dur) var(--ease), opacity var(--dur) var(--ease);
  pointer-events: none;
  z-index: 2;
}
.frame__corner--tl { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.frame__corner--tr { top: -1px; right: -1px; border-left: none; border-bottom: none; }
.frame__corner--bl { bottom: -1px; left: -1px; border-right: none; border-top: none; }
.frame__corner--br { bottom: -1px; right: -1px; border-left: none; border-top: none; }
.frame:hover .frame__corner,
.frame:focus-within .frame__corner {
  width: 26px;
  height: 26px;
  opacity: 1;
}
.frame--static .frame__corner { opacity: 0.55; }
.frame--lg .frame__corner { width: 32px; height: 32px; }
.frame--lg:hover .frame__corner { width: 38px; height: 38px; }

/* ==========================================================================
   Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(26, 26, 24, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-4);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: var(--fs-md);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--cream);
}
.brand__mark {
  position: relative;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  object-fit: contain;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-7);
}
.nav__link {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding-block: var(--space-1);
  transition: color var(--dur-fast) var(--ease);
}
.nav__link:hover { color: var(--cream); }
.nav__link[aria-current="page"] { color: var(--gold-light); }

.nav__actions { display: flex; align-items: center; gap: var(--space-4); }

.nav__toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
}
.nav__toggle svg { width: 20px; height: 20px; }
.nav__toggle .icon-close { display: none; }
.nav__toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav__toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 860px) {
  .nav__links {
    position: fixed;
    inset: 73px 0 0 0;
    height: calc(100dvh - 73px);
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-6);
    padding: var(--space-7) var(--space-5);
    transform: translateX(100%);
    transition: transform var(--dur) var(--ease);
    overflow-y: auto;
  }
  .nav__links[data-open="true"] { transform: translateX(0); }
  .nav__link { font-size: var(--fs-lg); }
  .nav__links .btn { margin-top: var(--space-4); }
  .nav__links .store-row { margin-top: var(--space-4); }
  .nav__toggle { display: inline-flex; }
  .nav__actions .btn-primary.nav__cta-desktop { display: none; }
  .nav__actions .store-row { display: none; }
}
@media (min-width: 861px) {
  .nav__links .btn { display: none; }
  .nav__links .store-row { display: none; }
  .nav__actions .store-row { gap: var(--space-2); }
  .nav__actions .store-row .store-btn { padding: 0.45rem 0.75rem; }
  .nav__actions .store-row .store-btn svg { width: 18px; height: 18px; }
  .nav__actions .store-row .store-btn__eyebrow { font-size: 0.5625rem; }
  .nav__actions .store-row .store-btn__name { font-size: 0.75rem; }
  .nav__actions .store-row .store-btn__soon { font-size: 0.5rem; padding: 1px 6px; top: -7px; right: 6px; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  padding-block: var(--space-7);
  position: relative;
}
.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--space-9);
  align-items: center;
}
.hero__title { margin-bottom: var(--space-5); }
.hero__title em {
  font-style: italic;
  background: linear-gradient(120deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub {
  font-size: var(--fs-md);
  max-width: 42ch;
  margin-bottom: var(--space-5);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-bottom: var(--space-5); }
.hero__note { font-size: var(--fs-xs); color: var(--text-faint); }

.hero__visual { position: relative; }

.phone-pair {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  padding-block: var(--space-5);
}
.phone-frame {
  position: relative;
  flex-shrink: 0;
  transition: transform var(--dur) var(--ease);
}
.phone-frame--scan { transform: rotate(-6deg) translateY(18px); z-index: 1; }
.phone-frame--result { transform: rotate(5deg) translateY(-18px); z-index: 2; }
.phone-frame--scan:hover,
.phone-frame--scan:focus-within { transform: rotate(-2deg) translateY(6px) scale(1.03); }
.phone-frame--result:hover,
.phone-frame--result:focus-within { transform: rotate(2deg) translateY(-6px) scale(1.03); }
@media (prefers-reduced-motion: reduce) {
  .phone-frame--scan, .phone-frame--result { transform: none; }
}
.phone-frame__body {
  position: relative;
  aspect-ratio: 9 / 19.5;
  background: linear-gradient(155deg, #4a4a44 0%, #201f1c 14%, #101010 50%, #201f1c 86%, #4a4a44 100%);
  border-radius: 2.4rem;
  padding: 10px;
}
.phone-frame__btn {
  position: absolute;
  background: linear-gradient(90deg, #171715, #38372f);
  border-radius: 2px;
  z-index: 0;
}
.phone-frame__btn--mute { left: -2px; top: 15%; width: 3px; height: 3.5%; }
.phone-frame__btn--volup { left: -2px; top: 21%; width: 3px; height: 6.5%; }
.phone-frame__btn--voldown { left: -2px; top: 29.5%; width: 3px; height: 6.5%; }
.phone-frame__btn--power { right: -2px; top: 21%; width: 3px; height: 9%; }
.phone-frame__screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 1.6rem;
  overflow: hidden;
  background: var(--surface);
}
.phone-frame__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.phone-frame__mockup {
  height: 440px;
  width: auto;
  display: block;
}
.phone-frame__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-4);
  font-size: 0.6875rem;
  line-height: 1.5;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.phone-frame__notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 34%;
  height: 18px;
  background: #030303;
  border-radius: var(--radius-pill);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 6px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}
.phone-frame__notch::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #4a7699, #050a10 72%);
}
.phone-pair__arrow {
  width: 56px;
  height: 36px;
  flex-shrink: 0;
  opacity: 1;
  align-self: center;
}

@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 560px; margin-inline: auto; width: 100%; }
}
@media (max-width: 460px) {
  .phone-pair { gap: var(--space-3); }
  .phone-pair__arrow { width: 40px; height: 26px; }
  .phone-frame__mockup { height: 244px; }
}

/* ==========================================================================
   Store buttons
   ========================================================================== */
.store-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: 0.65rem 1.1rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: var(--surface);
  transition: border-color var(--dur) var(--ease), transform var(--dur-fast) var(--ease);
}
.store-btn:hover { border-color: var(--gold); transform: translateY(-2px); }
.store-btn:active { transform: translateY(0) scale(0.98); }
.store-btn svg { width: 24px; height: 24px; color: var(--gold-light); flex-shrink: 0; }
.store-btn__text { display: flex; flex-direction: column; line-height: 1.25; }
.store-btn__eyebrow { font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-faint); }
.store-btn__name { font-size: var(--fs-sm); font-weight: 700; color: var(--cream); }
.store-btn[aria-disabled="true"] {
  opacity: 0.55;
  pointer-events: none;
  position: relative;
}
.store-btn__soon {
  position: absolute;
  top: -9px;
  right: 10px;
  background: var(--gold);
  color: var(--bg);
  font-size: 0.5625rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
}

/* ==========================================================================
   How it works
   ========================================================================== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  counter-reset: step;
  margin-top: 14px;
}
.step { position: relative; padding-top: var(--space-6); }
.step__num {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  color: var(--gold);
  opacity: 0.9;
  margin-bottom: var(--space-4);
  display: block;
}
.step h3 { margin-bottom: var(--space-2); color: var(--cream); }
.step p { font-size: var(--fs-sm); max-width: 34ch; }
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 1.9rem;
  left: calc(100% + 1rem);
  width: calc(var(--space-6) - 2rem);
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--border-strong) 0 6px, transparent 6px 12px);
}
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: var(--space-7); }
  .step:not(:last-child)::after { display: none; }
}

/* ==========================================================================
   Feature cards
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  margin-top: var(--space-8);
}
.feature-card {
  position: relative;
  padding: var(--space-6) var(--space-5);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.feature-card:hover { border-color: var(--border-strong); transform: translateY(-4px); }
.feature-card .frame__corner { width: 14px; height: 14px; opacity: 0.4; }
.feature-card:hover .frame__corner { opacity: 1; width: 18px; height: 18px; }
.feature-card__icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: var(--gold-dim);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-5);
}
.feature-card__icon svg { width: 22px; height: 22px; color: var(--gold-light); }
.feature-card h3 { color: var(--cream); margin-bottom: var(--space-2); font-size: var(--fs-base); }
.feature-card p { font-size: var(--fs-sm); }

@media (max-width: 980px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .features-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Pricing
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  align-items: start;
  margin-top: 64px;
}
.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  padding: var(--space-6) var(--space-5);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.pricing-card:hover { border-color: var(--border-strong); transform: translateY(-4px); }
.pricing-card--featured {
  border-color: var(--gold);
  background:
    radial-gradient(120% 100% at 50% 0%, rgba(201, 168, 76, 0.1), transparent 60%),
    var(--surface);
}
.pricing-card--featured:hover { border-color: var(--gold-light); }
.pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--bg);
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.pricing-card__name { color: var(--cream); font-size: var(--fs-md); }
.pricing-card__price { display: flex; align-items: baseline; gap: 6px; }
.pricing-card__amount { font-family: var(--font-display); font-size: var(--fs-2xl); color: var(--gold-light); line-height: 1; }
.pricing-card__period { font-size: var(--fs-sm); color: var(--text-muted); }
.pricing-card__billed { font-size: var(--fs-xs); color: var(--text-faint); margin-top: 0; }
.pricing-card__save {
  align-self: flex-start;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--gold);
  background: var(--gold-dim);
  padding: 2px 9px;
  border-radius: var(--radius-pill);
}
.pricing-card__list { display: flex; flex-direction: column; gap: var(--space-3); flex: 1; }
.pricing-card__list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.5;
}
.pricing-card__check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold-dim);
  flex-shrink: 0;
  margin-top: 1px;
}
.pricing-card__list svg { width: 11px; height: 11px; color: var(--gold-light); flex-shrink: 0; }
.pricing-card .btn { width: 100%; margin-top: auto; }
.pricing-note { margin-top: var(--space-6); font-size: var(--fs-xs); color: var(--text-faint); text-align: center; }

@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; margin-top: 64px; }
}

/* ==========================================================================
   Split section (Dish + Menu)
   ========================================================================== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-9);
  align-items: center;
}
.split__copy .lede { margin-bottom: var(--space-6); }
.split__copy h2 { white-space: nowrap; }
.mode-list { display: flex; flex-direction: column; gap: var(--space-4); }
.mode-item {
  position: relative;
  display: flex;
  gap: var(--space-4);
  padding: var(--space-4);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}
.mode-item--featured { border-color: rgba(201, 168, 76, 0.45); }
.mode-item__tag {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--gold);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.mode-item h3 { color: var(--cream); font-size: var(--fs-base); margin-bottom: var(--space-1); }
.mode-item p { font-size: var(--fs-sm); margin: 0; }
.mode-item__accuracy { color: var(--gold-light) !important; font-weight: 600; font-size: var(--fs-xs) !important; margin-top: var(--space-2) !important; }

.split__visual { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.split__photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3 / 4;
}
.split__photo img { width: 100%; height: 100%; object-fit: cover; }
.split__photo:nth-child(2) { margin-top: var(--space-7); }

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split__visual { max-width: 460px; margin-inline: auto; width: 100%; }
  .split__copy h2 { white-space: normal; }
}

/* ==========================================================================
   FAQ (accordion)
   ========================================================================== */
.accordion { display: flex; flex-direction: column; gap: var(--space-3); margin-top: var(--space-8); }
.faq-section { padding-top: 32px; padding-bottom: 63px; }
.accordion-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.accordion-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5);
  cursor: pointer;
  font-weight: 600;
  color: var(--cream);
  font-size: var(--fs-md);
}
.accordion-item summary::-webkit-details-marker { display: none; }
.accordion-item summary .q-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.accordion-item summary .q-icon svg { width: 12px; height: 12px; color: var(--gold-light); }
.accordion-item[open] summary .q-icon { transform: rotate(45deg); background: var(--gold-dim); border-color: var(--gold); }
.accordion-item .accordion-body {
  padding: 0 var(--space-5) var(--space-5);
  font-size: var(--fs-sm);
  color: var(--text-muted);
  max-width: 68ch;
}
.accordion-item .accordion-body a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 2px; }
.accordion-item summary:focus-visible { outline-offset: -2px; }

/* ==========================================================================
   FAQ preview (home)
   ========================================================================== */
.faq-preview__footer { margin-top: var(--space-6); }

/* ==========================================================================
   Final CTA
   ========================================================================== */
.cta {
  text-align: center;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background:
    radial-gradient(80% 140% at 50% 0%, rgba(201, 168, 76, 0.1), transparent 60%),
    var(--surface);
  padding: var(--space-9) var(--space-5);
  position: relative;
  margin-top: 7px;
}
.cta h2 { max-width: 20ch; margin-inline: auto; margin-bottom: var(--space-4); white-space: nowrap; }
@media (max-width: 900px) {
  .cta h2 { white-space: normal; }
}
.cta .lede { max-width: 46ch; margin-inline: auto; margin-bottom: var(--space-6); }
.cta .store-row { justify-content: center; }
.cta .frame__corner { width: 24px; height: 24px; opacity: 0.5; }

/* ==========================================================================
   Page header (inner pages)
   ========================================================================== */
.page-header {
  padding-block: var(--space-7);
  border-bottom: 1px solid var(--border);
}
.page-header h1 { font-size: var(--fs-3xl); margin-bottom: var(--space-4); }
.page-header .lede { max-width: 60ch; }
.page-header .lede + .lede { margin-top: var(--space-3); }
.page-header__meta { font-size: var(--fs-xs); color: var(--text-faint); margin-top: var(--space-5); }

/* ==========================================================================
   Legal content (Privacy / Terms)
   ========================================================================== */
.legal {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: var(--space-9);
  align-items: flex-start;
}
.legal__toc {
  position: sticky;
  top: calc(73px + var(--space-6));
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-5);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.legal__toc-label {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: var(--space-2);
}
.legal__toc a {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  padding-block: var(--space-1);
  padding-left: var(--space-3);
  border-left: 2px solid transparent;
  transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.legal__toc a:hover { color: var(--gold-light); }
.legal__toc a.is-active { color: var(--gold-light); border-left-color: var(--gold); }

.legal__body section { padding-block: var(--space-6); border-bottom: 1px solid var(--border); }
.legal__body section:first-child { padding-top: 0; }
.legal__body section:last-child { border-bottom: none; }
.legal__body h2 { font-size: var(--fs-lg); color: var(--cream); margin-bottom: var(--space-4); }
.legal__body p { margin-bottom: var(--space-4); font-size: var(--fs-sm); line-height: 1.75; max-width: 72ch; }
.legal__body p:last-child { margin-bottom: 0; }
.legal__body ul { margin-bottom: var(--space-4); display: flex; flex-direction: column; gap: var(--space-2); max-width: 72ch; }
.legal__body li {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.7;
  padding-left: var(--space-5);
  position: relative;
}
.legal__body li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.65em;
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
}
.legal-section { padding-bottom: 62px; }
.legal__body strong { color: var(--cream); font-weight: 700; }
.legal__body a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 900px) {
  .legal { grid-template-columns: 1fr; }
  .legal__toc { position: static; }
}

/* ==========================================================================
   Cookie preferences
   ========================================================================== */
.cookies-section { padding-top: var(--space-7); padding-bottom: 64px; }
.pref-list { display: flex; flex-direction: column; gap: var(--space-4); margin-top: var(--space-7); max-width: 640px; }
.pref-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-5);
  padding: var(--space-5);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.pref-row__text h3 { color: var(--cream); margin-bottom: var(--space-2); }
.pref-row__text p { font-size: var(--fs-sm); max-width: 52ch; margin: 0; }

.switch { position: relative; flex-shrink: 0; width: 46px; height: 27px; }
.switch input {
  position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer;
}
.switch__track {
  position: absolute; inset: 0;
  background: var(--border-strong);
  border-radius: var(--radius-pill);
  transition: background var(--dur) var(--ease);
}
.switch__thumb {
  position: absolute; top: 3px; left: 3px;
  width: 21px; height: 21px;
  background: var(--cream);
  border-radius: 50%;
  transition: transform var(--dur) var(--ease);
}
.switch input:checked ~ .switch__track { background: var(--gold); }
.switch input:checked ~ .switch__thumb { transform: translateX(19px); background: var(--bg); }
.switch input:disabled ~ .switch__track { background: var(--gold-dim-strong); }
.switch input:disabled ~ .switch__thumb { background: var(--gold-light); opacity: 0.9; }
.switch input:focus-visible ~ .switch__track { outline: 2px solid var(--gold-light); outline-offset: 3px; }

.pref-actions { display: flex; align-items: center; gap: var(--space-4); margin-top: var(--space-7); }
.pref-status {
  font-size: var(--fs-xs);
  color: var(--gold-light);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}
.pref-status[data-show="true"] { opacity: 1; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  margin-top: var(--space-8);
}
.contact-section { padding-top: 29px; padding-bottom: 64px; }
.contact-card {
  padding: var(--space-6);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.contact-card h3 { color: var(--cream); margin-bottom: var(--space-3); }
.contact-card p { font-size: var(--fs-sm); margin-bottom: var(--space-5); }
.contact-card .btn { width: 100%; }

.social-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-2);
}
.social-link {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  transition: border-color var(--dur) var(--ease), transform var(--dur-fast) var(--ease);
}
.social-link:hover { border-color: var(--gold); transform: translateY(-2px); }
.social-link svg { width: 20px; height: 20px; color: var(--gold-light); flex-shrink: 0; }
.social-link span { font-size: var(--fs-sm); font-weight: 600; }
@media (max-width: 640px) {
  .contact-grid { grid-template-columns: 1fr; }
  .social-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border);
  padding-block: var(--space-8) var(--space-6);
  margin-top: var(--space-6);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-7);
  padding-bottom: var(--space-7);
}
.footer__brand p {
  font-size: var(--fs-sm);
  max-width: 32ch;
  margin-top: var(--space-3);
}
.footer__brand .brand { margin-bottom: var(--space-2); }
.footer__col-title {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: var(--space-4);
}
.footer__col ul { display: flex; flex-direction: column; gap: var(--space-3); }
.footer__col a {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  transition: color var(--dur-fast) var(--ease);
}
.footer__col a:hover { color: var(--gold-light); }
.footer__social { display: flex; gap: var(--space-3); margin-top: var(--space-5); }
.footer__social a {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-muted);
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.footer__social a:hover { border-color: var(--gold); color: var(--gold-light); }
.footer__social svg { width: 15px; height: 15px; }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border);
  font-size: var(--fs-xs);
  color: var(--text-faint);
  flex-wrap: wrap;
}

@media (max-width: 860px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer__grid { grid-template-columns: 1fr; gap: var(--space-6); }
}
