/* ==========================================================================
   EUNOYA — promo landing page
   Palette / tokens mirror the Flutter app (see flutter_frontend/lib/core/theme)
   ========================================================================== */

:root {
  --bg-grad-1: #d1e2f4;
  --bg-grad-2: #b7b1e4;
  --card: rgba(248, 247, 255, 0.78);
  --card-solid: #f8f7ff;
  --card-border: rgba(255, 255, 255, 0.6);
  --heading: #1a3c6d;
  --subtitle: #55606e;
  --body: #33404f;

  --purple: #9573d0;
  --purple-deep: #6b47b8;
  --teal: #4fb8a6;
  --amber: #f2b84b;
  --plum: #6b47b8;
  --warm: #ff5722;

  --nav-bg: rgba(255, 255, 255, 0.55);
  --shadow-soft: 0 20px 60px rgba(69, 55, 130, 0.14);
  --shadow-card: 0 12px 32px rgba(69, 55, 130, 0.1);

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg-grad-1: #0d1b2a;
    --bg-grad-2: #1b2b3b;
    --card: rgba(26, 42, 58, 0.72);
    --card-solid: #1a2a3a;
    --card-border: rgba(255, 255, 255, 0.08);
    --heading: #e4eaf0;
    --subtitle: #8a97a8;
    --body: #b9c2cd;
    --nav-bg: rgba(13, 27, 42, 0.6);
    --shadow-soft: 0 20px 60px rgba(0, 0, 0, 0.45);
    --shadow-card: 0 12px 32px rgba(0, 0, 0, 0.35);
    color-scheme: dark;
  }
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--body);
  background: linear-gradient(180deg, var(--bg-grad-1) 0%, var(--bg-grad-2) 100%)
    fixed;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

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

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--purple-deep);
  background: rgba(149, 115, 208, 0.14);
  padding: 7px 14px;
  border-radius: 100px;
}

h1,
h2,
h3 {
  color: var(--heading);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
}

