:root {
  color-scheme: dark;
  --bg: #050605;
  --surface: #0c0d0c;
  --surface-2: #121412;
  --surface-3: #1a1c1a;
  --line: #ffffff16;
  --line-strong: #ffffff2b;
  --text: #f6f8fb;
  --muted: #afb4af;
  --soft: #777d77;
  --accent: #d7fb4a;
  --accent-ink: #111409;
  --cyan: #34d3e8;
  --green: #3ddc97;
  --amber: #ffbf4d;
  --red: #ff6471;
  --blue: #7fb7ff;
  --shadow: 0 28px 80px #0000009c, inset 0 1px 0 #ffffff10, inset 0 -1px 0 #000000cc;
  --shadow-soft: 0 16px 36px #00000070, inset 0 1px 0 #ffffff0f, inset 0 -1px 0 #000000bd;
  --radius: 14px;
  --radius-lg: 26px;
  --pill: 999px;
  --font: "Golos Text", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-display: "Onest", "Golos Text", ui-sans-serif, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--bg);
}

section[id] {
  scroll-margin-top: 92px;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    linear-gradient(90deg, #ffffff03 1px, transparent 1px),
    linear-gradient(#ffffff03 1px, transparent 1px),
    linear-gradient(180deg, #050605 0%, #090a09 46%, #040504 100%);
  background-size: 64px 64px;
  color: var(--text);
  font-family: var(--font);
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::selection {
  background: #d7fb4a;
  color: #111409;
}

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

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

h1,
h2,
h3,
h4,
p,
figure {
  margin: 0;
}

h1,
h2,
.result-grid strong {
  font-family: var(--font-display);
}

svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  min-height: 76px;
  border-bottom: 1px solid var(--line);
  background: #050605ed;
  padding: 10px 28px;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.brand,
.quick-links,
.top-nav,
.hero-actions,
.module-link,
.primary-action,
.secondary-action {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  min-width: 0;
}

.brand-mark,
.module-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  flex: 0 0 auto;
}

.brand strong {
  display: block;
  font-size: 17px;
  line-height: 1.1;
}

.brand small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
}

.top-nav {
  justify-content: center;
  gap: 6px;
}

.top-nav a,
.quick-links a {
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 760;
  line-height: 1;
}

.top-nav a {
  display: inline-grid;
  place-items: center;
  padding: 0 14px;
}

.top-nav a:hover,
.top-nav a:focus-visible,
.quick-links a:hover,
.quick-links a:focus-visible {
  border-color: var(--line-strong);
  background: #ffffff09;
  color: var(--text);
  outline: none;
}

.quick-links {
  justify-content: flex-end;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: linear-gradient(180deg, #141614, #090a09);
  padding: 4px;
  box-shadow: inset 0 1px 0 #ffffff12, 0 10px 28px #00000066;
}

.quick-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 36px;
  border-radius: 12px;
  padding: 0 12px;
}

.quick-links a.is-current {
  background: linear-gradient(180deg, #d7fb4a1c, #d7fb4a0d);
  color: var(--accent);
  border-color: #d7fb4a30;
  box-shadow: inset 0 1px 0 #d7fb4a24, 0 5px 14px #00000058;
}

.quick-links a:nth-child(2).is-current {
  border-color: #34d3e83d;
  background: #34d3e812;
  color: var(--cyan);
  box-shadow: inset 0 1px 0 #34d3e820, 0 5px 14px #00000058;
}

.quick-links a:nth-child(3).is-current {
  border-color: #ffbf4d3d;
  background: #ffbf4d12;
  color: var(--amber);
  box-shadow: inset 0 1px 0 #ffbf4d20, 0 5px 14px #00000058;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 620px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, #050605fa 0%, #050605e8 37%, #0506059c 70%, #050605f3 100%),
    linear-gradient(0deg, #050605 0%, transparent 38%, #050605 100%),
    url("./assets/pnl-desktop.png") right 54% / 980px auto no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 40%;
  background: linear-gradient(180deg, transparent, #050605);
}

.hero-inner {
  position: relative;
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: 96px 0 48px;
}

.eyebrow {
  color: var(--accent);
  font-size: 13px;
  font-weight: 840;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  margin-right: 9px;
  border: 1px solid #d7fb4a42;
  border-radius: 8px;
  background: #d7fb4a0c;
  padding: 0 10px;
  box-shadow: inset 0 1px 0 #d7fb4a18;
}

.hero h1 {
  margin-top: 18px;
  max-width: 760px;
  font-size: 62px;
  line-height: 1;
  font-weight: 750;
  text-shadow: 0 2px 0 #000, 0 18px 48px #0000008a;
}

.hero-lead {
  max-width: 680px;
  margin-top: 22px;
  color: #dfe5ec;
  font-size: 21px;
  line-height: 1.48;
  font-weight: 500;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.primary-action,
.secondary-action,
.module-link {
  gap: 9px;
  min-height: 46px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 820;
}

.primary-action {
  background: var(--accent);
  color: var(--accent-ink);
  padding: 0 18px;
  box-shadow: 0 12px 28px #00000070, inset 0 1px 0 #ffffff75, inset 0 -2px 0 #89a80070;
}

.secondary-action {
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, #1a1c1ae8, #0c0d0ce8);
  color: var(--text);
  padding: 0 18px;
}

.primary-action:hover,
.primary-action:focus-visible {
  box-shadow: 0 0 0 4px #d7fb4a26;
  outline: none;
}

.secondary-action:hover,
.secondary-action:focus-visible {
  background: #ffffff10;
  outline: none;
}

.hero-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: min(520px, 100%);
  margin-top: 52px;
}

.hero-live {
  position: absolute;
  top: 88px;
  right: 0;
  display: grid;
  gap: 8px;
  width: 360px;
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  background: linear-gradient(145deg, #181a18f5 0%, #0d0f0df5 54%, #080908f7 100%);
  padding: 14px;
  box-shadow: 0 34px 90px #000000b5, 0 10px 28px #00000085, inset 0 1px 0 #ffffff1a, inset 0 -1px 0 #000;
  transform: perspective(1200px) rotateY(-3deg) rotateX(1deg);
  transform-origin: right center;
  transition: transform 420ms ease, box-shadow 420ms ease;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.hero-live:hover {
  box-shadow: 0 38px 100px #000000c7, 0 12px 30px #00000090, inset 0 1px 0 #ffffff20, inset 0 -1px 0 #000;
  transform: perspective(1200px) rotateY(0) rotateX(0) translateY(-2px);
}

.hero-live-head,
.hero-event {
  display: flex;
  align-items: center;
}

.hero-live-head {
  justify-content: space-between;
  gap: 16px;
  padding: 2px 2px 8px;
}

.hero-live-head span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-live-head span svg {
  width: 14px;
  color: var(--accent);
}

.hero-live-head strong {
  color: var(--accent);
  font-size: 12px;
}

.hero-event {
  gap: 11px;
  min-height: 72px;
  border: 1px solid transparent;
  border-radius: 17px;
  background: linear-gradient(145deg, #1b1d1b, #0d0f0d);
  padding: 10px;
  opacity: 0.52;
  transform: translateX(0);
  transition: opacity 260ms ease, transform 260ms ease, border-color 260ms ease, background 260ms ease;
}

.hero-event.is-active {
  border-color: #d7fb4a42;
  background: #d7fb4a0d;
  opacity: 1;
  transform: translateX(-6px);
}

.hero-event > svg {
  width: 16px;
  margin-left: auto;
  color: var(--soft);
}

.event-source {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  flex: 0 0 auto;
  color: #07080a;
  font-size: 11px;
  font-weight: 900;
}

.source-pnl { background: var(--accent); }
.source-cap { background: var(--cyan); }
.source-bidder { background: var(--amber); }

.hero-event p {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.hero-event b {
  font-size: 14px;
}

.hero-event small {
  color: var(--muted);
  font-size: 12px;
}

.hero-strip div {
  position: relative;
  display: grid;
  aspect-ratio: 1;
  place-content: center;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: linear-gradient(145deg, #171917e8, #0b0c0be8);
  padding: 20px;
  text-align: center;
  box-shadow: 0 20px 46px #00000078, inset 0 1px 0 #ffffff18, inset 0 -8px 18px #0000008a;
}

.hero-strip div::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid #ffffff0d;
  border-radius: inherit;
  pointer-events: none;
}

.hero-strip div:nth-child(1) {
  border-color: #d7fb4a42;
}

.hero-strip div:nth-child(2) {
  border-color: #34d3e83d;
  transform: translateY(18px);
}

.hero-strip div:nth-child(3) {
  border-color: #ffbf4d3d;
}

.buying-tape {
  width: min(760px, 100%);
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: #090a09e8;
  overflow: hidden;
  box-shadow: inset 0 1px 0 #ffffff0d, 0 12px 28px #00000068;
}

.buying-tape-track {
  display: flex;
  width: max-content;
  align-items: center;
  animation: ticker-move 22s linear infinite;
}

.buying-tape span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 6px;
  border-right: 1px solid var(--line);
  color: var(--soft);
  padding: 0 15px;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.buying-tape b {
  color: var(--accent);
}

.hero-strip span,
.phase {
  display: block;
  color: var(--soft);
  font-size: 12px;
  font-weight: 820;
  text-transform: uppercase;
}

.hero-strip strong {
  display: block;
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.3;
}

.section {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: 82px 0;
}

.intro-band {
  padding-top: 54px;
  padding-bottom: 64px;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 42px;
  margin-top: 16px;
  align-items: start;
}

.intro-grid h2,
.section-head h2,
.workflow-copy h2,
.closing h2 {
  font-size: 38px;
  line-height: 1.08;
  font-weight: 700;
}

.intro-grid p,
.section-head p,
.workflow-copy p,
.closing p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.62;
}

.role-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 36px;
}

.role-grid article {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 54px 22px 22px 22px;
  background: linear-gradient(145deg, #151715, #0a0b0a 72%);
  padding: 20px;
  box-shadow: var(--shadow-soft);
}

.role-grid article:nth-child(2) {
  border-radius: 22px 54px 22px 22px;
}

.role-grid article:nth-child(3) {
  border-radius: 22px 22px 54px 22px;
}

.role-grid span,
.module-outcome {
  display: flex;
  align-items: center;
}

.role-grid span {
  gap: 8px;
  width: fit-content;
  min-height: 22px;
  color: var(--cyan);
  padding: 0;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.role-grid span svg {
  width: 16px;
}

.role-grid h3 {
  margin-top: 14px;
  font-size: 19px;
  line-height: 1.25;
}

.role-grid p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(260px, 0.22fr);
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}

.section-head h2 {
  margin-top: 0;
  max-width: 820px;
}

#products .section-head {
  grid-template-columns: minmax(0, 1fr);
}

#products .section-head h2 {
  max-width: none;
  white-space: nowrap;
}

.pain-grid,
.crm-map,
.roadmap {
  display: grid;
  gap: 12px;
}

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

.pain-grid article,
.crm-map article,
.roadmap article,
.workflow-step {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(145deg, #ffffff0b, transparent 46%),
    var(--surface);
  box-shadow: var(--shadow-soft);
}

.pain-grid article {
  display: grid;
  gap: 12px;
  min-height: 260px;
  padding: 20px;
}

.pain-grid article:nth-child(3n + 1) {
  border-radius: 56px 22px 22px 22px;
}

.pain-grid article:nth-child(3n + 2) {
  border-radius: 22px 56px 22px 22px;
}

.pain-grid article:nth-child(3n) {
  border-radius: 22px 22px 56px 22px;
}

.pain-grid i,
.crm-map i {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--cyan);
}

.pain-grid h3,
.crm-map h3,
.roadmap h3,
.workflow-step h3 {
  font-size: 20px;
  line-height: 1.2;
}

.pain-grid p,
.pain-grid strong,
.crm-map p,
.roadmap p,
.workflow-step p,
.module-lead,
.module-columns li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.pain-grid strong {
  align-self: end;
  color: var(--text);
}

.product-stack {
  display: grid;
  gap: 72px;
}

.product-module {
  --product-accent: var(--accent);
  --product-line: #d7fb4a42;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  min-width: 0;
  scroll-margin-top: 98px;
  border: 1px solid #ffffff16;
  border-top: 2px solid var(--product-accent);
  border-radius: 26px;
  background: linear-gradient(155deg, #111411, #090b09 68%);
  padding: 16px;
  box-shadow: 0 34px 80px #0000009c, inset 0 1px 0 #ffffff0c;
  overflow: hidden;
}

.product-module::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -1px;
  right: 8%;
  left: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--product-accent), transparent);
  opacity: 0.55;
  filter: drop-shadow(0 0 8px var(--product-accent));
  pointer-events: none;
}

.product-module.is-reverse {
  border-radius: 26px;
}

.module-autocap {
  --product-accent: var(--cyan);
  --product-line: #34d3e842;
  background: linear-gradient(155deg, #0e1313, #080a0a 68%);
}

.module-bidder {
  --product-accent: var(--amber);
  --product-line: #ffbf4d42;
  background: linear-gradient(155deg, #15130e, #0a0907 68%);
}

.module-copy {
  order: 2;
  display: grid;
  grid-template-columns: minmax(230px, 0.92fr) minmax(280px, 1.08fr) minmax(250px, 0.9fr);
  grid-template-rows: repeat(5, auto);
  min-width: 0;
  gap: 12px 30px;
  padding: 30px 14px 14px;
}

.module-copy > .module-title { grid-column: 1; grid-row: 1; }
.module-copy > .module-promise { grid-column: 1; grid-row: 2; }
.module-copy > .module-lead { grid-column: 1; grid-row: 3 / 5; }
.module-copy > .module-columns { grid-column: 2; grid-row: 1 / 6; }
.module-copy > .integration-list { grid-column: 3; grid-row: 1 / 4; align-self: start; }
.module-copy > .safe-note { grid-column: 3; grid-row: 4; align-self: end; }
.module-copy > .module-link {
  grid-column: 3;
  grid-row: 4;
  width: 100%;
  min-height: 46px;
  align-self: start;
  justify-content: center;
  margin-top: 4px;
  border-color: var(--product-line);
  background: color-mix(in srgb, var(--product-accent) 8%, #0d0f0d);
  color: var(--product-accent);
}

.module-bidder .module-copy > .module-link { grid-row: 5; }

.module-title {
  display: flex;
  gap: 14px;
  align-items: center;
}

.module-title p {
  color: var(--soft);
  font-size: 13px;
  font-weight: 820;
  text-transform: uppercase;
}

.module-title h3 {
  min-width: 0;
  margin-top: 2px;
  font-size: 34px;
  line-height: 1;
  overflow-wrap: anywhere;
  -webkit-hyphens: auto;
  hyphens: auto;
}

.module-title > div {
  min-width: 0;
}

.module-lead {
  max-width: 600px;
  color: #d6dee8;
  font-size: 17px;
}

.module-outcome {
  gap: 10px;
  border-left: 3px solid var(--accent);
  border-radius: 0 16px 16px 0;
  background: linear-gradient(90deg, #d7fb4a10, #111310);
  padding: 11px 12px;
  color: #dce5ec;
  font-size: 14px;
  line-height: 1.45;
}

.module-outcome svg {
  width: 17px;
  color: var(--accent);
  flex: 0 0 auto;
}

.module-autocap .module-outcome {
  border-left-color: var(--cyan);
  background: #34d3e80a;
}

.module-autocap .module-outcome svg {
  color: var(--cyan);
}

.module-bidder .module-outcome {
  border-left-color: var(--amber);
  background: #ffbf4d0a;
}

.module-bidder .module-outcome svg {
  color: var(--amber);
}

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

.module-columns h4 {
  margin-bottom: 10px;
  color: var(--text);
  font-size: 13px;
  line-height: 1.2;
  text-transform: uppercase;
}

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

.module-columns li {
  position: relative;
  padding-left: 17px;
}

.module-columns li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--product-accent);
}

.module-link {
  width: fit-content;
  margin-top: auto;
  border: 1px solid var(--line-strong);
  color: var(--text);
  padding: 0 14px;
  background: linear-gradient(180deg, #1b1d1b, #0d0f0d);
  box-shadow: 0 10px 22px #0000006f, inset 0 1px 0 #ffffff12;
}

.module-link:hover,
.module-link:focus-visible {
  border-color: #d7fb4a70;
  background: #d7fb4a14;
  color: var(--accent);
  outline: none;
}

.product-module.is-reverse .module-copy {
  order: 2;
}

.product-module.is-reverse .product-preview {
  order: 1;
}

.product-preview {
  order: 1;
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  min-width: 0;
  min-height: 560px;
  border: 1px solid var(--product-line);
  border-radius: 18px;
  background: #080908;
  overflow: hidden;
  box-shadow: 0 30px 70px #0000009c, 0 9px 20px #00000080, inset 0 1px 0 #ffffff17, inset 0 -1px 0 #000;
  transform: none;
  transform-origin: center;
  transition: transform 420ms ease, box-shadow 420ms ease;
}

.module-autocap .product-preview {
  transform: none;
  transform-origin: center;
}

.product-preview:hover,
.module-autocap .product-preview:hover {
  box-shadow: 0 36px 86px #000000ba, 0 12px 24px #00000085, inset 0 1px 0 #ffffff1c, inset 0 -1px 0 #000;
  transform: translateY(-2px);
}

.screen-toolbar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #191b19, #101210);
  padding: 0 14px;
}

.screen-toolbar strong {
  overflow: hidden;
  color: #d9dfe7;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.window-dots {
  display: flex;
  gap: 5px;
}

.window-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4c535d;
}

.window-dots i:first-child { background: var(--red); }
.window-dots i:nth-child(2) { background: var(--amber); }
.window-dots i:last-child { background: var(--green); }

.live-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
}

.live-status > i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 #3ddc9780;
  animation: live-pulse 2.2s ease-out infinite;
}

.screen-canvas {
  position: relative;
  min-height: 335px;
  overflow: hidden;
}

.screenshot-canvas img {
  position: absolute;
  inset: 0;
  display: block;
  width: 138%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: left top;
  transform: translate3d(0, 0, 0);
  animation: screen-pan 12s ease-in-out infinite alternate;
}

.pnl-kpi-overlay {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  display: grid;
  width: 138%;
  aspect-ratio: 1440 / 900;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.7%;
  align-content: start;
  padding: 9.97% 2.68% 0;
  pointer-events: none;
  animation: screen-pan 12s ease-in-out infinite alternate;
}

.pnl-kpi-card {
  display: grid;
  min-width: 0;
  height: auto;
  aspect-ratio: 269 / 77;
  align-content: center;
  gap: 4px;
  border: 1px solid #343941;
  border-radius: 8px;
  background: linear-gradient(145deg, #1c2026 0%, #12151a 100%);
  padding: 10px 14px;
  box-shadow: inset 0 1px 0 #ffffff0a, 0 8px 18px #00000045;
}

.pnl-kpi-card small,
.pnl-kpi-card span {
  overflow: hidden;
  color: #8f98a5;
  font-size: 11px;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pnl-kpi-card strong {
  overflow: hidden;
  color: #f2f5f7;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pnl-kpi-card.is-positive {
  border-color: #3ddc976e;
  background: linear-gradient(145deg, #10271f 0%, #111a17 100%);
  box-shadow: inset 0 1px 0 #7effc71c, 0 0 24px #3ddc970c;
}

.pnl-kpi-card.is-positive strong,
.pnl-kpi-card.is-positive span {
  color: #50e6a2;
}

.module-pnl .screenshot-canvas img,
.module-pnl .pnl-kpi-overlay {
  animation: none;
}

.module-autocap .screenshot-canvas img {
  width: 132%;
}

.preview-switcher {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  min-height: 58px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #111311, #090a09);
  padding: 7px;
}

.preview-switcher button {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid transparent;
  border-radius: var(--pill);
  background: transparent;
  color: var(--soft);
  padding: 0 8px;
  font-size: 12px;
  font-weight: 780;
  line-height: 1.15;
  overflow-wrap: anywhere;
  cursor: pointer;
}

.preview-switcher button:hover,
.preview-switcher button:focus-visible,
.preview-switcher button.is-active {
  border-color: var(--line-strong);
  background: #ffffff09;
  color: var(--text);
  outline: none;
}

.preview-switcher button.is-active {
  border-color: #d7fb4a42;
  color: var(--accent);
}

.preview-switcher svg {
  width: 15px;
  flex: 0 0 auto;
}

.module-visual {
  min-width: 0;
  min-height: 340px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #07080a;
  overflow: hidden;
}

.module-visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  object-position: left top;
}

.module-pnl .module-icon {
  background: var(--accent);
}

.module-autocap .module-icon {
  background: var(--cyan);
}

.module-bidder .module-icon {
  background: var(--amber);
}

.bidder-preview {
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
  min-height: 340px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, #ffffff08 1px, transparent 1px),
    linear-gradient(#ffffff06 1px, transparent 1px),
    #080a0f;
  background-size: 34px 34px;
  padding: 18px;
  overflow: hidden;
}

.preview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}

.preview-top span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border-radius: var(--radius);
  background: var(--amber);
  color: #151006;
  padding: 0 12px;
  font-weight: 900;
}

.preview-top strong {
  color: var(--muted);
  font-size: 14px;
}

.decision-card {
  display: grid;
  gap: 7px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--line-strong);
  border-radius: var(--radius);
  background: #121720e6;
  padding: 15px;
}

.decision-card span,
.decision-card small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.decision-card b {
  font-size: 18px;
  line-height: 1.2;
}

.decision-card.is-critical {
  border-left-color: var(--red);
}

.decision-card.is-watch {
  border-left-color: var(--amber);
}

.decision-card.is-good {
  border-left-color: var(--green);
}

.mini-chart {
  display: grid;
  grid-template-columns: repeat(6, minmax(20px, 1fr));
  align-items: end;
  gap: 8px;
  min-height: 92px;
  margin-top: 8px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.mini-chart span {
  display: block;
  min-height: 18px;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, var(--accent), #34d3e8);
}

.bidder-shell {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  min-height: 335px;
  background:
    linear-gradient(90deg, #ffffff06 1px, transparent 1px),
    linear-gradient(#ffffff05 1px, transparent 1px),
    #080908;
  background-size: 28px 28px;
}

.bidder-sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, #171917, #0a0b0a);
  padding: 12px 0;
  color: var(--soft);
}

.bidder-sidebar b {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 12px;
  background: var(--amber);
  color: #141006;
  font-size: 14px;
}

.bidder-sidebar svg {
  width: 16px;
}

.bidder-sidebar svg:nth-of-type(2) {
  color: var(--amber);
}

.bidder-workspace {
  position: relative;
  min-width: 0;
  padding: 14px;
  overflow: hidden;
}

.bidder-head,
.bidder-summary,
.rule-row {
  display: flex;
  align-items: center;
}

.bidder-head {
  justify-content: space-between;
  gap: 12px;
}

.bidder-head > div {
  display: grid;
  gap: 3px;
}

.bidder-head small,
.bidder-summary small,
.rule-row small {
  color: var(--soft);
  font-size: 9px;
}

.bidder-head b {
  font-size: 15px;
}

.bidder-add-rule {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  border: 1px solid #ffbf4d36;
  border-radius: 9px;
  background: #ffbf4d0c;
  color: var(--amber);
  padding: 0 8px;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}

.bidder-add-rule svg {
  width: 13px;
}

.bidder-add-rule:hover,
.bidder-add-rule:focus-visible,
[data-demo-step="builder"] .bidder-add-rule {
  border-color: #ffbf4d78;
  background: #ffbf4d17;
  box-shadow: 0 0 0 4px #ffbf4d0d;
  outline: none;
}

.bidder-mode {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #080908;
  padding: 3px;
}

.bidder-mode button {
  display: inline-flex;
  min-width: 0;
  min-height: 26px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--soft);
  padding: 0 7px;
  font-size: 9px;
  font-weight: 820;
  cursor: pointer;
}

.bidder-mode button svg { width: 12px; }

.bidder-mode button:hover,
.bidder-mode button:focus-visible,
.bidder-mode button.is-active {
  background: #ffffff0a;
  color: var(--text);
  outline: none;
}

.bidder-mode button[data-bidder-mode="autocorrect"].is-active {
  background: #3ddc9713;
  color: var(--green);
}

.bidder-summary {
  gap: 7px;
  margin-top: 13px;
}

.bidder-summary > span {
  display: grid;
  flex: 1 1 0;
  gap: 3px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(145deg, #1b1d1b, #0d0f0d);
  padding: 9px;
}

.bidder-summary b {
  font-size: 16px;
}

.rule-list {
  display: grid;
  gap: 7px;
  margin-top: 10px;
}

.rule-row {
  gap: 8px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--amber);
  border-radius: 14px;
  background: linear-gradient(145deg, #171917e8, #0b0c0be8);
  padding: 9px;
}

.rule-row > i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  flex: 0 0 auto;
}

.rule-row p {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.rule-row b {
  overflow: hidden;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rule-row > span {
  margin-left: auto;
  border-radius: 999px;
  background: #3ddc9716;
  color: var(--green);
  padding: 4px 6px;
  font-size: 8px;
  font-weight: 900;
}

.bidder-demo-rule {
  max-height: 0;
  border-width: 0 1px;
  padding-block: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-8px);
  transition: max-height 320ms ease, padding 320ms ease, border-width 320ms ease, opacity 220ms ease, transform 320ms ease;
}

[data-demo-step="recommend"] .bidder-demo-rule,
[data-demo-step="autocorrect"] .bidder-demo-rule {
  max-height: 64px;
  border-width: 1px 1px 1px 3px;
  padding-block: 9px;
  opacity: 1;
  transform: translateY(0);
}

[data-demo-step="autocorrect"] .bidder-demo-rule {
  border-left-color: var(--green);
  background: linear-gradient(145deg, #142019ed, #0b0c0bed);
  box-shadow: 0 0 22px #3ddc970d;
}

.bidder-rule-builder {
  position: absolute;
  z-index: 5;
  top: 56px;
  right: 14px;
  left: 14px;
  display: grid;
  gap: 7px;
  border: 1px solid #ffbf4d55;
  border-radius: 15px;
  background: #121411f5;
  padding: 12px;
  box-shadow: 0 22px 52px #000000c2, inset 0 1px 0 #ffffff12;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 220ms ease, transform 280ms ease, visibility 220ms ease;
}

[data-demo-step="builder"] .bidder-rule-builder {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.rule-builder-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--amber);
  font-size: 11px;
  font-weight: 850;
}

.rule-builder-head span { display: inline-flex; align-items: center; gap: 6px; }
.rule-builder-head svg { width: 14px; }
.rule-builder-head > svg { color: var(--soft); }

.rule-condition {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #090b09;
  padding: 0 10px;
}

.rule-condition small {
  color: var(--soft);
  font-size: 9px;
  font-weight: 850;
  text-transform: uppercase;
}

.rule-condition b { font-size: 10px; }
.rule-condition.is-action { border-color: #3ddc9735; }
.rule-condition.is-action small { color: var(--green); }

.bidder-rule-builder > button {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 0;
  border-radius: 9px;
  background: var(--amber);
  color: #151006;
  font-size: 10px;
  font-weight: 900;
}

.bidder-rule-builder > button svg { width: 13px; }

[data-demo-step="builder"] .bidder-mode,
[data-demo-step="builder"] .bidder-summary,
[data-demo-step="builder"] .rule-list {
  opacity: 0.16;
  transition: opacity 220ms ease;
}

.crm-section {
  padding-top: 72px;
}

.crm-map {
  position: relative;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  align-items: center;
  padding: 26px 4px 48px;
  perspective: 1400px;
}

.crm-map article {
  --float-y: 10px;
  --float-tilt: -0.8deg;
  position: relative;
  display: grid;
  aspect-ratio: 1;
  min-height: 0;
  gap: 14px;
  place-content: center;
  justify-items: center;
  border-color: #ffffff12;
  border-radius: 50%;
  background: #101210ed;
  padding: 30px;
  text-align: center;
  box-shadow:
    0 18px 20px -14px #000000e0,
    0 42px 74px -28px #000000e8,
    inset 0 1px 0 #ffffff0c,
    inset 0 -24px 42px #00000045;
  filter: drop-shadow(0 22px 18px #00000080);
  overflow: hidden;
  translate: 0 var(--float-y);
  rotate: var(--float-tilt);
  animation: crm-float 8.5s ease-in-out infinite;
  will-change: translate;
}

.crm-map article > span {
  position: absolute;
  top: 24px;
  right: 30px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid #d7fb4a35;
  border-radius: 50%;
  background: #171b10;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 10px 24px #0000009c, inset 0 1px 0 #ffffff12;
}

.crm-map article:nth-child(1) {
  --float-y: 14px;
  --float-tilt: -1.1deg;
  background: #0e100fed;
  scale: 0.96;
  animation-delay: -1.7s;
}

.crm-map article:nth-child(2) {
  --float-y: -16px;
  --float-tilt: 0.8deg;
  background: #121412ed;
  animation-duration: 9.6s;
  animation-delay: -4.2s;
}

.crm-map article:nth-child(3) {
  --float-y: 20px;
  --float-tilt: -0.5deg;
  background: #0f1110ed;
  scale: 0.98;
  animation-duration: 10.4s;
  animation-delay: -2.8s;
}

.crm-map article:nth-child(4) {
  --float-y: -10px;
  --float-tilt: 1deg;
  background: #131513ed;
  scale: 1.01;
  animation-duration: 9.1s;
  animation-delay: -6.1s;
}

.crm-map p {
  font-size: 14px;
  line-height: 1.45;
}

.command-center {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  min-height: 520px;
  margin-top: 20px;
  border: 1px solid var(--line-strong);
  border-radius: 30px;
  background: linear-gradient(145deg, #181a18 0%, #0c0e0c 45%, #070807 100%);
  box-shadow: var(--shadow), inset 0 1px 0 #ffffff10;
  overflow: hidden;
}

.command-nav {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, #161816, #0a0b0a);
  padding: 18px 12px;
}

.command-brand,
.command-nav nav span,
.command-nav > small,
.command-head,
.command-head button,
.panel-title,
.queue-item,
.flow-node {
  display: flex;
  align-items: center;
}

.command-brand {
  gap: 9px;
  padding: 0 8px 18px;
  font-size: 14px;
  font-weight: 900;
}

.command-brand svg {
  width: 17px;
  color: var(--accent);
}

.command-nav nav {
  display: grid;
  gap: 5px;
}

.command-nav nav span {
  gap: 9px;
  min-height: 38px;
  border: 1px solid transparent;
  border-radius: 13px;
  color: var(--muted);
  padding: 0 10px;
  font-size: 12px;
  font-weight: 750;
}

.command-nav nav span.is-current {
  border-color: #d7fb4a33;
  background: #d7fb4a0d;
  color: var(--accent);
}

.command-nav nav svg {
  width: 15px;
}

.command-nav > small {
  gap: 7px;
  margin-top: auto;
  color: var(--soft);
  font-size: 10px;
}

.command-nav > small i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 #3ddc9780;
  animation: live-pulse 2.2s ease-out infinite;
}

.command-main {
  min-width: 0;
  padding: 22px;
}

.command-head {
  justify-content: space-between;
  gap: 20px;
}

.command-head > div {
  display: grid;
  gap: 5px;
}

.command-head span,
.panel-title small {
  color: var(--soft);
  font-size: 11px;
}

.command-head h3 {
  font-size: 24px;
}

.command-head button {
  position: relative;
  width: 40px;
  height: 40px;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(145deg, #1b1d1b, #0d0f0d);
  color: var(--text);
}

.command-head button b {
  position: absolute;
  top: -5px;
  right: -4px;
  display: grid;
  width: 17px;
  height: 17px;
  place-items: center;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 9px;
}

.command-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.command-metrics article {
  display: grid;
  gap: 7px;
  border: 1px solid var(--line);
  min-height: 92px;
  align-content: center;
  border-radius: var(--pill);
  background: linear-gradient(145deg, #1a1c1a, #0c0e0c);
  padding: 15px 22px;
  box-shadow: var(--shadow-soft);
}

.command-metrics small,
.command-metrics span {
  color: var(--soft);
  font-size: 10px;
}

.command-metrics b {
  font-size: 23px;
}

.command-metrics .metric-positive {
  color: var(--green);
}

.command-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(240px, 0.82fr);
  gap: 10px;
  margin-top: 10px;
}

.priority-queue,
.decision-flow {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(145deg, #151715, #090a09);
  padding: 15px;
}

.panel-title {
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.panel-title > div {
  display: grid;
  gap: 4px;
}

.panel-title b {
  font-size: 14px;
}

.panel-title > span {
  color: var(--soft);
  font-size: 9px;
}

.queue-item {
  gap: 10px;
  min-height: 58px;
  border-top: 1px solid var(--line);
  padding: 9px 0;
  opacity: 0.5;
  transition: opacity 260ms ease, transform 260ms ease;
}

.queue-item.is-current {
  opacity: 1;
  transform: translateX(5px);
}

.queue-item > svg {
  width: 31px;
  height: 31px;
  border-radius: 12px;
  padding: 7px;
  flex: 0 0 auto;
}

.queue-item.is-danger > svg { background: #ff647118; color: var(--red); }
.queue-item.is-warning > svg { background: #ffbf4d18; color: var(--amber); }
.queue-item.is-success > svg { background: #3ddc9718; color: var(--green); }

.queue-item p {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.queue-item p b {
  font-size: 11px;
}

.queue-item p small {
  overflow: hidden;
  color: var(--soft);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.queue-item > span {
  margin-left: auto;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  white-space: nowrap;
}

.decision-flow {
  position: relative;
  overflow: hidden;
}

.flow-track {
  position: absolute;
  top: 77px;
  bottom: 38px;
  left: 32px;
  width: 1px;
  background: #ffffff16;
}

.flow-track i {
  display: block;
  width: 100%;
  height: 34%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: flow-line 3.2s ease-in-out infinite;
}

.flow-node {
  position: relative;
  z-index: 1;
  gap: 10px;
  min-height: 61px;
}

.flow-node > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid #d7fb4a52;
  border-radius: 50%;
  background: #11150d;
  color: var(--accent);
  flex: 0 0 auto;
  font-size: 9px;
  font-weight: 900;
}

.flow-node p {
  display: grid;
  gap: 3px;
}

.flow-node p b { font-size: 11px; }
.flow-node p small { color: var(--soft); font-size: 9px; }
.flow-node > svg { width: 14px; margin-left: auto; color: var(--green); }
.flow-node.is-live > svg { color: var(--amber); animation: rotate 1.6s linear infinite; }

.workflow-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.38fr) minmax(0, 0.62fr);
  gap: 34px;
  align-items: start;
}

.workflow-copy h2 {
  margin-top: 12px;
}

.workflow {
  display: grid;
  gap: 12px;
}

.workflow-step {
  padding: 18px;
}

.workflow-step span {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  border: 1px solid #d7fb4a35;
  border-radius: 999px;
  color: var(--accent);
  padding: 0 10px;
  font-size: 12px;
  font-weight: 840;
}

.workflow-step h3 {
  margin-top: 12px;
}

.workflow-step p {
  margin-top: 8px;
}

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

.roadmap article {
  border-radius: 64px 22px 22px 22px;
  padding: 24px;
}

.roadmap article:nth-child(even) {
  border-radius: 22px 64px 22px 22px;
}

.roadmap h3 {
  margin-top: 12px;
}

.roadmap p {
  margin-top: 10px;
}

.closing {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
  width: 100%;
  max-width: none;
  border-radius: 0;
  background: #0b0d0b;
  box-shadow: none;
  padding-inline: max(22px, calc((100vw - 1180px) / 2));
}

.closing h2 {
  width: min(850px, 100%);
  margin: 12px auto 0;
}

.closing-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.closing-tags span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff08;
  color: var(--muted);
  padding: 0 12px;
  font-size: 13px;
  font-weight: 740;
  box-shadow: inset 0 1px 0 #ffffff10, 0 8px 18px #0000005c;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 26px 22px;
  font-size: 14px;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--text);
  outline: none;
}

.can-animate [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.can-animate [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes live-pulse {
  0% { box-shadow: 0 0 0 0 #3ddc9775; }
  70%, 100% { box-shadow: 0 0 0 8px #3ddc9700; }
}

@keyframes crm-float {
  0%, 100% { translate: 0 var(--float-y); }
  50% { translate: 0 calc(var(--float-y) - 10px); }
}

@keyframes screen-pan {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-9%, 0, 0); }
}

@keyframes progress-fill {
  from { transform: scaleX(0.62); }
  to { transform: scaleX(1); }
}

@keyframes flow-line {
  0% { transform: translateY(0); opacity: 0; }
  18% { opacity: 1; }
  78% { opacity: 1; }
  100% { transform: translateY(195%); opacity: 0; }
}

@keyframes rotate {
  to { transform: rotate(360deg); }
}

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

@keyframes pop-in {
  from { opacity: 0; transform: translateY(12px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

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

  .buying-tape-track {
    transform: none;
  }
}

@media (max-width: 1060px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .top-nav {
    display: none;
  }

  .hero::before {
    background:
      linear-gradient(90deg, #050605fc 0%, #050605df 58%, #050605ef 100%),
      linear-gradient(0deg, #050605 0%, transparent 38%, #050605 100%),
      url("./assets/pnl-desktop.png") right top / 820px auto no-repeat;
  }

  .pain-grid,
  .crm-map,
  .roadmap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .crm-map article {
    aspect-ratio: auto;
    min-height: 230px;
    justify-items: start;
    border-radius: 72px 28px;
    padding: 30px 36px;
    text-align: left;
    transform: none;
    translate: 0;
    rotate: 0deg;
    scale: 1;
    animation: none;
    filter: drop-shadow(0 18px 16px #0000006b);
    overflow: visible;
  }

  .crm-map article:nth-child(n) {
    translate: 0;
    rotate: 0deg;
    scale: 1;
    animation: none;
  }

  .crm-map article > span {
    position: static;
  }

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

  .product-module.is-reverse .module-copy { order: 2; }
  .product-module.is-reverse .product-preview { order: 1; }

  .module-copy {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto;
  }

  .module-copy > .module-title,
  .module-copy > .module-promise,
  .module-copy > .module-lead { grid-column: 1; grid-row: auto; }
  .module-copy > .module-columns { grid-column: 2; grid-row: 1 / 5; }
  .module-copy > .integration-list { grid-column: 1; grid-row: auto; }
  .module-copy > .safe-note { grid-column: 2; grid-row: auto; align-self: start; }
  .module-copy > .module-link { grid-column: 1; grid-row: auto; }

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

  .hero-live {
    position: relative;
    top: auto;
    right: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    margin-top: 28px;
    transform: none;
  }

  .product-preview,
  .module-autocap .product-preview {
    transform: none;
  }

  .hero-live-head {
    grid-column: 1 / -1;
  }

  .hero-strip {
    margin-top: 18px;
  }

  .workflow-section,
  .intro-grid,
  .section-head {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 900px) {
  #products .section-head h2 {
    white-space: normal;
  }
}

@media (max-width: 760px) {
  #products .section-head h2 { white-space: normal; }
  .site-header {
    position: sticky;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    min-height: 64px;
    padding: 10px 16px;
  }

  .quick-links {
    justify-content: flex-end;
    gap: 2px;
    border-radius: 15px;
    padding: 3px;
  }

  .quick-links a {
    justify-content: center;
    width: 38px;
    height: 38px;
    min-height: 38px;
    border-radius: 11px;
    padding: 0;
    flex: 0 0 38px;
  }

  .quick-links a span {
    display: none;
  }

  .brand {
    width: fit-content;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner,
  .section {
    width: min(100% - 32px, 1180px);
  }

  .hero-inner {
    padding: 36px 0 30px;
  }

  .hero-actions {
    margin-top: 22px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-lead {
    font-size: 18px;
  }

  .hero-strip,
  .pain-grid,
  .crm-map,
  .roadmap,
  .module-columns,
  .role-grid,
  .command-metrics,
  .command-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    width: min(376px, 100%);
    margin-top: 14px;
  }

  .hero-strip div {
    padding: 10px;
  }

  .hero-strip div:nth-child(2) {
    transform: translateY(8px);
  }

  .hero-strip span {
    font-size: 9px;
  }

  .hero-strip strong {
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.25;
  }

  .hero-live {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding: 12px;
    border-radius: 20px;
    margin-top: 18px;
  }

  .buying-tape {
    margin-top: 10px;
  }

  .hero-live-head {
    grid-column: auto;
  }

  .hero-event:not(.is-active) {
    display: none;
  }

  .hero-event.is-active {
    transform: none;
  }

  .intro-grid h2,
  .section-head h2,
  .workflow-copy h2,
  .closing h2 {
    font-size: 30px;
  }

  .section {
    padding: 58px 0;
  }

  .pain-grid article {
    min-height: auto;
  }

  .crm-map article {
    min-height: auto;
    border-radius: 42px 20px;
    padding: 24px;
  }

  .product-module {
    padding: 16px;
  }

  .product-stack { gap: 42px; }

  .module-copy {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 24px 2px 4px;
  }

  .module-copy > .module-title,
  .module-copy > .module-promise,
  .module-copy > .module-lead,
  .module-copy > .module-columns,
  .module-copy > .integration-list,
  .module-copy > .safe-note,
  .module-copy > .module-link {
    grid-column: 1;
    grid-row: auto;
  }

  .module-title h3 {
    font-size: 28px;
  }

  .module-visual,
  .module-visual img,
  .bidder-preview {
    min-height: 280px;
  }

  .product-preview {
    min-height: 386px;
  }

  .screen-canvas,
  .bidder-shell {
    min-height: 280px;
  }

  .pnl-kpi-card {
    height: auto;
    gap: 2px;
    border-radius: 5px;
    padding: 6px;
  }

  .pnl-kpi-card strong { font-size: 12px; }
  .pnl-kpi-card small,
  .pnl-kpi-card span { font-size: 7px; }

  .screen-toolbar {
    padding: 0 10px;
  }

  .screen-toolbar .live-status {
    display: none;
  }

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

  .command-center {
    grid-template-columns: minmax(0, 1fr);
    min-height: auto;
  }

  .command-nav {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 12px;
  }

  .command-brand,
  .command-nav > small {
    display: none;
  }

  .command-nav nav {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .command-nav nav span {
    justify-content: center;
    padding: 0 8px;
  }

  .command-main {
    padding: 16px;
  }

  .command-grid {
    gap: 10px;
  }

  .command-head h3 {
    font-size: 20px;
  }

  .role-grid article {
    padding-inline: 18px;
  }

  .module-visual img {
    object-position: left top;
  }
}

.pain-icon {
  position: relative;
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  margin-bottom: 6px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: #060706d9;
  box-shadow: 0 0 18px currentColor, inset 0 0 18px #ffffff0a, 0 14px 28px #000000b8;
}

.pain-icon::before,
.pain-icon::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.pain-icon::before {
  inset: 8px;
  border: 1px solid currentColor;
  opacity: 0.34;
}

.pain-icon::after {
  inset: -9px;
  border: 1px solid currentColor;
  opacity: 0.12;
  animation: neon-ring 2.8s ease-out infinite;
}

.pain-icon svg {
  width: 32px;
  height: 32px;
  color: currentColor;
  stroke-width: 1.85;
  filter: drop-shadow(0 0 7px currentColor);
}

.pain-icon.is-loss { color: #ff4774; }
.pain-icon.is-cap { color: #28e7f2; }
.pain-icon.is-scale { color: #ffd447; }

@keyframes neon-ring {
  0%, 100% { scale: 0.94; opacity: 0.08; }
  45% { scale: 1.06; opacity: 0.25; }
}

@media (max-width: 430px) {
  .pain-icon {
    width: 62px;
    height: 62px;
  }

  .pain-icon svg {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 430px) {
  .brand small {
    display: none;
  }

  .hero h1 {
    font-size: 36px;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
    justify-content: center;
  }

  .module-title {
    align-items: start;
  }

  .module-link {
    width: 100%;
    justify-content: center;
  }

  .product-preview {
    min-height: 360px;
  }

  .screen-canvas,
  .bidder-shell {
    min-height: 265px;
  }

  .preview-switcher button {
    gap: 5px;
    padding: 0 4px;
    font-size: 10px;
  }

  .bidder-shell {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .bidder-sidebar {
    gap: 15px;
  }

  .bidder-sidebar b {
    width: 24px;
    height: 24px;
  }

  .bidder-sidebar svg {
    width: 14px;
  }

  .bidder-workspace {
    padding: 10px;
  }

  .bidder-summary > span:nth-child(3) {
    display: none;
  }

  .rule-row:nth-child(2) {
    display: none;
  }

  .command-main {
    padding: 13px;
  }

  .command-nav nav span {
    gap: 0;
    font-size: 0;
  }

  .queue-item > span {
    display: none;
  }
}

/* Landing narrative: pain, alerts, products, AI and measurable outcomes. */
.hero-strip small {
  display: block;
  margin-top: 7px;
  color: var(--soft);
  font-size: 11px;
  line-height: 1.25;
}

.pain-section { padding-bottom: 58px; }
.pain-grid-compact { gap: 20px; }

.pain-grid-compact article,
.pain-grid-compact article:nth-child(n) {
  aspect-ratio: 1;
  min-height: 0;
  place-content: center;
  justify-items: center;
  border-radius: 50%;
  padding: 42px;
  text-align: center;
  box-shadow: 0 22px 24px -17px #000, 0 48px 86px -34px #000000e8, inset 0 1px 0 #ffffff13, inset 0 -34px 56px #00000070;
}

.pain-grid-compact article:nth-child(1) { border-color: #ff64712c; background: #111211; transform: translateY(12px); }
.pain-grid-compact article:nth-child(2) { border-color: #34d3e82d; background: #141614; transform: translateY(-10px); }
.pain-grid-compact article:nth-child(3) { border-color: #ffbf4d2d; background: #0f1110; transform: translateY(16px); }
.pain-grid-compact h3 { max-width: 270px; font-size: 24px; line-height: 1.18; }
.pain-grid-compact p { max-width: 260px; font-size: 13px; }

.solution-section,
.telegram-section,
.ai-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  gap: 56px;
  align-items: center;
}

.solution-section,
.ai-section {
  position: relative;
  width: 100%;
  max-width: none;
  border-block: 1px solid var(--line);
  background: #080908;
  padding-inline: max(22px, calc((100vw - 1180px) / 2));
}

.solution-section {
  isolation: isolate;
  overflow: visible;
}

.solution-section > *:not(.solution-connectors) {
  position: relative;
  z-index: 2;
}

.solution-connectors {
  position: absolute;
  top: -108px;
  left: 50%;
  z-index: 1;
  width: min(1180px, calc(100% - 44px));
  height: 220px;
  overflow: visible;
  pointer-events: none;
  transform: translateX(-50%);
}

.solution-connectors path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.connector-glow {
  stroke-width: 7;
  opacity: 0.16;
  filter: blur(5px);
}

.connector-flow {
  stroke-width: 1.6;
  stroke-dasharray: 4 9;
  filter: drop-shadow(0 0 5px currentColor);
  animation: route-flow 3.2s linear infinite;
}

.connector-flow:nth-of-type(5) { animation-delay: -1.05s; }
.connector-flow:nth-of-type(6) { animation-delay: -2.1s; }

.solution-copy h2,
.telegram-copy h2,
.ai-copy h2 {
  margin-top: 0;
  font-size: 38px;
  line-height: 1.08;
  font-weight: 700;
}

.solution-copy > p:last-child,
.telegram-copy > p,
.ai-copy > p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

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

.solution-route article {
  --route-color: var(--accent);
  position: relative;
  display: grid;
  min-height: 174px;
  align-content: space-between;
  justify-items: start;
  gap: 14px;
  border: 1px solid #d7fb4a30;
  border-top-color: var(--route-color);
  border-radius: 18px;
  background: #101210;
  padding: 24px;
  text-align: left;
  box-shadow: 0 20px 44px #00000070, inset 0 1px 0 #ffffff0f;
}

.solution-route article:nth-child(2) { --route-color: var(--cyan); transform: none; border-color: #34d3e830; border-top-color: var(--route-color); background: #101414; }
.solution-route article:nth-child(3) { --route-color: var(--amber); border-color: #ffbf4d30; border-top-color: var(--route-color); }
.solution-route article::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  width: 10px;
  height: 10px;
  border: 2px solid #080908;
  border-radius: 50%;
  background: var(--route-color);
  box-shadow: 0 0 14px var(--route-color);
  transform: translateX(-50%);
}
.solution-route article > small { color: var(--route-color); font-size: 11px; font-weight: 850; text-transform: uppercase; }
.solution-route article b { font-size: 17px; line-height: 1.2; }
.solution-route article > svg { position: absolute; right: 14%; bottom: 16%; width: 16px; color: var(--soft); }

.route-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin: 0;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: #050605d9;
  box-shadow: 0 0 16px currentColor, inset 0 0 14px #ffffff0a;
}

.route-icon svg {
  width: 23px;
  height: 23px;
  color: currentColor;
  stroke-width: 1.9;
  filter: drop-shadow(0 0 6px currentColor);
}

.route-icon.is-pnl { color: #d7fb4a; }
.route-icon.is-cap { color: #28e7f2; }
.route-icon.is-bid { color: #ffd447; }

@keyframes route-flow {
  to { stroke-dashoffset: -52; }
}

.telegram-section { min-height: 690px; padding-block: 76px; }

.telegram-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}

.telegram-legend span {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  padding: 0 4px 0 0;
  font-size: 12px;
  font-weight: 760;
}

.legend-dot { display: block; width: 8px; height: 8px; border-radius: 50%; }
.legend-dot.is-pnl, .telegram-avatar.is-pnl { background: var(--accent); color: var(--accent-ink); }
.legend-dot.is-cap, .telegram-avatar.is-cap { background: var(--cyan); color: #071114; }
.legend-dot.is-bid, .telegram-avatar.is-bid { background: var(--amber); color: #171006; }

.telegram-stage {
  position: relative;
  min-width: 0;
  min-height: 540px;
  perspective: 1400px;
}

.telegram-phone {
  position: absolute;
  top: 34px;
  left: 50%;
  z-index: 1;
  width: min(310px, 64%);
  min-height: 480px;
  border: 1px solid #ffffff22;
  border-radius: 38px;
  background: #0e1621;
  overflow: hidden;
  box-shadow: 0 42px 90px #000000c4, inset 0 1px 0 #ffffff16, inset 0 -1px 0 #000;
  opacity: 0.56;
  transform: translateX(-50%) translateZ(-80px) rotateY(0deg) scale(0.88);
  transition: opacity 440ms ease, transform 520ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 440ms ease;
  animation: phone-float 7.6s ease-in-out infinite;
  cursor: pointer;
}

.telegram-phone:nth-child(1) { transform: translateX(-94%) translateY(34px) translateZ(-110px) rotateY(13deg) scale(0.84); animation-delay: -1.8s; }
.telegram-phone:nth-child(2) { z-index: 2; animation-delay: -4.7s; }
.telegram-phone:nth-child(3) { transform: translateX(-6%) translateY(38px) translateZ(-110px) rotateY(-13deg) scale(0.84); animation-delay: -3.1s; }
.telegram-phone.is-active { z-index: 4; opacity: 1; filter: none; transform: translateX(-50%) translateY(-4px) translateZ(35px) rotateY(0deg) scale(1); }
.telegram-phone:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.telegram-phone-head {
  display: grid;
  grid-template-columns: 24px 42px minmax(0, 1fr) 20px;
  gap: 9px;
  min-height: 72px;
  align-items: center;
  border-bottom: 1px solid #ffffff10;
  background: #17212b;
  padding: 12px;
}

.telegram-phone-head > svg,
.telegram-back svg { width: 18px; color: #2aabee; }
.telegram-avatar { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; }
.telegram-avatar svg { width: 18px; }
.telegram-phone-head p { display: grid; gap: 3px; }
.telegram-phone-head b { font-size: 14px; }
.telegram-phone-head small { color: var(--soft); font-size: 11px; }

.telegram-chat {
  position: relative;
  min-height: 408px;
  background: radial-gradient(circle at 12px 12px, #ffffff07 1px, transparent 1.5px), #0e1621;
  background-size: 28px 28px;
  padding: 22px 13px 58px;
}

.telegram-chat > time {
  display: block;
  width: fit-content;
  margin: 0 auto 18px;
  border-radius: var(--pill);
  background: #0000005f;
  color: #c7cdca;
  padding: 5px 9px;
  font-size: 10px;
}

.telegram-bubble {
  position: relative;
  display: grid;
  gap: 9px;
  width: 92%;
  margin-right: auto;
  border: 1px solid #ffffff08;
  border-radius: 15px 15px 15px 5px;
  background: #182533;
  padding: 14px 14px 22px;
  box-shadow: 0 14px 30px #00000056, inset 0 1px 0 #ffffff0e;
}

.telegram-bubble strong { color: #fff; font-size: 15px; }
.telegram-bubble > span { color: #b7c4d1; font-size: 12px; }
.telegram-bubble dl { display: grid; gap: 7px; margin: 3px 0; border-block: 1px solid #ffffff10; padding-block: 10px; }
.telegram-bubble dl div { display: flex; justify-content: space-between; gap: 12px; }
.telegram-bubble dt, .telegram-bubble dd { margin: 0; font-size: 12px; }
.telegram-bubble dt { color: #8192a3; }
.telegram-bubble dd { color: #fff; font-weight: 820; }
.telegram-bubble > b { color: #2aabee; font-size: 12px; }

.telegram-bubble > small {
  position: absolute;
  right: 10px;
  bottom: 7px;
  display: inline-flex;
  align-items: center;
  color: #708499;
  font-size: 9px;
}

.telegram-composer {
  position: absolute;
  right: 10px;
  bottom: 10px;
  left: 10px;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) 20px;
  min-height: 38px;
  align-items: center;
  gap: 8px;
  border-radius: 19px;
  background: #17212b;
  color: #708499;
  padding: 0 12px;
  font-size: 11px;
  box-shadow: 0 8px 22px #00000038;
}

.telegram-composer svg { width: 17px; }

.audience-section { padding-block: 96px; }
.audience-section .section-head { margin-bottom: 0; }
.audience-section .section-head h2 { max-width: 980px; }

.role-grid-four {
  grid-template-columns: minmax(330px, 0.9fr) minmax(0, 1.35fr);
  grid-template-rows: repeat(3, minmax(108px, auto));
  gap: 12px;
  margin-top: 36px;
}

.role-grid-four article:nth-child(n) {
  --role-accent: var(--cyan);
  position: relative;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) minmax(160px, 0.7fr);
  min-height: 0;
  align-items: center;
  align-content: center;
  gap: 18px;
  border-color: #ffffff16;
  border-radius: 20px;
  background: linear-gradient(105deg, #151815, #0a0c0a 78%);
  padding: 20px 72px 20px 22px;
  box-shadow: inset 3px 0 0 var(--role-accent), 0 18px 42px #00000072, inset 0 1px 0 #ffffff0b;
  transform: none;
  overflow: hidden;
}

.role-grid-four article:nth-child(1) { --role-accent: var(--accent); grid-row: 1 / 4; }
.role-grid-four article:nth-child(2) { --role-accent: var(--cyan); }
.role-grid-four article:nth-child(3) { --role-accent: var(--amber); }
.role-grid-four article:nth-child(4) { --role-accent: var(--green); }

.role-grid-four article::after {
  content: "01";
  position: absolute;
  right: 18px;
  bottom: 5px;
  color: var(--role-accent);
  font-family: var(--font-display);
  font-size: 46px;
  font-weight: 800;
  line-height: 1;
  opacity: 0.1;
}

.role-grid-four article:nth-child(2)::after { content: "02"; }
.role-grid-four article:nth-child(3)::after { content: "03"; }
.role-grid-four article:nth-child(4)::after { content: "04"; }

.role-grid-four article:first-child {
  display: flex;
  min-height: 348px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 14px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 72% 12%, #d7fb4a18, transparent 35%),
    linear-gradient(145deg, #181d13, #090b09 72%);
  padding: 30px;
}

.role-grid-four article:first-child::before {
  content: "3×";
  position: absolute;
  top: 26px;
  left: 28px;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 76px;
  font-weight: 800;
  line-height: 0.9;
}

.role-grid-four span { color: var(--role-accent); }
.role-grid-four h3 { max-width: 360px; margin-top: 0; font-size: 22px; }
.role-grid-four article:first-child h3 { max-width: 290px; font-size: 32px; line-height: 1.08; }
.role-grid-four article > small { color: var(--muted); font-size: 12px; line-height: 1.45; }
.role-grid-four article:first-child > small { max-width: 280px; font-size: 14px; }

.module-promise { max-width: 560px; font-size: 25px; line-height: 1.14; }
.single-purpose { grid-template-columns: minmax(0, 1fr); }

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

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

.integration-list span {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  grid-template-rows: auto auto;
  min-width: 0;
  align-items: center;
  gap: 2px 8px;
  border: 1px solid #3ddc9730;
  border-radius: 16px;
  background: #3ddc9709;
  padding: 10px;
}

.integration-list svg { grid-row: 1 / 3; width: 16px; color: var(--green); }
.integration-list b { min-width: 0; font-size: 12px; line-height: 1.18; overflow-wrap: anywhere; }
.integration-list small { color: var(--green); font-size: 10px; }
.integration-list span.is-building { border-color: #ffbf4d2d; background: #ffbf4d08; }
.integration-list .is-building svg, .integration-list .is-building small { color: var(--amber); }

.safe-note,
.ai-control {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.safe-note svg,
.ai-control svg { width: 17px; color: var(--green); flex: 0 0 auto; }
.module-bidder .module-title h3 { font-size: 25px; line-height: 1.08; }

.module-pnl .integration-list,
.module-autocap .integration-list { grid-template-columns: minmax(0, 1fr); }

.ai-section {
  min-height: 700px;
  grid-template-columns: minmax(310px, 0.7fr) minmax(0, 1.3fr);
  gap: 64px;
  background:
    linear-gradient(90deg, #070807 0%, #070807 34%, #0a0d0b 34%, #080908 100%);
  overflow: hidden;
}

.ai-section::after {
  content: "AI";
  position: absolute;
  right: max(22px, calc((100vw - 1180px) / 2));
  bottom: -58px;
  color: transparent;
  font-family: var(--font-display);
  font-size: 230px;
  font-weight: 800;
  line-height: 1;
  -webkit-text-stroke: 1px #d7fb4a0d;
  pointer-events: none;
}

.ai-copy {
  position: relative;
  z-index: 2;
  border-left: 2px solid #d7fb4a78;
  padding-left: 24px;
}

.ai-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.ai-kicker svg { width: 16px; filter: drop-shadow(0 0 6px #d7fb4a8a); }
.ai-copy h2 { max-width: 470px; font-size: 44px; }
.ai-copy > p { max-width: 460px; }

.ai-prompts {
  display: grid;
  gap: 6px;
  margin-top: 28px;
}

.ai-prompts button {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 18px;
  min-height: 52px;
  align-items: center;
  gap: 10px;
  border: 1px solid transparent;
  border-bottom-color: #ffffff12;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  padding: 0 12px 0 8px;
  font-size: 13px;
  font-weight: 780;
  text-align: left;
  cursor: pointer;
  transition: border-color 220ms ease, background 220ms ease, color 220ms ease, transform 220ms ease;
}

.ai-prompts button small {
  color: var(--soft);
  font-size: 10px;
  font-weight: 850;
}

.ai-prompts button svg { width: 15px; opacity: 0; transform: translate(-4px, 4px); transition: opacity 220ms ease, transform 220ms ease; }

.ai-prompts button:hover,
.ai-prompts button:focus-visible,
.ai-prompts button.is-active {
  border-color: #d7fb4a45;
  background: linear-gradient(90deg, #d7fb4a16, #d7fb4a05);
  color: var(--accent);
  outline: none;
  transform: translateX(7px);
}

.ai-prompts button.is-active small { color: var(--accent); }
.ai-prompts button.is-active svg { opacity: 1; transform: translate(0); }
.ai-control { margin-top: 22px; }

.ai-console {
  position: relative;
  z-index: 2;
  min-width: 0;
  min-height: 510px;
  border: 1px solid #d7fb4a30;
  border-top: 2px solid var(--accent);
  border-radius: 24px;
  background:
    linear-gradient(90deg, #ffffff05 1px, transparent 1px),
    linear-gradient(#ffffff04 1px, transparent 1px),
    #0b0e0c;
  background-size: 34px 34px;
  padding: 20px;
  box-shadow: 0 42px 92px #000000cf, 0 0 54px #d7fb4a0a, inset 0 1px 0 #ffffff17;
  overflow: hidden;
}

.ai-console::before {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  z-index: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #d7fb4a70, transparent);
  box-shadow: 0 0 16px #d7fb4a70;
  animation: ai-scan 5.2s ease-in-out infinite;
}

.ai-console-head {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.ai-console-head > span,
.ai-answer > span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid #d7fb4a65;
  border-radius: 12px;
  background: #d7fb4a14;
  color: var(--accent);
  box-shadow: 0 0 22px #d7fb4a16, inset 0 1px 0 #ffffff16;
}

.ai-console-head p { display: grid; gap: 3px; }
.ai-console-head b { font-size: 16px; }
.ai-console-head small { color: var(--soft); font-size: 11px; }
.ai-console-head em { display: inline-flex; align-items: center; gap: 7px; color: var(--green); font-size: 10px; font-style: normal; font-weight: 800; }
.ai-console-head em i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); animation: live-pulse 2.2s ease-out infinite; }

.ai-source-strip {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 20px;
  border-block: 1px solid #ffffff12;
  padding-block: 10px;
}

.ai-source-strip > span {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  gap: 1px 8px;
  min-width: 0;
}

.ai-source-strip svg { grid-row: 1 / 3; width: 16px; color: var(--source-color); }
.ai-source-strip b { font-size: 11px; }
.ai-source-strip small { color: var(--soft); font-size: 9px; }
.ai-source-strip .is-pnl { --source-color: var(--accent); }
.ai-source-strip .is-cap { --source-color: var(--cyan); }
.ai-source-strip .is-bid { --source-color: var(--amber); }

.ai-question {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: end;
  gap: 6px;
  margin: 26px 0 14px 22%;
}

.ai-question span { color: var(--soft); font-size: 9px; font-weight: 850; text-transform: uppercase; }
.ai-question p { border: 1px solid #d7fb4a2e; border-radius: 14px 14px 4px 14px; background: #263719; padding: 11px 14px; color: #f6f8ed; font-size: 13px; box-shadow: 0 14px 30px #00000052; }

.ai-signal-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin: 0 0 12px 59px;
}

.ai-signal-row span {
  overflow: hidden;
  border: 1px solid #ffffff16;
  border-radius: 9px;
  background: #ffffff07;
  color: #cbd2cd;
  padding: 7px 9px;
  font-size: 10px;
  font-weight: 780;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ai-signal-row span:first-child { border-color: #ff647138; color: #ff8b95; }
.ai-signal-row span:nth-child(2) { border-color: #ffbf4d35; color: var(--amber); }
.ai-signal-row span:nth-child(3) { border-color: #34d3e835; color: var(--cyan); }

.ai-answer {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
}

.ai-answer > div {
  border: 1px solid #ffffff17;
  border-radius: 5px 16px 16px;
  background: #151915ed;
  padding: 15px;
  box-shadow: 0 18px 38px #00000070, inset 0 1px 0 #ffffff0e;
}

.ai-answer > div > small { color: var(--accent); font-size: 9px; font-weight: 850; text-transform: uppercase; }
.ai-answer p { min-height: 48px; margin-top: 7px; color: #dbe1dd; font-size: 13px; line-height: 1.5; }

.ai-answer strong {
  display: flex;
  min-height: 42px;
  align-items: center;
  gap: 8px;
  margin-top: 13px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 0 12px;
  font-size: 11px;
}

.ai-answer strong svg { width: 15px; }
.ai-console.is-refreshing .ai-signal-row,
.ai-console.is-refreshing .ai-answer { animation: ai-refresh 360ms ease; }

@keyframes ai-scan {
  0%, 100% { top: 20%; opacity: 0; }
  15%, 82% { opacity: 0.65; }
  88% { top: 88%; opacity: 0; }
}

@keyframes ai-refresh {
  from { opacity: 0.35; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}

.results-section { padding-block: 96px; }
.result-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }

.result-grid article {
  display: grid;
  aspect-ratio: 1;
  place-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #111311;
  padding: 46px;
  text-align: center;
  box-shadow: 0 30px 76px #000000a8, inset 0 1px 0 #ffffff14, inset 0 -38px 64px #00000075;
}

.result-grid article:nth-child(2) { transform: translateY(22px); border-color: #34d3e82b; background: #151715; }
.result-grid article:nth-child(3) { transform: translateY(-10px); border-color: #ffbf4d2b; }
.result-grid strong { color: var(--accent); font-size: 66px; line-height: 0.95; font-weight: 800; }
.result-grid h3 { margin-top: 18px; font-size: 20px; line-height: 1.22; }
.result-grid p { margin-top: 10px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.closing h2 { margin-top: 0; }
.closing > p { width: min(660px, 100%); margin: 18px auto 0; }
.contact-action { width: fit-content; margin: 26px auto 0; }

@keyframes phone-float {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -10px; }
}

@media (max-width: 1060px) {
  .solution-section,
  .telegram-section,
  .ai-section { grid-template-columns: minmax(0, 1fr); }
  .ai-section { min-height: auto; gap: 38px; background: #080a08; }
  .ai-console { width: min(760px, 100%); margin: 0 auto; }
  .solution-connectors { display: none; }
  .solution-route { width: min(680px, 100%); }
  .telegram-stage { width: min(760px, 100%); margin: 0 auto; }
  .role-grid-four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
  }
  .role-grid-four article:nth-child(n),
  .role-grid-four article:first-child {
    grid-row: auto;
    display: flex;
    min-height: 210px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 12px;
    border-radius: 24px;
    padding: 24px;
    transform: none;
  }
  .role-grid-four article:first-child::before { font-size: 58px; }
  .role-grid-four article:first-child h3 { font-size: 25px; }
}

@media (max-width: 760px) {
  .pain-grid-compact { grid-template-columns: minmax(0, 1fr); width: min(390px, 100%); margin-inline: auto; }
  .pain-grid-compact article,
  .pain-grid-compact article:nth-child(n) { transform: none; }
  .solution-copy h2,
  .telegram-copy h2,
  .ai-copy h2 { font-size: 30px; }
  .solution-route { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .solution-route article { min-height: 132px; padding: 18px; }
  .solution-route article:nth-child(2) { transform: none; }
  .solution-route article b { font-size: 15px; }
  .solution-route article > svg { display: none; }
  .telegram-section { min-height: auto; }
  .telegram-stage { min-height: 510px; }
  .telegram-phone { display: none; width: min(310px, calc(100% - 20px)); }
  .telegram-phone.is-active { display: block; }
  .role-grid-four { grid-template-columns: minmax(0, 1fr); }
  .role-grid-four article:nth-child(n),
  .role-grid-four article:first-child { min-height: 180px; border-radius: 22px; }
  .integration-list,
  .integration-list-wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .module-bidder .module-title h3 { font-size: 25px; }
  .ai-prompts { grid-template-columns: minmax(0, 1fr); }
  .ai-section::after { display: none; }
  .ai-copy { padding-left: 18px; }
  .ai-source-strip { gap: 5px; }
  .ai-source-strip > span { grid-template-columns: 22px minmax(0, 1fr); gap: 1px 5px; }
  .ai-source-strip small { display: none; }
  .ai-signal-row { margin-left: 47px; }
  .ai-question { margin-left: 8%; }
  .ai-answer { margin-right: 0; }
  .result-grid { grid-template-columns: minmax(0, 1fr); width: min(390px, 100%); margin-inline: auto; }
  .result-grid article,
  .result-grid article:nth-child(n) { transform: none; }
}

@media (max-width: 430px) {
  .hero-strip small { display: none; }
  .hero-inner { padding-top: 24px; padding-bottom: 16px; }
  .hero-lead { margin-top: 16px; font-size: 17px; line-height: 1.45; }
  .hero-actions { gap: 8px; margin-top: 16px; }
  .hero-strip { margin-top: 12px; }
  .hero-live { margin-top: 12px; }
  .hero-live-head { display: none; }
  .hero-event { min-height: 68px; }
  .buying-tape { display: none; }
  .pain-grid-compact article { padding: 34px; }
  .pain-grid-compact h3 { font-size: 21px; }
  .telegram-phone { border-radius: 30px; }
  .integration-list,
  .integration-list-wide { grid-template-columns: minmax(0, 1fr); }
  .ai-console { padding: 13px; }
  .ai-answer { grid-template-columns: 36px minmax(0, 1fr); }
  .ai-answer > span { width: 36px; height: 36px; }
  .result-grid article { padding: 38px; }
  .result-grid strong { font-size: 58px; }
  .contact-action { width: 100%; justify-content: center; }
}

/* Matte 3D spheres used as functional content surfaces. */
.hero-strip div,
.pain-grid-compact article,
.result-grid article {
  --sphere-rim: #ffffff20;
  --sphere-y: 0px;
  position: relative;
  isolation: isolate;
  overflow: visible;
  border-color: var(--sphere-rim);
  background:
    radial-gradient(circle at 28% 19%, #ffffff17 0%, #ffffff08 15%, transparent 39%),
    radial-gradient(circle at 75% 82%, #000000d9 0%, #00000085 29%, transparent 65%),
    radial-gradient(circle at 45% 38%, #242724 0%, #171917 42%, #0b0c0b 72%, #030403 100%);
  box-shadow:
    inset 22px 18px 44px #ffffff08,
    inset -44px -58px 78px #000000c9,
    inset 0 0 0 1px #ffffff08,
    0 24px 22px -18px #000000f0,
    0 62px 94px -42px #000000f2;
  filter: drop-shadow(0 20px 16px #00000075);
  transform: none;
  translate: 0 var(--sphere-y);
  animation: sphere-drift 7.4s ease-in-out infinite;
  transition: scale 380ms ease, filter 380ms ease, border-color 380ms ease;
}

.hero-strip div::before,
.pain-grid-compact article::before,
.result-grid article::before {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: -11%;
  z-index: 0;
  height: 17%;
  border-radius: 50%;
  background: #000000d6;
  filter: blur(18px);
  transform: scaleY(0.42);
  pointer-events: none;
}

.hero-strip div::after,
.pain-grid-compact article::after,
.result-grid article::after {
  content: "";
  position: absolute;
  inset: 3.5%;
  z-index: 1;
  border: 0;
  border-top: 1px solid #ffffff16;
  border-left: 1px solid #ffffff0b;
  border-radius: 50%;
  background: radial-gradient(ellipse at 31% 18%, #ffffff0b 0%, transparent 34%);
  box-shadow: inset -20px -28px 36px #00000045;
  pointer-events: none;
}

.hero-strip div > *,
.pain-grid-compact article > *,
.result-grid article > * {
  position: relative;
  z-index: 2;
}

.hero-strip div:nth-child(1),
.pain-grid-compact article:nth-child(1),
.result-grid article:nth-child(1) {
  --sphere-rim: #ff64713d;
  --sphere-y: 10px;
}

.hero-strip div:nth-child(2),
.pain-grid-compact article:nth-child(2),
.result-grid article:nth-child(2) {
  --sphere-rim: #34d3e842;
  --sphere-y: -8px;
  background:
    radial-gradient(circle at 28% 19%, #ffffff18 0%, #34d3e808 17%, transparent 40%),
    radial-gradient(circle at 75% 82%, #000000dc 0%, #00000088 31%, transparent 66%),
    radial-gradient(circle at 45% 38%, #252825 0%, #181a18 43%, #0a0c0b 73%, #030403 100%);
}

.hero-strip div:nth-child(3),
.pain-grid-compact article:nth-child(3),
.result-grid article:nth-child(3) {
  --sphere-rim: #ffbf4d3d;
  --sphere-y: 13px;
}

.hero-strip div:nth-child(2),
.pain-grid-compact article:nth-child(2),
.result-grid article:nth-child(2) {
  animation-delay: -2.6s;
}

.hero-strip div:nth-child(3),
.pain-grid-compact article:nth-child(3),
.result-grid article:nth-child(3) {
  animation-delay: -5.1s;
}

@media (hover: hover) {
  .hero-strip div:hover,
  .pain-grid-compact article:hover,
  .result-grid article:hover {
    scale: 1.025;
    filter: drop-shadow(0 28px 22px #00000092);
  }
}

@keyframes sphere-drift {
  0%, 100% { translate: 0 var(--sphere-y); }
  50% { translate: 0 calc(var(--sphere-y) - 11px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-strip div,
  .pain-grid-compact article,
  .result-grid article {
    translate: 0 var(--sphere-y);
  }
}

@media (max-width: 760px) {
  .hero-strip div,
  .pain-grid-compact article,
  .result-grid article {
    --sphere-y: 0px;
    box-shadow:
      inset 16px 14px 34px #ffffff08,
      inset -34px -44px 62px #000000c9,
      inset 0 0 0 1px #ffffff08,
      0 19px 18px -14px #000000ee,
      0 42px 68px -34px #000000e8;
  }
}

@media (max-width: 360px) {
  .hero h1 {
    font-size: 32px;
  }

  .bidder-mode button {
    gap: 0;
    padding-inline: 3px;
    font-size: 8px;
  }

  .bidder-mode button svg {
    display: none;
  }
}

@media (max-width: 1060px) {
  .module-bidder .module-copy > .module-link {
    grid-row: auto;
  }
}

@media (max-width: 430px) {
  .ai-signal-row span {
    display: grid;
    min-height: 42px;
    place-items: center;
    padding: 6px 4px;
    line-height: 1.15;
    text-overflow: clip;
    white-space: normal;
  }
}

@media (max-width: 900px) {
  .pnl-kpi-card {
    gap: 2px;
    padding: 6px 8px;
  }

  .pnl-kpi-card strong {
    font-size: 16px;
  }

  .pnl-kpi-card small,
  .pnl-kpi-card span {
    font-size: 8px;
  }
}

@media (max-width: 430px) {
  .pnl-kpi-card {
    gap: 1px;
    padding: 2px 4px;
  }

  .pnl-kpi-card strong {
    font-size: 9px;
  }

  .pnl-kpi-card small {
    font-size: 6px;
  }

  .pnl-kpi-card span {
    display: none;
  }
}
