/*
Theme Name: AI Agents Theme
Theme URI: https://autopilotapp.ru
Author: AI Agents
Description: Child theme with a Cofounder-inspired pixel SaaS homepage and clean blog design.
Version: 2.8.0
Template: twentytwentyfour
Text Domain: ai-agents-theme
*/

:root {
  --ink: #10121f;
  --ink-soft: #34384c;
  --muted: #626a82;
  --paper: #f5f5f2;
  --cream: #f5f5f2;
  --sky: #72c8ff;
  --sky-2: #b8eaff;
  --grass: #73d36e;
  --magenta: #111827;
  --magenta-2: #334155;
  --orange: #f2c14e;
  --mint: #92d65d;
  --blue: #1f9be0;
  --line: rgba(16, 18, 31, 0.12);
  --shadow: 0 24px 70px rgba(28, 42, 73, 0.18);
  --shadow-strong: 0 34px 90px rgba(16, 18, 31, 0.24);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --container: min(1180px, calc(100% - 40px));
  --hero-image: url("assets/img/cofounder-pixel-hero-v2.webp");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 4%, rgba(17, 24, 39, 0.16), transparent 260px),
    linear-gradient(180deg, #9addff 0%, #e9f9ff 34%, #fff6e7 64%, #fffaf2 100%);
  font-family: "Rubik", "Instrument Sans", "Segoe UI", sans-serif;
  line-height: 1.55;
  overflow-x: clip;
}
body.admin-bar .site-nav { top: 32px; }
img, svg, video, canvas { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
h1, h2, h3, h4, h5, h6 {
  font-family: "Rubik", "Instrument Sans", "Segoe UI", sans-serif !important;
}

#particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.2;
  mix-blend-mode: screen;
}
.cf-main, .site-footer { position: relative; z-index: 1; }

.reveal {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
  transition: opacity 0.75s ease, transform 0.75s ease, filter 0.75s ease;
}
.ai-agents-js-ready .reveal {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
}
.reveal.visible, .ai-agents-js-ready .reveal.visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

.site-nav {
  position: fixed;
  top: 16px;
  left: 50%;
  width: min(1120px, calc(100% - 28px));
  transform: translateX(-50%);
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 10px 12px 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 18px 52px rgba(35, 78, 138, 0.18);
  backdrop-filter: blur(22px) saturate(1.2);
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 950;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.logo-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  color: #fff;
  font-size: 0.72rem;
  background: linear-gradient(135deg, var(--ink), #3b2450 45%, var(--magenta));
  box-shadow: 0 10px 26px rgba(17, 24, 39, 0.28);
}
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-links a, .nav-ghost {
  display: inline-flex;
  padding: 10px 13px;
  border-radius: 999px;
  color: rgba(16, 18, 31, 0.72);
  font-size: 0.92rem;
  font-weight: 800;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.nav-links a:hover, .nav-ghost:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.64);
  transform: translateY(-1px);
}
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--ink), var(--magenta));
  box-shadow: 0 14px 32px rgba(17, 24, 39, 0.28);
}
.burger {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 16px;
  background: var(--ink);
  cursor: pointer;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  border-radius: 9px;
  background: #fff;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  position: fixed;
  top: 84px;
  left: 50%;
  z-index: 99;
  width: min(360px, calc(100% - 28px));
  padding: 14px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-strong);
  backdrop-filter: blur(20px);
  transform: translate(-50%, -12px) scale(0.98);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; transform: translate(-50%, 0) scale(1); }
.mobile-menu a {
  display: block;
  padding: 13px 14px;
  border-radius: 16px;
  color: var(--ink);
  font-weight: 900;
}
.mobile-menu a:hover { background: rgba(17, 24, 39, 0.08); }
.mobile-cta { color: #fff !important; background: linear-gradient(135deg, var(--magenta), var(--magenta-2)); }

.floating-cta {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 95;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--ink), var(--magenta));
  box-shadow: 0 18px 46px rgba(17, 24, 39, 0.32);
}
.floating-cta span { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; opacity: 0.76; }
.floating-cta b { font-size: 0.94rem; }

.cf-hero {
  position: relative;
  min-height: 920px;
  padding: 120px 0 70px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(112, 200, 255, 0.16), rgba(255, 255, 255, 0.08) 42%, rgba(255, 247, 230, 0.9)),
    radial-gradient(circle at 76% 24%, rgba(17, 24, 39, 0.22), transparent 250px);
}
.cf-hero::after {
  content: "";
  position: absolute;
  left: -8%;
  right: -8%;
  bottom: -2px;
  height: 180px;
  background:
    linear-gradient(135deg, transparent 25%, rgba(47, 168, 89, 0.2) 25% 50%, transparent 50% 75%, rgba(47, 168, 89, 0.16) 75%) 0 0 / 34px 34px,
    linear-gradient(180deg, rgba(100, 205, 100, 0), rgba(107, 211, 104, 0.86));
  clip-path: polygon(0 22%, 14% 12%, 24% 22%, 34% 10%, 48% 21%, 60% 8%, 72% 20%, 85% 12%, 100% 22%, 100% 100%, 0 100%);
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(460px, 1.1fr);
  gap: 34px;
  align-items: center;
  width: var(--container);
  margin: 0 auto;
}
.hero-copy { padding-top: 38px; }
.eyebrow, .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 10px 14px;
  border: 1px solid rgba(16, 18, 31, 0.12);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 12px 26px rgba(23, 64, 115, 0.08);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.cf-hero h1 {
  max-width: 680px;
  margin: 0;
  color: #fff;
  font-size: clamp(3.25rem, 5.1vw, 5.1rem);
  font-family: "Rubik", "Instrument Sans", "Segoe UI", sans-serif !important;
  font-weight: 950;
  line-height: 0.88;
  letter-spacing: -0.08em;
  text-wrap: balance;
  text-shadow: 0 8px 0 rgba(16, 18, 31, 0.12), 0 24px 48px rgba(15, 37, 76, 0.24);
}
.hero-lead {
  max-width: 660px;
  margin: 26px 0 0;
  color: rgba(16, 18, 31, 0.76);
  font-size: 1.16rem;
  font-weight: 700;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  font-weight: 950;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--magenta), var(--magenta-2));
  box-shadow: 0 18px 38px rgba(17, 24, 39, 0.32);
}
.btn-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(16, 18, 31, 0.12);
  box-shadow: 0 12px 28px rgba(23, 64, 115, 0.1);
}
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.hero-proof span {
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.54);
  color: rgba(16, 18, 31, 0.74);
  font-size: 0.84rem;
  font-weight: 900;
}
.hero-stage {
  position: relative;
  min-height: 620px;
  border-radius: 42px;
  transform-style: preserve-3d;
}
.pixel-scene {
  position: absolute;
  inset: 0;
  border: 10px solid rgba(255, 255, 255, 0.62);
  border-radius: 44px;
  background: var(--hero-image) center / cover no-repeat;
  box-shadow: var(--shadow-strong), inset 0 0 0 1px rgba(16,18,31,0.08);
  image-rendering: auto;
  overflow: hidden;
}
.pixel-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16,18,31,0.02), rgba(255,255,255,0.06), rgba(17, 24, 39, 0.08));
}
.task-card {
  position: absolute;
  z-index: 3;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 10px;
  min-width: 210px;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,0.58);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 44px rgba(16, 18, 31, 0.17);
  backdrop-filter: blur(14px);
  animation: float-card 4.6s ease-in-out infinite;
}
.task-card b { line-height: 1.1; }
.task-card small { grid-column: 2; color: var(--muted); font-weight: 800; }
.task-dot {
  width: 12px;
  height: 12px;
  margin-top: 3px;
  border-radius: 4px;
  background: var(--mint);
  box-shadow: 0 0 0 5px rgba(56, 230, 182, 0.18);
}
.task-dot.active { background: var(--blue); box-shadow: 0 0 0 5px rgba(40, 109, 255, 0.18); }
.task-dot.warn { background: var(--orange); box-shadow: 0 0 0 5px rgba(255, 182, 64, 0.18); }
.task-card-one { top: 58px; left: -32px; }
.task-card-two { right: -24px; top: 260px; animation-delay: -1.2s; }
.task-card-three { left: 54px; bottom: 72px; animation-delay: -2.1s; }
@keyframes float-card { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.hero-orbit span {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: var(--magenta);
  box-shadow: 0 0 0 10px rgba(17, 24, 39, 0.1);
  animation: bob 5s ease-in-out infinite;
}
.hero-orbit span:nth-child(1) { left: 7%; top: 22%; }
.hero-orbit span:nth-child(2) { left: 45%; top: 15%; background: var(--orange); animation-delay: -1.6s; }
.hero-orbit span:nth-child(3) { right: 8%; top: 18%; background: var(--mint); animation-delay: -2.4s; }
.hero-orbit span:nth-child(4) { right: 18%; bottom: 18%; background: var(--blue); animation-delay: -3s; }
@keyframes bob { 50% { transform: translateY(-18px) rotate(10deg); } }

.stack-strip {
  position: relative;
  z-index: 3;
  margin-top: -42px;
  overflow: hidden;
  border-block: 1px solid rgba(16,18,31,0.1);
  background: rgba(255,255,255,0.64);
  backdrop-filter: blur(18px);
}
.stack-track {
  display: flex;
  width: max-content;
  gap: 10px;
  padding: 15px 0;
  animation: marquee 26s linear infinite;
}
.stack-track span {
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255,255,255,0.72);
  font-size: 0.86rem;
  font-weight: 950;
  white-space: nowrap;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.section { width: var(--container); margin: 0 auto; padding: 96px 0; scroll-margin-top: 110px; }
.section-intro { max-width: 760px; margin: 0 auto 42px; text-align: center; }
.section-intro.left { margin-left: 0; text-align: left; }
.section-intro h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.5rem, 5vw, 5.4rem);
  line-height: 0.94;
  letter-spacing: -0.07em;
  text-wrap: balance;
}
.section-intro p {
  max-width: 720px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 1.08rem;
  font-weight: 750;
}
.section-intro.left p { margin-left: 0; }

