/* ═══════════════════════════════════════════════════════════════════
   LEGACY — Fonts & variables needed by post-sale pages
   (order.html, recover.html, refund.html, admin.html and legal pages).
   Do not remove — those pages reference this file.
   ═══════════════════════════════════════════════════════════════════ */

/* cyrillic */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/ed6d1b30-c255-4155-923a-0ea164625fff.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/379c906f-eddd-4538-87a5-d05a1826f980.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/a88a3d6b-0a02-475b-8427-3545491ed61c.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/ed6d1b30-c255-4155-923a-0ea164625fff.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/379c906f-eddd-4538-87a5-d05a1826f980.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/a88a3d6b-0a02-475b-8427-3545491ed61c.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/ed6d1b30-c255-4155-923a-0ea164625fff.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/379c906f-eddd-4538-87a5-d05a1826f980.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/a88a3d6b-0a02-475b-8427-3545491ed61c.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/ed6d1b30-c255-4155-923a-0ea164625fff.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/379c906f-eddd-4538-87a5-d05a1826f980.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/a88a3d6b-0a02-475b-8427-3545491ed61c.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Instrument Serif */
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/faf58d90-786f-44d0-942b-22540e012edc.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/4941344d-fae3-4983-81b2-a58e2a0e9a6a.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/e07bc62d-188f-49e2-9eae-57b60a1df5c1.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/317f952b-3786-4c86-9e63-bca7ed782ec5.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── Self-hosted fonts for index.html (Fraunces + Inter) ─────────── */
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/fraunces-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/fraunces-regular.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/inter.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Legacy CSS custom properties (post-sale pages depend on these) */
:root {
  --butter:          #FDF6EB;
  --butter-2:        #F8EEDC;
  --clay:            #E8D3BF;
  --peach:           #F3D8C2;
  --terracotta:      #B8893E;   /* aligned to --gold-primary */
  --terracotta-deep: #8B6F2E;   /* aligned to --gold-deep */
  --moss:            #5E6B4A;
  --espresso:        #2A1F18;
  --espresso-2:      #4A3A2E;
  --mute:            #8A7A6C;
  --line:            rgba(42,31,24,0.08);
  --r-sm:  14px;
  --r-md:  22px;
  --r-lg:  32px;
  --r-xl:  44px;
  --max:   1240px;

  /* ── Gold/copper 4-token system ── */
  --gold-deep:    #8B6F2E;   /* small text on cream, labels, footer links */
  --gold-primary: #B8893E;   /* CTA buttons on cream, italic accents, icons */
  --gold-warm:    #D4A24C;   /* borders on dark, eyebrow on dark, hover states */
  --gold-bright:  #E8B95C;   /* focus rings, accents on cinema */

  /* ── New landing page design tokens ── */
  --pr-bg:        #FAF6EE;
  --pr-bg-alt:    #F2E8D4;
  --pr-bg-hero:   #E8D9B8;
  --pr-gold:      #B8893E;   /* = --gold-primary */
  --pr-gold-lt:   #D4A24C;   /* = --gold-warm */
  --pr-gold-hero: #F2DFA8;
  --pr-dark:      #2C2A24;
  --pr-mid:       #5C564A;
  --pr-mute:      #8B8272;
  --pr-cinema:    #1A140B;
  --pr-cream:     #FBF6EC;
  --pr-ease:      cubic-bezier(0.16, 1, 0.3, 1);

  /* ── Metallic gold gradient system ── */
  --gold-gradient:          linear-gradient(135deg, #BF953F 0%, #FCF6BA 22%, #B38728 45%, #FBF5B7 68%, #AA771C 100%);
  --gold-gradient-vertical: linear-gradient(180deg, #FCF6BA 0%, #BF953F 50%, #AA771C 100%);
  --gold-solid:             #C9A24A;
}


/* ═══════════════════════════════════════════════════════════════════
   RESET + GLOBAL
   ═══════════════════════════════════════════════════════════════════ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  height: 100%;
}

body {
  min-height: 100%;
  background: var(--pr-cinema);
}

/* Canvas SPA only — applied via class on <body> in index.html.
   All other pages (order, policies, faq, contact, view, recover)
   must NOT carry this class — they need normal scroll. */
body.canvas-mode {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Focus rings — gold-bright, visible on keyboard nav */
*:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 2px;
}

button {
  cursor: pointer;
  font: inherit;
  background: none;
  border: none;
}

a {
  color: inherit;
  text-decoration: none;
}


/* ═══════════════════════════════════════════════════════════════════
   CANVAS — the 420px phone frame
   ═══════════════════════════════════════════════════════════════════ */

#canvas {
  position: relative;
  width: min(420px, 100vw);
  height: 100dvh;          /* dynamic viewport height on mobile */
  overflow: hidden;
  background: var(--pr-bg);
  /* Desktop: rounded card with subtle shadow */
  border-radius: 20px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.55),
              0 0 0 1px rgba(255,255,255,0.04);
}

