/* ──────────────────────────────────────────────────────────
   uni8 — standalone landing clone
   Single-file CSS, no framework.
   ────────────────────────────────────────────────────────── */

:root {
  /* Palette ported from the Next.js app's globals.css */
  --ink: oklch(0.12 0.003 95);
  --paper: oklch(0.97 0.005 95);
  --neon: oklch(0.78 0.18 41);
  --blaze: oklch(0.37 0.26 265);
  --ember: oklch(0.53 0.2 18);
  --spark: oklch(0.88 0.13 88);

  --sticker-blue: oklch(0.37 0.26 265);
  --sticker-coral: oklch(0.53 0.2 18);
  --sticker-pink: oklch(0.88 0.13 88);

  --max-w: 80rem;        /* matches max-w-7xl */
  --gutter: 1.5rem;      /* px-6 */

  --font-display: "Cairo", system-ui, sans-serif;
  --font-body: "Cairo", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  position: fixed;
  top: 1rem;
  left: 1rem;
  width: auto;
  height: auto;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 0.5rem 1rem;
  font-weight: 700;
  font-size: 0.875rem;
}

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

.section {
  padding-top: 5rem;
  padding-bottom: 5rem;
}
.section--md {
  padding-top: 5rem;
  padding-bottom: 5rem;
}
.section--lg {
  padding-top: 6rem;
  padding-bottom: 6rem;
}
@media (min-width: 1024px) {
  .section--md {
    padding-top: 7rem;
    padding-bottom: 7rem;
  }
  .section--lg {
    padding-top: 9rem;
    padding-bottom: 9rem;
  }
}

/* ── Backgrounds (textures) ───────────────────────────── */
.land-paper {
  background-color: var(--paper);
  background-image: radial-gradient(
    circle,
    oklch(0.82 0.005 95 / 0.55) 1px,
    transparent 1px
  );
  background-size: 24px 24px;
}

.land-texture {
  background-color: var(--ink);
  background-image: radial-gradient(
    circle,
    oklch(0.97 0.005 95 / 0.035) 1px,
    transparent 1px
  );
  background-size: 20px 20px;
  color: var(--paper);
}

/* ── Type primitives ──────────────────────────────────── */
.display {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 0;
}
.display--xl {
  font-size: clamp(2.8rem, 7vw, 6rem);
  line-height: 0.93;
}
.display--lg {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
}
.display--md {
  font-size: clamp(2rem, 4vw, 3rem);
}
.display--sm {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
}
.display--paper {
  color: var(--paper);
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 900;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin: 0 0 1rem;
}
.eyebrow--ink {
  color: oklch(0.12 0.003 95 / 0.35);
}
.eyebrow--ink-faint {
  color: oklch(0.12 0.003 95 / 0.25);
}
.eyebrow--paper-faint {
  color: oklch(0.97 0.005 95 / 0.25);
}

.lede {
  font-size: 1.125rem;
  line-height: 1.6;
  color: oklch(0.12 0.003 95 / 0.65);
  max-width: 32rem;
  margin: 1.5rem 0 0;
}

.note {
  font-size: 0.875rem;
  margin-top: 1.25rem;
  color: oklch(0.12 0.003 95 / 0.38);
}
.note--paper {
  color: oklch(0.97 0.005 95 / 0.38);
}

.highlight {
  background: var(--neon);
  color: var(--ink);
  padding: 0 0.25rem;
}

/* ── Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-weight: 900;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.875rem 1.75rem;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease,
    border-color 180ms ease;
  border-radius: 0;
}
.btn--lg {
  padding: 1rem 2rem;
}
.btn--blaze {
  background: var(--blaze);
  color: var(--paper);
}
.btn--blaze:hover {
  background: oklch(0.37 0.26 265 / 0.9);
}
.btn--outline-blaze {
  background: transparent;
  color: var(--blaze);
  border-color: var(--blaze);
  padding: 0.625rem 1.25rem;
}
.btn--outline-blaze:hover {
  background: var(--blaze);
  color: var(--paper);
}
.btn--outline-paper {
  background: transparent;
  color: var(--paper);
  border-color: oklch(0.97 0.005 95 / 0.3);
  padding: 0.875rem 1.75rem;
  white-space: nowrap;
  flex-shrink: 0;
}
.btn--outline-paper:hover {
  background: oklch(0.97 0.005 95 / 0.1);
}

.link-arrow {
  font-size: 0.875rem;
  font-weight: 500;
  color: oklch(0.12 0.003 95 / 0.5);
  transition: color 180ms ease;
}
.link-arrow:hover {
  color: var(--ink);
}

.chip {
  display: inline-block;
  font-weight: 900;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: oklch(0.12 0.003 95 / 0.25);
  border: 1px solid oklch(0.12 0.003 95 / 0.15);
  padding: 0.125rem 0.5rem;
}

/* ── Navbar ───────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid oklch(0.12 0.003 95 / 0.1);
}
.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav__logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  user-select: none;
}
a.nav__logo:hover {
  color: oklch(0.12 0.003 95 / 0.85);
}
.nav__links {
  display: none;
  align-items: center;
  gap: 2rem;
}
@media (min-width: 768px) {
  .nav__links {
    display: flex;
  }
}
.nav__link {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: oklch(0.12 0.003 95 / 0.5);
  transition: color 180ms ease;
}
.nav__link:hover {
  color: var(--ink);
}
.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.nav__signin {
  display: none;
  font-size: 0.875rem;
  font-weight: 500;
  color: oklch(0.12 0.003 95 / 0.55);
  transition: color 180ms ease;
}
.nav__signin:hover {
  color: var(--ink);
}
@media (min-width: 640px) {
  .nav__signin {
    display: inline;
  }
}

/* Language toggle (EN | عربي) */
.lang-toggle {
  display: inline-flex;
  align-items: stretch;
  border-radius: 999px;
  border: 1px solid oklch(0.12 0.003 95 / 0.14);
  background: oklch(0.97 0.005 95 / 0.6);
  overflow: hidden;
}
.lang-toggle__btn {
  appearance: none;
  border: none;
  margin: 0;
  padding: 0.35rem 0.65rem;
  font-family: inherit;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: oklch(0.12 0.003 95 / 0.45);
  background: transparent;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease;
}
.lang-toggle__btn:hover {
  color: var(--ink);
}
.lang-toggle__btn--active {
  background: var(--ink);
  color: var(--paper);
}
.lang-toggle__btn--active:hover {
  color: var(--paper);
}
html[dir="rtl"] .lang-toggle__btn:not(.lang-toggle__btn--active) {
  text-transform: none;
  letter-spacing: 0.02em;
}

/* RTL layout helpers */
html[dir="rtl"] .chip {
  text-transform: none;
  letter-spacing: 0.04em;
}
html[dir="rtl"] .nav__link {
  text-transform: none;
  letter-spacing: 0.06em;
}
html[dir="rtl"] .acad-arrow svg {
  transform: scaleX(-1);
}
html[dir="rtl"] .acad-row:hover .acad-arrow {
  transform: translateX(-2px);
}
html[dir="rtl"] .acad-cta-action svg {
  transform: scaleX(-1);
}
html[dir="rtl"] .footer__col-title {
  text-transform: none;
  letter-spacing: 0.04em;
}

