:root {
  --bg: #fbfaf7;
  --surface: #fffdf8;
  --surface-raised: #ffffff;
  --surface-muted: #f3f2ed;
  --surface-subtle: #f7f6f1;
  --ink: #101318;
  --ink-soft: #1c2430;
  --text: #4b5563;
  --text-strong: #26313d;
  --muted: #68717d;
  --line: #e5e1d9;
  --line-strong: #c7bfb1;
  --accent: #0f766e;
  --accent-dark: #0b5f59;
  --accent-soft: #e1f3ef;
  --amber: #a95a12;
  --amber-soft: #fae9c9;
  --steel: #2d5364;
  --steel-soft: #e3eef0;
  --warning: #a95a12;
  --danger: #dc2626;
  --danger-text: #be123c;
  --danger-line: #fecdd3;
  --danger-bg: #fff1f2;
  --dot-muted: #d7d2c8;
  --header-bg: rgba(251, 250, 247, 0.94);
  --shadow: 0 20px 54px rgba(15, 23, 42, 0.10);
  --shadow-hover: 0 26px 68px rgba(15, 23, 42, 0.14);
  --demo-ink: #111827;
  --wrap: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(1100px 460px at 50% -220px, rgba(15, 118, 110, 0.05), transparent 70%),
    linear-gradient(180deg, #ffffff 0, rgba(251, 250, 247, 0) 420px),
    linear-gradient(var(--bg), var(--bg));
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: rgba(15, 118, 110, 0.16);
}

body,
button,
input,
textarea {
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.wrap {
  width: min(var(--wrap), calc(100% - 48px));
  margin: 0 auto;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.header-inner {
  min-height: 64px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  transition: color 160ms ease;
}

.nav-links {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.nav-links a:hover,
.text-link:hover {
  color: var(--ink);
}

.nav-links a {
  position: relative;
  padding: 6px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  justify-content: flex-end;
}

.text-link {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 40px;
  border-bottom: 1px solid var(--line);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 620px;
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.1s ease;
  /* fade the canvas out before it reaches the dashboard mockup */
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.55) 48%, rgba(0, 0, 0, 0) 86%);
          mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.55) 48%, rgba(0, 0, 0, 0) 86%);
}

.hero-bg.is-ready {
  opacity: 0.62;
}

.hero-bg canvas {
  display: block;
}

/* soft light behind the headline so the network never fights the text */
.hero-veil {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1100px;
  max-width: 96%;
  height: 540px;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(
    62% 58% at 50% 38%,
    rgba(251, 250, 247, 0.92) 0%,
    rgba(251, 250, 247, 0.7) 38%,
    rgba(251, 250, 247, 0) 72%
  );
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 48px;
}

.hero-copy {
  min-width: 0;
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 840px;
  margin: 0 auto;
  font-size: 56px;
  line-height: 1.04;
  letter-spacing: 0;
  font-weight: 800;
}

.hero-rotator {
  position: relative;
  display: inline-block;
  color: var(--accent-dark);
  white-space: nowrap;
  transition: opacity 180ms ease, transform 180ms ease, filter 180ms ease;
}

.hero-rotator::after {
  content: "";
  position: absolute;
  left: 0.04em;
  right: 0.04em;
  bottom: 0.04em;
  height: 0.12em;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.14);
  z-index: -1;
}

.hero-rotator.is-swapping {
  opacity: 0.22;
  transform: translateY(0.08em);
  filter: blur(2px);
}

.hero-context-inline {
  display: inline;
  padding: 0 0.14em;
  border-radius: 0.18em;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.18), rgba(20, 184, 166, 0.13));
  box-decoration-break: clone;
  color: #047857;
  -webkit-box-decoration-break: clone;
}

