/* ============================================================
   FridayIntel — Threat Intelligence Platform
   Design tokens + components
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=IBM+Plex+Sans:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
  /* base surfaces */
  --bg-0: #030507;
  --bg-1: #06090d;
  --bg-2: #0a0f15;
  --bg-3: #101721;
  --bg-4: #161f2b;
  --panel: rgba(13, 18, 25, 0.78);
  --panel-solid: #0d131b;

  /* graphite and steel tints used for surfaces / banding */
  --midnight: #0c141d;
  --midnight-2: #101b29;

  /* text */
  --text-hi: #f2f6f7;
  --text-mid: #a2adb7;
  --text-low: #667582;
  --text-faint: #424e5a;

  /* accent — restrained intelligence signal */
  --accent: #00d18f;
  --accent-bright: #62f3bf;
  --accent-dim: rgba(0, 209, 143, 0.12);
  --accent-line: rgba(0, 209, 143, 0.28);
  --accent-glow: rgba(0, 209, 143, 0.2);
  --steel: #5f7d95;
  --steel-line: rgba(95, 125, 149, 0.26);

  /* severity scale */
  --sev-low: #00d18f;
  --sev-med: #f0b429;
  --sev-high: #ff8a4c;
  --sev-crit: #ff5d6c;
  --sev-info: #4aa3ff;

  /* borders / hairlines */
  --hair: rgba(213, 229, 235, 0.075);
  --hair-2: rgba(213, 229, 235, 0.13);
  --hair-soft: rgba(213, 229, 235, 0.045);

  /* type */
  --display: 'Space Grotesk', sans-serif;
  --sans: 'IBM Plex Sans', sans-serif;
  --mono: 'IBM Plex Mono', monospace;

  --maxw: 1200px;
  --radius: 8px;
  --radius-sm: 6px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg-0);
  color: var(--text-mid);
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* page-wide ambient backdrop */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(120deg, rgba(0, 209, 143, 0.075), transparent 28%),
    linear-gradient(245deg, rgba(95, 125, 149, 0.13), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 22%),
    var(--bg-0);
}
/* faint grid overlay */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.74;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,0.88) 48%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,0.88) 48%, transparent 100%);
  pointer-events: none;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ---------- layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.section { position: relative; padding: 128px 0; }
.section--tight { padding: 96px 0; }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--accent-line);
}

.h-sec {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.08;
  letter-spacing: 0;
  color: var(--text-hi);
  margin: 18px 0 16px;
  text-wrap: balance;
}
.sub-sec {
  font-size: 17px;
  color: var(--text-mid);
  max-width: 620px;
  text-wrap: pretty;
}
.sec-head { margin-bottom: 56px; max-width: 760px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 15px;
  padding: 13px 22px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: all 0.22s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn--primary {
  background: linear-gradient(180deg, var(--accent-bright), var(--accent));
  color: #02110b;
  font-weight: 600;
  box-shadow: 0 0 0 1px rgba(0,209,143,0.36), 0 14px 34px -18px var(--accent-glow);
}
.btn--primary:hover {
  background: linear-gradient(180deg, #8af8cf, #12d99b);
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(98,243,191,0.48), 0 18px 42px -18px var(--accent-glow);
}
.btn--ghost {
  background: rgba(255,255,255,0.03);
  border-color: var(--hair-2);
  color: var(--text-hi);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-1px);
}
.btn--lg { padding: 16px 28px; font-size: 16px; }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(5, 8, 12, 0.86);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--hair);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark {
  height: 34px;
  position: relative;
  display: grid;
  place-items: center;
}
.brand__logo {
  height: 34px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 12px rgba(0,209,143,0.18));
}
.brand__name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: 0;
  color: var(--text-hi);
}
.brand__name b { color: var(--accent-bright); font-weight: 600; }
.nav__links { display: flex; align-items: center; gap: 34px; }
.nav__links a {
  font-size: 14.5px;
  color: var(--text-mid);
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--text-hi); }
.nav__cta { display: flex; align-items: center; gap: 14px; }
.nav__login { font-size: 14.5px; color: var(--text-mid); transition: color 0.2s; white-space: nowrap; }
.nav__login:hover { color: var(--text-hi); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  padding: 150px 0 94px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 88px 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,209,143,0.34), rgba(95,125,149,0.18), transparent);
  opacity: 0.7;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.02fr 1.18fr;
  gap: 56px;
  align-items: center;
}
.hero__copy,
.hero__viz,
.dash,
.console,
.panel {
  min-width: 0;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-mid);
  padding: 7px 13px 7px 11px;
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.018);
  box-shadow: inset 0 0 0 1px rgba(0,209,143,0.04);
}
.hero__badge .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
  animation: pulse 2.4s infinite;
  flex-shrink: 0;
}
.hero__badge span:last-child { min-width: 0; }
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 var(--accent-glow); }
  50% { opacity: 0.7; box-shadow: 0 0 0 5px rgba(0,209,143,0); }
}
.hero h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(38px, 4.6vw, 62px);
  line-height: 1.04;
  letter-spacing: 0;
  color: var(--text-hi);
  margin: 24px 0 22px;
  text-wrap: balance;
}
.hero h1 .accent {
  background: linear-gradient(180deg, #f1fff9, var(--accent-bright) 54%, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__sub {
  font-size: 18px;
  line-height: 1.62;
  color: var(--text-mid);
  max-width: 540px;
  text-wrap: pretty;
}
.hero__cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero__stats {
  display: flex;
  gap: 36px;
  margin-top: 46px;
  padding-top: 30px;
  border-top: 1px solid var(--hair);
  max-width: 560px;
}
.hero__stat .num {
  font-family: var(--display);
  font-weight: 600;
  font-size: 28px;
  color: var(--text-hi);
  letter-spacing: 0;
}
.hero__stat .num span { color: var(--accent); }
.hero__stat .lbl {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--text-low);
  text-transform: uppercase;
  margin-top: 3px;
}

