:root {
  --bg: #0A0B0E;
  --panel: #111317;
  --elevated: #1A1D23;
  --border: rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.14);
  --text: #F5F5F4;
  --text-dim: #A1A5AD;
  --text-muted: #6B7078;
  --accent: #4ADEDE;
  --accent-dim: rgba(74,222,222,0.14);
  --accent-glow: rgba(74,222,222,0.35);
  --danger: #F97066;
  --success: #7CE38B;

  /* Light inset (kodlog-style product surface on dark) */
  --light-bg: #F6F7F9;
  --light-panel: #FFFFFF;
  --light-border: #E5E7EB;
  --light-text: #0A0B0E;
  --light-text-dim: #4B5563;
  --light-text-muted: #9AA0A8;

  --radius: 4px;
  --radius-lg: 8px;
  --radius-xl: 14px;
  --maxw: 1280px;
  --pad: clamp(20px, 4vw, 48px);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Menlo, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'ss01', 'cv11';
  overflow-x: hidden;
}
::selection { background: var(--accent); color: #0A0B0E; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }

.mono {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--accent); }

h1, h2, h3 { font-weight: 500; letter-spacing: -0.02em; line-height: 1.08; }
h1 { font-size: clamp(40px, 6vw, 80px); font-weight: 400; letter-spacing: -0.035em; }
h2 { font-size: clamp(32px, 4vw, 52px); letter-spacing: -0.025em; }
h3 { font-size: 18px; font-weight: 500; letter-spacing: -0.01em; }

p { color: var(--text-dim); }
.accent { color: var(--accent); }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(10,11,14,0.72);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.header.scrolled { border-bottom-color: var(--border); background: rgba(10,11,14,0.88); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -0.01em; font-size: 16px; }
.logo__mark {
  width: 22px; height: 22px;
  background: var(--accent);
  border-radius: 2px; position: relative;
  display: grid; place-items: center;
}
.logo__mark::before, .logo__mark::after { content: ""; position: absolute; background: #0A0B0E; }
.logo__mark::before { width: 10px; height: 2px; }
.logo__mark::after  { width: 2px; height: 10px; }
.logo__dot { width: 5px; height: 5px; background: var(--accent); border-radius: 50%; margin-left: 4px; animation: pulse 2s infinite; }

.nav { display: flex; gap: 28px; align-items: center; }
.nav a { font-size: 14px; color: var(--text-dim); transition: color 0.2s; }
.nav a:hover { color: var(--text); }

.header__cta { display: flex; align-items: center; gap: 16px; }
.header__status {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 11px; color: var(--text-muted);
  letter-spacing: 0.06em; text-transform: uppercase;
}
.header__status .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--success); box-shadow: 0 0 8px var(--success); animation: pulse 2s infinite; }

.menu-toggle { display: none; width: 32px; height: 32px; position: relative; }
.menu-toggle span { position: absolute; left: 6px; right: 6px; height: 1px; background: var(--text); }
.menu-toggle span:nth-child(1) { top: 12px; }
.menu-toggle span:nth-child(2) { top: 18px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 44px; padding: 0 22px;
  font-size: 14px; font-weight: 500;
  border-radius: var(--radius);
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--accent);
  color: #0A0B0E;
  box-shadow: 0 0 0 0 var(--accent-glow);
}
.btn--primary:hover { background: #6DEDED; box-shadow: 0 0 24px -4px var(--accent-glow); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--text); border: 1px solid var(--border-strong); }
.btn--ghost:hover { border-color: var(--text); background: rgba(255,255,255,0.02); }
.btn--sm { height: 36px; padding: 0 16px; font-size: 13px; }
.btn svg { width: 14px; height: 14px; }

/* ---------- Section ---------- */
section { padding: clamp(80px, 10vw, 140px) 0; position: relative; }
section[data-screen-label] { scroll-margin-top: 80px; }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 64px; flex-wrap: wrap; }
.section-head__meta { flex: 1; min-width: 280px; max-width: 620px; }
.section-head__aside { color: var(--text-dim); max-width: 360px; font-size: 14px; }