.hero-sub {
  max-width: 720px;
  margin: 22px auto 0;
  color: var(--text);
  font-size: 19px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 0;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  padding: 0 22px;
  font-weight: 800;
  font-size: 15px;
  white-space: nowrap;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.button-primary {
  background: var(--demo-ink);
  border-color: var(--demo-ink);
  color: var(--surface-raised);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 12px 26px rgba(15, 23, 42, 0.16);
}

.button-primary:hover {
  background: var(--ink-soft);
  border-color: var(--ink-soft);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 16px 32px rgba(15, 23, 42, 0.20);
  transform: translateY(-1px);
}

.button-secondary {
  background: var(--surface-raised);
  color: var(--ink);
}

.button-secondary:hover {
  border-color: var(--ink);
  box-shadow: 0 8px 20px rgba(31, 27, 20, 0.08);
  transform: translateY(-1px);
}

.button:focus-visible,
.text-link:focus-visible,
.nav-links a:focus-visible,
.brand:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.cta-note {
  max-width: 510px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 14px;
}

/* ---------- Hero product demo (real dashboard) ---------- */
@font-face {
  font-family: 'Geist Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/static/react/assets/geist-latin-wght-normal-Dm3htQBi.woff2') format('woff2');
}

.sd-app {
  --bg: oklch(1 0 0);
  --fg: oklch(0.145 0 0);
  --muted-fg: oklch(0.556 0 0);
  --border: oklch(0.922 0 0);
  --secondary: oklch(0.97 0 0);
  --sidebar: oklch(0.985 0 0);
  --primary: oklch(0.205 0 0);
  --destructive: oklch(0.577 0.245 27.325);
  --rose: #e11d48;
  --amber: #b45309;
  --amber-bg: #fffbeb;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg);
  color: var(--fg);
  font-family: 'Geist Variable', Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
  box-shadow:
    0 1px 1px rgba(15, 23, 42, 0.04),
    0 10px 24px rgba(15, 23, 42, 0.06),
    0 44px 88px rgba(15, 23, 42, 0.13);
  transition: box-shadow 200ms ease, transform 200ms ease;
}

.sd-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 14px;
  border-bottom: 1px solid var(--border);
  background: var(--sidebar);
}

.sd-tl {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #e1e1e1;
}

.sd-tl:nth-child(1) { background: #f0625a; }
.sd-tl:nth-child(2) { background: #f5bd4f; }
.sd-tl:nth-child(3) { background: #54c759; }

.sd-url {
  margin-left: 8px;
  padding: 5px 13px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--bg);
  color: var(--muted-fg);
  font-size: 12px;
  font-weight: 500;
}

.sd-url span {
  color: color-mix(in oklch, var(--fg) 65%, transparent);
}

.sd-shell {
  display: grid;
  grid-template-columns: 212px minmax(0, 1fr);
}

.sd-side {
  display: flex;
  flex-direction: column;
  padding: 16px 12px;
  border-right: 1px solid var(--border);
  background: var(--sidebar);
}

.sd-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 4px 8px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
}

.sd-logo-dot {
  width: 16px;
  height: 16px;
  border-radius: 5px;
  background: var(--primary);
}

.sd-nav {
  display: grid;
  gap: 2px;
}

.sd-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 9px;
  border-radius: 8px;
  color: var(--muted-fg);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

.sd-nav-item svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}

.sd-nav-item.is-active {
  background: var(--secondary);
  color: var(--fg);
  font-weight: 600;
}

.sd-badge-new {
  margin-left: auto;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.sd-user {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  padding: 12px 8px 2px;
}

.sd-user-av {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--secondary);
  color: var(--fg);
  font-size: 12px;
  font-weight: 700;
}

.sd-user-info {
  min-width: 0;
}

.sd-user-info strong {
  display: block;
  overflow: hidden;
  color: var(--fg);
  font-size: 12.5px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sd-user-info em {
  display: block;
  color: var(--muted-fg);
  font-size: 11px;
  font-style: normal;
}

.sd-main {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  background: var(--bg);
}

.sd-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.sd-head-text h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--fg);
}

.sd-head-text p {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--muted-fg);
}

