/* ============================================================
   RECALL READS — Global Stylesheet
   ============================================================ */

/* ── Variable Font ─────────────────────────────────────────── */
@font-face {
  font-family: "Zalando Sans";
  src: url("assets/ZalandoSans[wdth,wght,slnt].ttf") format("truetype");
  font-weight: 100 900;
  font-stretch: 75% 125%;
  font-style: normal oblique -12deg 0deg;
  font-display: swap;
}

/* ── Design Tokens ──────────────────────────────────────────── */
:root {
  /* Colors */
  --color-bg-primary:          #000000;
  --color-bg-secondary:        #0a0a0a;
  --color-label-primary:       #ffffff;
  --color-label-secondary:     rgba(235, 235, 245, 0.70);
  --color-label-vibrant:       #f5f5f5;
  --color-label-vibrant-sec:   #8a8a8a;
  --color-label-dim:           #727272;
  --color-separator:           #38383a;
  --color-fill-quaternary:     rgba(116, 116, 128, 0.08);

  /* Glass / blur */
  --glass-bg:                  rgba(255, 255, 255, 0.06);
  --glass-bg-dark:             rgba(0, 0, 0, 0.60);
  --glass-blur:                16px;
  --glass-border:              rgba(255, 255, 255, 0.12);

  /* Type scale – matching Figma */
  --font-family:               "Zalando Sans", -apple-system, system-ui, sans-serif;

  /* H1 Jumbo: Expanded Black 47/53 -1.1 */
  --font-h1-jumbo-size:        47px;
  --font-h1-jumbo-line:        53px;
  --font-h1-jumbo-tracking:    -1.1px;
  --font-h1-jumbo-stretch:     125%;
  --font-h1-jumbo-weight:      900;

  /* H1: Expanded Black 33/39 -1.1 */
  --font-h1-size:              33px;
  --font-h1-line:              39px;
  --font-h1-tracking:          -1.1px;
  --font-h1-stretch:           125%;
  --font-h1-weight:            900;

  /* H2: SemiExpanded Bold 23/29 -0.7 */
  --font-h2-size:              23px;
  --font-h2-line:              29px;
  --font-h2-tracking:          -0.7px;
  --font-h2-stretch:           112.5%;
  --font-h2-weight:            700;

  /* H3: Condensed Black 27/31 0 */
  --font-h3-size:              27px;
  --font-h3-line:              31px;
  --font-h3-tracking:          0px;
  --font-h3-stretch:           75%;
  --font-h3-weight:            900;

  /* H4: SemiExpanded Bold 15/19 -0.7 */
  --font-h4-size:              15px;
  --font-h4-line:              19px;
  --font-h4-tracking:          -0.7px;
  --font-h4-stretch:           112.5%;
  --font-h4-weight:            700;

  /* Paragraph: Regular 15/21 -0.7 */
  --font-p-size:               15px;
  --font-p-line:                21px;
  --font-p-tracking:           -0.7px;
  --font-p-stretch:            100%;
  --font-p-weight:             400;

  /* Caption: Medium 13/17 -0.7 */
  --font-cap-size:             13px;
  --font-cap-line:             17px;
  --font-cap-tracking:         -0.7px;
  --font-cap-stretch:          100%;
  --font-cap-weight:           500;

  /* Caption-small: Condensed Medium 12/15 -0.7 */
  --font-capsm-size:           12px;
  --font-capsm-line:           15px;
  --font-capsm-tracking:       -0.7px;
  --font-capsm-stretch:        75%;
  --font-capsm-weight:         500;

  /* Spacing */
  --space-xs:   8px;
  --space-sm:  16px;
  --space-md:  29px;
  --space-lg:  60px;
  --space-xl:  96px;
  --space-2xl: 260px;

  /* Radii */
  --radius-pill:  1000px;
  --radius-lg:      32px;
  --radius-md:      20px;
  --radius-sm:      12px;

  /* Nav */
  --nav-height: 66px;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background: var(--color-bg-primary);
  color: var(--color-label-primary);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Typography Utilities ───────────────────────────────────── */
.h1-jumbo {
  font-family: var(--font-family);
  font-variation-settings: "wdth" 125, "wght" 900;
  font-size: var(--font-h1-jumbo-size);
  line-height: var(--font-h1-jumbo-line);
  letter-spacing: var(--font-h1-jumbo-tracking);
  color: var(--color-label-vibrant);
}

.h1 {
  font-family: var(--font-family);
  font-variation-settings: "wdth" 125, "wght" 900;
  font-size: var(--font-h1-size);
  line-height: var(--font-h1-line);
  letter-spacing: var(--font-h1-tracking);
  color: var(--color-label-vibrant);
}

.h2 {
  font-family: var(--font-family);
  font-variation-settings: "wdth" 112, "wght" 700;
  font-size: var(--font-h2-size);
  line-height: var(--font-h2-line);
  letter-spacing: var(--font-h2-tracking);
  color: var(--color-label-primary);
}

.h3 {
  font-family: var(--font-family);
  font-variation-settings: "wdth" 75, "wght" 900;
  font-size: var(--font-h3-size);
  line-height: var(--font-h3-line);
  letter-spacing: var(--font-h3-tracking);
  color: var(--color-label-primary);
}

.h4 {
  font-family: var(--font-family);
  font-variation-settings: "wdth" 112, "wght" 700;
  font-size: var(--font-h4-size);
  line-height: var(--font-h4-line);
  letter-spacing: var(--font-h4-tracking);
  color: var(--color-label-primary);
}

.paragraph {
  font-family: var(--font-family);
  font-variation-settings: "wdth" 100, "wght" 400;
  font-size: var(--font-p-size);
  line-height: var(--font-p-line);
  letter-spacing: var(--font-p-tracking);
  color: var(--color-label-secondary);
}

.caption {
  font-family: var(--font-family);
  font-variation-settings: "wdth" 100, "wght" 500;
  font-size: var(--font-cap-size);
  line-height: var(--font-cap-line);
  letter-spacing: var(--font-cap-tracking);
  color: var(--color-label-dim);
}

.caption-small {
  font-family: var(--font-family);
  font-variation-settings: "wdth" 75, "wght" 500;
  font-size: var(--font-capsm-size);
  line-height: var(--font-capsm-line);
  letter-spacing: var(--font-capsm-tracking);
  color: var(--color-label-secondary);
}

/* ── Liquid Glass Mixin ──────────────────────────────────────── */
.liquid-glass {
  position: relative;
  background: linear-gradient(135deg,
    rgba(255,255,255,0.09) 0%,
    rgba(0,0,0,0.55) 100%
  );
  backdrop-filter: blur(var(--glass-blur)) saturate(1.4);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.4);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 40px rgba(0,0,0,0.18);
}