/* ---------- hero dashboard visual ---------- */
.hero__viz { position: relative; }
.hero__viz::before {
  content: "";
  position: absolute;
  inset: -30px -18px -18px;
  background:
    linear-gradient(135deg, rgba(0,209,143,0.1), transparent 42%),
    linear-gradient(315deg, rgba(95,125,149,0.12), transparent 45%);
  z-index: -1;
  border: 1px solid rgba(0,209,143,0.08);
}
.console {
  position: relative;
  background:
    linear-gradient(180deg, rgba(19,25,33,0.96), rgba(6,10,15,0.98)),
    var(--panel-solid);
  border: 1px solid var(--hair-2);
  border-radius: var(--radius);
  padding: 0;
  box-shadow: 0 44px 90px -34px rgba(0,0,0,0.88), 0 0 0 1px rgba(255,255,255,0.025) inset;
  overflow: hidden;
  backdrop-filter: blur(10px);
}
.console::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.035), transparent 18%);
}
.console__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--hair);
  background: rgba(255,255,255,0.015);
}
.console__bar .dots { display: flex; gap: 6px; }
.console__bar .dots i {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: rgba(162,173,183,0.22);
}
.console__title {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--text-low);
  letter-spacing: 0.04em;
  margin-left: 6px;
}
.console__live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.console__live i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: pulse 1.8s infinite; }
.console__status {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border-bottom: 1px solid var(--hair);
  background: rgba(255,255,255,0.018);
}
.console__status span {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--text-low);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 10px 14px;
  background: rgba(3,5,7,0.42);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.console__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 16px;
}

/* generic intel card inside consoles */
.icard {
  background: linear-gradient(180deg, rgba(255,255,255,0.028), rgba(255,255,255,0.012));
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  padding: 14px;
}
.icard__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 11px;
}
.icard__label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-low);
}
.icard--wide { grid-column: 1 / -1; }

/* threat feed */
.feed { display: flex; flex-direction: column; gap: 0; }
.feed__row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--hair-soft);
  font-size: 12.5px;
}
.feed__row:last-child { border-bottom: none; }
.feed__sev { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.feed__time { font-family: var(--mono); font-size: 10.5px; color: var(--text-faint); flex-shrink: 0; }
.feed__txt { color: var(--text-mid); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.feed__tag {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  color: var(--text-low);
  padding: 2px 7px;
  border: 1px solid var(--hair);
  border-radius: 4px;
  flex-shrink: 0;
}

/* actor card */
.actor { display: flex; gap: 12px; align-items: flex-start; }
.actor__avatar {
  width: 42px; height: 42px; border-radius: var(--radius);
  background: linear-gradient(135deg, #1b2732, #0a1118);
  border: 1px solid var(--hair-2);
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 15px; color: var(--accent);
  flex-shrink: 0;
}
.actor__name { font-family: var(--display); font-size: 15px; color: var(--text-hi); font-weight: 600; }
.actor__alias { font-family: var(--mono); font-size: 11px; color: var(--text-low); }
.tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 9px; }
.tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.03em;
  color: var(--text-mid);
  padding: 3px 8px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--hair);
  border-radius: 4px;
}

