/* ==========================================================================
   Blackglass Security — core stylesheet
   A dark, high-contrast visual system for a modern security practice.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --bg: #05080f;
  --bg-alt: #070c16;
  --surface: #0a1120;
  --surface-2: #0e1628;
  --surface-3: #121c31;
  --line: rgba(148, 163, 184, 0.14);
  --line-strong: rgba(148, 163, 184, 0.28);
  --text: #e6edf7;
  --muted: #93a4bb;
  --muted-dim: #6b7c93;
  --accent: #3dffa2;
  --accent-dim: #23c97a;
  --accent-soft: rgba(61, 255, 162, 0.1);
  --cyan: #37d6f5;
  --cyan-soft: rgba(55, 214, 245, 0.1);
  --danger: #ff5c7a;
  --danger-soft: rgba(255, 92, 122, 0.12);
  --warn: #ffc857;
  --warn-soft: rgba(255, 200, 87, 0.12);
  --purple: #b49bff;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 30px 70px -40px rgba(0, 0, 0, 0.95);
  --font: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "Cascadia Code", "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --max: 1180px;
  --header-h: 72px;
}

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

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

body,
h1, h2, h3, h4, h5, h6,
p, figure, blockquote, dl, dd, ul, ol {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

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

::selection {
  background: var(--accent);
  color: #04140c;
}

/* ---------- Base ---------- */
body {
  min-height: 100vh;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(1000px 560px at 88% -8%, rgba(61, 255, 162, 0.08), transparent 62%),
    radial-gradient(820px 560px at -6% 12%, rgba(55, 214, 245, 0.07), transparent 60%);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(148, 163, 184, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 85%);
}

h1, h2, h3, h4 {
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

h1 { font-size: clamp(2.4rem, 5.4vw, 4.05rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.65rem); }
h3 { font-size: clamp(1.15rem, 1.7vw, 1.32rem); }

p { color: var(--muted); }

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

code, kbd, samp {
  font-family: var(--mono);
  font-size: 0.9em;
}

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

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: #04140c;
  font-weight: 600;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Layout utilities ---------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: 24px;
}

.section {
  padding-block: clamp(64px, 9vw, 104px);
}

.section--tight {
  padding-block: clamp(48px, 6vw, 72px);
}

.section--alt {
  background:
    linear-gradient(180deg, transparent, rgba(10, 17, 32, 0.6) 12%, rgba(10, 17, 32, 0.6) 88%, transparent);
  border-block: 1px solid var(--line);
}

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(32px, 5vw, 52px);
}

.section__head--center {
  display: block;
  max-width: 700px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: clamp(32px, 5vw, 52px);
}

.section__head--center .eyebrow {
  justify-content: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.8;
}

.lede {
  max-width: 62ch;
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  color: var(--muted);
}

.muted { color: var(--muted); }
.mono { font-family: var(--mono); }
.text-sm { font-size: 0.9rem; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-sm { margin-top: 12px; }
.mt { margin-top: 24px; }
.mt-lg { margin-top: 40px; }

.grad {
  background: linear-gradient(100deg, var(--accent) 8%, var(--cyan) 82%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.grid {
  display: grid;
  gap: 22px;
}

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

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--surface-2);
  --btn-fg: var(--text);
  --btn-bd: var(--line-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  border: 1px solid var(--btn-bd);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.btn svg {
  width: 15px;
  height: 15px;
  flex: none;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  --btn-bg: linear-gradient(100deg, var(--accent), #6dffc0);
  --btn-fg: #04140c;
  --btn-bd: transparent;
  box-shadow: 0 12px 34px -16px rgba(61, 255, 162, 0.7);
}

.btn--primary:hover {
  box-shadow: 0 18px 40px -14px rgba(61, 255, 162, 0.85);
}

.btn--ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--text);
}

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

.btn--sm {
  padding: 9px 16px;
  font-size: 0.84rem;
}

.btn--block {
  width: 100%;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 600;
}

.link-arrow svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.link-arrow:hover svg {
  transform: translateX(3px);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 8, 15, 0.74);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.site-header.is-scrolled {
  background: rgba(5, 8, 15, 0.92);
  box-shadow: 0 18px 40px -32px #000;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(145deg, rgba(61, 255, 162, 0.16), rgba(55, 214, 245, 0.1));
  border: 1px solid rgba(61, 255, 162, 0.34);
  color: var(--accent);
}

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

.brand__name {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand__name span {
  color: var(--accent);
}

.brand__sub {
  display: block;
  margin-top: -3px;
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted-dim);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  position: relative;
  padding: 9px 13px;
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--muted);
  transition: color 0.16s ease, background 0.16s ease;
}

.site-nav a:hover {
  color: var(--text);
  background: rgba(148, 163, 184, 0.08);
}

.site-nav a.is-active {
  color: var(--text);
}

.site-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.header__hotline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--muted);
}