/* ── NAV BAR ─────────────────────────────────────────────────── */
.nav-bar {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 900;
  will-change: transform;
  animation: nav-enter 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes nav-enter {
  from { opacity: 0; transform: translateX(-50%) translateY(-20px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 12px 16px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg,
    rgba(255,255,255,0.07) 0%,
    rgba(0,0,0,0.62) 100%
  );
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border: 0.651px solid var(--color-separator);
  box-shadow: 0 8px 40px rgba(0,0,0,0.22);
}

.nav-icon {
  width: 42px;
  height: 42px;
  border-radius: 10.5px;
  border: 0.651px solid var(--color-separator);
  overflow: hidden;
  flex-shrink: 0;
}

.nav-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-links {
  display: flex;
  gap: 19px;
  align-items: center;
}

.nav-link {
  font-family: var(--font-family);
  font-variation-settings: "wdth" 112, "wght" 700;
  font-size: 15px;
  line-height: 19px;
  letter-spacing: -0.7px;
  color: var(--color-label-primary);
  transition: opacity 0.2s;
  white-space: nowrap;
}

.nav-link:hover { opacity: 0.7; }
.nav-link.active { opacity: 1; }

/* ── DOWNLOAD FLOATING WINDOW ──────────────────────────────── */
.download-float {
  position: fixed;
  left: 32px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 800;
  opacity: 1;
  pointer-events: auto;
}

.download-float-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  padding: 29px;
  width: 236px;
  border-radius: 32px;
  background: linear-gradient(135deg,
    rgba(255,255,255,0.08) 0%,
    rgba(0,0,0,0.58) 100%
  );
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 40px rgba(0,0,0,0.28);
}

.dl-appstore img {
  width: 170px;
  height: 58px;
  object-fit: contain;
}

.dl-trynow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
}

.dl-trynow img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.dl-qr-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 140px;
}