/* On small phones: true full-screen, no chrome */
@media (max-width: 440px) {
  #canvas {
    width: 100vw;
    height: 100dvh;
    border-radius: 0;
    box-shadow: none;
  }
}

/* Desktop: constrain canvas height to viewport */
@media (min-width: 441px) {
  #canvas {
    height: min(844px, 96vh);
  }
}


/* ═══════════════════════════════════════════════════════════════════
   GLOBAL TOP — back button + wordmark + progress bar
   Absolutely positioned on top of all states.
   ═══════════════════════════════════════════════════════════════════ */

#global-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding: 16px 20px 0;
}

.top-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
}

/* Back button — absolute left of wordmark */
.btn-back {
  position: absolute;
  left: 0;
  display: none; /* hidden by default; shown via data-state below */
  align-items: center;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 6px 0;
  transition: color 150ms;
}
.btn-back:hover { color: var(--gold-deep); }

/* Wordmark — unified across all pages */
.wordmark {
  font-family: Inter, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  text-decoration: none;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  cursor: pointer;
  display: inline-block;
  transition: filter 200ms ease;
}
.wordmark:hover,
.wordmark:focus {
  filter: brightness(1.2);
  outline: none;
}

/* Post-sale pages: block + margin when inside .page-shell */
.page-shell .wordmark {
  display: block;
  text-align: center;
  margin-bottom: 60px;
}
/* Legal pages: block + margin when inside .policy-shell */
.policy-shell .wordmark {
  display: block;
  text-align: center;
  margin-bottom: 56px;
}

/* Progress bar */
.progress-track {
  height: 2px;
  background: rgba(184, 137, 62, 0.2);
  margin-top: 10px;
  border-radius: 1px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: var(--gold-warm);
  transition: width 400ms var(--pr-ease);
  border-radius: 1px;
}

/* ── Colors: hero state (0) — wordmark gradient works on dark video ── */
#canvas[data-state="0"] .btn-back {
  color: rgba(251, 246, 236, 0.85);
}

/* ── Colors: form states (1–4) — wordmark gradient works on cream ── */
#canvas:not([data-state="0"]) .btn-back {
  display: flex;
  color: var(--pr-gold);
}


/* ═══════════════════════════════════════════════════════════════════
   GLOBAL FOOTER — 5 links + tagline
   Absolutely positioned at bottom of canvas, visible in all 5 states.
   ═══════════════════════════════════════════════════════════════════ */

#global-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding: 10px 20px;
  padding-bottom: max(24px, env(safe-area-inset-bottom));
  text-align: center;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.footer-links a {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 11px;
  letter-spacing: 0.04em;
  padding: 2px 4px;
  transition: opacity 150ms;
}
.footer-links a:hover { opacity: 0.7; }

.dot-sep {
  font-size: 10px;
  padding: 0 2px;
  opacity: 0.5;
}

.footer-made {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ── Hero state: footer recedes hard as tertiary block (tool, not voice) ── */
#canvas[data-state="0"] #global-footer {
  background: transparent;
  border-top: none;
  padding-top: 62px; /* extra distance from microcopy above */
}
/* Tighter gap between the two footer lines in state-0 */
#canvas[data-state="0"] .footer-links {
  margin-bottom: 4px;
}
/* Line 1 — institutional links: muted white at 50% (deeper recede) */
#canvas[data-state="0"] .footer-links a,
#canvas[data-state="0"] .dot-sep {
  color: rgba(255, 255, 255, 0.50) !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.04em;
  opacity: 1;
}
/* Line 2 — lyrical: serif italic, same recede tone */
#canvas[data-state="0"] .footer-made {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.50);
  opacity: 1;
  text-transform: none;
  letter-spacing: 0.02em;
}

