/* AIxLove Official Portal & Compliance Design System
 * French Cream & Heartbeat Romance Aesthetic (Light & Dark)
 * Zero external dependencies.
 */

:root {
  --bg-page: #FFF9F5;
  --bg-surface: #FFFFFF;
  --bg-surface-soft: #FFF2EB;
  --bg-lavender-soft: #F5F0FF;
  --bg-nav: rgba(255, 249, 245, 0.88);
  --bg-polaroid: #FFFCFA;
  --text-primary: #2D1E26;
  --text-secondary: #6E5663;
  --text-muted: #9C8390;
  --rose: #F43F5E;
  --rose-hover: #E11D48;
  --rose-soft: rgba(244, 63, 94, 0.10);
  --lavender: #9D7FEA;
  --lavender-soft: rgba(157, 127, 234, 0.13);
  --emerald: #10B981;
  --emerald-soft: rgba(16, 185, 129, 0.12);
  --amber: #D97706;
  --amber-soft: rgba(217, 119, 6, 0.11);
  --border-soft: rgba(244, 63, 94, 0.14);
  --border-card: rgba(45, 30, 38, 0.08);
  --shadow-soft: 0 20px 50px -18px rgba(155, 75, 98, 0.16);
  --shadow-card: 0 12px 32px -12px rgba(45, 30, 38, 0.09);
  --shadow-polaroid: 0 22px 46px -14px rgba(120, 52, 74, 0.18), 0 4px 14px -4px rgba(45, 30, 38, 0.06);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-pill: 9999px;
  --ease-spring: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-bounce: cubic-bezier(0.34, 1.4, 0.64, 1);
}

html[data-theme="dark"] {
  --bg-page: #181116;
  --bg-surface: #231920;
  --bg-surface-soft: #2C1F27;
  --bg-lavender-soft: #282035;
  --bg-nav: rgba(24, 17, 22, 0.88);
  --bg-polaroid: #271C23;
  --text-primary: #FDF4F6;
  --text-secondary: #D7C2CA;
  --text-muted: #A18894;
  --rose: #FB7185;
  --rose-hover: #F43F5E;
  --rose-soft: rgba(251, 113, 133, 0.16);
  --lavender: #B79DF7;
  --lavender-soft: rgba(183, 157, 247, 0.16);
  --emerald: #34D399;
  --emerald-soft: rgba(52, 211, 153, 0.15);
  --amber: #FBBF24;
  --amber-soft: rgba(251, 191, 36, 0.15);
  --border-soft: rgba(251, 113, 133, 0.22);
  --border-card: rgba(255, 240, 245, 0.10);
  --shadow-soft: 0 22px 52px -18px rgba(0, 0, 0, 0.58);
  --shadow-card: 0 12px 32px -12px rgba(0, 0, 0, 0.45);
  --shadow-polaroid: 0 24px 54px -14px rgba(0, 0, 0, 0.62), 0 4px 16px -4px rgba(0, 0, 0, 0.35);
}

/* Language Toggle Visibility */
html[data-lang="zh"] .i18n-en { display: none !important; }
html[data-lang="en"] .i18n-zh { display: none !important; }

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.25s ease, color 0.25s ease;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

button { font-family: inherit; }

.ambient-backdrop { position: fixed; inset: 0; pointer-events: none; z-index: -1; overflow: hidden; }

.ambient-orb { position: absolute; border-radius: 50%; filter: blur(84px); opacity: 0.46; }

.ambient-orb.rose { width: 480px; height: 480px; top: -150px; right: -90px; background: radial-gradient(circle, rgba(244, 63, 94, 0.20) 0%, transparent 70%); }

.ambient-orb.lavender { width: 440px; height: 440px; top: 260px; left: -150px; background: radial-gradient(circle, rgba(157, 127, 234, 0.20) 0%, transparent 70%); }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* Header / Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: var(--bg-nav);
  border-bottom: 1px solid var(--border-card);
}

.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.brand-logo { width: 40px; height: 40px; border-radius: 13px; object-fit: cover; box-shadow: 0 6px 18px rgba(244, 63, 94, 0.22); }

.brand-sub { font-size: 12px; font-weight: 500; color: var(--text-muted); display: block; line-height: 1.2; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
}

.nav-links a { transition: color 0.18s ease; }

