/* ============================================
   FRAMELUX — Landing Page
   Cinematic dark theme with gold accents
   ============================================ */

/* --- Anamorphic light leak / flare --- */
.landing-flare {
  position: fixed;
  top: -30vh;
  left: 50%;
  transform: translateX(-50%);
  width: 120vw;
  height: 60vh;
  background: radial-gradient(
    ellipse 80% 50% at 50% 0%,
    rgba(212, 175, 55, 0.06) 0%,
    rgba(212, 175, 55, 0.02) 40%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

/* ===== NAVIGATION ===== */
.landing-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 2rem;
  background: transparent;
  transition: background 300ms ease, backdrop-filter 300ms ease, border-color 300ms ease;
  border-bottom: 1px solid transparent;
}

.landing-nav.nav-scrolled {
  background: rgba(10, 10, 11, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--border-subtle);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  text-decoration: none;
  color: inherit;
}

.nav-logo-icon {
  height: 50px;
  width: auto;
}

.nav-logo-wordmark {
  height: 50px;
  width: auto;
  color: var(--text-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color var(--transition-fast);
}
.nav-link:hover {
  color: var(--text-primary);
}

.btn-nav-cta {
  padding: 0.5rem 1.2rem;
  font-size: 0.8rem;
  font-style: normal;
}

.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 1px;
  transition: all var(--transition-fast);
}

/* ===== SECTIONS (shared) ===== */
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

/* ===== FULL-PAGE SCROLLING BACKGROUND ===== */
/* Portrait image scrolls with content so the full scene is revealed */
body {
  background-image: url('/assets/landing-hero-bg.jpg');
  background-size: 100% auto;
  background-position: top center;
  background-repeat: no-repeat;
}

.landing-bg-overlay {
  position: fixed;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 11, 0.20) 0%,
    rgba(10, 10, 11, 0.30) 25%,
    rgba(10, 10, 11, 0.50) 50%,
    rgba(10, 10, 11, 0.70) 70%,
    rgba(10, 10, 11, 0.85) 85%,
    rgba(10, 10, 11, 0.92) 100%
  );
  z-index: -1;
  pointer-events: none;
}

/* ===== CAMERA LENS RING SYSTEM ===== */
.lens-ring-system {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(70vw, 600px);
  height: min(70vw, 600px);
  z-index: 0;
  opacity: 0.35;
  pointer-events: none;
}

.lens-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

/* Outer ring — dashed, slow rotation */
.lens-ring-outer {
  border: 2px dashed rgba(212, 175, 55, 0.3);
  animation: lens-spin 30s linear infinite;
}

/* Mid ring — solid thin, reverse */
.lens-ring-mid {
  inset: 14%;
  border: 1px solid rgba(212, 175, 55, 0.2);
  animation: lens-spin 20s linear infinite reverse;
}

/* Inner ring — dotted */
.lens-ring-inner {
  inset: 28%;
  border: 1.5px dotted rgba(212, 175, 55, 0.25);
  animation: lens-spin 15s linear infinite;
}

/* Core ring — solid faint, reverse */
.lens-ring-core {
  inset: 40%;
  border: 1px solid rgba(212, 175, 55, 0.15);
  animation: lens-spin 25s linear infinite reverse;
}

/* Arc segments on outer ring */
.lens-arc {
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 2px solid transparent;
}

.lens-arc-1 {
  border-top-color: var(--gold, #d4af37);
  filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.4));
  animation: lens-spin 8s linear infinite;
}

.lens-arc-2 {
  border-bottom-color: rgba(212, 175, 55, 0.15);
  border-left-color: rgba(212, 175, 55, 0.15);
  animation: lens-spin 12s linear infinite reverse;
}

.lens-arc-3 {
  border-right-color: rgba(212, 175, 55, 0.3);
  animation: lens-spin 6s linear infinite;
}

/* Tick marks container */
.lens-ticks {
  position: absolute;
  inset: 4%;
  border-radius: 50%;
  animation: lens-spin 60s linear infinite reverse;
}

.lens-tick {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 8px;
  margin-left: -0.5px;
  background: rgba(212, 175, 55, 0.25);
  transform-origin: 0.5px calc(min(70vw, 600px) * 0.46);
}

.lens-tick.major {
  height: 14px;
  width: 1.5px;
  margin-left: -0.75px;
  background: rgba(212, 175, 55, 0.5);
  transform-origin: 0.75px calc(min(70vw, 600px) * 0.46);
}