.dl-qr {
  width: 120px;
  height: 120px;
  border-radius: 8px;
  object-fit: cover;
}

.dl-caption {
  text-align: center;
  color: var(--color-label-vibrant-sec);
}

/* ── SECTIONS ────────────────────────────────────────────────── */
.section {
  width: 100%;
  padding: 0 var(--space-xl);
}

.section-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 10px;
  overflow: hidden;
}

/* ── HERO ────────────────────────────────────────────────────── */
.section-hero {
  padding-top: calc(var(--nav-height) + 10px);
  padding-bottom: 0;
}

.section-hero .section-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  overflow: visible;
}

/* Mascot video */
.hero-mascot {

}

.mascot-clip {
  width: 392px;
  height: 320px;
  overflow: hidden;
  position: relative;
  /* fade grass out into the black background */
  -webkit-mask-image: linear-gradient(to bottom, black 55%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 55%, transparent 100%);
}

.mascot-video {
  position: absolute;
  top: -60px;
  left: 0;
  width: 392px;
  height: 392px;
  object-fit: cover;
}

/* Hero copy */
.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 29px;
  width: 100%;
}

.hero-headline {
  text-align: center;
  mix-blend-mode: plus-lighter;
}

.hero-sub {
  text-align: center;
  max-width: 578px;
  font-size: 18px;
  line-height: 28px;
  color: var(--color-label-vibrant-sec);
}

/* Phone mockup */
/* iphone-bezel.png outer frame: 476×888 */
.hero-phone {
  position: relative;
  width: 476px;
  height: 888px;
  flex-shrink: 0;
  margin-top: 20px;
}

/* app-demo.mp4: 393×852, inset top:18.026px left:41.67px */
.phone-video-container {
  position: absolute;
  top: 18.026px;
  left: 41.67px;
  width: 393px;
  height: 852px;
  z-index: 1;
}

.phone-demo-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 44px;
  display: block;
}

/* bezel covers the full 476×888 frame, above the video */
.phone-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  z-index: 2;
}

.phone-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 2;
  pointer-events: none;
}

/* ── WIDGETS SECTION ─────────────────────────────────────────── */
.section-widgets {
  padding-top: var(--space-2xl);
  padding-bottom: 0;
}

.section-widgets .section-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

.widgets-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.section-headline {
  mix-blend-mode: plus-lighter;
}

.section-sub {
  max-width: 578px;
  font-size: 18px;
  line-height: 28px;
  color: var(--color-label-vibrant-sec);
}

/* Stage: book + arrows + devices stacked */
.widgets-stage {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* Book cover */
.widgets-book {
  position: relative;
  z-index: 2;
  margin-bottom: -8px;
}

.book-cover-img {
  width: 120px;
  height: 180px;
  object-fit: cover;
  border-radius: 2px 8px 8px 2px;
  display: block;
  box-shadow: 0 8px 32px rgba(0,0,0,0.6);
}

/* Arrow SVGs — static, fade in with stage2 */
.widgets-arrows {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 968px;
  height: 400px;
  pointer-events: none;
  z-index: 3;
  opacity: 0;
  transition: opacity 1.1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.widgets-arrows.is-visible {
  opacity: 1;
}

.arrow {
  position: absolute;
  overflow: visible;
}

/* Left arrow (173×173): arrowhead (1,171) → lock screen top-right; start (171,1) floats near book bottom */
.arrow-left {
  width: 173px;
  height: 173px;
  left: 218px;
  top: 192px;
}

/* Center arrow (57×187): arrowhead (18,185) → watch top-center; start (44,1) near book bottom */
.arrow-center {
  width: 57px;
  height: 187px;
  left: 466px;
  top: 195px;
}

/* Right arrow (116×159): arrowhead (113,151) → home screen top-left; start (15,1) floats near book bottom */
.arrow-right {
  width: 116px;
  height: 159px;
  left: 584px;
  top: 198px;
}

/* Devices row */
.widgets-devices {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 29px;
  width: 100%;
  padding-top: 200px;
}

.device-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 17px;
  flex-shrink: 0;
}

.device-mockup {
  flex-shrink: 0;
  overflow: hidden;
}

.device-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.device-lock,
.device-home {
  width: 356px;
  height: 420px;
}

.device-watch {
  width: 198px;
  height: 242px;
}

.device-label {
  font-size: 18px;
  line-height: 28px;
  color: var(--color-label-vibrant-sec);
  text-align: center;
  white-space: nowrap;
}

/* Stage-2 animation state (book + devices) */
.reveal-stage2 {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 1.1s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 1.1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-stage2.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── FOOTER ──────────────────────────────────────────────────── */
.section-footer {
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-lg);
}

.footer-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 10px;
  border-radius: 62px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 29px;
}