.nav-links a:hover,
.nav-links a.active { color: var(--rose); }

.nav-controls { display: flex; align-items: center; gap: 10px; }

.pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-card);
  background: var(--bg-surface);
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.pill-btn:hover { transform: translateY(-1px); border-color: var(--rose); }

/* ============================================================
 * HERO SECTION — First Screen Fit (1440x900 & Mobile)
 * Left: Dual-Heart Pulse Badge + Editorial Copy + 3-Store Matrix
 * Right: French Polaroid Tilted Photo Duo
 * ============================================================ */
.hero { padding: 32px 0 38px; }

.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 38px; align-items: center; }

.hero-copy { display: flex; flex-direction: column; align-items: flex-start; }

/* Dual Heart Pulse Badge */
.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 12px;
  border-radius: var(--radius-pill);
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  box-shadow: 0 6px 20px -8px rgba(244, 63, 94, 0.22);
  color: var(--rose);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}

.dual-heart-pulse {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 22px;
}

.dual-heart-pulse .heart-back {
  position: absolute;
  right: 0;
  top: 1px;
  color: var(--lavender);
  opacity: 0.85;
  animation: heartPulseBack 2.4s ease-in-out infinite;
}

.dual-heart-pulse .heart-front { position: relative; left: -3px; top: 1px; color: var(--rose); animation: heartPulseFront 2.4s ease-in-out infinite; }

@keyframes heartPulseFront {
  0%, 100% { transform: scale(1); }
  22% { transform: scale(1.18); }
  40% { transform: scale(1); }
  58% { transform: scale(1.12); }
  78% { transform: scale(1); }
}

@keyframes heartPulseBack {
  0%, 100% { transform: scale(0.95) rotate(10deg); opacity: 0.72; }
  30% { transform: scale(1.15) rotate(14deg); opacity: 1; }
  65% { transform: scale(0.95) rotate(10deg); opacity: 0.72; }
}

.hero-title { margin: 0 0 14px; font-size: clamp(32px, 4.1vw, 52px); line-height: 1.14; letter-spacing: -0.03em; font-weight: 800; }

.hero-title .accent { color: var(--rose); }

.hero-title .accent-lavender { color: var(--lavender); }

.hero-desc { margin: 0 0 22px; font-size: 16px; line-height: 1.65; color: var(--text-secondary); max-width: 540px; }

/* First-Screen 3-Platform Download Matrix: 1 Tactile Rose Hero Button + 2 Pearl Tactile Pills */
.hero-store-group { width: 100%; max-width: 560px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

.store-pill {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  padding: 13px 15px;
  border-radius: 22px;
  border: 1px solid var(--border-card);
  background: var(--bg-surface);
  box-shadow: 0 5px 0 rgba(157, 127, 234, 0.16), 0 12px 26px -10px rgba(45, 30, 38, 0.10);
  transition: transform 0.25s var(--ease-bounce), box-shadow 0.25s ease, border-color 0.2s ease;
  text-align: left;
}

.store-pill.store-live {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 18px;
  border-radius: 24px;
  background: linear-gradient(135deg, #FB7185 0%, #F43F5E 55%, #E11D48 100%);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #FFFFFF;
  box-shadow: 0 6px 0 #BE123C, 0 16px 34px -8px rgba(244, 63, 94, 0.52);
  animation: heartGlowRipple 2.8s ease-in-out infinite;
}

.store-pill.store-live::after {
  content: "";
  position: absolute;
  top: -20%;
  left: -45%;
  width: 38%;
  height: 140%;
  background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.34) 50%, transparent 100%);
  transform: skewX(-18deg);
  pointer-events: none;
  animation: shimmerSweep 3.8s ease-in-out infinite;
}

@keyframes shimmerSweep {
  0%, 58% { left: -45%; opacity: 0; }
  68% { opacity: 1; }
  100% { left: 135%; opacity: 0; }
}

