/* =====================================================
   Teriara v2 — B2B Conversation Intelligence
   ===================================================== */

:root {
  /* Brand */
  --bg-deep:      #0A0E1A;
  --bg-deep-2:    #0F1421;
  --bg-deep-3:    #131A2A;
  --bg-line:      #1E2638;
  --bg-line-2:    #2A3450;

  --fg:           #F4F6FB;
  --fg-dim:       #9AA4BC;
  --fg-faint:     #6B7591;

  --light-bg:     #FAFAFB;
  --light-bg-2:   #F2F3F6;
  --light-bg-3:   #E8EAEF;
  --light-line:   #E1E4EB;
  --light-line-2: #D3D7E0;
  --light-ink:    #0E1320;
  --light-ink-2: #2E3548;
  --light-dim:    #6A7186;

  /* Accent — electric cyan (intelligence-platform signal) */
  --accent:       #22D3EE;
  --accent-2:     #06B6D4;
  --accent-3:     #0891B2;
  --accent-glow:  rgba(34, 211, 238, 0.18);

  /* Status — colors that appear in every product screenshot */
  --ok:    #22C55E;
  --ok-2:  #16A34A;
  --warn:  #F59E0B;
  --warn-2:#D97706;
  --crit:  #EF4444;
  --crit-2:#DC2626;

  /* Type */
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --container: 1280px;
  --gutter: clamp(20px, 4vw, 48px);

  --radius: 10px;
  --radius-sm: 6px;
  --radius-lg: 16px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--light-bg);
  color: var(--light-ink);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
}

::selection { background: var(--accent); color: var(--bg-deep); }

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* ============================================
   Type scale
   ============================================ */
.h-display {
  font-size: clamp(40px, 6.4vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-weight: 600;
  text-wrap: balance;
}
.h-1 {
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  font-weight: 600;
}
.h-2 {
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  font-weight: 600;
}
.h-3 {
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  font-weight: 600;
}
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}
.lede {
  font-size: clamp(17px, 1.4vw, 19px);
  color: var(--fg-dim);
  line-height: 1.55;
  max-width: 56ch;
}
.dark .lede { color: var(--fg-dim); }
.light .lede { color: var(--light-dim); }

/* ============================================
   Layout
   ============================================ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.section { padding: clamp(72px, 11vh, 128px) 0; position: relative; }
.section.tight { padding: clamp(40px, 7vh, 72px) 0; }

.dark  { background: var(--bg-deep); color: var(--fg); }
.light { background: var(--light-bg); color: var(--light-ink); }
.dark.gradient {
  background:
    radial-gradient(1100px 600px at 70% -10%, rgba(34, 211, 238, 0.10), transparent 60%),
    radial-gradient(900px 600px at 10% 10%, rgba(95, 75, 255, 0.08), transparent 60%),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-deep-2) 100%);
}

/* Grid background — subtle intelligence-platform texture */
.grid-bg::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: -1px -1px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 0%, transparent 100%);
  pointer-events: none;
}

/* ============================================
   Nav
   ============================================ */
.nav {
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(10, 14, 26, 0.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: var(--fg);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600;
  letter-spacing: -0.01em;
  font-size: 17px;
}
.brand-mark {
  width: 22px; height: 22px;
  border-radius: 6px;
  background:
    linear-gradient(135deg, var(--accent) 0%, var(--accent-3) 100%);
  position: relative;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.04) inset, 0 6px 14px rgba(34,211,238,0.25);
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 3px;
  background: var(--bg-deep);
}
.brand-mark::before {
  content: "";
  position: absolute;
  left: 5px; right: 5px;
  top: 50%;
  height: 1px;
  background: var(--accent);
  z-index: 1;
}
.brand-name { font-weight: 600; }

