/* ============================================================
   Lumiq — Design System
   Longevity Labs | longevitylabs.shop
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

/* ── Design Tokens ── */
:root {
  --bg-deep:        #0A1628;
  --bg-card:        #0F1F3D;
  --bg-card-alt:    #0D1A35;
  --accent:         #C41E3A;
  --accent-dim:     rgba(196, 30, 58, 0.12);
  --accent-warm:    #E8450A;
  --accent-warm-dim:rgba(232, 69, 10, 0.10);
  --text-primary:   #F0F4FF;
  --text-muted:     #8B9DC3;
  --text-dark:      #F0F4FF;
  --success:        #2ECC71;
  --border:         rgba(240, 244, 255, 0.08);
  --border-accent:  rgba(196, 30, 58, 0.3);

  --font-head: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 40px rgba(0, 212, 170, 0.15);

  --max-w: 1200px;
  --section-py: 96px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Layout ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Typography ── */
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p  { color: var(--text-muted); line-height: 1.7; }
.mono { font-family: var(--font-mono); }

.section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  display: block;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--accent);
  color: var(--text-dark);
  box-shadow: 0 4px 20px rgba(196, 30, 58, 0.4);
}
.btn-primary:hover { box-shadow: 0 6px 28px rgba(196, 30, 58, 0.6); }

.btn-lg { font-size: 1.1rem; padding: 18px 40px; }

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-accent);
}
.btn-ghost:hover { background: var(--accent-dim); border-color: var(--accent); }

/* ── Nav ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}
.nav.scrolled {
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(12px);
  padding: 12px 0;
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo img { height: 32px; width: auto; }
.nav-cta { padding: 10px 20px; font-size: 0.9rem; }

/* ── Hero ── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: 20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(196,30,58,0.10) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: var(--section-py) 0;
}
.hero-copy { z-index: 1; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  border-radius: 100px;
  padding: 6px 14px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}
.hero-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero-title { margin-bottom: 20px; }
.hero-title span { color: var(--accent); }
.hero-sub {
  font-size: 1.1rem;
  margin-bottom: 36px;
  max-width: 480px;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.trust-badges {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.trust-badge svg { color: var(--success); flex-shrink: 0; }
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-glow), var(--shadow-card);
}
.hero-image-wrap img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}
.hero-image-placeholder {
  width: 100%;
  height: 480px;
  background: var(--bg-card);
  border: 2px dashed var(--border-accent);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

/* ── Problem Section ── */
#problem {
  padding: var(--section-py) 0;
  background: linear-gradient(135deg, #0F1A2E 0%, #1A0F0A 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.problem-inner { text-align: center; }
.problem-inner h2 { margin-bottom: 16px; }
.problem-inner > p { max-width: 560px; margin: 0 auto 56px; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-bottom: 56px;
  border: 1px solid rgba(245, 166, 35, 0.2);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.stat-item {
  padding: 36px 24px;
  background: var(--accent-warm-dim);
  text-align: center;
}
.stat-number {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  color: var(--accent-warm);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}
.pain-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pain-point {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent-warm);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: left;
}
.pain-point h4 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--text-primary);
}
.pain-point p { font-size: 0.9rem; }

/* ── Benefits ── */
#benefits {
  padding: var(--section-py) 0;
  background: var(--bg-card);
}
.benefits-header { text-align: center; margin-bottom: 56px; }
.benefits-header h2 { margin-bottom: 16px; }
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.benefit-card {
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.benefit-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
}
.benefit-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-dim);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
}
.benefit-card h3 { margin-bottom: 12px; }
.benefit-card p { font-size: 0.95rem; margin-bottom: 16px; }
.benefit-stat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 4px 10px;
  border-radius: 100px;
}

/* ── How It Works ── */
#how-it-works {
  padding: var(--section-py) 0;
}
.how-header { text-align: center; margin-bottom: 56px; }
.how-header h2 { margin-bottom: 16px; }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(16.666% + 24px);
  right: calc(16.666% + 24px);
  height: 1px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent) 50%, transparent 100%);
  opacity: 0.3;
}
.step {
  padding: 0 24px;
  text-align: center;
}
.step-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 2px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--accent);
  margin: 0 auto 24px;
  position: relative;
  z-index: 1;
}
.step h3 { margin-bottom: 12px; }
.step p { font-size: 0.95rem; }
.step-detail {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  margin-top: 12px;
}

