/* ============================================================
   Litigence — Litigation Intelligence Cockpit
   Premium dark futuristic design system
   ============================================================ */

:root {
  /* Foundation */
  --bg-void: #05070D;
  --bg-deep: #07111F;
  --bg-panel: #0B1020;
  --bg-elevated: #0E1426;
  --bg-glass: rgba(11, 16, 32, 0.55);

  /* Accents */
  --accent-blue: #2F80FF;
  --accent-blue-soft: rgba(47, 128, 255, 0.16);
  --accent-cyan: #00D8FF;
  --accent-cyan-soft: rgba(0, 216, 255, 0.12);
  --accent-violet: #7C3AED;
  --accent-violet-soft: rgba(124, 58, 237, 0.16);
  --signal-amber: #F5A524;
  --signal-amber-soft: rgba(245, 165, 36, 0.16);
  --signal-red: #FF4D4F;
  --signal-green: #10B981;

  /* Signature — "verdict gold" for judicial-pattern layer */
  --accent-gold: #E8B45C;
  --accent-gold-bright: #F4C775;
  --accent-gold-soft: rgba(232, 180, 92, 0.16);

  /* Text */
  --text-primary: #F5F7FA;
  --text-secondary: #A7B0C0;
  --text-muted: #6B7280;
  --text-faint: rgba(167, 176, 192, 0.4);

  /* Lines & borders */
  --line-soft: rgba(255, 255, 255, 0.06);
  --line-medium: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);

  /* Effects */
  --glow-blue: 0 0 40px rgba(47, 128, 255, 0.25);
  --glow-cyan: 0 0 28px rgba(0, 216, 255, 0.18);
  --glow-violet: 0 0 36px rgba(124, 58, 237, 0.2);

  /* Radii */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* Typography */
  --font-display: "Manrope", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", Menlo, monospace;

  /* Spacing scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  /* Container */
  --container: 1240px;
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-void);
  background-image:
    radial-gradient(ellipse 1200px 700px at 50% -200px, rgba(47, 128, 255, 0.12), transparent 60%),
    radial-gradient(ellipse 800px 500px at 90% 30%, rgba(124, 58, 237, 0.08), transparent 60%),
    radial-gradient(ellipse 800px 500px at 0% 80%, rgba(0, 216, 255, 0.06), transparent 60%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  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;
  background-position: center center;
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 30%, black, transparent 80%);
  mask-image: radial-gradient(ellipse 90% 60% at 50% 30%, black, transparent 80%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.06 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.4;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 1;
}

main, header, footer, section {
  position: relative;
  z-index: 2;
}

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

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

button {
  font: inherit;
  cursor: pointer;
}

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

.section {
  padding-block: clamp(64px, 8vw, 128px);
  position: relative;
}

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

.section__head {
  max-width: 760px;
  margin-bottom: clamp(40px, 5vw, 72px);
}

/* section head + a photo that dissolves into the dark (no frame) */
.head-split {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  margin-bottom: clamp(36px, 5vw, 64px);
  overflow: hidden;
}
.head-split .section__head {
  position: relative;
  z-index: 2;
  margin: 0;
  max-width: 520px;
}
.head-split__media {
  position: absolute;
  inset: 0 0 0 auto;
  width: 64%;
  z-index: 1;
  pointer-events: none;
}
.head-split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* seamless: fade left (toward text) + right + top + bottom */
  -webkit-mask-image:
    linear-gradient(100deg, transparent 0%, rgba(0, 0, 0, 0.5) 26%, #000 50%, #000 93%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 13%, #000 86%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(100deg, transparent 0%, rgba(0, 0, 0, 0.5) 26%, #000 50%, #000 93%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 13%, #000 86%, transparent 100%);
  mask-composite: intersect;
}
@media (max-width: 860px) {
  .head-split { display: flex; flex-direction: column; align-items: stretch; min-height: 0; overflow: visible; }
  .head-split__media {
    position: relative;
    inset: auto;
    width: auto;
    height: 190px;
    order: -1;
    margin: 0 0 22px;
  }
  .head-split__media img {
    -webkit-mask-image: linear-gradient(180deg, #000 48%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 48%, transparent 100%);
  }
}

.section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  padding: 6px 12px;
  border: 1px solid rgba(0, 216, 255, 0.22);
  border-radius: var(--r-pill);
  background: rgba(0, 216, 255, 0.05);
  margin-bottom: 20px;
}

.section__eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
}

.section__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 20px;
  color: var(--text-primary);
}

.section__title em {
  font-style: normal;
  background-image: linear-gradient(100deg, #00d8ff 0%, #2f80ff 25%, #7c3aed 50%, #f4c775 75%, #00d8ff 100%);
  background-size: 200% 100%;
  background-repeat: repeat;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradFlow 5.5s linear infinite;
}

@keyframes gradFlow { to { background-position: -200% 0; } }

@media (prefers-reduced-motion: reduce) {
  .section__title em { animation: none !important; }
}

.section__lead {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0;
}

/* ============================================================
   Navigation
   ============================================================ */
.nav {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 36px);
  max-width: 1200px;
  z-index: 100;
  background: rgba(5, 7, 13, 0.6);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  backdrop-filter: blur(24px) saturate(140%);
  border: 1px solid var(--line-medium);
  border-radius: 18px;
  padding: 12px 16px 12px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: padding .3s ease, background .3s ease;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.nav__mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 30% 30%, var(--accent-cyan), transparent 60%),
    linear-gradient(135deg, var(--accent-blue), var(--accent-violet));
  position: relative;
  display: grid;
  place-items: center;
  box-shadow: var(--glow-blue);
}

.nav__mark::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.06), transparent 60%);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__links a {
  display: inline-block;
  padding: 8px 14px;
  border-radius: var(--r-sm);
  font-size: 14px;
  color: var(--text-secondary);
  transition: color .2s ease, background .2s ease;
}

.nav__links a:hover {
  color: var(--text-primary);
  background: var(--line-soft);
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 500;
  color: var(--bg-void);
  background: var(--text-primary);
  border: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.nav__cta:hover {
  transform: translateY(-1px);
  background: #fff;
  box-shadow: 0 6px 24px rgba(255, 255, 255, 0.12);
}

.nav__burger {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-medium);
  background: transparent;
  color: var(--text-primary);
  align-items: center;
  justify-content: center;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-primary);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
  white-space: nowrap;
}

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