/* ── Hero ─────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 88vh;
  display: flex;
  align-items: center;
}
.hero__inner {
  padding-top: 5rem;
  padding-bottom: 5rem;
  max-width: var(--max-w);
}
@media (min-width: 640px) {
  .hero__inner {
    padding-top: 7rem;
    padding-bottom: 7rem;
  }
}
.hero__inner > * {
  max-width: 48rem;
}
.hero__inner .lede {
  margin-top: 1.75rem;
}
.hero__cta {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

/* Stickers */
.stickers {
  display: none;
}
@media (min-width: 768px) {
  .stickers {
    display: block;
  }
}
.sticker {
  position: absolute;
  font-family: var(--font-body);
  font-weight: 900;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
  line-height: 1.1;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.sticker--circle {
  border-radius: 9999px;
  padding: 0.75rem;
}
.sticker--md {
  width: 5rem;
  height: 5rem;
}
.sticker--lg {
  width: 6rem;
  height: 6rem;
}
.sticker--xl {
  width: 7rem;
  height: 7rem;
}
.sticker--badge {
  padding: 0.625rem 1rem;
  letter-spacing: 0.18em;
}
.sticker--neon {
  background: var(--neon);
  color: var(--ink);
}
.sticker--blue {
  background: var(--sticker-blue);
  color: var(--paper);
}
.sticker--coral {
  background: var(--sticker-coral);
  color: var(--paper);
}
.sticker--pink {
  background: var(--sticker-pink);
  color: var(--ink);
}
.sticker--rotL12 {
  transform: rotate(-12deg);
}
.sticker--rotL6 {
  transform: rotate(-6deg);
}
.sticker--rotR2 {
  transform: rotate(2deg);
}
.sticker--rotR6 {
  transform: rotate(6deg);
}

/* Hero sticker positioning */
.hero__sticker-1 {
  top: 5rem;
  right: 3rem;
}
.hero__sticker-2 {
  top: 13rem;
  right: 11rem;
}
.hero__sticker-3 {
  bottom: 5rem;
  right: 5rem;
}

/* ── Split section (What is uni8) ─────────────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
  .split {
    grid-template-columns: 5fr 7fr;
  }
}
.split__left {
  position: relative;
  min-height: 18rem;
  overflow: hidden;
}
@media (min-width: 1024px) {
  .split__left {
    min-height: 0;
  }
}
.split__right {
  padding: 4rem 2rem;
}
@media (min-width: 1024px) {
  .split__right {
    padding: 6rem 3.5rem;
  }
}
.split__right .lede {
  max-width: 32rem;
}
.split__right .lede + .lede {
  margin-top: 1rem;
}
.split__cta {
  margin-top: 2.5rem;
}

/* watermark */
.watermark--corner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 1.5rem;
  pointer-events: none;
  user-select: none;
  overflow: hidden;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 160px;
  line-height: 1;
  color: oklch(0.97 0.005 95 / 0.04);
}

/* What sticker positioning */
.what__sticker-1 {
  top: 2.5rem;
  left: 1.5rem;
}
.what__sticker-2 {
  bottom: 2.5rem;
  right: 2.5rem;
}
.what__sticker-3 {
  top: 50%;
  right: 1.5rem;
  transform: translateY(-50%) rotate(2deg);
}

/* ── How it works ─────────────────────────────────────── */
.how__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
}
@media (min-width: 1024px) {
  .how__grid {
    grid-template-columns: 240px 1fr;
    gap: 5rem;
  }
}
.how__heading {
  padding-top: 0;
}
@media (min-width: 1024px) {
  .how__heading {
    padding-top: 2rem;
  }
}
.how__steps {
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 3.5rem;
  row-gap: 0;
}
@media (min-width: 640px) {
  .how__steps {
    grid-template-columns: 1fr 1fr;
  }
}
.how__step {
  padding: 2rem 0 3.5rem;
  border-top: 1px solid oklch(0.12 0.003 95 / 0.1);
}
.how__step-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 4.5rem;
  line-height: 1;
  color: oklch(0.12 0.003 95 / 0.13);
  user-select: none;
  margin-bottom: 1.5rem;
}
.how__step-title {
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.35;
  margin: 0;
}
.how__step-desc {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  color: oklch(0.12 0.003 95 / 0.55);
  line-height: 1.6;
  max-width: 40ch;
}

/* ── Academies ────────────────────────────────────────── */
.academies {
  border-top: 1px solid oklch(0.12 0.003 95 / 0.1);
}
.academies__head {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3.5rem;
}
@media (min-width: 1024px) {
  .academies__head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 4rem;
    margin-bottom: 4rem;
  }
}
.academies__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.academies__meta .eyebrow {
  margin: 0;
}
.academies__sub {
  font-size: 1rem;
  color: oklch(0.12 0.003 95 / 0.45);
  max-width: 24rem;
  line-height: 1.6;
  margin: 0;
}
@media (min-width: 1024px) {
  .academies__sub {
    text-align: right;
    margin-top: 0;
  }
}

.academies__list {
  border-top: 1px solid oklch(0.12 0.003 95 / 0.15);
}