/* risk gauge */
.gauge { display: flex; align-items: center; gap: 14px; }
.gauge__ring { position: relative; width: 64px; height: 64px; flex-shrink: 0; }
.gauge__ring svg { transform: rotate(-90deg); }
.gauge__val {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 600; font-size: 17px; color: var(--text-hi);
}
.gauge__meta .k { font-family: var(--mono); font-size: 11px; color: var(--text-low); }
.gauge__meta .v { font-size: 13px; color: var(--text-hi); margin-top: 2px; word-break: break-all; }

/* mini bar chart */
.bars { display: flex; align-items: flex-end; gap: 5px; height: 50px; }
.bars i {
  flex: 1; border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, var(--accent), rgba(0,209,143,0.25));
  min-height: 4px;
}

/* =========================================================
   TRUST STRIP
   ========================================================= */
.strip {
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  background:
    linear-gradient(90deg, rgba(0,209,143,0.035), transparent 28%, rgba(255,93,108,0.025), transparent 74%),
    linear-gradient(180deg, rgba(255,255,255,0.014), transparent);
  padding: 22px 0;
  overflow: hidden;
}
.strip__track {
  display: flex;
  gap: 56px;
  white-space: nowrap;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.strip:hover .strip__track { animation-play-state: paused; }
.strip__item {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--text-mid);
}
.strip__item svg { width: 17px; height: 17px; color: var(--accent); opacity: 0.85; }
@keyframes marquee { to { transform: translateX(calc(-50% - 28px)); } }

/* =========================================================
   CAPABILITIES
   ========================================================= */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.cap {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.026), transparent 46%),
    var(--panel);
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  padding: 28px 26px 30px;
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s;
}
.cap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, var(--accent-dim), transparent);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.cap:hover {
  transform: translateY(-4px);
  border-color: var(--accent-line);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.035), transparent 44%),
    rgba(16,23,31,0.9);
}
.cap:hover::after { opacity: 1; }
.cap__icon {
  width: 46px; height: 46px;
  border-radius: var(--radius);
  display: grid; place-items: center;
  background: linear-gradient(140deg, rgba(0,209,143,0.16), rgba(0,209,143,0.03));
  border: 1px solid var(--accent-line);
  color: var(--accent);
  margin-bottom: 20px;
}
.cap__icon svg { width: 22px; height: 22px; }
.cap h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 19px;
  color: var(--text-hi);
  letter-spacing: 0;
  margin-bottom: 9px;
}
.cap p { font-size: 14.5px; color: var(--text-mid); line-height: 1.6; }
.cap__no {
  position: absolute;
  top: 22px; right: 24px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 0.05em;
}

/* =========================================================
   PLATFORM PREVIEW
   ========================================================= */
.platform { background: linear-gradient(180deg, transparent, rgba(11,20,36,0.4), transparent); }
.dash {
  background:
    linear-gradient(180deg, rgba(17,23,31,0.96), rgba(6,9,14,0.98)),
    var(--panel-solid);
  border: 1px solid var(--hair-2);
  border-radius: var(--radius);
  box-shadow: 0 50px 120px -40px rgba(0,0,0,0.85);
  overflow: hidden;
}
.dash__top {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--hair);
  background: rgba(255,255,255,0.014);
}
.dash__tabs { display: flex; gap: 4px; margin-left: 8px; }
.dash__tab {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-low);
  padding: 6px 13px;
  border-radius: 5px;
}
.dash__tab.active { color: var(--accent-bright); background: var(--accent-dim); box-shadow: inset 0 -1px 0 var(--accent-line); }
.dash__search {
  margin-left: auto;
  display: flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12px; color: var(--text-low);
  padding: 7px 13px;
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  min-width: 210px;
}
.dash__search svg { width: 13px; height: 13px; }
.dash__grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  grid-auto-rows: min-content;
  gap: 14px;
  padding: 18px;
}
.panel {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.027), rgba(255,255,255,0.012)),
    rgba(5,8,12,0.34);
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  padding: 16px;
}
.panel__head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
}
.panel__title {
  font-family: var(--display); font-weight: 500; font-size: 14px; color: var(--text-hi);
  display: flex; align-items: center; gap: 8px;
}
.panel__title svg { width: 15px; height: 15px; color: var(--accent); }
.panel__meta { font-family: var(--mono); font-size: 11px; color: var(--text-low); }
.span-2 { grid-row: span 2; }