.btn--primary {
  background: linear-gradient(135deg, #ffffff 0%, #d6dde8 100%);
  color: var(--bg-void);
  font-weight: 600;
  box-shadow:
    0 12px 32px rgba(47, 128, 255, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.btn--primary:hover {
  box-shadow:
    0 16px 40px rgba(47, 128, 255, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-medium);
  color: var(--text-primary);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

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

.btn--accent {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-violet));
  color: #fff;
  font-weight: 600;
  box-shadow: 0 12px 32px rgba(47, 128, 255, 0.4);
}

.btn--accent:hover {
  box-shadow: 0 16px 44px rgba(47, 128, 255, 0.55);
}

.btn__arrow {
  width: 18px;
  height: 18px;
  transition: transform .25s ease;
}

.btn:hover .btn__arrow {
  transform: translateX(3px);
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  padding: 140px 0 80px;
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

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

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 8px;
  background: var(--bg-glass);
  border: 1px solid var(--line-medium);
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 28px;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.hero__badge-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(245, 165, 36, 0.18);
  display: grid;
  place-items: center;
}

.hero__badge-dot::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--signal-amber);
  box-shadow: 0 0 12px var(--signal-amber);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.65; }
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(42px, 5.6vw, 80px);
  line-height: 0.96;
  letter-spacing: -0.038em;
  margin: 0 0 24px;
  color: var(--text-primary);
  text-shadow: 0 0 60px rgba(47, 128, 255, 0.12);
}

.hero__title-grad {
  background: linear-gradient(120deg,
    #ffffff 0%,
    #d8e2f4 25%,
    var(--accent-cyan) 55%,
    var(--accent-blue) 80%,
    var(--accent-violet) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.hero__lead {
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.55;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 0 36px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}

.hero__features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-size: 13.5px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  letter-spacing: 0.01em;
}

.hero__features span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero__features span::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 6px var(--accent-cyan);
}

/* ============================================================
   Hero — человек + панель продукта (по референсу)
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: var(--bg-void);
}

/* Full-bleed portrait: face high-left, fades into the void on the right (Apple Vision-style) */
.hero__photo {
  position: absolute;
  left: 0;
  top: 0;
  width: 48%;
  max-width: 1000px;
  height: 100%;
  object-fit: cover;
  object-position: 50% 13%;
  z-index: 0;
  -webkit-mask-image: linear-gradient(90deg, #000 50%, transparent 94%);
  mask-image: linear-gradient(90deg, #000 50%, transparent 94%);
  animation: photoIn 1.6s ease both;
}
@keyframes photoIn { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: scale(1); } }

/* Scrim: keep the FACE (upper-left) clear, darken the BOTTOM (headline safe-zone) and the RIGHT (panel) */
.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(0deg, var(--bg-void) 4%, rgba(5, 7, 13, 0.92) 26%, rgba(5, 7, 13, 0.42) 46%, transparent 64%),
    linear-gradient(90deg, rgba(5, 7, 13, 0) 28%, rgba(5, 7, 13, 0.5) 50%, rgba(5, 7, 13, 0.88) 66%, var(--bg-void) 82%),
    linear-gradient(180deg, rgba(5, 7, 13, 0.55) 0%, rgba(5, 7, 13, 0.08) 14%, transparent 26%);
}

.hero__glow {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(420px 420px at var(--mx, 30%) var(--my, 50%), rgba(47, 128, 255, 0.18), rgba(124, 58, 237, 0.1) 42%, transparent 72%);
  mix-blend-mode: screen;
}

/* Widen the hero shell for a full-bleed feel */
.hero .container {
  position: relative;
  z-index: 2;
  max-width: 1580px;
  padding-inline: clamp(22px, 4.5vw, 64px);
}

.hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 44px;
  align-items: center;
  min-height: 100vh;
  padding: 86px 0 44px;
}

/* Headline anchored low-left, sitting in the dark safe-zone — never on the face */
.hero__content { align-self: end; padding-bottom: 7vh; max-width: 560px; }

.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(32px, 3.8vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin: 0 0 16px;
  background-image:
    radial-gradient(circle 220px at var(--tx, 50%) var(--ty, 50%), rgba(255, 255, 255, 0.95) 0%, rgba(0, 216, 255, 0.55) 38%, rgba(0, 216, 255, 0) 64%),
    linear-gradient(100deg, #00d8ff 0%, #2f80ff 25%, #7c3aed 50%, #f4c775 75%, #00d8ff 100%);
  background-size: 100% 100%, 200% 100%;
  background-position: 0 0, 0 0;
  background-repeat: no-repeat, repeat;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: titleFlow 5.5s linear infinite;
}
@keyframes titleFlow { to { background-position: 0 0, -200% 0; } }

.hero__lead {
  font-size: clamp(14px, 1vw, 16px);
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 450px;
  margin: 0 0 22px;
}

.hero__cta { display: flex; gap: 13px; flex-wrap: wrap; }

.hero__fineprint {
  position: absolute;
  right: 0;
  bottom: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-faint);
  margin: 0;
}

/* ---- панель продукта ---- */
.hero__panel {
  align-self: center;
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 14px;
  border-radius: 24px;
  background: linear-gradient(165deg, rgba(13, 19, 36, 0.86), rgba(8, 13, 26, 0.8));
  border: 1px solid var(--line-medium);
  box-shadow: 0 50px 120px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(47, 128, 255, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  animation: panelIn 1s cubic-bezier(.2, .7, .2, 1) .4s backwards;
}
@keyframes panelIn { from { opacity: 0; transform: translateY(24px); } }

.hp-card {
  background: rgba(255, 255, 255, 0.022);
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  padding: 13px 16px;
}
.hp-card__h {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 11px;
}
.hp-ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; flex-shrink: 0; }
.hp-ic--blue { color: var(--accent-cyan); background: rgba(47, 128, 255, 0.13); border: 1px solid rgba(47, 128, 255, 0.25); }
.hp-ic--amber { color: var(--signal-amber); background: var(--accent-gold-soft); border: 1px solid rgba(245, 165, 36, 0.28); }
.hp-ic--violet { color: var(--accent-violet); background: rgba(124, 58, 237, 0.14); border: 1px solid rgba(124, 58, 237, 0.3); }
.hp-chip { margin-left: auto; font-size: 12px; padding: 4px 10px; border-radius: 8px; color: var(--text-secondary); background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-medium); }
.hp-chip--mono { font-family: var(--font-mono); font-size: 11px; }