.header__hotline .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(61, 255, 162, 0.12);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  margin-inline: auto;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle span {
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.site-header.nav-open .nav-toggle span { background: transparent; }
.site-header.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.site-header.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(56px, 8vw, 96px) clamp(48px, 7vw, 84px);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  top: -220px;
  right: -160px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(61, 255, 162, 0.1), transparent 65%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  align-items: center;
  gap: clamp(36px, 5vw, 68px);
}

.hero h1 {
  margin: 18px 0 20px;
}

.hero .lede {
  max-width: 54ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  margin-top: 30px;
  font-family: var(--mono);
  font-size: 0.73rem;
  letter-spacing: 0.04em;
  color: var(--muted-dim);
}

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

.hero__meta svg {
  width: 13px;
  height: 13px;
  color: var(--accent);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 13px 6px 10px;
  border: 1px solid rgba(61, 255, 162, 0.26);
  border-radius: 999px;
  background: rgba(61, 255, 162, 0.07);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  color: #b9f5d8;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.pill:hover {
  border-color: var(--accent);
  background: rgba(61, 255, 162, 0.13);
}

.pill__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2.4s ease-out infinite;
}

.pill svg {
  width: 12px;
  height: 12px;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(61, 255, 162, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(61, 255, 162, 0); }
  100% { box-shadow: 0 0 0 0 rgba(61, 255, 162, 0); }
}

/* ---------- Terminal ---------- */
.terminal {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #0b1424, #070d19);
  box-shadow: var(--shadow), 0 0 0 1px rgba(61, 255, 162, 0.04) inset;
  overflow: hidden;
}

.terminal__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(148, 163, 184, 0.05);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  color: var(--muted-dim);
}

.terminal__dots {
  display: flex;
  gap: 6px;
}

.terminal__dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #2a3a52;
}

