/* ============================================================
   Sentinel by Aileronics — marketing preview
   Dark sky / cockpit / cyan-on-dark aesthetic
   ============================================================ */

:root {
  --bg: #060b12;
  --bg-elevated: #0b1220;
  --bg-card: #0f1828;
  --bg-card-hover: #132033;
  --line: rgba(56, 189, 248, 0.12);
  --line-strong: rgba(56, 189, 248, 0.28);
  --text: #e8f1f8;
  --text-muted: #8ba3b8;
  --text-faint: #5a7188;
  --cyan: #38bdf8;
  --cyan-bright: #7dd3fc;
  --cyan-dim: rgba(56, 189, 248, 0.12);
  --amber: #f5a524;
  --amber-dim: rgba(245, 165, 36, 0.14);
  --green: #34d399;
  --white: #f8fafc;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --header-h: 72px;
  --banner-h: 36px;
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--banner-h) + 12px);
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--cyan-bright); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--white); }
ul, ol { list-style: none; }
strong { font-weight: 600; color: var(--white); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--cyan);
  color: #041018;
  padding: 8px 14px;
  z-index: 1000;
  font-weight: 600;
}
.skip-link:focus { left: 12px; top: 12px; }

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* ---------- Preview banner ---------- */
.preview-banner {
  position: sticky;
  top: 0;
  z-index: 60;
  background: linear-gradient(90deg, #1a1205, #2a1c08);
  border-bottom: 1px solid rgba(245, 165, 36, 0.35);
  color: #fcd9a0;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  text-align: center;
  padding: 0.5rem 1rem;
  min-height: var(--banner-h);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: var(--banner-h);
  z-index: 50;
  background: rgba(6, 11, 18, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}
.brand:hover { color: inherit; }
.brand-mark { flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: var(--white);
}
.brand-tag {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 10px 9px;
  cursor: pointer;
}
.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.nav-list a {
  display: block;
  padding: 0.45rem 0.7rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: 8px;
}
.nav-list a:hover,
.nav-list a:focus-visible {
  color: var(--white);
  background: var(--cyan-dim);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.85rem; }
.btn-primary {
  background: linear-gradient(180deg, #4fc3f7, #0ea5e9);
  color: #041018;
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.28);
}
.btn-primary:hover { color: #041018; background: linear-gradient(180deg, #7dd3fc, #38bdf8); }
.btn-secondary {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--text);
}
.btn-secondary:hover {
  border-color: var(--cyan);
  color: var(--white);
  background: var(--cyan-dim);
}
.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: transparent;
  padding-inline: 0.75rem;
}
.btn-ghost:hover { color: var(--cyan-bright); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 4.5rem 0 3rem;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero-sky {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 70% 20%, rgba(14, 165, 233, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 40% at 20% 80%, rgba(245, 165, 36, 0.06), transparent 50%),
    linear-gradient(180deg, #08111c 0%, #060b12 100%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1rem;
}
.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
}
.hero h1 {
  font-size: clamp(2rem, 4.2vw, 3.15rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.15rem;
  max-width: 18ch;
}
.hero-lead {
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 40rem;
  margin-bottom: 1.75rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.hero-meta {
  font-size: 0.88rem;
  color: var(--text-faint);
  font-family: var(--mono);
}
.hero-horizon {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 120px;
  object-fit: cover;
  pointer-events: none;
  opacity: 0.9;
}

/* HUD mockup */
.hero-visual { position: relative; }
.hud-panel {
  background: linear-gradient(160deg, #0d1624, #0a101a);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hud-top, .hud-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 1rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.35);
}
.hud-label { color: var(--cyan); font-weight: 600; }
.hud-range { color: var(--amber); }
.hud-status {
  color: var(--green);
  font-weight: 600;
}
.hud-horizon {
  position: relative;
  height: 260px;
  overflow: hidden;
}
.hud-sky {
  position: absolute;
  inset: 0 0 45% 0;
  background: linear-gradient(180deg, #1a3a55 0%, #2a5570 100%);
}
.hud-ground {
  position: absolute;
  inset: 55% 0 0 0;
  background: linear-gradient(180deg, #1a2a1a 0%, #0d1510 100%);
}
.hud-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 55%;
  height: 2px;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  transform: translateY(-50%);
}
.hud-crosshair {
  position: absolute;
  left: 50%;
  top: 55%;
  width: 28px;
  height: 28px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
}
.hud-crosshair::before,
.hud-crosshair::after {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.35);
}
.hud-crosshair::before {
  left: 50%; top: -6px; bottom: -6px; width: 1px; transform: translateX(-50%);
}
.hud-crosshair::after {
  top: 50%; left: -6px; right: -6px; height: 1px; transform: translateY(-50%);
}
.hud-target {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.hud-target-1 { left: 28%; top: 28%; }
.hud-target-2 { right: 22%; top: 38%; }
.hud-box {
  width: 36px;
  height: 28px;
  border: 1.5px solid var(--cyan);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.4);
}
.hud-box-amber {
  border-color: var(--amber);
  box-shadow: 0 0 10px rgba(245, 165, 36, 0.4);
  width: 28px;
  height: 22px;
}
.hud-tag {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: var(--cyan);
  background: rgba(6, 11, 18, 0.75);
  padding: 2px 6px;
  border-radius: 3px;
}
.hud-tag-amber { color: var(--amber); }
.visual-note {
  margin-top: 0.75rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-faint);
  font-family: var(--mono);
}

/* ---------- Sections ---------- */
.section {
  padding: 5rem 0;
  border-bottom: 1px solid var(--line);
}
.section-head { margin-bottom: 2.5rem; max-width: 42rem; }
.section-label {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.75rem;
}
.section h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 0.85rem;
}
.section-lead {
  color: var(--text-muted);
  font-size: 1.05rem;
}
.section-lead a { font-weight: 500; }

.icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--cyan);
}
.icon-sm { width: 16px; height: 16px; }

/* ---------- Problem / stats ---------- */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.stat-label {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.75rem;
}
.stat-quote {
  font-size: 1.15rem;
  line-height: 1.4;
  color: var(--text);
  font-weight: 500;
}
.stat-source {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: var(--text-faint);
}

/* ---------- Solution ---------- */
.hazard-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.hazard-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  background: var(--cyan-dim);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--cyan-bright);
}
.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.feature-strip-item {
  display: flex;
  gap: 1rem;
  padding: 1.35rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.feature-strip-item h3 {
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 0.35rem;
}
.feature-strip-item p {
  font-size: 0.92rem;
  color: var(--text-muted);
}
.inline-link {
  margin-top: 1.75rem;
}
.inline-link a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  text-decoration: none;
}
.inline-link a:hover { text-decoration: underline; }