.sd-head-meta {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sd-time {
  font-size: 12px;
  color: var(--muted-fg);
}

.sd-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.sd-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
}

.sd-metric {
  min-width: 0;
  padding: 15px 18px;
  border-left: 1px solid var(--border);
}

.sd-metric:first-child {
  border-left: 0;
}

.sd-metric span {
  display: block;
  overflow: hidden;
  color: var(--muted-fg);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.sd-metric strong {
  display: block;
  margin-top: 7px;
  color: var(--fg);
  font-size: 26px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
}

.sd-metric em {
  display: block;
  margin-top: 7px;
  overflow: hidden;
  color: var(--muted-fg);
  font-size: 12px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sd-metric .t-danger { color: var(--rose); }
.sd-metric .t-warning { color: var(--amber); }

.sd-findings {
  padding: 4px;
}

.sd-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 14px 11px;
}

.sd-card-head h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--fg);
}

.sd-seg {
  display: flex;
  gap: 2px;
  padding: 3px;
  border-radius: 9px;
  background: var(--secondary);
}

.sd-seg button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--muted-fg);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
}

.sd-seg button span {
  color: var(--muted-fg);
  font-size: 11px;
}

.sd-seg button.is-active {
  background: var(--bg);
  color: var(--fg);
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.10);
}

.sd-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.sd-table th {
  padding: 9px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--muted-fg);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-align: left;
  text-transform: uppercase;
}

.sd-table th:first-child,
.sd-table td:first-child {
  width: 96px;
}

.sd-col-asset {
  width: 33%;
}

.sd-col-seen {
  width: 98px;
}

.sd-table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--fg);
  font-size: 13px;
  vertical-align: middle;
}

.sd-table tbody tr:last-child td {
  border-bottom: 0;
}

.sd-cell-title {
  overflow: hidden;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sd-mono {
  overflow: hidden;
  color: var(--muted-fg);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

td.sd-col-seen {
  color: var(--muted-fg);
  font-size: 12.5px;
  white-space: nowrap;
}

.sd-pill {
  display: inline-flex;
  align-items: center;
  height: 21px;
  padding: 0 9px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 500;
  white-space: nowrap;
}

.sd-pill-secondary {
  background: var(--secondary);
  color: var(--fg);
}

.sd-pill-outline {
  border-color: var(--border);
  color: var(--fg);
}

.sd-pill-danger {
  background: color-mix(in oklch, var(--destructive) 12%, transparent);
  color: var(--destructive);
}

.sd-pill-warning {
  border-color: color-mix(in oklch, var(--amber) 26%, transparent);
  background: var(--amber-bg);
  color: var(--amber);
}


/* ---------- Dashboard interactive views ---------- */
.sd-view {
  display: none;
}

.sd-view.is-active {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 478px;
  animation: sd-view-in 260ms ease-out both;
}

@keyframes sd-view-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .sd-view.is-active {
    animation: none;
  }
}

.sd-nav-item:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Inventory table uses a wide first column */
.sd-view[data-view="inventory"] .sd-table th:first-child,
.sd-view[data-view="inventory"] .sd-table td:first-child {
  width: auto;
}

.sd-view[data-view="inventory"] .sd-col-asset {
  width: 110px;
}

/* Status dots */
.sd-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  vertical-align: middle;
}

