/* ============================================
   MIRACLEY — LAYOUT & COMPONENTS (v2, light)
   ============================================ */

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: background var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out), padding var(--dur-base) var(--ease-out), box-shadow var(--dur-base);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(250, 248, 254, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--ink-hair);
  padding: 14px 0;
  box-shadow: 0 1px 0 rgba(255,255,255,0.6);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; }

.logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}
.logo-mark-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  flex-shrink: 0;
}

.nav-links { display: flex; align-items: center; gap: var(--space-lg); font-size: 14px; color: var(--ink-soft); font-weight: 500; }
.nav-links a { transition: color var(--dur-fast); }
.nav-links a:hover { color: var(--ink); }

.header-actions { display: flex; align-items: center; gap: var(--space-md); }
.nav-toggle { display: none; font-size: 20px; padding: 6px; color: var(--ink); }

@media (max-width: 720px) {
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: rgba(250, 248, 254, 0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--ink-hair);
    padding: var(--space-sm) var(--space-md) var(--space-md);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--ink-hair); }
  .nav-links a:last-child { border-bottom: none; }
  .nav-toggle { display: block; }
  .header-actions .btn-primary { padding: 11px 20px; font-size: 13px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: 120px 0 var(--space-xl); text-align: center; overflow: hidden; }
.hero-inner { position: relative; z-index: 2; }
.hero-eyebrow { display: inline-flex; margin: 0 auto var(--space-md); justify-content: center; }

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6.2vw, 74px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
  max-width: 940px;
  margin: 0 auto var(--space-md);
  color: var(--ink);
}
.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--violet-deep);
  position: relative;
}

.hero-sub {
  max-width: 560px;
  margin: 0 auto var(--space-lg);
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.65;
}

.hero-ctas { display: flex; align-items: center; justify-content: center; gap: var(--space-sm); margin-bottom: var(--space-md); flex-wrap: wrap; }
.hero-meta { font-size: 12.5px; color: var(--ink-faint); letter-spacing: 0.02em; margin-top: var(--space-sm); margin-bottom: var(--space-xl); }

.hero-banner { max-width: 100%; margin: 0 auto; position: relative; }
.hero-banner-glow {
  position: absolute; inset: -80px;
  background: radial-gradient(closest-side, var(--violet-glow), transparent 70%);
  opacity: 0.55; filter: blur(60px); z-index: -1;
}

/* ---------- App mockup visual (replaces empty photo placeholders) ---------- */
.app-mockup { width: 100%; height: 100%; display: block; }
.app-mockup .mockup-bar { fill: var(--ink-hair); }
.app-mockup .mockup-glow-ring { fill: none; stroke: var(--violet); stroke-opacity: 0.18; }
.app-mockup .mockup-orb-core { fill: url(#mockupOrbGradient); }
.app-mockup .mockup-text-line { fill: var(--ink-hair); }
.app-mockup .mockup-pill { fill: var(--violet); }
.app-mockup .mockup-pill-text { fill: #fff; font-family: var(--font-body); font-weight: 700; }
.app-mockup .mockup-dot { fill: var(--clay); }

/* ---------- Section shell ---------- */
.section { padding: var(--space-xl) 0; position: relative; overflow: hidden; }
.section-slim { padding: var(--space-md) 0; }
.section-head { text-align: center; margin-bottom: var(--space-lg); }
.section-head .eyebrow { justify-content: center; margin-bottom: var(--space-md); }
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 500;
  line-height: 1.15;
  max-width: 660px;
  margin: 0 auto var(--space-sm);
  color: var(--ink);
}
.section-head p { max-width: 480px; margin: 0 auto; color: var(--ink-soft); font-size: 16px; }

.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--ink-hair), transparent); width: 100%; }

/* ---------- Philosophy ---------- */
.philosophy-quote {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 400;
  line-height: 1.4;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
  color: var(--ink);
}
.philosophy-quote em { font-style: italic; color: var(--clay); }

/* ---------- Ritual steps ---------- */
.ritual-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md); }
@media (max-width: 860px) { .ritual-grid { grid-template-columns: 1fr; } }