.acad-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid oklch(0.12 0.003 95 / 0.1);
  cursor: default;
  transition: background-color 200ms ease, color 200ms ease,
    opacity 0.52s cubic-bezier(0.22, 1, 0.36, 1) var(--acad-delay, 0ms),
    transform 0.52s cubic-bezier(0.22, 1, 0.36, 1) var(--acad-delay, 0ms);
  opacity: 0;
  transform: translateY(14px);
}
@media (min-width: 640px) {
  .acad-row {
    gap: 1.5rem;
    padding: 1.5rem 0;
  }
}
.acad-row.acad-in {
  opacity: 1;
  transform: translateY(0);
}
.acad-row:hover {
  background-color: oklch(0.12 0.003 95 / 0.03);
}

.acad-badge {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--neon);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1rem;
  color: var(--ink);
  user-select: none;
  transition: transform 200ms ease;
}
.acad-row:hover .acad-badge {
  transform: scale(1.12);
}

.acad-names {
  flex: 1;
  min-width: 0;
}
.acad-name {
  font-weight: 600;
  font-size: 15px;
  line-height: 1.25;
}
.acad-altname {
  font-size: 11px;
  color: oklch(0.12 0.003 95 / 0.35);
  margin-top: 0.125rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.acad-meta {
  display: none;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
@media (min-width: 640px) {
  .acad-meta {
    display: flex;
  }
}
.acad-sport {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: oklch(0.12 0.003 95 / 0.35);
  transition: color 200ms ease;
}
.acad-city {
  font-size: 11px;
  color: oklch(0.12 0.003 95 / 0.35);
  transition: color 200ms ease;
}
.acad-row:hover .acad-sport,
.acad-row:hover .acad-city {
  color: oklch(0.12 0.003 95 / 0.6);
}
.acad-dot {
  color: oklch(0.12 0.003 95 / 0.15);
}

.acad-arrow {
  flex-shrink: 0;
  color: oklch(0.12 0.003 95 / 0.15);
  transition: color 200ms ease, transform 200ms ease;
  display: flex;
}
.acad-row:hover .acad-arrow {
  color: oklch(0.12 0.003 95 / 0.4);
  transform: translateX(2px);
}

/* CTA join row */
.acad-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--ink);
  padding: 1.25rem 1rem;
  text-decoration: none;
  transition: background-color 200ms ease,
    opacity 0.52s cubic-bezier(0.22, 1, 0.36, 1) var(--acad-delay, 0ms),
    transform 0.52s cubic-bezier(0.22, 1, 0.36, 1) var(--acad-delay, 0ms);
  opacity: 0;
  transform: translateY(14px);
}
@media (min-width: 640px) {
  .acad-cta {
    gap: 1.5rem;
    padding: 1.5rem 1rem;
  }
}
.acad-cta.acad-in {
  opacity: 1;
  transform: translateY(0);
}
.acad-cta:hover {
  background: oklch(0.12 0.003 95 / 0.85);
}
.acad-cta-badge {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid oklch(0.97 0.005 95 / 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: oklch(0.97 0.005 95 / 0.4);
  transition: border-color 200ms ease, background-color 200ms ease,
    color 200ms ease;
}
.acad-cta:hover .acad-cta-badge {
  border-color: oklch(0.78 0.18 41 / 0.5);
  background: oklch(0.78 0.18 41 / 0.1);
  color: var(--neon);
}
.acad-cta-label {
  flex: 1;
  font-weight: 600;
  font-size: 15px;
  color: var(--paper);
}
.acad-cta-action {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-weight: 900;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--neon);
  transition: transform 200ms ease;
}
.acad-cta:hover .acad-cta-action {
  transform: translateX(2px);
}

@media (prefers-reduced-motion: reduce) {
  .acad-row,
  .acad-cta {
    opacity: 1;
    transform: none;
    transition: background-color 200ms ease, color 200ms ease;
  }
}

