/* Sentinel-AI — landing. Same graphite instrument panel as the app:
   1px hairlines, one signal accent, mono numerals, no gradients or glow. */

:root {
  color-scheme: light dark;
  --bg: #F6F6F2;
  --surface: #FFFFFF;
  --surface-2: #EFEFE9;
  --line: #DCDCD2;
  --line-strong: #BFBFB2;
  --ink: #101416;
  --muted: #4A565C;
  --dim: #6C7A80;
  --accent: #3E5A00;
  --on-accent: #F4FFD6;
  --safe: #0F7A55;
  --danger: #B3261E;
  --mono: ui-monospace, "Cascadia Mono", "SF Mono", Consolas, "Liberation Mono", monospace;
  --sans: -apple-system, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --r-sm: 8px;
  --r-md: 10px;
  --r-lg: 16px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0A0D0F;
    --surface: #101518;
    --surface-2: #151C20;
    --line: #232D33;
    --line-strong: #33414A;
    --ink: #ECF2F4;
    --muted: #A7B6BE;
    --dim: #74858F;
    --accent: #C9F05B;
    --on-accent: #0A0D0F;
    --safe: #4FD1A5;
    --danger: #FF6B6B;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.55 var(--sans);
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

code, .mono {
  font-family: var(--mono);
  font-size: 0.9em;
  font-variant-numeric: tabular-nums;
}

.dim { color: var(--dim); }

.ic { width: 20px; height: 20px; flex: none; }

/* ---------- top bar ---------- */

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px 28px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--ink);
}

.top__nav { display: flex; align-items: center; gap: 6px; }

.top__nav a {
  padding: 9px 12px;
  border-radius: var(--r-sm);
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
}

.top__nav a:hover { color: var(--ink); background: var(--surface); }

.top__cta {
  color: var(--ink) !important;
  border: 1px solid var(--line-strong);
}

/* ---------- shared ---------- */

main { max-width: 1120px; margin: 0 auto; padding: 0 28px 8px; }

h1, h2, h3 { margin: 0; letter-spacing: -0.02em; font-weight: 600; }

h1 { font-size: clamp(38px, 6vw, 68px); line-height: 1.02; }

h2 { font-size: clamp(22px, 3vw, 30px); }

h3 { font-size: 16px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  font: 12px/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
}

.dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--safe);
}

.lede {
  max-width: 62ch;
  margin: 24px 0 0;
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  background: var(--surface);
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 120ms, background 120ms, transform 120ms;
}

.btn:hover { border-color: var(--ink); }
.btn:active { transform: translateY(1px); }

.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.btn--primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
}

.btn--primary:hover { filter: brightness(1.05); border-color: var(--accent); }

.btn--ghost { background: transparent; }

.btn__meta {
  padding-left: 10px;
  border-left: 1px solid color-mix(in srgb, currentColor 35%, transparent);
  font: 12px/1 var(--mono);
  opacity: 0.75;
}

.caveat { max-width: 66ch; color: var(--dim); font-size: 13px; }

/* ---------- hero ---------- */

.hero { padding: 72px 0 56px; border-bottom: 1px solid var(--line); }

.cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }

.micro { margin: 18px 0 0; font-size: 13px; color: var(--dim); }

/* ---------- checks ---------- */

.checks {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-bottom: 1px solid var(--line);
}

.check {
  padding: 28px 24px 32px 0;
  border-right: 1px solid var(--line);
}

.check:last-child { border-right: 0; }

.check .ic { color: var(--accent); margin-bottom: 16px; }

.check h2 { font-size: 15px; margin-bottom: 8px; }

.check p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--muted); }

/* ---------- pipeline ---------- */

.pipeline { padding: 64px 0 56px; border-bottom: 1px solid var(--line); }

.pipeline ol {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.pipeline li {
  padding: 0 20px 0 0;
  border-right: 1px solid var(--line);
  margin-right: 20px;
}

.pipeline li:last-child { border-right: 0; margin-right: 0; padding-right: 0; }

.num {
  display: block;
  margin-bottom: 14px;
  font: 13px/1 var(--mono);
  color: var(--accent);
  letter-spacing: 0.06em;
}

.pipeline p { margin: 8px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--muted); }

/* ---------- platforms ---------- */

.platforms { padding: 64px 0 56px; border-bottom: 1px solid var(--line); }

.table { margin-top: 28px; border-top: 1px solid var(--line); }

.tr {
  display: grid;
  grid-template-columns: 220px 1.4fr 1fr;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.tr > span { min-width: 0; }

.tr--head {
  font: 11px/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
  padding: 12px 0;
}

.tr strong { display: block; font-weight: 600; }

.tr em {
  display: block;
  margin-top: 4px;
  font: 12px/1 var(--mono);
  font-style: normal;
  color: var(--dim);
}

.tr [role="cell"]:nth-child(2) { color: var(--ink); }

.tr [role="cell"]:nth-child(3) { color: var(--dim); font-size: 13px; }

/* ---------- numbers ---------- */

.numbers { padding: 64px 0 56px; border-bottom: 1px solid var(--line); }

.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 28px 0 20px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.grid > div { padding: 22px 20px; background: var(--surface); }

.grid dt {
  font: 600 34px/1 var(--mono);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.grid dd { margin: 10px 0 0; font-size: 13px; color: var(--muted); }

/* ---------- download ---------- */

.download {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding: 64px 0 56px;
  border-bottom: 1px solid var(--line);
}

.download p { margin: 10px 0 0; }

.download__actions { display: flex; flex-direction: column; gap: 10px; min-width: 240px; }

/* ---------- footer ---------- */

.foot {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px;
  font-size: 13px;
  color: var(--muted);
}

.foot p { margin: 0 0 8px; }

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .checks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .check:nth-child(2) { border-right: 0; }
  .check:nth-child(1), .check:nth-child(2) { border-bottom: 1px solid var(--line); }
  .pipeline ol { grid-template-columns: 1fr; }
  .pipeline li {
    border-right: 0;
    border-left: 1px solid var(--line);
    margin: 0 0 0 4px;
    padding: 0 0 24px 22px;
  }
  .pipeline li:last-child { padding-bottom: 0; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tr { grid-template-columns: 1fr; gap: 8px; }
  .tr--head { display: none; }
}

@media (max-width: 560px) {
  .top { padding: 16px 20px; }
  .top__nav a:not(.top__cta) { display: none; }
  main { padding: 0 20px; }
  .hero { padding: 48px 0 40px; }
  .checks { grid-template-columns: 1fr; }
  .check { border-right: 0; border-bottom: 1px solid var(--line); padding-right: 0; }
  .check:last-child { border-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