/* ── Form states: footer dark on cream, with subtle top border ── */
#canvas:not([data-state="0"]) #global-footer {
  background: var(--pr-bg);
  border-top: 1px solid rgba(184, 137, 62, 0.1);
}
#canvas:not([data-state="0"]) .footer-links a,
#canvas:not([data-state="0"]) .dot-sep {
  color: var(--gold-deep);
}
#canvas:not([data-state="0"]) .footer-made {
  font-size: 11px;
  color: rgba(44, 42, 36, 0.55);
  text-transform: none;
  letter-spacing: 0.02em;
}


/* ═══════════════════════════════════════════════════════════════════
   STATES — absolutely positioned, cross-fade
   ═══════════════════════════════════════════════════════════════════ */

.state {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 380ms var(--pr-ease);
  will-change: opacity;
}
.state.is-active {
  opacity: 1;
  pointer-events: auto;
}


/* ═══════════════════════════════════════════════════════════════════
   STATE 0 — HERO
   ═══════════════════════════════════════════════════════════════════ */

.state-hero {
  background: #1B1712;
}

/* Full-bleed background video */
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 0;
  transform: translateZ(0); /* own compositing layer — helps Safari backdrop-filter */
}

/* Double vignette — darkens top (wordmark legibility) + bottom (CTA legibility)
   while keeping the subject/scene breathing in the middle band */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.65)  0%,
    rgba(0, 0, 0, 0.35) 12%,
    transparent          22%,
    transparent          50%,
    rgba(0, 0, 0, 0.45) 70%,
    rgba(0, 0, 0, 0.85) 88%,
    rgba(0, 0, 0, 0.95) 100%
  );
}

/* Hero body — fills state, padded for global-top and global-footer */
.hero-body {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* clamp: 88px on short viewports (≤568px) → scales up to 148px on tall screens
     pushes content down ~40-60px vs before to breathe under play button */
  padding: clamp(88px, 17vh, 148px) 28px max(120px, calc(108px + env(safe-area-inset-bottom)));
}

/* Hero text group — centered, per-element vertical rhythm (8/16/24/32/40 system) */
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Eyebrow — gold caps */
.eyebrow {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 16px;
}

/* Eyebrow — hero state only: ornamental gold, no pill */
#s0 .eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  font-size: 11px;
  letter-spacing: 0.4em;
  font-weight: 500;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* Gold bullet dots (eyebrow + microcopy) */
.eyebrow-dot {
  width: 4px;
  height: 4px;
  background: var(--gold-gradient);
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
}

/* Hero headline — Fraunces 600, cream w/ italic muted gold accent (Round 3) */
.hero-headline {
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: #F0E5D0;
  text-align: center;
  margin: 0 0 16px;
  max-width: 340px;
}
/* Short viewports (iPhone SE class, ≤700px tall):
   smaller headline + smaller thumb + tighter hero padding to keep content from
   colliding with the absolute-positioned global footer. ~22px residual overflow
   acceptable as minimal scroll per spec. */
@media (max-height: 700px) {
  .hero-headline { font-size: 28px; }
  .hero-preview-thumb { width: 180px; height: 225px; }
  .hero-body {
    padding: clamp(64px, 12vh, 88px) 28px max(100px, calc(88px + env(safe-area-inset-bottom)));
  }
}
.hero-headline em {
  font-style: italic;
  font-weight: 600;
  color: #C8B88A;
  background: none;
  -webkit-text-fill-color: #C8B88A;
}

/* Hero sub — Fraunces 400 italic, muted gold (Round 3) */
.hero-sub {
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  color: #C8B88A;
  text-align: center;
  margin: 0 0 32px;
  max-width: 320px;
}

/* Preview block — vertical thumb 4:5 + bottom-left overlay (Round 3 editorial) */
.hero-preview {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  margin: 0 0 32px;
}
.hero-preview-thumb {
  position: relative;
  display: block;
  width: 200px;
  height: 250px;
  flex-shrink: 0;
  max-width: 100%;
  border-radius: 6px;
  overflow: hidden;
  background: #26231E;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
}
.hero-preview-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
/* Centered glass play button on the thumb (signals video, not poster).
   Smaller + more transparent so Grace's face reads through the disc. */