/* ---------- Hero ---------- */
.hero { padding-top: 160px; padding-bottom: 80px; position: relative; overflow: hidden; }
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, var(--border) 1px, transparent 1px),
    linear-gradient(to bottom, var(--border) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 80% at 50% 40%, black 30%, transparent 80%);
  opacity: 0.5;
  pointer-events: none;
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.hero__copy { max-width: 620px; }
.hero__tag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 12px 6px 8px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 28px;
}
.hero__tag .pill {
  background: var(--accent-dim); color: var(--accent);
  padding: 2px 8px; border-radius: 100px; font-size: 10px;
}
.hero h1 { margin-bottom: 24px; }
.hero h1 .accent { font-style: italic; font-weight: 300; }
.hero__sub { font-size: 18px; color: var(--text-dim); margin-bottom: 40px; max-width: 540px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__stats {
  display: grid; grid-template-columns: repeat(3, auto);
  gap: 48px; margin-top: 64px; padding-top: 32px;
  border-top: 1px solid var(--border);
}
.hero__stat__num { font-size: 28px; font-weight: 400; letter-spacing: -0.02em; margin-bottom: 4px; }
.hero__stat__num .suffix { color: var(--accent); }
.hero__stat__label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }

/* ---------- Hero visual: light console ---------- */
.hero__visual { position: relative; max-width: 560px; margin-left: auto; width: 100%; }
.console {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.6);
  display: flex; flex-direction: column;
}
.console--light {
  background: var(--light-bg);
  color: var(--light-text);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 0 0 1px var(--accent-dim),
    0 50px 100px -30px rgba(0,0,0,0.8),
    0 0 60px -20px var(--accent-glow);
}
.console__bar {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono); font-size: 11px; color: var(--text-muted);
  letter-spacing: 0.04em;
}
.console__bar--light { border-bottom-color: var(--light-border); background: #FFFFFF; color: var(--light-text-muted); }
.console__dots { display: flex; gap: 5px; }
.console__dots span { width: 8px; height: 8px; border-radius: 50%; background: #D1D5DB; }
.console__title { flex: 1; text-align: center; font-weight: 500; color: var(--light-text-dim); }
.console__live { display: flex; align-items: center; gap: 6px; color: #E11D48; font-weight: 500; }
.console__live .dot { width: 6px; height: 6px; border-radius: 50%; background: #E11D48; animation: pulse 1.5s infinite; }

.agent-panel { padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.agent-panel__head { display: flex; align-items: center; gap: 12px; }
.agent-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent); color: #0A0B0E;
  display: grid; place-items: center;
  box-shadow: 0 0 0 3px var(--accent-dim);
}
.agent-avatar svg { width: 22px; height: 22px; }
.agent-panel__meta { flex: 1; }
.agent-panel__name { font-weight: 600; font-size: 14px; color: var(--light-text); }
.agent-panel__sub { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--light-text-muted); margin-top: 2px; }
.agent-wave { display: flex; gap: 3px; align-items: center; height: 22px; }
.agent-wave span {
  width: 3px; background: var(--accent); border-radius: 2px;
  animation: wave 1s ease-in-out infinite;
}
.agent-wave span:nth-child(1) { animation-delay: 0.0s; height: 30%; }
.agent-wave span:nth-child(2) { animation-delay: 0.1s; height: 60%; }
.agent-wave span:nth-child(3) { animation-delay: 0.2s; height: 90%; }
.agent-wave span:nth-child(4) { animation-delay: 0.3s; height: 70%; }
.agent-wave span:nth-child(5) { animation-delay: 0.4s; height: 100%; }
.agent-wave span:nth-child(6) { animation-delay: 0.5s; height: 50%; }
.agent-wave span:nth-child(7) { animation-delay: 0.3s; height: 80%; }
.agent-wave span:nth-child(8) { animation-delay: 0.2s; height: 40%; }
.agent-wave span:nth-child(9) { animation-delay: 0.1s; height: 65%; }
@keyframes wave { 0%, 100% { transform: scaleY(0.4); } 50% { transform: scaleY(1); } }

.transcript {
  display: flex; flex-direction: column; gap: 10px;
  max-height: 280px; overflow: hidden;
  padding: 4px 0;
}
.msg { display: flex; flex-direction: column; gap: 4px; opacity: 0; animation: slideUp 0.5s ease-out forwards; }
.msg--ai { align-items: flex-start; }
.msg--human { align-items: flex-end; }
.msg__meta {
  font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--light-text-muted);
}
.msg__bubble {
  padding: 10px 14px; border-radius: 12px; font-size: 13px; line-height: 1.45;
  max-width: 85%; letter-spacing: -0.005em;
}
.msg--ai .msg__bubble { background: #0A0B0E; color: #F5F5F4; border-bottom-left-radius: 3px; }
.msg--human .msg__bubble { background: #FFFFFF; border: 1px solid var(--light-border); color: var(--light-text); border-bottom-right-radius: 3px; }

.agent-insights {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--light-border);
  border: 1px solid var(--light-border); border-radius: 8px;
  overflow: hidden;
}
.insight { background: #FFFFFF; padding: 10px 12px; }
.insight__label { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--light-text-muted); margin-bottom: 4px; }
.insight__val { font-size: 13px; font-weight: 500; color: var(--light-text); }
.sentiment--pos { color: #15803D; }

.console__footer {
  padding: 10px 16px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between;
  font-family: var(--font-mono); font-size: 10px; color: var(--text-muted);
  letter-spacing: 0.08em; text-transform: uppercase;
}
.console__footer--light { background: #FFFFFF; border-top-color: var(--light-border); color: var(--light-text-muted); }

.hero__corner { position: absolute; width: 16px; height: 16px; border: 1px solid var(--accent); }
.hero__corner--tl { top: -6px; left: -6px; border-right: 0; border-bottom: 0; }
.hero__corner--tr { top: -6px; right: -6px; border-left: 0; border-bottom: 0; }
.hero__corner--bl { bottom: -6px; left: -6px; border-right: 0; border-top: 0; }
.hero__corner--br { bottom: -6px; right: -6px; border-left: 0; border-top: 0; }

/* ---------- About/Product ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.about__lead { font-size: 24px; line-height: 1.35; letter-spacing: -0.01em; color: var(--text); margin-bottom: 24px; }
.about__body p + p { margin-top: 16px; }
.about__for { display: grid; gap: 12px; }
.about__for-item {
  display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: center;
  padding: 16px 18px;
  border: 1px solid var(--border); border-radius: var(--radius);
  transition: border-color 0.2s;
}
.about__for-item:hover { border-color: var(--border-strong); }
.about__for-num { font-family: var(--font-mono); font-size: 11px; color: var(--accent); letter-spacing: 0.04em; }
.about__for-title { font-weight: 500; font-size: 15px; margin-bottom: 2px; }
.about__for-desc { font-size: 13px; color: var(--text-muted); }

/* ---------- Features ---------- */
.features__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden;
}
.feature {
  background: var(--bg); padding: 36px 32px;
  position: relative; transition: background 0.25s;
  min-height: 260px;
  display: flex; flex-direction: column;
}
.feature:hover { background: var(--panel); }
.feature__num { position: absolute; top: 20px; right: 24px; font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); letter-spacing: 0.04em; }
.feature__icon {
  width: 40px; height: 40px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  display: grid; place-items: center;
  margin-bottom: 28px;
  color: var(--accent);
  transition: all 0.25s;
}
.feature:hover .feature__icon { border-color: var(--accent); background: var(--accent-dim); }
.feature__icon svg { width: 18px; height: 18px; }
.feature__title { font-size: 17px; font-weight: 500; margin-bottom: 10px; letter-spacing: -0.01em; }
.feature__desc { font-size: 14px; color: var(--text-dim); line-height: 1.55; }

/* ---------- Unique / differentiators ---------- */
.unique { background: var(--panel); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.unique__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden;
}
.unique-item {
  background: var(--panel); padding: 28px 24px;
  min-height: 200px;
  display: flex; flex-direction: column;
  position: relative;
  transition: background 0.25s;
}
.unique-item:hover { background: var(--elevated); }
.unique-item__num { font-family: var(--font-mono); font-size: 11px; color: var(--accent); margin-bottom: 16px; letter-spacing: 0.08em; }
.unique-item__title { font-size: 16px; font-weight: 500; margin-bottom: 8px; letter-spacing: -0.01em; }
.unique-item__desc { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

/* ---------- Economics ---------- */
.econ-block {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 36px 32px;
  margin-bottom: 24px;
  background: var(--panel);
}
.econ-block__head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 28px; gap: 32px; flex-wrap: wrap;
  padding-bottom: 20px; border-bottom: 1px solid var(--border);
}
.econ-block__label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.econ-block__result { display: flex; align-items: baseline; gap: 10px; }
.econ-block__result > span:nth-child(2) { font-size: clamp(36px, 4vw, 56px); font-weight: 300; letter-spacing: -0.03em; color: var(--text); }
.econ-block__result__sign { font-size: clamp(36px, 4vw, 56px); color: var(--accent); font-weight: 300; }
.econ-block__result__unit { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }

.econ-compare { display: flex; flex-direction: column; gap: 16px; }
.econ-bar { padding: 20px 4px 0; }
.econ-bar__head {
  display: grid; grid-template-columns: 44px 1fr auto;
  gap: 16px; align-items: center;
  margin-bottom: 12px;
}
.econ-bar__ico {
  width: 44px; height: 44px; border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  display: grid; place-items: center; color: var(--text-dim);
}
.econ-bar__ico--accent { border-color: var(--accent); color: var(--accent); background: var(--accent-dim); }
.econ-bar__ico svg { width: 20px; height: 20px; }
.econ-bar__title { font-weight: 500; font-size: 16px; margin-bottom: 2px; }
.econ-bar__sub { font-size: 12px; color: var(--text-muted); }
.econ-bar__val { font-size: 22px; font-weight: 400; letter-spacing: -0.02em; text-align: right; }
.econ-bar__val span { font-size: 12px; color: var(--text-muted); font-weight: 400; }
.econ-bar__val--accent { color: var(--accent); }
.econ-bar__track {
  height: 12px; background: rgba(255,255,255,0.03);
  border-radius: 100px; overflow: hidden; position: relative;
  border: 1px solid var(--border);
}
.econ-bar__fill { height: 100%; width: 0; border-radius: 100px; transition: width 1.4s cubic-bezier(0.2, 0.9, 0.3, 1); }
.econ-bar__fill--human { background: linear-gradient(90deg, #3A3D44 0%, #6B7078 100%); }
.econ-bar__fill--ai {
  background: linear-gradient(90deg, var(--accent) 0%, color-mix(in oklab, var(--accent) 60%, white) 100%);
  box-shadow: 0 0 20px -4px var(--accent-glow);
}

.econ-errors { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.err-card { padding: 24px 24px 20px; border-radius: var(--radius-lg); border: 1px solid var(--border); }
.err-card--human { background: rgba(249,112,102,0.04); border-color: rgba(249,112,102,0.2); }
.err-card--ai { background: var(--accent-dim); border-color: color-mix(in oklab, var(--accent) 35%, transparent); }
.err-card__title { font-size: 16px; font-weight: 500; margin-bottom: 16px; }
.err-card--human .err-card__title { color: var(--danger); }
.err-card--ai .err-card__title { color: var(--accent); }
.err-card__list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.err-card__list li {
  font-size: 14px; color: var(--text-dim); padding-left: 20px; position: relative;
}
.err-card__list li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 10px; height: 1px; background: currentColor; opacity: 0.4;
}

/* ---------- Case study ---------- */
.case-study__grid { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-xl); overflow: hidden; }
.case-col { background: var(--panel); padding: 32px 28px; }
.case-col--result { background: linear-gradient(180deg, var(--panel) 0%, var(--elevated) 100%); }
.case-col__label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.case-col__dot { width: 8px; height: 8px; border-radius: 50%; }
.case-col__dot--red { background: var(--danger); }
.case-col__dot--accent { background: var(--accent); }
.case-col__dot--green { background: var(--success); }

.case-col__list { display: flex; flex-direction: column; gap: 12px; }
.case-col__item {
  padding: 12px 14px 12px 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px; color: var(--text-dim);
  position: relative;
}
.case-col--problem .case-col__item::before {
  content: ""; position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 6px; height: 6px; border-radius: 50%; background: var(--danger);
}
.case-col--solution .case-col__item::before {
  content: ""; position: absolute; left: 12px; top: 14px;
  width: 10px; height: 10px; border: 1.5px solid var(--accent); border-radius: 50%;
}

.case-col__metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 24px; }
.case-metric { background: var(--panel); padding: 20px; }
.case-metric__val { font-size: clamp(22px, 2.4vw, 30px); font-weight: 400; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 6px; }
.case-metric__label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); }