/* ---------- How ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.step {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
}
.step-num {
  display: block;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--cyan);
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}
.step h3 {
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 0.4rem;
}
.step p {
  font-size: 0.9rem;
  color: var(--text-muted);
}
.callout {
  padding: 1.15rem 1.35rem;
  background: var(--amber-dim);
  border: 1px solid rgba(245, 165, 36, 0.3);
  border-radius: var(--radius);
  font-size: 0.92rem;
  color: var(--text-muted);
}
.callout strong { color: var(--amber); }

/* ---------- Capabilities ---------- */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.cap-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  transition: border-color 0.15s, background 0.15s;
}
.cap-card:hover {
  border-color: var(--line-strong);
  background: var(--bg-card-hover);
}
.cap-card-featured {
  grid-row: span 2;
  background: linear-gradient(165deg, #102038, #0c1626);
  border-color: var(--line-strong);
  display: flex;
  flex-direction: column;
}
.cap-kicker {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.5rem;
}
.cap-card h3 {
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 0.65rem;
}
.cap-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
}
.cap-icon-wrap {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: var(--cyan-dim);
  border-radius: 10px;
  margin-bottom: 0.85rem;
}
.cap-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 0.5rem;
}
.cap-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}
.cap-list .icon { color: var(--green); margin-top: 3px; }

