/* ========================================================================
   MIMIX — Marketing Site
   Tunnl Labs Inc. DBA Mimix
   ======================================================================== */

:root {
  /* Aligned to product tokens (app/globals.css) */
  --cream: #f2efea;       /* --components-surface-1 */
  --cream-2: #f7f6f5;     /* --components-surface-2 */
  --cream-3: #f5f2ed;     /* --warm-neutral-100 */
  --paper: #fcfbf9;       /* --components-surface-3 */
  --ink: #0d0c0b;         /* --components-text-50 */
  --ink-2: #0d0c0b;
  --ink-soft: rgba(13, 12, 11, 0.72);  /* --components-text-100 */
  --muted: rgba(13, 12, 11, 0.56);      /* --components-text-200 */
  --muted-2: rgba(13, 12, 11, 0.4);
  --line: rgba(140, 137, 130, 0.16);   /* --components-border-2 */
  --line-strong: rgba(140, 137, 130, 0.32);
  --orange: #ff5a2c;       /* --primary-500 */
  --orange-deep: #e44012;  /* --primary-600 */
  --orange-soft: #ff734c;  /* --primary-400 */
  --orange-tint: #ffc8b8;  /* --primary-200 */
  --button-text: #faf8f5;  /* --components-text-solid-button */
  --neutral-300: #e0dcd5;
  --black-cta: #0d0c0b;

  --serif: 'Zalando Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; /* aliased to sans */
  --sans: 'Zalando Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --pad: clamp(20px, 4vw, 56px);
  --maxw: 1280px;
  --radius: 4px;      /* product uses `rounded` = 4px */
  --radius-md: 8px;
  --radius-lg: 16px;  /* product uses `rounded-2xl` = 16px for cards */

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--cream); color: var(--ink); }
html { overflow-x: hidden; }
body {
  font-family: var(--sans);
  font-weight: 400;
  letter-spacing: -0.05em; /* product uses tight tracking globally */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

::selection { background: var(--orange); color: var(--button-text); }

/* Zalando-only: kill italics everywhere; use color + weight for emphasis */
em, .italic, .it { font-style: normal; color: var(--orange); font-weight: 500; }

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

/* ---------- Type system ---------- */
.display {
  font-family: var(--sans);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.05em;
  font-optical-sizing: auto;
}
.display em, .display .it {
  font-style: normal;
  font-weight: 500;
  color: var(--orange);
}
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--orange);
  border-radius: 50%;
  display: inline-block;
}
.overline {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--muted);
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--cream) 86%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 240ms var(--ease), background 240ms var(--ease);
}
.nav.is-scrolled { border-bottom-color: rgba(140, 137, 130, 0.08); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}
.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 24px;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.nav-brand svg { width: 24px; height: 24px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
}
.nav-link {
  padding: 8px 12px;
  border-radius: var(--radius);
  color: var(--ink);
  font-weight: 400;
  letter-spacing: -0.05em;
  transition: background 160ms var(--ease);
}
.nav-link:hover { background: rgba(255, 90, 44, 0.08); }
.nav-link.is-active { background: rgba(255, 90, 44, 0.24); color: var(--orange); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  height: 40px;
  background: rgba(255, 90, 44, 0.12);
  color: var(--orange);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.03em;
  transition: background 160ms var(--ease);
}
.nav-cta:hover { background: rgba(255, 90, 44, 0.2); }
.nav-cta .dot { width: 6px; height: 6px; background: var(--orange); border-radius: 50%; }

.nav-tg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 90, 44, 0.12);
  color: var(--orange);
  border-radius: 10px;
  transition: background 160ms var(--ease);
}
.nav-tg:hover { background: rgba(255, 90, 44, 0.2); }

.nav-burger { display: none; width: 40px; height: 40px; border-radius: 10px; align-items: center; justify-content: center; }
.nav-burger span { display: block; width: 18px; height: 1.5px; background: var(--ink); position: relative; }
.nav-burger span::before, .nav-burger span::after { content: ''; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--ink); }
.nav-burger span::before { top: -5px; }
.nav-burger span::after { top: 5px; }

@media (max-width: 400px) {
  .nav-inner { gap: 10px; }
  .nav-cta {
    padding: 0 12px;
    height: 36px;
    font-size: 13px;
  }
  .nav-tg, .nav-burger { width: 36px; height: 36px; }
}