@keyframes heartGlowRipple {
  0%, 100% { box-shadow: 0 6px 0 #BE123C, 0 16px 34px -8px rgba(244, 63, 94, 0.48), 0 0 0 0 rgba(244, 63, 94, 0.34); }
  50% { box-shadow: 0 6px 0 #BE123C, 0 18px 38px -6px rgba(244, 63, 94, 0.60), 0 0 0 10px rgba(244, 63, 94, 0); }
}

.store-pill.store-live:hover { transform: translateY(-3px); box-shadow: 0 8px 0 #BE123C, 0 22px 42px -8px rgba(244, 63, 94, 0.62); }
.store-pill.store-live:active { transform: translateY(3px); box-shadow: 0 3px 0 #BE123C, 0 10px 22px -8px rgba(244, 63, 94, 0.45); }

.store-live-left { display: flex; align-items: center; gap: 13px; min-width: 0; }

.store-live-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

.store-pill.store-soon { background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-surface-soft) 100%); border: 1px solid rgba(157, 127, 234, 0.24); color: var(--text-primary); cursor: default; }

.store-pill.store-soon.store-harmony { border-color: rgba(244, 63, 94, 0.20); box-shadow: 0 5px 0 rgba(244, 63, 94, 0.14), 0 12px 26px -10px rgba(45, 30, 38, 0.08); }

.store-pill.store-soon:hover { transform: translateY(-2px); border-color: var(--lavender); }

.store-pill-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }

.store-pill-icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.store-live .store-pill-icon { width: 42px; height: 42px; border-radius: 14px; background: rgba(255, 255, 255, 0.22); color: #FFFFFF; }
.store-soon .store-pill-icon { background: var(--lavender-soft); color: var(--lavender); }
.store-soon.store-harmony .store-pill-icon { background: var(--rose-soft); color: var(--rose); }

.store-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
}

.store-soon .store-tag { background: var(--bg-lavender-soft); color: var(--lavender); border: 1px solid rgba(157, 127, 234, 0.20); }
.store-soon.store-harmony .store-tag { background: var(--rose-soft); color: var(--rose); border-color: rgba(244, 63, 94, 0.18); }

.dot-live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6EE7B7;
  box-shadow: 0 0 0 3px rgba(110, 231, 183, 0.30);
  flex-shrink: 0;
}

.store-pill-body { display: flex; flex-direction: column; gap: 2px; }
.store-pill-name { font-size: 15px; font-weight: 800; line-height: 1.25; white-space: nowrap; }
.store-live .store-pill-name { font-size: 16.5px; }
.store-pill-sub { font-size: 12px; line-height: 1.3; opacity: 0.92; }
.store-soon .store-pill-sub { color: var(--text-secondary); opacity: 1; }

/* Hero Right: French Polaroid Album Duo */
.polaroid-stage { position: relative; height: 490px; display: flex; align-items: center; justify-content: center; }

.polaroid-halo {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--rose-soft) 0%, var(--lavender-soft) 55%, transparent 75%);
  filter: blur(22px);
  pointer-events: none;
}

.polaroid-card {
  position: absolute;
  width: 248px;
  padding: 12px 12px 18px;
  background: var(--bg-polaroid);
  border: 1px solid var(--border-card);
  border-radius: 24px;
  box-shadow: var(--shadow-polaroid);
  transition: transform 0.55s var(--ease-bounce), box-shadow 0.45s ease, z-index 0s;
  cursor: pointer;
}

.polaroid-tape {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  width: 72px;
  height: 22px;
  border-radius: 6px;
  background: rgba(244, 63, 94, 0.16);
  border: 1px solid rgba(244, 63, 94, 0.14);
  backdrop-filter: blur(4px);
  pointer-events: none;
}

.polaroid-card.polaroid-right .polaroid-tape { background: rgba(157, 127, 234, 0.20); border-color: rgba(157, 127, 234, 0.18); transform: translateX(-50%) rotate(4deg); }

.polaroid-card.polaroid-left { left: 16px; top: 24px; transform: rotate(-6deg); z-index: 3; }

.polaroid-card.polaroid-right { right: 14px; bottom: 18px; transform: rotate(6.5deg); z-index: 2; }

.polaroid-card:hover { transform: rotate(0deg) scale(1.05) translateY(-10px); z-index: 10; box-shadow: 0 30px 64px -16px rgba(244, 63, 94, 0.28); }

.polaroid-photo { width: 100%; aspect-ratio: 9 / 17.5; border-radius: 16px; overflow: hidden; background: var(--bg-surface-soft); }

.polaroid-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }

.polaroid-note {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 4px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-secondary);
}