/* IOC table */
.ioc { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: 12px; }
.ioc th {
  text-align: left;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  padding: 0 0 9px;
  border-bottom: 1px solid var(--hair);
}
.ioc td { padding: 9px 0; border-bottom: 1px solid var(--hair-soft); color: var(--text-mid); }
.ioc tr:last-child td { border-bottom: none; }
.ioc .mono-hi { color: var(--text-hi); }
.pill {
  display: inline-block;
  font-size: 10px; letter-spacing: 0.04em;
  padding: 2px 7px; border-radius: 4px;
}
.pill--crit { color: var(--sev-crit); background: rgba(255,93,108,0.13); }
.pill--high { color: var(--sev-high); background: rgba(255,138,76,0.13); }
.pill--med  { color: var(--sev-med);  background: rgba(240,180,41,0.13); }
.pill--low  { color: var(--sev-low);  background: rgba(0,209,143,0.13); }

/* investigation graph */
.graph { position: relative; height: 100%; min-height: 200px; }
.graph svg { width: 100%; height: 100%; display: block; }
.gnode-label { font-family: var(--mono); font-size: 9px; fill: var(--text-low); }

/* confidence / evidence */
.evi { display: flex; flex-direction: column; gap: 11px; }
.evi__row { display: flex; gap: 10px; align-items: flex-start; }
.evi__src {
  font-family: var(--mono); font-size: 10px;
  color: var(--accent); flex-shrink: 0;
  width: 58px; padding-top: 1px;
}
.evi__txt { font-size: 12px; color: var(--text-mid); line-height: 1.45; }
.confbar { height: 5px; border-radius: 3px; background: rgba(255,255,255,0.06); overflow: hidden; margin-top: 5px; }
.confbar i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-bright)); border-radius: 3px; }

/* mention alert list */
.mention { display: flex; flex-direction: column; gap: 10px; }
.mention__row {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 10px; border-radius: var(--radius);
  background: rgba(255,255,255,0.015);
  border: 1px solid var(--hair-soft);
}
.mention__icon {
  width: 28px; height: 28px; border-radius: 5px; flex-shrink: 0;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.04);
  font-family: var(--mono); font-size: 11px; color: var(--text-mid);
}
.mention__src { font-family: var(--mono); font-size: 11px; color: var(--text-hi); }
.mention__txt { font-size: 11.5px; color: var(--text-low); margin-top: 1px; line-height: 1.4; }
.mention__time { font-family: var(--mono); font-size: 10px; color: var(--text-faint); margin-left: auto; flex-shrink: 0; }

/* big stat readout */
.readout { display: flex; gap: 26px; }
.readout__item .v {
  font-family: var(--display); font-weight: 600; font-size: 26px; color: var(--text-hi);
}
.readout__item .v small { font-size: 13px; color: var(--accent); }
.readout__item .k { font-family: var(--mono); font-size: 10.5px; color: var(--text-low); letter-spacing: 0.06em; text-transform: uppercase; margin-top: 2px; }

/* =========================================================
   USE CASES
   ========================================================= */
.uc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.uc {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.025), transparent 48%),
    var(--panel);
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.uc:hover { border-color: var(--hair-2); transform: translateY(-3px); }
.uc__top { display: flex; align-items: center; justify-content: space-between; }
.uc__icon { color: var(--accent); }
.uc__icon svg { width: 24px; height: 24px; }
.uc__arrow { color: var(--text-faint); transition: color 0.3s, transform 0.3s; }
.uc:hover .uc__arrow { color: var(--accent); transform: translate(3px, -3px); }
.uc h3 { font-family: var(--display); font-weight: 600; font-size: 17.5px; color: var(--text-hi); letter-spacing: 0; }
.uc p { font-size: 14px; color: var(--text-mid); }

/* =========================================================
   WORKFLOW
   ========================================================= */
