/* ─────────────────────────────────────────────────────────────
   Happy Names — marketing site shared language
   Direction A "Refined Pastels": cream, cocoa ink, blush accent,
   Fraunces display + Inter body, pastel-gradient name cards.
   ───────────────────────────────────────────────────────────── */

:root {
  --bg:        #FAF4EE;
  --bg-top:    #F4E6DC;
  --surface:   #FFFFFF;
  --paper:     #FFF9F3;
  --ink:       #3A2E26;
  --ink-soft:  #6B5B4E;
  --muted:     #9C8C80;
  --hairline:  rgba(58,46,38,0.10);
  --hairline2: rgba(58,46,38,0.16);
  --accent:       oklch(0.72 0.11 20);
  --accent-soft:  oklch(0.92 0.05 20);
  --accent-deep:  oklch(0.58 0.12 20);
  --like:      oklch(0.65 0.16 10);
  --dislike:   oklch(0.46 0.08 245);
  --tab-bg:    #F5ECE0;

  --font-display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --font-body: 'Inter', -apple-system, system-ui, sans-serif;

  --r-card: 28px;
  --r-tile: 18px;
  --shadow-card: 0 18px 40px -12px rgba(58,46,38,0.18), 0 2px 6px rgba(58,46,38,0.06);
  --shadow-tile: 0 1px 2px rgba(58,46,38,0.05), 0 4px 12px rgba(58,46,38,0.05);
  --shadow-phone: 0 40px 80px -24px rgba(58,46,38,0.35), 0 4px 12px rgba(58,46,38,0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font-family: inherit; }

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
}
h1 em, h2 em, .display em { font-style: italic; font-weight: 400; color: var(--accent-deep); }

p { text-wrap: pretty; }

/* ── eyebrow / small caps label ── */
.eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  border: none;
  font-family: var(--font-body);
  font-size: 15px; font-weight: 600; letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary {
  background: var(--ink);
  color: #FFF8F2;
  box-shadow: 0 8px 20px -8px rgba(58,46,38,0.4);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 26px -8px rgba(58,46,38,0.45); }
.btn-soft {
  background: var(--accent-soft);
  color: var(--accent-deep);
}
.btn-soft:hover { background: oklch(0.89 0.06 20); }

/* ── store badges (placeholder pills — swap for official badges later) ── */
.stores { display: flex; gap: 12px; flex-wrap: wrap; }
.store-badge {
  display: inline-flex; align-items: center; gap: 11px;
  padding: 11px 20px 11px 16px;
  border-radius: 14px;
  background: var(--ink);
  color: #FFF8F2;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 8px 20px -10px rgba(58,46,38,0.45);
}
.store-badge:hover { transform: translateY(-1px); box-shadow: 0 12px 26px -10px rgba(58,46,38,0.5); }
.store-badge .glyph { font-size: 22px; line-height: 1; }
.store-badge .lines { display: flex; flex-direction: column; line-height: 1.25; }
.store-badge .lines small { font-size: 10px; font-weight: 500; opacity: 0.75; letter-spacing: 0.02em; }
.store-badge .lines span { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.store-badge.light {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--hairline2);
  box-shadow: var(--shadow-tile);
}