.ritual-card { padding: var(--space-lg) var(--space-md); position: relative; transition: background var(--dur-fast), transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base); }
.ritual-card:hover { transform: translateY(-4px); background: var(--glass-fill-hover); }
.ritual-num { font-family: var(--font-display); font-style: italic; font-size: 15px; color: var(--clay); margin-bottom: var(--space-md); display: block; }
.ritual-card h3 { font-family: var(--font-display); font-size: 23px; font-weight: 500; margin-bottom: 10px; color: var(--ink); }
.ritual-card p { color: var(--ink-soft); font-size: 14.5px; line-height: 1.65; }

/* ---------- Feature grid ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-sm); }
@media (max-width: 860px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }

.feature-card { padding: var(--space-md); transition: background var(--dur-fast), transform var(--dur-base) var(--ease-out); }
.feature-card:hover { background: var(--glass-fill-hover); transform: translateY(-3px); }
.feature-icon {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--violet-soft);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-sm);
  color: var(--violet-deep);
  font-size: 17px;
}
.feature-card h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 8px; color: var(--ink); }
.feature-card p { color: var(--ink-soft); font-size: 14px; line-height: 1.6; }

/* ---------- Showcase ---------- */
.showcase { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: var(--space-xl); align-items: center; }
.showcase .showcase-text { grid-column: 1; }
.showcase .showcase-photo { grid-column: 2; }
.showcase.reverse { grid-template-columns: 1.15fr 0.85fr; }
.showcase.reverse .showcase-text { grid-column: 2; }
.showcase.reverse .showcase-photo { grid-column: 1; }
@media (max-width: 860px) {
  .showcase, .showcase.reverse { grid-template-columns: 1fr; }
  .showcase .showcase-text, .showcase .showcase-photo,
  .showcase.reverse .showcase-text, .showcase.reverse .showcase-photo { grid-column: 1; }
  .showcase .showcase-photo { order: 1; }
  .showcase .showcase-text { order: 2; }
}
.showcase-text .eyebrow { margin-bottom: var(--space-md); }
.showcase-text h2 { font-family: var(--font-display); font-size: clamp(28px, 3.6vw, 40px); font-weight: 500; line-height: 1.16; margin-bottom: var(--space-sm); color: var(--ink); }
.showcase-text p { color: var(--ink-soft); font-size: 16px; margin-bottom: var(--space-md); }
.showcase-photo .container-photo { aspect-ratio: 4/4.6; }

.check-list { display: flex; flex-direction: column; gap: 14px; }
.check-list li { display: flex; align-items: center; gap: 11px; font-size: 15px; color: var(--ink-soft); font-weight: 500; }
.check-list .check-icon {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--violet-soft);
  color: var(--violet-deep);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.check-list .check-icon svg { width: 12px; height: 12px; }

/* ---------- Feature icon (SVG, replaces text glyphs) ---------- */
.feature-icon svg { width: 20px; height: 20px; }

/* ---------- Section ambient glow (futuristic continuity beyond hero) ---------- */
.section-glow {
  position: absolute;
  top: 50%; left: 50%;
  width: 900px; height: 500px;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, var(--violet-soft), transparent 72%);
  pointer-events: none;
  z-index: 0;
}
.section > .wrap { position: relative; z-index: 1; }

/* ---------- Pricing ---------- */
.trial-banner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background: var(--clay-soft);
  color: #8A5A2E;
  font-size: 13px;
  font-weight: 700;
  margin: 0 auto var(--space-lg);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  max-width: 960px;
  margin: 0 auto;
}
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; max-width: 400px; } }

.pricing-disclosure {
  max-width: 960px;
  margin: var(--space-lg) auto 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-faint);
  text-align: center;
}

.pricing-card {
  padding: var(--space-lg) var(--space-md);
  text-align: center;
  position: relative;
  transition: transform var(--dur-base) var(--ease-out), background var(--dur-fast);
}
.pricing-card:hover { transform: translateY(-4px); }