.nav-links {
  display: flex; gap: 4px;
  list-style: none; padding: 0; margin: 0;
}
.nav-links a {
  padding: 8px 14px;
  color: var(--fg-dim);
  font-size: 14px;
  font-weight: 450;
  border-radius: 8px;
  transition: color 120ms, background 120ms;
}
.nav-links a:hover { color: var(--fg); background: rgba(255,255,255,0.04); }

.nav-actions { display: flex; gap: 8px; align-items: center; }

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

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center; justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 120ms, border-color 120ms, color 120ms, transform 80ms;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--accent);
  color: var(--bg-deep);
  border-color: var(--accent);
}
.btn-primary:hover { background: #5BE3F4; border-color: #5BE3F4; }
.btn-ghost-dark {
  background: rgba(255,255,255,0.04);
  color: var(--fg);
  border-color: rgba(255,255,255,0.10);
}
.btn-ghost-dark:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.16); }
.btn-ghost-light {
  background: var(--light-bg-2);
  color: var(--light-ink);
  border-color: var(--light-line);
}
.btn-ghost-light:hover { background: var(--light-bg-3); }
.btn-lg { height: 48px; padding: 0 22px; font-size: 15px; }

.btn .arrow {
  width: 12px; height: 12px;
  flex: 0 0 12px;
  transition: transform 160ms;
}
.btn:hover .arrow { transform: translateX(2px); }

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  padding: clamp(72px, 12vh, 120px) 0 clamp(40px, 6vh, 80px);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 6vh, 64px);
  align-items: start;
}
.hero-copy {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
  display: flex; flex-direction: column;
  align-items: center;
  gap: 24px;
}
.hero-pill {
  display: inline-flex; align-items: center; gap: 8px;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(34,211,238,0.08);
  border: 1px solid rgba(34,211,238,0.22);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
}
.hero-pill .dot {
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(34,211,238,0.7);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(34,211,238,0.55); }
  70%  { box-shadow: 0 0 0 10px rgba(34,211,238,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,211,238,0); }
}

.hero h1 {
  margin: 0;
}
.hero-cta-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }

.hero-stage {
  margin-top: 16px;
  position: relative;
}
.hero-stage::before {
  content: "";
  position: absolute;
  left: -10%; right: -10%;
  top: 10%; bottom: -20%;
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(34,211,238,0.18), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}

/* ============================================
   Dashboard "screenshot" — the killer feature
   ============================================ */
.dash {
  position: relative;
  z-index: 1;
  border-radius: 14px;
  background: linear-gradient(180deg, #131A2A 0%, #0F1421 100%);
  border: 1px solid var(--bg-line);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.02) inset,
    0 30px 80px -20px rgba(0,0,0,0.6),
    0 0 0 6px rgba(34,211,238,0.04);
  overflow: hidden;
  font-size: 13px;
  color: var(--fg);
}
.dash.lift { transform: perspective(2000px) rotateX(0deg); }

.dash-chrome {
  display: flex; align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid var(--bg-line);
  background: rgba(255,255,255,0.015);
  gap: 12px;
}
.dash-chrome .traffic { display: flex; gap: 6px; }
.dash-chrome .traffic span {
  width: 10px; height: 10px; border-radius: 999px;
  background: #2A3450;
}
.dash-chrome .url {
  font-family: var(--mono);
  color: var(--fg-faint);
  font-size: 11px;
  letter-spacing: 0.04em;
  margin-left: 8px;
}
.dash-chrome .live {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ok);
  display: flex; align-items: center; gap: 6px;
}
.dash-chrome .live .dot {
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--ok);
  box-shadow: 0 0 8px var(--ok);
  animation: pulse-ok 1.6s infinite;
}
@keyframes pulse-ok {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.45; }
}

