/* ==========================================================================
   Pepta marketing site — single stylesheet.

   Visual language matches the app + App Store panels:
     • Inter font, weights 400/500/700/800
     • Brand palette pulled from scripts/marketing/02-compose-app-store-panels.mjs
     • Dark navy radial-gradient background, amber CTAs, blue accent for tags
     • Mobile-first, scales up at 720 / 980 / 1180 breakpoints
   ========================================================================== */

/* -------------------------------- Tokens -------------------------------- */
:root {
  /* Brand palette — matches PALETTE in 02-compose-app-store-panels.mjs */
  --ink: #0A1428;
  --ink-2: #0E1F3D;
  --blue-deep: #0B1A36;
  --blue-mid: #15315C;
  --blue-light: #3C5E93;
  --blue-accent: #4A86C9;
  --cyan: #6CC9E5;
  --amber: #E0A227;
  --amber-light: #FFD78A;
  --amber-deep: #B07300;
  --green: #1F9C6F;
  --green-bright: #16C172;
  --rose: #D1556B;
  --violet: #6B5BB5;
  --cream: #F5F6F9;
  --white: #FFFFFF;

  /* Surfaces */
  --surface-0: #050B17;
  --surface-1: #0A1428;
  --surface-2: rgba(255, 255, 255, 0.04);
  --surface-3: rgba(255, 255, 255, 0.06);

  /* Text */
  --text: #FFFFFF;
  --text-2: rgba(255, 255, 255, 0.78);
  --text-3: rgba(255, 255, 255, 0.55);
  --text-4: rgba(255, 255, 255, 0.40);

  /* Borders */
  --border: rgba(255, 255, 255, 0.10);
  --border-strong: rgba(255, 255, 255, 0.18);

  /* Radii */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-2xl: 44px;

  /* Shadows */
  --shadow-md: 0 18px 40px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 40px 90px rgba(0, 0, 0, 0.55), 0 14px 30px rgba(0, 0, 0, 0.35);
  --shadow-xl: 0 80px 140px rgba(0, 0, 0, 0.65), 0 30px 60px rgba(0, 0, 0, 0.40);

  /* Layout */
  --container: 1180px;
  --gutter: 24px;

  /* Type */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ------------------------------- Reset ------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  /* Prevent decorative glows / halos / blobs from ever causing horizontal
     scroll on mobile. `clip` is stricter than `hidden` and works on iOS. */
  overflow-x: clip;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
sup { font-size: 0.65em; vertical-align: super; opacity: 0.65; line-height: 0; }

/* ------------------------------- Base ------------------------------- */
body {
  font-family: var(--font);
  font-feature-settings: 'cv11', 'ss01', 'ss03';
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  /* Single dark navy radial gradient — same recipe as the App Store
     panels, so the site feels like the panels stitched into a page. */
  background:
    radial-gradient(120% 95% at 50% -10%, #1B3563 0%, #0E1F3D 45%, #050B17 100%) fixed;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Layout container */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* Soft gradient text — used for emphasis spans inside headings */
.grad {
  background: linear-gradient(135deg, #FFD78A 0%, #E0A227 50%, #6CC9E5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}
.reveal.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ------------------------------- Buttons ------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: -0.2px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
  text-align: left;
  white-space: nowrap;
  user-select: none;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(180deg, #FFD78A 0%, #E0A227 100%);
  color: #2B1A04;
  box-shadow: 0 12px 30px rgba(224, 162, 39, 0.40), inset 0 1px 0 rgba(255, 255, 255, 0.50);
}
.btn-primary:hover {
  box-shadow: 0 18px 40px rgba(224, 162, 39, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.60);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border-color: var(--border-strong);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.30);
}

.btn-large {
  padding: 16px 26px;
  font-size: 16px;
}
.store-glyph {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
}
.store-stack {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  gap: 2px;
}
.store-small {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  opacity: 0.75;
}
.store-big {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.4px;
}

/* ------------------------------- Nav ------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(28px) saturate(150%);
  -webkit-backdrop-filter: blur(28px) saturate(150%);
  background: rgba(5, 11, 23, 0.65);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.4px;
}
.brand-mark {
  /* White rounded tile that wraps the inline Pepta SVG. Inline SVG
     (rather than url()/<img>) gives us the most reliable rendering
     across browsers + lets us color-tweak the mark via CSS later. */
  width: 32px;
  height: 32px;
  background: var(--white);
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 4px;
  box-sizing: border-box;
}
.brand-mark svg { width: 100%; height: 100%; display: block; }
.brand-word {
  font-size: 22px;
  background: linear-gradient(135deg, #FFFFFF 0%, #BFD3F2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nav-links {
  display: none;
  gap: 28px;
  font-weight: 600;
  color: var(--text-2);
}
.nav-links a {
  position: relative;
  padding: 6px 2px;
  transition: color 0.2s ease;
}
.nav-links a:hover {
  color: var(--text);
}
.nav-cta {
  padding: 10px 18px;
  font-size: 14px;
}

@media (min-width: 720px) {
  .nav-links { display: inline-flex; }
}

/* ------------------------------- Hero ------------------------------- */
.hero {
  position: relative;
  padding-top: 60px;
  padding-bottom: 80px;
  /* Contain the hero glow + ambient blobs so they can bleed visually
     but never push the document past the viewport on mobile. */
  overflow: clip;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: center;
}
.hero-text { max-width: 620px; }
.hero-art {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.hero-glow {
  position: absolute;
  inset: -10% -10% 5% -10%;
  background: radial-gradient(60% 50% at 50% 50%,
    rgba(108, 201, 229, 0.45) 0%,
    rgba(74, 134, 201, 0.25) 35%,
    rgba(0, 0, 0, 0) 70%);
  filter: blur(40px);
  pointer-events: none;
}
.hero-phone {
  position: relative;
  z-index: 1;
  width: min(420px, 90%);
  height: auto;
  border-radius: 36px;
  box-shadow:
    0 60px 110px rgba(0, 0, 0, 0.55),
    0 22px 50px rgba(0, 0, 0, 0.40);
  transform: rotate(-1.5deg);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(108, 201, 229, 0.10);
  color: var(--cyan);
  border: 1px solid rgba(108, 201, 229, 0.30);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
}
.hero-title {
  margin: 22px 0 18px;
  font-size: clamp(40px, 6.4vw, 76px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.02;
}
.hero-sub {
  font-size: clamp(17px, 1.8vw, 20px);
  color: var(--text-2);
  margin: 0 0 28px;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.hero-meta {
  font-size: 14px;
  color: var(--text-3);
  margin: 0;
}

@media (min-width: 980px) {
  .hero { padding-top: 80px; padding-bottom: 120px; }
  .hero-inner { grid-template-columns: 1.1fr 0.9fr; gap: 80px; }
  .hero-phone { width: min(520px, 100%); transform: rotate(-2.4deg); }
}

/* ------------------------------- Sections ------------------------------- */
.section { position: relative; }
.section-pad { padding-top: 80px; padding-bottom: 80px; }
@media (min-width: 980px) {
  .section-pad { padding-top: 130px; padding-bottom: 130px; }
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}
.section-title {
  font-size: clamp(34px, 4.8vw, 60px);
  font-weight: 800;
  letter-spacing: -1.4px;
  line-height: 1.05;
  margin: 0 0 14px;
}
.section-sub {
  font-size: clamp(16px, 1.6vw, 20px);
  color: var(--text-2);
  margin: 0;
}

/* ------------------------------- Features ------------------------------- */
.feature {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 100px;
}
.feature:last-child { margin-bottom: 0; }
.feature-text { max-width: 600px; }
.feature-art {
  position: relative;
  display: flex;
  justify-content: center;
}
.feature-art img {
  width: min(440px, 100%);
  border-radius: 36px;
  box-shadow: var(--shadow-xl);
}
.feature-art-tilt img {
  transform: rotate(-2deg);
  transition: transform 0.4s ease;
}
.feature-art-tilt:hover img { transform: rotate(0deg) scale(1.02); }

.feature-title {
  margin: 16px 0 14px;
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 800;
  letter-spacing: -0.8px;
  line-height: 1.08;
}
.feature-body {
  font-size: 18px;
  color: var(--text-2);
  margin: 0 0 22px;
}
.feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.feature-list li {
  position: relative;
  padding-left: 36px;
  color: var(--text);
  font-weight: 500;
}
.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-bright), #0A8C58);
  box-shadow: 0 0 16px rgba(22, 193, 114, 0.50);
}
.feature-list li::after {
  content: '';
  position: absolute;
  left: 7px;
  top: 50%;
  width: 5px;
  height: 9px;
  border: solid #FFFFFF;
  border-width: 0 2.5px 2.5px 0;
  transform: translateY(-65%) rotate(45deg);
}

@media (min-width: 980px) {
  .feature {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }
  .feature-hero .feature-text { padding-right: 20px; }
  .feature-flip .feature-art { order: -1; }
}

/* Badges */
.badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}
.badge-amber {
  color: #2B1A04;
  background: linear-gradient(180deg, #FFD78A 0%, #E0A227 100%);
  box-shadow: 0 6px 16px rgba(224, 162, 39, 0.40);
}
.badge-blue {
  color: var(--white);
  background: rgba(74, 134, 201, 0.20);
  border: 1px solid rgba(74, 134, 201, 0.45);
}

.legal-mini {
  margin-top: 20px;
  font-size: 13px;
  color: var(--text-4);
  line-height: 1.5;
}

/* ------------------------------- Cards / grid ------------------------------- */
.grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
.grid-3 { grid-template-columns: 1fr; }
@media (min-width: 720px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.grid-features { margin-bottom: 100px; }

.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-lg);
}
.card-title {
  margin: 0;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.15;
}
.card-body {
  margin: 0;
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.55;
}

.feature-card-art {
  border-radius: var(--r-xl);
  overflow: hidden;
  background: rgba(0, 0, 0, 0.35);
  aspect-ratio: 9 / 14;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}
.feature-card-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* ------------------------------- Quote (featured review) ------------------------------- */
.section-quote { padding: 60px 0; }
@media (min-width: 980px) { .section-quote { padding: 100px 0; } }

.quote-card {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  padding: 56px 40px 44px;
  border-radius: var(--r-2xl);
  background:
    linear-gradient(180deg, rgba(108, 201, 229, 0.10) 0%, rgba(74, 134, 201, 0.04) 100%);
  border: 1px solid rgba(108, 201, 229, 0.20);
  text-align: center;
  box-shadow: var(--shadow-lg), 0 0 80px rgba(108, 201, 229, 0.20);
}
.quote-mark {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(180deg, #FFD78A 0%, #E0A227 100%);
  color: #2B1A04;
  font-size: 96px;
  font-weight: 800;
  line-height: 1.1;
  box-shadow: 0 14px 30px rgba(224, 162, 39, 0.45);
  font-family: Georgia, serif;
}
.quote-text {
  margin: 30px 0 24px;
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.4px;
  color: var(--text);
}
.quote-author {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.quote-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--blue-accent) 0%, var(--violet) 100%);
  font-weight: 800;
  font-size: 18px;
  color: var(--white);
}
.quote-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}
.quote-name {
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.3px;
}
.quote-role {
  font-size: 14px;
  color: var(--text-3);
}

/* ------------------------------- Reviews grid ------------------------------- */
.review {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.review:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
}
.stars {
  color: var(--amber);
  font-size: 18px;
  letter-spacing: 2px;
  text-shadow: 0 0 16px rgba(224, 162, 39, 0.45);
}
.review-body {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
}
.review-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 14px;
}
.review-name {
  font-weight: 800;
  letter-spacing: -0.2px;
}
.review-tag {
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(74, 134, 201, 0.15);
  color: var(--blue-accent);
  border: 1px solid rgba(74, 134, 201, 0.30);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

/* ------------------------------- FAQ ------------------------------- */
.section-faq .section-head { margin-bottom: 36px; }
.faq {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.faq-item:hover { border-color: var(--border-strong); }
.faq-item[open] {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(108, 201, 229, 0.30);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 28px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.3px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '';
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--text-2);
  border-bottom: 2px solid var(--text-2);
  transform: rotate(45deg);
  transition: transform 0.25s ease;
  margin-bottom: 4px;
}
.faq-item[open] summary::after { transform: rotate(-135deg); margin-top: 4px; margin-bottom: 0; }
.faq-item p {
  margin: 0;
  padding: 0 28px 24px;
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.6;
}

/* ------------------------------- Final CTA ------------------------------- */
.section-cta { padding: 80px 0 100px; }
.cta-card {
  position: relative;
  text-align: center;
  padding: 60px 32px;
  border-radius: var(--r-2xl);
  background:
    radial-gradient(80% 90% at 50% 0%, rgba(224, 162, 39, 0.20) 0%, rgba(0, 0, 0, 0) 70%),
    linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid var(--border-strong);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.cta-art { display: flex; justify-content: center; margin-bottom: 18px; }
.cta-mark {
  width: 72px;
  height: 72px;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  box-sizing: border-box;
}
.cta-mark svg { width: 100%; height: 100%; display: block; }
.cta-title {
  margin: 0 0 12px;
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.1;
}
.cta-sub {
  margin: 0 0 28px;
  color: var(--text-2);
  font-size: 18px;
}
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ------------------------------- Footer ------------------------------- */
.footer {
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.35);
  padding: 60px 0 40px;
}
.footer-inner { display: grid; grid-template-columns: 1fr; gap: 40px; }
.footer-brand { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.footer-tag { color: var(--text-3); font-size: 14px; }
.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--text-3);
}
.footer-col a {
  font-weight: 600;
  font-size: 15px;
  color: var(--text-2);
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--text); }

