@import url("https://fonts.googleapis.com/css2?family=Archivo:wdth,wght@62..125,100..900&display=swap");
@font-face {
  font-family: "Geist Mono";
  src: url("assets/fonts/GeistMono-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* Shared public-page system: the "checkpoint" look from site.css (homepage),
   applied as an override layer over each page's inline styles and brand.css.
   Paper + ink, hairline rules, zero radius, lime as the only highlighter. */
:root,
[data-theme="light"],
[data-theme="dark"] {
  --product: #1e5c3a;
  --product-bright: #2a7249;
  --product-soft: #16472c;
  --allow: #2f8a55;
  --allow-bright: #2f8a55;
  --risk: #d23a22;
  --risk-bright: #d23a22;
  --regulatory: #7a5b1b;
  --regulatory-bright: #8a6a2c;
  --warn: #b67400;
  --warn-bright: #b67400;
  --bg: #ecebe4;
  --bg-alt: #e3e1d8;
  --bg-card: #f5f4ef;
  --bg-card-alt: #e3e1d8;
  --bg-deep: #dad8ce;
  --bg-pipe: #e3e1d8;
  --bg-pipe-line: rgba(14,16,13,.32);
  --border: rgba(14,16,13,.16);
  --border-strong: rgba(14,16,13,.32);
  --border-light: rgba(14,16,13,.45);
  --text-strong: #0e100d;
  --text: #2b2e29;
  --text-2: #2b2e29;
  --text-3: #3d403a;
  --text-4: #575a52;
  --text-soft: #63665e;
  --text-dim: #74776e;
  --text-mute: #85887f;
  --nav-bg: rgba(236,235,228,.9);
  --nav-border: rgba(14,16,13,.13);
  --paper: #ecebe4;
  --surface: #f5f4ef;
  --line: rgba(14,16,13,.16);
  --ink: #0e100d;
  --lime: #d4fb3c;
  --graphite-700: #2b2e29;
  --font-display: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow-drop: transparent;
  --shadow-drop-soft: transparent;
  --glass-border: rgba(14,16,13,.16);
  color-scheme: light;
}

html { background: var(--paper); }
body.page,
body.page button,
body.page input,
body.page select,
body.page textarea {
  font-family: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
body.page {
  min-height: 100vh;
  background: var(--paper) !important;
  color: var(--text);
  letter-spacing: 0;
}
body.page::before { display: none !important; }
body.page h1, body.page h2, body.page h3 { font-family: var(--font-display) !important; text-wrap: balance; }
body.page h1, body.page h2 { font-variation-settings: "wdth" 88; }
body.page h3 { letter-spacing: -.03em; }
body.page .mono { font-family: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace; }
body.page a:focus-visible,
body.page button:focus-visible,
body.page input:focus-visible,
body.page select:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
body.page ::selection { background: var(--lime); color: var(--ink); }

/* Zero radius, no soft shadows: the whole system is ruled, not floated. */
body.page *:not(.dot):not(input[type="radio"]):not(input[type="checkbox"]) { border-radius: 0 !important; }
body.page [class*="card"], body.page [class*="col"], body.page .regmap { box-shadow: none !important; }

/* Masthead (matches the homepage) */
body.page > nav {
  position: fixed !important;
  z-index: 200;
  top: 0 !important;
  right: 0 !important;
  left: 0 !important;
  width: auto;
  padding: 0 !important;
  transform: none;
  overflow: visible;
  border: 0 !important;
  border-bottom: 1px solid var(--nav-border) !important;
  background: var(--nav-bg) !important;
  box-shadow: none;
  -webkit-backdrop-filter: blur(10px) saturate(1.2) !important;
  backdrop-filter: blur(10px) saturate(1.2) !important;
}
body.page .nav-row { width: min(1360px, calc(100% - 2 * clamp(16px, 3vw, 40px))); min-height: 60px; margin: 0 auto; padding: 0 !important; }
body.page .logo { gap: 9px !important; color: var(--ink) !important; }
body.page .logo svg { width: 26px; height: 26px; }
body.page .logo .logo-word { color: var(--ink) !important; font-size: 19px; font-weight: 700; letter-spacing: -.03em; font-variation-settings: "wdth" 112; }
body.page .nav-links { gap: 2px; color: var(--text-2); font-size: 14px; }
body.page .nav-links a { position: relative; padding: 7px 10px; }
body.page .nav-links a:hover { background: var(--bg-alt); color: var(--ink); }
body.page .nav-links a.is-current { color: var(--ink); font-weight: 600; background: var(--lime); }
body.page .nav-links a.is-current::after { display: none; }
body.page .theme-toggle { display: none !important; }
body.page .nav-cta {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px !important;
  border: 1px solid var(--ink) !important;
  background: var(--ink) !important;
  color: var(--paper) !important;
  font-size: 14px;
  font-weight: 600;
  box-shadow: none;
}
body.page .nav-cta::after { content: "↗"; font-family: "Geist Mono", monospace; font-weight: 400; }
body.page .nav-cta:hover { background: var(--lime) !important; color: var(--ink) !important; }
body.page .nav-burger { width: 40px; height: 40px; border: 1px solid var(--ink); background: transparent; color: var(--ink); }
body.page .nav-mobile { margin: 0; padding: 8px clamp(16px, 3vw, 40px) 20px; border: 0; border-top: 1px solid var(--nav-border); background: var(--paper); box-shadow: none; }
body.page .nav-mobile a { padding: 14px 0; border: 0; border-bottom: 1px solid var(--border); color: var(--ink); font-size: 20px; font-weight: 600; }
body.page .nav-mobile a:hover { background: transparent; }
body.page .nav-mobile-cta { margin-top: 16px; padding: 14px !important; background: var(--ink) !important; color: var(--paper) !important; text-align: center; font-size: 16px !important; }

/* Page heads: editorial, ruled, no gradients or orbits */
body.page .pg-header,
body.page .inc-header {
  position: relative;
  overflow: hidden;
  min-height: 0;
  margin: 0;
  padding: 150px clamp(16px, 3vw, 40px) 88px !important;
  display: block;
  border-bottom: 1px solid var(--ink);
  background: var(--paper);
}
body.page .pg-header::before,
body.page .inc-header::before,
body.page .pg-header::after,
body.page .inc-header::after { display: none; }
body.page .pg-header-inner,
body.page .inc-header-inner { position: relative; z-index: 1; width: min(1360px, 100%); max-width: 1360px; margin: 0 auto; text-align: left; }
body.page .pg-eyebrow,
body.page .inc-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 36px;
  padding: 0 0 14px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--ink) !important;
  background: transparent !important;
  color: var(--ink) !important;
  font-family: "Geist Mono", monospace;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: uppercase;
}
body.page .pg-eyebrow .dot,
body.page .inc-eyebrow .dot { width: 10px; height: 10px; background: var(--ink) !important; box-shadow: none; border-radius: 0 !important; }
body.page .pg-header h1,
body.page .inc-header h1 { max-width: 1100px; margin-bottom: 32px; color: var(--ink); font-size: clamp(46px, 7vw, 112px); font-weight: 640; line-height: .92; letter-spacing: -.045em; }
body.page .pg-header p,
body.page .inc-header p { max-width: 680px; margin: 0; color: var(--text-2); font-size: 19px; line-height: 1.5; }
body.page .inc-header h1 .accent { color: inherit; background: linear-gradient(transparent 12%, var(--lime) 12%, var(--lime) 88%, transparent 88%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* Section rhythm */
body.page .wrap { width: min(1360px, calc(100% - 2 * clamp(16px, 3vw, 40px))); max-width: 1360px; padding: 0; }
body.page .pg-section { padding: 110px 0 !important; }
body.page .pg-section + .pg-section { border-top: 1px solid var(--ink); }
body.page .pg-section .wrap { max-width: 1360px; }
body.page .pg-section-head { max-width: 900px; margin-bottom: 52px; }
body.page .pg-section-eyebrow { margin-bottom: 18px; color: var(--text-4); font-family: "Geist Mono", monospace; font-size: 12px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; }
body.page .pg-section-title { margin-bottom: 18px; color: var(--ink); font-size: clamp(36px, 5vw, 72px); font-weight: 640; line-height: .95; letter-spacing: -.045em; }
body.page .pg-section-sub { color: var(--text-4); font-size: 17px; }
body.page .pg-divider { display: none; }
body.page .diagram-card { padding: 28px; border: 1px solid var(--ink); background: var(--surface); box-shadow: none; }
body.page .diagram-cap { color: var(--text-4); font-size: 13px; font-family: "Geist Mono", monospace; }
body.page .ep-grid { gap: 0; border: 1px solid var(--ink); overflow: visible; background: var(--surface); }
body.page .ep-col { padding: 28px; border: 0 !important; background: transparent; }
body.page .ep-col + .ep-col { border-left: 1px solid var(--border-strong) !important; }
body.page .ep-col:hover { background: var(--bg); }
body.page .ep-icon { width: 40px; height: 40px; border: 1px solid var(--ink); background: transparent; color: var(--ink); }
body.page .ep-title { color: var(--ink); font-size: 24px; font-weight: 620; letter-spacing: -.03em; }
body.page .ep-node { padding: 12px 14px; border-color: var(--border-strong); background: var(--paper); }
body.page .ep-node-t { color: var(--ink); font-size: 14px; font-weight: 600; }
body.page .ep-node-d,
body.page .ep-foot { color: var(--text-4); }
body.page .fit-grid { gap: 0; border-top: 1px solid var(--ink); }
body.page .fit-card { min-height: 150px; padding: 25px 25px 25px 0; border: 0; border-bottom: 1px solid var(--border-strong); background: transparent; }
body.page .fit-card-title { color: var(--ink); font-size: 19px; font-weight: 620; letter-spacing: -.02em; }
body.page .fit-card-body,
body.page .fit-note { color: var(--text-4); font-size: 14.5px; }

/* CTA: the same night band as the homepage */
body.page .pg-cta,
body.page .inc-cta {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 0;
  margin: 0;
  padding: clamp(80px, 10vw, 140px) clamp(16px, 3vw, 40px) !important;
  display: block;
  border: 0 !important;
  background: var(--ink);
  color: var(--paper);
}
body.page .pg-cta::before,
body.page .inc-cta::before { content: ""; position: absolute; inset: 0; left: 0; top: 0; width: auto; height: auto; border: 0; pointer-events: none; background-image: repeating-linear-gradient(90deg, rgba(236,235,228,.1) 0 1px, transparent 1px 64px), repeating-linear-gradient(0deg, rgba(236,235,228,.1) 0 1px, transparent 1px 64px); -webkit-mask-image: radial-gradient(ellipse at 80% 70%, #000 0, transparent 60%); mask-image: radial-gradient(ellipse at 80% 70%, #000 0, transparent 60%); }
body.page .pg-cta::after,
body.page .inc-cta::after { display: none; }
body.page .pg-cta-inner,
body.page .inc-cta-inner { position: relative; z-index: 1; max-width: 1360px; margin: 0 auto; text-align: left; }
body.page .pg-cta h2,
body.page .inc-cta h2 { max-width: 14ch; margin-bottom: 20px; color: var(--paper); font-size: clamp(42px, 6.4vw, 104px); font-weight: 640; line-height: .92; letter-spacing: -.05em; }
body.page .pg-cta p,
body.page .inc-cta p { max-width: 560px; color: #9a9d93; font-size: 18px; }
body.page .btn-primary { min-height: 52px; padding: 0 22px !important; border: 1px solid var(--ink) !important; background: var(--ink) !important; color: var(--paper) !important; box-shadow: none !important; font-size: 15px; font-weight: 600; }
body.page .btn-primary:hover { background: var(--lime) !important; color: var(--ink) !important; }
body.page .pg-cta .btn-primary,
body.page .inc-cta .btn-primary { background: var(--lime) !important; border-color: var(--lime) !important; color: var(--ink) !important; }
body.page .pg-cta .btn-primary:hover,
body.page .inc-cta .btn-primary:hover { background: var(--paper) !important; border-color: var(--paper) !important; }
body.page .pg-cta .btn-primary svg path,
body.page .inc-cta .btn-primary svg path { stroke: var(--ink); }

/* Footer */
body.page > footer { margin: 0; padding: 48px clamp(16px, 3vw, 40px); border: 0; border-top: 1px solid rgba(236,235,228,.28); background: var(--ink); color: var(--paper); }
body.page .foot-inner { max-width: 1360px; }
body.page .foot-logo,
body.page .foot-logo .logo-word { color: var(--paper) !important; }
body.page > footer .foot-meta { flex-wrap: wrap; gap: 8px 20px; color: #9a9d93; font-family: "Geist Mono", monospace; font-size: 12px; }
body.page > footer a:hover { color: var(--lime); }

/* Incident record */
body.page--incidents .inc-eyebrow .dot { background: var(--risk) !important; }
body.page--incidents .inc-band { padding: 110px 0 !important; }
body.page--incidents .inc-list { width: min(1360px, calc(100% - 2 * clamp(16px, 3vw, 40px))); max-width: 1360px; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0; border-top: 1px solid var(--ink); }
body.page--incidents .inc-card { display: flex; flex-direction: column; padding: 30px 30px 34px 0; border: 0 !important; border-bottom: 1px solid var(--border-strong) !important; background: transparent !important; box-shadow: none !important; backdrop-filter: none; }
body.page--incidents .inc-card:nth-child(even) { padding-left: 30px; border-left: 1px solid var(--border-strong) !important; }
body.page--incidents .inc-card:hover { background: var(--surface) !important; transform: none; }
body.page--incidents .inc-date { color: var(--text-mute); font-family: "Geist Mono", monospace; }
body.page--incidents .inc-tag { padding: 3px 7px 2px; border: 1px solid var(--risk); background: transparent; color: var(--risk); font-family: "Geist Mono", monospace; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; }
body.page--incidents .inc-title { color: var(--ink); font-size: 24px; font-weight: 620; letter-spacing: -.03em; line-height: 1.1; }
body.page--incidents .inc-desc { color: var(--text-4); }
body.page--incidents .inc-missed { padding: 14px; border: 0; border-left: 3px solid var(--lime); background: var(--surface); color: var(--text-3); }
body.page--incidents .inc-sources { margin-top: auto; color: var(--text-mute); font-family: "Geist Mono", monospace; }

/* Regulation */
body.page--regulation .regmap { margin-bottom: 28px; border: 1px solid var(--ink); background: var(--surface); }
body.page--regulation .regmap-row { padding: 20px 22px; border-color: var(--border-strong); }
body.page--regulation .regmap-row--head { background: var(--ink); color: var(--paper); font-family: "Geist Mono", monospace; }
body.page--regulation .regmap-name { color: var(--ink); font-size: 18px; font-weight: 620; letter-spacing: -.02em; }
body.page--regulation .regmap-cell { color: var(--text-4); font-size: 13px; }
body.page--regulation .regmap-chip { padding: 3px 7px 2px; font-family: "Geist Mono", monospace; font-size: 10.5px; letter-spacing: .06em; }
body.page--regulation .regmap-chip--force { border: 1px solid var(--ink); background: var(--lime); color: var(--ink); }
body.page--regulation .regmap-chip--sched { border: 1px solid var(--border-strong); background: transparent; color: var(--text-4); }
body.page--regulation .reg-note { color: var(--text-4); font-size: 14px; }
body.page--regulation .reg-subhead { margin-top: 72px; padding-bottom: 12px; border-bottom: 1px solid var(--ink); color: var(--ink); font-family: "Geist Mono", monospace; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
body.page--regulation .reg-cols { gap: 0; border-left: 1px solid var(--border-strong); }
body.page--regulation .reg-col { padding: 26px 26px 10px; border: 0; border-right: 1px solid var(--border-strong); background: transparent; }
body.page--regulation .reg-col-head { color: var(--ink); font-family: "Geist Mono", monospace; font-size: 12px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; }
body.page--regulation .reg-row { border-color: var(--border-strong); }
body.page--regulation .reg-row-year { color: var(--ink); font-family: "Geist Mono", monospace; }
body.page--regulation .reg-row-name { color: var(--ink); font-weight: 620; }
body.page--regulation .reg-row-desc { color: var(--text-4); }

/* Pilot page */
body.page--pilot { min-height: 100vh; background: var(--paper) !important; }
body.page--pilot::after { display: none; }
body.page--pilot .topbar { position: relative; z-index: 2; width: 100%; min-height: 60px; margin: 0; padding: 0 clamp(16px, 3vw, 40px); display: flex; align-items: center; border: 0; border-bottom: 1px solid var(--nav-border); background: var(--nav-bg); box-shadow: none; }
body.page--pilot .topbar .logo svg { width: 26px; height: 26px; }
body.page--pilot .topbar .logo-word { color: var(--ink) !important; font-size: 19px; font-weight: 700; font-variation-settings: "wdth" 112; }
body.page--pilot > .wrap { position: relative; z-index: 1; flex: 1; width: min(1360px, calc(100% - 2 * clamp(16px, 3vw, 40px))); margin-inline: auto; align-self: center; padding: 64px 0 100px; }
body.page--pilot .card { max-width: 1360px; display: grid; grid-template-columns: .9fr 1.1fr; grid-template-rows: auto auto auto 1fr; column-gap: 64px; padding: 0; border: 0; background: transparent !important; box-shadow: none !important; backdrop-filter: none; }
body.page--pilot .head { grid-column: 1; grid-row: 1; margin-bottom: 30px; text-align: left; }
body.page--pilot .eyebrow { margin-bottom: 28px; padding: 0 0 12px !important; border: 0 !important; border-bottom: 1px solid var(--ink) !important; background: transparent !important; color: var(--ink) !important; font-family: "Geist Mono", monospace; font-size: 12px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; }
body.page--pilot .eyebrow .dot { width: 10px; height: 10px; background: var(--lime) !important; box-shadow: 0 0 0 1px var(--ink); }
body.page--pilot h1 { margin-bottom: 20px; color: var(--ink); font-size: clamp(44px, 5.6vw, 88px); font-weight: 640; line-height: .92; letter-spacing: -.045em; }
body.page--pilot .head p { max-width: 520px; margin: 0; color: var(--text-4); font-size: 17px; }
body.page--pilot .stages { grid-column: 1; grid-row: 2; grid-template-columns: repeat(2,1fr); gap: 0; margin-bottom: 22px; border-top: 1px solid var(--ink); border-left: 1px solid var(--border-strong); }
body.page--pilot .stage { min-height: 90px; padding: 14px 16px; border: 0; border-right: 1px solid var(--border-strong); border-bottom: 1px solid var(--border-strong); background: transparent; }
body.page--pilot .stage-num { color: var(--text-4); font-family: "Geist Mono", monospace; }
body.page--pilot .stage-text { color: var(--text-3); font-size: 12.5px; }
body.page--pilot .effort { grid-column: 1; grid-row: 3; margin: 0; padding: 12px 14px; background: var(--lime); color: var(--ink); text-align: left; font-weight: 600; }
body.page--pilot form { grid-column: 2; grid-row: 1 / 5; align-content: start; padding: 28px; border: 1px solid var(--ink); background: var(--surface); box-shadow: 10px 10px 0 var(--ink); }
body.page--pilot label { margin-bottom: 7px; color: var(--text-4); font-family: "Geist Mono", monospace; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
body.page--pilot input,
body.page--pilot select { min-height: 48px; border: 1px solid var(--border-strong); background: var(--paper); color: var(--ink); }
body.page--pilot input:focus,
body.page--pilot select:focus { border-color: var(--ink); box-shadow: 0 0 0 3px var(--lime); }
body.page--pilot .submit-row .btn-primary { width: 100%; background: var(--ink) !important; }
body.page--pilot .thanks,
body.page--pilot .form-error { grid-column: 2; grid-row: 1 / 5; align-self: center; }
body.page--pilot .fine { grid-column: 2; grid-row: 5; margin-top: 22px; color: var(--text-4); }
body.page--pilot .foot { position: relative; z-index: 1; padding: 26px; border-top: 1px solid var(--border); color: var(--text-4); font-family: "Geist Mono", monospace; font-size: 12px; }

@media (max-width: 900px) {
  body.page .nav-right { gap: 0; }
  body.page .nav-cta { display: none; }
  body.page .pg-header,
  body.page .inc-header { padding: 120px 16px 64px !important; }
  body.page .pg-header h1,
  body.page .inc-header h1 { font-size: clamp(42px, 11vw, 72px); }
  body.page .ep-grid { grid-template-columns: 1fr; }
  body.page .ep-col + .ep-col { border-left: 0 !important; border-top: 1px solid var(--border-strong) !important; }
  body.page--incidents .inc-list { grid-template-columns: 1fr; }
  body.page--incidents .inc-card:nth-child(even) { padding-left: 0; border-left: 0 !important; }
  body.page--pilot .card { grid-template-columns: 1fr; grid-template-rows: auto; gap: 0; }
  body.page--pilot .head,
  body.page--pilot .stages,
  body.page--pilot .effort,
  body.page--pilot form,
  body.page--pilot .thanks,
  body.page--pilot .form-error,
  body.page--pilot .fine { grid-column: 1; grid-row: auto; }
  body.page--pilot .effort { margin-bottom: 28px; }
  body.page--pilot form { margin-right: 10px; }
}

@media (max-width: 700px) {
  body.page .wrap { width: calc(100% - 32px); }
  body.page .pg-section { padding: 76px 0 !important; }
  body.page .pg-section-title { font-size: 38px; }
  body.page .diagram-card { padding: 16px; }
  body.page .fit-grid { grid-template-columns: 1fr; }
  body.page--incidents .inc-band { padding: 76px 0 !important; }
  body.page--incidents .inc-list { width: calc(100% - 32px); }
  body.page--regulation .regmap-row { padding: 18px; }
  body.page--regulation .reg-cols { border-left: 0; }
  body.page--regulation .reg-col { padding-left: 0; padding-right: 0; border-right: 0; }
  body.page--pilot > .wrap { width: calc(100% - 32px); padding: 40px 0 72px; }
  body.page--pilot .stages { grid-template-columns: 1fr; }
  body.page--pilot form { grid-template-columns: 1fr; padding: 20px; }
  body.page--pilot form > * { grid-column: 1 !important; }
}

@media (max-width: 480px) {
  body.page .pg-header p,
  body.page .inc-header p { font-size: 17px; }
  body.page--regulation .reg-row { flex-direction: column; gap: 4px; }
  body.page--regulation .reg-row-year { flex: none; }
}

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