.terminal__dots i:nth-child(1) { background: #ff5f57; }
.terminal__dots i:nth-child(2) { background: #febc2e; }
.terminal__dots i:nth-child(3) { background: #28c840; }

.terminal__badge {
  margin-left: auto;
  color: var(--accent);
}

.terminal__body {
  display: grid;
  gap: 9px;
  padding: 22px 20px 24px;
  font-family: var(--mono);
  font-size: 0.78rem;
  line-height: 1.55;
  color: #b7c6da;
}

.terminal__body p {
  color: inherit;
  word-break: break-word;
}

.terminal__body .prompt { color: var(--accent); }
.terminal__body .dim { color: #6c7f99; }
.terminal__body .ok { color: var(--accent); }
.terminal__body .warn { color: var(--warn); }
.terminal__body .bad { color: var(--danger); }

.cursor {
  display: inline-block;
  width: 8px;
  height: 14px;
  vertical-align: -2px;
  background: var(--accent);
  animation: blink 1.1s steps(1) infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

/* ---------- Stat strip ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(14, 22, 40, 0.85), rgba(10, 17, 32, 0.6));
  overflow: hidden;
}

.stat {
  padding: 26px 28px;
  border-right: 1px solid var(--line);
}

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

.stat__value {
  display: block;
  font-family: var(--mono);
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.1;
}

.stat__value em {
  font-style: normal;
  color: var(--accent);
}

.stat__label {
  display: block;
  margin-top: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-dim);
}

/* ---------- Logos ---------- */
.logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 26px 40px;
  padding-block: 8px;
}

.logos__label {
  flex: none;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-dim);
}

.logos__item {
  font-size: 0.98rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  color: #8494a9;
  opacity: 0.9;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.logos__item:hover {
  color: var(--text);
  opacity: 1;
}

.logos__item span {
  color: var(--accent);
  opacity: 0.85;
}

/* ---------- Cards ---------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(170deg, rgba(14, 22, 40, 0.86), rgba(8, 13, 24, 0.9));
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(61, 255, 162, 0.3);
  box-shadow: 0 26px 50px -40px rgba(61, 255, 162, 0.55);
}

.card h3 {
  margin-top: 2px;
}

.card p {
  font-size: 0.94rem;
}

.card__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 6px;
  border: 1px solid rgba(61, 255, 162, 0.24);
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
}

.card__icon svg {
  width: 22px;
  height: 22px;
}

.card__icon--cyan {
  border-color: rgba(55, 214, 245, 0.26);
  background: var(--cyan-soft);
  color: var(--cyan);
}

.card__icon--warn {
  border-color: rgba(255, 200, 87, 0.26);
  background: var(--warn-soft);
  color: var(--warn);
}

.card__icon--purple {
  border-color: rgba(180, 155, 255, 0.26);
  background: rgba(180, 155, 255, 0.1);
  color: var(--purple);
}

.card__icon--danger {
  border-color: rgba(255, 92, 122, 0.28);
  background: var(--danger-soft);
  color: var(--danger);
}

.card__foot {
  margin-top: auto;
  padding-top: 8px;
}

.card__list {
  display: grid;
  gap: 8px;
  margin-top: 4px;
  font-size: 0.88rem;
  color: var(--muted);
}

.card__list li {
  position: relative;
  padding-left: 14px;
}

.card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.8;
}

/* ---------- Numbered process ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 24px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(10, 17, 32, 0.66);
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: inline-block;
  margin-bottom: 14px;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.step h3 {
  font-size: 1.02rem;
  margin-bottom: 8px;
}

.step p {
  font-size: 0.86rem;
  line-height: 1.6;
}

/* ---------- Ticker ---------- */
.ticker {
  display: flex;
  align-items: center;
  gap: 18px;
  border-block: 1px solid var(--line);
  background: rgba(10, 17, 32, 0.72);
  overflow: hidden;
}

.ticker__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  padding: 13px 18px;
  border-right: 1px solid var(--line);
  background: rgba(255, 92, 122, 0.08);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--danger);
}

.ticker__label .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--danger);
  animation: pulse-danger 2s ease-out infinite;
}

@keyframes pulse-danger {
  0% { box-shadow: 0 0 0 0 rgba(255, 92, 122, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(255, 92, 122, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 92, 122, 0); }
}

.ticker__viewport {
  overflow: hidden;
  flex: 1;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.ticker__track {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  padding-block: 13px;
  animation: ticker 44s linear infinite;
}

.ticker:hover .ticker__track {
  animation-play-state: paused;
}

.ticker__track span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--muted);
  white-space: nowrap;
}

.ticker__track span b {
  color: var(--text);
  font-weight: 500;
}

.ticker__track .sev {
  padding: 1px 7px;
  border-radius: 999px;
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

/* ---------- Testimonial ---------- */
.quote {
  max-width: 860px;
  margin-inline: auto;
  text-align: center;
}

.quote__mark {
  font-family: Georgia, serif;
  font-size: 3.4rem;
  line-height: 0.6;
  color: var(--accent);
  opacity: 0.7;
}

.quote blockquote {
  margin-top: 18px;
  font-size: clamp(1.2rem, 2.2vw, 1.62rem);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.015em;
  color: var(--text);
}

.quote figcaption {
  margin-top: 22px;
  font-size: 0.88rem;
  color: var(--muted);
}

.quote figcaption strong {
  display: block;
  color: var(--text);
}

/* ---------- Call-to-action band ---------- */
.band {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: clamp(30px, 5vw, 48px);
  border: 1px solid rgba(61, 255, 162, 0.26);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(600px 240px at 92% 120%, rgba(61, 255, 162, 0.16), transparent 70%),
    linear-gradient(120deg, rgba(14, 22, 40, 0.96), rgba(9, 16, 29, 0.96));
  overflow: hidden;
}

.band h2 {
  max-width: 22ch;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
}

.band p {
  margin-top: 10px;
  max-width: 52ch;
  font-size: 0.95rem;
}

.band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Footer ---------- */
.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(7, 12, 22, 0.6), rgba(5, 8, 15, 0.98));
}

.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 0.72fr));
  gap: 40px;
  padding-block: clamp(44px, 6vw, 64px) 40px;
}