.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.flow__line {
  position: absolute;
  top: 27px; left: 8%; right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-line), var(--accent-line), transparent);
  z-index: 0;
}
.step { position: relative; z-index: 1; padding: 0 22px; text-align: left; }
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 21px; right: -7px;
  width: 14px; height: 14px;
  border-top: 1px solid var(--accent-line);
  border-right: 1px solid var(--accent-line);
  transform: rotate(45deg);
  opacity: 0.6;
}
.step__num {
  width: 54px; height: 54px;
  border-radius: var(--radius);
  background: linear-gradient(150deg, rgba(0,209,143,0.16), rgba(8,12,18,0.6));
  border: 1px solid var(--accent-line);
  display: grid; place-items: center;
  color: var(--accent);
  margin-bottom: 22px;
  position: relative;
}
.step__num svg { width: 24px; height: 24px; }
.step__num span {
  position: absolute;
  top: -8px; right: -8px;
  width: 22px; height: 22px;
  border-radius: 5px;
  background: var(--bg-3);
  border: 1px solid var(--hair-2);
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 11px; color: var(--text-mid);
}
.step h3 { font-family: var(--display); font-weight: 600; font-size: 19px; color: var(--text-hi); margin-bottom: 9px; }
.step p { font-size: 14px; color: var(--text-mid); }

/* =========================================================
   WHY
   ========================================================= */
.why-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.why-list { display: flex; flex-direction: column; gap: 4px; }
.why-item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--hair);
}
.why-item:last-child { border-bottom: none; }
.why-item__check {
  width: 26px; height: 26px; flex-shrink: 0;
  border-radius: 5px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-line);
  display: grid; place-items: center;
  color: var(--accent);
  margin-top: 2px;
}
.why-item__check svg { width: 14px; height: 14px; }
.why-item h4 { font-family: var(--sans); font-weight: 600; font-size: 16px; color: var(--text-hi); margin-bottom: 3px; }
.why-item p { font-size: 14px; color: var(--text-mid); }

.why-viz {
  background: var(--panel);
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 30px 70px -30px rgba(0,0,0,0.6);
}
.why-viz__head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 16px; margin-bottom: 16px;
  border-bottom: 1px solid var(--hair);
}
.why-viz__title { font-family: var(--display); font-weight: 600; font-size: 15px; color: var(--text-hi); }
.case-meta { display: flex; flex-direction: column; gap: 13px; }
.case-row { display: flex; align-items: center; gap: 12px; }
.case-row .k { font-family: var(--mono); font-size: 11px; color: var(--text-low); width: 92px; letter-spacing: 0.04em; }
.case-row .v { font-size: 13.5px; color: var(--text-hi); }
.case-row .v.mono { font-family: var(--mono); font-size: 12.5px; }

/* =========================================================
   FINAL CTA
   ========================================================= */
.cta {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--accent-line);
  background:
    linear-gradient(90deg, rgba(0,209,143,0.11), transparent 32%, rgba(95,125,149,0.08), transparent 78%),
    linear-gradient(180deg, rgba(16,24,34,0.9), rgba(9,13,20,0.95));
  padding: 80px 40px;
  text-align: center;
  box-shadow: 0 0 80px -20px rgba(0,209,143,0.12);
}
.cta::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,209,143,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,209,143,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 24%, #000 76%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 24%, #000 76%, transparent);
}
.cta > * { position: relative; }
.cta h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(30px, 3.8vw, 50px);
  line-height: 1.08;
  letter-spacing: 0;
  color: var(--text-hi);
  max-width: 760px;
  margin: 18px auto 14px;
  text-wrap: balance;
}
.cta p { font-size: 17px; color: var(--text-mid); max-width: 540px; margin: 0 auto 34px; }
.cta__btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Contact ---------- */
.contact {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 24px;
  margin-top: 28px;
}
.contact__aside {
  border: 1px solid var(--hair-2);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(16,24,34,0.6), rgba(9,13,20,0.6));
  padding: 30px 28px;
}
.contact__title {
  font-family: var(--display);
  font-weight: 600;
  font-size: 20px;
  color: var(--text-hi);
  margin-bottom: 20px;
}
.contact__channels { list-style: none; display: flex; flex-direction: column; gap: 20px; }
.contact__channel { display: flex; gap: 14px; }
.contact__icon {
  flex: none;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: var(--radius-sm);
  background: var(--accent-dim);
  border: 1px solid var(--accent-line);
  color: var(--accent);
}
.contact__icon svg { width: 19px; height: 19px; }
.contact__channel h4 { font-size: 15px; color: var(--text-hi); margin-bottom: 3px; }
.contact__channel p { font-size: 13.5px; color: var(--text-low); line-height: 1.55; }
.contact__assure {
  display: flex; align-items: flex-start; gap: 8px;
  margin-top: 26px; padding-top: 20px;
  border-top: 1px solid var(--hair-2);
  font-size: 12.5px; color: var(--text-low); line-height: 1.5;
}
.contact__assure svg { width: 15px; height: 15px; flex: none; margin-top: 1px; color: var(--accent); }