@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-burger { display: inline-flex; }
  .nav-links.is-open {
    display: flex;
    position: absolute;
    top: 68px;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 10px var(--pad) 18px;
    gap: 0;
  }
  .nav-links.is-open .nav-link { padding: 14px 8px; border-radius: 0; border-bottom: 1px solid var(--line); }
}

/* ---------- Buttons (matches product — flat, 4px radius, tight tracking) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: var(--radius);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: -0.05em;
  transition: opacity 160ms var(--ease), background 160ms var(--ease), color 160ms var(--ease);
  white-space: nowrap;
}
.btn:hover { opacity: 0.9; }
.btn--orange { background: var(--orange); color: var(--button-text); }
.btn--orange:hover { background: var(--orange); opacity: 0.9; }
.btn--ink { background: var(--ink); color: var(--button-text); }
.btn--ink:hover { background: var(--orange); color: var(--button-text); opacity: 1; }
.btn--ghost { background: rgba(38, 37, 34, 0.08); color: var(--ink); }
.btn--ghost:hover { background: rgba(38, 37, 34, 0.14); opacity: 1; }
.btn--lg { padding: 14px 20px; font-size: 15px; }
.btn .arr { transition: transform 200ms var(--ease); }
.btn:hover .arr { transform: translateX(3px); }

.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--orange);
  font-weight: 500;
  font-size: 14px;
  border-bottom: 1px solid transparent;
  transition: border-color 160ms var(--ease);
}
.inline-link:hover { border-bottom-color: var(--orange); }

/* ---------- Section rhythm ---------- */
section { padding: clamp(64px, 10vw, 120px) 0; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.section-head h2 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(40px, 5.6vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.05em;
  max-width: 14ch;
}
.section-head h2 em { font-style: normal; color: var(--orange); }
.section-head .lede {
  max-width: 36ch;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: -0.05em;
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 28px;
  background: var(--cream);
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand .footer-wordmark { height: 54px; width: auto; display: block; }
.footer-brand .wordmark {
  font-family: var(--sans);
  font-size: 40px;
  letter-spacing: -0.03em;
  line-height: 1;
}
.footer-nav {
  display: flex;
  justify-content: flex-end;
  gap: 36px;
  flex-wrap: wrap;
  font-size: 14px;
}
.footer-nav a { color: var(--ink-soft); transition: color 160ms var(--ease); }
.footer-nav a:hover { color: var(--orange); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  font-size: 12px;
  color: var(--muted);
  flex-wrap: wrap;
}
.footer-legal a { color: var(--muted); }
.footer-legal a:hover { color: var(--orange); }
.footer-legal { display: flex; gap: 20px; }

@media (max-width: 720px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-nav { justify-content: flex-start; }
}

/* ---------- Reveal on scroll ---------- */
.js-ready .reveal { opacity: 0; transform: translateY(16px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.js-ready .reveal.is-in { opacity: 1; transform: none; }
.js-ready .reveal-stagger > * { opacity: 0; transform: translateY(16px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.js-ready .reveal-stagger.is-in > * { opacity: 1; transform: none; }
.reveal-stagger.is-in > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.is-in > *:nth-child(2) { transition-delay: 80ms; }
.reveal-stagger.is-in > *:nth-child(3) { transition-delay: 160ms; }
.reveal-stagger.is-in > *:nth-child(4) { transition-delay: 240ms; }
.reveal-stagger.is-in > *:nth-child(5) { transition-delay: 320ms; }
.reveal-stagger.is-in > *:nth-child(6) { transition-delay: 400ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; transition: none; }
}

/* ---------- Orbital mark (hero SVG) ---------- */
.orbital-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
}
.orbital-rings {
  position: absolute;
  inset: 0;
  animation: orb-rotate 32s linear infinite;
  transform-origin: 50% 50%;
}
.orbital-rings .ring-b { animation: orb-rotate-b 44s linear infinite reverse; transform-origin: 50% 50%; }
.orbital-inner { animation: orb-pulse 6s var(--ease) infinite; transform-origin: 50% 50%; }

@keyframes orb-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes orb-rotate-b {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes orb-pulse {
  0%, 100% { opacity: 0.92; }
  50% { opacity: 1; }
}

/* ---------- Platform row ---------- */
.platforms {
  display: flex;
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
  flex-wrap: wrap;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.platforms .label {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding-right: 16px;
  border-right: 1px solid var(--line);
}
.platform {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  opacity: 0.9;
  transition: opacity 160ms var(--ease);
}
.platform:hover { opacity: 1; }
.platform svg { width: 22px; height: 22px; }

/* Optional trailing note (e.g. brands page) — desktop sits inline end */
.platforms-note {
  margin-left: auto;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  min-width: 0;
  line-height: 1.4;
}

@media (max-width: 560px) {
  .platforms {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    gap: 12px;
    padding: 22px 0;
  }
  .platforms .label {
    grid-column: 1 / -1;
    padding-right: 0;
    border-right: 0;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
  }
  .platforms .platform {
    justify-content: center;
    gap: 6px;
    font-size: 13px;
  }
  .platforms .platform svg { width: 18px; height: 18px; }
  .platforms-note {
    grid-column: 1 / -1;
    margin-left: 0;
    margin-top: 4px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
    text-align: left;
  }
}
@media (max-width: 380px) {
  .platforms .platform { font-size: 12px; gap: 4px; }
  .platforms .platform svg { width: 16px; height: 16px; }
}

/* ---------- Cards (match product CampaignCard: surface-2, border-1, rounded-2xl, hover -> primary-400) ---------- */
.card {
  background: var(--cream-2);
  border: 1px solid rgba(140, 137, 130, 0.08);
  border-radius: var(--radius-lg);
  padding: 16px;
  transition: border-color 240ms var(--ease), box-shadow 240ms var(--ease);
}
.card:hover {
  border-color: var(--orange-soft);
  box-shadow: 0 10px 30px -18px rgba(13, 12, 11, 0.18);
}

/* ---------- Tag / pill ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(13, 12, 11, 0.06);
  border-radius: 999px;
  font-size: 12px;
  color: var(--ink-soft);
  font-weight: 500;
}
.pill--orange { background: rgba(255, 90, 44, 0.12); color: var(--orange-deep); }

/* ---------- SEO / GEO content blocks ---------- */
.entity-snapshot {
  padding: clamp(20px, 5vw, 64px) 0 clamp(64px, 9vw, 104px);
  background: var(--cream);
}
.entity-box {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(28px, 5vw, 56px);
  background:
    radial-gradient(80% 70% at 100% 0%, rgba(255, 90, 44, 0.08), transparent 58%),
    var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.entity-box h2 {
  font-family: var(--sans);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1;
  max-width: 16ch;
  margin-top: 18px;
}
.entity-box p {
  color: var(--ink-soft);
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.55;
  letter-spacing: -0.04em;
  max-width: 58ch;
  margin-top: 22px;
}
.entity-points {
  display: grid;
  gap: 10px;
}
.entity-points > div {
  padding: 18px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.entity-points strong {
  display: block;
  margin-top: 8px;
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.04em;
}
.faq-section {
  background: var(--cream);
  border-top: 1px solid var(--line);
}
.faq-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.faq-item {
  background: var(--paper);
  padding: clamp(20px, 3vw, 28px);
  min-height: 240px;
}
.faq-item h3 {
  font-family: var(--sans);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin-bottom: 14px;
}
.faq-item p {
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.55;
  letter-spacing: -0.04em;
}
.visual-title {
  font-family: var(--sans);
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1;
  letter-spacing: -0.02em;
  font-weight: 400;
  color: #fff;
  max-width: 18ch;
}
.visual-title em {
  color: #FFDAC9;
}
@media (max-width: 1100px) {
  .faq-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .entity-box { grid-template-columns: 1fr; }
  .entity-box { padding: 24px; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-item { min-height: 0; }
}

/* ---------- Utility ---------- */
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: -0.01em; }
.grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.06;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- Dark CTA strip ---------- */
.cta-strip {
  position: relative;
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: clamp(44px, 6vw, 72px);
  overflow: hidden;
  isolation: isolate;
}
.cta-strip::before {
  content: '';
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  width: 520px;
  height: 520px;
  background: radial-gradient(circle at 30% 30%, rgba(255,75,26,0.35), rgba(255,75,26,0) 60%);
  filter: blur(10px);
  z-index: -1;
}
.cta-strip h3 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.05em;
  max-width: 16ch;
}
.cta-strip h3 em { font-style: normal; color: var(--orange-soft); }
.cta-strip p { color: rgba(255, 242, 235, 0.7); margin-top: 18px; max-width: 48ch; font-size: 16px; }
.cta-strip .actions { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
.cta-strip .btn--orange { box-shadow: 0 20px 40px -20px rgba(255,75,26,0.6); }
.cta-strip .btn--ghost { color: var(--cream); border-color: rgba(255,242,235,0.25); }
.cta-strip .btn--ghost:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  position: relative;
  padding: 12px 0;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 48px;
  animation: marquee 32s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 28px;
  letter-spacing: -0.05em;
  color: var(--ink);
}
.marquee-item em { font-style: normal; color: var(--orange); }
.marquee-item .dot { width: 6px; height: 6px; background: var(--ink); border-radius: 50%; opacity: 0.25; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Ambient loop slot ---------- */
.ambient-slot {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 20% 10%, rgba(255,106,61,0.35), transparent 50%),
    radial-gradient(140% 100% at 80% 90%, rgba(255,75,26,0.45), transparent 55%),
    linear-gradient(135deg, #FF7A4C 0%, #FF4B1A 50%, #C8300A 100%);
  color: rgba(255, 242, 235, 0.9);
}
.ambient-slot::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.35 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.22;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.ambient-slot .slot-meta {
  position: absolute;
  top: 16px; left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  padding: 6px 10px;
  background: rgba(13, 12, 11, 0.4);
  border-radius: 999px;
  letter-spacing: 0.04em;
}
.ambient-slot .slot-meta::before {
  content: '';
  width: 6px; height: 6px;
  background: #fff;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.75); }
}
.ambient-slot .slot-caption {
  position: absolute;
  left: 24px; bottom: 22px; right: 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
}
.ambient-slot .slot-caption h4 {
  font-family: var(--sans);
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1;
  letter-spacing: -0.02em;
  font-weight: 400;
  color: #fff;
  max-width: 18ch;
}
.ambient-slot .slot-caption h4 em { font-style: italic; color: #FFDAC9; }

/* Orbital decoration inside ambient slot */
.ambient-orbit {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0.35;
}
.ambient-orbit .ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  animation: orb-rotate 40s linear infinite;
}
.ambient-orbit .ring:nth-child(1) { width: 70%; height: 70%; animation-duration: 38s; }
.ambient-orbit .ring:nth-child(2) { width: 55%; height: 55%; transform: rotateX(70deg); animation-duration: 28s; animation-direction: reverse; border-color: rgba(255, 218, 201, 0.55); }
.ambient-orbit .ring:nth-child(3) { width: 40%; height: 40%; transform: rotateY(70deg); animation-duration: 22s; }

/* ---------- Legal documents ---------- */
.legal-main {
  padding-top: clamp(40px, 6vw, 72px);
  padding-bottom: clamp(56px, 10vw, 96px);
}
.legal-doc {
  max-width: 720px;
}
.legal-doc h1,
.legal-doc h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 500;
  letter-spacing: -0.04em;
  margin-bottom: 0.45em;
  line-height: 1.15;
}
.legal-doc h4 {
  font-size: clamp(17px, 1.25vw, 19px);
  font-weight: 600;
  margin-top: 1.65em;
  margin-bottom: 0.6em;
  letter-spacing: -0.03em;
  line-height: 1.25;
}
.legal-doc h5 {
  font-size: 15px;
  font-weight: 600;
  margin-top: 1.15em;
  margin-bottom: 0.45em;
  color: var(--ink-soft);
  letter-spacing: -0.02em;
}
.legal-doc p {
  margin-bottom: 0.85em;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
}
.legal-doc p strong,
.legal-doc h1 strong,
.legal-doc h2 strong,
.legal-doc h4 strong {
  color: var(--ink);
  font-weight: 600;
}
.legal-doc ul {
  margin: 0 0 1em 1.15em;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
}
.legal-doc li { margin-bottom: 0.32em; }
.legal-doc a {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-doc [id] { scroll-margin-top: 88px; }