@keyframes lens-spin {
  to { transform: rotate(360deg); }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 80px;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  padding: var(--space-8) var(--space-6);
  animation: fadeInUp 1s ease forwards;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-8);
}

.hero-title-line {
  display: block;
}

.hero-title-accent {
  color: var(--gold);
  position: relative;
}

.hero-title-accent::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.4;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto var(--space-10);
  opacity: 0;
  animation: fadeInUp 0.6s ease 0.4s forwards;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 0.6s ease 0.65s forwards;
}

.hero-actions-secondary {
  display: flex;
  justify-content: center;
  margin-top: var(--space-4);
  opacity: 0;
  animation: fadeInUp 0.6s ease 0.85s forwards;
}

/* --- Liquid gradient animation (CSS Houdini) --- */
@property --liquid-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@keyframes liquid-rotate {
  to { --liquid-angle: 360deg; }
}

/* --- CTA Button wrapper (outer liquid glow) --- */
.btn-liquid-wrap {
  position: relative;
  display: inline-block;
  border-radius: 10px;
}

/* Blurred halo that extends beyond the button */
.btn-liquid-wrap::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 14px;
  background: conic-gradient(
    from var(--liquid-angle),
    rgba(228, 196, 74, 0.5),
    rgba(160, 120, 30, 0.08),
    rgba(255, 220, 80, 0.4),
    rgba(139, 105, 20, 0.06),
    rgba(212, 175, 55, 0.35),
    rgba(228, 196, 74, 0.5)
  );
  filter: blur(18px);
  opacity: 0.45;
  animation: liquid-rotate var(--liquid-duration, 4s) linear infinite;
  animation-delay: var(--liquid-delay, 0s);
  transition: opacity 0.4s ease;
  z-index: 0;
}

.btn-liquid-wrap:hover::before {
  opacity: 0.85;
}

/* --- CTA Button (liquid glass) --- */
.btn-landing-primary {
  display: inline-block;
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.02em;
  color: var(--gold);
  background: rgba(15, 12, 6, 0.7);
  border: none;
  padding: 0.75rem 2.1rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.35s ease;
  box-shadow:
    0 0 6px rgba(212, 175, 55, 0.1),
    inset 0 0 12px rgba(212, 175, 55, 0.04);
  overflow: hidden;
}

/* Primary liquid border — animated conic gradient masked to border */
.btn-landing-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 8px;
  padding: 1.5px;
  background: conic-gradient(
    from var(--liquid-angle),
    rgba(228, 196, 74, 0.95),
    rgba(160, 130, 30, 0.25),
    rgba(255, 220, 80, 0.85),
    rgba(139, 105, 20, 0.2),
    rgba(212, 175, 55, 0.65),
    rgba(228, 196, 74, 0.95)
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  animation: liquid-rotate var(--liquid-duration, 4s) linear infinite;
  animation-delay: var(--liquid-delay, 0s);
}

/* Second liquid layer — offset rotation, slight blur for organic depth */
.btn-landing-primary::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 9px;
  padding: 2.5px;
  background: conic-gradient(
    from calc(var(--liquid-angle) + 120deg),
    transparent 0%,
    rgba(255, 228, 160, 0.45) 12%,
    transparent 28%,
    rgba(228, 196, 74, 0.35) 48%,
    transparent 62%,
    rgba(255, 220, 80, 0.3) 78%,
    transparent 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  animation: liquid-rotate var(--liquid-duration-slow, 7s) linear infinite;
  animation-delay: var(--liquid-delay, 0s);
  filter: blur(2px);
}

.btn-landing-primary:hover {
  background: rgba(20, 16, 8, 0.8);
  color: var(--gold-bright);
  box-shadow:
    0 0 10px rgba(212, 175, 55, 0.2),
    0 0 30px rgba(180, 145, 40, 0.1),
    inset 0 0 15px rgba(212, 175, 55, 0.06);
  transform: translateY(-1px);
}

.btn-landing-primary:hover::before {
  animation-duration: 2s;
}

.btn-landing-primary:hover::after {
  animation-duration: 3.5s;
}

/* --- Watch App (coming soon) --- */
.btn-watch-app {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-muted);
  cursor: default;
}

.btn-watch-app svg {
  width: 18px;
  height: 18px;
  opacity: 0.5;
}

.coming-soon-badge {
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-dim);
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.2);
  padding: 0.15rem 0.5rem;
  border-radius: 10px;
}

/* ===== FEATURES ===== */
.features {
  padding: var(--space-12) 0;
  padding-top: clamp(400px, 65vh, 700px);
  position: relative;
}