.dash-body {
  display: grid;
  grid-template-columns: 180px 1fr;
  min-height: 520px;
}
.dash-side {
  border-right: 1px solid var(--bg-line);
  padding: 14px 10px;
  display: flex; flex-direction: column; gap: 2px;
  background: rgba(0,0,0,0.12);
}
.dash-side .group {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-faint);
  padding: 12px 10px 6px;
}
.dash-side .item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px;
  border-radius: 6px;
  color: var(--fg-dim);
  font-size: 13px;
}
.dash-side .item.active {
  background: rgba(34,211,238,0.10);
  color: var(--fg);
  box-shadow: inset 2px 0 0 var(--accent);
}
.dash-side .item .ic {
  width: 14px; height: 14px; flex: 0 0 14px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--bg-line-2), var(--bg-line));
}
.dash-side .item.active .ic {
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
}
.dash-side .badge {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--fg-faint);
}
.dash-side .badge.warn { color: var(--warn); }
.dash-side .badge.crit { color: var(--crit); }

.dash-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  min-width: 0;
}
.dash-content {
  padding: 18px 20px;
  border-right: 1px solid var(--bg-line);
  display: flex; flex-direction: column; gap: 14px;
  min-width: 0;
}
.dash-aside {
  padding: 18px 18px;
  display: flex; flex-direction: column; gap: 14px;
  background: rgba(0,0,0,0.18);
  min-width: 0;
}