.hero-preview-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 47px;
  height: 47px;
  border-radius: 50%;
  background: rgba(245, 239, 224, 0.55);
  -webkit-backdrop-filter: blur(8px) saturate(1.2);
  backdrop-filter: blur(8px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  pointer-events: none;
  z-index: 1;
}
.hero-preview-play svg {
  width: 18px;
  height: 18px;
  color: #1F1D19;
  margin-left: 2px; /* optical center for triangle */
}
.hero-preview-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 12px 14px;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.55) 100%);
  pointer-events: none;
}
.hero-preview-watch {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #F0E5D0;
}

/* CTA group */
.hero-cta {
  width: 100%;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 0;
}

/* Microcopy below CTA — split layout (Round 3 editorial) */
.microcopy {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  text-align: center;
  margin: 0;
  flex-wrap: wrap;
}
.microcopy-price {
  font-size: 13px;
  font-weight: 600;
  color: #F0E5D0;
  letter-spacing: 0;
  text-transform: none;
}
.microcopy-meta {
  font-size: 11px;
  font-weight: 500;
  color: #C8B88A;
  letter-spacing: 0.04em;
  text-transform: none;
}

/* Dot separator for microcopy tokens */
.micro-sep {
  display: inline-block;
  width: 2px;
  height: 2px;
  background: rgba(212, 162, 76, 0.55);
  border-radius: 50%;
  vertical-align: middle;
  margin: 0 5px;
}

/* Price line — between hero-sub and hero-cta */
.hero-price {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(201, 169, 78, 0.9);
  text-align: center;
  margin: 12px 0 0;
}

/* Refund reassurance — below microcopy inside hero-cta */
.hero-refund {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  margin: 0;
}

/* Step 1 price hint — below Continue button */
.step-price-hint {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--pr-gold);
  text-align: center;
  margin: 8px 0 0;
  opacity: 0.75;
}


/* ═══════════════════════════════════════════════════════════════════
   STATE 1–4 — FORM STATES
   ═══════════════════════════════════════════════════════════════════ */

.state-form {
  background: var(--pr-bg);
  display: flex;
  flex-direction: column;
  /* padding-top clears global-top; bottom clears global-footer (~75 px tall in
     form states: 10 pad-top + 17 links + 12 margin + 12 made + 24 pad-bot).
     70 px gives ~27 px breathing between Continue button and the FAQ row. */
  padding-top: 70px;
  padding-bottom: max(70px, calc(56px + env(safe-area-inset-bottom)));
}

/* Scrollable content body */
.form-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 20px 24px 12px;
}

/* Form step footer — Continue button (states 1, 2, 3).
   Spacing system 8/16/24/32/40/48:
     padding-top 36 + form-body padding-bottom 12 = 48 above button.
     padding-bottom 32 separates button from state-form bottom edge.
   Together with state-form padding-bottom 70 above, this delivers the
   requested ~24 px breathing room between the button and the global footer. */
.form-footer {
  padding: 36px 24px 32px;
  flex-shrink: 0;
}

/* Dark eyebrow — step indicator on cream form states */
.eyebrow-dark {
  display: block;
  text-align: center;
  font-size: clamp(11px, 2.8vw, 13px);
  color: var(--pr-gold); /* #B8893E */
  margin: 0 auto 1.25rem auto;
}
/* No pseudo-element travessões */
.eyebrow-dark::before,
.eyebrow-dark::after {
  content: none;
  display: none;
}

/* Form section title */
.form-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.15;
  color: var(--pr-dark);
  margin-bottom: 24px;
}
.form-title em {
  font-style: italic;
  color: var(--pr-gold);
}

/* Form section subtitle */
.form-sub {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 14px;
  color: var(--pr-mid);
  margin-top: -16px;
  margin-bottom: 20px;
}


/* ── Field groups ── */

.field-group {
  margin-bottom: 28px;
}

.field-label {
  display: block;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 8px;
}