.pricing-card.featured {
  border: 1.5px solid var(--violet);
  background: var(--glass-fill-hover);
}

.pricing-badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #7C6BA8, var(--violet-deep));
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 5px 16px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.pricing-plan-name { font-size: 13px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: var(--space-sm); }
.pricing-amount { font-family: var(--font-display); font-size: 44px; font-weight: 500; color: var(--ink); line-height: 1; }
.pricing-amount span { font-family: var(--font-body); font-size: 14px; font-weight: 600; color: var(--ink-faint); }
.pricing-sub { font-size: 13px; color: var(--ink-faint); margin: 8px 0 var(--space-md); }
.pricing-card .btn { width: 100%; }
.voice-player-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-sm); max-width: 720px; margin: 0 auto; }
@media (max-width: 640px) { .voice-player-grid { grid-template-columns: 1fr; } }

.voice-card {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: 18px 22px;
  transition: background var(--dur-fast), transform var(--dur-base) var(--ease-out);
}
.voice-card:hover { background: var(--glass-fill-hover); transform: translateY(-2px); }

.voice-play-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(180deg, #7C6BA8, var(--violet-deep));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  box-shadow: 0 8px 20px -8px var(--violet-glow);
  transition: transform var(--dur-fast) var(--ease-out);
}
.voice-play-btn:hover { transform: scale(1.06); }
.voice-play-btn.is-playing { background: linear-gradient(180deg, var(--clay), #A26C3D); }

.voice-card-info { flex: 1; text-align: left; }
.voice-card-info h4 { font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 2px; }
.voice-card-info p { font-size: 13px; color: var(--ink-faint); }

.voice-waveform { display: flex; align-items: center; gap: 2.5px; height: 22px; }
.voice-waveform span {
  width: 2.5px;
  background: var(--ink-hair);
  border-radius: 2px;
  transition: background var(--dur-fast), transform var(--dur-fast);
}
.voice-card.is-playing .voice-waveform span { background: var(--violet); }

.voice-note { text-align: center; font-size: 13px; color: var(--ink-faint); margin-top: var(--space-md); }

/* ---------- Voice section: featured (playable) vs secret (locked teaser) ---------- */
.voice-layout {
  display: flex;
  gap: var(--space-md);
  max-width: 780px;
  margin: 0 auto;
  align-items: stretch;
}
@media (max-width: 640px) { .voice-layout { flex-direction: column; } }

.voice-featured-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.voice-secret-col {
  width: 180px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  justify-content: center;
}
@media (max-width: 640px) { .voice-secret-col { width: 100%; flex-direction: row; } }

.voice-secret-card {
  padding: 16px 18px;
  text-align: center;
  border: 1px dashed var(--glass-border);
  background: rgba(255,255,255,0.35);
  position: relative;
}
.voice-secret-card .voice-secret-lock {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--ink-hair);
  color: var(--ink-faint);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 10px;
}
.voice-secret-card .voice-secret-lock svg { width: 14px; height: 14px; }
.voice-secret-card h4 { font-size: 14.5px; font-weight: 700; color: var(--ink-soft); margin-bottom: 3px; }
.voice-secret-card p { font-size: 11.5px; color: var(--ink-faint); }

/* ---------- Animated waveform ---------- */
.voice-waveform { display: flex; align-items: center; gap: 2.5px; height: 24px; }
.voice-waveform span {
  width: 2.5px;
  background: var(--ink-hair);
  border-radius: 2px;
  transition: background var(--dur-fast);
  transform-origin: center;
}
.voice-card.is-playing .voice-waveform span {
  background: var(--violet);
  animation: waveform-pulse 900ms ease-in-out infinite;
}
.voice-card.is-playing .voice-waveform span:nth-child(2n) { animation-delay: -0.15s; }
.voice-card.is-playing .voice-waveform span:nth-child(3n) { animation-delay: -0.3s; }
.voice-card.is-playing .voice-waveform span:nth-child(4n) { animation-delay: -0.45s; }
.voice-card.is-playing .voice-waveform span:nth-child(5n) { animation-delay: -0.6s; }

@keyframes waveform-pulse {
  0%, 100% { transform: scaleY(0.5); }
  50% { transform: scaleY(1.3); }
}

/* ---------- Ritual step icon ---------- */
.ritual-icon {
  width: 44px; height: 44px; border-radius: 14px;
  background: var(--violet-soft);
  color: var(--violet-deep);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-md);
}
.ritual-icon svg { width: 20px; height: 20px; }

