/* Tokens, type, layout chrome, buttons, forms, and the phone rules. */
:root {
  --paper: #FFFFFF; --mist: #EEF2F7; --ink: #0E1A3A; --ink-soft: #46506B; --line: #D5DCE8;
  --go: #1B4DDB; --go-dark: #1238A8;
  --attention: #D7263D; --memory: #1B4DDB; --speed: #E8A400; --reasoning: #14915F;
  --skill: var(--go);
  --font: "Schibsted Grotesk", system-ui, sans-serif;
  --step--1: 0.875rem; --step-0: 1.0625rem; --step-1: 1.3rem; --step-2: 1.65rem; --step-3: 2.2rem; --step-4: 3rem;
  --gap: 1.5rem; --radius-s: 6px; --radius-l: 14px; --measure: 68ch;
  scroll-padding-top: 1rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: var(--step-0); line-height: 1.55; color: var(--ink); background: var(--paper); }
img, svg { max-width: 100%; height: auto; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 0.5em; }
h1 { font-size: var(--step-4); font-weight: 900; letter-spacing: -0.025em; }
h2 { font-size: var(--step-2); font-weight: 800; margin-top: 1.6em; }
h3 { font-size: var(--step-1); font-weight: 700; }
p, ul, ol { margin: 0 0 1em; }
a { color: var(--go); text-underline-offset: 0.15em; }
a:hover { color: var(--go-dark); }
:focus-visible { outline: 3px solid var(--go); outline-offset: 2px; }
.wrap { width: min(100% - 2.5rem, 1120px); margin-inline: auto; }
.prose { max-width: var(--measure); }
.prose h2 { font-size: var(--step-2); }
.prose li { margin-bottom: 0.35em; }
.lede { font-size: var(--step-1); color: var(--ink-soft); max-width: 60ch; }
.crumbs { font-size: var(--step--1); color: var(--ink-soft); margin: 1.5rem 0 0.75rem; }
.fine { font-size: var(--step--1); color: var(--ink-soft); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 0; top: 0; transform: translateY(-120%); background: var(--ink); color: var(--paper); padding: 0.5rem 1rem; z-index: 10; }
.skip:focus { transform: none; }

/* Header and footer. */
.top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.9rem 1.25rem; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.logo { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.2rem; }
.logo svg { width: 28px; height: 28px; }
.nav { display: flex; gap: 1.1rem; flex-wrap: wrap; font-weight: 600; }
.nav a { color: var(--ink); text-decoration: none; }
.nav a:hover { color: var(--go); }
.nav .nav-pro { color: var(--go); }
.foot { margin-top: 4rem; padding: 2.5rem 0 3rem; background: var(--mist); font-size: var(--step--1); }
.foot-cols { width: min(100% - 2.5rem, 1120px); margin-inline: auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: var(--gap); }
.foot-h { font-weight: 800; margin: 0 0 0.5rem; }
.foot nav a { display: block; padding: 0.15rem 0; }
.foot a { color: var(--ink); }
.foot-brand { display: flex; align-items: center; gap: 0.5rem; font-weight: 800; }
.foot-brand svg { width: 24px; height: 24px; }

/* Skill colour dot, used wherever a skill is named. */
.skill-dot { display: inline-block; width: 0.7em; height: 0.7em; border-radius: 50%; background: var(--skill); margin-right: 0.45em; vertical-align: 0.02em; }

/* Buttons and forms. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem; font: inherit; font-weight: 700; padding: 0.7rem 1.3rem; border-radius: var(--radius-s); border: 2px solid transparent; cursor: pointer; text-decoration: none; line-height: 1.2; }
.btn-go { background: var(--go); color: #fff; }
.btn-go:hover { background: var(--go-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-big { font-size: var(--step-1); padding: 0.9rem 1.7rem; }
.btn:disabled { opacity: 0.55; cursor: wait; }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--go); text-decoration: underline; cursor: pointer; }
input, select, textarea { font: inherit; font-size: var(--step-0); color: var(--ink); }
input[type=email], input[type=text], select { padding: 0.65rem 0.8rem; border: 2px solid var(--line); border-radius: var(--radius-s); background: var(--paper); width: 100%; }
input[type=email]:focus, input[type=text]:focus, select:focus { border-color: var(--go); outline: none; }
.gate-form, .fame-form { display: grid; gap: 0.6rem; max-width: 28rem; }
.gate-form.is-busy { opacity: 0.6; pointer-events: none; }
.consent { display: flex; gap: 0.5rem; align-items: flex-start; font-size: var(--step--1); color: var(--ink-soft); }
.form-msg { min-height: 1.2em; margin: 0; font-weight: 600; }
.ticks { list-style: none; padding: 0; }
.ticks li { padding-left: 1.6rem; position: relative; margin-bottom: 0.4rem; }
.ticks li::before { content: ""; position: absolute; left: 0.2rem; top: 0.45em; width: 0.7rem; height: 0.4rem; border-left: 3px solid var(--reasoning); border-bottom: 3px solid var(--reasoning); transform: rotate(-45deg); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }

/* Phone rules (CLAUDE.md): the document never scrolls, the body does; every text box is 16px. */
@media (max-width: 900px) {
  :root { --step-4: 2.2rem; --step-3: 1.8rem; --step-2: 1.4rem; }
  html, body { overscroll-behavior-y: none; scroll-padding-top: 1rem; }
  html { height: 100%; overflow: hidden; }
  body { position: relative; height: 100%; min-height: 0; overflow-x: hidden; overflow-y: auto; }
  table { display: block; overflow-x: auto; }
  :is(input, textarea, select, .input) { font-size: 16px; }
  .nav { gap: 0.8rem; font-size: var(--step--1); }
}
