/* Page chrome follows the visitor's colour scheme; the Keynote bands do not —
   each band paints its own literal background and text colour (see site.css)
   so a dark-mode visitor still sees the light band the screenshot was shot on. */

@font-face {
  font-family: "Inter";
  src: url("/static/fonts/Inter-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  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+2074, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  src: url("/static/fonts/Inter-var-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  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 {
  font-family: "Inter Tight";
  src: url("/static/fonts/InterTight-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  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+2074, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter Tight";
  src: url("/static/fonts/InterTight-var-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  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;
}

:root {
  color-scheme: light dark;

  --page: #ffffff;
  --tint: #eef3f8;
  --card: #ffffff;
  --ink: #0a0f1c;
  --ink-2: #3b4756;
  --muted: #55606f;
  --line: #d5dee7;
  --action: #0369a1;
  --action-hover: #0284c7;
  --action-fg: #ffffff;
  --training: #047857;
  --cyan: #00ceff;
  --amber: #f59e0b;
  --emerald: #10b981;
  --teal: #0d9488;
  --gradient: linear-gradient(90deg, #f59e0b, #10b981, #00ceff);

  --navy: #0a0f1c;
  --navy-fg: #f8fafc;
  --navy-muted: #a8a2b2;
  --navy-line: #2a3441;

  --display: "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --measure: 1120px;
  --gutter: 20px;
  --radius: 18px;
  --radius-lg: 28px;
  --band-pad: clamp(56px, 8vw, 104px);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --page: #0a0f1c;
    --tint: #1f293a;
    --card: #1f293a;
    --ink: #f8fafc;
    --ink-2: #dde3ea;
    --muted: #a8a2b2;
    --line: #2a3441;
    --action: #5cdbff;
    --action-hover: #00ceff;
    --action-fg: #0a0f1c;
    --training: #0d9488;
  }
}

:root[data-theme="dark"] {
  --page: #0a0f1c;
  --tint: #1f293a;
  --card: #1f293a;
  --ink: #f8fafc;
  --ink-2: #dde3ea;
  --muted: #a8a2b2;
  --line: #2a3441;
  --action: #5cdbff;
  --action-hover: #00ceff;
  --action-fg: #0a0f1c;
  --training: #0d9488;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
p,
figure,
dl,
dd,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

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

img {
  height: auto;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

table {
  border-collapse: collapse;
  width: 100%;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 2px solid var(--action);
  outline-offset: 3px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--action);
  color: var(--action-fg);
  padding: 10px 16px;
  border-radius: 0 0 10px 0;
}

.skip-link:focus {
  left: 0;
}

/* Scroll motion is opt-in by JS (html.js) so the page reads complete without
   it, and off entirely under reduced motion. */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}

.js [data-parallax] {
  will-change: transform;
}

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

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