/* ---------- Gallery mockup (Manifest showcase) ---------- */
.gallery-mockup { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 20px; height: 100%; }
.gallery-mockup .g-tile {
  border-radius: 14px;
  background: linear-gradient(160deg, #F2EDFA, #E4D9F2);
  border: 1px solid var(--glass-border);
  position: relative;
  overflow: hidden;
}
.gallery-mockup .g-tile.tall { grid-row: span 2; }
.gallery-mockup .g-tile::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(closest-side at 30% 25%, rgba(255,255,255,0.7), transparent 60%);
}
.gallery-mockup .g-tile .g-star {
  position: absolute; bottom: 10px; right: 10px;
  width: 20px; height: 20px;
  color: var(--clay);
  opacity: 0.75;
}

/* ---------- Note-card mockup (custom voice notes) ---------- */
.note-mockup {
  padding: 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.note-mockup .note-card-inner {
  background: rgba(255,255,255,0.85);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 20px 50px -30px rgba(78,63,114,0.25);
}
.note-mockup .note-line { height: 9px; border-radius: 5px; background: var(--ink-hair); margin-bottom: 10px; }
.note-mockup .note-line:last-child { margin-bottom: 0; width: 60%; }
.note-mockup .note-pen {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(180deg, #7C6BA8, var(--violet-deep));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.note-mockup .note-pen svg { width: 16px; height: 16px; }

/* ---------- Sleep scene mockup ---------- */
.sleep-mockup { display: flex; align-items: center; justify-content: center; height: 100%; position: relative; }
.sleep-mockup .sleep-moon {
  width: 90px; height: 90px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #FFFFFF, var(--violet) 70%);
  box-shadow: 0 0 60px var(--violet-glow);
}
.sleep-mockup .sleep-wave { position: absolute; bottom: 30px; left: 0; right: 0; display: flex; justify-content: center; gap: 4px; }
.sleep-mockup .sleep-wave span { width: 3px; border-radius: 2px; background: var(--violet-soft); }

/* ---------- Pricing crown badge ---------- */
.pricing-crown { width: 28px; height: 28px; color: var(--clay); margin: 0 auto var(--space-sm); }

/* ---------- App Store badge ---------- */
.app-store-badge {
  display: inline-block;
  line-height: 0;
  transition: transform var(--dur-fast) var(--ease-out), opacity var(--dur-fast);
}
.app-store-badge:hover { transform: scale(1.03); opacity: 0.92; }
.app-store-badge img { display: block; width: auto; height: auto; }
.app-store-badge--nav img { height: 32px; }
.app-store-badge--hero img { height: 54px; }
@media (min-width: 640px) {
  .app-store-badge--hero img { height: 60px; }
}
.hero-cta {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-xl);
}

/* ---------- FAQ accordion ---------- */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  max-width: 760px;
  margin: 0 auto;
}
.faq-item { overflow: hidden; }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: 20px 24px;
  border: none;
  background: transparent;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(17px, 2.2vw, 20px);
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
}
.faq-icon {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--violet-deep);
  border-bottom: 2px solid var(--violet-deep);
  transform: rotate(45deg);
  transition: transform var(--dur-base) var(--ease-out);
}
.faq-item.is-open .faq-icon { transform: rotate(-135deg); }
.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height var(--dur-base) var(--ease-out);
}
.faq-item.is-open .faq-answer { max-height: 240px; }
.faq-answer p {
  padding: 0 24px 20px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.65;
}
.faq-answer a {
  color: var(--violet-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.faq-answer a:hover { color: var(--violet); }
@media (prefers-reduced-motion: reduce) {
  .faq-answer { transition: none; }
}

/* ---------- Waitlist CTA ---------- */
.waitlist-section { padding: var(--space-xl) 0; }
.waitlist-panel { padding: var(--space-xl) var(--space-lg); text-align: center; position: relative; overflow: hidden; }
.waitlist-panel::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(closest-side at 50% 0%, var(--violet-soft), transparent 70%);
  pointer-events: none;
}
.waitlist-panel h2 { font-family: var(--font-display); font-size: clamp(30px, 4.2vw, 46px); font-weight: 500; margin-bottom: var(--space-sm); position: relative; color: var(--ink); }
.waitlist-panel > p { color: var(--ink-soft); max-width: 460px; margin: 0 auto var(--space-lg); position: relative; }

.waitlist-form { display: flex; gap: 10px; max-width: 440px; margin: 0 auto; position: relative; }
@media (max-width: 480px) { .waitlist-form { flex-direction: column; } }
.waitlist-form input[type="email"] {
  flex: 1; padding: 15px 20px; border-radius: var(--radius-pill);
  border: 1px solid var(--glass-border);
  background: #fff;
  color: var(--ink);
  font-size: 14.5px;
  font-family: var(--font-body);
}
.waitlist-form input[type="email"]::placeholder { color: var(--ink-faint); }
.waitlist-form input[type="email"]:focus { outline: none; border-color: var(--violet); }

.waitlist-status { margin-top: var(--space-sm); font-size: 13.5px; min-height: 18px; position: relative; }
.waitlist-status.success { color: #4C8C5F; }
.waitlist-status.error { color: #B4483F; }

/* ---------- Footer (minimal legal at bottom) ---------- */
.site-footer { padding: var(--space-xl) 0 var(--space-lg); border-top: 1px solid var(--ink-hair); }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--space-lg); margin-bottom: var(--space-xl); flex-wrap: wrap; }
.footer-brand p { color: var(--ink-faint); font-size: 13.5px; max-width: 280px; margin-top: 10px; }
.footer-cols { display: flex; gap: var(--space-xxl); flex-wrap: wrap; }
.footer-col h4 { font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: var(--space-sm); font-weight: 700; }
.footer-col a { display: block; font-size: 14px; color: var(--ink-soft); margin-bottom: 10px; transition: color var(--dur-fast); }
.footer-col a:hover { color: var(--ink); }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: var(--space-md); border-top: 1px solid var(--ink-hair);
  font-size: 12px; color: var(--ink-faint); flex-wrap: wrap; gap: var(--space-sm);
}
.footer-legal-links { display: flex; gap: 16px; }
.footer-legal-links a { color: var(--ink-faint); font-size: 12px; transition: color var(--dur-fast); }
.footer-legal-links a:hover { color: var(--ink-soft); text-decoration: underline; }