/* Exec summary banner */
.exec-summary {
  border: 1px solid var(--bg-line);
  border-radius: 10px;
  padding: 14px 16px;
  background:
    linear-gradient(180deg, rgba(34,211,238,0.06), transparent 80%),
    rgba(255,255,255,0.015);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.exec-summary .cell {
  display: flex; flex-direction: column; gap: 4px;
  min-width: 0;
}
.exec-summary .k {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-faint);
}
.exec-summary .v {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.exec-summary .v.warn { color: var(--warn); }
.exec-summary .v.crit { color: var(--crit); }
.exec-summary .v.accent { color: var(--accent); }

/* Filter chips */
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip {
  height: 26px;
  padding: 0 10px;
  display: inline-flex; align-items: center; gap: 6px;
  border-radius: 999px;
  border: 1px solid var(--bg-line);
  background: rgba(255,255,255,0.015);
  font-size: 12px;
  color: var(--fg-dim);
  font-family: var(--mono);
  letter-spacing: 0.02em;
}
.chip.on { color: var(--accent); border-color: rgba(34,211,238,0.35); background: rgba(34,211,238,0.06); }
.chip .x { color: var(--fg-faint); font-size: 11px; }

/* Commitments table */
.table {
  border: 1px solid var(--bg-line);
  border-radius: 10px;
  overflow: hidden;
  font-size: 13px;
  background: rgba(255,255,255,0.015);
}
.tr {
  display: grid;
  grid-template-columns: 28px 1.2fr 2fr 0.9fr 0.9fr 0.7fr;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--bg-line);
  min-width: 0;
}
.tr:last-child { border-bottom: 0; }
.tr.head {
  background: rgba(255,255,255,0.02);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-faint);
}
.tr .avatar {
  width: 22px; height: 22px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #3B82F6, #1E40AF);
  font-size: 10px;
  font-weight: 600;
  color: white;
  font-family: var(--mono);
}
.tr .avatar.a-2 { background: linear-gradient(135deg, #F97316, #C2410C); }
.tr .avatar.a-3 { background: linear-gradient(135deg, #A855F7, #6D28D9); }
.tr .avatar.a-4 { background: linear-gradient(135deg, #14B8A6, #0F766E); }
.tr .avatar.a-5 { background: linear-gradient(135deg, #EC4899, #BE185D); }

.tr .promise {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--fg);
}
.tr .deadline { font-family: var(--mono); font-size: 12px; color: var(--fg-dim); }

.status {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px;
  font-family: var(--mono);
  letter-spacing: 0.02em;
}
.status .sdot {
  width: 7px; height: 7px; border-radius: 999px;
}
.status.ok   { color: var(--ok); }
.status.ok   .sdot { background: var(--ok); box-shadow: 0 0 6px var(--ok); }
.status.warn { color: var(--warn); }
.status.warn .sdot { background: var(--warn); box-shadow: 0 0 6px var(--warn); }
.status.crit { color: var(--crit); }
.status.crit .sdot { background: var(--crit); box-shadow: 0 0 6px var(--crit); }

.risk-bar {
  height: 6px;
  border-radius: 999px;
  background: var(--bg-line);
  position: relative;
  overflow: hidden;
}
.risk-bar > i {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  border-radius: 999px;
}
.risk-bar.lo > i { width: 22%; background: var(--ok); }
.risk-bar.md > i { width: 58%; background: var(--warn); }
.risk-bar.hi > i { width: 88%; background: var(--crit); }

/* Aside cards */
.card-flag {
  border: 1px solid var(--bg-line);
  border-left: 2px solid var(--crit);
  border-radius: 10px;
  padding: 14px 16px;
  background: linear-gradient(180deg, rgba(239,68,68,0.06), transparent 80%);
  display: flex; flex-direction: column; gap: 10px;
}
.card-flag .lbl {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--crit);
}
.card-flag .said {
  font-size: 13px; color: var(--fg);
  line-height: 1.4;
}
.card-flag .said strong { color: var(--accent); font-weight: 500; }
.card-flag .meta {
  font-family: var(--mono); font-size: 11px; color: var(--fg-faint);
  display: flex; justify-content: space-between;
}

.card-stall {
  border: 1px solid var(--bg-line);
  border-left: 2px solid var(--warn);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex; flex-direction: column; gap: 6px;
  background: linear-gradient(180deg, rgba(245,158,11,0.05), transparent 80%);
}
.card-stall .lbl {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--warn);
}
.card-stall .title { font-size: 13px; color: var(--fg); font-weight: 500; }
.card-stall .meta {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-faint);
  display: flex; gap: 12px;
}
.card-stall .meta strong { color: var(--warn); font-weight: 500; }

/* Annotation pins for the killer-feature section */
.dash-wrap { position: relative; }

.annot {
  position: absolute;
  display: flex; align-items: center; gap: 10px;
  z-index: 5;
}
.annot .pin {
  width: 22px; height: 22px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--bg-deep);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 4px rgba(34,211,238,0.18), 0 4px 16px rgba(0,0,0,0.4);
  flex: 0 0 22px;
}
.annot .lbl {
  background: var(--bg-deep);
  border: 1px solid var(--bg-line);
  color: var(--fg);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12px;
  white-space: nowrap;
  font-family: var(--mono);
  letter-spacing: 0.01em;
}
.annot.left .lbl { order: -1; }

/* Hide annotations on narrow widths to avoid clipping */
@media (max-width: 980px) {
  .annot { display: none; }
}

/* ============================================
   Logo strip
   ============================================ */
.logo-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: center;
  gap: clamp(20px, 4vw, 56px);
  color: var(--fg-faint);
}
.dark .logo-strip { color: rgba(244,246,251,0.45); }
.light .logo-strip { color: rgba(14,19,32,0.40); }
.logo-strip .logo {
  font-weight: 600;
  letter-spacing: -0.01em;
  font-size: 18px;
  text-align: center;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  white-space: nowrap;
}
.logo-strip .logo .gly { font-family: var(--mono); opacity: 0.7; }
.logo-strip .caption {
  grid-column: 1 / -1;
  text-align: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--fg-faint);
}
@media (max-width: 800px) {
  .logo-strip { grid-template-columns: repeat(3, 1fr); row-gap: 32px; }
}

/* ============================================
   Feature blocks
   ============================================ */
.feature {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.feature.flip { grid-template-columns: 1.15fr 1fr; }
.feature.flip .feature-copy { order: 2; }
.feature.flip .feature-art  { order: 1; }
.feature-copy { display: flex; flex-direction: column; gap: 16px; }
.feature-copy h3 { margin: 0; }
.feature-copy .lede { margin: 0; }
.feature-bullets {
  list-style: none; padding: 0; margin: 8px 0 0;
  display: flex; flex-direction: column; gap: 10px;
}
.feature-bullets li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 15px;
  color: var(--light-ink-2);
}
.feature-bullets li::before {
  content: "";
  display: inline-block;
  width: 14px; height: 14px;
  margin-top: 4px;
  border-radius: 4px;
  background: var(--accent);
  box-shadow: inset 0 0 0 4px var(--light-bg);
  flex: 0 0 14px;
}

@media (max-width: 920px) {
  .feature, .feature.flip { grid-template-columns: 1fr; }
  .feature.flip .feature-copy { order: 1; }
  .feature.flip .feature-art  { order: 2; }
}

.feature-art {
  border-radius: var(--radius-lg);
  background: var(--bg-deep);
  border: 1px solid var(--light-line-2);
  overflow: hidden;
  box-shadow: 0 18px 50px -16px rgba(14,19,32,0.18);
}

/* Mini product surfaces inside feature blocks */
.mini {
  background: linear-gradient(180deg, #131A2A 0%, #0F1421 100%);
  color: var(--fg);
  padding: 22px;
  display: flex; flex-direction: column; gap: 14px;
  min-height: 360px;
}
.mini .mini-head {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-faint);
}
.mini .mini-head .live {
  color: var(--accent);
  display: inline-flex; align-items: center; gap: 6px;
}
.mini .mini-head .live::before {
  content: ""; width: 6px; height: 6px; border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
  animation: pulse-ok 1.6s infinite;
}

/* Feature 1 — Commitments timeline */
.timeline {
  display: flex; flex-direction: column; gap: 8px;
  flex: 1;
}
.t-row {
  display: grid;
  grid-template-columns: 80px 1fr 90px;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--bg-line);
  border-radius: 8px;
  background: rgba(255,255,255,0.015);
}
.t-row.fresh { border-color: rgba(34,211,238,0.35); background: rgba(34,211,238,0.05); }
.t-row .when {
  font-family: var(--mono); font-size: 11px; color: var(--fg-faint);
}
.t-row .what { font-size: 13px; color: var(--fg); }
.t-row .what strong { color: var(--accent); font-weight: 500; }

