/* ══════════════════════════════════════════════════════════
   SHARED STYLES — The Office Store
   Imported by every page. Contains brand tokens, base reset,
   typography utilities, and component styles for nav + footer.
══════════════════════════════════════════════════════════ */

/* ── BRAND TOKENS ── */
:root {
  --deep-purple:   #3D1A6B;
  --mid-purple:    #6A2FA0;
  --iris:          #9B59D0;
  --pale-purple:   #E8D5F7;
  --gold:          #C9A84C;
  --gold-light:    #E8C97A;
  --gold-pale:     #F7EDCF;
  --midnight:      #1A1A2E;
  --midnight-2:    #12111f;
  --ivory:         #FAF8F5;
  --charcoal:      #1A1A2E;
  --glass:         rgba(255,255,255,0.04);
  --glass-border:  rgba(255,255,255,0.08);
  --text-primary:  rgba(255,255,255,0.90);
  --text-secondary:rgba(255,255,255,0.55);
  --text-muted:    rgba(255,255,255,0.35);
}

/* ── BASE RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Roboto', sans-serif;
  background: var(--midnight-2);
  color: var(--text-primary);
  overflow-x: hidden;
}

/* ── NOISE OVERLAY ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.025;
  pointer-events: none;
  z-index: 9999;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--midnight-2); }
::-webkit-scrollbar-thumb { background: rgba(201,168,76,0.25); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(201,168,76,0.45); }

/* ── TYPOGRAPHY UTILITIES ── */
.font-display { font-family: 'Roboto Condensed', sans-serif; }
.text-gold       { color: var(--gold); }
.text-gold-light { color: var(--gold-light); }

