/* Novastack Technologies Inc. corporate site. Design tokens shared with FieldLedger and its marketing site. */

:root {
  --navy: #0B1F3A;
  --navy-950: #071528;
  --navy-800: #12294A;
  --primary: #1860E6;
  --primary-600: #1659D6;
  --primary-50: #EEF5FF;
  --teal: #00C2A8;
  --teal-600: #00A88F;
  --teal-700: #007F6C;
  --teal-50: #E6FAF7;
  --amber-700: #B45309;
  --amber-50: #FFF7E8;
  --red: #DC2626;

  --ink: #0B1F3A;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748B;
  --slate-300: #CBD5E1;
  --slate-200: #E2E8F0;
  --slate-100: #F1F5F9;
  --white: #FFFFFF;

  --on-dark: #C7D3E6;
  --on-dark-muted: #94A8C6;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .1), 0 1px 2px -1px rgba(0, 0, 0, .1);
  --shadow: 0 10px 24px -12px rgba(11, 31, 58, .22), 0 4px 8px -4px rgba(11, 31, 58, .08);
  --shadow-lg: 0 32px 64px -24px rgba(4, 12, 28, .6), 0 12px 24px -12px rgba(4, 12, 28, .35);

  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Space Grotesk", "DM Sans", system-ui, sans-serif;
  --container: 1200px;
  --header-h: 68px;

  --app-bg:
    radial-gradient(80% 50% at 100% -20%, rgba(30, 111, 255, .1), transparent),
    radial-gradient(60% 40% at 0 100%, rgba(0, 194, 168, .08), transparent);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--slate-700);
  background: var(--slate-100);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
img, svg { display: block; }
img { max-width: 100%; height: auto; }
a { color: var(--primary-600); text-underline-offset: 3px; }
a:hover { color: var(--primary); }

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}
.on-dark :focus-visible { outline-color: #7FB0FF; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 16px; top: -100px;
  z-index: 200;
  background: var(--primary);
  color: var(--white);
  font-weight: 600;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--white); }

.icon {
  width: 1.15em; height: 1.15em;
  fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  flex: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: 860px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  font-size: .975rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn-sm { min-height: 40px; padding: 8px 14px; font-size: .925rem; }
.btn-lg { min-height: 50px; padding: 13px 24px; font-size: 1.025rem; }
.btn:disabled { opacity: .65; cursor: progress; }

.btn-primary { background: var(--primary); color: var(--white); box-shadow: 0 8px 20px -8px rgba(30, 111, 255, .6); }
.btn-primary:hover { background: var(--primary-600); color: var(--white); }

.btn-outline-light { border-color: rgba(255, 255, 255, .22); color: var(--white); background: rgba(255, 255, 255, .05); }
.btn-outline-light:hover { border-color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .1); color: var(--white); }

.btn-outline { border-color: var(--slate-300); color: var(--ink); background: var(--white); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary-600); }

.btn-ghost { color: var(--white); background: transparent; }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); color: var(--white); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  text-decoration: none;
}
.link-arrow .icon { transition: transform .15s ease; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 31, 58, .94);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  text-decoration: none;
}
.brand:hover { color: var(--white); }
.brand-mark {
  width: 36px; height: 36px;
  border-radius: 9px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .14);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; letter-spacing: -0.01em; }
.brand-sub { font-size: .66rem; color: var(--on-dark-muted); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }

.site-nav { display: flex; align-items: center; gap: 24px; }
.nav-links { display: flex; gap: 2px; list-style: none; }
.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  color: var(--on-dark);
  text-decoration: none;
  font-weight: 500;
  font-size: .95rem;
  border-radius: var(--radius-sm);
}
.nav-links a:hover { color: var(--white); background: rgba(255, 255, 255, .07); }
.nav-links a[aria-current="page"] { color: var(--white); background: rgba(255, 255, 255, .1); }
.nav-new {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--teal);
  border-radius: 999px;
  padding: 1px 7px;
}
.nav-actions { display: flex; gap: 8px; align-items: center; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .2);
  color: var(--white);
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  align-items: center; justify-content: center;
  cursor: pointer;
}
.nav-toggle .icon { width: 22px; height: 22px; }