.contact__form {
  border: 1px solid var(--hair-2);
  border-radius: var(--radius);
  background: var(--panel-solid);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label {
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--text-low); font-weight: 600;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--bg-1);
  border: 1px solid var(--hair-2);
  border-radius: var(--radius-sm);
  padding: 11px 13px;
  color: var(--text-hi);
  font-family: inherit;
  font-size: 14.5px;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field select { appearance: none; cursor: pointer; }
.field input::placeholder,
.field textarea::placeholder { color: var(--text-faint); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent-line);
  box-shadow: 0 0 0 3px var(--accent-dim);
}
.field input:user-invalid,
.field textarea:user-invalid { border-color: rgba(255,138,76,0.55); }
.contact__submit { justify-content: center; margin-top: 2px; }
.contact__status { font-size: 13.5px; min-height: 18px; color: var(--text-low); }
.contact__status.is-ok { color: var(--accent-bright); }
.contact__status.is-err { color: #ff8a4c; }

@media (max-width: 860px) {
  .contact { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer { border-top: 1px solid var(--hair); padding: 64px 0 36px; margin-top: 40px; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--hair);
}
.footer__brand p { font-size: 14px; color: var(--text-low); max-width: 290px; margin-top: 16px; line-height: 1.6; }
.footer__col h5 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 16px;
}
.footer__col a { display: block; font-size: 14px; color: var(--text-mid); padding: 6px 0; transition: color 0.2s; }
.footer__col a:hover { color: var(--accent); }
.footer__bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 26px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-faint);
}
.footer__bottom .secure { display: inline-flex; align-items: center; gap: 7px; color: var(--text-low); }
.footer__bottom .secure svg { width: 13px; height: 13px; color: var(--accent); }

/* =========================================================
   SCROLL REVEAL
   ========================================================= */
.reveal { opacity: 1; transform: none; transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: 0.07s; }
.reveal[data-d="2"] { transition-delay: 0.14s; }
.reveal[data-d="3"] { transition-delay: 0.21s; }
.reveal[data-d="4"] { transition-delay: 0.28s; }
.reveal[data-d="5"] { transition-delay: 0.35s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .strip__track { animation: none; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero__viz { order: 2; }
  .cap-grid, .uc-grid { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(2, 1fr); gap: 40px 0; }
  .flow__line { display: none; }
  .step:nth-child(2)::after { display: none; }
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .dash__grid { grid-template-columns: 1fr 1fr; }
  .dash__top { flex-wrap: wrap; }
  .dash__search { margin-left: 0; flex: 1 1 100%; }
  .nav__links { display: none; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .section { padding: 90px 0; }
  .nav__inner { height: 64px; }
  .nav__login { display: none; }
  .nav__cta .btn { padding: 10px 13px; font-size: 13px; }
  .brand { gap: 9px; }
  .brand__mark { height: 30px; }
  .brand__logo { height: 30px; }
  .brand__name { font-size: 17px; }
  .hero { padding-top: 124px; }
  .hero__badge { max-width: 100%; white-space: normal; }
  .hero__cta .btn { width: 100%; justify-content: center; }
  .cap-grid, .uc-grid, .flow, .dash__grid, .footer__grid { grid-template-columns: 1fr; }
  .console__body { grid-template-columns: 1fr; }
  .console__status { grid-template-columns: 1fr; }
  .hero__stats { flex-wrap: wrap; gap: 22px; }
  .dash__top { gap: 12px; }
  .dash__tabs { order: 3; width: 100%; margin-left: 0; overflow-x: auto; padding-bottom: 2px; }
  .dash__tab { flex: 0 0 auto; }
  .dash__search { display: none; }
  .feed__row { gap: 8px; }
  .feed__time { display: none; }
  .panel__head { gap: 10px; align-items: flex-start; }
  .footer__bottom { flex-direction: column; gap: 14px; align-items: flex-start; }
}