.hp-context__body { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.hp-context__body p { margin: 0; font-size: 13px; color: var(--text-secondary); line-height: 1.5; max-width: 60%; }
.hp-stage { font-size: 12px; color: var(--text-muted); white-space: nowrap; }

.hp-row { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }

/* риски */
.hp-risks__body { display: flex; align-items: center; gap: 16px; }
.hp-ring { position: relative; width: 92px; height: 92px; flex-shrink: 0; }
.hp-ring svg { width: 92px; height: 92px; transform: rotate(-90deg); }
.hp-ring circle { fill: none; stroke-width: 9; }
.hp-ring__t { stroke: rgba(255, 255, 255, 0.07); }
.hp-ring__f { stroke: var(--signal-amber); stroke-linecap: round; transition: stroke-dashoffset 1.2s cubic-bezier(.2, .7, .2, 1); filter: drop-shadow(0 0 5px rgba(245, 165, 36, 0.5)); }
.hp-ring__v { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.hp-ring__v b { font-family: var(--font-display); font-size: 21px; font-weight: 600; letter-spacing: -0.02em; }
.hp-ring__v span { font-size: 9.5px; color: var(--text-muted); margin-top: 3px; }
.hp-risklist { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.hp-risklist li { display: flex; align-items: center; gap: 9px; font-size: 12px; color: var(--text-secondary); }
.hp-risklist .d { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.d--amber { background: var(--signal-amber); box-shadow: 0 0 6px rgba(245, 165, 36, 0.6); }
.d--orange { background: #f97316; box-shadow: 0 0 6px rgba(249, 115, 22, 0.6); }
.d--green { background: var(--signal-green); box-shadow: 0 0 6px rgba(16, 185, 129, 0.6); }

/* аргументы */
.hp-arg { margin-bottom: 14px; }
.hp-arg:last-child { margin-bottom: 0; }
.hp-arg__top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.hp-arg__top span { font-size: 12.5px; color: var(--text-secondary); }
.hp-arg__top b { font-family: var(--font-display); font-size: 17px; font-weight: 600; }
.hp-bar { height: 6px; border-radius: 4px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.hp-bar__f { display: block; height: 100%; width: 0; border-radius: 4px; transition: width 1.1s cubic-bezier(.2, .7, .2, 1); }
.hp-bar__f--strong { background: linear-gradient(90deg, var(--accent-cyan), var(--accent-blue)); box-shadow: 0 0 10px rgba(47, 128, 255, 0.5); }
.hp-bar__f--weak { background: linear-gradient(90deg, #f59e0b, #f97316); box-shadow: 0 0 10px rgba(245, 158, 11, 0.4); }

/* готовность */
.hp-ready__row { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.hp-ready__row > span { font-size: 12.5px; color: var(--text-secondary); white-space: nowrap; }
.hp-ready__row b { font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--signal-green); }
.hp-rbar { flex: 1; height: 7px; border-radius: 4px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.hp-rbar__f { display: block; height: 100%; width: 0; border-radius: 4px; background: linear-gradient(90deg, #10b981, #34d399); box-shadow: 0 0 10px rgba(16, 185, 129, 0.5); transition: width 1.2s cubic-bezier(.2, .7, .2, 1); }
.hp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hp-chk { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-secondary); padding: 5px 11px; border-radius: 8px; background: rgba(16, 185, 129, 0.08); border: 1px solid rgba(16, 185, 129, 0.2); }
.hp-chk::before { content: "✓"; color: var(--signal-green); font-size: 11px; }

/* похожие дела */
.hp-case { display: grid; grid-template-columns: 130px 1fr auto auto; align-items: center; gap: 14px; padding: 11px 0; border-top: 1px solid var(--line-soft); font-size: 12.5px; }
.hp-case:first-of-type { border-top: none; }
.hp-case__n { font-family: var(--font-mono); font-size: 12px; color: var(--text-primary); }
.hp-case__c { color: var(--text-muted); }
.hp-case__w { font-size: 11px; color: var(--signal-green); padding: 3px 9px; border-radius: 6px; background: rgba(16, 185, 129, 0.1); white-space: nowrap; }
.hp-case__r { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); white-space: nowrap; }

/* responsive */
@media (max-width: 1080px) {
  .hero { min-height: auto; }
  /* Photo becomes a top banner: face visible up top, fades to dark at the bottom */
  .hero__photo {
    width: 100%;
    max-width: none;
    height: min(56vh, 540px);
    object-position: 50% 16%;
    -webkit-mask-image: linear-gradient(180deg, #000 58%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 58%, transparent 100%);
  }
  .hero__veil {
    background: linear-gradient(180deg, rgba(5, 7, 13, 0.28) 0%, transparent 22%, transparent 40%, rgba(5, 7, 13, 0.72) 52%, var(--bg-void) 62%);
  }
  .hero__layout {
    grid-template-columns: 1fr;
    gap: 26px;
    min-height: auto;
    padding: 0 0 56px;
    align-items: start;
  }
  /* Text starts just below the face banner — never on the face */
  .hero__content {
    align-self: start;
    text-align: center;
    padding-bottom: 0;
    max-width: 640px;
    margin-inline: auto;
    margin-top: calc(min(56vh, 540px) - 40px);
  }
  .hero__cta { justify-content: center; }
  .hero__lead { margin-left: auto; margin-right: auto; }
  .hero__panel { max-width: 620px; width: 100%; margin: 0 auto; }
  .hero__fineprint { position: static; text-align: center; margin-top: 18px; }
}
@media (max-width: 600px) {
  .hp-row { grid-template-columns: 1fr; }
  .hp-context__body { flex-direction: column; gap: 8px; }
  .hp-context__body p { max-width: 100%; }
  .hp-case { grid-template-columns: 1fr auto; row-gap: 4px; }
  .hp-case__c { grid-column: 1 / -1; order: 3; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__photo, .hero__panel, .hero__title { animation: none !important; }
}

/* ============================================================
   Marquee of logos / signals
   ============================================================ */
.signals {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 22px 0;
  margin-top: 32px;
}

.signals__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.signals__label {
  color: var(--text-secondary);
}

.signals__items {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.signals__items li::before {
  content: "";
  width: 4px;
  height: 4px;
  background: var(--accent-cyan);
  border-radius: 50%;
}

/* ============================================================
   Problem layer (pain block)
   ============================================================ */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.problem-card {
  background: var(--bg-glass);
  border: 1px solid var(--line-medium);
  border-radius: var(--r-lg);
  padding: 28px;
  position: relative;
  overflow: hidden;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  transition: border-color .3s ease, transform .3s ease;
}

.problem-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.problem-card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  background: linear-gradient(135deg, var(--accent-blue-soft), var(--accent-violet-soft));
  border: 1px solid rgba(47, 128, 255, 0.25);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: var(--accent-cyan);
}

.problem-card__num {
  position: absolute;
  top: 22px;
  right: 24px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
}

.problem-card h3 {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.problem-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.55;
}

/* Problem — heading + cards (left) + full-height photo with chips (right), ref 02 */
.problem-layout {
  display: grid;
  grid-template-columns: 1.5fr 0.82fr;
  gap: 28px;
  align-items: stretch;
}
.problem-main { min-width: 0; display: flex; flex-direction: column; }
.problem-main .section__head { margin: 0 0 30px; max-width: none; }
.problem-main .problem-grid { margin-top: auto; }
.problem-layout .problem-grid {
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-content: start;
}
.problem-photo {
  position: relative;
  margin: 0;
  border: none;
  overflow: visible;
  min-height: 340px;
}
.problem-photo > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* fade ALL four edges into the dark — no visible seam */
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, #000 24%, #000 86%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 15%, #000 84%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0%, #000 24%, #000 86%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 15%, #000 84%, transparent 100%);
  mask-composite: intersect;
}
.problem-photo__chips { position: absolute; inset: 0; margin: 0; pointer-events: none; }
.pchip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-secondary);
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(8, 12, 22, 0.72);
  border: 1px solid var(--line-medium);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  white-space: nowrap;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  animation: pchipIn .6s ease backwards;
}
.pchip--1 { top: 52%; right: 24%; animation-delay: .25s; }
.pchip--2 { top: 64%; right: 8%; animation-delay: .5s; }
.pchip--3 { top: 77%; right: 17%; animation-delay: .75s; }
@keyframes pchipIn { from { opacity: 0; transform: translateY(8px); } }
.pchip__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-cyan); box-shadow: 0 0 8px var(--accent-cyan); flex-shrink: 0; }
.pchip__dot--amber { background: var(--signal-amber); box-shadow: 0 0 8px var(--signal-amber); }
.pchip__dot--red { background: #ff5b5d; box-shadow: 0 0 8px #ff5b5d; }

.problem-callout {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
  padding: 20px 24px;
  border-radius: var(--r-lg);
  background: linear-gradient(120deg, rgba(47, 128, 255, 0.10), rgba(124, 58, 237, 0.06));
  border: 1px solid rgba(47, 128, 255, 0.22);
}
.problem-callout__mark {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-violet));
  box-shadow: 0 0 18px rgba(0, 216, 255, 0.4);
}
.problem-callout p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--text-secondary); }
.problem-callout strong { color: var(--text-primary); font-weight: 600; }

@media (max-width: 900px) {
  .problem-layout { grid-template-columns: 1fr; }
  .problem-photo { min-height: 300px; order: -1; }
}
@media (max-width: 560px) {
  .problem-layout .problem-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Layers (modules)
   ============================================================ */
.layers {
  position: relative;
  margin-top: 32px;
}

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

.layer-card {
  position: relative;
  background: linear-gradient(160deg, var(--bg-panel), var(--bg-deep) 80%);
  border: 1px solid var(--line-medium);
  border-radius: var(--r-lg);
  padding: 32px;
  overflow: hidden;
  transition: border-color .3s ease, transform .3s ease;
}

.layer-card:hover {
  border-color: rgba(47, 128, 255, 0.4);
  transform: translateY(-3px);
}

.layer-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 280px at var(--mx, 50%) var(--my, 0%), rgba(47, 128, 255, 0.18), transparent 60%);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}

.layer-card:hover::before {
  opacity: 1;
}

.layer-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.layer-card__tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--accent-cyan);
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(0, 216, 255, 0.25);
  background: rgba(0, 216, 255, 0.05);
}

