/* Shared marketing-site base: design tokens, typography, header, footer.
   Page-specific styles live in their own stylesheet. */

:root {
  --font-sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --ink: #12251f;
  --muted: #53635d;
  --paper: #f4f1e8;
  --panel: #fffdf7;
  --line: #aab2a8;
  --green: #174f3e;
  --green-2: #0d382b;
  --mint: #d9f56f;
  --mint-soft: #edf6d1;
  --amber: #f4bc59;
  --amber-soft: #fff0cf;
  --red: #8a3427;
  --focus: #174f3e;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
button, input, textarea { font: inherit; }
a { color: inherit; }

.wrap { width: min(1232px, calc(100% - 48px)); margin-inline: auto; }

.site-header {
  display: flex;
  height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.brand {
  flex: 0 1 auto;
  min-width: 0;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -.05em;
  text-decoration: none;
}
.brand small {
  margin-left: 12px;
  color: var(--muted);
  font: 500 .7rem/1 var(--font-mono);
  letter-spacing: 0;
}
nav { display: flex; flex: 0 0 auto; align-items: center; gap: 24px; }
nav a { font-size: .83rem; font-weight: 750; text-decoration: none; white-space: nowrap; }
nav a:hover { text-decoration: underline; text-underline-offset: 4px; }

.site-footer {
  padding: 24px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font: 500 .7rem/1.6 var(--font-mono);
}
.site-footer a { color: inherit; }

:where(a, button, input, textarea, [tabindex="-1"]):focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

@media (max-width: 700px) {
  .wrap { width: min(100% - 32px, 1232px); }
  .site-header { height: 64px; gap: 12px; }
  .brand small { display: none; }
}

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