/* Design tokens, reset, typography, buttons, top bar, header/nav and footer. Light, product-site style. */
:root {
  --bg: #ffffff;
  --bg-soft: #f6f7f9;
  --ink: #0b1220;
  --ink-2: #1d2939;
  --text: #475467;
  --muted: #667085;
  --faint: #98a2b3;
  --line: #e4e7ec;
  --line-strong: #d0d5dd;
  --accent: #067a55;
  --accent-soft: #e8f5ef;
  --dark: #0b1220;
  --dark-2: #131c2e;
  --dark-line: rgba(255, 255, 255, 0.1);
  --dark-text: #b8c0cc;
  --open: #16a34a;
  --inspection: #7c3aed;
  --congested: #d97706;
  --closed: #dc2626;
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.06);
  --shadow: 0 1px 3px rgba(16, 24, 40, 0.08), 0 16px 40px -12px rgba(16, 24, 40, 0.18);
  --font: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0 0 0.5em; color: var(--ink); font-weight: 600; line-height: 1.1; letter-spacing: -0.03em; }
h3 { font-size: 1.125rem; line-height: 1.3; letter-spacing: -0.015em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 104px 0; }
.section--soft { background: var(--bg-soft); border-block: 1px solid var(--line); }
.section--dark { background: var(--dark); color: var(--dark-text); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(2rem, 3.6vw, 2.75rem); }
.section-head > p:last-child { margin: 0; font-size: 1.125rem; }
.kicker { margin-bottom: 14px; color: var(--accent); font-size: 0.875rem; font-weight: 500; }
.section--dark .kicker { color: #4ade9b; }
.fineprint { color: var(--faint); font-size: 0.85rem; }
.link-arrow { color: var(--accent); font-weight: 500; }
.link-arrow::after { content: ' →'; transition: margin 0.2s; }
.link-arrow:hover::after { margin-left: 3px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 18px; border-radius: var(--radius-sm); border: 1px solid transparent;
  font-size: 0.95rem; font-weight: 500; line-height: 1.2; cursor: pointer; white-space: nowrap;
  transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover:not(:disabled) { background: #253046; }
.btn--secondary { background: #fff; color: var(--ink); border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.btn--secondary:hover { background: var(--bg-soft); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #e9ecf1; }
.btn--ghost-dark { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.2); color: #fff; }
.btn--ghost-dark:hover { background: rgba(255, 255, 255, 0.12); }
.btn--lg { padding: 14px 22px; font-size: 1rem; }
.btn--sm { padding: 8px 14px; font-size: 0.9rem; }
.btn--block { width: 100%; }

/* Top announcement bar + header */
.topbar { padding: 9px 16px; background: var(--ink); color: #cfd4dc; font-size: 0.85rem; text-align: center; }
.topbar a { color: #fff; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 8px 14px; background: var(--ink); color: #fff; border-radius: 6px; }
.skip-link:focus { left: 16px; }
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(255, 255, 255, 0.94); border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px);
  transition: box-shadow 0.2s;
}
.site-header.is-scrolled { box-shadow: 0 2px 16px rgba(16, 24, 40, 0.06); }
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 40px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-size: 1.125rem; font-weight: 700; letter-spacing: -0.02em; }
.brand__mark { width: 28px; height: 28px; }
.site-nav { display: flex; gap: 28px; }
.site-nav a { color: var(--ink-2); font-size: 0.9375rem; font-weight: 500; }
.site-nav a:hover { color: var(--accent); }
.site-header__actions { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.header-link { color: var(--ink-2); font-size: 0.9375rem; font-weight: 500; }
.header-link:hover { color: var(--accent); }
.nav-toggle {
  display: none; width: 40px; height: 40px; padding: 0; border-radius: 8px; cursor: pointer;
  border: 1px solid var(--line-strong); background: #fff;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform 0.2s; }
.nav-toggle[aria-expanded='true'] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* Footer */
.site-footer { padding: 64px 0 32px; background: var(--bg-soft); border-top: 1px solid var(--line); font-size: 0.925rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.footer-grid p { max-width: 300px; margin: 14px 0 0; color: var(--muted); }
.footer-col h4 { margin: 0 0 14px; color: var(--ink); font-size: 0.875rem; font-weight: 600; }
.footer-col ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.footer-col a { color: var(--muted); }
.footer-col a:hover { color: var(--ink); }
.footer-legal { margin: 24px 0 0; color: var(--faint); font-size: 0.825rem; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .header-link { display: none; }
  .site-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 4px 24px 16px;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(16, 24, 40, 0.08);
    opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .site-nav a { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .section { padding: 80px 0; }
  .section-head { margin-bottom: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px) {
  .container { padding: 0 16px; }
  .site-header__actions .btn { display: none; }
  .topbar { font-size: 0.8rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}