.layer-card__num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
}

.layer-card h3 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.layer-card p {
  margin: 0 0 24px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.55;
}

.layer-card__viz {
  position: relative;
  margin-top: 20px;
}

/* Visualization snippets inside layer cards */
.viz-graph {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.viz-node {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-sm);
  padding: 8px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 3px;
  position: relative;
}

.viz-node strong {
  color: var(--text-primary);
  font-weight: 500;
  font-family: var(--font-body);
  font-size: 12.5px;
}

.viz-node--blue {
  background: rgba(47, 128, 255, 0.08);
  border-color: rgba(47, 128, 255, 0.3);
}

.viz-node--cyan {
  background: rgba(0, 216, 255, 0.06);
  border-color: rgba(0, 216, 255, 0.25);
}

.viz-node--violet {
  background: rgba(124, 58, 237, 0.08);
  border-color: rgba(124, 58, 237, 0.3);
}

.viz-node--amber {
  background: rgba(245, 165, 36, 0.06);
  border-color: rgba(245, 165, 36, 0.3);
}

.viz-evidence {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.evidence-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-sm);
  font-size: 13px;
}

.evidence-row__name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-primary);
}

.evidence-row__status {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--r-pill);
}

.evidence-row__status--ok {
  background: rgba(16, 185, 129, 0.12);
  color: var(--signal-green);
}

.evidence-row__status--gap {
  background: rgba(245, 165, 36, 0.12);
  color: var(--signal-amber);
}

