/* Luna landing page. Layout: 1120px max, fluid padding, one breakpoint (860px) for the tour. */

:root {
  --bg: #1a1422;
  --text: #f1eaf5;
  --text-soft: #d6cce1;
  --text-muted: #a397b3;
  --text-faint: #8a7c9c;
  --pink: #e58fac;
  --link: #ffb8d6;
  --gold: #fff1c9;
  --ink: #2b2160;
  --pad-x: clamp(28px, 7vw, 48px);
  --serif: 'Young Serif', Georgia, serif;
  --italic: 'Cormorant Garamond', Georgia, serif;
  --ios: -apple-system, 'SF Pro Text', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: 'DM Sans', system-ui, sans-serif; -webkit-font-smoothing: antialiased;
}
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--gold); }
h1, h2, h3, p { margin: 0; }

@keyframes twinkle { 0%, 100% { opacity: .2; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.1); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes glow {
  0%, 100% { filter: drop-shadow(0 0 30px rgba(255, 236, 180, .5)); }
  50% { filter: drop-shadow(0 0 60px rgba(255, 236, 180, .9)); }
}
@keyframes shoot {
  0%, 82% { opacity: 0; transform: translate(0, 0) rotate(-24deg); }
  85% { opacity: 1; }
  100% { opacity: 0; transform: translate(-420px, 190px) rotate(-24deg); }
}

.sparkle { position: absolute; animation: twinkle 3s ease-in-out infinite; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--pink); }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 20; background: rgba(29, 22, 64, .6);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.nav-inner {
  max-width: 1120px; margin: 0 auto; padding: 14px var(--pad-x);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.logo { display: flex; align-items: center; gap: 10px; color: #fff; }
.logo:hover { color: #fff; }
.logo-text { font-family: var(--serif); font-size: 22px; }
.nav-moon {
  position: relative; display: block; width: 26px; height: 26px; border-radius: 50%; overflow: hidden;
  background: radial-gradient(circle at 38% 35%, #fffaf0, #fff1c9 60%, #f2cf7a);
  box-shadow: 0 0 14px rgba(255, 236, 180, .6);
}
/* The dark disc slides off as the page scrolls, so the moon waxes from crescent to full. */
.nav-moon-shade {
  position: absolute; inset: -1px; border-radius: 50%; background: #2b2147;
  transform: translateX(-28%); transition: transform .25s linear;
}
.nav-links { display: flex; align-items: center; gap: clamp(12px, 3vw, 28px); font-size: 15px; font-weight: 500; }
.nav-links a { color: #e4dbee; }
.nav-links a:hover { color: var(--gold); }
.nav-links .nav-cta {
  padding: 9px 16px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 700; white-space: nowrap;
}
.nav-links .nav-cta:hover { color: var(--ink); }
@media (max-width: 419px) {
  .nav-inner { padding-left: 16px; padding-right: 16px; gap: 12px; }
  .nav-links { gap: 10px; font-size: 14px; }
  .nav-links .nav-cta { padding: 8px 12px; }
}
@media (max-width: 359px) {
  .nav-links a:first-child { display: none; }
}

/* Hero */
.hero {
  position: relative; overflow: hidden; margin-top: -63px; padding-top: 63px;
  background: linear-gradient(180deg, #1d1640 0%, #3b2a74 42%, #8a5aa6 78%, #1a1422 100%);
}
.shooting-star {
  position: absolute; top: 18%; right: 20%; width: 110px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0)); animation: shoot 9s ease-in infinite;
}
.hero-inner {
  position: relative; max-width: 1120px; margin: 0 auto;
  padding: clamp(48px, 8vw, 96px) var(--pad-x) clamp(64px, 9vw, 112px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(48px, 6vw, 72px); align-items: center;
}
.hero-text { display: flex; flex-direction: column; gap: 24px; }
.eyebrow--hero { color: #ffd9ec; }
h1 {
  font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 6.4vw, 78px);
  line-height: 1.04; letter-spacing: -.01em; text-wrap: balance;
}
.hero-sub { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; color: #f2e8f7; max-width: 520px; text-wrap: pretty; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; padding-top: 6px; }
.store-btn {
  display: flex; flex-direction: column; justify-content: center; padding: 10px 26px; min-height: 56px;
  box-sizing: border-box; border-radius: 16px; background: #fff; color: var(--ink);
  box-shadow: 0 0 30px rgba(255, 214, 236, .55); transition: transform .2s, box-shadow .2s;
}
.store-btn:hover { transform: translateY(-2px); box-shadow: 0 0 44px rgba(255, 214, 236, .85); color: var(--ink); }
.store-btn-small { font-size: 12px; font-weight: 600; }
.store-btn-big { font-size: 20px; font-weight: 700; line-height: 1.1; }
.how-link { font-size: 16px; font-weight: 600; color: #fff; }
.pricing { font-size: 14px; color: #ffe3ef; }

.hero-visual { position: relative; display: flex; justify-content: center; padding: 20px 0; }
.hero-moon {
  position: absolute; top: -16px; right: max(0px, calc(50% - 250px)); width: 200px; height: 200px;
  animation: glow 5s ease-in-out infinite;
}
.hero-moon div {
  width: 200px; height: 200px; border-radius: 50%; box-shadow: 42px 12px 0 0 #fff1c9; transform: translateX(-30px);
}

/* Phone frame and the app UI inside it */
.phone {
  position: relative; width: 290px; height: 600px; flex: none; border-radius: 46px; background: #1c1526;
  border: 1px solid rgba(255, 255, 255, .18); overflow: hidden; font-family: var(--ios);
  box-shadow: 0 40px 80px rgba(15, 8, 40, .55), 0 0 0 8px rgba(255, 255, 255, .05);
}
.phone--float { animation: float 6s ease-in-out infinite; }
.phone--tour {
  box-shadow: 0 40px 80px rgba(8, 4, 24, .6), 0 0 0 8px rgba(255, 255, 255, .05), 0 0 60px rgba(229, 143, 172, .18);
}
.statusbar { display: flex; justify-content: space-between; padding: 14px 24px 6px; font-size: 11px; font-weight: 600; }
.phone-scroll {
  position: absolute; top: 34px; bottom: 56px; left: 0; right: 0; overflow-y: auto;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.phone-scroll::-webkit-scrollbar { display: none; }
.phone-scroll:focus-visible { outline: 2px solid var(--pink); outline-offset: -2px; }
.phone-fade {
  position: absolute; left: 0; right: 0; bottom: 56px; height: 28px; pointer-events: none;
  background: linear-gradient(180deg, rgba(28, 21, 38, 0), #1c1526);
}
.tabbar {
  position: absolute; left: 0; right: 0; bottom: 0; height: 56px; box-sizing: border-box; background: #201829;
  border-top: 1px solid rgba(255, 255, 255, .07); display: grid; grid-template-columns: repeat(4, 1fr);
  text-align: center; font-size: 7.5px; font-weight: 600; letter-spacing: .1em; color: #7f7290; padding-top: 8px;
}
.tab { display: flex; flex-direction: column; gap: 3px; }
.tab span { font-size: 15px; opacity: .6; }
.tab.is-on { color: var(--pink); }
.tab.is-on span { opacity: 1; }
.tabbar--caption {
  display: flex; align-items: center; justify-content: center; padding-top: 0;
  font-size: 10px; font-weight: 400; letter-spacing: 0; color: var(--text-muted);
}

.app-header { background: #3d2049; padding: 12px 18px 16px; display: flex; flex-direction: column; gap: 8px; }
.app-header-top { display: flex; justify-content: space-between; align-items: flex-start; }
.app-header-names { display: flex; flex-direction: column; gap: 2px; }
.app-greeting { font-size: 10.5px; color: #cbbcd6; }
.app-name { font-size: 24px; font-weight: 700; }
.app-name--partner { font-size: 21px; }
.app-avatar {
  width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid #d98aa6; color: #d98aa6;
  display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700;
}
.app-avatar--serif { font-family: Georgia, serif; }
.phase-pill {
  align-self: flex-start; display: flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .06); font-size: 11.5px; font-weight: 600;
}
.phase-dot { width: 7px; height: 7px; border-radius: 50%; background: #9b7cc4; }
.strip { display: flex; gap: 1.5px; align-items: flex-end; height: 22px; padding-top: 2px; }
.strip--wide { gap: 2px; }
.strip span { flex: 1; height: 13px; border-radius: 2px; }
.strip span.is-today { height: 22px; }

.app-content { padding: 14px 14px 22px; display: flex; flex-direction: column; gap: 10px; }
.app-content--partner { padding-top: 12px; }
.app-card {
  background: #241a33; border: 1px solid rgba(255, 255, 255, .07); border-radius: 16px; padding: 14px;
  display: flex; flex-direction: column; gap: 8px;
}
.app-card--row { flex-direction: row; align-items: center; justify-content: space-between; padding: 12px 14px; }
.app-card--saved { border-color: rgba(107, 158, 135, .4); }
.app-card--log { gap: 9px; }
.app-card--facts { padding: 12px 14px; gap: 9px; }
.app-label { font-size: 8.5px; font-weight: 700; letter-spacing: .14em; color: var(--text-muted); }
.app-label--wide { letter-spacing: .16em; }
.app-section { padding: 4px 2px 0; }
.app-divider { height: 1px; background: rgba(255, 255, 255, .07); margin: 2px 0; }
.guide-title { font-size: 13.5px; font-weight: 700; line-height: 1.3; }
.guide-text, .guide-tip { font-size: 11.5px; color: #c4b8d0; line-height: 1.4; }
.guide-tip { font-size: 11px; }
.guide-sub { font-size: 11.5px; font-weight: 700; padding-top: 2px; }
.row-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.row-title { font-size: 12.5px; font-weight: 700; }
.row-sub { font-size: 11px; color: #c4b8d0; line-height: 1.35; }
.edit-pill {
  flex: none; padding: 5px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2);
  font-size: 11px; font-weight: 600;
}
.saved-head { display: flex; align-items: center; gap: 10px; }
.saved-check {
  flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid #6aa886; color: #6aa886;
  display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700;
}
.chips { display: flex; flex-wrap: wrap; gap: 5px; }
.chip { padding: 6px 10px; border-radius: 999px; background: #2f2340; font-size: 11px; }
.chip--picked { padding: 5px 10px; background: #3e3036; border: 1.5px solid #c9963a; }
.partner-strip { background: #3d2049; border-radius: 16px; padding: 12px 14px; display: flex; align-items: center; gap: 10px; }
.partner-avatar {
  flex: none; width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, .14);
  display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700;
}
.chevron { font-size: 15px; color: rgba(255, 255, 255, .4); }

/* Last-7-days card: energy dots raised by score, then a row of symptom squares. */
.week { display: flex; flex-direction: column; gap: 8px; }
.week-row { display: grid; grid-template-columns: 52px repeat(7, 1fr); gap: 3px; align-items: end; }
.week-row--symptoms { align-items: center; padding-top: 6px; border-top: 1px solid rgba(255, 255, 255, .06); }
.week-row--days { font-size: 8px; color: var(--text-faint); text-align: center; }
.week-row--days span:last-child { color: var(--text); }
.week-label { font-size: 10px; font-weight: 700; color: #e8c77a; padding-bottom: 2px; }
.week-row--symptoms .week-label { color: var(--pink); padding-bottom: 0; }
.week-energy { height: 34px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; }
.week-energy i { width: 9px; height: 9px; border-radius: 50%; background: #e8c77a; }
.week-symptom { height: 18px; border-radius: 5px; }

/* Tour screens (stacked, crossfading) */
.screen { position: absolute; inset: 0; opacity: 0; transition: opacity .5s ease; }
.screen.is-active { opacity: 1; }
.screen-body { padding: 10px 14px; display: flex; flex-direction: column; gap: 10px; }
.screen-body--tight { padding-top: 8px; }
.screen-body > .app-label { padding-left: 2px; }
.log-title { font-size: 15px; font-weight: 700; }
.label-row { display: flex; justify-content: space-between; align-items: baseline; }
.label-note { font-size: 10px; color: var(--text-muted); }
.energy-scale { display: flex; justify-content: space-between; align-items: center; padding: 0 4px; }
.energy-scale span { font-size: 17px; opacity: .55; }
.energy-scale .is-picked { opacity: 1; padding: 6px 9px; border-radius: 10px; border: 1.5px solid #d98aa6; background: #3a2a40; }
.save-btn {
  height: 34px; border-radius: 12px; background: #3d2049; display: flex; align-items: center; justify-content: center;
  font-size: 12.5px; font-weight: 700; margin-top: 2px;
}

.filters { display: flex; gap: 5px; }
.filter { padding: 5px 10px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .14); font-size: 10.5px; color: #c4b8d0; }
.filter.is-on { border: 1.5px solid #d98aa6; background: #3a2a40; font-weight: 600; color: inherit; }
.month-title { font-size: 17px; font-weight: 700; padding: 4px 2px 0; white-space: pre; }
.weekdays { display: grid; grid-template-columns: repeat(7, 1fr); font-size: 9px; color: var(--text-faint); text-align: center; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-day {
  height: 36px; border-radius: 8px; position: relative; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 5px;
}
.cal-day b { font-size: 11px; font-weight: 700; }
.cal-day i { width: 16px; height: 2.5px; border-radius: 2px; }
.cal-day em { position: absolute; top: 2px; right: 3px; font-size: 7px; font-style: normal; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 9.5px; color: #c4b8d0; padding-top: 4px; }
.legend span { display: flex; align-items: center; gap: 4px; }
.legend i { width: 8px; height: 8px; border-radius: 2px; }

.segmented {
  display: grid; grid-template-columns: repeat(3, 1fr); background: #241a33; border-radius: 999px; padding: 3px;
  font-size: 10.5px; font-weight: 700; text-align: center; color: var(--text-muted);
}
.segmented span { padding: 6px 0; }
.segmented .is-on { border-radius: 999px; background: #6aa886; color: #1c1526; }
.ins-caption { font-size: 10px; color: var(--text-muted); padding: 2px 2px 0; }
.ins-title { font-family: var(--serif); font-size: 24px; line-height: 1.1; padding: 0 2px; }
.ins-card { background: #241a33; border-radius: 16px; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.ins-rows { display: flex; flex-direction: column; gap: 8px; }
.ins-row { display: grid; grid-template-columns: 62px 1fr; gap: 6px; align-items: center; }
.ins-name { font-size: 9.5px; white-space: nowrap; overflow: hidden; }
.ins-name--muted { font-weight: 600; color: var(--text-muted); }
.ins-name--strong { font-size: 10px; font-weight: 700; }
.phase-bar { display: grid; grid-template-columns: 7fr 14fr 2fr 8fr 5fr; height: 4px; }
.ins-cells { display: grid; grid-template-columns: repeat(36, minmax(0, 1fr)); gap: 1px; align-items: center; }
.ins-cells--heat span { height: 26px; border-radius: 2px; }
.ins-cells--dots span { width: 100%; max-width: 4px; aspect-ratio: 1; justify-self: center; border-radius: 50%; }
.ins-axis { display: flex; justify-content: space-between; font-size: 8.5px; color: var(--text-faint); }
.ins-note { font-size: 11px; line-height: 1.45; color: var(--text-soft); padding: 0 2px; }

.fact { display: flex; align-items: center; gap: 8px; }
.fact-dot { width: 8px; height: 8px; border-radius: 50%; background: #c94a3c; }
.fact-icon { font-size: 10px; }
.fact-title { flex: 1; font-size: 12.5px; font-weight: 700; }
.fact-title--pmdd { color: #ef8a6e; }
.fact-meta { font-size: 10.5px; color: #c4b8d0; }

/* Sections */
.section {
  max-width: 1120px; margin: 0 auto; padding: clamp(72px, 9vw, 120px) var(--pad-x);
  display: flex; flex-direction: column; gap: clamp(36px, 5vw, 56px);
}
.section-head { display: flex; flex-direction: column; gap: 14px; align-items: center; text-align: center; }
h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 4.4vw, 52px); line-height: 1.1; text-wrap: balance; }
.section-sub { font-size: 18px; line-height: 1.6; color: var(--text-soft); max-width: 560px; text-wrap: pretty; }

/* How it works */
.how {
  max-width: 1120px; margin: 0 auto; padding: clamp(64px, 8vw, 104px) var(--pad-x) 0;
  display: flex; flex-direction: column; gap: clamp(24px, 4vw, 48px);
}
.tour { display: flex; gap: clamp(48px, 7vw, 96px); }
.tour-phone {
  position: sticky; top: max(84px, calc(50vh - 300px)); align-self: flex-start; z-index: 5;
  display: flex; justify-content: center; flex: none;
}
.tour-phone-scale { transform-origin: top center; }
.steps { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.step {
  min-height: 82vh; display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: 24px 0;
  transition: opacity .4s;
}
.js .step { opacity: .35; }
.js .step.is-active { opacity: 1; }
.step-num { font-family: var(--italic); font-style: italic; font-weight: 600; font-size: 26px; color: var(--link); }
h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.15; }
.step p { font-size: clamp(16px, 1.6vw, 18px); line-height: 1.65; color: var(--text-soft); max-width: 460px; text-wrap: pretty; }
.switches { display: flex; flex-direction: column; background: #241a31; border-radius: 18px; padding: 4px 18px; max-width: 420px; }
.switch-row { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.switch-row:last-child { border-bottom: 0; }
.switch-row > div { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.switch-title { font-size: 15px; font-weight: 600; }
.switch-sub { font-size: 13px; color: var(--text-muted); }
.switch { width: 40px; height: 24px; border-radius: 12px; background: #6aa886; position: relative; flex: none; }
.switch::after { content: ''; position: absolute; right: 2px; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: #fff; }

@media (max-width: 859px) {
  .tour { flex-direction: column; gap: 0; }
  .tour-phone {
    top: 62px; align-self: stretch; height: 360px; padding-top: 16px; box-sizing: content-box;
    background: linear-gradient(180deg, #1a1422 85%, rgba(26, 20, 34, 0));
  }
  .tour-phone-scale { transform: scale(.54); }
  .step { min-height: 80vh; padding: 40px 4px 64px; }
}

/* Privacy */
.promises { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 16px; }
.promise {
  border: 1px solid rgba(255, 241, 201, .18); border-radius: 22px; padding: 24px;
  display: flex; flex-direction: column; gap: 10px;
}
.promise-star { font-size: 20px; color: var(--gold); }
.promise-title { font-size: 18px; font-weight: 700; }
.promise-text { font-size: 15px; line-height: 1.55; color: var(--text-soft); }
.policy-link { align-self: center; font-size: 16px; font-weight: 600; }

/* Support */
.support { background: #150f1d; border-top: 1px solid rgba(255, 255, 255, .05); border-bottom: 1px solid rgba(255, 255, 255, .05); }
.support-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 24px; align-items: start; }
.faq { display: flex; flex-direction: column; }
.faq-q {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; width: 100%; padding: 20px 4px;
  background: none; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .08); cursor: pointer;
  font: inherit; font-size: 17px; font-weight: 600; color: inherit; text-align: left;
}
.faq-q:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; }
.faq-sign { font-size: 22px; font-weight: 400; color: var(--pink); }
.faq-a {
  padding: 14px 4px 20px; font-size: 15px; line-height: 1.6; color: var(--text-soft);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.support-cards { display: flex; flex-direction: column; gap: 16px; }
.support-card { background: #241a31; border-radius: 22px; padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.support-card--note { background: rgba(229, 143, 172, .08); border: 1px solid rgba(229, 143, 172, .35); }
.support-card-title { font-size: 18px; font-weight: 700; }
.support-card-text { font-size: 15px; line-height: 1.55; color: var(--text-soft); }
.support-card--note .support-card-text { color: #e4dbee; }
.support-email { font-size: 16px; font-weight: 600; padding-top: 4px; overflow-wrap: anywhere; }

/* Final CTA */
.final {
  position: relative; overflow: hidden;
  background: radial-gradient(70% 80% at 50% 100%, #8a5aa6 0%, #3b2a74 45%, #1a1422 100%);
}
.final-inner {
  position: relative; max-width: 720px; margin: 0 auto; padding: clamp(80px, 10vw, 136px) var(--pad-x);
  display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center;
}
.full-moon {
  width: 96px; height: 96px; border-radius: 50%; animation: glow 4s ease-in-out infinite;
  background: radial-gradient(circle at 38% 35%, #fffaf0, #fff1c9 55%, #f6d98f);
}
.final h2 { font-family: var(--italic); font-style: italic; font-weight: 600; font-size: clamp(38px, 5vw, 60px); }
.final p { font-size: 18px; line-height: 1.55; color: #f2e8f7; }
.store-btn--final { padding: 10px 28px; box-shadow: 0 0 34px rgba(255, 214, 236, .6); }

/* Footer */
.footer {
  max-width: 1120px; margin: 0 auto; padding: 36px var(--pad-x) 48px; display: flex; flex-wrap: wrap;
  justify-content: space-between; align-items: center; gap: 20px 32px; font-size: 14px; color: var(--text-muted);
}
.footer-logo { font-family: var(--serif); font-size: 20px; color: var(--text); }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.footer-links a { color: var(--text-soft); }
.footer-links a:hover { color: var(--gold); }
.footer-legal { flex-basis: 100%; font-size: 13px; line-height: 1.5; color: var(--text-faint); }

/* Scroll reveal: only elements below the fold get .reveal-pending (set in main.js). */
[data-reveal] { transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.reveal-pending { opacity: 0; transform: translateY(28px); }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