.compare {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}
.compare-title {
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 0.35rem;
}
.compare-note, .compare-source {
  font-size: 0.88rem;
  color: var(--text-faint);
  margin-bottom: 1rem;
}
.compare-source { margin-bottom: 0; margin-top: 1rem; }
.compare-table-wrap { overflow-x: auto; }
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.compare-table th,
.compare-table td {
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
}
.compare-table th {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  font-weight: 500;
}
.compare-highlight td {
  color: var(--white);
  font-weight: 600;
  background: var(--cyan-dim);
}
.compare-highlight td:last-child { color: var(--cyan-bright); }

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.team-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  text-align: center;
}
.team-avatar {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--cyan);
  background: var(--cyan-dim);
  border: 1px solid var(--line-strong);
}
.team-card h3 {
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 0.25rem;
}
.team-role {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.65rem;
}
.team-bio {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ---------- Timeline ---------- */
.timeline-list {
  display: grid;
  gap: 0;
  border-left: 2px solid var(--line-strong);
  margin-left: 0.5rem;
  padding-left: 0;
}
.timeline-list li {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 1.25rem;
  padding: 0.95rem 0 0.95rem 1.5rem;
  position: relative;
}
.timeline-list li::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 1.35rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--cyan);
}
.tl-date {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--text-faint);
}
.tl-title {
  font-weight: 560;
  color: var(--text);
}
.tl-current::before {
  border-color: var(--amber);
  background: var(--amber);
  box-shadow: 0 0 10px rgba(245, 165, 36, 0.5);
}
.tl-current .tl-title { color: var(--amber); }
.tl-target::before {
  border-color: var(--green);
  background: var(--green);
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.5);
}
.tl-target .tl-title { color: var(--green); }
.tl-target .tl-date { color: var(--green); }

/* ---------- CTA ---------- */
.cta {
  background:
    radial-gradient(ellipse 70% 80% at 50% 0%, rgba(14, 165, 233, 0.15), transparent 60%),
    var(--bg);
  border-bottom: none;
}
.cta-inner {
  text-align: center;
  max-width: 40rem;
}
.cta-inner .section-label { justify-self: center; }
.cta-inner h2 { margin-bottom: 0.75rem; }
.cta-lead {
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  font-size: 1.05rem;
}
.cta .hero-actions { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 2rem;
  background: #050910;
}
.footer-inner {
  display: grid;
  gap: 1.5rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.footer-brand strong {
  display: block;
  font-size: 0.95rem;
}
.footer-brand p {
  font-size: 0.8rem;
  color: var(--text-faint);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}
.footer-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
}
.footer-nav a:hover { color: var(--cyan-bright); }
.footer-copy {
  font-size: 0.82rem;
  color: var(--text-faint);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero h1 { max-width: none; }
  .stat-grid { grid-template-columns: 1fr; }
  .feature-strip { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .cap-grid { grid-template-columns: 1fr 1fr; }
  .cap-card-featured { grid-row: auto; grid-column: 1 / -1; }
  .team-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  :root { --header-h: 64px; }
  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    padding: 1rem 1.25rem 1.25rem;
    background: rgba(8, 14, 22, 0.98);
    border-bottom: 1px solid var(--line);
  }
  .site-nav.is-open { display: flex; }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
  }
  .nav-list a { padding: 0.7rem 0.85rem; }
  .header-cta { width: 100%; text-align: center; }
  .steps { grid-template-columns: 1fr; }
  .cap-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .timeline-list li {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
  .hero { padding-top: 3rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .btn-ghost { width: auto; align-self: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover { transform: none; }
}

/* ---------- Marketer fold-in: gap / replace callouts + disclaimer ---------- */
.callout-gap,
.callout-replace {
  margin-top: 1.5rem;
  border-color: rgba(56, 189, 248, 0.22);
}
.callout-replace {
  border-left: 3px solid var(--cyan);
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.08), transparent);
}
.scan-fit {
  margin: 2.5rem 0 0;
  padding: 1.5rem 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.scan-fit p {
  color: var(--text-muted);
  margin-top: 0.5rem;
  max-width: 72ch;
}
.footer-disclaimer {
  grid-column: 1 / -1;
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--text-faint);
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  margin-top: 0.25rem;
  max-width: 70ch;
}