.evidence-row__status--risk {
  background: rgba(255, 77, 79, 0.12);
  color: var(--signal-red);
}

/* Practice/argument cards */
.practice-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12.5px;
  margin-bottom: 8px;
}

.practice-card__code {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--accent-cyan);
  letter-spacing: 0.06em;
}

.practice-card p {
  margin: 0 !important;
  color: var(--text-primary) !important;
  font-size: 12.5px !important;
}

.practice-card__match {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-muted);
}

.match-bar {
  flex: 1;
  height: 3px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  overflow: hidden;
}

.match-bar__fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-blue));
  border-radius: 2px;
}

/* ============================================================
   Workflow
   ============================================================ */
.workflow {
  position: relative;
}

.workflow__track {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  position: relative;
}

.workflow__track::before {
  content: "";
  position: absolute;
  top: 48px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(47, 128, 255, 0.4) 20%,
    rgba(0, 216, 255, 0.5) 50%,
    rgba(124, 58, 237, 0.4) 80%,
    transparent
  );
  z-index: 0;
}

.workflow-step {
  position: relative;
  text-align: center;
  background: var(--bg-glass);
  border: 1px solid var(--line-medium);
  border-radius: var(--r-lg);
  padding: 22px 18px;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  transition: transform .25s ease, border-color .25s ease;
}

.workflow-step:hover {
  transform: translateY(-3px);
  border-color: rgba(47, 128, 255, 0.4);
}

.workflow-step__num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-void);
  border: 1px solid var(--line-medium);
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent-cyan);
  position: relative;
  z-index: 1;
}

.workflow-step__num::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(0, 216, 255, 0.25);
  animation: ring 3s ease-out infinite;
  opacity: 0;
}

.workflow-step:hover .workflow-step__num::after {
  animation-play-state: running;
}

@keyframes ring {
  0% { transform: scale(1); opacity: 0; }
  20% { opacity: 0.7; }
  100% { transform: scale(1.5); opacity: 0; }
}

.workflow-step h3 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.workflow-step p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 12.5px;
  line-height: 1.5;
}

/* ============================================================
   How it works — 3 visual steps
   ============================================================ */
.how { display: flex; flex-direction: column; gap: 20px; }
.how-step {
  display: grid;
  grid-template-columns: 1fr 1.04fr;
  gap: 40px;
  align-items: center;
  padding: clamp(22px, 3vw, 38px);
  border: 1px solid var(--line-soft);
  border-radius: 24px;
  background: linear-gradient(165deg, rgba(13, 19, 36, 0.5), rgba(8, 13, 26, 0.34));
}
.how-step:nth-child(even) .how-step__txt { order: 2; }
.how-step__num {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-cyan);
}
.how-step__txt h3 {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 27px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 11px 0 12px;
}
.how-step__txt p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.62;
  max-width: 430px;
  margin: 0;
}
.how-panel {
  padding: 14px;
  border-radius: 18px;
  background: linear-gradient(165deg, rgba(13, 19, 36, 0.86), rgba(8, 13, 26, 0.8));
  border: 1px solid var(--line-medium);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.how-meta { display: flex; gap: 20px; flex-wrap: wrap; padding: 2px 6px 4px; }
.how-meta span { font-size: 12.5px; color: var(--text-muted); }
.how-meta b { font-family: var(--font-display); color: var(--text-primary); font-weight: 600; margin-right: 5px; }
.how-docs { display: flex; flex-direction: column; gap: 8px; }
.how-doc {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-secondary);
  padding: 10px 13px;
  border: 1px solid var(--line-soft);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.02);
}
.how-doc__ic { color: var(--accent-cyan); display: inline-flex; flex-shrink: 0; }
.how-doc__st {
  margin-left: auto;
  font-size: 11px;
  color: var(--signal-green);
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(16, 185, 129, 0.1);
  white-space: nowrap;
}
.how-doc__st--draft { color: var(--signal-amber); background: rgba(245, 165, 36, 0.1); }

@media (max-width: 860px) {
  .how-step { grid-template-columns: 1fr; gap: 22px; }
  .how-step:nth-child(even) .how-step__txt { order: 0; }
  .how-step__txt p { max-width: none; }
}

/* ============================================================
   Comparison table
   ============================================================ */
.compare {
  background: linear-gradient(180deg, var(--bg-panel), var(--bg-deep));
  border: 1px solid var(--line-medium);
  border-radius: var(--r-xl);
  overflow: hidden;
}

.compare__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}

.compare__table th {
  padding: 22px 24px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(0, 0, 0, 0.2);
  vertical-align: middle;
}

.compare__table th.compare__hero {
  color: var(--accent-cyan);
  background: rgba(0, 216, 255, 0.05);
}

.compare__table th small {
  display: block;
  margin-top: 5px;
  font-size: 9.5px;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--text-faint);
}

.compare__note {
  margin: 22px 0 0;
  text-align: center;
  font-size: clamp(15px, 1.6vw, 19px);
  color: var(--text-secondary);
}
.compare__note b { color: var(--text-primary); font-weight: 600; }

.compare__table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--text-secondary);
  vertical-align: top;
}

.compare__table tr:last-child td {
  border-bottom: none;
}

.compare__table td:first-child {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  width: 200px;
}

.compare__table td.compare__hero {
  background: rgba(0, 216, 255, 0.04);
  color: var(--text-primary);
  font-weight: 500;
}

.compare__table td.compare__hero::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
  vertical-align: middle;
}

/* ============================================================
   Use cases
   ============================================================ */