.build-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.build-card, .metric-card, .case-card, .form-card, .contact-copy {
  border: 1px solid rgba(16,18,31,0.1);
  background: rgba(255, 255, 255, 0.66);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}
.build-card {
  position: relative;
  min-height: 310px;
  padding: 24px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.build-card::before {
  content: "";
  position: absolute;
  inset: auto -20% -24% -20%;
  height: 44%;
  background: radial-gradient(circle, rgba(17, 24, 39, 0.18), transparent 60%);
}
.card-index {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  color: #fff;
  background: var(--ink);
  font-weight: 950;
}
.build-card h3 { margin: 22px 0 10px; font-size: 1.35rem; letter-spacing: -0.03em; }
.build-card p { margin: 0; color: var(--muted); font-weight: 700; }
.mini-flow, .mini-window, .mini-agent, .mini-chart {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  height: 58px;
}
.mini-flow { display: flex; align-items: center; gap: 12px; }
.mini-flow i { flex: 1; height: 16px; border-radius: 8px; background: linear-gradient(90deg, var(--magenta), var(--orange)); }
.mini-window { padding: 10px; border-radius: 16px; background: rgba(16,18,31,0.08); }
.mini-window b { display: block; height: 8px; margin: 6px; border-radius: 10px; background: rgba(16,18,31,0.22); }
.mini-agent i { position: absolute; width: 44px; height: 44px; border-radius: 15px; background: var(--magenta); box-shadow: 70px 8px 0 var(--blue), 140px -2px 0 var(--mint); }
.mini-chart { display: flex; align-items: end; gap: 10px; }
.mini-chart i { flex: 1; height: var(--h); border-radius: 12px 12px 4px 4px; background: linear-gradient(180deg, var(--magenta), var(--magenta-2)); }

.results-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1fr);
  gap: 28px;
  align-items: center;
}
.impact-dashboard {
  padding: 22px;
  border-radius: 32px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 12%, rgba(17, 24, 39, 0.48), transparent 220px),
    linear-gradient(145deg, #131627, #202744 70%, #161827);
  box-shadow: var(--shadow-strong);
  overflow: hidden;
}
.dashboard-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.dashboard-tabs button {
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  color: rgba(255,255,255,0.72);
  background: rgba(255,255,255,0.07);
  cursor: pointer;
  font-weight: 900;
}
.dashboard-tabs button.active { color: #fff; background: linear-gradient(135deg, var(--magenta), var(--magenta-2)); }
.dash-top, .dash-kpis, .bar-stack { position: relative; z-index: 2; }
.dash-top { display: flex; justify-content: space-between; gap: 20px; align-items: end; }
.dash-top span { display: block; color: rgba(255,255,255,0.52); font-weight: 800; }
.dash-top strong { display: block; font-size: clamp(1.7rem, 3vw, 2.7rem); line-height: 0.95; letter-spacing: -0.05em; }
.dash-top b { font-size: 2.4rem; color: var(--mint); }
.dash-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 24px 0; }
.dash-kpis div { padding: 15px; border-radius: 20px; background: rgba(255,255,255,0.09); }
.dash-kpis span, .dash-kpis em { display: block; color: rgba(255,255,255,0.58); font-style: normal; font-weight: 850; }
.dash-kpis strong { display: block; margin: 4px 0; font-size: 1.4rem; }
.bar-stack { display: grid; gap: 14px; }
.bar-row { display: grid; grid-template-columns: 58px 1fr 110px; gap: 10px; align-items: center; color: rgba(255,255,255,0.72); font-size: 0.88rem; font-weight: 850; }
.bar-row i { display: block; height: 14px; border-radius: 99px; background: rgba(255,255,255,0.1); overflow: hidden; }
.bar-row i::before { content: ""; display: block; width: var(--bar); height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--magenta), var(--mint)); transition: width 0.4s ease; }
.metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; }
.metric-card { padding: 24px; border-radius: var(--radius-lg); }
.metric-card span { display: block; color: var(--magenta); font-size: 2.5rem; line-height: 1; font-weight: 950; letter-spacing: -0.06em; }
.metric-card p { margin: 12px 0 0; color: var(--muted); font-weight: 800; }

.service-universe {
  position: relative;
  min-height: 620px;
  border: 1px solid rgba(16,18,31,0.1);
  border-radius: 44px;
  background:
    radial-gradient(circle at 50% 50%, rgba(17, 24, 39, 0.16), transparent 260px),
    linear-gradient(135deg, rgba(255,255,255,0.78), rgba(255,255,255,0.42));
  box-shadow: var(--shadow);
  overflow: hidden;
}
.service-universe::before {
  content: "";
  position: absolute;
  inset: 70px;
  border: 2px dashed rgba(16,18,31,0.12);
  border-radius: 50%;
  animation: spin 28s linear infinite;
}
.service-core {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 220px;
  height: 220px;
  transform: translate(-50%, -50%);
  border: 10px solid rgba(255,255,255,0.68);
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, var(--ink), var(--magenta));
  box-shadow: var(--shadow-strong);
  text-align: center;
}
.service-core span { font-size: 2rem; font-weight: 950; letter-spacing: -0.06em; }
.service-core b { color: rgba(255,255,255,0.7); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; }
.service-bubble {
  position: absolute;
  z-index: 3;
  width: min(300px, 35%);
  padding: 20px;
  border: 1px solid rgba(16,18,31,0.1);
  border-radius: 26px;
  background: rgba(255,255,255,0.76);
  box-shadow: 0 18px 52px rgba(16,18,31,0.12);
  backdrop-filter: blur(14px);
}
.service-bubble h3 { margin: 0 0 8px; font-size: 1.18rem; letter-spacing: -0.04em; }
.service-bubble p { margin: 0; color: var(--muted); font-weight: 750; }
.bubble-one { left: 7%; top: 12%; }
.bubble-two { right: 7%; top: 14%; }
.bubble-three { right: 9%; bottom: 12%; }
.bubble-four { left: 8%; bottom: 12%; }
.bubble-five { left: 50%; top: 8%; transform: translateX(-50%); }
@keyframes spin { to { transform: rotate(360deg); } }

.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.case-card { padding: 24px; border-radius: var(--radius-lg); }
.case-top { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.case-top span { color: var(--muted); font-weight: 900; }
.case-top b { color: var(--magenta); }
.case-card h3 { margin: 30px 0 12px; font-size: 1.5rem; line-height: 1.05; letter-spacing: -0.05em; }
.case-card p { margin: 0; color: var(--muted); font-weight: 750; }
.case-line { height: 12px; margin-top: 26px; border-radius: 99px; background: rgba(16,18,31,0.08); overflow: hidden; }
.case-line i { display: block; width: var(--w); height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--magenta), var(--orange)); }