.footer-fineprint {
  border-top: 1px solid var(--border);
  padding-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-fineprint p {
  margin: 0;
  color: var(--text-3);
  font-size: 13px;
  line-height: 1.55;
  max-width: 720px;
}
.copy { font-size: 13px; color: var(--text-4); }

@media (min-width: 720px) {
  .footer-inner {
    grid-template-columns: 1fr auto;
    align-items: start;
    gap: 48px;
  }
  .footer-fineprint {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
  }
}

/* ------------------------------- Legal pages ------------------------------- */
/* Shared layout for /privacy and /terms — narrow content column on top
   of the same dark gradient as the rest of the site. */
.legal {
  padding-top: 60px;
  padding-bottom: 100px;
}
.legal-shell {
  max-width: 760px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  padding: 50px 40px;
  box-shadow: var(--shadow-lg);
}
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-3);
  margin-bottom: 18px;
  letter-spacing: 0.3px;
  transition: color 0.2s ease;
}
.legal-back:hover { color: var(--text); }
.legal-title {
  font-size: clamp(32px, 4.6vw, 52px);
  font-weight: 800;
  letter-spacing: -1.2px;
  margin: 0 0 6px;
  line-height: 1.05;
}
.legal-meta {
  font-size: 14px;
  color: var(--text-3);
  letter-spacing: 0.3px;
  margin: 0 0 28px;
}
.legal-shell h2 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin: 36px 0 14px;
  color: var(--text);
}
.legal-shell h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin: 22px 0 8px;
  color: var(--text);
}
.legal-shell p, .legal-shell li {
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.65;
}
.legal-shell ul {
  padding-left: 20px;
  margin: 8px 0 14px;
}
.legal-shell li { margin-bottom: 6px; }
.legal-shell a {
  color: var(--cyan);
  border-bottom: 1px solid rgba(108, 201, 229, 0.30);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.legal-shell a:hover {
  color: var(--white);
  border-bottom-color: rgba(255, 255, 255, 0.50);
}
.legal-callout {
  margin: 22px 0;
  padding: 18px 22px;
  border-left: 4px solid var(--amber);
  background: rgba(224, 162, 39, 0.08);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
}
.legal-callout strong { font-weight: 800; }

@media (min-width: 720px) {
  .legal { padding-top: 80px; padding-bottom: 140px; }
  .legal-shell { padding: 70px 60px; }
}

/* ------------------------------- Selection ------------------------------- */
::selection {
  background: rgba(224, 162, 39, 0.40);
  color: var(--white);
}