.grad-gold {
  background: linear-gradient(135deg, #E8C97A 0%, #C9A84C 50%, #A07830 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.divider-gold {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
}

/* ── SECTION EYEBROW ── */
.section-eyebrow {
  font-size: 10px;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 300;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════
   NAV COMPONENT STYLES
══════════════════════════════════════════════════════════ */

site-nav { display: contents; }

/* Main nav (index.html) */
#main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease;
}
#main-nav.scrolled {
  background: rgba(18,17,31,0.88);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(201,168,76,0.12);
}
.nav-link {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}
.nav-link:hover { color: var(--gold-light); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 22px;
  background: linear-gradient(135deg, var(--mid-purple), var(--deep-purple));
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 8px;
  color: white;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.nav-cta:hover {
  border-color: rgba(201,168,76,0.6);
  box-shadow: 0 6px 24px rgba(106,47,160,0.45);
}
.nav-cta:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Subpage nav (privacy, terms, etc.) */
.nav-subpage {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(18,17,31,0.80);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(201,168,76,0.10);
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #E8C97A 0%, #C9A84C 50%, #A07830 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
}
.nav-back {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}
.nav-back:hover { color: var(--gold-light); }
.nav-back svg { transition: transform 0.2s ease; }
.nav-back:hover svg { transform: translateX(-3px); }

/* ══════════════════════════════════════════════════════════
   FOOTER COMPONENT STYLES
══════════════════════════════════════════════════════════ */

site-footer { display: contents; }

/* Main footer (index.html) */
.footer-main {
  background: linear-gradient(180deg, var(--midnight-2) 0%, #0a0915 100%);
  border-top: 1px solid rgba(201,168,76,0.1);
}
.footer-link {
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-link:hover { color: var(--gold-light); }

.secure-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 300;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.06em;
}

/* Simple footer (privacy, terms, etc.) */
.footer-simple {
  border-top: 1px solid rgba(201,168,76,0.10);
  padding: 40px 32px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.footer-links a {
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 4px 16px;
  transition: color 0.2s ease;
  position: relative;
}
.footer-links a:hover { color: var(--gold-light); }
.footer-links a + a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 10px;
  background: rgba(201,168,76,0.25);
}
.footer-links a.active { color: var(--gold); }
.footer-copy {
  font-size: 11px;
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

/* ══════════════════════════════════════════════════════════
   PAGE — GRID BACKGROUND
══════════════════════════════════════════════════════════ */
.grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

/* ══════════════════════════════════════════════════════════
   PAGE — HERO
══════════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  background: linear-gradient(160deg, var(--midnight-2) 0%, var(--deep-purple) 55%, #0d0820 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-glow-1 {
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(106,47,160,0.35) 0%, transparent 70%);
  top: -200px; right: -100px;
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(201,168,76,0.1) 0%, transparent 70%);
  bottom: -100px; left: 5%;
  pointer-events: none;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-animate-1 { animation: fadeUp 0.9s cubic-bezier(0.16,1,0.3,1) 0.2s both; }
.hero-animate-2 { animation: fadeUp 0.9s cubic-bezier(0.16,1,0.3,1) 0.4s both; }
.hero-animate-3 { animation: fadeUp 0.9s cubic-bezier(0.16,1,0.3,1) 0.6s both; }
.hero-animate-4 { animation: fadeUp 0.9s cubic-bezier(0.16,1,0.3,1) 0.8s both; }
.hero-animate-5 { animation: fadeUp 0.9s cubic-bezier(0.16,1,0.3,1) 1.0s both; }

@keyframes crownFloat {
  0%, 100% { transform: translateY(0px) rotate(-1deg); }
  50%       { transform: translateY(-12px) rotate(1deg); }
}
.crown-float { animation: crownFloat 5s ease-in-out infinite; }

@media (max-width: 768px) {
  .hero-grid  { grid-template-columns: 1fr !important; }
  .crown-col  { display: none; }
}

/* ══════════════════════════════════════════════════════════
   PAGE — PRODUCT CARDS
══════════════════════════════════════════════════════════ */
.product-card {
  background: linear-gradient(145deg, rgba(61,26,107,0.2) 0%, rgba(18,17,31,0.8) 100%);
  border: 1px solid rgba(201,168,76,0.12);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(201,168,76,0.35);
  box-shadow:
    0 20px 60px rgba(61,26,107,0.4),
    0 0 0 1px rgba(201,168,76,0.08),
    inset 0 1px 0 rgba(255,255,255,0.06);
}

.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(201,168,76,0.04) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

.card-image-wrap { position: relative; overflow: hidden; }

.card-image-wrap img,
.card-image-wrap .card-img-placeholder {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.card-image-wrap .card-img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card:hover .card-image-wrap img,
.product-card:hover .card-image-wrap .card-img-placeholder {
  transform: scale(1.05);
}

.card-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18,17,31,0.85) 0%, rgba(61,26,107,0.2) 50%, transparent 100%);
}

.card-color-layer {
  position: absolute;
  inset: 0;
  background: rgba(61,26,107,0.2);
  mix-blend-mode: multiply;
}

/* ══════════════════════════════════════════════════════════
   PAGE — BADGES
══════════════════════════════════════════════════════════ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.badge-physical {
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.3);
  color: var(--gold-light);
}

.badge-digital {
  background: rgba(106,47,160,0.25);
  border: 1px solid rgba(155,89,208,0.4);
  color: #c8a0f0;
}

.badge-subscription {
  background: rgba(61,26,107,0.3);
  border: 1px solid rgba(106,47,160,0.4);
  color: #b890e8;
}

.badge-contribution {
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.2);
  color: var(--gold);
}

/* ══════════════════════════════════════════════════════════
   PAGE — BUTTONS
══════════════════════════════════════════════════════════ */
.btn-gift {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  background: linear-gradient(135deg, var(--mid-purple) 0%, var(--deep-purple) 100%);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 8px;
  color: white;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
  width: 100%;
}

.btn-gift:hover {
  background: linear-gradient(135deg, #7d36bb 0%, var(--mid-purple) 100%);
  border-color: rgba(201,168,76,0.6);
  box-shadow: 0 8px 30px rgba(106,47,160,0.45), 0 0 0 1px rgba(201,168,76,0.1);
  transform: translateY(-1px);
}

.btn-gift:active    { transform: translateY(0px); }
.btn-gift:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}

.btn-pay {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
  background-size: 200% auto;
  border: none;
  border-radius: 8px;
  color: var(--charcoal);
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background-position 0.5s ease;
  box-shadow: 0 8px 30px rgba(201,168,76,0.3);
}

.btn-pay:hover {
  background-position: right center;
  box-shadow: 0 12px 40px rgba(201,168,76,0.5);
  transform: translateY(-1px);
  animation: shimmer 2s linear infinite;
}

.btn-pay:active        { transform: translateY(0); }
.btn-pay:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ══════════════════════════════════════════════════════════
   PAGE — PROGRESS BAR
══════════════════════════════════════════════════════════ */
.progress-track {
  background: rgba(255,255,255,0.06);
  border-radius: 100px;
  height: 6px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 100px;
  transition: width 1.4s cubic-bezier(0.16,1,0.3,1);
  width: 0%;
}

/* ══════════════════════════════════════════════════════════
   PAGE — FILTER TABS
══════════════════════════════════════════════════════════ */
.filter-tab {
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.5);
  background: transparent;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.filter-tab:hover {
  border-color: rgba(201,168,76,0.3);
  color: rgba(255,255,255,0.8);
}

.filter-tab.active {
  background: linear-gradient(135deg, var(--mid-purple), var(--deep-purple));
  border-color: rgba(201,168,76,0.35);
  color: white;
  box-shadow: 0 4px 16px rgba(106,47,160,0.4);
}

/* ══════════════════════════════════════════════════════════
   PAGE — STEP CARDS (How It Works)
══════════════════════════════════════════════════════════ */
.step-card {
  background: linear-gradient(145deg, rgba(61,26,107,0.15), rgba(18,17,31,0.6));
  border: 1px solid rgba(201,168,76,0.1);
  border-radius: 16px;
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.step-card:hover {
  border-color: rgba(201,168,76,0.25);
  transform: translateY(-3px);
}

.step-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.step-card:hover::after { opacity: 1; }

.step-num {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 900;
  font-size: 80px;
  line-height: 1;
  color: rgba(201,168,76,0.07);
  position: absolute;
  top: 16px; right: 24px;
  letter-spacing: -0.03em;
  pointer-events: none;
}

/* ══════════════════════════════════════════════════════════
   PAGE — MODAL
══════════════════════════════════════════════════════════ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10,9,20,0.88);
  backdrop-filter: blur(12px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: linear-gradient(145deg, #1e1535, #12111f);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 20px;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px;
  position: relative;
  transform: translateY(20px) scale(0.98);
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
  box-shadow:
    0 40px 100px rgba(0,0,0,0.6),
    0 0 0 1px rgba(255,255,255,0.04),
    inset 0 1px 0 rgba(255,255,255,0.06);
}

.modal-backdrop.open .modal { transform: translateY(0) scale(1); }

.modal-close {
  position: absolute;
  top: 20px; right: 20px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 18px;
  transition: background 0.2s ease, color 0.2s ease;
  line-height: 1;
}

.modal-close:hover { background: rgba(255,255,255,0.1); color: white; }

/* ══════════════════════════════════════════════════════════
   PAGE — FORM
══════════════════════════════════════════════════════════ */
.form-input {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 13px 16px;
  color: white;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 300;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}

.form-input::placeholder { color: rgba(255,255,255,0.25); }

.form-input:focus {
  border-color: rgba(201,168,76,0.45);
  background: rgba(255,255,255,0.06);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.1);
}

.form-label {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
  display: block;
  margin-bottom: 6px;
}

.stripe-field {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: border-color 0.2s ease;
}

.stripe-field:focus-within {
  border-color: rgba(201,168,76,0.45);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.1);
}