#technology {
  scroll-margin-top: 80px;
}

.features-eyebrow {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--gold);
  text-align: center;
  margin-bottom: var(--space-3);
}

.features-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 600;
  text-align: center;
  margin-bottom: var(--space-12);
  color: var(--text-primary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-bottom: var(--space-10);
}

.feature-card {
  position: relative;
  padding: var(--space-8) var(--space-6);
  border: 1.5px solid transparent;
  border-radius: var(--radius-lg);
  background:
    rgba(10, 10, 11, 0.45) padding-box,
    conic-gradient(
      from var(--liquid-angle),
      rgba(228, 196, 74, 0.7),
      rgba(160, 130, 30, 0.15),
      rgba(255, 220, 80, 0.55),
      rgba(139, 105, 20, 0.1),
      rgba(212, 175, 55, 0.45),
      rgba(228, 196, 74, 0.7)
    ) border-box;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-align: center;
  transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.25s ease;
  box-shadow:
    0 0 8px rgba(212, 175, 55, 0.1),
    0 0 25px rgba(180, 145, 40, 0.07),
    0 0 60px rgba(160, 120, 30, 0.04),
    inset 0 0 20px rgba(212, 175, 55, 0.04);
  /* scroll reveal initial state */
  opacity: 0;
  transform: translateY(24px);
  overflow: hidden;
  animation: liquid-rotate var(--liquid-duration, 6s) linear infinite;
  animation-delay: var(--liquid-delay, 0s);
}

/* Second liquid layer — slower, offset, blurred for organic depth */
.feature-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  padding: 2.5px;
  background: conic-gradient(
    from calc(var(--liquid-angle) + 150deg),
    transparent 0%,
    rgba(255, 228, 160, 0.35) 10%,
    transparent 25%,
    rgba(228, 196, 74, 0.25) 45%,
    transparent 60%,
    rgba(255, 220, 80, 0.2) 75%,
    transparent 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  animation: liquid-rotate var(--liquid-duration-slow, 9s) linear infinite;
  animation-delay: var(--liquid-delay, 0s);
  filter: blur(2px);
}

.feature-card:hover::after {
  animation-duration: 4.5s;
}

.feature-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-card:hover {
  box-shadow:
    0 0 12px rgba(212, 175, 55, 0.18),
    0 0 35px rgba(180, 145, 40, 0.1),
    0 0 80px rgba(160, 120, 30, 0.06),
    inset 0 0 25px rgba(212, 175, 55, 0.06);
}

/* Stagger delays */
.feature-card:nth-child(1) { transition-delay: 0s; }
.feature-card:nth-child(2) { transition-delay: 0.12s; }
.feature-card:nth-child(3) { transition-delay: 0.24s; }

.feature-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-6);
  background: rgba(212, 175, 55, 0.05);
  transition: background var(--transition-base), box-shadow var(--transition-base);
}
.feature-card:hover .feature-icon-wrap {
  background: rgba(212, 175, 55, 0.1);
  box-shadow: 0 0 24px rgba(212, 175, 55, 0.15);
}
.feature-icon-wrap svg {
  width: 26px;
  height: 26px;
  color: var(--gold);
}

.feature-card-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-3);
  color: var(--text-primary);
}

.feature-card-desc {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 0;
}

.features-cta {
  text-align: center;
  padding-top: var(--space-4);
}

/* ===== REQUEST / WAITLIST PAGE ===== */
.request-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 0 var(--space-12);
  position: relative;
}

.request-back {
  display: inline-block;
  color: var(--text-muted);
  font-size: var(--text-sm);
  text-decoration: none;
  margin-bottom: var(--space-6);
  transition: color var(--transition-fast);
}
.request-back:hover {
  color: var(--gold);
}

/* ===== WAITLIST FORM ===== */
.waitlist-section {
  padding: var(--space-12) 0;
  position: relative;
  scroll-margin-top: 80px;
}

.waitlist-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 600;
  text-align: center;
  color: var(--gold);
  margin-bottom: var(--space-3);
}

.waitlist-subtext {
  text-align: center;
  color: var(--text-secondary);
  font-size: var(--text-sm);
  line-height: 1.7;
  max-width: 480px;
  margin: 0 auto var(--space-8);
}

.waitlist-form {
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.waitlist-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.waitlist-field-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.waitlist-label {
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.03em;
}

.waitlist-required {
  color: var(--gold);
}

.waitlist-input,
.waitlist-textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--text-primary);
  background: rgba(15, 12, 6, 0.55);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.waitlist-input::placeholder,
