@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 300; font-display: swap; src: url(/fonts/inter-tight-300.woff2) format("woff2"); }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/inter-tight-400.woff2) format("woff2"); }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/inter-tight-500.woff2) format("woff2"); }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/inter-tight-600.woff2) format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/jetbrains-mono-400.woff2) format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/jetbrains-mono-500.woff2) format("woff2"); }

:root {
  --paper: oklch(0.965 0.008 75);
  --paper-2: oklch(0.94 0.01 75);
  --paper-3: oklch(0.91 0.012 75);
  --ink: oklch(0.22 0.012 60);
  --ink-2: oklch(0.42 0.012 60);
  --ink-3: oklch(0.48 0.012 60);
  --rule: oklch(0.85 0.012 70);
  --accent: oklch(0.55 0.13 25);
  --accent-ink: oklch(0.98 0.01 75);

  --sans: "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --measure: 64ch;
  --gutter: 40px;
  --gutter-mobile: 24px;
  --section-y: 96px;
  --section-y-mobile: 64px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: oklch(0.18 0.01 60);
    --paper-2: oklch(0.22 0.012 60);
    --paper-3: oklch(0.27 0.012 60);
    --ink: oklch(0.96 0.008 75);
    --ink-2: oklch(0.78 0.012 75);
    --ink-3: oklch(0.6 0.012 75);
    --rule: oklch(0.32 0.012 60);
    --accent: oklch(0.72 0.14 25);
    --accent-ink: oklch(0.18 0.01 60);
  }
}

@view-transition { navigation: auto; }

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

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; height: auto; }

a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 1px;
}

.skip-to-content {
  position: absolute;
  top: 0;
  left: 0;
  padding: 12px 18px;
  background: var(--paper);
  border: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  transform: translateY(-200%);
  transition: transform 0.2s ease;
  z-index: 9999;
}
.skip-to-content:focus { transform: translateY(0); }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  width: 100%;
}
@media (max-width: 720px) {
  .container { padding: 0 var(--gutter-mobile); }
}

.cw-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 22px var(--gutter) 16px;
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  background: color-mix(in oklch, var(--paper) 88%, transparent);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  z-index: 100;
}
.cw-mark {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}
.cw-mark a:hover { color: var(--accent); }
@media (max-width: 600px) {
  .cw-header { padding: 14px var(--gutter-mobile); }
  .cw-mark { font-size: 11px; letter-spacing: 0.14em; }
}

main { flex: 1; }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}

.display {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(36px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}

.lede {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.5;
  color: var(--ink);
  max-width: var(--measure);
  margin: 0;
}

.pull {
  font-family: var(--sans);
  font-style: italic;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink-2);
  max-width: var(--measure);
  margin: 0;
}

.hero {
  padding-block: clamp(96px, 14vw, 180px) clamp(96px, 14vw, 160px);
  display: flex;
  flex-direction: column;
  gap: 28px;
}
@media (max-width: 600px) {
  .hero {
    padding-block: clamp(56px, 12vw, 96px) clamp(64px, 12vw, 96px);
    gap: 20px;
  }
  .hero .display {
    max-width: none;
    font-size: clamp(32px, 8vw, 44px);
    letter-spacing: -0.025em;
    line-height: 1.1;
  }
}

.cw-footer {
  border-top: 1px solid var(--rule);
  padding: 48px var(--gutter) 32px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 24px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.cw-footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.cw-footer-links a:hover { color: var(--ink); }
@media (max-width: 600px) {
  .cw-footer { padding: 32px var(--gutter-mobile) 24px; }
}