.footer__brand p {
  max-width: 34ch;
  margin-top: 16px;
  font-size: 0.9rem;
}

.footer__col h4 {
  margin-bottom: 16px;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-dim);
}

.footer__col ul {
  display: grid;
  gap: 10px;
  font-size: 0.9rem;
}

.footer__col a {
  color: var(--muted);
  transition: color 0.16s ease;
}

.footer__col a:hover {
  color: var(--accent);
}

.footer__subscribe {
  margin-top: 22px;
  max-width: 360px;
}

.footer__subscribe label {
  display: block;
  margin-bottom: 8px;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-dim);
}

.subscribe {
  display: flex;
  gap: 8px;
}

.subscribe input {
  flex: 1;
  min-width: 0;
  padding: 10px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: rgba(148, 163, 184, 0.05);
  font-size: 0.86rem;
}

.subscribe input::placeholder { color: var(--muted-dim); }

.subscribe input:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(61, 255, 162, 0.05);
}

.footer__note {
  margin-top: 10px;
  font-size: 0.72rem;
  color: var(--muted-dim);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-block: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--muted-dim);
}

.footer__bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer__bottom a:hover { color: var(--accent); }

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--muted);
}

.status .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(61, 255, 162, 0.14);
}

/* ---------- Page hero ---------- */
.page-hero {
  position: relative;
  padding-block: clamp(48px, 7vw, 80px) clamp(40px, 6vw, 64px);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(760px 320px at 78% 0%, rgba(55, 214, 245, 0.09), transparent 68%),
    radial-gradient(520px 280px at 8% 10%, rgba(61, 255, 162, 0.08), transparent 70%);
}

.page-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: end;
  gap: 32px;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-dim);
}

.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent); }
.crumbs span[aria-current] { color: var(--accent); }

.page-hero h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.3rem);
  max-width: 18ch;
}

.page-hero .lede {
  margin-top: 18px;
  max-width: 60ch;
}

.page-hero__aside {
  display: grid;
  gap: 10px;
  justify-items: start;
  padding-bottom: 6px;
}

/* ---------- Tags & badges ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.tag--critical {
  border-color: rgba(255, 92, 122, 0.4);
  background: var(--danger-soft);
  color: var(--danger);
}

.tag--high {
  border-color: rgba(255, 200, 87, 0.4);
  background: var(--warn-soft);
  color: var(--warn);
}

.tag--medium {
  border-color: rgba(55, 214, 245, 0.36);
  background: var(--cyan-soft);
  color: var(--cyan);
}

.tag--low {
  border-color: rgba(61, 255, 162, 0.36);
  background: var(--accent-soft);
  color: var(--accent);
}

.tag--muted {
  border-color: var(--line);
  background: rgba(148, 163, 184, 0.06);
  color: var(--muted);
}

/* ---------- Tables ---------- */
.table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(9, 15, 27, 0.7);
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

thead th {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(148, 163, 184, 0.05);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: left;
  color: var(--muted-dim);
  white-space: nowrap;
}

tbody td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  vertical-align: top;
}

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

tbody tr {
  transition: background 0.15s ease;
}

tbody tr:hover {
  background: rgba(148, 163, 184, 0.04);
}

tbody td strong {
  display: block;
  margin-bottom: 2px;
  font-size: 0.92rem;
  color: var(--text);
  font-weight: 550;
}

td .id {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--muted-dim);
  white-space: nowrap;
}

/* ---------- Filter bar ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.filter {
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.16s ease;
}

.filter:hover {
  border-color: var(--line-strong);
  color: var(--text);
}

.filter.is-active {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
}

.filters__count {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--muted-dim);
}

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  display: grid;
  gap: 30px;
  padding-left: 30px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 6px;
  width: 1px;
  background: linear-gradient(180deg, var(--accent), rgba(148, 163, 184, 0.18));
}

.timeline__item {
  position: relative;
}

.timeline__item::before {
  content: "";
  position: absolute;
  top: 7px;
  left: -30px;
  width: 13px;
  height: 13px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  background: var(--bg);
}

.timeline__year {
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.timeline__item h3 {
  margin: 6px 0 6px;
  font-size: 1.05rem;
}

.timeline__item p {
  font-size: 0.9rem;
}

/* ---------- Team ---------- */
.person {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(10, 17, 32, 0.66);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.person:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
}