.polaroid-heart { color: var(--rose); font-size: 13px; }

/* ============================================================
 * SECTIONS COMMON
 * ============================================================ */
.section { padding: 64px 0; }

.section-header { text-align: center; max-width: 660px; margin: 0 auto 42px; }

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lavender);
  background: var(--lavender-soft);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

.section-title { margin: 0 0 12px; font-size: clamp(26px, 3vw, 38px); line-height: 1.22; letter-spacing: -0.02em; }

.section-subtitle { margin: 0; font-size: 15.5px; color: var(--text-secondary); }

/* ============================================================
 * INTERACTIVE HEARTBEAT CARD STACK (4 Screenshots)
 * ============================================================ */
.stack-showcase {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 44px;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: 36px;
  padding: 42px;
  box-shadow: var(--shadow-soft);
}

.stack-info-panel { display: flex; flex-direction: column; gap: 18px; }

.stack-step-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--rose-soft);
  color: var(--rose);
  font-size: 13px;
  font-weight: 700;
}

.stack-caption-title { margin: 0; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.28; letter-spacing: -0.02em; }

.stack-caption-desc { margin: 0; font-size: 15.5px; color: var(--text-secondary); min-height: 54px; }

.stack-controls-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; }

.stack-nav-buttons { display: flex; align-items: center; gap: 12px; }

.stack-arrow-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border-soft);
  background: var(--bg-surface-soft);
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.25s var(--ease-bounce), background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.stack-arrow-btn:hover { background: var(--rose); border-color: var(--rose); color: #FFFFFF; transform: scale(1.07); }

.stack-arrow-btn:active { transform: scale(0.95); }

.stack-dots { display: flex; align-items: center; gap: 8px; }

.stack-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-pill);
  border: none;
  padding: 0;
  background: var(--border-card);
  cursor: pointer;
  transition: width 0.35s var(--ease-spring), background-color 0.25s ease;
}

.stack-dot.is-active { width: 28px; background: var(--rose); }

/* Card Stack Stage */
.card-stack-stage {
  position: relative;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
  user-select: none;
  touch-action: pan-y;
}

.stack-card {
  position: absolute;
  width: 266px;
  padding: 12px 12px 14px;
  border-radius: 28px;
  background: var(--bg-polaroid);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-polaroid);
  transition:
    transform 0.58s var(--ease-bounce),
    opacity 0.45s ease,
    filter 0.45s ease;
  cursor: pointer;
  will-change: transform, opacity;
}

.stack-card-frame { width: 100%; aspect-ratio: 9 / 18.5; border-radius: 20px; overflow: hidden; background: var(--bg-surface-soft); }

.stack-card-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  pointer-events: none;
}

.stack-card-footer {
  margin-top: 10px;
  padding: 0 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-secondary);
}

/* Stack positions managed by JS via data-pos="0|1|2|3" */
.stack-card[data-pos="0"] { z-index: 4; opacity: 1; transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }

.stack-card[data-pos="1"] { z-index: 3; opacity: 0.92; transform: translate3d(54px, 14px, -40px) rotate(6deg) scale(0.93); }

.stack-card[data-pos="2"] { z-index: 2; opacity: 0.72; transform: translate3d(96px, 28px, -80px) rotate(11deg) scale(0.86); }

.stack-card[data-pos="3"] { z-index: 1; opacity: 0.48; transform: translate3d(-46px, 18px, -90px) rotate(-7deg) scale(0.86); }

.stack-card[data-pos="0"]:hover { transform: translate3d(0, -6px, 0) rotate(0deg) scale(1.015); }

/* ============================================================
 * FEATURES GRID (Organic Cards)
 * ============================================================ */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s var(--ease-spring), border-color 0.25s ease;
}

.feature-card:hover { transform: translateY(-4px); border-color: var(--border-soft); }

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--rose-soft);
  color: var(--rose);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.feature-card:nth-child(2) .feature-icon { background: var(--lavender-soft); color: var(--lavender); }

.feature-card:nth-child(3) .feature-icon { background: var(--emerald-soft); color: var(--emerald); }

.feature-card h3 { margin: 0 0 8px; font-size: 18px; }

.feature-card p { margin: 0; font-size: 14.5px; color: var(--text-secondary); }