/* ---------- Reveal-on-scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Legal / simple content pages ---------- */
.legal-page { padding: 160px 0 var(--space-xxl); }
.legal-page h1 { font-family: var(--font-display); font-size: clamp(34px, 5vw, 52px); font-weight: 500; margin-bottom: var(--space-sm); color: var(--ink); }
.legal-page .updated { color: var(--ink-faint); font-size: 13.5px; margin-bottom: var(--space-xl); }
.legal-page h2 { font-family: var(--font-display); font-size: 22px; font-weight: 500; margin: var(--space-xl) 0 var(--space-sm); color: var(--ink); }
.legal-page p, .legal-page li { color: var(--ink-soft); font-size: 15px; line-height: 1.75; margin-bottom: var(--space-sm); }
.legal-page ul { padding-left: 22px; margin-bottom: var(--space-sm); }
.legal-page a.inline-link { color: var(--violet-deep); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-xl); }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { padding: var(--space-lg); }
.contact-card h3 { font-family: var(--font-display); font-size: 20px; font-weight: 500; margin-bottom: 8px; color: var(--ink); }
.contact-card p { color: var(--ink-soft); font-size: 14.5px; margin-bottom: var(--space-md); }
.contact-card a.email-link { color: var(--violet-deep); font-size: 15px; font-weight: 700; }