.case-quote { font-size: 15px; line-height: 1.5; color: var(--text); padding-left: 16px; border-left: 2px solid var(--accent); margin-top: 8px; }
.case-quote__author { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; color: var(--text-muted); margin-top: 12px; padding-left: 16px; }

/* ---------- How it works ---------- */
.how__rail {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px; position: relative;
}
.how-step {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px 24px 24px;
  position: relative;
  min-height: 200px;
  display: flex; flex-direction: column;
  transition: all 0.25s;
}
.how-step:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.how-step__num {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em;
  color: var(--accent); margin-bottom: 16px;
  padding-bottom: 12px; border-bottom: 1px dashed var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.how-step__num::after {
  content: ""; width: 18px; height: 1px; background: var(--border-strong);
}
.how-step__title { font-size: 17px; font-weight: 500; margin-bottom: 10px; letter-spacing: -0.01em; }
.how-step__desc { font-size: 13px; color: var(--text-muted); line-height: 1.55; }
.how-step:not(:last-child)::after {
  content: ""; position: absolute; right: -12px; top: 50%;
  width: 8px; height: 1px; background: var(--accent);
  box-shadow: -14px 0 0 var(--border-strong);
}

/* ---------- Integrations ---------- */
.integrations { background: var(--panel); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.integrations__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: center; }
.integrations__logos {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden;
}
.int-cell {
  background: var(--bg); padding: 28px;
  display: flex; flex-direction: column;
  min-height: 120px; gap: 8px;
  transition: background 0.2s;
}
.int-cell:hover { background: var(--elevated); }
.int-cell__name { font-weight: 500; font-size: 15px; letter-spacing: -0.01em; }
.int-cell__type { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-top: auto; }
.int-cell__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--success); margin-bottom: 8px; }