.section-head {
  max-width: 620px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head p {
  margin-top: 12px;
  font-size: 17px;
  color: var(--subtitle);
}

section {
  padding: 96px 0;
  position: relative;
}

/* ── Buttons ──────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  font-size: 15px;
  border-radius: 100px;
  padding: 14px 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-deep) 100%);
  box-shadow: 0 10px 26px rgba(149, 115, 208, 0.45);
}

.btn-primary:hover {
  box-shadow: 0 14px 34px rgba(149, 115, 208, 0.55);
  transform: translateY(-1px);
}

.btn-ghost {
  color: var(--heading);
  background: var(--card);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* ── Glass surfaces ───────────────────────────────────────────────────── */

.glass {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  box-shadow: var(--shadow-card);
}

/* ── Nav ──────────────────────────────────────────────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border-bottom: 1px solid var(--card-border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 19px;
  color: var(--heading);
  letter-spacing: 0.01em;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--body);
}

.nav-links a:hover {
  color: var(--purple-deep);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-switch {
  display: flex;
  align-items: center;
  background: rgba(149, 115, 208, 0.14);
  border-radius: 100px;
  padding: 3px;
  gap: 2px;
}

.lang-switch button {
  border: none;
  background: transparent;
  font-family: inherit;
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.03em;
  color: var(--purple-deep);
  padding: 6px 12px;
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.lang-switch button.active {
  background: var(--purple);
  color: #fff;
}

.nav .btn-primary {
  padding: 10px 20px;
  font-size: 14px;
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }
}

/* ── Hero ─────────────────────────────────────────────────────────────── */

.hero {
  padding: 72px 0 60px;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 40px;
}

.hero-copy h1 {
  font-size: clamp(34px, 5vw, 54px);
  margin: 18px 0 20px;
}

.hero-copy p {
  font-size: 18px;
  color: var(--subtitle);
  max-width: 480px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.hero-note {
  font-size: 13.5px;
  color: var(--subtitle);
  font-weight: 600;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 560px;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.55;
  z-index: 0;
}

.blob-1 {
  width: 340px;
  height: 340px;
  background: var(--purple);
  top: -20px;
  right: 20px;
}

.blob-2 {
  width: 260px;
  height: 260px;
  background: var(--teal);
  bottom: -10px;
  left: 0;
  opacity: 0.35;
}

/* ── Phone mockups ────────────────────────────────────────────────────── */

.phone {
  position: relative;
  width: 250px;
  aspect-ratio: 9 / 19.4;
  background: linear-gradient(180deg, var(--bg-grad-1) 0%, var(--bg-grad-2) 100%);
  border-radius: 42px;
  border: 8px solid #14131c;
  box-shadow: 0 40px 70px rgba(20, 15, 50, 0.35), 0 0 0 2px rgba(255, 255, 255, 0.06);
  overflow: hidden;
  z-index: 1;
  flex-shrink: 0;
}

.phone-hero-main {
  z-index: 2;
}

.phone-hero-behind {
  position: absolute;
  right: -30px;
  top: 60px;
  transform: rotate(9deg) scale(0.92);
  opacity: 0.85;
  z-index: 1;
}

.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 84px;
  height: 22px;
  background: #14131c;
  border-radius: 100px;
  z-index: 5;
}

.phone-shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.phone-screen {
  position: absolute;
  inset: 0;
  padding: 40px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: var(--font);
}

.ph-greeting {
  font-size: 11px;
  font-weight: 800;
  color: var(--heading);
}

.ph-sub {
  font-size: 8px;
  color: var(--subtitle);
  margin-top: 2px;
}

.ph-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.ph-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--purple-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ph-avatar svg {
  width: 13px;
  height: 13px;
}

.ph-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.ph-header-left {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.ph-back {
  font-size: 13px;
  font-weight: 700;
  color: var(--heading);
  flex-shrink: 0;
}

.ph-header-title {
  font-size: 7.5px;
  font-weight: 800;
  color: var(--heading);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ph-badge {
  font-size: 6px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 100px;
  background: var(--card-solid);
  border: 1px solid var(--card-border);
  color: var(--subtitle);
  white-space: nowrap;
  flex-shrink: 0;
}

.ph-section-label {
  font-size: 8px;
  font-weight: 800;
  color: var(--heading);
  margin-top: 2px;
}

.ph-empty {
  text-align: center;
  font-size: 6.5px;
  color: var(--subtitle);
  opacity: 0.75;
  padding: 10px 4px;
}

.ph-btn-sm {
  display: inline-block;
  background: linear-gradient(135deg, var(--purple), var(--purple-deep));
  color: #fff;
  font-size: 6.5px;
  font-weight: 700;
  text-align: center;
  padding: 6px 10px;
  border-radius: 100px;
  margin-top: 6px;
}

.ph-btn-green {
  display: inline-block;
  background: linear-gradient(135deg, #5bc98a, #2fa968);
  color: #fff;
  font-size: 6.5px;
  font-weight: 700;
  text-align: center;
  padding: 7px 10px;
  border-radius: 100px;
}

.ph-quick-sub {
  display: block;
  font-size: 5.3px;
  color: var(--subtitle);
  margin-top: 2px;
  line-height: 1.3;
}

.ph-insight-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.ph-insight-col {
  flex: 1;
  min-width: 0;
}

.ph-card {
  background: var(--card-solid);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 10px;
}

.ph-cta {
  background: linear-gradient(135deg, var(--purple), var(--purple-deep));
  border-radius: 14px;
  color: #fff;
  font-size: 9.5px;
  font-weight: 700;
  text-align: center;
  padding: 12px;
  box-shadow: 0 8px 16px rgba(149, 115, 208, 0.4);
}

.ph-row {
  display: flex;
  gap: 6px;
}

.ph-quick {
  flex: 1;
  background: var(--card-solid);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 8px 4px;
  text-align: center;
}

.ph-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  margin: 0 auto 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}

.ph-quick span {
  font-size: 6.5px;
  font-weight: 700;
  color: var(--heading);
}

.ph-insight-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ph-mood-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(149, 115, 208, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

.ph-label {
  font-size: 8px;
  font-weight: 700;
  color: var(--heading);
}

.ph-text {
  font-size: 6.5px;
  color: var(--subtitle);
  margin-top: 2px;
}

/* chat mockup */
.ph-bubble {
  max-width: 76%;
  padding: 7px 9px;
  border-radius: 12px;
  font-size: 7.5px;
  line-height: 1.4;
}

.ph-bubble-bot {
  align-self: flex-start;
  background: var(--card-solid);
  border: 1px solid var(--card-border);
  color: var(--body);
  border-bottom-left-radius: 3px;
}

.ph-bubble-me {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--purple), var(--purple-deep));
  color: #fff;
  border-bottom-right-radius: 3px;
}

.ph-chat-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* breathing list */
.ph-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  overflow: hidden;
}

.ph-ex-row {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--card-solid);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 8px 10px;
}