.avatar {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 16px;
  border: 1px solid rgba(61, 255, 162, 0.3);
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(61, 255, 162, 0.18), rgba(55, 214, 245, 0.12));
  font-family: var(--mono);
  font-size: 1.02rem;
  color: var(--accent);
}

.person h3 {
  font-size: 1.02rem;
}

.person__role {
  margin-top: 3px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--accent);
}

.person p {
  margin-top: 12px;
  font-size: 0.86rem;
}

/* ---------- Accordion ---------- */
.accordion {
  display: grid;
  gap: 10px;
}

.acc__item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(10, 17, 32, 0.6);
  overflow: hidden;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.acc__item.is-open {
  border-color: rgba(61, 255, 162, 0.3);
  background: rgba(14, 22, 40, 0.8);
}

.acc__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 19px 22px;
  border: 0;
  background: none;
  text-align: left;
  font-size: 0.98rem;
  font-weight: 550;
  color: var(--text);
  cursor: pointer;
}

.acc__icon {
  position: relative;
  flex: none;
  width: 16px;
  height: 16px;
}

.acc__icon::before,
.acc__icon::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  width: 16px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--accent);
  transition: transform 0.22s ease;
}

.acc__icon::after {
  transform: rotate(90deg);
}

.acc__item.is-open .acc__icon::after {
  transform: rotate(0deg);
}

.acc__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.acc__item.is-open .acc__panel {
  grid-template-rows: 1fr;
}

.acc__panel > div {
  overflow: hidden;
}

.acc__panel p {
  padding: 0 22px 20px;
  font-size: 0.9rem;
  max-width: 82ch;
}

/* ---------- Forms ---------- */
.form {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 3.4vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(170deg, rgba(14, 22, 40, 0.9), rgba(8, 13, 24, 0.94));
  box-shadow: var(--shadow);
}

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

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

.field label {
  font-size: 0.83rem;
  font-weight: 550;
  color: var(--text);
}

.field label span {
  color: var(--danger);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: rgba(5, 9, 17, 0.7);
  font-size: 0.9rem;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted-dim);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(61, 255, 162, 0.12);
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2393a4bb' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

.field select option {
  background: var(--surface);
  color: var(--text);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.83rem;
  color: var(--muted);
  cursor: pointer;
}

.checkbox input {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  accent-color: var(--accent);
  flex: none;
}

.form__status {
  display: none;
  padding: 13px 16px;
  border: 1px solid rgba(61, 255, 162, 0.34);
  border-radius: 10px;
  background: var(--accent-soft);
  font-size: 0.88rem;
  color: #b7f7d6;
}

.form__status.is-visible {
  display: block;
}

.form__note {
  font-size: 0.76rem;
  color: var(--muted-dim);
}

.form > .btn {
  justify-self: start;
}

/* ---------- Info panels ---------- */
.panel {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(10, 17, 32, 0.66);
}

.panel h3 {
  font-size: 1.02rem;
  margin-bottom: 8px;
}

.panel p {
  font-size: 0.9rem;
}

.contact-line {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.contact-line:last-child { border-bottom: 0; }

.contact-line__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border: 1px solid rgba(61, 255, 162, 0.26);
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
}

.contact-line__icon svg {
  width: 18px;
  height: 18px;
}

.contact-line h3 {
  font-size: 0.95rem;
}

.contact-line p,
.contact-line a {
  font-size: 0.88rem;
  color: var(--muted);
}

.contact-line a:hover { color: var(--accent); }

.contact-line .mono {
  font-size: 0.95rem;
  color: var(--text);
}

/* ---------- Checklist ---------- */
.checklist {
  display: grid;
  gap: 10px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(10, 17, 32, 0.66);
}

.checklist__progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--muted);
}

.progress {
  position: relative;
  flex: 1;
  height: 6px;
  max-width: 260px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.14);
  overflow: hidden;
}

.progress__bar {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--cyan));
  transition: width 0.3s ease;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 0.9rem;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease;
}

.check:hover {
  background: rgba(148, 163, 184, 0.05);
  border-color: var(--line);
}

.check input {
  width: 17px;
  height: 17px;
  margin-top: 3px;
  accent-color: var(--accent);
  flex: none;
}

.check:has(input:checked) {
  color: var(--text);
  border-color: rgba(61, 255, 162, 0.22);
  background: rgba(61, 255, 162, 0.05);
}

