:root {
  color-scheme: light;
  --paper: #f8f5ea;
  --white: #fffdf7;
  --ink: #242820;
  --muted: #697166;
  --line: #c7c9bd;
  --yellow: #f5d76e;
  --orange: #e98c5b;
  --acid: #cafa68;
  --blue: #d5e8ef;
  --lilac: #d9c8ff;
  --sans: "Space Grotesk", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "DM Mono", "SFMono-Regular", Consolas, monospace;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; background: var(--paper); color: var(--ink); font: 15px/1.55 var(--sans); }
button, input, textarea, select { color: inherit; font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid #2875d4; outline-offset: 3px; }
.shell { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }
.topbar { position: sticky; top: 0; z-index: 30; display: flex; min-height: 70px; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--ink); background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(14px); }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 17px; font-weight: 800; letter-spacing: -.05em; text-decoration: none; }
.brand-mark { display: grid; width: 36px; height: 36px; place-items: center; border: 2px solid var(--ink); background: var(--acid); box-shadow: 3px 3px var(--ink); font-size: 16px; font-weight: 800; }
.brand small { display: block; color: var(--muted); font: 9px/1.4 var(--mono); letter-spacing: .07em; }
.nav { display: flex; align-items: center; gap: 12px; }
.nav a { text-decoration: none; }
.nav a:not(.btn):not(.home-link) { text-decoration: underline; text-underline-offset: 4px; }
.pill { padding: 6px 9px; border: 1px solid var(--ink); background: var(--white); font: 10px var(--mono); }
.home-link { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 7px; padding: 8px 12px; border: 1.5px solid var(--ink); background: var(--yellow); box-shadow: 3px 3px var(--ink); font-size: 12px; font-weight: 800; white-space: nowrap; transition: transform .16s, box-shadow .16s; }
.home-link:hover { transform: translate(2px, 2px); box-shadow: 1px 1px var(--ink); }
.eyebrow { display: inline-flex; align-items: center; gap: 7px; font: 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #83ba59; box-shadow: 0 0 0 4px #83ba5924; }
.btn { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; gap: 8px; padding: 9px 13px; border: 1.5px solid var(--ink); background: var(--yellow); box-shadow: 3px 3px var(--ink); color: var(--ink); font-size: 12px; font-weight: 800; text-decoration: none; cursor: pointer; transition: transform .16s, box-shadow .16s, background .16s; }
.btn:hover { transform: translate(2px, 2px); box-shadow: 1px 1px var(--ink); }
.btn.dark { background: var(--ink); color: var(--white); box-shadow: 3px 3px #92a283; }
.demo-note { color: var(--muted); font-size: 11px; }
.foot { display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 16px; margin-top: 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.foot a { font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 3px; }
@media (max-width: 700px) {
  .shell { width: min(100% - 28px, 1240px); }
  .topbar { min-height: 60px; gap: 10px; }
  .brand { gap: 8px; font-size: 15px; }
  .brand-mark { width: 32px; height: 32px; }
  .brand small { font-size: 8px; }
  .nav { gap: 8px; }
  .nav .pill { display: none; }
  .home-link { min-height: 44px; padding: 7px 9px; font-size: 11px; }
  .foot { align-items: flex-start; flex-direction: column; justify-content: center; padding: 15px 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