/* Name inputs — large centered serif */
.name-input {
  display: block;
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--gold-warm);
  padding: 6px 0 10px;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 22px;
  font-style: italic;
  font-weight: 400;
  color: #2C2A24;
  text-align: center;
  outline: none;
  transition: border-color 220ms var(--pr-ease);
  -webkit-appearance: none;
  appearance: none;
}
.name-input::placeholder {
  color: rgba(44, 42, 36, 0.35);
  font-style: italic;
}
.name-input:focus {
  border-bottom-color: var(--gold-primary);
}
.name-input.error {
  border-bottom-color: #B33A3A;
}

/* Smaller variant for sender name */
.name-input-sm {
  font-size: 20px;
}

/* Helper text below input */
.field-helper {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(44, 42, 36, 0.65);
  margin-top: 10px;
  text-align: center;
}

/* Contemplative quote — Step 1, between FROM input and Continue button */
.step-quote {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(16px, 4.2vw, 19px);
  line-height: 1.55;
  letter-spacing: -0.005em;
  color: rgba(92, 86, 74, 0.70); /* --pr-mid at 70% */
  text-align: center;
  max-width: 340px;
  margin: clamp(2rem, 6vh, 3.5rem) auto clamp(1.25rem, 3vh, 2rem);
  padding: 0;
  border: none;
  background: none;
}

/* Dynamic scripture verse — Step 2, appears below category grid on selection */
.category-verse {
  text-align: center;
  max-width: 340px;
  margin: clamp(1.5rem, 5vh, 2.5rem) auto;
  padding: 0 1rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 350ms ease, transform 350ms ease;
  pointer-events: none;
}
.category-verse[data-visible="true"] {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.category-verse-text {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(15px, 4vw, 17px);
  line-height: 1.55;
  letter-spacing: -0.005em;
  color: rgba(92, 86, 74, 0.78); /* --pr-mid at 78% */
  margin: 0 0 8px 0;
}
.category-verse-ref {
  font-family: 'Inter', system-ui, sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: clamp(10px, 2.4vw, 12px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pr-gold); /* #B8893E */
  margin: 0;
}

/* Inline error message */
.field-error {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 12px;
  color: #B33A3A;
  margin-top: 6px;
  text-align: center;
}
.field-error[hidden] { display: none; }

/* Checkout error */
.checkout-error {
  text-align: left;
  margin-bottom: 8px;
}


/* ═══════════════════════════════════════════════════════════════════
   PRIMARY BUTTON — gold gradient pill
   ═══════════════════════════════════════════════════════════════════ */

.btn-primary {
  display: block;
  text-align: center;
  width: 100%;
  padding: 18px 24px;
  background: var(--gold-gradient-vertical);
  color: #FFFFFF;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.04em;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: filter 200ms ease;
}
.btn-primary:hover {
  filter: brightness(0.92);
}
.btn-primary:active {
  filter: brightness(0.85);
}
.btn-primary:disabled {
  filter: grayscale(0.4) brightness(0.7);
  cursor: not-allowed;
}

/* ── Hero CTA — outline editorial (Round 3 reference replica 07/Mai/2026):
   transparent + 1px muted gold #C8B88A border. Contrast vs #1B1712 bg:
   ~9.15:1 (AAA passes). Hover inverts: gold fill + dark text. ── */
#s0 .btn-primary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(200, 184, 138, 0.08); /* #C8B88A @ 8% — subtle warm presence */
  color: #C8B88A;
  border: 1.5px solid #C8B88A;
  border-radius: 4px;
  padding: 24px 22px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: left;
}
#s0 .btn-primary:hover {
  background: #C8B88A;
  color: #1B1712;
  filter: none;
}
#s0 .btn-primary:active {
  background: #C8B88A;
  color: #1B1712;
  filter: brightness(0.95);
}
#s0 .btn-primary .btn-text {
  flex: 1;
  text-align: left;
}
.btn-arrow {
  font-size: 13px;
  line-height: 1;
  flex-shrink: 0;
  margin-left: 8px;
}


/* ═══════════════════════════════════════════════════════════════════
   HERO PLAY BUTTON
   ═══════════════════════════════════════════════════════════════════ */