.message-wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review-shot {
  min-height: 220px;
  padding: 24px;
  border: 1px solid rgba(16,18,31,0.1);
  border-radius: 30px;
  color: var(--ink);
  background: rgba(255,255,255,0.72);
  box-shadow: var(--shadow);
  text-align: left;
  cursor: pointer;
}
.review-shot span { color: var(--magenta); font-weight: 950; }
.review-shot p { margin: 22px 0 0; font-size: 1.25rem; line-height: 1.18; font-weight: 900; letter-spacing: -0.04em; }
.review-lightbox {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(16,18,31,0.54);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.review-lightbox.open { opacity: 1; pointer-events: auto; }
.review-lightbox-card {
  width: min(560px, 100%);
  padding: 28px;
  border-radius: 30px;
  background: #fff;
  box-shadow: var(--shadow-strong);
}
#lightboxClose { float: right; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--ink); color: #fff; cursor: pointer; }
#lightboxText { margin: 52px 0 0; font-size: 1.4rem; font-weight: 850; }

.contact-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(440px, 1fr);
  gap: 22px;
  align-items: stretch;
}
.contact-copy, .form-card { border-radius: 34px; padding: 30px; }
.contact-copy {
  color: #fff;
  background:
    radial-gradient(circle at 20% 20%, rgba(17, 24, 39, 0.42), transparent 230px),
    linear-gradient(145deg, #121525, #263157);
}
.contact-copy .section-kicker { background: rgba(255,255,255,0.12); color: #fff; border-color: rgba(255,255,255,0.18); }
.contact-copy h2 { margin: 16px 0; font-size: clamp(2.4rem, 5vw, 4.8rem); line-height: 0.95; letter-spacing: -0.07em; }
.contact-copy p { color: rgba(255,255,255,0.74); font-weight: 750; }
.contact-note { margin-top: 28px; padding: 18px; border-radius: 22px; background: rgba(255,255,255,0.1); }
.contact-note b, .contact-note span { display: block; }
.contact-note span { margin-top: 4px; color: rgba(255,255,255,0.72); }
.form-card { background: rgba(255,255,255,0.78); }
.brief-block { margin-bottom: 18px; }
.brief-block > span { display: block; margin-bottom: 8px; color: var(--muted); font-weight: 950; }
.brief-options { display: flex; flex-wrap: wrap; gap: 8px; }
.brief-options button {
  flex: 1 1 auto;
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid rgba(16,18,31,0.1);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255,255,255,0.76);
  font-weight: 900;
  cursor: pointer;
}
.brief-options button.active { color: #fff; border-color: transparent; background: linear-gradient(135deg, var(--magenta), var(--magenta-2)); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
label { display: block; color: var(--muted); font-weight: 950; }
input, textarea {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 16px;
  border: 1px solid rgba(16,18,31,0.12);
  border-radius: 18px;
  color: var(--ink);
  background: rgba(255,255,255,0.86);
  outline: none;
}
textarea { resize: vertical; min-height: 130px; }
input:focus, textarea:focus { border-color: rgba(17, 24, 39, 0.56); box-shadow: 0 0 0 4px rgba(17, 24, 39, 0.1); }
.form-submit { width: 100%; margin-top: 16px; }
.form-error { min-height: 22px; margin: 12px 0 0; color: #c71952; font-weight: 850; }
.form-success { padding: 28px; border-radius: 26px; color: #fff; background: linear-gradient(135deg, var(--ink), var(--magenta)); }
.form-success h3 { margin: 0 0 8px; font-size: 2rem; }
.form-success p { margin: 0; }

.site-footer {
  width: var(--container);
  margin: 0 auto;
  padding: 34px 0 46px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  color: rgba(16,18,31,0.7);
  font-weight: 850;
}
.footer-logo { color: var(--ink); font-weight: 950; letter-spacing: -0.05em; }
.footer-links { display: flex; gap: 14px; flex-wrap: wrap; }
.footer-links a:hover { color: var(--magenta); }

.blog-nav { position: sticky; transform: none; left: auto; margin: 14px auto; }
.blog-shell, .single-shell {
  position: relative;
  z-index: 1;
  width: var(--container);
  margin: 0 auto;
  padding: 120px 0 80px;
}
.blog-hero, .single-article {
  padding: 36px;
  border: 1px solid rgba(16,18,31,0.1);
  border-radius: 34px;
  background: rgba(255,255,255,0.72);
  box-shadow: var(--shadow);
}
.blog-hero h1, .single-article h1 { margin: 0; font-size: clamp(2.4rem, 5vw, 4.4rem); line-height: 0.95; letter-spacing: -0.07em; }
.blog-hero p, .single-article p { color: var(--muted); font-weight: 750; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 22px; }
.post-card {
  display: block;
  padding: 24px;
  border: 1px solid rgba(16,18,31,0.1);
  border-radius: 26px;
  background: rgba(255,255,255,0.72);
  box-shadow: var(--shadow);
}
.post-card h2, .post-card h3 { margin-top: 8px; letter-spacing: -0.04em; }
.post-meta, .post-card p { color: var(--muted); }
.post-readmore { color: var(--magenta); font-weight: 950; }

@media (max-width: 1080px) {
  .site-nav { grid-template-columns: auto auto; }
  .nav-links, .nav-actions { display: none; }
  .burger { display: block; justify-self: end; }
  .hero-grid, .results-shell, .contact-shell { grid-template-columns: 1fr; }
  .hero-stage { min-height: 560px; }
  .build-grid { grid-template-columns: repeat(2, 1fr); }
  .service-universe { min-height: auto; display: grid; gap: 12px; padding: 18px; }
  .service-universe::before, .service-core { display: none; }
  .service-bubble { position: static; width: auto; }
  .case-grid, .message-wall, .metric-grid, .blog-grid { grid-template-columns: 1fr; }
}

@media (max-width: 650px) {
  :root { --container: min(100% - 28px, 1180px); }
  body.admin-bar .site-nav { top: 46px; }
  .site-nav { top: 10px; width: calc(100% - 18px); padding: 8px 8px 8px 12px; }
  .cf-hero { min-height: auto; padding: 98px 0 42px; }
  .hero-grid { gap: 22px; width: var(--container); }
  .hero-copy { padding-top: 0; }
  .eyebrow, .section-kicker { font-size: 0.66rem; padding: 8px 10px; }
  .cf-hero h1 {
    font-size: clamp(2.72rem, 11.7vw, 3.28rem);
    line-height: 0.92;
    letter-spacing: -0.072em;
    text-shadow: 0 5px 0 rgba(16,18,31,0.12), 0 18px 34px rgba(15,37,76,0.2);
  }
  .hero-lead { font-size: 1rem; }
  .hero-actions .btn { width: 100%; }
  .hero-stage { min-height: 390px; border-radius: 30px; }
  .pixel-scene { border-width: 6px; border-radius: 30px; background-position: 56% center; }
  .task-card { min-width: 165px; padding: 11px 12px; border-radius: 16px; font-size: 0.82rem; }
  .task-card-one { left: 10px; top: 18px; }
  .task-card-two { right: 8px; top: 156px; }
  .task-card-three { left: 22px; bottom: 18px; }
  .floating-cta { left: 12px; right: 12px; bottom: 12px; justify-content: space-between; }
  .section { padding: 58px 0; }
  .section { scroll-margin-top: 92px; }
  .section-intro { margin-bottom: 26px; }
  .section-intro h2, .contact-copy h2 { font-size: clamp(2.35rem, 12vw, 3.4rem); }
  .build-grid { grid-template-columns: 1fr; }
  .build-card { min-height: 260px; }
  .dash-kpis { grid-template-columns: 1fr; }
  .bar-row { grid-template-columns: 44px 1fr; }
  .bar-row b { grid-column: 2; }
  .contact-copy, .form-card, .blog-hero, .single-article { padding: 20px; border-radius: 26px; }
  .form-row { grid-template-columns: 1fr; }
  .site-footer { display: block; padding-bottom: 96px; }
  .footer-links { margin-top: 12px; }
}

/* Evidence-led content, accessible forms and lighter mobile scenes */
.outcome-map {
  padding: clamp(24px, 4vw, 42px);
}

.outcome-label {
  display: block;
  margin-bottom: 18px;
  color: var(--pixel-lime);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.outcome-map ol {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.outcome-map li {
  display: grid;
  grid-template-columns: minmax(150px, 0.42fr) minmax(0, 1fr);
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.outcome-map li span { color: var(--ops-muted); }
.metric-card span { font-size: clamp(1.8rem, 3vw, 2.8rem); }
.real-case-grid .case-card { min-height: 350px; }
.real-case-grid .aa-text-link { margin-top: auto; color: var(--pixel-lime); }
.review-shot { cursor: default; text-align: left; }
.review-shot small { display: block; margin-top: auto; padding-top: 20px; }
.optional { color: #65727a; font-size: 0.72rem; font-weight: 700; }
.form-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; }
.privacy-consent {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: flex-start;
  gap: 10px !important;
  font-size: 0.76rem !important;
  line-height: 1.45;
}
.privacy-consent input { flex: 0 0 auto; width: 18px !important; min-height: 18px !important; margin-top: 1px; }
.privacy-consent a { color: inherit; text-decoration: underline; }

@media (max-width: 720px) {
  :root {
    --hero-image: url("assets/img/cofounder-pixel-hero-v2-mobile.webp");
    --ops-build-bg: url("assets/img/section-build-bg-mobile.webp");
    --ops-results-bg: url("assets/img/section-results-bg-mobile.webp");
    --ops-services-bg: url("assets/img/section-services-bg-mobile.webp");
    --ops-cases-bg: url("assets/img/section-cases-bg-mobile.webp");
    --ops-reviews-bg: url("assets/img/section-reviews-bg-mobile.webp");
    --ops-contact-bg: url("assets/img/section-contact-bg-mobile.webp");
  }

  .section { padding-top: 70px; padding-bottom: 70px; }
  .outcome-map li { grid-template-columns: 1fr; gap: 6px; padding: 16px 0; }
  .metric-card { min-height: 220px; padding-top: 64px; }
  .real-case-grid .case-card { min-height: 0; }
  .message-wall { gap: 10px; }
  .review-shot { min-height: 0; }

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

  .build-card {
    min-height: 235px;
    padding: 18px;
    border-radius: 8px;
  }

  .build-card h3 { font-size: 1.15rem; }
  .build-card p { font-size: 0.84rem; }

  .metric-grid,
  .case-grid,
  .message-wall,
  .aa-home-services-grid {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .metric-card,
  .case-card,
  .review-shot,
  .aa-home-services-grid .aa-service-card {
    flex: 0 0 min(82vw, 340px);
    scroll-snap-align: start;
  }

  .metric-card { min-height: 250px; padding: 70px 22px 24px; }
  .case-card { min-height: 330px; }
  .review-shot { min-height: 360px; }
  .aa-home-services-grid .aa-service-card { min-height: 300px; }

  .aa-home-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .aa-home-category-grid a {
    aspect-ratio: 1.15;
    min-height: 138px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Cofounder closer pass */
body {
  background: #071218;
  font-family: "Instrument Sans", "Segoe UI", sans-serif;
}
.cf-main {
  background: #071218;
}
.site-nav {
  top: 26px;
  width: min(1396px, calc(100% - 40px));
  grid-template-columns: auto 1fr auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}
.nav-logo {
  gap: 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.52rem;
  font-weight: 500;
  letter-spacing: -0.06em;
  text-shadow: 0 2px 8px rgba(0,0,0,0.16);
}
.logo-mark { display: none; }
.nav-links {
  justify-self: center;
  gap: 0;
  padding: 6px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  background: rgba(22, 32, 38, 0.44);
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  backdrop-filter: blur(12px);
}
.nav-links a,
.nav-ghost {
  color: #fff;
  padding: 10px 18px;
  border-radius: 5px;
  font-weight: 500;
  text-shadow: 0 1px 4px rgba(0,0,0,0.22);
}
.nav-links a:hover,
.nav-ghost:hover {
  color: #fff;
  background: rgba(255,255,255,0.12);
}
.nav-ghost {
  background: rgba(22, 32, 38, 0.44);
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(12px);
}
.nav-cta {
  min-height: 43px;
  color: #111827;
  background: rgba(255,255,255,0.94);
  box-shadow: 0 8px 22px rgba(0,0,0,0.13);
  font-weight: 600;
}
.cf-hero {
  min-height: 100vh;
  padding: 132px 0 0;
  background:
    linear-gradient(90deg, rgba(31,155,224,0.94) 0%, rgba(31,155,224,0.64) 34%, rgba(31,155,224,0.08) 62%, rgba(31,155,224,0) 100%),
    var(--hero-image) center bottom / cover no-repeat;
}
.cf-hero::after {
  height: 0;
  background: none;
}
.hero-grid {
  width: min(1396px, calc(100% - 40px));
  grid-template-columns: minmax(0, 580px) 1fr;
  gap: 26px;
  align-items: start;
}
.hero-copy { padding-top: 18px; }
.eyebrow,
.section-kicker {
  padding: 0;
  border: 0;
  border-radius: 0;
  color: rgba(255,255,255,0.92);
  background: transparent;
  box-shadow: none;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: none;
}
.cf-hero h1 {
  max-width: 650px;
  font-family: "Instrument Sans", "Segoe UI", sans-serif !important;
  font-size: clamp(3.2rem, 4.6vw, 4.62rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.055em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.hero-lead {
  max-width: 560px;
  margin-top: 24px;
  color: rgba(255,255,255,0.92);
  font-size: 1rem;
  font-weight: 700;
  text-shadow: 0 1px 5px rgba(0,0,0,0.18);
}
.hero-actions { margin-top: 26px; }
.btn {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 7px;
  font-weight: 500;
}
.btn-primary,
.btn-secondary {
  color: #111827;
  background: rgba(255,255,255,0.94);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}
.btn-secondary {
  color: #fff;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(10px);
}
.hero-proof { margin-top: 32px; }
.hero-proof span {
  color: rgba(255,255,255,0.9);
  background: rgba(18, 33, 39, 0.32);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
}
.hero-stage {
  min-height: 610px;
  border-radius: 0;
}
.pixel-scene { display: none; }
.task-card {
  min-width: 248px;
  padding: 12px 14px;
  border-color: rgba(255,255,255,0.14);
  border-radius: 7px;
  color: #fff;
  background: rgba(22, 48, 38, 0.56);
  box-shadow: 0 14px 34px rgba(0,0,0,0.16);
  backdrop-filter: blur(10px);
}
.task-card b { font-weight: 700; }
.task-card small { color: rgba(255,255,255,0.86); }
.task-card-one { top: 250px; left: 18%; }
.task-card-two { top: 304px; right: 28%; }
.task-card-three { left: 8%; bottom: 128px; }
.task-dot { border-radius: 50%; background: #92d65d; box-shadow: 0 0 0 4px rgba(146,214,93,0.18); }
.task-dot.active { background: #92d65d; box-shadow: 0 0 0 4px rgba(146,214,93,0.18); }
.task-dot.warn { background: #f2c14e; box-shadow: 0 0 0 4px rgba(242,193,78,0.18); }
.hero-orbit { display: none; }
.stack-strip {
  margin-top: 0;
  border-block: 1px solid rgba(17,24,39,0.08);
  background: #f5f5f2;
  backdrop-filter: none;
}
.stack-track span {
  color: #111827;
  background: #fff;
  border: 1px solid rgba(17,24,39,0.08);
  font-weight: 650;
}
.floating-cta {
  color: #111827;
  background: rgba(255,255,255,0.92);
  border-color: rgba(17,24,39,0.08);
  box-shadow: 0 12px 32px rgba(0,0,0,0.14);
}
.floating-cta span { color: #64748b; opacity: 1; }
.service-core,
.contact-copy,
.form-success,
.impact-dashboard {
  background: linear-gradient(145deg, #14212a, #263f49) !important;
}
.dashboard-tabs button.active,
.brief-options button.active,
.mobile-cta {
  background: #111827 !important;
}
.metric-card span,
.case-top b,
.review-shot span,
.post-readmore,
.footer-links a:hover { color: #2f6f3e !important; }
.case-line i,
.bar-row i::before,
.mini-flow i,
.mini-chart i { background: linear-gradient(90deg, #2f6f3e, #92d65d) !important; }

@media (max-width: 1080px) {
  .site-nav {
    grid-template-columns: auto auto;
    top: 18px;
    padding: 0 20px;
  }
  .nav-logo { color: #fff; }
  .burger { background: rgba(22,32,38,0.58); border: 1px solid rgba(255,255,255,0.18); backdrop-filter: blur(10px); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-stage { display: none; }
}
@media (max-width: 650px) {
  .cf-hero {
    min-height: 844px;
    padding: 98px 0 0;
    background:
      linear-gradient(180deg, rgba(31,155,224,0.98) 0%, rgba(31,155,224,0.82) 34%, rgba(31,155,224,0.28) 64%, rgba(31,155,224,0.02) 100%),
      var(--hero-image) 44% bottom / auto 78% no-repeat,
      #209be0;
  }
  .site-nav { width: 100%; left: 0; transform: none; padding: 0 21px; }
  .nav-logo { font-size: 1.38rem; }
  .nav-cta { display: inline-flex; }
  .cf-hero h1 {
    max-width: 350px;
    font-size: clamp(2.1rem, 9vw, 2.65rem);
    line-height: 1.08;
    letter-spacing: -0.05em;
  }
  .hero-lead { max-width: 330px; font-size: 0.98rem; }
  .hero-actions { display: flex; gap: 10px; flex-wrap: nowrap; }
  .hero-actions .btn { width: auto; flex: 1 1 0; padding: 0 10px; font-size: 0.92rem; }
  .hero-proof { display: none; }
  .floating-cta { display: none; }
}

/* Cofounder mobile/nav polish */
.floating-cta { display: none !important; }
@media (max-width: 650px) {
  .site-nav {
    grid-template-columns: auto 1fr auto;
    gap: 10px;
    top: 12px;
    width: calc(100% - 20px);
    left: 10px;
    padding: 8px;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 18px;
    background: rgba(8, 19, 22, 0.78);
    box-shadow: 0 18px 44px rgba(0,0,0,0.22);
    backdrop-filter: blur(18px) saturate(1.15);
  }
  .nav-logo { font-size: 1.22rem; }
  .nav-actions {
    display: flex;
    justify-self: end;
    gap: 0;
  }
  .nav-ghost { display: none; }
  .nav-cta {
    display: inline-flex;
    min-height: 42px;
    padding: 0 15px;
    border-radius: 8px;
    font-size: 0.92rem;
    white-space: nowrap;
  }
  .burger {
    width: 44px;
    height: 44px;
    justify-self: end;
    background: rgba(255,255,255,0.1);
  }
}
/* AI operations room sections */
:root {
  --ops-bg: #0f1c24;
  --ops-bg-2: #172b34;
  --ops-line: rgba(207, 230, 218, 0.14);
  --ops-glass: rgba(14, 30, 38, 0.72);
  --ops-glass-2: rgba(255,255,255,0.08);
  --ops-text: #f7fbf7;
  --ops-muted: rgba(232, 244, 235, 0.72);
  --ops-lime: #92d65d;
  --ops-yellow: #f2c14e;
  --ops-blue: #64b8e8;
  --ops-build-bg: url("assets/img/section-build-bg.webp");
  --ops-results-bg: url("assets/img/section-results-bg.webp");
  --ops-services-bg: url("assets/img/section-services-bg.webp");
  --ops-cases-bg: url("assets/img/section-cases-bg.webp");
  --ops-reviews-bg: url("assets/img/section-reviews-bg.webp");
  --ops-contact-bg: url("assets/img/section-contact-bg.webp");
}

.build-section,
.results-section,
.services-section,
.cases-section,
.reviews-section,
.contact-section {
  position: relative;
  width: min(1396px, calc(100% - 40px));
  margin-top: 70px;
  padding: 86px 72px;
  border: 1px solid rgba(16, 30, 38, 0.1);
  border-radius: 38px;
  overflow: hidden;
  box-shadow: 0 34px 95px rgba(17, 24, 39, 0.13);
  background: rgba(255,255,255,0.72);
}
.build-section::before,
.results-section::before,
.services-section::before,
.cases-section::before,
.reviews-section::before,
.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.96;
}
.build-section > *,
.results-section > *,
.services-section > *,
.cases-section > *,
.reviews-section > *,
.contact-section > * {
  position: relative;
  z-index: 1;
}
.build-section {
  color: var(--ops-text);
  background: linear-gradient(145deg, #0f2028, #20333b 58%, #14252c);
}
.build-section::before {
  background:
    radial-gradient(circle at 22% 22%, rgba(100,184,232,0.22), transparent 290px),
    radial-gradient(circle at 84% 18%, rgba(146,214,93,0.16), transparent 260px),
    linear-gradient(90deg, transparent 0 31px, rgba(255,255,255,0.04) 32px 33px, transparent 34px) 0 0/34px 34px,
    linear-gradient(0deg, transparent 0 31px, rgba(255,255,255,0.035) 32px 33px, transparent 34px) 0 0/34px 34px;
}
.results-section {
  color: var(--ops-text);
  background:
    linear-gradient(90deg, rgba(11, 25, 33, 0.94), rgba(11,25,33,0.72) 46%, rgba(11,25,33,0.34)),
    var(--ops-results-bg) center / cover no-repeat;
}
.services-section {
  color: var(--ops-text);
  background:
    linear-gradient(180deg, rgba(10, 21, 28, 0.86), rgba(10, 21, 28, 0.64)),
    var(--ops-services-bg) center / cover no-repeat;
}
.cases-section,
.reviews-section {
  color: var(--ops-text);
  background:
    radial-gradient(circle at 80% 10%, rgba(146,214,93,0.15), transparent 340px),
    linear-gradient(145deg, #101f27, #182d36 60%, #0f1b22);
}
.contact-section {
  color: var(--ops-text);
  background:
    linear-gradient(90deg, rgba(9, 20, 27, 0.92), rgba(9,20,27,0.62) 48%, rgba(9,20,27,0.24)),
    var(--ops-contact-bg) center / cover no-repeat;
}
.section-intro h2,
.results-section .section-intro h2,
.services-section .section-intro h2,
.cases-section .section-intro h2,
.reviews-section .section-intro h2,
.contact-section .contact-copy h2 {
  color: inherit;
  font-weight: 430;
  letter-spacing: -0.065em;
}
.build-section .section-intro p,
.results-section .section-intro p,
.services-section .section-intro p,
.cases-section .section-intro p,
.reviews-section .section-intro p {
  color: var(--ops-muted);
}
.build-section .section-kicker,
.results-section .section-kicker,
.services-section .section-kicker,
.cases-section .section-kicker,
.reviews-section .section-kicker,
.contact-section .section-kicker {
  color: var(--ops-muted);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  padding: 9px 13px;
}

.build-card,
.metric-card,
.case-card,
.review-shot,
.form-card {
  border-color: rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.1);
  box-shadow: 0 22px 60px rgba(0,0,0,0.2);
  backdrop-filter: blur(18px);
}
.build-card h3,
.case-card h3,
.review-shot p { color: var(--ops-text); }
.build-card p,
.case-card p,
.metric-card p { color: var(--ops-muted); }
.card-index {
  color: #101827;
  background: var(--ops-lime);
  box-shadow: 0 0 0 6px rgba(146,214,93,0.12);
}
.build-card::before {
  background: radial-gradient(circle, rgba(146,214,93,0.15), transparent 62%);
}
.mini-window,
.mini-flow i,
.mini-chart i,
.mini-agent i {
  filter: saturate(0.95);
}

.impact-dashboard {
  background: rgba(8, 19, 26, 0.78) !important;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 28px 80px rgba(0,0,0,0.34);
  backdrop-filter: blur(18px);
}
.dashboard-tabs button {
  color: rgba(255,255,255,0.72);
  background: rgba(255,255,255,0.08);
}
.dashboard-tabs button.active {
  color: #101827;
  background: var(--ops-lime) !important;
}
.dash-top b,
.metric-card span,
.case-top b,
.review-shot span {
  color: var(--ops-lime) !important;
}
.metric-card {
  min-height: 180px;
}
.metric-card span {
  font-weight: 760;
}

.service-universe {
  min-height: 680px;
  border-color: rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06), 0 28px 80px rgba(0,0,0,0.25);
  backdrop-filter: blur(16px);
}
.service-universe::before {
  border-color: rgba(146,214,93,0.24);
}
.service-core {
  color: #101827;
  background: radial-gradient(circle at 30% 20%, #f7fff1, var(--ops-lime)) !important;
  box-shadow: 0 0 0 12px rgba(146,214,93,0.1), 0 24px 70px rgba(0,0,0,0.28);
}
.service-core b { color: rgba(16,24,39,0.64); }
.service-bubble {
  border-color: rgba(255,255,255,0.14);
  color: var(--ops-text);
  background: rgba(9, 22, 30, 0.66);
  box-shadow: 0 24px 70px rgba(0,0,0,0.25);
}
.service-bubble h3 { color: var(--ops-text); }
.service-bubble p { color: var(--ops-muted); }

.case-card,
.review-shot {
  background: rgba(255,255,255,0.09);
}
.case-top span { color: rgba(255,255,255,0.62); }
.case-line { background: rgba(255,255,255,0.12); }
.case-line i,
.bar-row i::before,
.mini-flow i,
.mini-chart i {
  background: linear-gradient(90deg, #2f8f4e, var(--ops-lime)) !important;
}
.message-wall { align-items: stretch; }
.review-shot { color: var(--ops-text); }

.contact-shell {
  grid-template-columns: minmax(0, 0.78fr) minmax(480px, 1fr);
}
.contact-copy {
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(8, 18, 25, 0.72) !important;
  backdrop-filter: blur(18px);
}
.contact-copy p,
.contact-note span { color: var(--ops-muted); }
.contact-note { background: rgba(255,255,255,0.08); }
.form-card {
  color: var(--ops-text);
  background: rgba(255,255,255,0.12);
}
.brief-block > span,
label { color: var(--ops-muted); }
.brief-options button {
  color: var(--ops-text);
  border-color: rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.08);
}
.brief-options button.active {
  color: #101827;
  background: var(--ops-lime) !important;
}
input,
textarea {
  color: var(--ops-text);
  border-color: rgba(255,255,255,0.13);
  background: rgba(5, 15, 22, 0.58);
}
input::placeholder,
textarea::placeholder { color: rgba(232,244,235,0.48); }
.form-submit {
  color: #101827;
  background: var(--ops-lime);
  box-shadow: 0 16px 36px rgba(146,214,93,0.16);
}
.form-error { color: #f2c14e; }

@media (max-width: 1080px) {
  .build-section,
  .results-section,
  .services-section,
  .cases-section,
  .reviews-section,
  .contact-section {
    padding: 58px 24px;
  }
  .contact-shell { grid-template-columns: 1fr; }
}
@media (max-width: 650px) {
  .build-section,
  .results-section,
  .services-section,
  .cases-section,
  .reviews-section,
  .contact-section {
    width: calc(100% - 20px);
    margin-top: 22px;
    padding: 42px 14px;
    border-radius: 26px;
  }
  .service-universe { padding: 10px; }
  .service-bubble { background: rgba(9, 22, 30, 0.72); }
  .contact-copy,
  .form-card { padding: 18px; }
}

@media (max-width: 650px) {
  .service-universe {
    display: grid;
    gap: 12px;
    min-height: auto;
    padding: 14px;
  }
  .service-universe::before,
  .service-core {
    display: none;
  }
  .service-bubble,
  .bubble-one,
  .bubble-two,
  .bubble-three,
  .bubble-four,
  .bubble-five {
    position: static;
    width: auto;
    transform: none;
  }
}

/* Pixel product reference pass */
:root {
  --pixel-glass: rgba(7, 31, 42, 0.78);
  --pixel-glass-strong: rgba(5, 23, 33, 0.88);
  --pixel-line: rgba(188, 239, 255, 0.28);
  --pixel-lime: #9bea5d;
  --pixel-lime-2: #64d15a;
  --pixel-blue: #0d91de;
  --pixel-deep: #061724;
}

body {
  background: #061724;
}

.site-nav {
  width: min(1360px, calc(100% - 48px));
  top: 24px;
}

.nav-logo {
  display: grid;
  gap: 0;
  color: #fff;
  line-height: 0.9;
}

.nav-logo span:last-child::after {
  content: "AI, боты, парсеры и веб-системы";
  display: block;
  margin-top: 7px;
  font-family: "Rubik", "Instrument Sans", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  opacity: 0.98;
}

.nav-links {
  padding: 7px;
  border-color: rgba(188, 239, 255, 0.18);
  border-radius: 9px;
  background: rgba(3, 42, 68, 0.6);
  box-shadow: 0 14px 38px rgba(0, 42, 82, 0.22), inset 0 0 0 1px rgba(255,255,255,0.04);
}

.nav-links a {
  position: relative;
  padding: 12px 22px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 4px;
  height: 3px;
  border-radius: 999px;
  background: var(--pixel-lime);
  box-shadow: 0 0 16px rgba(155,234,93,0.62);
  transform: scaleX(0);
  transition: transform 0.28s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.site-nav.is-scrolled {
  background: rgba(3, 25, 38, 0.32);
}

.site-nav.is-floating-away {
  transform: translateX(-50%) translateY(-8px);
}

.nav-ghost {
  border-radius: 9px;
  background: rgba(3, 42, 68, 0.7);
}

.nav-ghost::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--pixel-lime);
  box-shadow: 0 0 0 6px rgba(155,234,93,0.14), 0 0 18px rgba(155,234,93,0.7);
  vertical-align: -1px;
}

.nav-cta,
.form-submit,
.brief-options button.active,
.dashboard-tabs button.active {
  color: #071624 !important;
  background: linear-gradient(135deg, #d9ff83, var(--pixel-lime)) !important;
  box-shadow: 0 16px 34px rgba(155,234,93,0.22), inset 0 -2px 0 rgba(12,47,30,0.14);
}

.cf-hero {
  background:
    linear-gradient(90deg, rgba(23,152,220,0.9) 0%, rgba(23,152,220,0.46) 45%, rgba(23,152,220,0.06) 70%),
    var(--hero-image) center bottom / cover no-repeat;
}

.build-section,
.results-section {
  width: min(100%, 100%);
  margin-top: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.build-section {
  min-height: 880px;
  padding: 118px max(42px, calc((100vw - 1396px) / 2)) 82px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(4, 123, 197, 0.04), rgba(7, 23, 36, 0.10) 48%, rgba(7, 23, 36, 0.36) 100%),
    var(--ops-build-bg) center bottom / cover no-repeat;
}

.build-section::before {
  opacity: 1;
  background:
    radial-gradient(circle at 9% 18%, rgba(255,255,255,0.7) 0 2px, transparent 3px),
    radial-gradient(circle at 64% 14%, rgba(255,255,255,0.75) 0 2px, transparent 3px),
    radial-gradient(circle at 86% 22%, rgba(155,234,93,0.42) 0 2px, transparent 3px),
    linear-gradient(180deg, rgba(0, 103, 178, 0.08), rgba(2, 30, 43, 0.28));
  animation: pixel-sky-drift 14s ease-in-out infinite alternate;
}

.build-section .section-intro {
  max-width: 1080px;
  margin-bottom: 42px;
  text-align: left;
}

.build-section .section-kicker,
.results-section .section-kicker,
.contact-section .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  background: rgba(14, 80, 120, 0.35);
  border: 1px solid rgba(188,239,255,0.28);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04), 0 16px 38px rgba(4, 31, 48, 0.16);
}

.build-section .section-kicker::before,
.results-section .section-kicker::before,
.contact-section .section-kicker::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: var(--pixel-lime);
  box-shadow: 0 0 0 5px rgba(155,234,93,0.14), 0 0 18px rgba(155,234,93,0.72);
  transform: rotate(45deg);
}

.build-section .section-intro h2 {
  max-width: 980px;
  margin-inline: auto;
  color: #fff;
  text-align: center;
  font-size: clamp(3.8rem, 6.3vw, 6.7rem);
  line-height: 0.93;
  letter-spacing: -0.075em;
  text-shadow: 0 4px 18px rgba(0, 54, 94, 0.34);
}

.build-section .section-intro p {
  max-width: 800px;
  margin: 28px auto 0;
  color: rgba(255,255,255,0.9);
  text-align: center;
  font-size: clamp(1.08rem, 1.5vw, 1.32rem);
}

.build-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 24px;
}

.build-card {
  min-height: 390px;
  padding: 28px;
  border: 1px solid var(--pixel-line);
  border-radius: 28px;
  color: #fff;
  background:
    linear-gradient(160deg, rgba(13, 67, 85, 0.84), rgba(4, 29, 32, 0.88) 70%),
    radial-gradient(circle at 72% 86%, rgba(155,234,93,0.16), transparent 180px);
  box-shadow: 0 22px 70px rgba(0, 35, 50, 0.38), inset 0 1px 0 rgba(255,255,255,0.1);
  backdrop-filter: blur(18px) saturate(1.2);
  transform: translateY(0);
  transition: transform 0.42s ease, box-shadow 0.42s ease, border-color 0.42s ease;
  animation: pixel-card-float 7s ease-in-out infinite;
}

.build-card:nth-child(2) { animation-delay: -1.2s; }
.build-card:nth-child(3) { animation-delay: -2.4s; }
.build-card:nth-child(4) { animation-delay: -3.6s; }

.build-card:hover {
  transform: translateY(-12px);
  border-color: rgba(189,255,111,0.74);
  box-shadow: 0 34px 100px rgba(3, 62, 80, 0.46), 0 0 0 1px rgba(155,234,93,0.18);
}

.build-card::before {
  inset: auto 22px 22px auto;
  width: 150px;
  height: 110px;
  opacity: 0.42;
  background:
    linear-gradient(90deg, rgba(155,234,93,0.2) 50%, transparent 0) 0 0/18px 18px,
    radial-gradient(circle, rgba(155,234,93,0.18), transparent 64%);
}

.card-index {
  width: 58px;
  height: 58px;
  border: 1px solid rgba(178,255,104,0.55);
  border-radius: 12px;
  color: #102130;
  background: linear-gradient(135deg, #d8ff78, var(--pixel-lime));
  font-size: 1.25rem;
  box-shadow: 0 0 0 7px rgba(155,234,93,0.16), 0 0 24px rgba(155,234,93,0.58);
  animation: index-pulse 2.8s ease-in-out infinite;
}

.build-card h3 {
  margin-top: 26px;
  font-size: clamp(1.45rem, 1.8vw, 1.8rem);
}

.build-card p {
  color: rgba(238,248,244,0.84);
  font-size: 1.02rem;
}

.mini-flow,
.mini-window,
.mini-agent,
.mini-chart {
  margin-top: auto;
}

.results-section {
  min-height: 900px;
  padding: 112px max(42px, calc((100vw - 1396px) / 2)) 88px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(6, 35, 69, 0.72), rgba(6, 35, 69, 0.28) 52%, rgba(5, 22, 35, 0.16)),
    var(--ops-results-bg) center bottom / cover no-repeat;
}

.results-section::before {
  opacity: 1;
  background:
    linear-gradient(90deg, rgba(6,18,28,0.18) 0 1px, transparent 1px 100%) 0 0/34px 34px,
    linear-gradient(0deg, rgba(6,18,28,0.18) 0 1px, transparent 1px 100%) 0 0/34px 34px,
    radial-gradient(circle at 6% 86%, rgba(155,234,93,0.18), transparent 280px);
}

.results-shell {
  grid-template-columns: minmax(380px, 0.9fr) minmax(520px, 1.05fr);
  gap: 54px;
}

.results-section .section-intro h2 {
  color: #fff;
  font-size: clamp(4rem, 6.7vw, 7.2rem);
  line-height: 0.94;
  letter-spacing: -0.085em;
  text-shadow: 0 4px 20px rgba(0,32,62,0.28);
}

.results-section .section-intro p {
  color: rgba(255,255,255,0.88);
  font-size: 1.16rem;
}

.impact-dashboard {
  padding: 28px;
  border: 1px solid rgba(188,239,255,0.26);
  border-radius: 30px;
  background:
    linear-gradient(160deg, rgba(7, 36, 55, 0.9), rgba(5, 24, 36, 0.86)) !important;
  box-shadow: 0 34px 90px rgba(0, 28, 50, 0.34), inset 0 0 0 1px rgba(255,255,255,0.06);
  animation: dashboard-hover 8s ease-in-out infinite;
}

.dashboard-tabs {
  gap: 14px;
  margin-bottom: 30px;
}

.dashboard-tabs button {
  min-height: 56px;
  padding: 0 28px;
  border: 1px solid rgba(188,239,255,0.18);
  border-radius: 14px;
  color: rgba(255,255,255,0.82);
  background: rgba(255,255,255,0.07);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.07);
}

.dash-top strong {
  font-size: clamp(2rem, 3.1vw, 3.1rem);
  line-height: 1;
}

.dash-top b {
  font-size: clamp(2.4rem, 5vw, 4rem);
}

.dash-kpis {
  gap: 18px;
  margin: 30px 0;
}

.dash-kpis div {
  position: relative;
  min-height: 170px;
  padding: 28px 24px;
  border: 1px solid rgba(188,239,255,0.18);
  border-radius: 20px;
  background: rgba(255,255,255,0.07);
  overflow: hidden;
}

.dash-kpis div::before {
  content: "";
  display: block;
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
  border-radius: 10px;
  background:
    linear-gradient(90deg, transparent 0 7px, var(--pixel-lime) 7px 13px, transparent 13px 100%) 0 0/13px 24px no-repeat,
    radial-gradient(circle, rgba(155,234,93,0.22), transparent 70%);
  filter: drop-shadow(0 0 12px rgba(155,234,93,0.52));
}

.bar-row i::before {
  animation: progress-breathe 3.4s ease-in-out infinite;
}

.metric-grid {
  gap: 28px;
  margin-top: 44px;
}

.metric-card {
  position: relative;
  min-height: 360px;
  padding: 128px 36px 34px;
  border: 1px solid rgba(188,239,255,0.28);
  border-radius: 28px;
  color: #fff;
  background:
    linear-gradient(160deg, rgba(13, 67, 85, 0.82), rgba(4, 30, 38, 0.88)),
    radial-gradient(circle at 70% 80%, rgba(155,234,93,0.12), transparent 180px);
  box-shadow: 0 24px 78px rgba(0, 37, 54, 0.38), inset 0 1px 0 rgba(255,255,255,0.08);
  overflow: hidden;
  animation: metric-float 7s ease-in-out infinite;
}

.metric-card:nth-child(2) { animation-delay: -1.8s; }
.metric-card:nth-child(3) { animation-delay: -3.2s; }

.metric-card::before {
  position: absolute;
  top: 32px;
  left: 34px;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border: 1px solid rgba(155,234,93,0.36);
  border-radius: 50%;
  color: var(--pixel-lime);
  background: radial-gradient(circle, rgba(155,234,93,0.15), rgba(9, 42, 51, 0.72));
  box-shadow: 0 0 0 10px rgba(155,234,93,0.08), 0 0 28px rgba(155,234,93,0.24);
  font-size: 2.2rem;
  font-weight: 950;
}

.metric-card:nth-child(1)::before { content: "↗"; }
.metric-card:nth-child(2)::before { content: "⚡"; }
.metric-card:nth-child(3)::before { content: "24"; font-size: 1.75rem; }

.metric-card::after {
  content: "";
  position: absolute;
  right: 24px;
  bottom: 18px;
  width: 120px;
  height: 46px;
  opacity: 0.6;
  background:
    radial-gradient(circle at 20% 72%, #79dfff 0 4px, transparent 5px),
    radial-gradient(circle at 32% 54%, #f7fff1 0 3px, transparent 4px),
    radial-gradient(circle at 62% 74%, #79dfff 0 4px, transparent 5px),
    linear-gradient(130deg, transparent 0 42%, rgba(155,234,93,0.6) 43% 47%, transparent 48%);
}

.metric-card span {
  color: var(--pixel-lime) !important;
  font-size: clamp(3.3rem, 5.8vw, 5rem);
  font-weight: 900;
  text-shadow: 0 0 22px rgba(155,234,93,0.24);
}

.metric-card p {
  color: rgba(255,255,255,0.9);
  font-size: 1.28rem;
  line-height: 1.42;
}

.services-section,
.cases-section,
.reviews-section,
.contact-section {
  border-radius: 0;
  margin-top: 0;
  width: min(100%, 100%);
  padding-inline: max(42px, calc((100vw - 1396px) / 2));
}

.cases-section,
.reviews-section,
.contact-section {
  background:
    linear-gradient(180deg, rgba(5, 18, 28, 0.86), rgba(5, 18, 28, 0.74)),
    var(--ops-cases-bg) center bottom / cover no-repeat;
}

.services-section {
  background:
    linear-gradient(180deg, rgba(5, 30, 44, 0.18), rgba(5, 18, 28, 0.58) 62%, rgba(5, 18, 28, 0.76)),
    var(--ops-services-bg) center center / cover no-repeat;
}

.reviews-section {
  background:
    linear-gradient(180deg, rgba(5, 18, 28, 0.74), rgba(5, 18, 28, 0.82)),
    var(--ops-reviews-bg) center center / cover no-repeat;
}

.contact-section {
  background:
    linear-gradient(90deg, rgba(5, 18, 28, 0.9), rgba(5, 18, 28, 0.68) 48%, rgba(5, 18, 28, 0.28)),
    var(--ops-contact-bg) center center / cover no-repeat;
}

@keyframes pixel-card-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}

@keyframes metric-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -8px; }
}

@keyframes dashboard-hover {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes index-pulse {
  0%, 100% { filter: brightness(1); box-shadow: 0 0 0 7px rgba(155,234,93,0.16), 0 0 24px rgba(155,234,93,0.58); }
  50% { filter: brightness(1.12); box-shadow: 0 0 0 10px rgba(155,234,93,0.12), 0 0 34px rgba(155,234,93,0.72); }
}

@keyframes pixel-sky-drift {
  from { transform: translate3d(-8px, 0, 0); }
  to { transform: translate3d(8px, -10px, 0); }
}

@keyframes progress-breathe {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.18) saturate(1.2); }
}

@media (max-width: 1080px) {
  .build-grid,
  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .results-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 650px) {
  .site-nav {
    top: 12px;
    width: calc(100% - 20px);
    left: 10px;
    padding: 8px;
  }

  .site-nav.is-floating-away {
    transform: translateY(-76px);
  }

  .nav-logo span:last-child::after {
    display: none;
  }

  .cf-hero {
    background:
      linear-gradient(180deg, rgba(31,155,224,0.96) 0%, rgba(31,155,224,0.62) 46%, rgba(31,155,224,0.06) 86%),
      var(--hero-image) 48% bottom / auto 82% no-repeat,
      #209be0;
  }

  .build-section,
  .results-section,
  .services-section,
  .cases-section,
  .reviews-section,
  .contact-section {
    width: 100%;
    padding: 76px 10px 44px;
    border-radius: 0;
  }

  .build-section {
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(15,145,217,0.68), rgba(6,21,30,0.78) 44%, rgba(6,21,30,0.94)),
      var(--ops-build-bg) 50% top / auto 620px no-repeat,
      #061724;
  }

  .build-section .section-intro {
    margin-bottom: 24px;
    padding-inline: 12px;
  }

  .build-section .section-intro h2,
  .results-section .section-intro h2,
  .services-section .section-intro h2,
  .cases-section .section-intro h2,
  .reviews-section .section-intro h2,
  .contact-section .contact-copy h2 {
    font-size: clamp(2.5rem, 12vw, 3.8rem);
    line-height: 0.96;
    letter-spacing: -0.075em;
  }

  .build-grid,
  .metric-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .build-card {
    min-height: 300px;
    padding: 24px;
    border-radius: 24px;
    animation: none;
  }

  .results-section {
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(4,24,40,0.78), rgba(4,24,40,0.92)),
      var(--ops-results-bg) 44% top / auto 660px no-repeat,
      #061724;
  }

  .impact-dashboard {
    padding: 18px;
    border-radius: 24px;
    animation: none;
  }

  .dash-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .dash-top strong {
    font-size: clamp(1.75rem, 8vw, 2.35rem);
  }

  .dash-top b {
    justify-self: start;
    font-size: 2.45rem;
  }

  .dashboard-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .dashboard-tabs button {
    min-height: 46px;
    padding: 0 10px;
    border-radius: 12px;
  }

  .dash-kpis {
    grid-template-columns: 1fr;
  }

  .dash-kpis div {
    min-height: auto;
    padding: 20px;
  }

  .metric-card {
    min-height: 300px;
    padding: 106px 24px 28px;
    animation: none;
  }

  .metric-card span {
    font-size: 3.4rem;
  }

  .metric-card p {
    font-size: 1.05rem;
  }
}

/* 2026-07 AI Agents cleanup and overflow fixes */
:root {
  --brand-name: "AI Agents";
}

.nav-logo {
  letter-spacing: -0.035em;
}

.nav-logo span:last-child::after {
  content: "digital-задачи для бизнеса";
}

.cf-hero h1 {
  max-width: 720px;
  font-size: clamp(3rem, 4.8vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.results-section,
.services-section {
  overflow: hidden;
}

.results-shell {
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1fr);
  gap: clamp(24px, 4vw, 54px);
}

.results-section .section-intro,
.services-section .section-intro {
  max-width: 920px;
}

.results-section .section-intro.left {
  max-width: 760px;
}

.results-section .section-intro h2,
.services-section .section-intro h2 {
  max-width: 860px;
  font-size: clamp(2.65rem, 5vw, 5.45rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  overflow-wrap: normal;
}

.results-section .section-intro.left h2 {
  max-width: 720px;
  font-size: clamp(2.5rem, 4.2vw, 4.8rem);
}

.results-section .section-intro p,
.services-section .section-intro p {
  max-width: 720px;
}

.impact-dashboard {
  max-width: 100%;
}

.dashboard-tabs button {
  min-width: 0;
  padding-inline: clamp(12px, 1.8vw, 24px);
  white-space: nowrap;
}

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

.service-core span {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  letter-spacing: 0;
}

.not-found-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 120px max(22px, calc((100vw - 1180px) / 2)) 80px;
  color: #fff;
  background:
    radial-gradient(circle at 18% 18%, rgba(155,234,93,0.18), transparent 280px),
    radial-gradient(circle at 78% 16%, rgba(100,184,232,0.18), transparent 320px),
    linear-gradient(135deg, #061724, #102834 58%, #071218);
  overflow: hidden;
}

.not-found-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  width: min(1080px, 100%);
  padding: clamp(24px, 5vw, 58px);
  border: 1px solid rgba(188,239,255,0.18);
  border-radius: 34px;
  background: rgba(7, 31, 42, 0.72);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255,255,255,0.08);
  backdrop-filter: blur(18px);
}

.not-found-visual {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  min-height: 280px;
  border-radius: 28px;
  background:
    linear-gradient(90deg, transparent 0 31px, rgba(188,239,255,0.08) 32px 33px, transparent 34px) 0 0/34px 34px,
    linear-gradient(0deg, transparent 0 31px, rgba(188,239,255,0.08) 32px 33px, transparent 34px) 0 0/34px 34px,
    radial-gradient(circle, rgba(155,234,93,0.14), rgba(9, 22, 30, 0.74));
  overflow: hidden;
}

.not-found-visual strong {
  color: var(--pixel-lime);
  font-size: clamp(5rem, 13vw, 9rem);
  line-height: 1;
  font-weight: 950;
  text-shadow: 0 0 34px rgba(155,234,93,0.35);
}

.nf-node {
  position: absolute;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--pixel-lime);
  box-shadow: 0 0 0 8px rgba(155,234,93,0.12), 0 0 24px rgba(155,234,93,0.5);
}

.nf-node-one { left: 18%; top: 20%; }
.nf-node-two { right: 16%; top: 30%; background: #64b8e8; }
.nf-node-three { left: 28%; bottom: 18%; background: #f2c14e; }

.not-found-copy h1 {
  margin: 14px 0 16px;
  font-size: clamp(2.35rem, 5vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.not-found-copy p {
  max-width: 620px;
  color: rgba(232,244,235,0.78);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  font-weight: 750;
}

.not-found-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

@media (max-width: 1080px) {
  .results-shell {
    grid-template-columns: 1fr;
  }

  .results-section .section-intro.left,
  .results-section .section-intro.left h2 {
    max-width: 920px;
    text-align: center;
  }

  .results-section .section-intro.left p {
    margin-inline: auto;
  }
}

@media (max-width: 650px) {
  .nav-logo {
    font-size: 1.02rem;
  }

  .nav-cta {
    min-height: 38px;
    padding-inline: 10px;
    font-size: 0.82rem;
  }

  .cf-hero h1 {
    max-width: 340px;
    font-size: clamp(2.1rem, 9.4vw, 2.8rem);
    line-height: 1.05;
  }

  .results-section .section-intro h2,
  .services-section .section-intro h2,
  .results-section .section-intro.left h2 {
    font-size: clamp(2rem, 10vw, 3rem);
    line-height: 1.06;
    letter-spacing: -0.04em;
  }

  .results-section .section-intro,
  .services-section .section-intro {
    padding-inline: 8px;
  }

  .dashboard-tabs {
    grid-template-columns: 1fr;
  }

  .dashboard-tabs button {
    min-height: 42px;
    white-space: normal;
  }

  .dash-kpis {
    grid-template-columns: 1fr;
  }

  .not-found-page {
    padding: 96px 12px 54px;
  }

  .not-found-card {
    grid-template-columns: 1fr;
    padding: 18px;
    border-radius: 26px;
  }

  .not-found-visual {
    min-height: 220px;
  }

  .not-found-actions .btn {
    width: 100%;
  }
}

/* Final responsive overrides */
.outcome-map {
  padding: clamp(24px, 4vw, 42px);
}
.outcome-label {
  display: block;
  margin-bottom: 18px;
  color: var(--pixel-lime);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}
.outcome-map ol { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.outcome-map li { display: grid; grid-template-columns: minmax(150px, 0.42fr) minmax(0, 1fr); gap: 20px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.16); }
.outcome-map li span { color: var(--ops-muted); }
.metric-card span { font-size: clamp(1.8rem, 3vw, 2.8rem); }
.review-shot { cursor: default; text-align: left; }
.review-shot small { display: block; margin-top: auto; padding-top: 20px; }
.real-case-grid .case-card { min-height: 350px; }
.real-case-grid .aa-text-link { margin-top: auto; color: var(--pixel-lime); }
.form-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; }
.privacy-consent { display: flex !important; align-items: flex-start; gap: 10px !important; font-size: 0.76rem !important; line-height: 1.45; }
.privacy-consent input { flex: 0 0 auto; width: 18px !important; min-height: 18px !important; margin-top: 1px; }
.privacy-consent a { color: inherit; text-decoration: underline; }

@media (max-width: 720px) {
  :root {
    --hero-image: url("assets/img/cofounder-pixel-hero-v2-mobile.webp");
    --ops-build-bg: url("assets/img/section-build-bg-mobile.webp");
    --ops-results-bg: url("assets/img/section-results-bg-mobile.webp");
    --ops-services-bg: url("assets/img/section-services-bg-mobile.webp");
    --ops-cases-bg: url("assets/img/section-cases-bg-mobile.webp");
    --ops-reviews-bg: url("assets/img/section-reviews-bg-mobile.webp");
    --ops-contact-bg: url("assets/img/section-contact-bg-mobile.webp");
  }

  .section { padding-top: 68px; padding-bottom: 54px; }
  .outcome-map li { grid-template-columns: 1fr; gap: 6px; padding: 16px 0; }
  .build-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .build-card { min-height: 235px; padding: 18px; border-radius: 8px; }
  .build-card h3 { font-size: 1.15rem; }
  .build-card p { font-size: 0.84rem; }

  .metric-grid,
  .case-grid,
  .message-wall,
  .aa-home-services-grid {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .metric-card,
  .case-card,
  .review-shot,
  .aa-home-services-grid .aa-service-card {
    flex: 0 0 min(82vw, 340px);
    scroll-snap-align: start;
  }

  .metric-card { min-height: 250px; padding: 70px 22px 24px; }
  .metric-card span { font-size: 2.4rem; }
  .case-card, .real-case-grid .case-card { min-height: 330px; }
  .review-shot { min-height: 360px; }
  .aa-home-services-grid .aa-service-card { min-height: 300px; }
  .aa-home-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aa-home-category-grid a { aspect-ratio: 1.15; min-height: 138px; }
}