/* ---------- CTA ---------- */
.cta__inner {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: clamp(40px, 6vw, 72px);
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px;
  align-items: start;
  position: relative; overflow: hidden;
}
.cta__inner::before {
  content: ""; position: absolute; top: 0; right: 0; width: 60%; height: 100%;
  background: radial-gradient(circle at 100% 50%, var(--accent-dim) 0%, transparent 60%);
  pointer-events: none;
}
.cta__copy { position: relative; }
.cta__copy h2 { margin-bottom: 20px; }
.cta__copy p { font-size: 16px; margin-bottom: 32px; max-width: 440px; }
.cta__checklist { display: flex; flex-direction: column; gap: 12px; }
.cta__check { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--text-dim); }
.cta__check svg { width: 14px; height: 14px; color: var(--accent); flex-shrink: 0; }

.form {
  position: relative;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
}
.form__title { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.field { margin-bottom: 16px; }
.field label { display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; background: transparent; border: 0;
  border-bottom: 1px solid var(--border); padding: 10px 0;
  color: var(--text); font: inherit; font-size: 15px;
  transition: border-color 0.2s;
}
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--accent); }
.field input::placeholder, .field textarea::placeholder { color: var(--text-muted); }
.field--error input { border-color: var(--danger); }
.field__error { font-family: var(--font-mono); font-size: 10px; color: var(--danger); margin-top: 4px; letter-spacing: 0.04em; }
.form__submit { width: 100%; margin-top: 16px; }
.form__legal { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.04em; color: var(--text-muted); margin-top: 16px; line-height: 1.5; }
.form__legal a { color: var(--text-dim); border-bottom: 1px solid var(--border); }
.form__success {
  position: absolute; inset: 0; background: var(--bg);
  border-radius: var(--radius-lg);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 16px; padding: 32px; text-align: center;
  animation: fadeIn 0.4s;
}
.form__success-icon { width: 48px; height: 48px; border-radius: 50%; background: var(--accent-dim); color: var(--accent); display: grid; place-items: center; }