/* Outer wrapper — positions the group, handles hover/active */
.hero-play {
  position: absolute;
  top: 80px;           /* just below wordmark (~60px top-bar) + 20px gap */
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;          /* FIX: raised above .hero-body (z-index 2) so clicks land */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: #FFFFFF;
  opacity: 0.85;
  transition: transform 200ms ease, opacity 200ms ease;
}
/* Circle icon container */
.hero-play-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.30);
  background: rgba(0, 0, 0, 0.50);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.40);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero-play-icon svg {
  width: 20px;
  height: 20px;
  margin-left: 2px; /* optical centre for play triangle */
}
/* Text label beneath circle */
.hero-play-label {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  white-space: nowrap;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}
.hero-play:hover,
.hero-play:focus-visible {
  opacity: 1;
  transform: translateX(-50%) scale(1.05);
  outline: none;
}
.hero-play:active {
  transform: translateX(-50%) scale(0.97);
}


/* ═══════════════════════════════════════════════════════════════════
   EXAMPLE VIDEO MODAL  (<dialog>)
   ═══════════════════════════════════════════════════════════════════ */

.example-dialog {
  position: fixed;
  inset: 0;
  width: 100vw;
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  padding: 0;
  margin: 0;
  border: none;
  background: #000;
  overflow: hidden;
}
.example-dialog::backdrop {
  background: rgba(0, 0, 0, 0.92);
}
#example-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #000;
}

/* Close button (×) — top-right corner, always on top */
.example-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.55);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 150ms ease;
}
.example-close svg {
  width: 18px;
  height: 18px;
}
.example-close:hover { background: rgba(0, 0, 0, 0.80); }
.example-close:focus-visible { outline: 2px solid rgba(201,162,74,0.8); outline-offset: 2px; }

/* End-of-video CTA overlay — fades in at ~42s, stays until user acts */
.example-cta-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 28px;
  gap: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 2.5s ease-in-out;
}
.example-cta-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}
.example-cta-title {
  font-family: 'Fraunces', serif;
  font-size: 26px;
  font-weight: 400;
  color: #FFFFFF;
  text-align: center;
  line-height: 1.25;
  margin: 0;
}
.example-cta-sub {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  text-align: center;
  margin: 0;
}
.example-cta-btn {
  margin-top: 8px;
  max-width: 280px;
  width: 100%;
}

/* Desktop: constrain to 9:16 aspect box centred on screen */
@media (min-width: 600px) {
  .example-dialog {
    width: auto;
    height: auto;
    max-width: 90vw;
    max-height: 92vh;
    aspect-ratio: 9 / 16;
    inset: unset;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 8px;
    overflow: hidden;
  }
  #example-video {
    height: 100%;
    object-fit: cover;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   CARD GRIDS — categories (3×2) and intercessors (2×2)
   ═══════════════════════════════════════════════════════════════════ */

.card-grid {
  display: grid;
  gap: 8px;
  margin-top: 4px;
}
.card-grid-3x2 {
  grid-template-columns: repeat(3, 1fr);
}
.card-grid-2x2 {
  grid-template-columns: repeat(2, 1fr);
}

.card-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  border: 2px solid transparent;
  background: var(--pr-cinema);
  aspect-ratio: 1;               /* square for categories */
  padding: 0;
  transition:
    border-color 220ms var(--pr-ease),
    transform    220ms var(--pr-ease),
    box-shadow   220ms var(--pr-ease);
}
.card-item:active {
  transform: scale(0.97);
}
.card-item[aria-pressed="true"] {
  border-color: var(--pr-gold-lt);
  transform: scale(1.015);
  box-shadow: 0 0 0 1px var(--pr-gold-lt),
              0 8px 24px rgba(184, 137, 62, 0.28);
}

/* Tall variant for intercessor cards */
.card-tall {
  aspect-ratio: auto;
  height: 170px;
}

.card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Gradient vignette at card bottom */
.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(26, 20, 11, 0.72) 0%,
    rgba(26, 20, 11, 0.10) 55%,
    transparent 75%
  );
}

/* Card name label */
.card-label {
  position: absolute;
  bottom: 8px;
  left: 10px;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 18px;
  font-weight: 400;
  color: #fff;
  z-index: 1;
  line-height: 1;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

/* Intercessor cards — name + quote grouped */
.card-info {
  position: absolute;
  bottom: 8px;
  left: 10px;
  right: 10px;
  z-index: 1;
}
.card-info .card-label {
  position: static;
  display: block;
  bottom: auto;
  left: auto;
}
.card-quote {
  display: block;
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-size: 11px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.80);
  line-height: 1.4;
  margin-top: 3px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.35);
}