.usecases {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.usecase {
  background: var(--bg-glass);
  border: 1px solid var(--line-medium);
  border-radius: var(--r-lg);
  padding: 26px;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease;
}

.usecase:hover {
  transform: translateY(-3px);
  border-color: rgba(47, 128, 255, 0.4);
}

.usecase__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

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

.usecase h3 {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.usecase p {
  margin: 0 0 18px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.55;
}

.usecase__output {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.usecase__output span {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: rgba(47, 128, 255, 0.08);
  border: 1px solid rgba(47, 128, 255, 0.2);
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

/* ============================================================
   Audiences
   ============================================================ */
.audiences {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.audience {
  background: linear-gradient(160deg, var(--bg-panel), var(--bg-deep));
  border: 1px solid var(--line-medium);
  border-radius: var(--r-lg);
  padding: 22px;
  display: flex;
  gap: 20px;
  align-items: stretch;
  position: relative;
  overflow: hidden;
}

.audience::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(47, 128, 255, 0.08), transparent 65%);
  pointer-events: none;
}

.audience__photo {
  flex-shrink: 0;
  width: 108px;
  align-self: stretch;
  min-height: 140px;
  border-radius: 14px;
  object-fit: cover;
  object-position: 50% 26%;
  border: 1px solid var(--line-medium);
}
@media (max-width: 460px) {
  .audience__photo { width: 84px; min-height: 116px; }
}

.audience__content {
  flex: 1;
}

.audience h3 {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.audience p {
  margin: 0 0 14px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

.audience__benefits {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: 12.5px;
  color: var(--text-muted);
}

.audience__benefits li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.audience__benefits li::before {
  content: "+";
  color: var(--accent-cyan);
  font-family: var(--font-mono);
}

/* Audiences — vertical photo cards (ref 07) */
.auds {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.aud {
  background: linear-gradient(165deg, var(--bg-panel), var(--bg-deep));
  border: 1px solid var(--line-medium);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.aud:hover {
  transform: translateY(-4px);
  border-color: rgba(47, 128, 255, 0.38);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}
.aud__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.aud__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 12%;
  display: block;
}
.aud__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 38%, rgba(8, 12, 22, 0.92) 100%);
  pointer-events: none;
}
.aud__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: var(--accent-cyan);
  background: rgba(8, 12, 22, 0.5);
  border: 1px solid rgba(0, 216, 255, 0.32);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.aud__body { padding: 18px 20px 22px; }
.aud__body h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 9px;
  color: var(--text-primary);
}
.aud__body p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 0;
}
@media (max-width: 920px) { .auds { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .auds { grid-template-columns: 1fr; } .aud__media { aspect-ratio: 16 / 11; } }

/* ============================================================
   Traceability block
   ============================================================ */
.trace {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.trace__panel {
  background: linear-gradient(160deg, var(--bg-panel), var(--bg-deep));
  border: 1px solid var(--line-medium);
  border-radius: var(--r-xl);
  padding: 28px;
  position: relative;
}

.trace__arg {
  background: rgba(47, 128, 255, 0.08);
  border: 1px solid rgba(47, 128, 255, 0.3);
  border-radius: var(--r-md);
  padding: 18px;
  margin-bottom: 22px;
  position: relative;
}

.trace__arg-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 8px;
  display: block;
}

.trace__arg-text {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.45;
}

.trace__sources-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.trace__sources-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line-soft);
}

.trace__sources {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.source {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-sm);
  transition: border-color .2s ease, transform .2s ease;
}

.source:hover {
  border-color: rgba(0, 216, 255, 0.35);
  transform: translateX(3px);
}

.source__icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(0, 216, 255, 0.12);
  display: grid;
  place-items: center;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.source__body {
  flex: 1;
  min-width: 0;
}

.source__name {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-primary);
}

.source__loc {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-top: 2px;
}

.source__open {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 216, 255, 0.3);
  padding: 4px 10px;
  border-radius: var(--r-pill);
}

/* ============================================================
   Security block
   ============================================================ */
.security {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.security-card {
  background: var(--bg-glass);
  border: 1px solid var(--line-medium);
  border-radius: var(--r-lg);
  padding: 26px;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  position: relative;
}

.security-card__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  background: rgba(0, 216, 255, 0.1);
  border: 1px solid rgba(0, 216, 255, 0.25);
  display: grid;
  place-items: center;
  color: var(--accent-cyan);
  margin-bottom: 18px;
}

.security-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.security-card p {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  max-width: 880px;
  margin: 0 auto;
}

.faq__item {
  border-bottom: 1px solid var(--line-soft);
  padding: 0;
}

.faq__item:first-child {
  border-top: 1px solid var(--line-soft);
}

.faq__btn {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  color: var(--text-primary);
  padding: 26px 8px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  letter-spacing: -0.01em;
}

.faq__btn-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line-medium);
  display: grid;
  place-items: center;
  color: var(--text-secondary);
  flex-shrink: 0;
  transition: transform .3s ease, background .3s ease, color .3s ease;
}

.faq__item[open] .faq__btn-icon {
  background: var(--accent-cyan);
  color: var(--bg-void);
  transform: rotate(45deg);
}

.faq__answer {
  padding: 0 8px 28px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.65;
  max-width: 720px;
}

/* ============================================================
   Final CTA
   ============================================================ */
.final-cta {
  background:
    radial-gradient(circle 600px at 30% 50%, rgba(47, 128, 255, 0.25), transparent 60%),
    radial-gradient(circle 500px at 80% 30%, rgba(124, 58, 237, 0.18), transparent 65%),
    linear-gradient(160deg, var(--bg-panel), var(--bg-deep));
  border: 1px solid var(--line-medium);
  border-radius: var(--r-xl);
  padding: clamp(48px, 7vw, 88px) clamp(28px, 5vw, 80px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 216, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 216, 255, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black, transparent 70%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black, transparent 70%);
  pointer-events: none;
}

.final-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 600;
  letter-spacing: -0.025em;
  margin: 0 0 18px;
  position: relative;
  line-height: 1.05;
}

.final-cta p {
  margin: 0 auto 36px;
  max-width: 580px;
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.5;
  position: relative;
}

.final-cta__buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

.final-cta__note {
  margin-top: 28px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  position: relative;
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  border-top: 1px solid var(--line-soft);
  padding: 56px 0 36px;
  background: rgba(5, 7, 13, 0.4);
  margin-top: 80px;
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line-soft);
}

.footer__brand p {
  margin: 14px 0 0;
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.55;
  max-width: 320px;
}

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

.footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}

.footer__col a {
  color: var(--text-secondary);
  transition: color .2s ease;
}

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

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  flex-wrap: wrap;
  gap: 12px;
}

/* ============================================================
   Early Access form
   ============================================================ */
.access-shell {
  padding: 140px 0 80px;
}

.access-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: flex-start;
}

