:root {
  color-scheme: light dark;
  --ink: #12242b;
  --paper: #eef2f4;
  --card: #ffffff;
  --line: #cdd8dc;
  --muted: #4f636b;
  --accent: #0a8a86;
  --accent-2: #b5610d;
  --blue: #245b9e;
  --dark: #081319;
  --hero-ink: #eaf3f2;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e6eef2;
    --paper: #0a1218;
    --card: #101d24;
    --line: #24353f;
    --muted: #9db1b9;
    --accent: #4fd6cf;
    --accent-2: #e6a052;
    --blue: #86b4ea;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: 0;
}
a { color: var(--accent); }
a:hover { color: var(--blue); }
.wrap { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

.site-nav {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  font-weight: 800;
  text-decoration: none;
}
.brand img { width: 40px; height: 40px; border-radius: 9px; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { color: inherit; font-size: 0.9rem; font-weight: 700; text-decoration: none; }
.nav-links a:hover { color: #ffd08a; }

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: var(--hero-ink);
  background:
    radial-gradient(circle at 1px 1px, rgba(120, 205, 199, 0.16) 1.5px, transparent 1.7px) 0 0 / 26px 26px,
    linear-gradient(158deg, #0d2027 0%, #081319 58%, #061019 100%);
}
.hero .nav-links a { color: var(--hero-ink); }
.hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: min(62vh, 620px);
  max-width: 820px;
  flex-direction: column;
  justify-content: center;
  padding: 64px 0 84px;
}
.eyebrow { margin: 0 0 12px; color: #ffb45e; font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; }
h1, h2, h3 { line-height: 1.12; letter-spacing: 0; }
h1 { max-width: 820px; margin: 0; font-size: 6rem; font-weight: 850; }
.hero-copy > p:not(.eyebrow) { max-width: 720px; margin: 24px 0 0; color: #d3e6e2; font-size: 1.32rem; }
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin: 30px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.26);
  color: #b4d3ce;
  font-size: 0.88rem;
  font-weight: 700;
}

.band { padding: 84px 0; }
.band.paper { background: var(--card); }
.band.dark { background: var(--dark); color: #eaf3f2; }
.band.callout { background: #10262b; color: #eaf3f2; }
@media (prefers-color-scheme: dark) { .band.paper { background: #0e1a20; } }

.section-heading { max-width: 820px; margin-bottom: 44px; }
.section-heading h2 { margin: 0; font-size: 3.3rem; }
.section-heading p { margin: 16px 0 0; color: var(--muted); font-size: 1.08rem; }
.dark .section-heading p, .callout .section-heading p { color: #b7ccc8; }

.shot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
figure { margin: 0; }
.shot-grid figure svg { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 18px 50px rgba(7, 24, 28, 0.16); background: #0e1b22; }
figcaption { margin-top: 12px; color: var(--muted); font-size: 0.9rem; }

.capability-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #33474b; border-left: 1px solid #33474b; }
.capability { min-height: 210px; padding: 28px; border-right: 1px solid #33474b; border-bottom: 1px solid #33474b; }
.capability strong { display: block; margin-bottom: 10px; color: #6ed7cc; font-size: 1.08rem; }
.capability p { margin: 0; color: #c5d8d4; }

.check-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; border-top: 1px solid var(--line); }
.check-list .check { display: flex; gap: 14px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid var(--line); }
.check .dot { flex: 0 0 auto; width: 12px; height: 12px; margin-top: 7px; border-radius: 50%; background: var(--accent); }
.check .dot.warn { background: var(--accent-2); }
.check .dot.stop { background: #c0392b; }
.check strong { display: block; }
.check span { color: var(--muted); font-size: 0.94rem; }

.callout-body { max-width: 860px; }
.callout-body p { margin: 0 0 14px; color: #cfe0dc; font-size: 1.12rem; }
.callout-body p:last-child { margin-bottom: 0; }
.callout-body strong { color: #ffd08a; }

.document-header { background: var(--dark); color: #eaf3f2; }
.document-header .site-nav { border-bottom: 1px solid #2b4448; }
.document-header .nav-links a { color: #eaf3f2; }
.document-title { padding: 68px 0 78px; }
.document-title h1 { max-width: 900px; font-size: 5rem; }
.document-title p { max-width: 780px; margin: 18px 0 0; color: #bad0cc; }
.document { max-width: 860px; padding: 66px 0 96px; }
.document section { padding: 26px 0; border-bottom: 1px solid var(--line); }
.document h2 { margin: 0 0 12px; font-size: 1.5rem; }
.document p, .document ul { margin: 0 0 14px; }
.document li + li { margin-top: 8px; }

.support-index { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 34px; border-top: 1px solid var(--line); }
.support-index section { min-height: 200px; }
.contact-link { display: inline-block; padding: 12px 16px; border: 2px solid var(--accent); border-radius: 6px; background: var(--accent); color: #ffffff; font-weight: 800; text-decoration: none; }
.contact-link:hover { background: var(--blue); border-color: var(--blue); color: #ffffff; }

footer { padding: 34px 0; background: #041016; color: #9fb6b2; font-size: 0.85rem; }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; }
footer a { color: #d2e6e2; }

@media (max-width: 1100px) {
  h1 { font-size: 5rem; }
  .section-heading h2 { font-size: 2.8rem; }
  .document-title h1 { font-size: 4.2rem; }
}

@media (max-width: 760px) {
  .wrap { width: min(100% - 28px, 1160px); }
  .site-nav { min-height: 64px; }
  .nav-links { gap: 14px; }
  .nav-links a { font-size: 0.78rem; }
  .hero-copy { min-height: 0; padding: 48px 0 60px; }
  h1 { font-size: 2.7rem; }
  .hero-copy > p:not(.eyebrow) { font-size: 1.05rem; }
  .section-heading h2 { font-size: 2.1rem; }
  .document-title h1 { font-size: 2.7rem; }
  .band { padding: 60px 0; }
  .shot-grid, .capability-grid, .check-list, .support-index { grid-template-columns: 1fr; }
  .capability-grid { border-left: 0; }
  .capability { min-height: 0; border-left: 1px solid #33474b; }
  footer .wrap { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