/* ── Product Photos ── */
#product-photos {
  padding: var(--section-py) 0;
  background: var(--bg-card);
}
.photos-header { text-align: center; margin-bottom: 40px; }
.photos-header h2 { margin-bottom: 16px; }
.photos-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  height: 520px;
}
.photo-main {
  grid-row: 1 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.photo-sub {
  border-radius: var(--radius-md);
  overflow: hidden;
}
.photo-main img,
.photo-sub img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.photos-grid > div:nth-child(3) img { object-position: 50% 10%; }
.photo-main:hover img,
.photo-sub:hover img { transform: scale(1.02); }
.photo-placeholder {
  width: 100%;
  height: 100%;
  background: var(--bg-card-alt);
  border: 2px dashed var(--border);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

/* ── Reviews ── */
#reviews {
  padding: var(--section-py) 0;
}
.reviews-header { text-align: center; margin-bottom: 48px; }
.reviews-header h2 { margin-bottom: 16px; }
.reviews-scroll {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 16px;
  scrollbar-width: thin;
  scrollbar-color: var(--border-accent) transparent;
}
.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  min-width: 260px;
  transition: border-color 0.2s ease;
}
.review-card:hover { border-color: var(--border-accent); }
.review-stars {
  display: flex;
  gap: 3px;
  color: var(--accent-warm);
  margin-bottom: 14px;
}
.review-text {
  font-size: 0.9rem;
  color: var(--text-primary);
  line-height: 1.6;
  margin-bottom: 16px;
}
.reviewer {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.reviewer-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
}
.reviewer-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.reviewer-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 2px 8px;
  border-radius: 100px;
  margin-top: 8px;
  width: fit-content;
}

/* ── Science ── */
#science {
  padding: var(--section-py) 0;
  background: var(--bg-card);
}
.science-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  align-items: start;
}
.science-sidebar { position: sticky; top: 100px; }
.science-sidebar h2 { margin-bottom: 16px; }
.science-claim {
  margin-top: 24px;
  padding: 16px 20px;
  background: var(--accent-dim);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  font-size: 0.9rem;
  color: var(--text-primary);
}
.science-articles { display: flex; flex-direction: column; gap: 32px; }
.science-article {}
.science-article h4 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-primary);
}
.science-article p { font-size: 0.95rem; margin-bottom: 10px; }
.science-cite {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  transition: opacity 0.15s;
}
.science-cite:hover { opacity: 0.8; }

/* ── FAQ ── */
#faq {
  padding: var(--section-py) 0;
}
.faq-header { text-align: center; margin-bottom: 56px; }
.faq-header h2 { margin-bottom: 16px; }
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.faq-item.open { border-color: var(--border-accent); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-question:hover { color: var(--accent); }
.faq-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--accent);
  transition: transform 0.25s ease;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.25s ease;
}
.faq-item.open .faq-answer { grid-template-rows: 1fr; }
.faq-answer-inner {
  overflow: hidden;
  padding: 0 24px;
}
.faq-item.open .faq-answer-inner { padding-bottom: 20px; }
.faq-answer-inner p { font-size: 0.95rem; }

/* ── Guarantee + CTA ── */
#guarantee {
  padding: var(--section-py) 0;
  background: var(--bg-card);
  border-top: 3px solid var(--accent);
}
.guarantee-inner { text-align: center; max-width: 680px; margin: 0 auto; }
.guarantee-badge {
  width: 80px;
  height: 80px;
  background: var(--accent-dim);
  border: 2px solid var(--border-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--success);
}
.guarantee-inner h2 { margin-bottom: 16px; }
.guarantee-inner > p { max-width: 520px; margin: 0 auto 48px; }
.price-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 28px;
}
.price-original {
  font-size: 1.4rem;
  color: var(--text-muted);
  text-decoration: line-through;
  font-family: var(--font-head);
}
.price-current {
  font-size: 2.5rem;
  font-weight: 700;
  font-family: var(--font-head);
  color: var(--text-primary);
}
.cta-shipping {
  font-size: 0.9rem;
  color: var(--success);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.cta-wrap { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.cta-security {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.card-logos {
  display: flex;
  gap: 6px;
  align-items: center;
}
.card-logo {
  height: 20px;
  background: var(--bg-card-alt);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 0 6px;
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* ── Footer ── */
footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copy { font-size: 0.85rem; color: var(--text-muted); }
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color 0.15s ease;
}
.footer-links a:hover { color: var(--text-primary); }

/* ── Lumiq Mode overlay ── */
#lumiq-overlay {
  position: fixed;
  inset: 0;
  background: rgb(255 0 0);
  pointer-events: none;
  z-index: 9000;
  opacity: 0;
  transition: opacity 0.5s ease;
  mix-blend-mode: multiply;
}
#lumiq-overlay.active { opacity: 1; }

/* ── Lumiq Mode floating button ── */
#lumiq-toggle {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9001;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  background: var(--bg-card);
  border: 1.5px solid var(--accent);
  border-radius: 100px;
  color: var(--text-primary);
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 24px rgba(0,0,0,0.4), 0 0 0 4px rgba(196,30,58,0.15);
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.15s ease;
  white-space: nowrap;
}
#lumiq-toggle:hover {
  transform: translateY(-2px);
  background: var(--bg-card-alt);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5), 0 0 0 4px rgba(196,30,58,0.25);
}
#lumiq-toggle.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 4px 24px rgba(196,30,58,0.5), 0 0 32px rgba(196,30,58,0.2);
}
.lumiq-btn-icon svg { display: block; }