/* Footer top: icon + tagline */
.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 29px;
}

.footer-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  border: 1.24px solid var(--color-separator);
  overflow: hidden;
  flex-shrink: 0;
}

.footer-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer-tagline {
  text-align: center;
}

/* Forest image */
.footer-forest {
  width: 100%;
  max-width: 566px;
}

.forest-img {
  width: 100%;
  height: 578px;
  object-fit: cover;
  border-radius: 66px;
}

/* Footer nav */
.footer-nav { width: auto; }

.footer-nav-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 29px;
  flex-wrap: wrap;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
}

.footer-app-icon {
  width: 36px;
  height: 36px;
  border-radius: 40px;
  border: 0.558px solid var(--color-separator);
  overflow: hidden;
  flex-shrink: 0;
}

.footer-app-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer-link {
  transition: opacity 0.2s;
  white-space: nowrap;
}
.footer-link:hover { opacity: 0.6; }

/* Footer legal */
.footer-legal {
  text-align: center;
  color: var(--color-label-dim);
}

.footer-uido-link {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: inherit;
}

.footer-uido-link:hover {
  color: var(--color-label-vibrant);
}

/* ── SCROLL ANIMATIONS ──────────────────────────────────────── */
/* Smooth, calm reveal — modelled on SwiftUI .smooth (critically damped, no bounce) */
.reveal-up {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 1.1s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 1.1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.18s; }
.reveal-delay-2 { transition-delay: 0.36s; }
.reveal-delay-3 { transition-delay: 0.54s; }

/* ── PAGE LOADER ─────────────────────────────────────────────── */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--color-bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}


.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.loader-icon {
  width: 102px;
  height: 102px;
  object-fit: contain;
}

.loader-label {
  color: var(--color-label-primary);
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */

/* App Store badge — mobile fallback for the floating download panel */
.hero-appstore-link {
  display: none;
}

.hero-appstore-img {
  height: 58px;
  width: auto;
  display: block;
}

/* Large screens: show download float panel, hide inline badge */
@media (min-width: 1100px) {
  .download-float { display: flex; }
}

@media (max-width: 1099px) {
  .download-float { display: none !important; }
  .hero-appstore-link { display: block; }
  :root {
    --space-xl: 24px;
    --space-2xl: 120px;
  }
}

@media (max-width: 768px) {
  :root {
    --font-h1-jumbo-size: 33px;
    --font-h1-jumbo-line: 39px;
    --font-h1-size:       27px;
    --font-h1-line:       33px;
    --space-xl:    16px;
    --space-2xl:   80px;
  }

  .nav-inner { gap: 12px; padding: 10px 12px; }
  .nav-links { gap: 12px; }

  .mascot-clip {
    width: 280px;
    height: 230px;
  }
  .mascot-video {
    width: 280px;
    height: 280px;
    top: -43px;
  }

  /* scale = 320 / 476 ≈ 0.672 */
  .hero-phone {
    width: 320px;
    height: calc(888px * 0.672);
  }

  .phone-video-container {
    top: calc(18.026px * 0.672);
    left: calc(41.67px * 0.672);
    width: calc(393px * 0.672);
    height: calc(852px * 0.672);
  }

  .phone-demo-video {
    border-radius: calc(44px * 0.672);
  }

  .device-lock,
  .device-home {
    width: 280px;
    height: 330px;
  }

  .device-watch {
    width: 160px;
    height: 196px;
  }

  .forest-img {
    height: 380px;
    border-radius: 40px;
  }

  .footer-nav-inner {
    gap: 16px;
    padding: 12px;
  }
}

/* Hide arrows and stack devices vertically below desktop width */
@media (max-width: 1099px) {
  .widgets-arrows { display: none; }
  .widgets-devices {
    flex-direction: column;
    align-items: center;
    padding-top: 24px;
    gap: 40px;
  }
}

@media (max-width: 480px) {
  .nav-links li:first-child { display: none; }

  .section-headline { font-size: 27px; line-height: 33px; }
  .hero-sub, .section-sub { font-size: 15px; line-height: 21px; max-width: 100%; }

  .device-lock, .device-home { width: calc(100vw - 48px); height: auto; }
  .device-watch { width: 160px; height: 196px; }
}

/* ── Scrolled nav state ──────────────────────────────────────── */
.nav-bar.scrolled .nav-inner {
  background: linear-gradient(135deg,
    rgba(255,255,255,0.05) 0%,
    rgba(0,0,0,0.75) 100%
  );
}

/* ── LEGAL PAGE ──────────────────────────────────────────────── */
.section-legal {
  padding-top: calc(var(--nav-height) + 94px);
  padding-bottom: 0;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 29px;
}

.legal-hero {
  display: flex;
  flex-direction: column;
  gap: 29px;
  padding-bottom: var(--space-md);
}

.legal-page-title {
  mix-blend-mode: plus-lighter;
}

.legal-anchor-nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.legal-anchor-chip {
  display: inline-block;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-separator);
  font-family: var(--font-family);
  font-variation-settings: "wdth" 100, "wght" 500;
  font-size: var(--font-cap-size);
  line-height: var(--font-cap-line);
  letter-spacing: var(--font-cap-tracking);
  color: var(--color-label-secondary);
  transition: opacity 0.2s, border-color 0.2s;
}