/* Navy panels with the app's blurred blue/teal glow */
.glow {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: var(--navy);
  color: var(--on-dark);
}
.glow::before,
.glow::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.glow::before { width: 520px; height: 520px; top: -180px; right: -120px; background: rgba(30, 111, 255, .32); }
.glow::after { width: 440px; height: 440px; bottom: -200px; left: -140px; background: rgba(0, 194, 168, .2); }

/* Hero */
.hero { padding: 72px 0 96px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--primary-600);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--teal); }
.eyebrow--dark { color: #8FC0FF; }
.hero h1 {
  color: var(--white);
  font-size: clamp(2.3rem, 4.4vw, 3.5rem);
  letter-spacing: -0.035em;
  line-height: 1.06;
}
.hero-sub {
  margin-top: 22px;
  font-size: clamp(1.1rem, 1.5vw, 1.25rem);
  color: var(--on-dark);
  max-width: 34em;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-ctas--center { justify-content: center; }
.hero-note { margin-top: 18px; font-size: .975rem; color: var(--on-dark-muted); }

.launch-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding: 5px 14px 5px 5px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .06);
  color: var(--white);
  font-size: .9rem;
  font-weight: 500;
  text-decoration: none;
  transition: border-color .15s ease, background-color .15s ease;
}
.launch-pill:hover { color: var(--white); border-color: rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .1); }
.launch-pill b {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--teal);
  border-radius: 999px;
  padding: 3px 10px;
}
.launch-pill .icon { width: 16px; height: 16px; color: var(--teal); }

.hero-visual { margin: 0; position: relative; }
.hero-badge {
  position: absolute;
  left: -18px;
  bottom: 44px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-lg);
  max-width: 280px;
}
.hero-badge .tile { width: 40px; height: 40px; }
.hero-badge b { display: block; color: var(--ink); font-family: var(--font-head); font-weight: 600; line-height: 1.25; }
.hero-badge small { display: block; font-size: .85rem; color: var(--slate-600); line-height: 1.35; }

/* Compact hero for inner pages */
.hero--compact { padding: 64px 0 72px; }
.hero--compact h1 { font-size: clamp(2.1rem, 3.8vw, 3rem); max-width: 18em; }
.hero--compact .hero-sub { max-width: 40em; }

/* Screenshot frames */
.shot { margin: 0; min-width: 0; }
.shot-frame {
  background: var(--white);
  border: 1px solid rgba(226, 232, 240, .9);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.shot-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 34px;
  padding: 0 12px;
  background: var(--slate-100);
  border-bottom: 1px solid var(--slate-200);
}
.shot-dots { display: flex; gap: 6px; }
.shot-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--slate-300); }
.shot-url {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 6px;
  padding: 2px 10px;
  font-size: 11.5px;
  color: var(--slate-500);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.shot-url .icon { width: 11px; height: 11px; color: var(--teal-600); }
.shot-frame img { width: 100%; height: auto; }
.shot--hero .shot-frame { border-color: rgba(255, 255, 255, .14); box-shadow: var(--shadow-lg); }
.shot--hero .shot-bar { background: #E9EEF5; }
.shot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }

.caption { margin-top: 10px; font-size: .85rem; color: var(--slate-500); }
.caption--dark { color: var(--on-dark-muted); }

/* Strip under the hero */
.strip {
  background: var(--white);
  border-bottom: 1px solid var(--slate-200);
  padding: 20px 0;
}
.strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
}
.strip-label { color: var(--slate-600); font-weight: 500; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.badges li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--slate-200);
  border-radius: 999px;
  background: var(--slate-100);
  color: var(--ink);
  font-weight: 500;
  font-size: .875rem;
}
.badges .icon { color: var(--teal-600); }