/* Feature 2 — Contradiction split */
.split {
  display: grid;
  grid-template-columns: 1fr 24px 1fr;
  gap: 10px;
  align-items: center;
  flex: 1;
}
.split .col {
  border: 1px solid var(--bg-line);
  border-radius: 8px;
  padding: 12px;
  display: flex; flex-direction: column; gap: 6px;
  font-size: 13px;
}
.split .col .who { font-family: var(--mono); font-size: 11px; color: var(--fg-faint); }
.split .col .said { color: var(--fg); line-height: 1.4; }
.split .col.a { border-color: rgba(245,158,11,0.4); background: rgba(245,158,11,0.04); }
.split .col.b { border-color: rgba(239,68,68,0.4); background: rgba(239,68,68,0.04); }
.split .vs {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--crit);
  text-align: center;
  letter-spacing: 0.1em;
}
.split-foot {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-faint);
  display: flex; gap: 12px;
}
.split-foot strong { color: var(--crit); font-weight: 500; }

/* Feature 3 — Stall radar */
.radar {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  flex: 1;
}
.radar .cell {
  border: 1px solid var(--bg-line);
  border-radius: 8px;
  padding: 12px;
  display: flex; flex-direction: column; gap: 4px;
}
.radar .cell.ok   { border-color: rgba(34,197,94,0.3); }
.radar .cell.warn { border-color: rgba(245,158,11,0.4); background: rgba(245,158,11,0.04); }
.radar .cell.crit { border-color: rgba(239,68,68,0.4); background: rgba(239,68,68,0.06); }
.radar .name { font-size: 12px; color: var(--fg); font-weight: 500; }
.radar .days { font-family: var(--mono); font-size: 18px; letter-spacing: -0.02em; }
.radar .ok .days   { color: var(--ok); }
.radar .warn .days { color: var(--warn); }
.radar .crit .days { color: var(--crit); }
.radar .since { font-family: var(--mono); font-size: 10px; color: var(--fg-faint); text-transform: uppercase; letter-spacing: 0.1em; }

