/* Shared tokens + nav/footer/section chrome for fat-controller-site's
   secondary pages (pricing, enterprise, engineer). Mirrors index.html's
   design system so these pages read as the same product. */

:root {
  color-scheme: dark;
  --bg: #050505;
  --panel: #0b0b0b;
  --panel-raised: #111;
  --fg: #f2f2ed;
  --muted: #a0a09a;
  --line: #41413d;
  --line-strong: #777770;
  --accent: #f59e0b;
  --accent-dim: rgba(245,158,11,.35);
  --good: #4ade80;
  --measure: 1160px;
  --measure-narrow: 780px;
  --mono: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  --display: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-panel: 0 12px 40px rgba(0,0,0,.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px),
    radial-gradient(circle at 50% 0, #181816 0, #080808 34rem, #030303 72rem);
  background-size: 32px 32px, 32px 32px, auto;
  color: var(--fg);
  font-family: var(--mono);
}

a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.shell { width: min(var(--measure), calc(100% - 32px)); margin: 0 auto; }
.shell-narrow { width: min(var(--measure-narrow), calc(100% - 32px)); margin: 0 auto; }

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px dashed var(--line);
  background: rgba(5,5,5,.9);
}

.nav { min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--fg);
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -.03em;
  text-decoration: none;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 22px;
  font-family: var(--display);
  font-weight: 500;
  font-size: .88rem;
  letter-spacing: -.005em;
}

.nav-links a { color: var(--muted); text-decoration: none; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--fg); }
.nav-links a[data-flag].is-disabled { color: var(--muted); pointer-events: none; cursor: default; opacity: .55; }

.nav-auth { display: flex; align-items: center; gap: 14px; }
.nav-auth a:not(.button) { color: var(--muted); font-family: var(--display); font-weight: 500; font-size: .88rem; letter-spacing: -.005em; text-decoration: none; }
.nav-auth a:not(.button):hover { color: var(--fg); }
.nav-auth a.is-disabled { pointer-events: none; cursor: default; opacity: .55; }
.nav-auth a.is-disabled:not(.button) { color: var(--muted); }

main { overflow: hidden; }

.section { padding: clamp(56px, 9vw, 108px) 0; border-top: 1px dashed var(--line); }
.section--tight { padding: clamp(40px, 6vw, 64px) 0; }
.section:first-of-type { border-top: 0; }

.section-index {
  font-family: var(--mono);
  color: var(--accent);
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-index.center { text-align: center; }

.eyebrow {
  color: var(--accent);
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.statement {
  font-family: var(--display);
  margin: 0 auto;
  max-width: 1040px;
  text-align: center;
  font-size: clamp(1.9rem, 5vw, 3.8rem);
  line-height: 1.06;
  letter-spacing: -.03em;
  font-weight: 700;
}
.statement .accent { color: var(--accent); }

.heading-md {
  font-family: var(--display);
  font-size: clamp(1.5rem, 3.2vw, 2.3rem);
  line-height: 1.12;
  letter-spacing: -.03em;
  font-weight: 700;
}
.heading-md.center { max-width: 760px; margin: 0 auto; text-align: center; }

.lede {
  font-family: var(--display);
  max-width: 640px;
  color: #bdbdb7;
  font-size: clamp(.98rem, 1.6vw, 1.08rem);
  line-height: 1.8;
}
.lede.center { margin: 24px auto 0; text-align: center; }

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 10px 20px;
  background: var(--panel);
  color: var(--fg);
  font-family: var(--display);
  font-weight: 600;
  font-size: .92rem;
  letter-spacing: -.005em;
  text-decoration: none;
  cursor: pointer;
}
.button:hover { border-color: var(--fg); background: #181816; }
.button.primary { border-color: var(--accent); color: #fff8d7; }

.cta { padding: clamp(64px, 9vw, 116px) 20px; text-align: center; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }

.site-footer { border-top: 1px dashed var(--line); padding: 42px 0; color: var(--muted); font-family: var(--display); font-size: .82rem; line-height: 1.7; }
.footer-layout { display: grid; grid-template-columns: 1fr auto; gap: 28px; }
.footer-title { margin: 0; color: var(--fg); font-weight: 700; }
.footer-tagline, .copyright, .disclaimer { margin: 3px 0 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { color: var(--fg); text-underline-offset: 4px; }
.disclaimer { max-width: 700px; }

@media (max-width: 720px) {
  .shell, .shell-narrow { width: min(100% - 24px, var(--measure)); }
  .nav { align-items: flex-start; flex-direction: column; gap: 12px; padding: 18px 0; }
  .nav-links, .nav-auth { justify-content: flex-start; }
  .footer-layout { grid-template-columns: 1fr; }
}
