/* DRACO Security Platform landing page. No build step; the only script is assets/analytics.js. */

:root {
  --bg: #0c0a09;
  --bg-2: #12100f;
  --surface: #171412;
  --surface-2: #1d1a18;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f5f3f1;
  --muted: #b3aca6;
  --faint: #8a837d;
  --brand: #2f5fd6;
  --brand-1: #3d6bff;
  --brand-2: #8fb0ff;
  --brand-text: #9db9ff;
  --red: #ff6b5e;
  --amber: #ffb547;
  --green: #4fd18b;
  --grad: linear-gradient(100deg, var(--brand-1), var(--brand-2));
  --radius: 16px;
  --radius-sm: 10px;
  --max: 1180px;
  --display: "Space Grotesk", "Inter", "Helvetica Neue", Arial, sans-serif;
  --body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: var(--brand-text);
  text-decoration: none;
}

a:hover {
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--brand-2);
  outline-offset: 3px;
  border-radius: 6px;
}

h1,
h2,
h3 {
  font-family: var(--display);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
}

p {
  margin: 0;
}

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

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: #fff;
  color: #000;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
}

.skip:focus {
  top: 12px;
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 30px -8px rgba(61, 107, 255, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.btn-primary:hover {
  background: #3a6cf0;
  color: #fff;
  transform: translateY(-1px);
}

.btn-ghost {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
}

.btn-ghost:hover {
  color: #fff;
  border-color: rgba(143, 176, 255, 0.55);
  background: rgba(61, 107, 255, 0.08);
}

.btn-sm {
  min-height: 38px;
  padding: 0 16px;
  font-size: 15px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(12, 10, 9, 0.78);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  height: 34px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 15px;
}

.nav-links a {
  color: var(--muted);
}

.nav-links a:hover {
  color: #fff;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-docs {
  color: var(--muted);
  font-size: 15px;
  padding: 0 8px;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 88px 0 72px;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto;
  height: 900px;
  background:
    radial-gradient(600px 380px at 72% 30%, rgba(61, 107, 255, 0.28), transparent 70%),
    radial-gradient(520px 340px at 12% 0%, rgba(143, 176, 255, 0.12), transparent 70%);
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
  z-index: -1;
}

.hero-visual {
  margin: 0;
  min-width: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 8px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 14px;
  color: var(--muted);
}

.eyebrow .dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(61, 107, 255, 0.18);
  display: grid;
  place-items: center;
}

.eyebrow .dot::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-2);
  box-shadow: 0 0 10px var(--brand-1);
}

.hero h1 {
  margin-top: 22px;
  font-size: clamp(40px, 5.6vw, 68px);
  font-weight: 700;
}

.acronym {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 500;
  color: var(--muted);
}