.stripe-field input {
  background: transparent;
  border: none;
  outline: none;
  color: white;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 300;
  flex: 1;
}

.stripe-field input::placeholder { color: rgba(255,255,255,0.22); }

.check-wrap {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.check-box {
  width: 18px; height: 18px;
  min-width: 18px;
  border-radius: 4px;
  border: 1px solid rgba(201,168,76,0.35);
  background: rgba(255,255,255,0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  transition: background 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.check-box.checked {
  background: linear-gradient(135deg, var(--mid-purple), var(--deep-purple));
  border-color: var(--gold);
}

.check-box svg          { display: none; }
.check-box.checked svg  { display: block; }

/* ══════════════════════════════════════════════════════════
   PAGE — SCROLL REVEAL
══════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16,1,0.3,1);
}

.reveal.visible        { opacity: 1; transform: translateY(0); }
.reveal-delay-1        { transition-delay: 0.1s; }
.reveal-delay-2        { transition-delay: 0.2s; }
.reveal-delay-3        { transition-delay: 0.3s; }
.reveal-delay-4        { transition-delay: 0.4s; }

/* ══════════════════════════════════════════════════════════
   PAGE — CONTRIBUTION CARD
══════════════════════════════════════════════════════════ */
.contribution-card {
  background: linear-gradient(135deg, rgba(61,26,107,0.25), rgba(18,17,31,0.9));
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

.contribution-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--deep-purple), var(--gold), var(--deep-purple));
}

/* ══════════════════════════════════════════════════════════
   PAGE — ANIMATIONS
══════════════════════════════════════════════════════════ */
@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  25%       { transform: scale(1.12); }
  50%       { transform: scale(1); }
  75%       { transform: scale(1.06); }
}
.heart-pulse { animation: heartbeat 2.4s ease infinite; display: inline-block; }

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ══════════════════════════════════════════════════════════
   SUBPAGE — SHARED LAYOUT (privacy.html, terms.html, etc.)