/* ---------- Contacts ---------- */
.contacts__grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 48px; }
.contact-item { border-top: 1px solid var(--border); padding-top: 24px; }
.contact-item__label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 12px; }
.contact-item__value { font-size: 22px; font-weight: 400; letter-spacing: -0.01em; color: var(--text); }
.contact-item__value:hover { color: var(--accent); }
.contact-item__sub { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

.map {
  margin-top: 48px; aspect-ratio: 24 / 7;
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(74,222,222,0.04) 0%, transparent 50%),
    radial-gradient(circle at 30% 50%, rgba(74,222,222,0.08) 0%, transparent 40%),
    var(--panel);
  position: relative; overflow: hidden;
}
.map::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, var(--border) 1px, transparent 1px),
    linear-gradient(to bottom, var(--border) 1px, transparent 1px);
  background-size: 40px 40px; opacity: 0.5;
}
.map__pin {
  position: absolute; top: 50%; left: 30%;
  transform: translate(-50%, -50%);
  width: 12px; height: 12px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-dim), 0 0 20px var(--accent-glow);
}
.map__pin::before {
  content: ""; position: absolute; inset: -8px;
  border: 1px solid var(--accent); border-radius: 50%;
  animation: ping 2.4s infinite;
}
.map__label {
  position: absolute; top: calc(50% - 36px); left: 30%;
  transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--bg); border: 1px solid var(--border);
  padding: 6px 10px; border-radius: var(--radius);
  white-space: nowrap; color: var(--text-dim);
}

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 64px 0 32px; margin-top: 40px; }
.footer__top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 56px; }
.footer__brand p { font-size: 13px; color: var(--text-muted); margin-top: 16px; max-width: 320px; }
.footer__col h4 { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); font-weight: 500; margin-bottom: 16px; }
.footer__col a { display: block; font-size: 14px; color: var(--text-dim); padding: 4px 0; transition: color 0.2s; }
.footer__col a:hover { color: var(--accent); }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 1px solid var(--border);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em; color: var(--text-muted);
}
.footer__legal { display: flex; gap: 24px; }