.ph-ex-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(149, 115, 208, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  flex-shrink: 0;
}

.ph-ex-copy {
  flex: 1;
  min-width: 0;
}

.ph-ex-title {
  font-size: 7px;
  font-weight: 800;
  color: var(--heading);
}

.ph-ex-sub {
  font-size: 5.5px;
  color: var(--subtitle);
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ph-ex-chevron {
  color: var(--subtitle);
  font-size: 12px;
  flex-shrink: 0;
}

/* tips cards */
.ph-tip-banner {
  height: 32px;
  border-radius: 10px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 6px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  padding: 0 6px;
}

.ph-tip-title {
  font-size: 7px;
  font-weight: 800;
  color: var(--heading);
  line-height: 1.3;
}

.ph-tip-text {
  font-size: 5.8px;
  color: var(--subtitle);
  margin-top: 3px;
  line-height: 1.4;
}

.ph-tip-pill {
  display: inline-block;
  margin-top: 7px;
  background: rgba(149, 115, 208, 0.14);
  border-radius: 100px;
  padding: 4px 9px;
  font-size: 6px;
  font-weight: 700;
  color: var(--purple-deep);
}

.ph-input {
  margin-top: auto;
  background: var(--card-solid);
  border: 1px solid var(--card-border);
  border-radius: 100px;
  padding: 8px 10px;
  font-size: 7px;
  color: var(--subtitle);
}

@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-copy p {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-visual {
    min-height: 460px;
  }
  .phone-hero-behind {
    display: none;
  }
}

/* ── Store badges ─────────────────────────────────────────────────────── */

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.store-badge {
  display: flex;
  align-items: center;
  gap: 9px;
  background: #0c0c0e;
  color: #fff;
  border-radius: 12px;
  padding: 9px 16px 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.store-badge:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.store-badge svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.store-badge .store-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.store-badge .store-text small {
  font-size: 9.5px;
  font-weight: 500;
  opacity: 0.85;
  letter-spacing: 0.02em;
}

.store-badge .store-text strong {
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

/* ── Features grid ────────────────────────────────────────────────────── */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  padding: 28px 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14.5px;
  color: var(--subtitle);
  line-height: 1.55;
}

@media (max-width: 860px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

/* ── How it works ─────────────────────────────────────────────────────── */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step {
  text-align: center;
  padding: 32px 22px;
  position: relative;
}

.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--purple-deep));
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 8px 18px rgba(149, 115, 208, 0.4);
}

.step h3 {
  font-size: 16.5px;
  margin-bottom: 8px;
}

.step p {
  font-size: 14px;
  color: var(--subtitle);
  line-height: 1.5;
}

@media (max-width: 860px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* ── Screens showcase ─────────────────────────────────────────────────── */

.screens-row {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 28px;
  flex-wrap: wrap;
}

.screen-item {
  text-align: center;
}

.screen-item .phone {
  width: 220px;
  margin: 0 auto 16px;
}

.screen-item span {
  font-weight: 700;
  font-size: 14px;
  color: var(--heading);
}

/* ── FAQ ──────────────────────────────────────────────────────────────── */

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  padding: 4px 24px;
}