/* ---------- Pricing ---------- */
.tier {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 30px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(10, 17, 32, 0.7);
}

.tier--featured {
  border-color: rgba(61, 255, 162, 0.42);
  background:
    radial-gradient(420px 200px at 80% 0%, rgba(61, 255, 162, 0.1), transparent 70%),
    rgba(11, 19, 34, 0.92);
  box-shadow: 0 30px 70px -50px rgba(61, 255, 162, 0.6);
}

.tier__flag {
  position: absolute;
  top: -11px;
  right: 22px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--accent);
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #04140c;
}

.tier h3 {
  font-size: 1.05rem;
}

.tier__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.tier__price strong {
  font-family: var(--mono);
  font-size: 2rem;
  letter-spacing: -0.03em;
}

.tier__price span {
  font-size: 0.8rem;
  color: var(--muted-dim);
}

.tier ul {
  display: grid;
  gap: 9px;
  font-size: 0.87rem;
  color: var(--muted);
}

.tier ul li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.tier ul li::before {
  content: "";
  flex: none;
  width: 5px;
  height: 5px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.tier .btn {
  margin-top: auto;
}

/* ---------- Misc ---------- */
.note {
  display: flex;
  gap: 13px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 200, 87, 0.24);
  border-left: 3px solid var(--warn);
  border-radius: var(--radius-sm);
  background: var(--warn-soft);
  font-size: 0.87rem;
  color: #e8d7ac;
}

.note svg {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--warn);
}

.note--danger {
  border-color: rgba(255, 92, 122, 0.24);
  border-left-color: var(--danger);
  background: var(--danger-soft);
  color: #ffc3ce;
}

.note--danger svg { color: var(--danger); }

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

.stack {
  display: grid;
  gap: 14px;
  align-content: start;
}

[id] {
  scroll-margin-top: calc(var(--header-h) + 18px);
}

.metric {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(10, 17, 32, 0.66);
}

.metric strong {
  display: block;
  font-family: var(--mono);
  font-size: 1.7rem;
  letter-spacing: -0.03em;
  color: var(--accent);
}

.metric span {
  display: block;
  margin-top: 6px;
  font-size: 0.82rem;
  color: var(--muted);
}

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

.kicker {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-dim);
}

.divider {
  height: 1px;
  margin-block: 34px;
  border: 0;
  background: var(--line);
}

/* ---------- Reveal animation ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.3, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1);
  transition-delay: var(--delay, 0s);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .hero__inner,
  .page-hero__inner,
  .split {
    grid-template-columns: 1fr;
  }

  .hero__inner { gap: 40px; }

  .page-hero__aside {
    grid-auto-flow: column;
    justify-content: start;
  }

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

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

  .header__hotline { display: none; }
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: grid;
    align-content: start;
    gap: 2px;
    padding: 14px 20px 22px;
    border-bottom: 1px solid var(--line);
    background: rgba(6, 10, 18, 0.98);
    backdrop-filter: blur(18px);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  }

  .site-header.nav-open .site-nav {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .site-nav a {
    padding: 13px 14px;
    font-size: 0.98rem;
    border-radius: 10px;
  }

  .site-nav a.is-active::after { display: none; }
  .site-nav a.is-active { background: rgba(61, 255, 162, 0.08); color: var(--accent); }

  .header__actions .btn { display: none; }

  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1),
  .stat:nth-child(2) { border-bottom: 1px solid var(--line); }

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

@media (max-width: 680px) {
  .container { padding-inline: 18px; }

  .grid--2,
  .grid--3,
  .grid--4,
  .steps,
  .metric-row,
  .form__row,
  .stats {
    grid-template-columns: 1fr;
  }

  .stat {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stat:nth-child(3) { border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }

  .form > .btn { justify-self: stretch; }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .band { flex-direction: column; align-items: flex-start; }

  .ticker__label { padding-inline: 12px; }
  .ticker__label span:last-child { display: none; }

  .terminal__body { font-size: 0.72rem; }

  .page-hero__aside {
    grid-auto-flow: row;
  }

  .quote blockquote { font-size: 1.12rem; }

  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- Motion preferences ---------- */
@media (scripting: none) {
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media print {
  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .site-header,
  .site-footer,
  .ticker,
  .skip-link {
    display: none;
  }
}

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

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

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