/* ── Pricing strip + final CTA ───────────────────────── */
.pricing-strip {
  padding-top: 3.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid oklch(0.97 0.005 95 / 0.1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .pricing-strip {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.pricing-strip__sub {
  margin: 0.5rem 0 0;
  font-size: 1rem;
  color: oklch(0.97 0.005 95 / 0.45);
  max-width: 28rem;
}

.cta {
  max-width: 40rem;
}
.cta__actions {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

/* ── Footer ──────────────────────────────────────────── */
.footer {
  background: var(--paper);
  border-top: 1px solid oklch(0.12 0.003 95 / 0.1);
}
.footer__inner {
  padding-top: 4rem;
  padding-bottom: 2rem;
}
.footer__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .footer__cols {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
.footer__brand {
  grid-column: span 2;
}
@media (min-width: 1024px) {
  .footer__brand {
    grid-column: span 1;
  }
}
.footer__logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
}
.footer__tag {
  margin: 0.75rem 0 0;
  max-width: 18rem;
  font-size: 0.875rem;
  color: oklch(0.12 0.003 95 / 0.45);
  line-height: 1.6;
}
.footer__col-title {
  font-weight: 900;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: oklch(0.12 0.003 95 / 0.35);
  margin: 0 0 1rem;
}
.footer__list li {
  margin-bottom: 0.75rem;
}
.footer__list a {
  font-size: 0.875rem;
  color: oklch(0.12 0.003 95 / 0.5);
  transition: color 180ms ease;
}
.footer__list a:hover {
  color: var(--ink);
}
.footer__bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid oklch(0.12 0.003 95 / 0.1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: oklch(0.12 0.003 95 / 0.3);
}
@media (min-width: 640px) {
  .footer__bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.footer__bottom p {
  margin: 0;
}
.footer__watermark {
  overflow: hidden;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22vw;
  line-height: 1;
  color: oklch(0.12 0.003 95 / 0.04);
  user-select: none;
  padding: 0 1rem;
  margin-bottom: -0.25rem;
}

/* ── Legal pages (Privacy Policy, Terms of Service) ───── */
.legal-page__inner {
  max-width: 48rem;
}
.legal-page__header {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid oklch(0.12 0.003 95 / 0.12);
}
.legal-page__meta {
  margin: 1rem 0 0;
  font-size: 0.875rem;
  color: oklch(0.12 0.003 95 / 0.55);
  line-height: 1.65;
}
.legal-nav-note {
  margin: 0 0 1.5rem;
  font-size: 0.875rem;
}
.legal-nav-note a {
  color: var(--blaze);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.legal-nav-note a:hover {
  color: oklch(0.37 0.26 265 / 0.85);
}

.legal-prose {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
}
.legal-prose > * + * {
  margin-top: 1rem;
}
.legal-prose > h2 {
  margin-top: 2.75rem;
  margin-bottom: 0.75rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.375rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.legal-prose > h2:first-child {
  margin-top: 0;
}
.legal-prose > h3 {
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.35;
}
.legal-prose ul,
.legal-prose ol {
  margin: 0.75rem 0 0;
  padding-inline-start: 1.35rem;
}
.legal-prose li + li {
  margin-top: 0.35rem;
}
.legal-prose li > ul,
.legal-prose li > ol {
  margin-top: 0.35rem;
}
.legal-prose strong {
  font-weight: 700;
}
.legal-prose hr {
  margin: 2.25rem 0;
  border: none;
  border-top: 1px solid oklch(0.12 0.003 95 / 0.12);
}
.legal-prose .legal-lead {
  font-size: 1.05rem;
  color: oklch(0.12 0.003 95 / 0.72);
}

.legal-table-wrap {
  margin: 1.25rem 0 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 0.5rem;
  border: 1px solid oklch(0.12 0.003 95 / 0.12);
}
.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
  line-height: 1.45;
}
.legal-table th,
.legal-table td {
  padding: 0.65rem 0.75rem;
  text-align: start;
  vertical-align: top;
  border-bottom: 1px solid oklch(0.12 0.003 95 / 0.08);
}
.legal-table th {
  font-weight: 800;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: oklch(0.12 0.003 95 / 0.45);
  background: oklch(0.97 0.005 95 / 0.85);
}
html[dir="rtl"] .legal-table th {
  text-transform: none;
  letter-spacing: 0.04em;
}
.legal-table tr:last-child td {
  border-bottom: none;
}

.legal-prose .legal-disclaimer {
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  background: oklch(0.97 0.005 95 / 0.9);
  border: 1px solid oklch(0.12 0.003 95 / 0.08);
  border-radius: 0.375rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: oklch(0.12 0.003 95 / 0.75);
}