/* ============================================================
 * FAQ ACCORDION
 * ============================================================ */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: 24px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: border-color 0.25s ease;
}

.faq-item.is-open { border-color: var(--border-soft); }

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.faq-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bg-surface-soft);
  color: var(--rose);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.35s var(--ease-spring), background-color 0.2s ease, color 0.2s ease;
}

.faq-item.is-open .faq-icon { transform: rotate(45deg); background: var(--rose); color: #FFFFFF; }

.faq-panel { max-height: 0; overflow: hidden; transition: max-height 0.38s var(--ease-spring), opacity 0.3s ease; opacity: 0; }

.faq-item.is-open .faq-panel { opacity: 1; }

.faq-answer { padding: 0 24px 22px; margin: 0; font-size: 14.8px; color: var(--text-secondary); line-height: 1.7; }

/* ============================================================
 * COMPLIANCE / LEGAL PAGES (Shared with privacy/terms/support)
 * ============================================================ */
.legal-wrapper { padding: 48px 0 72px; }

.legal-card {
  max-width: 860px;
  margin: 0 auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 42px;
  box-shadow: var(--shadow-soft);
}

.legal-card h1 { margin: 0 0 10px; font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.02em; }

.legal-meta { font-size: 13px; color: var(--text-muted); margin-bottom: 28px; padding-bottom: 18px; border-bottom: 1px solid var(--border-card); }

.legal-card h2 { margin: 28px 0 10px; font-size: 19px; color: var(--rose); }

.legal-card p, .legal-card li { color: var(--text-secondary); font-size: 15px; }

.legal-card ul, .legal-card ol { padding-left: 20px; }

.highlight-box { background: var(--bg-surface-soft); border: 1px solid var(--border-soft); border-radius: var(--radius-md); padding: 18px 20px; margin: 18px 0; }

.highlight-box.lavender { background: var(--bg-lavender-soft); border-color: var(--lavender-soft); }

/* Footer */
.site-footer { border-top: 1px solid var(--border-card); padding: 34px 0 42px; margin-top: 24px; }

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 14px;
  color: var(--text-muted);
}

.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }

.footer-links a:hover { color: var(--rose); }

/* ============================================================
 * RESPONSIVE BREAKPOINTS
 * ============================================================ */
@media (max-width: 1024px) {
  .hero { min-height: auto; padding: 32px 0 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .stack-showcase { grid-template-columns: 1fr; padding: 28px 22px; gap: 28px; }
  .features-grid { grid-template-columns: 1fr; }
  .polaroid-stage { height: 430px; }
  .polaroid-card { width: 215px; }
  .polaroid-card.polaroid-left { left: calc(50% - 210px); }
  .polaroid-card.polaroid-right { right: calc(50% - 210px); }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .hero { padding: 18px 0 28px; }
  .eyebrow-badge { margin-bottom: 12px; font-size: 12px; }
  .hero-title { font-size: 29px; margin-bottom: 10px; }
  .hero-desc { font-size: 14.5px; margin-bottom: 16px; }
  .hero-store-group { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .store-pill { padding: 11px 12px; border-radius: 18px; }
  .store-pill.store-live { padding: 12px 14px; gap: 10px; flex-wrap: wrap; }
  .store-live .store-pill-icon { width: 36px; height: 36px; }
  .store-live .store-pill-name { font-size: 14.5px; }
  .store-live-cta { padding: 6px 11px; font-size: 12px; }
  .store-pill-name { font-size: 13.5px; }
  .polaroid-stage { height: 360px; }
  .polaroid-card { width: 176px; padding: 9px 9px 14px; border-radius: 20px; }
  .polaroid-card.polaroid-left { left: calc(50% - 172px); top: 16px; }
  .polaroid-card.polaroid-right { right: calc(50% - 172px); bottom: 12px; }
  .card-stack-stage { height: 430px; }
  .stack-card { width: 215px; }
  .stack-card[data-pos="1"] { transform: translate3d(34px, 12px, -40px) rotate(6deg) scale(0.92); }
  .stack-card[data-pos="2"] { transform: translate3d(58px, 22px, -80px) rotate(10deg) scale(0.85); }
  .stack-card[data-pos="3"] { transform: translate3d(-30px, 14px, -90px) rotate(-6deg) scale(0.85); }
  .legal-card { padding: 24px 20px; }
}