.legal-anchor-chip:hover {
  opacity: 0.7;
  border-color: var(--color-label-dim);
}

.legal-section {
  display: flex;
  flex-direction: column;
  gap: 29px;
  padding-top: var(--space-lg);
  scroll-margin-top: calc(var(--nav-height) + 24px);
}

.legal-section-title {
  mix-blend-mode: plus-lighter;
}

.legal-body-text {
  font-family: var(--font-family);
  font-variation-settings: "wdth" 100, "wght" 400;
  font-size: 18px;
  line-height: 28px;
  letter-spacing: -0.7px;
  color: var(--color-label-vibrant-sec);
}

.legal-meta {
  font-family: var(--font-family);
  font-variation-settings: "wdth" 100, "wght" 500;
  font-size: var(--font-cap-size);
  line-height: var(--font-cap-line);
  letter-spacing: var(--font-cap-tracking);
  color: var(--color-label-dim);
}

.legal-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-left: 0;
  list-style: none;
}

.legal-list li {
  font-family: var(--font-family);
  font-variation-settings: "wdth" 100, "wght" 400;
  font-size: 18px;
  line-height: 28px;
  letter-spacing: -0.7px;
  color: var(--color-label-vibrant-sec);
  padding-left: 24px;
  position: relative;
}

.legal-list li::before {
  content: "\2013";
  position: absolute;
  left: 0;
  color: var(--color-label-dim);
}

.legal-list li strong {
  color: var(--color-label-primary);
  font-variation-settings: "wdth" 100, "wght" 600;
}

.legal-note {
  padding: 16px 20px;
  border-left: 2px solid var(--color-separator);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--color-fill-quaternary);
}

.legal-note .legal-body-text {
  font-size: 15px;
  line-height: 21px;
}

.legal-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-separator);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
}

.legal-table th,
.legal-table td {
  text-align: left;
  padding: 12px 16px;
  font-family: var(--font-family);
  font-size: 15px;
  line-height: 21px;
  letter-spacing: -0.7px;
  border-bottom: 1px solid var(--color-separator);
}

.legal-table thead tr th {
  font-variation-settings: "wdth" 112, "wght" 700;
  color: var(--color-label-primary);
  background: rgba(255,255,255,0.03);
}

.legal-table tbody tr:last-child td {
  border-bottom: none;
}

.legal-table td {
  font-variation-settings: "wdth" 100, "wght" 400;
  color: var(--color-label-secondary);
}

.legal-table a {
  color: var(--color-label-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-divider {
  height: 1px;
  background: var(--color-separator);
  margin-top: var(--space-md);
}

.legal-body-text a,
.legal-list li a {
  color: var(--color-label-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s;
}

.legal-body-text a:hover,
.legal-list li a:hover { opacity: 0.7; }

@media (max-width: 768px) {
  .legal-content { max-width: 100%; }
  .legal-body-text { font-size: 15px; line-height: 21px; }
  .legal-list li  { font-size: 15px; line-height: 21px; }
}