/* ── name chips (origin tags, like in the app) ── */
.chip {
  display: inline-flex; align-items: center;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,0.65);
  border: 1px solid rgba(58,46,38,0.08);
  font-size: 10px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ── pastel name card (the app's signature object) ── */
.name-card {
  position: relative;
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  padding: 22px;
  display: flex; flex-direction: column;
  color: var(--ink);
  overflow: hidden;
}
.name-card .nc-top { display: flex; gap: 6px; align-items: flex-start; }
.name-card .nc-rank { margin-left: auto; font-size: 10px; font-weight: 700; letter-spacing: 0.1em; color: var(--ink-soft); text-align: right; line-height: 1.4; }
.name-card .nc-name {
  font-family: var(--font-display);
  font-weight: 500; letter-spacing: -0.02em;
  font-size: 44px; line-height: 1;
  text-align: center;
  margin: auto 0 6px;
}
.name-card .nc-meaning {
  font-size: 12.5px; line-height: 1.5; color: var(--ink-soft);
  text-align: center; margin: 0 auto auto; max-width: 24ch;
}
.name-card .nc-foot {
  display: flex; justify-content: space-between;
  font-size: 10px; color: var(--muted); letter-spacing: 0.02em;
}
/* deterministic pastels from the app */
.p1 { background: linear-gradient(135deg, #FFE4EB 0%, #FFFFFF 50%, #FFD9C7 100%); }
.p2 { background: linear-gradient(160deg, #E8E1FF 0%, #FFFFFF 50%, #DCEFFF 100%); }
.p3 { background: linear-gradient(200deg, #DFF6E3 0%, #FFFFFF 50%, #FFF4D6 100%); }
.p4 { background: linear-gradient(225deg, #FFE7D6 0%, #FFFFFF 50%, #FDD9E8 100%); }
.p5 { background: linear-gradient(135deg, #E0EFFF 0%, #FFFFFF 50%, #E8DCF7 100%); }
.p6 { background: linear-gradient(160deg, #FFF1D6 0%, #FFFFFF 50%, #FFE2E9 100%); }

/* ── phone mockup ──
   The .screen-content node is a stand-in recreation of the app UI.
   REPLACE: drop a real screenshot <img> inside .phone-screen and
   delete .screen-content when real captures are ready. */
.phone {
  width: 310px;
  aspect-ratio: 9 / 19.3;
  background: #211B16;
  border-radius: 48px;
  padding: 11px;
  box-shadow: var(--shadow-phone);
  flex-shrink: 0;
}
.phone-screen {
  position: relative;
  height: 100%;
  border-radius: 38px;
  overflow: hidden;
  background:
    radial-gradient(420px 220px at 50% -60px, var(--bg-top), transparent),
    var(--bg);
  display: flex; flex-direction: column;
}
.phone-screen > img { width: 100%; height: 100%; object-fit: cover; }
.island {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 86px; height: 24px; border-radius: 999px; background: #16110D;
  z-index: 3;
}

/* recreated app UI inside the phone (placeholder for screenshots) */
.screen-content { display: flex; flex-direction: column; height: 100%; padding: 48px 16px 14px; }
.sc-progress { display: flex; align-items: center; gap: 4px; justify-content: center; margin-bottom: 4px; }
.sc-progress i { width: 5px; height: 5px; border-radius: 999px; background: rgba(58,46,38,0.15); }
.sc-progress i.on { background: var(--accent); width: 16px; }
.sc-left { text-align: center; font-size: 9px; font-weight: 700; letter-spacing: 0.14em; color: var(--muted); margin-bottom: 10px; }
.sc-card { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.sc-card .name-card { flex: 1; box-shadow: 0 12px 28px -10px rgba(58,46,38,0.22); }
.sc-actions { display: flex; justify-content: center; align-items: center; gap: 18px; padding: 14px 0 10px; }
.sc-actions .act {
  width: 44px; height: 44px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface); box-shadow: var(--shadow-tile);
  font-size: 17px; color: var(--muted);
}
.sc-actions .act.like { width: 54px; height: 54px; background: var(--like); color: #fff; font-size: 21px; box-shadow: 0 10px 22px -8px oklch(0.65 0.16 10 / 0.55); }
.sc-actions .act.nope { color: var(--dislike); }
.sc-tabbar {
  display: flex; justify-content: space-around; align-items: center;
  background: var(--tab-bg); border-radius: 999px; padding: 9px 8px; margin-top: 2px;
}
.sc-tabbar span { font-size: 8.5px; font-weight: 600; letter-spacing: 0.04em; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 3px; }
.sc-tabbar span i { font-style: normal; font-size: 14px; line-height: 1; }
.sc-tabbar span.on { color: var(--accent-deep); }

/* ── FAQ (details/summary) ── */
.faq-item {
  border-bottom: 1px solid var(--hairline);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 20px 4px;
  font-family: var(--font-display);
  font-size: 20px; font-weight: 500; letter-spacing: -0.015em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-family: var(--font-body);
  font-weight: 400; font-size: 22px; color: var(--muted);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-a {
  padding: 0 4px 22px;
  color: var(--ink-soft); font-size: 15px; line-height: 1.65; max-width: 60ch;
  margin: 0;
}

/* ── reveal-on-scroll (subtle) ── */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
  .reveal.in { opacity: 1; transform: none; }
}

/* ═══════════════════════════════════════════════════════════
     B+ · Refined — B's hero + grown-up look, compact How-it-works
     with visual highlights, C's bento Features, A's FAQ + CTA/footer
     ═══════════════════════════════════════════════════════════ */
  .frame { max-width: 1180px; margin: 0 auto; padding: 0 36px; }

  /* ── nav (B) ── */
  .nav {
    display: flex; align-items: center; gap: 32px;
    padding: 24px 0;
    border-bottom: 1px solid var(--hairline2);
  }
  .wordmark {
    font-family: var(--font-display); font-size: 23px; font-weight: 500;
    letter-spacing: -0.02em; text-decoration: none;
    display: flex; align-items: center; gap: 10px;
  }
  .nav-logo { width: 32px; height: 32px; }
  .wordmark i { font-style: italic; font-weight: 400; color: var(--accent-deep); }
  .nav-links { display: flex; gap: 26px; margin-left: auto; }
  .nav-links a { font-size: 13.5px; font-weight: 500; color: var(--ink-soft); text-decoration: none; }
  .nav-links a:hover { color: var(--ink); }
  .nav .btn { padding: 9px 18px; font-size: 13.5px; }

  /* ── hero (B) ── */
  .hero {
    display: grid; grid-template-columns: 1.1fr 0.9fr;
    gap: 48px; align-items: center;
    padding: 84px 0 96px;
  }
  @media (max-width: 920px) { .hero { grid-template-columns: 1fr; padding-top: 56px; } }
  .hero h1 { font-size: clamp(48px, 6.8vw, 88px); font-weight: 400; line-height: 1.02; }
  .hero .lede { margin: 26px 0 0; max-width: 46ch; font-size: 17px; color: var(--ink-soft); }
  .hero .stores { margin-top: 34px; }
  .coming-soon {
    display: inline-block; margin-top: 24px; padding: 10px 24px;
    font-family: var(--font-display); font-size: 18px; font-weight: 500;
    color: var(--accent-deep); background: var(--accent-soft);
    border-radius: 100px; letter-spacing: -0.01em;
  }
  .hero-note { margin-top: 18px; font-size: 12.5px; color: var(--muted); }

  .hero-visual { position: relative; display: flex; justify-content: center; min-height: 560px; }
  .hero-visual .phone { transform: rotate(3deg); }
  .hv-card { position: absolute; width: 190px; height: 232px; }
  .hv-card .nc-name { font-size: 32px; }
  .hv-1 { left: -6%; top: 40px; transform: rotate(-8deg); z-index: 3; }
  .hv-2 { right: -4%; bottom: 30px; transform: rotate(5deg); z-index: 3; }
  @media (max-width: 920px) {
    .hero-visual { min-height: 540px; }
    .hv-1 { left: 0; }
    .hv-2 { right: 0; }
  }
  @media (max-width: 560px) { .hv-card { display: none; } }

  /* ── shared section intro ── */
  .section-intro { text-align: center; max-width: 60ch; margin: 0 auto 54px; }
  .section-intro .eyebrow { display: block; }
  .section-intro h2 { font-size: clamp(32px, 4.2vw, 48px); font-weight: 400; margin-top: 14px; }
  .section-intro h2 em { font-style: italic; color: var(--accent-deep); }
  .section-intro p { color: var(--ink-soft); margin: 16px auto 0; max-width: 50ch; }

  /* ── How it works — scattered phone showcase over a names field ── */
  .hiw { position: relative; overflow: hidden; border-top: 1px solid var(--hairline2); padding: 96px 0 104px; }
  .hiw-bg {
    position: absolute; inset: 0;
    display: flex; flex-direction: column; justify-content: center; gap: 2px;
    pointer-events: none; user-select: none; z-index: 0;
    -webkit-mask-image: radial-gradient(150% 102% at 50% 50%, #000 34%, transparent 78%);
            mask-image: radial-gradient(150% 102% at 50% 50%, #000 34%, transparent 78%);
  }
  .hiw-bg .nf-row {
    white-space: nowrap;
    font-family: var(--font-display); font-weight: 400;
    font-size: clamp(34px, 4.8vw, 58px); line-height: 1.16; letter-spacing: -0.01em;
    color: rgba(58,46,38,0.06);
  }
  .hiw-bg .nf-row em { font-style: italic; color: rgba(176,74,64,0.11); }
  .hiw-bg .nf-row:nth-child(even) { text-indent: -1.4em; }
  .hiw-inner { position: relative; z-index: 1; }

  .hiw-stage { display: flex; justify-content: center; align-items: flex-start; gap: 36px; flex-wrap: wrap; margin-top: 8px; }
  .hiw-col { display: flex; flex-direction: column; align-items: center; gap: 24px; width: 268px; }
  .hiw-col:nth-child(1) { margin-top: 52px; }
  .hiw-col:nth-child(3) { margin-top: 72px; }
  .hiw-col .phone { width: 262px; }
  .hiw-cap { text-align: center; }
  .hiw-cap .tt { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.015em; font-size: 32px; }
  .hiw-cap .tt::after { content: '.'; color: var(--accent); }
  .hiw-cap p { color: var(--ink-soft); font-size: 14px; margin: 7px auto 0; max-width: 27ch; }
  @media (max-width: 900px) { .hiw-col { margin-top: 0 !important; width: 262px; } }

  /* phone screen states (mini) */
  .mini-screen .screen-content { padding: 44px 13px 13px; }
  .mini-screen .name-card .nc-name { font-size: 31px; }
  .mini-screen .name-card .nc-meaning { font-size: 11px; -webkit-line-clamp: 3; }
  .mini-screen .nc-top .chip { font-size: 8.5px; padding: 3px 8px; }
  .mini-screen .nc-foot { font-size: 8.5px; }
  .mini-screen .sc-left { font-size: 8.5px; }
  .ms-head { text-align:center; font-size:9px; font-weight:700; letter-spacing:0.14em; color:var(--muted); margin-bottom:10px; }
  .ms-vs { flex:1; display:flex; flex-direction:column; gap:10px; justify-content:center; min-height:0; }
  .ms-vs .name-card { flex:1; }
  .ms-vs .name-card .nc-name { font-size: 25px; margin: auto 0 4px; }
  .ms-vs .name-card .nc-meaning { -webkit-line-clamp: 2; }
  .ms-vs-or { text-align:center; font-family:var(--font-display); font-style:italic; font-size:14px; color:var(--muted); }
  .ms-fav { flex:1; display:flex; flex-direction:column; gap:7px; justify-content:center; }
  .ms-fav-row { display:flex; align-items:center; gap:9px; background:var(--surface); border-radius:12px; padding:9px 11px; box-shadow:var(--shadow-tile); }
  .ms-fav-row .pos { width:18px;height:18px;border-radius:999px;background:var(--accent-soft);color:var(--accent-deep);display:inline-flex;align-items:center;justify-content:center;font-size:9px;font-weight:700;flex:none; }
  .ms-fav-row b { font-family:var(--font-display); font-weight:500; font-size:15px; }
  .ms-fav-row .small2 { font-size:9px; color:var(--muted); }
  .ms-fav-row .heart { margin-left:auto; color:var(--like); font-size:13px; }

  /* ── Features bento (C) ── */
  .features-sec { border-top: 1px solid var(--hairline2); padding: 96px 0; }
  .bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 26px; }
  .bento-cell {
    background: var(--surface); border-radius: var(--r-card);
    box-shadow: var(--shadow-tile);
    padding: 34px 32px;
    display: flex; flex-direction: column; gap: 12px; overflow: hidden;
  }
  .bento-cell h3 { font-size: 26px; font-weight: 500; }
  .bento-cell p { font-size: 14.5px; color: var(--ink-soft); margin: 0; max-width: 44ch; }
  .cell-phone { grid-column: span 5; grid-row: span 2; align-items: center; text-align: center; padding-bottom: 0; }
  .cell-versus { grid-column: span 7; }
  .cell-rank { grid-column: span 4; }
  .cell-pair { grid-column: span 3; }
  @media (max-width: 980px) {
    .cell-phone, .cell-versus, .cell-rank, .cell-pair { grid-column: span 12; }
  }
  .cell-phone .phone { width: 250px; margin-top: 18px; margin-bottom: -120px; border-radius: 40px; padding: 9px; }
  .cell-phone .phone-screen { border-radius: 32px; }
  .cell-phone .screen-content { padding: 40px 12px 12px; }
  .cell-phone .nc-name { font-size: 34px; }

  .cell-versus .vs-row { display: flex; gap: 12px; align-items: center; margin-top: 14px; }
  .cell-versus .vs-chip { flex: 0 0 auto; border-radius: 14px; padding: 14px 22px; font-family: var(--font-display); font-size: 21px; box-shadow: var(--shadow-tile); }
  .cell-versus .vs-or { font-size: 10px; font-weight: 700; letter-spacing: 0.14em; color: var(--muted); }
  .cell-versus .vs-win { margin-left: auto; font-size: 12.5px; font-weight: 600; color: var(--accent-deep); }
  @media (max-width: 560px) { .cell-versus .vs-win { display: none; } }

  .cell-rank .rk { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
  .cell-rank .rk-row { display: flex; align-items: center; gap: 10px; font-size: 13.5px; }
  .cell-rank .rk-row b { font-family: var(--font-display); font-weight: 500; font-size: 16px; }
  .cell-rank .rk-row .pos { width: 22px; height: 22px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-deep); display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; }
  .cell-rank .rk-row .delta { margin-left: auto; font-size: 11px; color: var(--like); font-weight: 600; white-space: nowrap; }

  .cell-pair .pair-stack { display: flex; margin-top: 14px; }
  .cell-pair .avatar { width: 46px; height: 46px; border-radius: 999px; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 17px; border: 3px solid var(--surface); }
  .cell-pair .avatar + .avatar { margin-left: -12px; }
  .cell-pair .match-note { font-size: 12.5px; font-weight: 600; color: var(--like); margin-top: 8px; }

  /* ── pull quote (B) ── */
  .pull {
    border-top: 1px solid var(--hairline2);
    padding: 90px 0;
    display: grid; grid-template-columns: 80px 1fr; gap: 24px;
  }
  @media (max-width: 700px) { .pull { grid-template-columns: 1fr; } }
  .pull .mark { font-family: var(--font-display); font-size: 110px; line-height: 0.6; color: var(--accent); font-weight: 400; }
  .pull blockquote {
    margin: 0;
    font-family: var(--font-display); font-weight: 400;
    font-size: clamp(26px, 3.6vw, 40px); line-height: 1.25; letter-spacing: -0.015em;
    max-width: 24ch;
  }
  .pull .who { margin-top: 24px; font-size: 13.5px; color: var(--muted); }
  .pull .who b { color: var(--ink-soft); }

  /* ── FAQ (A) — accordion ── */
  .faq-section { border-top: 1px solid var(--hairline2); padding: 96px 0; }
  .faq-wrap { max-width: 720px; margin: 0 auto; }

  /* ── CTA band + footer (A) ── */
  .cta-band { max-width: 1180px; margin: 0 auto; padding: 0 36px; }
  .cta-inner {
    background:
      radial-gradient(600px 300px at 20% 0%, #FFE4EB, transparent),
      radial-gradient(600px 300px at 85% 100%, #FFD9C7, transparent),
      var(--paper);
    border: 1px solid var(--hairline);
    border-radius: 36px;
    text-align: center;
    padding: 72px 36px;
  }
  .cta-inner h2 { font-size: clamp(30px, 4vw, 42px); font-weight: 400; margin-top: 14px; }
  .cta-inner h2 em { font-style: italic; color: var(--accent-deep); }
  .cta-inner p { color: var(--ink-soft); max-width: 44ch; margin: 14px auto 0; }
  .cta-inner .stores { justify-content: center; margin-top: 30px; }

  footer {
    max-width: 1180px; margin: 70px auto 0; padding: 34px 36px 110px;
    border-top: 1px solid var(--hairline);
    display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
  }
  footer .foot-links { display: flex; gap: 22px; margin-left: auto; }
  footer a { font-size: 13px; color: var(--muted); text-decoration: none; }
  footer a:hover { color: var(--ink-soft); }
  footer .copy { width: 100%; font-size: 12px; color: var(--muted); }

  /* ── real store badges ── */
  .store-link { display: inline-flex; border-radius: 9px; transition: transform 0.15s ease, box-shadow 0.15s ease; }
  .store-link img { height: 48px; width: auto; display: block; border-radius: 9px; }
  .store-link:hover { transform: translateY(-1px); box-shadow: 0 10px 22px -10px rgba(58,46,38,0.5); }

  /* ── Language switcher ── */
  .lang-switch {
    position: relative;
    margin-left: 12px;
  }
  .lang-current {
    background: none; border: 1px solid var(--hairline2);
    border-radius: 8px; padding: 6px 12px;
    font-size: 13px; font-weight: 600; letter-spacing: 0.04em;
    color: var(--ink-soft); cursor: pointer;
    transition: border-color 0.15s ease;
  }
  .lang-current:hover { border-color: var(--ink-soft); }
  .lang-menu {
    display: none; position: absolute; top: calc(100% + 6px); right: 0;
    list-style: none; margin: 0; padding: 6px 0;
    background: var(--surface); border: 1px solid var(--hairline2);
    border-radius: 10px; box-shadow: var(--shadow-tile);
    min-width: 56px; z-index: 100;
  }
  .lang-menu.open { display: block; }
  .lang-menu li a {
    display: block; padding: 7px 16px;
    font-size: 13px; font-weight: 600; letter-spacing: 0.04em;
    color: var(--ink-soft); text-decoration: none;
  }
  .lang-menu li a:hover { background: var(--accent-soft); color: var(--accent-deep); }

  /* ── Language notice banner ── */
  .lang-notice {
    background: var(--accent-soft);
    color: var(--accent-deep);
    font-size: 14px; font-weight: 500;
    padding: 12px 18px;
    border-radius: 10px;
    margin-bottom: 28px;
  }

  /* ── Legal pages ── */
  .legal {
    max-width: 720px;
    margin: 80px auto 0;
    padding: 0 24px;
  }
  .legal h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 8px;
  }
  .legal-updated {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 40px;
  }
  .legal h2 {
    font-size: 1.25rem;
    margin-top: 40px;
    margin-bottom: 12px;
  }
  .legal h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 8px;
  }
  .legal p, .legal li {
    font-size: 15px;
    line-height: 1.7;
    color: var(--ink-soft);
  }
  .legal ul {
    padding-left: 20px;
    margin: 12px 0;
  }
  .legal li { margin-bottom: 6px; }
  .legal a { color: var(--accent-deep); text-decoration: underline; }
  .legal a:hover { color: var(--ink); }