.acronym b {
  color: #fff;
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .lede {
  margin-top: 20px;
  font-size: 19px;
  color: var(--muted);
  max-width: 560px;
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-notes {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 14px;
  color: var(--faint);
}

.hero-notes li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-notes svg {
  width: 16px;
  height: 16px;
  color: var(--brand-2);
}

/* Attack path visual */

.viz {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(29, 26, 24, 0.92), rgba(18, 16, 15, 0.92));
  box-shadow: 0 40px 120px -40px rgba(61, 107, 255, 0.45), 0 0 0 1px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

.viz-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

.viz-bar .dots {
  display: flex;
  gap: 6px;
}

.viz-bar .dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}

.viz-title {
  font-family: var(--display);
  font-weight: 600;
  color: var(--text);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.pill-crit {
  background: rgba(255, 107, 94, 0.14);
  color: #ff9a90;
  border: 1px solid rgba(255, 107, 94, 0.35);
}

.pill-high {
  background: rgba(255, 181, 71, 0.12);
  color: #ffc978;
  border: 1px solid rgba(255, 181, 71, 0.3);
}

.pill-ok {
  background: rgba(79, 209, 139, 0.12);
  color: #7fe3ad;
  border: 1px solid rgba(79, 209, 139, 0.3);
}

.pill-blue {
  background: rgba(61, 107, 255, 0.14);
  color: var(--brand-text);
  border: 1px solid rgba(61, 107, 255, 0.35);
}

.graph {
  width: 100%;
  height: auto;
}

.graph .edge {
  fill: none;
  stroke: rgba(255, 255, 255, 0.16);
  stroke-width: 1.5;
}

.graph .edge-hot {
  fill: none;
  stroke: url(#hotPath);
  stroke-width: 2.5;
  stroke-dasharray: 6 8;
  animation: flow 1.6s linear infinite;
}

.graph .node-ring {
  fill: #1d1a18;
  stroke: rgba(255, 255, 255, 0.22);
  stroke-width: 1.5;
}

.graph .node-hot {
  stroke: var(--brand-2);
}

.graph .node-target {
  stroke: var(--red);
}

.graph .node-ico {
  fill: none;
  stroke: #e9e5e1;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.graph .label {
  fill: #d9d4cf;
  font: 600 12px var(--display);
}

.graph .sub {
  fill: #8a837d;
  font: 500 10.5px var(--body);
}

.graph .pulse {
  fill: none;
  stroke: var(--red);
  stroke-width: 2;
  transform-box: fill-box;
  transform-origin: center;
  animation: pulse 2.4s ease-out infinite;
}

.graph .packet {
  fill: #fff;
  filter: drop-shadow(0 0 6px #8fb0ff);
}

.graph .tag-bg {
  fill: rgba(255, 107, 94, 0.16);
  stroke: rgba(255, 107, 94, 0.45);
}

.graph .tag-text {
  fill: #ffaaa2;
  font: 700 10px var(--body);
  letter-spacing: 0.04em;
}

.graph .xdr-bg {
  fill: rgba(61, 107, 255, 0.16);
  stroke: rgba(143, 176, 255, 0.45);
}

.graph .xdr-text {
  fill: #b9cdff;
  font: 700 10px var(--body);
  letter-spacing: 0.04em;
}

@keyframes flow {
  to {
    stroke-dashoffset: -28;
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.9);
    opacity: 0;
  }
}

.viz-feed {
  border-top: 1px solid var(--line);
  padding: 12px 16px 14px;
  display: grid;
  gap: 8px;
  font-size: 13px;
}

.feed-row {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  color: var(--muted);
  opacity: 0;
  animation: rowIn 0.6s ease forwards;
}

.feed-row:nth-child(2) {
  animation-delay: 0.5s;
}

.feed-row:nth-child(3) {
  animation-delay: 1s;
}

.feed-row time {
  font-family: var(--mono);
  color: var(--faint);
  font-size: 12px;
}

.feed-row span.msg {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.feed-row strong {
  color: var(--text);
  font-weight: 600;
}

@keyframes rowIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.viz-caption {
  margin-top: 12px;
  font-size: 13px;
  color: var(--faint);
  text-align: center;
}

/* ---------- Sources strip ---------- */

.sources {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  padding: 26px 0;
}

.sources .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
}

.sources p {
  flex-shrink: 0;
  font-size: 14px;
  color: var(--faint);
  max-width: 190px;
  line-height: 1.4;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 500;
  color: #ddd8d3;
  background: rgba(255, 255, 255, 0.02);
}

.chips li.more {
  color: var(--brand-text);
  border-color: rgba(61, 107, 255, 0.35);
}

/* ---------- Sections ---------- */

.section {
  padding: 112px 0;
  position: relative;
}

.section-alt {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.kicker {
  font-family: var(--display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-text);
}

.section-head {
  max-width: 760px;
  margin-bottom: 56px;
}

.section-head h2 {
  margin-top: 14px;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
}

.section-head p {
  margin-top: 18px;
  font-size: 18px;
  color: var(--muted);
}

.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* Acronym band */

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

.letter {
  position: relative;
  padding: 28px 24px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), var(--bg));
  overflow: hidden;
}

.letter .big {
  font-family: var(--display);
  font-size: 64px;
  font-weight: 700;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.letter h3 {
  margin-top: 14px;
  font-size: 22px;
}

.letter p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 15.5px;
}

/* Pillars */

.pillars {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.card {
  position: relative;
  grid-column: span 2;
  padding: 30px 28px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.card:hover {
  border-color: rgba(143, 176, 255, 0.35);
}

.card-wide {
  grid-column: span 3;
}

.icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, rgba(61, 107, 255, 0.28), rgba(143, 176, 255, 0.08));
  border: 1px solid rgba(143, 176, 255, 0.28);
  color: #cfdcff;
}

.icon svg {
  width: 24px;
  height: 24px;
}

.card h3 {
  margin-top: 20px;
  font-size: 23px;
}

.card > p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 16px;
}

.ticks {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
  font-size: 15px;
  color: #d4cfca;
}

.ticks li {
  position: relative;
  padding-left: 24px;
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.55em;
  width: 11px;
  height: 6px;
  border-left: 2px solid var(--brand-2);
  border-bottom: 2px solid var(--brand-2);
  transform: rotate(-45deg);
}

.mini-chips {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mini-chips li {
  font-size: 12.5px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: #cfc9c3;
}

/* How it works */

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

.step {
  position: relative;
  padding: 30px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}

.step::after {
  content: "";
  position: absolute;
  top: 54px;
  right: -19px;
  width: 20px;
  height: 2px;
  background: var(--grad);
}

.step:last-child::after {
  display: none;
}

.step-num {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-weight: 600;
  color: var(--brand-text);
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.step-num .icon {
  width: 48px;
  height: 48px;
}

.step h3 {
  margin-top: 20px;
  font-size: 24px;
}

.step p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 16px;
}

/* Split sections */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.split .section-head {
  margin-bottom: 0;
}

.split-list {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 18px;
}

.split-list li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 14px;
}

.split-list .icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.split-list .icon svg {
  width: 20px;
  height: 20px;
}

.split-list h3 {
  font-size: 18px;
  margin-top: 2px;
}

.split-list p {
  color: var(--muted);
  font-size: 15.5px;
  margin-top: 4px;
}

/* Panels (illustrative UI) */

.panel {
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: linear-gradient(180deg, var(--surface-2), var(--bg-2));
  box-shadow: 0 30px 90px -40px rgba(61, 107, 255, 0.4);
  overflow: hidden;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
}

.panel-body {
  padding: 18px;
}

.chat {
  display: grid;
  gap: 14px;
}

.msg-user,
.msg-ai {
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 15px;
  line-height: 1.5;
}

.msg-user {
  justify-self: end;
  max-width: 85%;
  background: var(--brand);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.msg-ai {
  max-width: 95%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: #ddd8d3;
  border-bottom-left-radius: 4px;
}

.msg-ai ol {
  margin: 8px 0 0;
  padding-left: 20px;
}

.msg-ai li + li {
  margin-top: 4px;
}

.msg-ai code,
.code {
  font-family: var(--mono);
  font-size: 13px;
  color: #c8d6ff;
  background: rgba(61, 107, 255, 0.12);
  padding: 1px 6px;
  border-radius: 5px;
}

.tool-call {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--faint);
  font-family: var(--mono);
}

.tool-call::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.panel-note {
  padding: 10px 18px 14px;
  font-size: 12.5px;
  color: var(--faint);
  border-top: 1px solid var(--line);
}

/* Tenants panel */

.tenants {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.tenants th,
.tenants td {
  text-align: left;
  padding: 11px 18px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.tenants th {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--faint);
}

.tenants td:first-child {
  font-weight: 600;
  color: var(--text);
}

.tenants td {
  color: var(--muted);
}

.tenants tr:last-child td {
  border-bottom: 0;
}

.meter {
  display: inline-block;
  width: 70px;
  height: 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  vertical-align: middle;
  margin-right: 8px;
  overflow: hidden;
}

.meter i {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: var(--grad);
}

.meter .m30 {
  width: 30%;
}

.meter .m55 {
  width: 55%;
}

.meter .m82 {
  width: 82%;
}

.meter .m12 {
  width: 12%;
}

.table-scroll {
  overflow-x: auto;
}

/* Security grid */

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

.sec-item {
  padding: 26px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}

.sec-item h3 {
  margin-top: 16px;
  font-size: 19px;
}

.sec-item p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 15.5px;
}

/* FAQ */

.faq {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  transition: border-color 0.2s ease;
}

.faq details[open] {
  border-color: rgba(143, 176, 255, 0.35);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 18px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--brand-2);
  border-bottom: 2px solid var(--brand-2);
  transform: rotate(45deg) translateY(-3px);
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  transform: rotate(-135deg) translateY(-3px);
}