/* Voice preview play/pause button — centered over intercessor card */
.card-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #FFFFFF;
  padding: 0;
  transition: transform 200ms ease, border-color 200ms ease, background 200ms ease;
  user-select: none;
  -webkit-user-select: none;
}
.card-play-btn:hover,
.card-play-btn:focus-visible {
  transform: translate(-50%, -50%) scale(1.10);
  border-color: #FFFFFF;
  background: rgba(255, 255, 255, 0.12);
  outline: none;
}
/* Playing state — gold ring */
.card-play-btn[data-playing="true"] {
  border-color: var(--pr-gold, #C9A94E);
  background: rgba(201, 169, 78, 0.18);
}
.card-play-btn[data-playing="true"]:hover {
  transform: translate(-50%, -50%) scale(1.10);
  border-color: var(--pr-gold, #C9A94E);
}
/* Icon toggling via CSS — show pause only when playing */
.card-play-btn .icon-pause { display: none; }
.card-play-btn[data-playing="true"] .icon-play  { display: none; }
.card-play-btn[data-playing="true"] .icon-pause { display: block; }


/* ═══════════════════════════════════════════════════════════════════
   STATE 4 — CHECKOUT SPECIFICS
   ═══════════════════════════════════════════════════════════════════ */

/* Summary card — editable order preview */
.summary-card {
  background: rgba(212, 162, 76, 0.07);
  border: 1px solid rgba(212, 162, 76, 0.28);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 20px;
}
.summary-line {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.summary-line-2 {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(212, 162, 76, 0.16);
}
.summary-text {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--pr-dark);
  line-height: 1.3;
  flex: 1;
}
.summary-text em {
  font-style: italic;
  color: var(--pr-gold);
}
.summary-text strong {
  font-weight: 600;
}
.summary-text-sm {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 14px;
  color: var(--pr-mid);
}
/* Intercessor thumbnail row — wraps avatar + text, takes the space summary-text had */
.summary-intercessor {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}
.summary-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(184, 137, 62, 0.30);
  background: rgba(184, 137, 62, 0.08); /* placeholder tint while loading */
}

.summary-edit {
  flex-shrink: 0;
  padding: 6px;
  color: var(--pr-gold);
  border-radius: 6px;
  transition: background 150ms;
  margin-top: 2px;
}
.summary-edit:hover {
  background: rgba(184, 137, 62, 0.1);
}

/* Checkboxes */
.checks {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}
.check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}
.check-row input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  min-width: 18px;
  border: 1.5px solid rgba(184, 137, 62, 0.38);
  border-radius: 4px;
  background: transparent;
  margin-top: 1px;
  cursor: pointer;
  transition: border-color 150ms, background 150ms;
}
.check-row input[type="checkbox"]:checked {
  background: var(--pr-gold);
  border-color: var(--pr-gold);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 5L4.5 8.5L11 1' stroke='%23FBF6EC' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 68%;
}
.check-label {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: var(--pr-mid);
  padding-top: 1px;
}

/* Payment buttons group */
.pay-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.btn-apple-pay {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 52px;
  background: #000;
  border-radius: 9999px;
  border: none;
  transition: opacity 160ms;
}
.btn-apple-pay:hover { opacity: 0.88; }

.btn-google-pay {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 52px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 9999px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  transition: box-shadow 160ms;
}
.btn-google-pay:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.13); }

/* "OR" divider */
.or-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--pr-mute);
}
.or-divider::before,
.or-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(139, 130, 114, 0.22);
}
.or-divider span {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

/* Secure payment note */
.secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 11px;
  color: var(--pr-mute);
  margin-bottom: 10px;
}

/* Payment brand logos */
.payment-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-wrap: wrap;
}
.pay-logo {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pr-mute);
  background: rgba(139, 130, 114, 0.12);
  border: 1px solid rgba(139, 130, 114, 0.18);
  border-radius: 4px;
  padding: 3px 6px;
}