@media (max-width: 480px) {
  #lumiq-toggle {
    bottom: 20px;
    right: 16px;
    left: 16px;
    justify-content: center;
  }
}

/* ── Utility: Reveal on scroll ── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Mobile Responsive ── */
@media (max-width: 1024px) {
  :root { --section-py: 72px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .hero-image-wrap img, .hero-image-placeholder { height: 360px; }
  .science-inner { grid-template-columns: 1fr; gap: 40px; }
  .science-sidebar { position: static; }
  .photo-main img { object-position: 50% 20%; }
}

@media (max-width: 768px) {
  :root { --section-py: 56px; }
  .stats-grid { grid-template-columns: 1fr; }
  .pain-points { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; gap: 40px; }
  .steps-grid::before { display: none; }
  .photos-grid { grid-template-columns: 1fr; height: auto; }
  .photo-main { grid-row: auto; }
  .photo-main img, .photo-sub img { height: 260px; }
  .photo-placeholder { height: 200px; }
  .reviews-scroll { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { text-align: center; justify-content: center; }
}

@media (max-width: 480px) {
  .reviews-scroll { grid-template-columns: 1fr; overflow-x: visible; }
  .trust-badges { flex-direction: column; gap: 12px; }
  .price-display { flex-direction: column; gap: 8px; }
}

/* ── Hide reviews until real reviews collected ── */
#reviews { display: none; }

/* ── Thank You page ── */
.ty-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
}
.ty-card {
  max-width: 560px;
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
}
.ty-icon {
  width: 72px;
  height: 72px;
  background: rgba(46, 204, 113, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  color: var(--success);
}
.ty-card h1 { font-size: 1.8rem; margin-bottom: 16px; }
.ty-card p { margin-bottom: 0; }
.ty-steps {
  background: var(--bg-deep);
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 32px 0;
  text-align: left;
}
.ty-steps h3 { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 16px; font-family: var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; }
.ty-step { display: flex; gap: 12px; margin-bottom: 14px; }
.ty-step:last-child { margin-bottom: 0; }
.ty-step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}
.ty-step-text { font-size: 0.9rem; color: var(--text-muted); }
.ty-back { display: inline-block; margin-top: 8px; color: var(--accent); font-size: 0.9rem; }
.ty-back:hover { opacity: 0.8; }

/* ── Privacy page ── */
.policy-wrap { max-width: 720px; margin: 0 auto; padding: 120px 24px 80px; }
.policy-wrap h1 { margin-bottom: 8px; }
.policy-date { font-family: var(--font-mono); font-size: 0.8rem; color: var(--text-muted); margin-bottom: 48px; }
.policy-wrap h2 { font-size: 1.2rem; margin: 36px 0 12px; color: var(--text-primary); }
.policy-wrap p, .policy-wrap li { font-size: 0.95rem; color: var(--text-muted); line-height: 1.8; }
.policy-wrap ul { padding-left: 20px; list-style: disc; margin-bottom: 16px; }
.policy-wrap a { color: var(--accent); }
.policy-wrap a:hover { opacity: 0.8; }
.back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-size: 0.9rem; margin-bottom: 40px; }
.policy-footer { margin-top: 48px; font-size: 0.85rem; }

/* ── Lightbox ── */
#lightbox {
  padding: 0;
  background: transparent;
  border: none;
  max-width: 100vw;
  max-height: 100vh;
  width: 100%;
  height: 100%;
}
#lightbox::backdrop {
  background: rgba(0, 0, 0, 0.92);
}
.lightbox-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  position: relative;
}
#lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 64px rgba(0, 0, 0, 0.8);
}
#lightbox-close {
  position: fixed;
  top: 20px;
  right: 24px;
  background: rgba(15, 31, 61, 0.8);
  border: 1px solid var(--border);
  color: var(--text-primary);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background 0.15s ease;
  z-index: 10;
}
#lightbox-close:hover { background: var(--accent); border-color: var(--accent); }

/* Thumbnails in gallery are clickable */
.lightbox-trigger { cursor: zoom-in; }
.lightbox-trigger img { transition: transform 0.2s ease; }
.lightbox-trigger:hover img { transform: scale(1.02); }