.waitlist-textarea::placeholder {
  color: var(--text-muted);
}

.waitlist-input:focus,
.waitlist-textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.15);
}

.waitlist-textarea {
  resize: vertical;
  min-height: 80px;
}

.waitlist-submit {
  align-self: center;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.waitlist-spinner-dot {
  display: none;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(212, 175, 55, 0.3);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

.htmx-request .waitlist-spinner-dot,
.htmx-request.waitlist-spinner-dot {
  display: inline-block;
}

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

.waitlist-msg {
  text-align: center;
  padding: var(--space-4) var(--space-6);
  border-radius: 8px;
  font-size: var(--text-sm);
  margin-top: var(--space-2);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.waitlist-msg-success {
  color: var(--gold);
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.25);
}

.waitlist-msg-error {
  color: var(--status-error);
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.25);
}

/* ===== FOOTER ===== */
.landing-footer {
  padding: var(--space-8) 0;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.footer-logo {
  height: 30px;
  width: auto;
  opacity: 0.6;
}

.footer-wordmark {
  height: 30px;
  width: auto;
  opacity: 0.6;
}

.footer-legal {
  display: flex;
  gap: var(--space-6);
}

.footer-copy {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.footer-parent-link {
  color: var(--gold-dim);
  text-decoration: none;
}
.footer-parent-link:hover {
  color: var(--gold);
}

.footer-link {
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}
.footer-link:hover {
  color: var(--gold);
  border-color: var(--gold-dim);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .lens-ring-system {
    width: min(85vw, 420px);
    height: min(85vw, 420px);
  }
  .lens-tick {
    transform-origin: 0.5px calc(min(85vw, 420px) * 0.46);
  }
  .lens-tick.major {
    transform-origin: 0.75px calc(min(85vw, 420px) * 0.46);
  }
}

@media (max-width: 480px) {
  .lens-ring-system {
    width: min(90vw, 300px);
    height: min(90vw, 300px);
  }
  .lens-tick {
    transform-origin: 0.5px calc(min(90vw, 300px) * 0.46);
  }
  .lens-tick.major {
    transform-origin: 0.75px calc(min(90vw, 300px) * 0.46);
  }
}

@media (max-width: 680px) {
  .waitlist-fields {
    grid-template-columns: 1fr;
  }

  .landing-nav {
    padding: 0.75rem 1rem;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(10, 10, 11, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle);
    padding: var(--space-4) var(--space-6);
  }

  .landing-nav.nav-open .nav-links {
    display: flex;
  }

  .nav-link {
    padding: var(--space-3) 0;
    font-size: var(--text-base);
  }

  .btn-nav-cta {
    margin-top: var(--space-3);
    text-align: center;
    width: 100%;
    padding: 0.75rem 1.4rem;
  }

  .nav-mobile-toggle {
    display: flex;
  }

  /* Hamburger animation */
  .landing-nav.nav-open .nav-mobile-toggle span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .landing-nav.nav-open .nav-mobile-toggle span:nth-child(2) {
    opacity: 0;
  }
  .landing-nav.nav-open .nav-mobile-toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero {
    min-height: 90vh;
    padding: var(--space-16) var(--space-4) var(--space-8);
  }

  .hero-actions {
    flex-direction: column;
    gap: var(--space-4);
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-legal {
    justify-content: center;
  }
}

/* --- Legal pages (Privacy, Terms) --- */
.legal-page {
  padding: 8rem 0 4rem;
  min-height: 100vh;
}
.legal-inner {
  max-width: 720px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
  padding: var(--space-8) var(--space-8);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.legal-page h1 {
  font-size: var(--text-2xl);
  color: var(--gold);
  margin-bottom: var(--space-2);
}
.legal-page .legal-updated {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-bottom: var(--space-8);
}
.legal-page h2 {
  font-size: var(--text-lg);
  color: var(--text-primary);
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
}
.legal-page h3 {
  font-size: var(--text-base);
  color: var(--text-secondary);
  margin-top: var(--space-4);
  margin-bottom: var(--space-2);
}
.legal-page p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-3);
}
.legal-page ul {
  margin: 0 0 var(--space-3) var(--space-6);
  padding: 0;
}
.legal-page li {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-1);
}
.legal-page a {
  color: var(--gold);
  text-decoration: none;
}
.legal-page a:hover {
  text-decoration: underline;
}