/* Feature 4 — Brief preview */
.brief {
  font-family: var(--sans);
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--bg-line);
  border-radius: 8px;
  padding: 18px;
  display: flex; flex-direction: column; gap: 10px;
  flex: 1;
  font-size: 13px;
}
.brief h4 {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--fg);
}
.brief .meta {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-faint);
  letter-spacing: 0.06em;
}
.brief .row {
  display: grid; grid-template-columns: 100px 1fr; gap: 10px;
  padding: 8px 0;
  border-top: 1px solid var(--bg-line);
  font-size: 12px;
}
.brief .row:first-of-type { border-top: 0; padding-top: 0; }
.brief .row .k {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-faint);
  padding-top: 2px;
}
.brief .row .v { color: var(--fg); }
.brief .row .v strong { color: var(--accent); font-weight: 500; }

/* ============================================
   Outcomes (metric tiles)
   ============================================ */
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.metric {
  border: 1px solid var(--bg-line);
  border-radius: 14px;
  padding: 28px 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.0));
  display: flex; flex-direction: column; gap: 8px;
  min-height: 220px;
  position: relative;
  overflow: hidden;
}
.metric .big {
  font-size: clamp(48px, 5.2vw, 72px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--fg);
}
.metric .big .unit {
  color: var(--accent);
  font-size: 0.7em;
  margin-left: 4px;
  font-weight: 500;
}
.metric .what {
  font-size: 15px;
  color: var(--fg-dim);
  line-height: 1.4;
  max-width: 28ch;
  margin-top: auto;
}
.metric .src {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-faint);
}
.metric::after {
  content: "";
  position: absolute;
  right: -30px; top: -30px;
  width: 140px; height: 140px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, rgba(34,211,238,0.18), transparent 70%);
  pointer-events: none;
}
@media (max-width: 880px) {
  .metrics { grid-template-columns: 1fr; }
}

/* ============================================
   Quotes
   ============================================ */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.quote {
  background: white;
  border: 1px solid var(--light-line);
  border-radius: 14px;
  padding: 28px;
  display: flex; flex-direction: column; gap: 24px;
  min-height: 360px;
}
.quote .q {
  font-size: 18px;
  line-height: 1.4;
  color: var(--light-ink);
  letter-spacing: -0.005em;
  text-wrap: pretty;
}
.quote .who {
  display: flex; align-items: center; gap: 12px;
  margin-top: auto;
}
.quote .who .av {
  width: 40px; height: 40px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 14px;
  color: white;
}
.quote .who .name { font-weight: 600; font-size: 14px; }
.quote .who .role { font-size: 13px; color: var(--light-dim); }
.quote .co {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--light-dim);
}
@media (max-width: 980px) {
  .quotes { grid-template-columns: 1fr; }
}

/* ============================================
   How it works
   ============================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  left: 8%; right: 8%; top: 28px;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--bg-line) 0 6px, transparent 6px 12px);
  z-index: 0;
}
.step {
  position: relative;
  z-index: 1;
  background: var(--bg-deep);
  border: 1px solid var(--bg-line);
  border-radius: 12px;
  padding: 22px;
  display: flex; flex-direction: column; gap: 10px;
}
.step .num {
  width: 56px; height: 56px;
  border-radius: 999px;
  border: 1px solid var(--bg-line);
  background: var(--bg-deep-2);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 18px;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.step h4 { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.step p { margin: 0; color: var(--fg-dim); font-size: 14px; line-height: 1.5; }
@media (max-width: 980px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .steps::before { display: none; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
}

/* ============================================
   Integrations grid
   ============================================ */