/* ═══════════════════════════════════════════════════════════════════
   FLOATING BACK BUTTON — used on legal / FAQ / contact pages
   ═══════════════════════════════════════════════════════════════════ */

.pr-floating-back {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--gold-primary);
  color: #FFFFFF;
  padding: 14px 22px;
  border-radius: 4px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  box-shadow:
    0 6px 16px rgba(139, 111, 46, 0.28),
    0 14px 32px -6px rgba(139, 111, 46, 0.32);
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity   300ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 300ms cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 1000;
}
.pr-floating-back.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}


/* ═══════════════════════════════════════════════════════════════════
   LEGACY COMPONENTS — post-sale pages (order, recover, refund, admin)
   DO NOT REMOVE. These pages reference main.css and depend on these.
   ═══════════════════════════════════════════════════════════════════ */

.btn-gold {
  display: inline-block;
  background-color: var(--gold-primary);
  color: #FAF6EE;
  font-family: "Geist", sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: background 200ms, transform 200ms;
}
.btn-gold:hover {
  background-color: var(--gold-deep);
  color: #FAF6EE;
  transform: translateY(-1px);
}

.page-shell {
  min-height: 100vh;
  background: var(--butter);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px 80px;
}
@media (max-width: 768px) {
  .page-shell { padding: 40px 16px 60px; }
}

/* .page-wordmark removed — unified into .wordmark (see above) */

.page-content {
  width: 100%;
  max-width: 480px;
}

.page-title {
  font-family: "Instrument Serif", serif;
  font-size: 38px;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--espresso);
  margin: 0 0 16px;
}
.page-title em { font-style: italic; color: var(--terracotta); }
@media (max-width: 768px) {
  .page-title { font-size: 28px; }
}

.page-sub {
  font-family: "Geist", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--espresso-2);
  margin: 0 0 40px;
}

.page-muted {
  font-family: "Geist", sans-serif;
  font-size: 13px;
  color: var(--mute);
  line-height: 1.5;
}

.order-card {
  background: var(--butter-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px 28px;
  margin-top: 32px;
}
.order-card-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-family: "Geist", sans-serif;
  font-size: 14px;
  color: var(--espresso-2);
  gap: 12px;
}
.order-card-row:last-child { border-bottom: none; }
.order-card-row .label { color: var(--mute); font-size: 12.5px; white-space: nowrap; }
.order-card-row .value { text-align: right; }

@keyframes spin-breath {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.spinner {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid rgba(184, 137, 62, 0.15);
  border-top-color: var(--gold-primary);
  animation: spin-breath 1.4s linear infinite;
  margin: 32px auto;
}

.video-wrap {
  width: 100%;
  max-width: 360px;
  margin: 0 auto 24px;
  aspect-ratio: 9 / 16;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--espresso);
  box-shadow: 0 20px 60px -20px rgba(42,31,24,0.35);
}
.video-wrap video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
@media (max-width: 480px) {
  .video-wrap { max-width: 100%; border-radius: var(--r-md); }
}

.sound-hint {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-size: 14px;
  color: var(--mute);
  text-align: center;
  margin-bottom: 12px;
}

.video-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
}

.status-pill {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.status-completed  { background: #D4EDDA; color: #1A6630; }
.status-failed     { background: #F8D7DA; color: #721C24; }
.status-processing { background: #FFF3CD; color: #856404; }
.status-pending    { background: rgba(42,31,24,0.07); color: var(--mute); }

.admin-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}
@media (max-width: 600px) {
  .admin-stats { grid-template-columns: 1fr; }
}
.stat-card {
  background: var(--butter-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 16px 20px;
}
.stat-label {
  font-family: "Geist", sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--mute);
  margin-bottom: 6px;
}
.stat-value {
  font-family: "Instrument Serif", serif;
  font-size: 30px;
  letter-spacing: -0.02em;
  color: var(--espresso);
}

.admin-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-family: "Geist", sans-serif;
  font-size: 13px;
}
.admin-table th {
  text-align: left;
  padding: 10px 14px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--mute);
  background: var(--butter-2);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.admin-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--espresso-2);
  white-space: nowrap;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--butter-2); }


/* ═══════════════════════════════════════════════════════════════════
   ACCESSIBILITY — reduced motion
   ═══════════════════════════════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
