/* Get Limitless — Typography Tokens
   Single family: Manrope. Scale contrast does the work.
   Imported from Google Fonts. */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&display=swap');

:root {
  /* ── Font family ── */
  --font-sans:   'Manrope', system-ui, -apple-system, sans-serif;

  /* ── Font weights ── */
  --weight-light:      300;
  --weight-regular:    400;
  --weight-medium:     500;
  --weight-semibold:   600;
  --weight-bold:       700;
  --weight-extrabold:  800;

  /* ── Type scale ── */
  --text-display:    clamp(56px, 8vw, 112px);
  --text-hero:       clamp(40px, 6vw, 80px);
  --text-h1:         clamp(32px, 4.5vw, 56px);
  --text-h2:         clamp(24px, 3vw, 36px);
  --text-h3:         clamp(20px, 2.5vw, 28px);
  --text-h4:         20px;
  --text-body-lg:    18px;
  --text-body:       16px;
  --text-body-sm:    14px;
  --text-caption:    13px;
  --text-label:      12px;
  --text-stat:       clamp(64px, 10vw, 140px);

  /* ── Line heights ── */
  --lh-display:   1.05; /* @kind other */
  --lh-heading:   1.15; /* @kind other */
  --lh-body:      1.65; /* @kind other */
  --lh-tight:     1.1; /* @kind other */

  /* ── Letter spacing ── */
  --ls-display:   -0.025em;
  --ls-heading:   -0.015em;
  --ls-body:       0; /* @kind other */
  --ls-label:      0.08em;
  --ls-caps:       0.1em;

  /* ── Semantic text styles ── */
  --font-display:    var(--weight-extrabold) var(--text-display)/var(--lh-display) var(--font-sans);
  --font-hero:       var(--weight-extrabold) var(--text-hero)/var(--lh-display) var(--font-sans);
  --font-h1:         var(--weight-bold) var(--text-h1)/var(--lh-heading) var(--font-sans);
  --font-h2:         var(--weight-semibold) var(--text-h2)/var(--lh-heading) var(--font-sans);
  --font-h3:         var(--weight-semibold) var(--text-h3)/var(--lh-heading) var(--font-sans);
  --font-body-lg:    var(--weight-regular) var(--text-body-lg)/var(--lh-body) var(--font-sans);
  --font-body:       var(--weight-regular) var(--text-body)/var(--lh-body) var(--font-sans);
  --font-caption:    var(--weight-light) var(--text-caption)/1.5 var(--font-sans);
  --font-label:      var(--weight-medium) var(--text-label)/1 var(--font-sans);
  --font-stat:       var(--weight-extrabold) var(--text-stat)/var(--lh-tight) var(--font-sans);
}

/* ── Base resets ── */
*, *::before, *::after { box-sizing: border-box; }

body {
  font: var(--font-body);
  color: var(--text-primary);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  text-wrap: pretty;
}

h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: var(--weight-bold); letter-spacing: var(--ls-heading); }
p { margin: 0; }
a { color: var(--text-link); text-decoration: none; }
a:hover { text-decoration: underline; }