/* ---------- Tweaks panel ---------- */
.tweaks {
  position: fixed; bottom: 20px; right: 20px;
  width: 300px;
  background: var(--panel); border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg); padding: 20px;
  z-index: 100;
  box-shadow: 0 24px 60px -12px rgba(0,0,0,0.6);
  display: none;
  animation: slideUp 0.3s ease-out;
  max-height: calc(100vh - 40px); overflow-y: auto;
}
.tweaks.active { display: block; }
.tweaks__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.tweaks__title { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text); }
.tweaks__row { margin-bottom: 18px; }
.tweaks__label { display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 10px; }
.tweaks__options { display: flex; gap: 6px; flex-wrap: wrap; }
.tweaks__opt {
  flex: 1; min-width: 0; padding: 8px 10px;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--bg);
  font-size: 12px; color: var(--text-dim);
  text-align: center; cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-mono); letter-spacing: 0.04em; text-transform: uppercase;
}
.tweaks__opt:hover { color: var(--text); border-color: var(--border-strong); }
.tweaks__opt.active { background: var(--accent); border-color: var(--accent); color: #0A0B0E; font-weight: 500; }
.tweaks__swatch {
  width: 32px; height: 32px; border-radius: var(--radius); cursor: pointer;
  border: 2px solid transparent; transition: all 0.2s;
  display: grid; place-items: center;
  padding: 3px;
}
.tweaks__swatch.active { border-color: var(--text); }
.tweaks__swatch__inner { width: 100%; height: 100%; border-radius: 2px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Animations ---------- */
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
@keyframes ping { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(3); opacity: 0; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Density variants ---------- */
body[data-density="compact"] section { padding: clamp(60px, 7vw, 100px) 0; }
body[data-density="airy"] section { padding: clamp(100px, 14vw, 180px) 0; }

/* ---------- Feel variants ---------- */
body[data-feel="glass"] .feature,
body[data-feel="glass"] .case-col,
body[data-feel="glass"] .econ-block,
body[data-feel="glass"] .how-step,
body[data-feel="glass"] .cta__inner,
body[data-feel="glass"] .form,
body[data-feel="glass"] .unique-item {
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(20px);
  border-color: rgba(255,255,255,0.06);
}
body[data-feel="glass"] .hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(74,222,222,0.12) 0%, transparent 40%),
    radial-gradient(circle at 20% 80%, rgba(74,222,222,0.08) 0%, transparent 40%);
  pointer-events: none;
}

body[data-feel="editorial"] h1 { font-size: clamp(48px, 8vw, 112px); font-weight: 300; letter-spacing: -0.04em; }
body[data-feel="editorial"] h2 { font-size: clamp(40px, 5.5vw, 72px); font-weight: 300; letter-spacing: -0.035em; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .unique__grid { grid-template-columns: repeat(2, 1fr); }
  .how__rail { grid-template-columns: repeat(2, 1fr); }
  .how-step:not(:last-child)::after { display: none; }
  .case-study__grid { grid-template-columns: 1fr; }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .nav { display: none; }
  .header__status { display: none; }
  .menu-toggle { display: block; }
  .hero__inner, .about__grid, .integrations__grid, .cta__inner, .footer__top { grid-template-columns: 1fr; gap: 48px; }
  .contacts__grid { grid-template-columns: 1fr; gap: 24px; }
  .hero__stats { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .tweaks { width: calc(100vw - 40px); right: 20px; bottom: 20px; max-height: 60vh; }
  .econ-bar__head { grid-template-columns: 40px 1fr; }
  .econ-bar__val { grid-column: 2; text-align: left; margin-top: 4px; font-size: 18px; }
  .econ-errors { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .features__grid { grid-template-columns: 1fr; }
  .unique__grid { grid-template-columns: 1fr; }
  .how__rail { grid-template-columns: 1fr; }
  .hero__stats { grid-template-columns: 1fr; }
  .case-col__metrics { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 12px; align-items: flex-start; }
}