.access-form {
  background: linear-gradient(160deg, var(--bg-panel), var(--bg-deep));
  border: 1px solid var(--line-medium);
  border-radius: var(--r-xl);
  padding: 36px;
  position: sticky;
  top: 110px;
}

.access-form__progress {
  display: flex;
  gap: 6px;
  margin-bottom: 24px;
}

.progress-dot {
  flex: 1;
  height: 4px;
  border-radius: 4px;
  background: var(--line-soft);
  transition: background .3s ease;
}

.progress-dot.is-active {
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-blue));
}

.progress-dot.is-done {
  background: var(--accent-blue);
}

.access-step {
  display: none;
  flex-direction: column;
  gap: 16px;
}

.access-step.is-active {
  display: flex;
  animation: fadeIn .3s ease;
}

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

.access-step__eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-cyan);
}

.access-step__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.access-step__hint {
  margin: -8px 0 6px;
  color: var(--text-muted);
  font-size: 13px;
}

.option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border: 1px solid var(--line-medium);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.02);
  font-size: 14.5px;
  color: var(--text-primary);
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
  position: relative;
}

.option:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
}

.option input {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  border: 1px solid var(--line-strong);
  background: var(--bg-void);
  display: grid;
  place-items: center;
  margin: 0;
  flex-shrink: 0;
  transition: border-color .2s ease, background .2s ease;
}

.option input[type="radio"] {
  border-radius: 50%;
}

.option input:checked {
  background: var(--accent-cyan);
  border-color: var(--accent-cyan);
  box-shadow: var(--glow-cyan);
}

.option input:checked::after {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--bg-void);
  border-radius: 2px;
}

.option input[type="radio"]:checked::after {
  border-radius: 50%;
}

.option:has(input:checked) {
  border-color: var(--accent-cyan);
  background: rgba(0, 216, 255, 0.05);
}

.option__hint {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.field input,
.field textarea {
  width: 100%;
  background: rgba(5, 7, 13, 0.6);
  border: 1px solid var(--line-medium);
  border-radius: var(--r-md);
  padding: 13px 16px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color .2s ease, background .2s ease;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent-cyan);
  background: rgba(5, 7, 13, 0.8);
  box-shadow: 0 0 0 4px rgba(0, 216, 255, 0.08);
}

.field textarea {
  min-height: 100px;
}