/* Sections */
.section { padding: 96px 0; background: var(--slate-100) var(--app-bg); }
.section--alt { background: var(--white); border-top: 1px solid var(--slate-200); border-bottom: 1px solid var(--slate-200); }
.section-head { max-width: 780px; margin-bottom: 56px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head h2, .section-title { font-size: clamp(1.8rem, 3vw, 2.5rem); letter-spacing: -0.03em; }
.lead { margin-top: 18px; font-size: 1.125rem; color: var(--slate-600); }
.lead--strong { color: var(--ink); font-weight: 500; }
.section-foot { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.section-foot--center { justify-content: center; }

.card {
  background: var(--white);
  border: 1px solid rgba(226, 232, 240, .9);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

/* Icon tiles */
.tile {
  display: inline-flex;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border-radius: var(--radius);
  background: var(--primary-50);
  color: var(--primary);
  flex: none;
}
.tile svg {
  width: 22px; height: 22px;
  fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round;
}
.tile--teal { background: var(--teal-50); color: var(--teal-600); }
.tile--navy { background: var(--navy); color: var(--teal); }

/* Status chips */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 600;
  white-space: nowrap;
  line-height: 1.5;
}
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.chip--live { background: var(--teal-50); color: var(--teal-700); box-shadow: inset 0 0 0 1px #A5E9DE; }
.chip--dev { background: var(--amber-50); color: var(--amber-700); box-shadow: inset 0 0 0 1px #FCD9A0; }
.chip--dark { background: rgba(0, 194, 168, .14); color: #5FE3CF; box-shadow: inset 0 0 0 1px rgba(0, 194, 168, .35); }

/* Generic card grids */
.grid-3 { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-4 { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.feature-card { padding: 26px 24px; display: flex; flex-direction: column; gap: 10px; transition: transform .2s ease, box-shadow .2s ease; }
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature-card .tile { margin-bottom: 6px; }
.feature-card h3 { font-size: 1.15rem; }
.feature-card p { color: var(--slate-600); }
.feature-card .link-arrow { margin-top: auto; padding-top: 6px; }

/* FieldLedger spotlight */
.spotlight {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 56px;
  align-items: center;
}
.spotlight-copy h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); letter-spacing: -0.03em; }
.product-mark { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 20px; }
.product-mark img { width: 48px; height: 48px; border-radius: 12px; }
.product-mark b { display: block; font-family: var(--font-head); font-size: 1.35rem; font-weight: 600; color: var(--ink); line-height: 1.1; }
.product-mark small { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--slate-500); }
.mini-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.mini-list li { display: flex; gap: 12px; align-items: flex-start; }
.mini-list .tile { width: 38px; height: 38px; }
.mini-list .tile svg { width: 19px; height: 19px; }
.mini-list b { display: block; color: var(--ink); font-weight: 600; line-height: 1.3; }
.mini-list small { display: block; font-size: .925rem; color: var(--slate-600); line-height: 1.45; }

.checklist { list-style: none; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 30px; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: .28em;
  width: 19px; height: 19px;
  border-radius: 50%;
  background: var(--teal-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300A88F' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Product module map (mirrors the FieldLedger sidebar) */
.modmap { border-radius: var(--radius-lg); padding: 36px; }
.modmap-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 24px; }
.modmap-head h3 { color: var(--white); font-size: 1.3rem; display: inline-flex; align-items: center; gap: 10px; }
.modmap-head h3 .icon { color: var(--teal); }
.modmap-grid { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.modmap-col {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius);
  padding: 18px;
}
.modmap-col h4 {
  font-family: var(--font);
  color: var(--on-dark-muted);
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 12px;
}
.modmap-col ul { list-style: none; display: grid; gap: 6px; }
.modmap-col li {
  color: var(--white);
  font-weight: 500;
  font-size: .95rem;
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  background: rgba(255, 255, 255, .04);
}
.modmap-grid > li:first-child li:first-child { background: var(--primary); }

/* Feature rows */
.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 56px;
  align-items: start;
}
.feature-row + .feature-row, .modmap + .feature-row, .feature-row + .modmap { margin-top: 80px; }
.feature-row--reverse { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.feature-row--reverse .feature-copy { order: 2; }
.feature-row--reverse .feature-visual { order: 1; }
.feature-copy h3 { font-size: 1.4rem; margin-bottom: 14px; }
.feature-copy > p { color: var(--slate-600); margin-bottom: 16px; }
.feature-visual { margin: 0; display: grid; gap: 24px; min-width: 0; }

/* PH band */
.ph-band { padding: 96px 0; }
.ph-band h2 { color: var(--white); }
.ph-band .lead { color: var(--on-dark); }
.ph-grid { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ph-grid li {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius);
  padding: 22px 20px;
}
.ph-grid .icon { width: 26px; height: 26px; color: var(--teal); margin-bottom: 12px; }
.ph-grid h3 { color: var(--white); font-size: 1.05rem; margin-bottom: 6px; }
.ph-grid p { color: var(--on-dark); }
.ph-footnote { margin: 32px auto 0; max-width: 820px; text-align: center; color: var(--on-dark-muted); font-size: .95rem; }

/* Product pipeline */
.pipeline { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pipe-card { padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.pipe-card--live { border: 2px solid var(--teal); box-shadow: var(--shadow); }
.pipe-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.pipe-card h3 { font-size: 1.12rem; }
.pipe-card .pipe-industry { font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--slate-500); }
.pipe-card p { color: var(--slate-600); }
.pipe-card .tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.pipe-card .tags li {
  font-size: .8rem;
  font-weight: 500;
  color: var(--slate-700);
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  border-radius: 6px;
  padding: 2px 8px;
}
.pipe-card .link-arrow { margin-top: auto; padding-top: 4px; }
.pipeline-note { margin-top: 24px; font-size: .925rem; color: var(--slate-500); }

/* Process steps */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.step { padding: 26px 24px 24px; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: var(--radius);
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 14px;
}
.step h3 { font-size: 1.12rem; margin-bottom: 8px; }
.step p { color: var(--slate-600); }

/* About: intro and facts */
.intro {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 56px;
  align-items: start;
}
.intro-copy h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); letter-spacing: -0.03em; margin-bottom: 20px; }
.intro-copy p:not(.eyebrow) { font-size: 1.075rem; color: var(--slate-600); }
.intro-copy p:not(.eyebrow) + p { margin-top: 16px; }
.facts { padding: 28px; display: grid; gap: 0; }
.facts h3 { font-size: 1.1rem; margin-bottom: 8px; }
.facts dl { margin: 0; display: grid; }
.facts dl > div { display: grid; grid-template-columns: 9.5em 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--slate-200); }
.facts dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
.facts dt { color: var(--slate-500); font-size: .925rem; }
.facts dd { margin: 0; color: var(--ink); font-weight: 500; }

.mission { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.mission li { padding: 32px; border-radius: var(--radius-lg); }
.mission h3 { color: var(--white); font-size: 1.3rem; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.mission h3 .icon { color: var(--teal); }
.mission p { color: var(--on-dark); font-size: 1.075rem; }

.timeline { list-style: none; display: grid; gap: 0; max-width: 760px; }
.timeline li { position: relative; padding: 0 0 32px 44px; }
.timeline li::before {
  content: "";
  position: absolute;
  left: 9px; top: 8px; bottom: -8px;
  width: 2px;
  background: var(--slate-200);
}
.timeline li:last-child { padding-bottom: 0; }
.timeline li:last-child::before { display: none; }
.timeline li::after {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--white);
  border: 4px solid var(--slate-300);
}
.timeline li.is-done::after { border-color: var(--teal); }
.timeline li.is-now::after { border-color: var(--primary); background: var(--primary-50); }
.timeline .when { font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--slate-500); }
.timeline h3 { font-size: 1.12rem; margin: 2px 0 6px; }
.timeline p { color: var(--slate-600); }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 32px;
  align-items: start;
}
.contact-form { padding: 32px; display: grid; gap: 16px; }
.contact-form h2 { font-size: 1.45rem; }
.contact-form > p { color: var(--slate-600); }
.contact-side { display: grid; gap: 16px; }
.contact-card { padding: 22px; display: flex; gap: 14px; align-items: flex-start; }
.contact-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.contact-card p { color: var(--slate-600); font-size: .95rem; }
.contact-card p + p { margin-top: 6px; }
.contact-card a { font-weight: 600; overflow-wrap: anywhere; }
.contact-card--dark { border: 0; }
.contact-card--dark h3 { color: var(--white); }
.contact-card--dark p { color: var(--on-dark); }
.contact-card--dark a { color: #8FC0FF; }
.contact-card--dark a:hover { color: var(--white); }

.field { display: grid; gap: 6px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-weight: 500; color: var(--ink); font-size: .925rem; }
.optional { font-weight: 400; color: var(--slate-500); }
.field input, .field select, .field textarea {
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  background: var(--white);
  width: 100%;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 0;
  border-color: var(--primary);
}
.field [aria-invalid="true"] { border-color: var(--red); }
.field-hint { font-size: .85rem; color: var(--slate-500); }
.field-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .875rem; color: var(--slate-600); }
.form-status { font-size: .95rem; color: var(--ink); min-height: 1.4em; }
.form-status.is-error { color: var(--red); }
.form-status.is-ok { color: var(--teal-700); font-weight: 500; }
.form-actions { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }

/* Final CTA */
.final-cta { padding: 96px 0; text-align: center; }
.final-cta h2 { color: var(--white); font-size: clamp(1.9rem, 3.4vw, 2.8rem); letter-spacing: -0.03em; max-width: 820px; margin: 0 auto; }
.final-cta p { margin: 16px auto 0; max-width: 620px; font-size: 1.125rem; }

/* Footer */
.site-footer { background: var(--navy-950); color: var(--on-dark-muted); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.3fr 1fr; gap: 32px; }
.footer-brand p { margin-top: 14px; max-width: 340px; }
.footer-h { font-family: var(--font); color: var(--white); font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 12px; }
.footer-nav ul { list-style: none; display: grid; gap: 8px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  margin-top: 40px; padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: .9rem;
}

/* Legal pages */
.legal { padding: 40px 44px; }
.legal h2 { font-size: 1.3rem; margin: 36px 0 12px; }
.legal h2:first-child { margin-top: 0; }
.legal p + p, .legal p + ul, .legal ul + p { margin-top: 12px; }
.legal ul { padding-left: 22px; display: grid; gap: 6px; }
.legal strong { color: var(--ink); }

/* 404 */
.notfound { min-height: calc(100vh - var(--header-h) - 120px); display: grid; align-items: center; text-align: center; }
.notfound h1 { margin: 0 auto; }
.notfound .hero-sub { margin-left: auto; margin-right: auto; }

/* Reveal motion */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .feature-card, .btn, .link-arrow .icon, .launch-pill { transition: none; }
  .feature-card:hover { transform: none; }
  .link-arrow:hover .icon { transform: none; }
}

/* Responsive */
@media (max-width: 1100px) {
  .hero-grid, .spotlight, .intro, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-copy { max-width: 760px; }
  .hero-badge { left: 16px; }
  .feature-row, .feature-row--reverse { grid-template-columns: 1fr; gap: 40px; }
  .feature-row--reverse .feature-copy, .feature-row--reverse .feature-visual { order: initial; }
  .grid-4, .ph-grid, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pipeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .modmap-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h); left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 16px 24px 24px;
    background: var(--navy);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
  }
  .site-nav.is-open { display: flex; }
  .nav-links { flex-direction: column; }
  .nav-links a { display: flex; padding: 10px 12px; font-size: 1rem; }
  .nav-actions { flex-direction: column; align-items: stretch; }
  .nav-actions .btn { min-height: 46px; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mission { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .section, .ph-band, .final-cta { padding: 64px 0; }
  .hero { padding: 48px 0 64px; }
  .hero--compact { padding: 44px 0 52px; }
  .section-head { margin-bottom: 40px; }
  .modmap { padding: 24px; }
  .modmap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-row + .feature-row, .modmap + .feature-row, .feature-row + .modmap { margin-top: 56px; }
  .shot-grid, .mini-list { grid-template-columns: 1fr; }
  .shot-bar { height: 28px; }
  .shot-dots i { width: 8px; height: 8px; }
  .hero-badge { position: static; margin-top: 16px; max-width: none; box-shadow: var(--shadow); }
}

@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .grid-3, .grid-4, .ph-grid, .steps, .pipeline, .footer-grid { grid-template-columns: 1fr; }
  .strip-inner { flex-direction: column; align-items: flex-start; }
  .hero-ctas .btn { width: 100%; }
  .field-row { grid-template-columns: 1fr; }
  .contact-form, .facts { padding: 22px; }
  .facts dl > div { grid-template-columns: 1fr; gap: 2px; }
  .mission li { padding: 24px; }
  .legal { padding: 26px 20px; }
  .brand-sub { display: none; }
  .header-inner > .nav-actions .btn-ghost { display: none; }
}
