@font-face { font-family: 'Bricolage Grotesque'; src: url('../fonts/bricolage-grotesque-latin-wght-normal.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: 'Geist'; src: url('../fonts/geist-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url('../fonts/jetbrains-mono-latin-wght-normal.woff2') format('woff2'); font-weight: 100 800; font-display: swap; }

:root {
  --ivory: #fbfaf6;
  --ivory-2: #f2eee5;
  --paper: #ffffff;
  --ink: #15171a;
  --ink-2: #4b5059;
  --forest: #1b2743;
  --forest-2: #111a2e;
  --forest-line: #33405f;
  --lime: #ffd35c;
  --blue: #2450f0;
  --blue-2: #1a3bc0;
  --sun: #ffd35c;
  --lime-2: #f2c23e;
  --rust: #a53a1c;
  --amber: #6b4a00;
  --line: rgba(21, 23, 26, 0.13);
  --display: 'Bricolage Grotesque', 'Helvetica Neue', Helvetica, sans-serif;
  --ui: 'Geist', 'Helvetica Neue', Helvetica, sans-serif;
  --mono: 'JetBrains Mono', 'Cascadia Mono', Consolas, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --text-xs: clamp(0.75rem, 0.72rem + 0.15vw, 0.8125rem);
  --text-sm: clamp(0.875rem, 0.84rem + 0.15vw, 0.9375rem);
  --text-base: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --text-lg: clamp(1.125rem, 1rem + 0.6vw, 1.35rem);
  --text-xl: clamp(1.35rem, 1.1rem + 1.2vw, 1.75rem);
  --text-2xl: clamp(1.75rem, 1.3rem + 2vw, 2.5rem);
  --text-3xl: clamp(2.25rem, 1.5rem + 3.5vw, 3.5rem);
  --text-hero: clamp(2.75rem, 1.6rem + 5.6vw, 6.25rem);
  --pad: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ivory); color: var(--ink); font-family: var(--ui); font-size: var(--text-base); line-height: 1.55; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible { outline-color: var(--lime); }
::selection { background: var(--lime); color: var(--ink); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 44px; padding: 0.65rem 1.2rem; border-radius: 99px; border: 1px solid var(--ink); background: transparent; color: var(--ink); font-weight: 600; font-size: var(--text-sm); text-decoration: none; cursor: pointer; transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease); }
.btn:hover { background: var(--ink); color: var(--ivory); }
.btn:active { transform: scale(0.97); }
.btn[disabled] { opacity: 0.55; cursor: progress; }
.btn-primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-2); border-color: var(--blue-2); color: #fff; }
.btn-quiet { border-color: var(--line); font-weight: 500; }
.btn-danger { border-color: var(--rust); color: var(--rust); }
.btn-danger:hover { background: var(--rust); color: var(--paper); }
.on-dark .btn { border-color: var(--ivory); color: var(--ivory); }
.on-dark .btn:hover { background: var(--ivory); color: var(--forest-2); }
.on-dark .btn-primary { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.on-dark .btn-primary:hover { background: var(--ivory); border-color: var(--ivory); color: var(--ink); }

.mono { font-family: var(--mono); font-size: 0.92em; }
.eyebrow { font-weight: 600; font-size: var(--text-sm); }

@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; }
}

/* The Tagbreeze mark beside the name. */
.brand .mark { width: 1.3em; height: 1.3em; flex: none; color: var(--ink); }
.brand .mark circle { fill: var(--blue); }
.brand em { font-style: normal; color: var(--blue); }
.on-dark .brand .mark { color: #fff; }
.on-dark .brand em, .side .brand em { color: var(--sun); }
.on-dark .brand .mark circle, .side .brand .mark circle { fill: var(--sun); }
.side .brand .mark { color: #fff; }
.brand { font-weight: 700; letter-spacing: -0.03em; }
h1 em, h2 em { font-style: normal; }