.sd-dot-danger { background: var(--destructive); }
.sd-dot-warning { background: #d97706; }
.sd-dot-ok { background: #059669; }

.sd-pill-success {
  background: color-mix(in oklch, #059669 12%, transparent);
  color: #047857;
}

/* List rows (reports, settings) */
.sd-list {
  padding: 6px;
}

.sd-row {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 12px;
  border-top: 1px solid var(--border);
}

.sd-list .sd-row:first-child {
  border-top: 0;
}

.sd-row-ico {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--secondary);
  color: var(--muted-fg);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.sd-row-text {
  flex: 1 1 auto;
  min-width: 0;
}

.sd-row-text strong {
  display: block;
  overflow: hidden;
  color: var(--fg);
  font-size: 13.5px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sd-row-text em {
  display: block;
  margin-top: 2px;
  color: var(--muted-fg);
  font-size: 12px;
  font-style: normal;
}

.sd-row .sd-pill {
  flex: 0 0 auto;
  cursor: pointer;
}

/* Agent view (chat) */
.sd-agent {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0;
}

.sd-chat {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
}

.sd-msg {
  display: flex;
  gap: 11px;
  max-width: 100%;
}

.sd-msg-user {
  justify-content: flex-end;
}

.sd-bubble {
  padding: 12px 15px;
  font-size: 13.5px;
  line-height: 1.6;
}

.sd-msg-user .sd-bubble {
  max-width: 82%;
  border-radius: 13px 13px 4px 13px;
  background: var(--primary);
  color: #fff;
}

.sd-bubble-bot {
  max-width: 90%;
  border-radius: 13px 13px 13px 4px;
  background: var(--secondary);
  color: var(--fg);
}

.sd-bubble-bot p {
  margin: 0;
  min-height: 1.6em;
}

.sd-agent-av {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
}

.sd-agent-text.is-streaming::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 14px;
  margin-left: 2px;
  background: var(--fg);
  vertical-align: -2px;
  animation: sd-caret 900ms steps(1) infinite;
}

@keyframes sd-caret {
  0%, 50% { opacity: 1; }
  50.01%, 100% { opacity: 0; }
}

.sd-composer {
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 13px 14px;
  border-top: 1px solid var(--border);
}

.sd-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sd-chips button {
  padding: 7px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg);
  color: var(--muted-fg);
  font-family: inherit;
  font-size: 12.5px;
  cursor: pointer;
  transition: border-color 140ms ease, color 140ms ease, background-color 140ms ease;
}

.sd-chips button:hover {
  border-color: color-mix(in oklch, var(--fg) 28%, transparent);
  background: var(--secondary);
  color: var(--fg);
}

.sd-input {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: var(--bg);
}

.sd-input > span:first-child {
  flex: 1;
  color: var(--muted-fg);
  font-size: 13px;
}

.sd-send {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

/* Secret cell */
.sd-secret strong {
  display: block;
  overflow: hidden;
  color: var(--fg);
  font-size: 13.5px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sd-secret em {
  display: block;
  margin-top: 3px;
  overflow: hidden;
  color: var(--muted-fg);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 11.5px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------- Proof strip ---------- */
.proof-strip {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.proof-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.proof-strip-grid div {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-raised);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
  transition: border-color 160ms ease, transform 160ms ease;
}

.proof-strip-grid span {
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 800;
}

.proof-strip-grid strong {
  display: block;
  margin: 10px 0 5px;
  font-size: 17px;
}

.proof-strip-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* ---------- Sections ---------- */
.section {
  padding: 84px 0;
}

.section-muted {
  background: var(--surface-muted);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.capabilities-section {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(243, 242, 237, 0.92));
  color: var(--ink);
  border-top-color: var(--line);
  border-bottom-color: var(--line);
}

.capabilities-section .eyebrow {
  color: var(--accent-dark);
}

.two-column {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.section-copy h2,
.section-heading h2,
.objection-copy h2,
.final-card h2 {
  margin: 0;
  font-size: 39px;
  line-height: 1.07;
  letter-spacing: -0.022em;
}

.section-copy p:not(.eyebrow) {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.check-list {
  display: grid;
  gap: 14px;
}

.check-list article {
  position: relative;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  padding: 20px 20px 20px 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-raised);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
  overflow: hidden;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.check-list article::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--accent), var(--accent-dark));
}

.check-icon {
  width: 46px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 11px;
  background: linear-gradient(180deg, #effaf6, var(--accent-soft));
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.02em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.check-list h3 {
  margin: 0;
  font-size: 18px;
}

.check-list p,
.objection-list p,
.price-card p {
  margin: 6px 0 0;
  color: var(--muted);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

/* ---------- Capabilities ---------- */
.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.capability-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-raised);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03), 0 14px 30px rgba(15, 23, 42, 0.05);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.cap-ico {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: linear-gradient(180deg, #ffffff, var(--surface-subtle));
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), inset 0 1px 0 #fff;
}

.cap-ico svg {
  width: 23px;
  height: 23px;
}

.cap-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 9px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cap-tag::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.capability-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.capability-card > p:not(.cap-tag) {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.capability-card ul {
  display: grid;
  gap: 11px;
  margin: 20px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.capability-card li {
  position: relative;
  padding-left: 24px;
  color: var(--text-strong);
  font-size: 14px;
}

.capability-card li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.36em;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid rgba(15, 118, 110, 0.35);
}

.capability-card li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 0.74em;
  width: 5px;
  height: 3px;
  border-left: 1.5px solid var(--accent-dark);
  border-bottom: 1.5px solid var(--accent-dark);
  transform: rotate(-45deg);
}

/* ---------- Objections ---------- */
.objection-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 58px;
}

.objection-list {
  display: grid;
  gap: 12px;
}

.objection-list div {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-raised);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.objection-list strong {
  font-size: 17px;
}

/* ---------- Pricing ---------- */
.pricing-heading {
  margin-bottom: 34px;
}

.pricing-sub {
  max-width: 620px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.price-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-raised);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.price-card-featured {
  border-color: var(--accent);
  box-shadow: 0 18px 44px rgba(15, 118, 110, 0.12);
}

.plan-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.plan-top h3 {
  margin: 0;
  font-size: 22px;
}

.plan-top small {
  display: block;
  margin-top: 5px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.plan-top span {
  white-space: nowrap;
  font-size: 21px;
  font-weight: 900;
}

.price-card ul {
  display: grid;
  gap: 11px;
  margin: 22px 0 26px;
  padding: 0;
  list-style: none;
}

.price-card li {
  position: relative;
  padding-left: 22px;
  color: var(--text-strong);
  font-size: 14px;
}

.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.price-card .button {
  margin-top: auto;
  width: 100%;
}

/* ---------- Final CTA ---------- */
.final-cta {
  padding: 80px 0;
}

.final-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background:
    radial-gradient(560px 300px at 0% 0%, rgba(15, 118, 110, 0.07), transparent 70%),
    var(--surface);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.final-card h2 {
  max-width: 720px;
}

/* ---------- Footer ---------- */
.footer {
  padding: 30px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-inner,
.footer nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-inner {
  justify-content: space-between;
}

.footer span {
  color: var(--ink);
  font-weight: 800;
}

.footer a:hover {
  color: var(--ink);
}

/* ---------- Hover (fine pointers) ---------- */
@media (hover: hover) and (pointer: fine) {
  .sd-app:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
  }

  .proof-strip-grid div:hover {
    border-color: var(--line-strong);
    transform: translateY(-2px);
  }

  .price-card:hover {
    border-color: var(--line-strong);
    box-shadow: 0 14px 32px rgba(31, 27, 20, 0.09);
    transform: translateY(-2px);
  }

  .check-list article:hover {
    border-color: rgba(15, 118, 110, 0.24);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
    transform: translateY(-2px);
  }

  .capability-card:hover {
    border-color: rgba(15, 118, 110, 0.24);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
    transform: translateY(-2px);
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .hero-grid,
  .two-column,
  .objection-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 34px;
  }

  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sd-shell {
    grid-template-columns: 1fr;
  }

  .sd-side {
    display: none;
  }
}

@media (max-width: 760px) {
  .wrap {
    width: min(var(--wrap), calc(100% - 28px));
  }

  .site-header {
    position: static;
  }

  .header-inner {
    min-height: 58px;
    grid-template-columns: 1fr auto;
    gap: 14px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding: 48px 0 28px;
  }

  h1 {
    font-size: 38px;
  }

  .hero-sub {
    font-size: 17px;
  }

  .button {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .sd-shell {
    grid-template-columns: 1fr;
  }

  .sd-side {
    display: none;
  }

  .sd-main {
    padding: 14px;
  }

  .sd-head {
    flex-direction: column;
    gap: 10px;
  }

  .sd-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sd-metric {
    border-top: 1px solid var(--border);
  }

  .sd-metric:nth-child(odd) {
    border-left: 0;
  }

  .sd-metric:nth-child(-n + 2) {
    border-top: 0;
  }

  .sd-col-asset {
    display: none;
  }

  .proof-strip-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .capability-grid {
    grid-template-columns: 1fr;
  }


  .section {
    padding: 58px 0;
  }

  .section-copy h2,
  .section-heading h2,
  .objection-copy h2,
  .final-card h2 {
    font-size: 30px;
  }

  .check-list article {
    grid-template-columns: 1fr;
  }

  .final-card,
  .footer-inner,
  .footer nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .final-card {
    padding: 26px;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 33px;
  }

  .hero-sub {
    font-size: 16px;
  }

  .sd-metrics {
    grid-template-columns: 1fr;
  }

  .sd-metric {
    border-left: 0;
    border-top: 1px solid var(--border);
  }

  .sd-metric:first-child {
    border-top: 0;
  }
}

/* ---------- Free exposure scan ---------- */
.section-scan {
  background: linear-gradient(180deg, var(--surface-subtle), #ffffff);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.scan-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface-raised);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03), 0 22px 50px rgba(15, 23, 42, 0.07);
}

.scan-intro h2 {
  margin: 0;
  font-size: 33px;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.scan-lead {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.scan-trust {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 11px;
}

.scan-trust li {
  position: relative;
  padding-left: 26px;
  color: var(--text-strong);
  font-size: 14px;
}

.scan-trust li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.28em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid rgba(15, 118, 110, 0.35);
}

.scan-trust li::after {
  content: "";
  position: absolute;
  left: 6.5px;
  top: 0.62em;
  width: 5px;
  height: 3px;
  border-left: 1.5px solid var(--accent-dark);
  border-bottom: 1.5px solid var(--accent-dark);
  transform: rotate(-45deg);
}

.scan-panel {
  min-width: 0;
}

.scan-form {
  display: grid;
  gap: 16px;
}

.scan-field {
  display: grid;
  gap: 7px;
}

.scan-field span {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-strong);
}

.scan-input {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #ffffff;
  overflow: hidden;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

.scan-input:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.scan-input-ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 50px;
  border-right: 1px solid var(--line);
  background: var(--surface-subtle);
  color: var(--muted);
}

.scan-input-ico svg {
  width: 19px;
  height: 19px;
}

.scan-input input {
  flex: 1;
  min-width: 0;
  border: 0;
  padding: 15px 16px;
  background: transparent;
  color: var(--ink);
  font-size: 15px;
  font-family: inherit;
}

.scan-input input::placeholder {
  color: #9aa3ad;
}

.scan-input input:focus {
  outline: none;
}

.scan-submit {
  width: 100%;
  margin-top: 4px;
  gap: 10px;
}

.scan-arrow {
  display: inline-block;
  font-size: 18px;
  line-height: 1;
  transition: transform 160ms ease;
}

.scan-submit:hover .scan-arrow {
  transform: translateX(3px);
}

.scan-submit[disabled] {
  opacity: 0.6;
  cursor: progress;
}

.scan-error {
  margin: 0;
  color: #b42318;
  font-size: 14px;
}

.scan-fineprint {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
}

.scan-loading {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  color: var(--text-strong);
  font-size: 15px;
}

.scan-spinner {
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--line-strong);
  border-top-color: var(--accent);
  animation: scan-spin 0.8s linear infinite;
}

@keyframes scan-spin {
  to { transform: rotate(360deg); }
}

.scan-found-eyebrow {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

.scan-found-count {
  margin: 10px 0 0;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.scan-found-count strong {
  color: #b42318;
}

.scan-sev {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
}

.scan-sev .sev {
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  border: 1px solid var(--line);
}

.sev-critical { background: #fef3f2; color: #b42318; border-color: #fecdca; }
.sev-high { background: #fff4ed; color: #b93815; border-color: #fcd9bd; }
.sev-medium { background: #fffaeb; color: #b54708; border-color: #fde68a; }
.sev-low { background: var(--surface-subtle); color: var(--text-strong); border-color: var(--line); }

.scan-types {
  margin: 16px 0 0;
  color: var(--text-strong);
  font-size: 14px;
  line-height: 1.55;
}

.scan-types b { color: var(--ink); }

.scan-extra {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.scan-lock {
  display: flex;
  gap: 12px;
  margin: 22px 0 18px;
  padding: 16px;
  border: 1px dashed var(--line-strong);
  border-radius: 14px;
  background: var(--surface-subtle);
}

.scan-lock .lock-ico { font-size: 18px; line-height: 1.4; }
.scan-lock strong { display: block; color: var(--ink); font-size: 14.5px; }
.scan-lock p { margin: 5px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }

.scan-result .button { width: 100%; }
.scan-result .scan-fineprint { margin-top: 14px; }

@media (max-width: 860px) {
  .scan-card {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 26px;
  }
}

/* ---------- Free scan in hero ---------- */
.hero-actions {
  flex-direction: column;
  align-items: center;
}

.hero-actions .scan-form {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  text-align: left;
}

.hero-actions .scan-fineprint,
.hero-actions .scan-error {
  text-align: center;
}

.hero-actions .scan-result {
  width: 100%;
  max-width: 500px;
  margin: 8px auto 0;
  text-align: left;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-raised);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03), 0 18px 40px rgba(15, 23, 42, 0.07);
}

.hero-actions .scan-loading {
  justify-content: center;
}

/* ---------- Free scan: exposure chips ---------- */
.scan-exp-head {
  margin: 18px 0 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.scan-exp {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 0;
}

.exp-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-strong);
  background: var(--surface-subtle);
  border: 1px solid var(--line-strong);
}

.exp-chip span {
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

/* ---------- Founder credibility bar ---------- */
.cred-bar {
  padding: 30px 0 34px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-subtle);
}

.cred-bar-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}

.cred-bar-line {
  margin: 0;
  max-width: 660px;
  color: var(--text-strong);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.cred-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 36px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cred-logo {
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  opacity: 0.72;
  filter: grayscale(1);
  transition: color 160ms ease, opacity 160ms ease;
}

.cred-logo:hover {
  color: var(--ink-soft);
  opacity: 1;
}

.cred-logo-link {
  display: inline-flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
  border-radius: 6px;
  outline: none;
}

.cred-logo-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.cred-logo svg {
  display: block;
  height: 26px;
  width: auto;
}

.cred-logo-dyson svg {
  height: 19px;
}

.cred-logo-text {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.cred-note {
  margin: 2px 0 0;
  max-width: 640px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.5;
  opacity: 0.85;
}

@media (max-width: 640px) {
  .cred-logos {
    gap: 13px 24px;
  }
  .cred-logo svg {
    height: 22px;
  }
  .cred-logo-dyson svg {
    height: 16px;
  }
  .cred-logo-text {
    font-size: 13px;
  }
}

/* ---------- Free scan teaser (counts + severity + types) ---------- */
.scan-sev {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 12px;
}

.sev-chip {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.sev-chip.sev-critical,
.sev-chip.sev-high {
  color: var(--danger-text);
  background: var(--danger-bg);
  border-color: var(--danger-line);
}

.sev-chip.sev-medium {
  color: var(--amber);
  background: var(--amber-soft);
  border-color: #f0d8a8;
}

.sev-chip.sev-low {
  color: var(--steel);
  background: var(--steel-soft);
  border-color: #cfe0e4;
}

.scan-cats {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.scan-cats li {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-strong);
  background: var(--surface-muted);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 4px 10px;
}
