/* Shared base for the three world prototypes: fonts, reset, nav lockup, buttons.
   Each world sets the colour variables and its own layout. */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('fonts/PlusJakartaSans-var-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('fonts/PlusJakartaSans-var-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {                                              /* tenra.ai's wordmark face, for the lockup only */
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/Outfit-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--ground);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, p { margin: 0; font-weight: 400; }
a { color: inherit; text-decoration: none; }
img, svg, canvas { display: block; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- nav ---- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: 72px; padding: 0 clamp(20px, 3.2vw, 48px);
  display: flex; align-items: center; gap: clamp(18px, 2.6vw, 38px);
  color: var(--nav-ink, var(--ink));
}
.nav .lockup { margin-right: auto; }
.nav a.link { font-size: 14px; font-weight: 500; opacity: 0.86; transition: opacity 0.2s; }
.nav a.link:hover { opacity: 1; }

/* the lockup as tenra.ai has it: the three-strand T in a 20px box, then TENRA in Outfit bold, 14px, spaced 0.15em */
.lockup { display: inline-flex; align-items: center; gap: 8px; color: inherit; }
.lockup .mark { width: 20px; height: 20px; }
.lockup .word {
  font-family: Outfit, 'Plus Jakarta Sans', sans-serif;
  font-weight: 700; font-size: 14px; line-height: 20px; letter-spacing: 0.15em; text-transform: uppercase;
}

.pill {
  display: inline-flex; align-items: center; justify-content: center;
  height: 40px; padding: 0 20px; border-radius: 999px;
  font-size: 14px; font-weight: 600;
  background: var(--pill-bg, var(--accent)); color: var(--pill-ink, #fff);
  transition: transform 0.25s cubic-bezier(.2,.8,.2,1), background 0.2s;
}
.pill:hover { transform: translateY(-1px); }

.label {
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--label, var(--accent));
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
}