.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  color: var(--heading);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-chevron {
  width: 18px;
  height: 18px;
  color: var(--purple-deep);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-item p {
  font-size: 14.5px;
  color: var(--subtitle);
  line-height: 1.6;
  padding: 0 0 22px;
}

.faq-item p a {
  color: var(--purple-deep);
  font-weight: 600;
  text-decoration: underline;
}

/* ── CTA band ─────────────────────────────────────────────────────────── */

.cta-band {
  text-align: center;
}

.cta-band .glass {
  padding: 64px 32px;
  max-width: 760px;
  margin: 0 auto;
}

.cta-band h2 {
  margin-bottom: 14px;
}

.cta-band p {
  color: var(--subtitle);
  font-size: 16px;
  max-width: 480px;
  margin: 0 auto 32px;
}

.cta-band .store-badges {
  justify-content: center;
}

/* ── Footer ───────────────────────────────────────────────────────────── */

footer {
  padding: 56px 0 32px;
  border-top: 1px solid var(--card-border);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.footer-brand p {
  color: var(--subtitle);
  font-size: 14px;
  margin-top: 10px;
  max-width: 320px;
}

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

.footer-links h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--heading);
  margin-bottom: 12px;
}

.footer-links a,
.footer-links span {
  display: block;
  font-size: 14px;
  color: var(--subtitle);
  margin-bottom: 8px;
}

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

.disclaimer {
  font-size: 12.5px;
  color: var(--subtitle);
  opacity: 0.85;
  line-height: 1.6;
  border-top: 1px solid var(--card-border);
  padding-top: 20px;
  margin-top: 8px;
}

.copyright {
  font-size: 12.5px;
  color: var(--subtitle);
  opacity: 0.7;
  margin-top: 16px;
}

/* ── Legal pages (privacy / terms) ───────────────────────────────────── */

.legal-hero {
  padding: 56px 0 8px;
  text-align: center;
}

.legal-hero h1 {
  font-size: clamp(28px, 4vw, 40px);
  margin-top: 14px;
}

.legal-hero .updated {
  margin-top: 12px;
  font-size: 13.5px;
  color: var(--subtitle);
  font-weight: 600;
}

.legal-body {
  padding: 32px 0 96px;
}

.legal-card {
  max-width: 780px;
  margin: 0 auto;
  padding: 48px clamp(24px, 5vw, 56px);
}

.legal-card h2 {
  font-size: 21px;
  margin-top: 36px;
  margin-bottom: 12px;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card h3 {
  font-size: 16px;
  margin-top: 20px;
  margin-bottom: 8px;
}

.legal-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--body);
  margin-bottom: 14px;
}

.legal-card ul {
  margin: 0 0 14px;
  padding-left: 20px;
}

.legal-card li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--body);
  margin-bottom: 6px;
}

.legal-card a {
  color: var(--purple-deep);
  font-weight: 600;
  text-decoration: underline;
}

.legal-card strong {
  color: var(--heading);
}

.legal-placeholder {
  background: rgba(242, 184, 75, 0.16);
  color: #8a6413;
  padding: 1px 5px;
  border-radius: 5px;
  font-style: normal;
}

@media (prefers-color-scheme: dark) {
  .legal-placeholder {
    background: rgba(242, 184, 75, 0.14);
    color: #f2b84b;
  }
}

.legal-toc {
  max-width: 780px;
  margin: 0 auto 24px;
  padding: 20px 28px;
}

.legal-toc h2 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.legal-toc ol {
  columns: 2;
  list-style: none;
  padding-left: 0;
  font-size: 13.5px;
}

.legal-toc li {
  margin-bottom: 6px;
}

.legal-toc a {
  color: var(--body);
}

.legal-toc a:hover {
  color: var(--purple-deep);
}

@media (max-width: 600px) {
  .legal-toc ol {
    columns: 1;
  }
}

/* ── Reveal-on-scroll ─────────────────────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}