══════════════════════════════════════════════════════════ */

/* Ambient glow blobs */
.ambient {
  position: fixed;
  pointer-events: none;
  border-radius: 50%;
  z-index: 0;
}

page-hero { display: contents; }

/* Page hero band */
.page-hero {
  padding-top: 64px;
  border-bottom: 1px solid rgba(201,168,76,0.10);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

.page-hero-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 32px 56px;
  position: relative;
  z-index: 2;
  animation: fadeUp 0.6s ease both;
}

.page-label {
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.page-label::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--gold);
  opacity: 0.7;
}

.page-title {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(36px, 6vw, 56px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: white;
  margin-bottom: 20px;
}

.page-meta {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* Content column */
.content-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 32px 96px;
  position: relative;
  z-index: 1;
}

/* Table of contents */
.toc {
  background: linear-gradient(135deg, rgba(61,26,107,0.18) 0%, rgba(18,17,31,0.6) 100%);
  border: 1px solid rgba(201,168,76,0.12);
  border-radius: 4px;
  padding: 28px 32px;
  margin-bottom: 56px;
  position: relative;
  overflow: hidden;
  animation: fadeUp 0.6s 0.1s ease both;
}

/* toc::before accent bar is page-specific (set in each page) */

.toc-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.toc-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 24px;
}

@media (max-width: 540px) {
  .toc-list { grid-template-columns: 1fr; }
}

.toc-list a {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-secondary);
  text-decoration: none;
  letter-spacing: 0.02em;
  display: flex;
  align-items: baseline;
  gap: 8px;
  transition: color 0.2s ease;
}
.toc-list a:hover { color: var(--gold-light); }

.toc-list a .num {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  font-size: 11px;
  min-width: 20px;
  /* color is page-specific */
}

/* Policy sections */
.policy-section {
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  animation: fadeUp 0.5s ease both;
}
.policy-section:last-child { border-bottom: none; margin-bottom: 0; }

.section-heading {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 20px;
  scroll-margin-top: 88px;
}

.section-num {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 900;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  min-width: 28px;
  /* color + opacity are page-specific */
}

.section-title {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: white;
}

/* Body copy inside content column */
.content-wrap p {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,0.72);
  line-height: 1.8;
  margin-bottom: 16px;
}
.content-wrap p:last-child { margin-bottom: 0; }

.sub-heading {
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
  margin-top: 28px;
  /* color is page-specific */
}

/* Bullet lists */
ul.policy-list {
  list-style: none;
  margin: 12px 0 16px;
}

ul.policy-list li {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,0.68);
  line-height: 1.75;
  padding: 6px 0 6px 24px;
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
ul.policy-list li:last-child { border-bottom: none; }

ul.policy-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 6px;
  height: 1px;
  /* color is page-specific (gold or iris) */
  opacity: 0.5;
}

/* Callout blocks — base structure only; bg/border/text color are page-specific */
.callout {
  border-radius: 3px;
  padding: 20px 24px;
  margin: 20px 0;
}

.callout p {
  font-size: 13px;
  font-weight: 400;
  margin: 0;
  line-height: 1.70;
}

/* Rights grid (privacy) */
.rights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 16px 0;
}
@media (max-width: 540px) {
  .rights-grid { grid-template-columns: 1fr; }
}

.right-item {
  background: rgba(18,17,31,0.7);
  border: 1px solid rgba(155,89,208,0.14);
  border-radius: 3px;
  padding: 14px 18px;
  transition: border-color 0.2s ease;
}
.right-item:hover { border-color: rgba(155,89,208,0.30); }

.right-name {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--iris);
  margin-bottom: 5px;
  opacity: 0.9;
}

.right-desc {
  font-size: 12px;
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  line-height: 1.55;
  margin: 0;
}

/* Scroll progress bar */
#progress-bar {
  position: fixed;
  top: 64px; left: 0;
  height: 2px;
  z-index: 200;
  width: 0%;
  transition: width 0.1s linear;
  /* background gradient is page-specific */
}