.integ {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.integ .tile {
  aspect-ratio: 1.4 / 1;
  border: 1px solid var(--light-line);
  border-radius: 12px;
  background: white;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px;
  padding: 16px;
  transition: border-color 120ms, transform 120ms;
}
.integ .tile:hover { border-color: var(--accent); transform: translateY(-2px); }
.integ .tile .mark {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 14px;
  color: white;
}
.integ .tile .label { font-size: 13px; color: var(--light-ink-2); font-weight: 500; }
@media (max-width: 880px) {
  .integ { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 500px) {
  .integ { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   Security band
   ============================================ */
.security {
  background: linear-gradient(180deg, var(--bg-deep-2) 0%, var(--bg-deep) 100%);
  border-top: 1px solid var(--bg-line);
  border-bottom: 1px solid var(--bg-line);
}
.sec-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}
.sec-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.sec-badge {
  border: 1px solid var(--bg-line);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex; flex-direction: column; gap: 4px;
  background: rgba(255,255,255,0.015);
}
.sec-badge .k {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.sec-badge .v { font-size: 14px; color: var(--fg); font-weight: 500; }
.sec-badge .note { font-size: 12px; color: var(--fg-faint); }
@media (max-width: 880px) {
  .sec-grid { grid-template-columns: 1fr; }
}

/* ============================================
   Final CTA
   ============================================ */
.cta-final {
  background:
    radial-gradient(900px 500px at 50% 0%, rgba(34,211,238,0.10), transparent 60%),
    linear-gradient(180deg, var(--bg-deep-2) 0%, var(--bg-deep) 100%);
  border-top: 1px solid var(--bg-line);
  text-align: center;
  position: relative;
}
.cta-final h2 { margin: 0 auto; max-width: 22ch; }
.cta-form {
  margin: 24px auto 0;
  display: flex; gap: 8px;
  max-width: 460px;
  width: 100%;
}
.cta-form input {
  flex: 1;
  height: 48px;
  border-radius: 10px;
  border: 1px solid var(--bg-line);
  background: rgba(255,255,255,0.03);
  padding: 0 14px;
  font: inherit;
  color: var(--fg);
  font-size: 15px;
}
.cta-form input::placeholder { color: var(--fg-faint); }
.cta-form input:focus { outline: 2px solid var(--accent); outline-offset: -1px; }
.cta-tagline {
  font-style: italic;
  font-family: var(--sans);
  color: var(--fg-faint);
  font-size: 14px;
  margin-top: 32px;
  letter-spacing: 0.01em;
}

/* ============================================
   Footer
   ============================================ */
footer.foot {
  background: var(--bg-deep);
  color: var(--fg-dim);
  padding: 64px 0 32px;
  border-top: 1px solid var(--bg-line);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 32px;
}
.foot-brand { display: flex; flex-direction: column; gap: 12px; max-width: 28ch; }
.foot-brand .brand-name { color: var(--fg); }
.foot-brand p { margin: 0; font-size: 13px; color: var(--fg-faint); line-height: 1.5; }
.foot-col h5 {
  margin: 0 0 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-faint);
  font-weight: 500;
}
.foot-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.foot-col a { color: var(--fg-dim); font-size: 14px; transition: color 120ms; }
.foot-col a:hover { color: var(--fg); }
.foot-base {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--bg-line);
  display: flex; justify-content: space-between;
  font-size: 12px; color: var(--fg-faint);
  font-family: var(--mono);
  letter-spacing: 0.08em;
}
@media (max-width: 880px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .foot-grid { grid-template-columns: 1fr; }
}

/* ============================================
   Section header
   ============================================ */
.sec-head {
  text-align: center;
  display: flex; flex-direction: column; gap: 12px;
  align-items: center;
  margin-bottom: clamp(40px, 6vh, 64px);
}
.sec-head h2 { margin: 0; max-width: 26ch; }
.sec-head p { margin: 0; max-width: 54ch; }

/* ============================================
   Reveal-on-scroll
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 500ms ease-out, transform 500ms ease-out;
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