.faq details p {
  padding: 0 22px 20px;
  color: var(--muted);
  font-size: 16px;
}

/* CTA band */

.cta {
  padding: 0 0 112px;
}

.cta-box {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(143, 176, 255, 0.3);
  padding: 64px 48px;
  text-align: center;
  background:
    radial-gradient(500px 260px at 50% 0%, rgba(61, 107, 255, 0.35), transparent 70%),
    linear-gradient(180deg, #151a2b, #0f0d0c);
}

.cta-box h2 {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 700;
}

.cta-box p {
  margin: 16px auto 0;
  max-width: 600px;
  color: var(--muted);
  font-size: 18px;
}

.cta-box .hero-actions {
  justify-content: center;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 40px;
  font-size: 14px;
  color: var(--faint);
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
}

.footer-brand img {
  height: 30px;
  width: auto;
}

.footer-brand p {
  margin-top: 14px;
  max-width: 340px;
}

.footer-links {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.footer-links h2 {
  font-size: 13px;
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 12px;
}

.footer-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.footer-links a {
  color: var(--faint);
}

.footer-links a:hover {
  color: #fff;
}

.legal {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .nav-links {
    display: none;
  }

  .hero-grid,
  .split {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }

  .split-rev .panel {
    order: 2;
  }

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

  .letter:last-child {
    grid-column: span 2;
  }

  .card,
  .card-wide {
    grid-column: span 3;
  }

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

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  .wrap {
    padding: 0 16px;
  }

  .nav {
    height: 60px;
    gap: 12px;
  }

  .brand img {
    height: 28px;
  }

  .nav-docs {
    display: none;
  }

  .hero {
    padding: 56px 0 56px;
  }

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

  .acronym {
    font-size: 16px;
  }

  .sources .wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .sources p {
    max-width: none;
  }

  .section {
    padding: 80px 0;
  }

  .section-head {
    margin-bottom: 40px;
  }

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

  .card,
  .card-wide {
    grid-column: auto;
    padding: 26px 22px;
  }

  .steps,
  .sec-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .step::after {
    top: auto;
    bottom: -19px;
    right: auto;
    left: 52px;
    width: 2px;
    height: 20px;
  }

  .cta {
    padding-bottom: 80px;
  }

  .cta-box {
    padding: 48px 22px;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
  }

  .feed-row {
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .feed-row .pill {
    display: none;
  }

  .legal {
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .letters {
    grid-template-columns: minmax(0, 1fr);
  }

  .letter:last-child {
    grid-column: auto;
  }

  .nav-cta .btn-ghost {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .feed-row {
    opacity: 1;
  }

  .graph .packet {
    display: none;
  }
}

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

.ico {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 760px) {
  .tenants th,
  .tenants td {
    padding: 10px 12px;
  }

  .tenants th:nth-child(3),
  .tenants td:nth-child(3) {
    display: none;
  }

  .meter {
    width: 48px;
  }
}

.respond-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.tenants code { font-size: 0.85em; white-space: normal; word-break: break-word; }
#detections .tenants th, #detections .tenants td { white-space: normal; }

/* ---------- Cookie consent ---------- */

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 20px;
  z-index: 100;
  transform: translateX(-50%);
  width: min(calc(100% - 32px), 720px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px 14px 20px;
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: 0 18px 50px -12px rgba(0, 0, 0, 0.7);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner-text {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.cookie-banner-actions {
  display: flex;
  flex-shrink: 0;
  gap: 10px;
}

.cookie-settings-link {
  padding: 0;
  border: 0;
  background: none;
  color: var(--brand-text);
  font: inherit;
  cursor: pointer;
}

.cookie-settings-link:hover {
  text-decoration: underline;
}

@media (max-width: 560px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
  }

  .cookie-banner-actions .btn {
    flex: 1;
  }
}