.field--row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-top: 20px;
  padding: 13px 15px;
  border: 1px solid var(--line-medium);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: border-color .25s ease, background .25s ease;
}
.consent:hover { border-color: rgba(255, 255, 255, 0.2); }
.consent input {
  appearance: none;
  -webkit-appearance: none;
  flex-shrink: 0;
  width: 19px;
  height: 19px;
  margin: 1px 0 0;
  border: 1.5px solid rgba(255, 255, 255, 0.32);
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  position: relative;
  transition: background .2s ease, border-color .2s ease;
}
.consent input:checked {
  background: var(--accent-blue, #2f80ff);
  border-color: var(--accent-blue, #2f80ff);
}
.consent input:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.consent span {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-secondary);
}
.consent a {
  color: var(--accent-cyan, #00d8ff);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.consent.is-error {
  border-color: var(--signal-red);
  background: rgba(255, 77, 79, 0.07);
  animation: consentShake .4s ease;
}
@keyframes consentShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

.access-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  justify-content: space-between;
}

/* ---- legal / policy prose ---- */
.legal { max-width: 800px; margin: 0 auto; }
.legal h2 {
  font-family: var(--font-display);
  font-size: clamp(19px, 2.3vw, 25px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 38px 0 13px;
  color: var(--text-primary);
}
.legal h2:first-of-type { margin-top: 0; }
.legal p, .legal li { font-size: 15px; line-height: 1.7; color: var(--text-secondary); }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 16px; padding-left: 22px; }
.legal li { margin-bottom: 7px; }
.legal a { color: var(--accent-cyan, #00d8ff); text-decoration: underline; text-underline-offset: 2px; }
.legal strong { color: var(--text-primary); font-weight: 600; }
.legal__meta { font-family: var(--font-mono); font-size: 12.5px; color: var(--text-muted); margin: 0 0 30px; }
.legal mark {
  background: rgba(245, 165, 36, 0.16);
  color: var(--signal-amber, #f5a524);
  padding: 1px 5px;
  border-radius: 4px;
}

.access-side {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.access-side__card {
  background: var(--bg-glass);
  border: 1px solid var(--line-medium);
  border-radius: var(--r-lg);
  padding: 26px;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.access-side__card h3 {
  margin: 0 0 14px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.access-side__card h3 span {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(0, 216, 255, 0.12);
  border: 1px solid rgba(0, 216, 255, 0.3);
  display: grid;
  place-items: center;
  color: var(--accent-cyan);
}

.access-side__card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.access-side__card li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.access-side__card li::before {
  content: "→";
  font-family: var(--font-mono);
  color: var(--accent-cyan);
  flex-shrink: 0;
  margin-top: 2px;
}

.access-success {
  display: none;
  text-align: center;
  padding: 30px 10px;
}

.access-success.is-active { display: block; animation: fadeIn .4s ease; }

.access-success__mark {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 18px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  display: grid;
  place-items: center;
  color: var(--bg-void);
  box-shadow: 0 12px 36px rgba(47, 128, 255, 0.5);
}

.access-success h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.access-success p {
  margin: 0 auto;
  max-width: 360px;
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.55;
}

/* ============================================================
   Hero animations
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: heroIn .8s cubic-bezier(.2,.7,.2,1) forwards;
}

.fade-in--d1 { animation-delay: .05s; }
.fade-in--d2 { animation-delay: .18s; }
.fade-in--d3 { animation-delay: .3s; }
.fade-in--d4 { animation-delay: .42s; }
.fade-in--d5 { animation-delay: .55s; }

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

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .casemap { max-width: 560px; margin-inline: auto; }
  .problem-grid, .usecases, .security {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .layers__grid, .trace, .access-grid, .audiences {
    grid-template-columns: 1fr;
  }
  .workflow__track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .workflow__track::before { display: none; }
  .access-form { position: relative; top: 0; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

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

  .nav { width: calc(100% - 24px); top: 12px; padding: 10px 12px 10px 18px; }
  .nav__links { display: none; }
  .nav__burger { display: inline-flex; }
  .nav__cta { display: none; }

  .hero { padding: 0; min-height: auto; }
  .hero__title { font-size: clamp(32px, 8.4vw, 46px); }
  .hero__photo { height: min(52vh, 460px); }
  .hero__content { margin-top: calc(min(52vh, 460px) - 36px); }

  .problem-grid, .usecases, .security, .workflow__track, .footer__top {
    grid-template-columns: 1fr;
  }

  .compare__table th, .compare__table td {
    padding: 14px 16px;
    font-size: 13px;
  }

  .compare__table td:first-child {
    width: auto;
  }

  .access-form { padding: 24px; }
  .field--row { grid-template-columns: 1fr; }
}

/* Focus visibility */
:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--accent-blue);
  color: #fff;
}

/* ============================================================
   Investors section
   ============================================================ */
.inv {
  border-top: 1px solid var(--line-soft);
  background:
    radial-gradient(900px 500px at 85% 0%, rgba(124, 58, 237, 0.07), transparent 60%),
    radial-gradient(800px 500px at 10% 100%, rgba(47, 128, 255, 0.06), transparent 60%);
}
.inv-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 18px;
}
.inv-stat {
  padding: 24px;
  border-radius: 18px;
  background: var(--bg-glass);
  border: 1px solid var(--line-medium);
}
.inv-stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.inv-stat--accent b { color: var(--accent-gold-bright); }
.inv-stat span { font-size: 13px; line-height: 1.5; color: var(--text-secondary); }

.inv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 18px; }
.inv-card {
  padding: 26px;
  border-radius: 20px;
  background: var(--bg-glass);
  border: 1px solid var(--line-medium);
}
.inv-card h3 { font-family: var(--font-display); font-size: 19px; font-weight: 600; margin: 0 0 16px; }
.inv-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
.inv-list li { font-size: 14px; line-height: 1.5; color: var(--text-secondary); padding-left: 18px; position: relative; }
.inv-list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 2px; transform: rotate(45deg); background: var(--accent-cyan); }
.inv-list b { color: var(--text-primary); font-weight: 600; }
.inv-econ { font-size: 14px; color: var(--text-secondary); margin: 0 0 14px; }
.inv-econ b { color: var(--accent-gold-bright); }

.inv-geo { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.inv-geo div { display: flex; flex-direction: column; gap: 3px; }
.inv-geo span { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.inv-geo b { font-size: 14px; color: var(--text-primary); }

.inv-block { margin-bottom: 18px; padding: 26px; border-radius: 20px; background: var(--bg-glass); border: 1px solid var(--line-medium); }
.inv-h { font-family: var(--font-display); font-size: 19px; font-weight: 600; margin: 0 0 20px; }

.inv-levels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.inv-level { padding: 18px; border-radius: 14px; background: rgba(255, 255, 255, 0.025); border: 1px solid var(--line-soft); position: relative; }
.inv-level b { font-family: var(--font-mono); font-size: 12px; color: var(--accent-cyan); }
.inv-level strong { display: block; font-size: 15px; font-weight: 600; margin: 8px 0 6px; }
.inv-level span { font-size: 12.5px; line-height: 1.45; color: var(--text-muted); }

.inv-phases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.inv-phase { padding: 18px; border-radius: 14px; background: rgba(255, 255, 255, 0.025); border: 1px solid var(--line-soft); }
.inv-phase span { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-gold-bright); }
.inv-phase strong { display: block; font-size: 15px; font-weight: 600; margin: 7px 0 7px; }
.inv-phase p { font-size: 12.5px; line-height: 1.45; color: var(--text-muted); margin: 0; }

.inv-scen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.inv-s { padding: 22px; border-radius: 16px; background: rgba(255, 255, 255, 0.025); border: 1px solid var(--line-soft); text-align: center; }
.inv-s--mid { background: linear-gradient(160deg, rgba(47, 128, 255, 0.12), rgba(124, 58, 237, 0.08)); border-color: rgba(47, 128, 255, 0.3); }
.inv-s span { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.inv-s b { display: block; font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 30px); font-weight: 600; letter-spacing: -0.02em; margin: 8px 0 6px; }
.inv-s p { font-size: 12px; color: var(--text-secondary); margin: 0; }

.inv-check, .inv-risk { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
.inv-check li, .inv-risk li { font-size: 13.5px; line-height: 1.5; color: var(--text-secondary); padding-left: 24px; position: relative; }
.inv-check li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--signal-green); font-size: 13px; }
.inv-risk li::before { content: "→"; position: absolute; left: 0; top: 0; color: var(--signal-amber); font-family: var(--font-mono); }
.inv-risk b { color: var(--text-primary); font-weight: 600; }

.inv-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  margin-top: 6px; padding: 30px 32px; border-radius: 22px;
  background: linear-gradient(120deg, rgba(47, 128, 255, 0.14), rgba(124, 58, 237, 0.1));
  border: 1px solid rgba(47, 128, 255, 0.28);
}
.inv-cta h3 { font-family: var(--font-display); font-size: 22px; font-weight: 600; margin: 0 0 8px; }
.inv-cta p { font-size: 14px; color: var(--text-secondary); margin: 0; max-width: 520px; }
.inv-cta .btn { flex-shrink: 0; }

@media (max-width: 980px) {
  .inv-stats { grid-template-columns: 1fr 1fr; }
  .inv-grid { grid-template-columns: 1fr; }
  .inv-levels, .inv-phases { grid-template-columns: 1fr 1fr; }
  .inv-scen { grid-template-columns: 1fr; }
  .inv-cta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .inv-stats, .inv-levels, .inv-phases, .inv-geo { grid-template-columns: 1fr; }
}

/* ---------- language switch ---------- */
.nav__lang {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  padding: 7px 11px;
  border-radius: 9px;
  border: 1px solid var(--line-medium);
  transition: border-color .18s ease, color .18s ease, background .18s ease;
}
.nav__lang:hover { color: var(--text-primary); border-color: var(--line-strong); background: rgba(255, 255, 255, 0.05); }
@media (max-width: 760px) { .nav__lang { display: none; } }
