@font-face {
  font-family: "Cabinet Grotesk";
  src: url("../fonts/cabinet-grotesk-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Cabinet Grotesk";
  src: url("../fonts/cabinet-grotesk-800.woff2") format("woff2");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: "Satoshi";
  src: url("../fonts/satoshi-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Satoshi";
  src: url("../fonts/satoshi-500.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Satoshi";
  src: url("../fonts/satoshi-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #0a0a0a;
  --surface-1: #111111;
  --surface-2: #161616;
  --surface-3: #1c1c1c;
  --text: #e8e8e8;
  --muted: #9299a3;
  --faint: #333333;
  --accent: #00c896;
  --accent-soft: rgba(0, 200, 150, 0.12);
  --accent-glow: rgba(0, 200, 150, 0.3);
  --tone-warm: #c9a86a;
  --tone-steel: #7f9aa3;
  --tone-wine: #a97878;
  --tone-warm-soft: rgba(201, 168, 106, 0.075);
  --tone-steel-soft: rgba(127, 154, 163, 0.08);
  --tone-wine-soft: rgba(169, 120, 120, 0.07);
  --danger: #ff5a5f;
  --border: rgba(255, 255, 255, 0.06);
  --border-strong: rgba(255, 255, 255, 0.12);
  --hairline: rgba(255, 255, 255, 0.045);
  --nav-bg: rgba(10, 10, 10, 0.8);
  --shadow: rgba(0, 0, 0, 0.36);
  --premium-shadow: 0 22px 70px rgba(0, 0, 0, 0.24);
  --font-display: "Cabinet Grotesk", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Satoshi", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --wrap: min(1120px, calc(100vw - 40px));
  --radius: 8px;
  --section: clamp(42px, 5.4vw, 72px);
  --h1: clamp(42px, 6.2vw, 74px);
  --h2: clamp(30px, 5vw, 58px);
  --h3: clamp(24px, 3vw, 34px);
  --body: 16px;
  --small: clamp(12px, 1.4vw, 14px);
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #f7f7f4;
  --surface-1: #ffffff;
  --surface-2: #f0f0ec;
  --surface-3: #e6e6df;
  --text: #101010;
  --muted: #5e5e5e;
  --faint: #d7d7d1;
  --border: rgba(0, 0, 0, 0.08);
  --border-strong: rgba(0, 0, 0, 0.14);
  --hairline: rgba(0, 0, 0, 0.045);
  --nav-bg: rgba(247, 247, 244, 0.82);
  --shadow: rgba(0, 0, 0, 0.12);
  --premium-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  --tone-warm-soft: rgba(201, 168, 106, 0.12);
  --tone-steel-soft: rgba(127, 154, 163, 0.11);
  --tone-wine-soft: rgba(169, 120, 120, 0.1);
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    color-scheme: light;
    --bg: #f7f7f4;
    --surface-1: #ffffff;
    --surface-2: #f0f0ec;
    --surface-3: #e6e6df;
    --text: #101010;
    --muted: #5e5e5e;
    --faint: #d7d7d1;
    --border: rgba(0, 0, 0, 0.08);
    --border-strong: rgba(0, 0, 0, 0.14);
    --hairline: rgba(0, 0, 0, 0.045);
    --nav-bg: rgba(247, 247, 244, 0.82);
    --shadow: rgba(0, 0, 0, 0.12);
    --premium-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    --tone-warm-soft: rgba(201, 168, 106, 0.12);
    --tone-steel-soft: rgba(127, 154, 163, 0.11);
    --tone-wine-soft: rgba(169, 120, 120, 0.1);
  }
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(145deg, var(--tone-steel-soft), transparent 320px),
    linear-gradient(180deg, color-mix(in srgb, var(--surface-1) 28%, transparent), transparent 420px),
    var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--body);
  line-height: 1.6;
  letter-spacing: 0;
  overflow-x: hidden;
}

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

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-160%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-1);
  color: var(--text);
  padding: 10px 14px;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 12px 0;
  transform: translateY(-14px);
  opacity: 0;
  animation: navDrop 700ms ease 240ms forwards;
}

.site-header.is-scrolled .nav-shell {
  box-shadow: 0 18px 60px var(--shadow);
}

.nav-shell {
  width: var(--wrap);
  min-height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid color-mix(in srgb, var(--border-strong) 72%, var(--border));
  border-radius: calc(var(--radius) + 6px);
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 10px 12px 10px 16px;
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--border-strong) 55%, transparent);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-1);
  flex: 0 0 auto;
}

.brand svg {
  width: 26px;
  height: 26px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 30px);
  color: var(--muted);
  font-size: var(--small);
  font-weight: 500;
}

.nav-link {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: color 180ms ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--accent);
}

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

.btn {
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  background: transparent;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
  white-space: nowrap;
}

.btn-outline {
  padding: 0 16px;
  color: var(--text);
  background: color-mix(in srgb, var(--surface-1) 76%, transparent);
}

.btn-outline:hover {
  border-color: color-mix(in srgb, var(--accent) 42%, transparent);
  color: var(--accent);
}

.btn-cta-mob {
  display: none;
}

.theme-toggle {
  width: 44px;
  background: var(--surface-1);
}

.theme-toggle:hover {
  border-color: color-mix(in srgb, var(--accent) 42%, transparent);
}

.hero {
  width: var(--wrap);
  min-height: clamp(620px, 82svh, 760px);
  margin: 0 auto;
  padding: clamp(42px, 6vw, 72px) 0 var(--section);
  display: grid;
  align-content: center;
}

.hero-banner-section {
  width: var(--wrap);
  min-height: auto;
  padding-top: clamp(18px, 2.8vw, 34px);
  padding-bottom: clamp(18px, 2.5vw, 30px);
  display: block;
}

.hero-banner-section + .separator {
  margin-top: clamp(-8px, -1vw, -4px);
}

.hero-conversion {
  min-height: clamp(620px, 78svh, 760px);
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1fr);
  gap: clamp(28px, 5vw, 74px);
  align-items: center;
  padding-top: clamp(38px, 5vw, 68px);
}

.hero-conversion .hero-copy {
  position: relative;
  z-index: 2;
}

.hero-conversion h1 {
  max-width: 650px;
  min-height: 0;
  margin-top: 20px;
  line-height: 0.94;
}

.hero-conversion .hero-subtitle {
  max-width: 620px;
}

.hero-proof-pills span {
  min-height: 34px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface-1) 74%, transparent);
  padding: 6px 11px;
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--border-strong) 42%, transparent);
}

.hero-proof-pills span + span::before {
  display: none;
}

.hero-product-visual {
  position: relative;
  min-height: clamp(420px, 45vw, 560px);
  margin: 0;
  border: 1px solid color-mix(in srgb, var(--border-strong) 76%, transparent);
  border-radius: calc(var(--radius) + 16px);
  background:
    radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 25%),
    radial-gradient(circle at 12% 18%, color-mix(in srgb, var(--tone-warm) 15%, transparent), transparent 26%),
    linear-gradient(145deg, color-mix(in srgb, var(--surface-1) 92%, white 8%), color-mix(in srgb, var(--surface-2) 70%, transparent));
  overflow: visible;
  isolation: isolate;
  box-shadow: 0 34px 100px color-mix(in srgb, var(--shadow) 72%, transparent), inset 0 1px 0 color-mix(in srgb, var(--border-strong) 70%, transparent);
}

.hero-product-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(115deg, color-mix(in srgb, var(--surface-1) 96%, transparent), transparent 54%),
    radial-gradient(circle at 48% 48%, color-mix(in srgb, var(--accent) 26%, transparent), transparent 31%);
  opacity: 0.9;
}

.hero-product-visual::after {
  content: "";
  position: absolute;
  inset: 18px;
  z-index: 0;
  border: 1px solid color-mix(in srgb, var(--border-strong) 58%, transparent);
  border-radius: calc(var(--radius) + 10px);
  pointer-events: none;
  opacity: 0.7;
}

.hero-orbit-visual {
  --card-bg: color-mix(in srgb, var(--surface-1) 86%, transparent);
  --card-border: color-mix(in srgb, var(--border-strong) 88%, transparent);
}

.hero-simple-flow {
  --card-bg: color-mix(in srgb, var(--surface-1) 88%, transparent);
  --card-border: color-mix(in srgb, var(--border-strong) 88%, transparent);
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto;
  gap: 18px;
  align-items: center;
  justify-items: center;
  padding: clamp(28px, 4vw, 44px);
  min-height: clamp(420px, 45vw, 560px);
}

.hero-simple-flow .hero-ai-core {
  position: relative;
  top: auto;
  left: auto;
  transform: none;
  grid-column: 1 / -1;
  grid-row: 2;
  width: clamp(120px, 13vw, 154px);
  justify-self: center;
  align-self: center;
}

.flow-steps {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.flow-step-line {
  position: absolute;
  top: 50%;
  left: 14%;
  right: 14%;
  height: 80px;
  transform: translateY(-50%);
}

.flow-step-line svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-simple-flow .hero-card {
  position: relative;
  z-index: 2;
  width: min(230px, 92%);
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--card-border);
  border-radius: calc(var(--radius) + 10px);
  background: var(--card-bg);
  padding: 16px 18px;
  color: var(--text);
  text-decoration: none;
  box-shadow: 0 18px 56px color-mix(in srgb, var(--shadow) 52%, transparent);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
  animation: floatSoft 7s ease-in-out infinite;
}

.hero-simple-flow .hero-card:hover,
.hero-simple-flow .hero-card:focus-visible {
  border-color: color-mix(in srgb, var(--accent) 72%, var(--card-border));
  box-shadow: 0 22px 66px color-mix(in srgb, var(--accent) 20%, transparent), 0 18px 56px color-mix(in srgb, var(--shadow) 46%, transparent);
  transform: translateY(-4px);
  outline: none;
}

.hero-simple-flow .hero-card:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 38%, transparent);
  outline-offset: 4px;
}

.hero-card-site { grid-column: 1; grid-row: 1; justify-self: end; animation-delay: -0.6s; }
.hero-card-chat { grid-column: 2; grid-row: 1; justify-self: start; animation-delay: -1.4s; }
.hero-card-result { grid-column: 1 / -1; grid-row: 3; justify-self: center; animation-delay: -2.2s; }

.hero-card-icon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: calc(var(--radius) + 2px);
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  color: var(--accent);
}

.hero-card-icon i {
  width: 22px;
  height: 22px;
}

.hero-card-kicker {
  display: block;
  color: var(--accent);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-card strong {
  display: block;
  margin-top: 3px;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 800;
  line-height: 1;
}

.hero-card-meta {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
}

.hero-flow-cta {
  position: absolute;
  right: 22px;
  bottom: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid var(--card-border);
  border-radius: 999px;
  background: var(--card-bg);
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.hero-flow-cta:hover,
.hero-flow-cta:focus-visible {
  color: var(--accent);
  border-color: color-mix(in srgb, var(--accent) 50%, var(--card-border));
  outline: none;
}

.hero-flow-cta i {
  width: 14px;
  height: 14px;
}

.hero-ambient-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(color-mix(in srgb, var(--border) 62%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--border) 62%, transparent) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(circle at 52% 50%, #000 0 44%, transparent 75%);
  opacity: 0.52;
}

.hero-command-deck {
  position: relative;
  min-height: clamp(460px, 43vw, 530px);
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 18px;
  padding: 22px 24px 20px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 48%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 35%),
    linear-gradient(145deg, color-mix(in srgb, var(--surface-1) 96%, white 4%), color-mix(in srgb, var(--surface-2) 82%, transparent));
}

.hero-command-deck::before {
  background:
    linear-gradient(120deg, color-mix(in srgb, var(--surface-1) 92%, transparent), transparent 52%),
    radial-gradient(circle at 50% 48%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 36%);
}

.deck-topline {
  position: relative;
  z-index: 3;
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 13px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.deck-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
}

.deck-live > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px var(--accent-soft), 0 0 16px var(--accent);
  animation: pulse 2.2s ease-out infinite;
}

.deck-flow {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(150px, 1fr) 136px minmax(150px, 1fr);
  align-items: center;
  gap: clamp(18px, 2.4vw, 30px);
  min-height: 238px;
}

.deck-rail {
  position: absolute;
  z-index: 0;
  left: 15%;
  right: 15%;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--accent) 76%, transparent) 18%, color-mix(in srgb, var(--accent) 76%, transparent) 82%, transparent);
  box-shadow: 0 0 14px color-mix(in srgb, var(--accent) 40%, transparent);
}

.deck-rail::before,
.deck-rail::after {
  content: "";
  position: absolute;
  top: -4px;
  width: 9px;
  height: 9px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  background: var(--surface-1);
  box-shadow: 0 0 12px var(--accent-glow);
}

.deck-rail::before { left: 0; }
.deck-rail::after { right: 0; }

.deck-signal {
  position: absolute;
  z-index: 1;
  top: calc(50% - 3px);
  left: 17%;
  width: 28px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--accent));
  filter: drop-shadow(0 0 8px var(--accent));
  animation: deckSignalX 3.8s linear infinite;
  pointer-events: none;
}

.deck-signal.signal-two {
  animation-delay: -1.9s;
}

.deck-node {
  position: relative;
  z-index: 2;
  min-width: 0;
  min-height: 128px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 14px;
  border: 1px solid color-mix(in srgb, var(--border-strong) 90%, transparent);
  border-radius: calc(var(--radius) + 8px);
  background: color-mix(in srgb, var(--surface-1) 90%, transparent);
  padding: 20px 18px;
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, var(--border-strong) 58%, transparent),
    0 22px 56px color-mix(in srgb, var(--shadow) 44%, transparent);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.deck-node:hover,
.deck-node:focus-visible {
  border-color: color-mix(in srgb, var(--accent) 62%, var(--border-strong));
  transform: translateY(-4px);
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, var(--accent) 18%, transparent),
    0 24px 68px color-mix(in srgb, var(--accent) 15%, var(--shadow));
  outline: none;
}

.deck-node-index {
  position: absolute;
  top: 11px;
  right: 12px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.deck-node-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in srgb, var(--accent) 24%, transparent);
  border-radius: calc(var(--radius) + 2px);
  background: var(--accent-soft);
  color: var(--accent);
}

.deck-node-icon i {
  width: 21px;
  height: 21px;
}

.deck-node-copy {
  min-width: 0;
}

.deck-node-copy small,
.deck-core-caption,
.deck-telemetry small {
  display: block;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.deck-node-copy strong {
  display: block;
  margin-top: 5px;
  font-family: var(--font-display);
  font-size: clamp(18px, 1.9vw, 24px);
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.deck-node-copy > span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.deck-core {
  position: relative;
  z-index: 3;
  width: 136px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  justify-self: center;
  border: 1px solid color-mix(in srgb, var(--accent) 58%, transparent);
  border-radius: 50%;
  background:
    radial-gradient(circle at 36% 28%, rgba(255,255,255,0.22), transparent 22%),
    linear-gradient(145deg, color-mix(in srgb, var(--accent) 94%, white 6%), color-mix(in srgb, var(--accent) 38%, #06110e 62%));
  color: #04110d;
  padding: 0;
  cursor: pointer;
  box-shadow:
    0 0 0 10px color-mix(in srgb, var(--accent) 7%, transparent),
    0 0 46px color-mix(in srgb, var(--accent) 30%, transparent),
    inset 0 1px 0 rgba(255,255,255,0.3);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.deck-core:hover,
.deck-core:focus-visible {
  transform: scale(1.035);
  box-shadow:
    0 0 0 12px color-mix(in srgb, var(--accent) 10%, transparent),
    0 0 62px color-mix(in srgb, var(--accent) 42%, transparent),
    inset 0 1px 0 rgba(255,255,255,0.34);
  outline: none;
}

.deck-core:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 62%, white 38%);
  outline-offset: 7px;
}

.deck-core-halo,
.deck-core-orbit {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.deck-core-halo {
  inset: -24px;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 16%, transparent), transparent 66%);
}

.deck-core-orbit {
  inset: -12px;
  border: 1px solid color-mix(in srgb, var(--accent) 42%, transparent);
  border-top-color: color-mix(in srgb, var(--tone-warm) 62%, var(--accent));
  animation: deckOrbit 12s linear infinite;
}

.deck-core-orbit.orbit-b {
  inset: -21px;
  border-color: color-mix(in srgb, var(--border-strong) 74%, transparent);
  border-right-color: var(--accent);
  animation-direction: reverse;
  animation-duration: 17s;
}

.deck-core-mark {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 900;
  letter-spacing: -0.05em;
  transform: translateY(-7px);
}

.deck-core-caption {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 25px;
  color: #06251d;
  transform: translateX(-50%);
  white-space: nowrap;
}

.deck-telemetry {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 0.85fr;
  gap: 8px;
  border-top: 1px solid var(--border);
  padding: 14px 198px 0 0;
}

.deck-telemetry > span {
  min-width: 0;
  border-right: 1px solid var(--border);
  padding-right: 10px;
}

.deck-telemetry > span:last-child {
  border-right: 0;
}

.deck-telemetry small {
  color: var(--muted);
  font-size: 8px;
}

.deck-telemetry strong {
  display: block;
  margin-top: 4px;
  overflow: hidden;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.deck-telemetry strong i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 9px var(--accent);
}

.deck-chat-cta {
  position: absolute;
  right: 22px;
  bottom: 18px;
  z-index: 4;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid color-mix(in srgb, var(--accent) 42%, var(--border));
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--accent) 12%, var(--surface-1));
  color: var(--text);
  padding: 0 13px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--accent) 18%, transparent);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.deck-chat-cta:hover,
.deck-chat-cta:focus-visible {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 18%, var(--surface-1));
  transform: translateY(-2px);
  outline: none;
}

.deck-chat-cta i {
  width: 15px;
  height: 15px;
  color: var(--accent);
}

.deck-chat-cta i:last-child {
  width: 13px;
  height: 13px;
  color: var(--muted);
}

/* Desktop command deck: clear hierarchy, no overlapping controls. */
.hero-command-deck {
  min-height: clamp(450px, 39vw, 500px);
  grid-template-rows: auto 1fr auto auto;
  gap: 14px;
}

.deck-flow {
  grid-template-columns: minmax(138px, 1fr) 118px minmax(138px, 1fr);
  gap: clamp(14px, 1.8vw, 22px);
  min-height: 216px;
}

.deck-node {
  min-height: 148px;
  display: block;
  padding: 18px;
  overflow: hidden;
}

.deck-node-icon {
  width: 38px;
  height: 38px;
}

.deck-node-copy {
  margin-top: 13px;
}

.deck-node-copy strong {
  font-size: clamp(18px, 1.65vw, 22px);
}

.deck-core {
  width: 118px;
}

.deck-core-mark {
  font-size: 38px;
}

.deck-core-caption {
  bottom: 21px;
  font-size: 7px;
}

.deck-telemetry {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 12px 0 0;
}

.deck-telemetry strong {
  font-size: 9px;
}

.deck-chat-cta {
  position: static;
  width: 100%;
  min-height: 44px;
  justify-content: center;
  font-size: 12px;
}

.hero-flow-lines {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-flow-lines svg {
  width: 100%;
  height: 100%;
  display: block;
}

.flow-path {
  fill: none;
  stroke: color-mix(in srgb, var(--accent) 52%, transparent);
  stroke-width: 2;
  stroke-linecap: round;
  opacity: 0.46;
  filter: drop-shadow(0 0 10px color-mix(in srgb, var(--accent) 42%, transparent));
}

.flow-pulse {
  stroke-width: 3;
  stroke-dasharray: 24 180;
  opacity: 0.84;
  animation: flowDash 4.8s linear infinite;
}

.path-two {
  stroke: color-mix(in srgb, var(--tone-steel) 66%, var(--accent) 34%);
}

.path-two.flow-pulse {
  animation-duration: 5.6s;
  animation-delay: -1.2s;
}

.path-three {
  stroke: color-mix(in srgb, var(--tone-warm) 58%, var(--accent) 42%);
}

.path-three.flow-pulse {
  animation-duration: 4.2s;
  animation-delay: -2.4s;
}

.path-four {
  stroke: color-mix(in srgb, var(--accent) 58%, var(--tone-steel) 42%);
}

.path-four.flow-pulse {
  animation-duration: 5.2s;
  animation-delay: -3s;
}

.path-five {
  stroke: color-mix(in srgb, var(--tone-warm) 45%, var(--accent) 55%);
}

.path-five.flow-pulse {
  animation-duration: 5.8s;
  animation-delay: -1.8s;
}

.flow-port {
  fill: var(--surface-1);
  stroke: currentColor;
  stroke-width: 2;
  color: var(--accent);
  filter: drop-shadow(0 0 8px color-mix(in srgb, var(--accent) 46%, transparent));
}

.hero-ai-core {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  width: clamp(138px, 15vw, 178px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 0;
  padding: 0;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(circle, color-mix(in srgb, var(--accent) 30%, transparent) 0 34%, transparent 35%),
    color-mix(in srgb, var(--surface-1) 82%, transparent);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--accent) 24%, transparent),
    0 28px 90px color-mix(in srgb, var(--accent) 22%, transparent);
  cursor: pointer;
}

.hero-ai-core:hover,
.hero-ai-core:focus-visible {
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--accent) 42%, transparent),
    0 32px 100px color-mix(in srgb, var(--accent) 30%, transparent);
}

.hero-ai-core:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 70%, white 30%);
  outline-offset: 7px;
}

.ai-core-ring {
  position: absolute;
  inset: 9px;
  border-radius: inherit;
  border: 1px solid color-mix(in srgb, var(--accent) 46%, transparent);
  border-top-color: color-mix(in srgb, var(--tone-warm) 72%, var(--accent) 28%);
  animation: coreSpin 16s linear infinite;
}

.ai-core-mark {
  width: 74%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 24%, rgba(255, 255, 255, 0.28), transparent 25%),
    linear-gradient(145deg, var(--accent), color-mix(in srgb, var(--accent) 42%, #081d18 58%));
  color: #06110e;
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 900;
  letter-spacing: 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.28);
}

.ai-core-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 22px var(--accent);
  --orbit-radius: clamp(52px, 6.3vw, 72px);
  --orbit-start: 0deg;
  --orbit-duration: 12s;
  transform: translate(-50%, -50%) rotate(var(--orbit-start)) translateX(var(--orbit-radius));
  animation: dotOrbit var(--orbit-duration) linear infinite;
  will-change: transform;
}

.dot-one {
  --orbit-start: 218deg;
  --orbit-duration: 13.5s;
}

.dot-two {
  --orbit-start: 18deg;
  --orbit-duration: 9.2s;
  animation-name: dotOrbitReverse;
}

.dot-three {
  --orbit-start: 104deg;
  --orbit-duration: 17s;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-banner {
  position: relative;
  aspect-ratio: 1672 / 760;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--border-strong) 76%, transparent);
  border-radius: calc(var(--radius) + 14px);
  background: #f3f2ef;
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255,255,255,0.18);
}

.hero-frame {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.hero-bot-motion {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
  pointer-events: none;
  clip-path: inset(18.2% 53.2% 56.8% 40.5% round 10px);
  transform-origin: 44% 30%;
  animation: botFloat 4200ms ease-in-out infinite;
  will-change: transform;
}

.hero-telegram-hotspot {
  position: absolute;
  left: 5%;
  top: 62.5%;
  width: 20.3%;
  height: 10%;
  z-index: 5;
  border-radius: 14px;
}

.hero-telegram-hotspot:focus-visible {
  outline: 3px solid #07110f;
  outline-offset: 4px;
  box-shadow: 0 0 0 6px rgba(0, 200, 150, 0.42);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1fr);
  gap: clamp(32px, 5vw, 78px);
  align-items: center;
}

.hero-copy {
  min-width: 0;
}

.chip {
  width: fit-content;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface-1) 72%, transparent);
  color: var(--muted);
  padding: 5px 12px;
  font-size: var(--small);
  font-weight: 500;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 0 var(--accent-glow);
  animation: pulse 1800ms ease-out infinite;
}

.hero h1 {
  max-width: 560px;
  min-height: calc(var(--h1) * 2);
  margin: 22px 0 0;
  font-family: var(--font-display);
  font-size: var(--h1);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: 0;
  overflow-wrap: normal;
}

.hero-visual,
.case-visual {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 10px);
  background: var(--surface-1);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.26);
}

.hero-visual {
  position: relative;
  align-self: center;
  aspect-ratio: 4 / 3;
  width: min(100%, 560px);
  justify-self: end;
}

.hero-visual::after,
.case-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 62%, rgba(10, 10, 10, 0.26));
}

.hero-visual img,
.case-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.cursor {
  display: inline-block;
  color: var(--accent);
  opacity: 1;
  transform: translateY(-0.04em);
  animation: blink 800ms step-end infinite;
}

.cursor.is-done {
  animation: cursorOut 320ms ease forwards;
}

.hero-subtitle {
  max-width: 610px;
  margin: 28px 0 0;
  color: color-mix(in srgb, var(--text) 82%, var(--muted));
  font-size: clamp(18px, 2.4vw, 24px);
  line-height: 1.38;
  overflow-wrap: break-word;
}

.hero-actions,
.proof {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

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

.btn-primary {
  position: relative;
  padding: 0 20px;
  border-color: var(--accent);
  background: var(--accent);
  color: #07110f;
  font-weight: 700;
  will-change: transform;
}

.btn-primary:hover {
  box-shadow: 0 0 34px var(--accent-glow);
}

.ghost-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-weight: 500;
  transition: color 180ms ease, transform 180ms ease;
}

.ghost-link:hover {
  color: var(--accent);
  transform: translateX(3px);
}

.proof {
  margin-top: 28px;
  color: var(--muted);
  font-size: var(--small);
  line-height: 1.5;
}

.proof span {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: color-mix(in srgb, var(--text) 72%, var(--muted));
}

.proof span + span::before,
.proof .proof-sep + span::before {
  content: "";
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--muted);
  opacity: 0.7;
  margin-right: 4px;
}

.proof .proof-sep {
  display: inline-flex;
  align-items: center;
  color: var(--muted);
}

section {
  scroll-margin-top: 100px;
}

.section {
  width: var(--wrap);
  margin: 0 auto;
  padding: var(--section) 0;
}

.section-alt {
  border-radius: calc(var(--radius) + 14px);
  border: 1px solid var(--hairline);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface-1) 36%, transparent), transparent 100%),
    linear-gradient(135deg, color-mix(in srgb, var(--surface-1) 70%, transparent), transparent 72%),
    linear-gradient(315deg, var(--tone-steel-soft), transparent 54%);
  padding-left: clamp(18px, 3vw, 34px);
  padding-right: clamp(18px, 3vw, 34px);
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--hairline) 70%, transparent);
}

.separator {
  width: var(--wrap);
  height: 1px;
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, var(--hairline), transparent);
  opacity: 0.45;
  transform: scaleX(0);
  transform-origin: center;
}

.separator.is-visible {
  animation: revealLine 900ms ease forwards;
}

.section-kicker {
  color: var(--accent);
  font-size: var(--small);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-title {
  max-width: 720px;
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-size: var(--h2);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
}

.section-copy {
  max-width: 640px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.8vw, 18px);
}

.trust-strip {
  width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 0;
}

.trust-strip-item {
  min-height: 108px;
  display: grid;
  align-content: center;
  gap: 7px;
  border: 1px solid color-mix(in srgb, var(--border-strong) 66%, var(--border));
  border-radius: calc(var(--radius) + 8px);
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--accent) 8%, transparent), transparent 54%),
    var(--surface-1);
  padding: 18px;
  box-shadow: 0 16px 46px color-mix(in srgb, var(--shadow) 34%, transparent);
}

.trust-strip-item:nth-child(2) {
  background: linear-gradient(145deg, var(--tone-warm-soft), transparent 60%), var(--surface-1);
}

.trust-strip-item:nth-child(3) {
  background: linear-gradient(145deg, var(--tone-steel-soft), transparent 60%), var(--surface-1);
}

.trust-strip-item:nth-child(4) {
  background: linear-gradient(145deg, var(--tone-wine-soft), transparent 60%), var(--surface-1);
}

.trust-strip-item strong {
  font-family: var(--font-display);
  font-size: clamp(25px, 3vw, 34px);
  line-height: 0.95;
}

.trust-strip-item span {
  color: var(--muted);
  font-size: var(--small);
  line-height: 1.35;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid color-mix(in srgb, var(--border-strong) 68%, var(--border));
  border-radius: calc(var(--radius) + 8px);
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface-2) 40%, transparent), transparent 100%), var(--surface-1);
  overflow: hidden;
  margin-top: 28px;
  box-shadow: var(--premium-shadow);
}

.metric {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(20px, 3vw, 32px);
  border-right: 1px solid var(--border);
}

.metric-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--surface-2) 84%, transparent);
  color: var(--accent);
  margin-bottom: 18px;
}

.metric-icon i {
  width: 21px;
  height: 21px;
}

.metric:nth-child(2) {
  background: linear-gradient(135deg, var(--tone-warm-soft), transparent 68%);
}

.metric:nth-child(3) {
  background: linear-gradient(135deg, var(--tone-steel-soft), transparent 68%);
}

.metric:nth-child(4) {
  background: linear-gradient(135deg, var(--tone-wine-soft), transparent 68%);
}

.metric:last-child {
  border-right: 0;
}

.metric-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(38px, 5.6vw, 68px);
  font-weight: 800;
  line-height: 0.9;
}

.metric-word {
  max-width: 100%;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1;
  overflow-wrap: break-word;
}

.metric-label {
  margin-top: 16px;
  color: var(--muted);
  font-size: var(--small);
  line-height: 1.45;
}

.section-cta-row {
  margin-top: 22px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--muted);
  font-size: var(--small);
}

.section-cta-row span {
  max-width: 520px;
}

.bento-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 16px;
  margin-top: 28px;
}

.service-card {
  position: relative;
  border: 1px solid color-mix(in srgb, var(--border-strong) 64%, var(--border));
  border-radius: calc(var(--radius) + 8px);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface-2) 38%, transparent), transparent 88%),
    var(--surface-1);
  padding: clamp(22px, 3.5vw, 36px);
  overflow: hidden;
  box-shadow: 0 18px 56px color-mix(in srgb, var(--shadow) 52%, transparent);
}

.service-card::before,
.price-card::after,
.trust-item::before,
.case-card::before,
.contact-form::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--border-strong) 42%, transparent), transparent 24%),
    linear-gradient(90deg, transparent, color-mix(in srgb, var(--tone-warm) 8%, transparent), transparent);
  opacity: 0.65;
}

.service-link-card {
  position: relative;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.service-link-card::after {
  content: "";
  position: absolute;
  inset: auto 18px 18px auto;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, currentColor 18%, transparent), transparent 68%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.service-link-card:hover {
  border-color: color-mix(in srgb, var(--accent) 32%, var(--border));
  background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 7%, transparent), transparent 58%), var(--surface-1);
  box-shadow: 0 18px 60px var(--shadow);
  transform: translateY(-3px);
}

.service-link-card:hover::after {
  opacity: 1;
  transform: scale(1.08);
}

.service-card.large {
  min-height: 398px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 10%, transparent), transparent 42%),
    linear-gradient(22deg, color-mix(in srgb, var(--tone-warm) 7%, transparent), transparent 58%),
    linear-gradient(315deg, var(--tone-steel-soft), transparent 42%),
    var(--surface-1);
}

.service-stack {
  display: grid;
  gap: 16px;
}

.service-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--h3);
  line-height: 1;
  letter-spacing: 0;
}

.service-card p {
  margin: 16px 0 0;
  color: var(--muted);
}

.service-card-action {
  margin-top: auto;
  padding-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: var(--small);
  font-weight: 700;
}

.service-card-action i {
  width: 16px;
  height: 16px;
  transition: transform 180ms ease;
}

.service-link-card:hover .service-card-action i {
  transform: translate(3px, -3px);
}

.service-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  color: color-mix(in srgb, var(--text) 86%, var(--muted));
}

.service-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.service-list i {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex: 0 0 auto;
  margin-top: 4px;
}

.service-price {
  margin-top: 26px;
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  border: 1px solid color-mix(in srgb, var(--accent) 36%, transparent);
  border-radius: 999px;
  padding: 7px 14px;
  color: var(--accent);
  font-weight: 700;
}

.card-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--accent);
  background: var(--surface-2);
  margin-bottom: 22px;
}

.service-stack .service-card:nth-child(1) .card-icon {
  color: var(--tone-warm);
}

.service-stack .service-card:nth-child(2) .card-icon {
  color: var(--tone-steel);
}

.service-stack .service-card:nth-child(3) .card-icon {
  color: var(--tone-wine);
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.approach-card {
  position: relative;
  min-height: 250px;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 10px);
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--accent) 7%, transparent), transparent 52%),
    var(--surface-1);
  padding: 26px;
  box-shadow: 0 18px 56px color-mix(in srgb, var(--shadow) 38%, transparent);
}

.approach-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 28px;
  border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--border));
  border-radius: 999px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.approach-card h2,
.approach-card h3 {
  max-width: 280px;
  margin: 42px 0 0;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.8vw, 34px);
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.approach-card p {
  max-width: 320px;
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.price-card {
  position: relative;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  border: 1px solid color-mix(in srgb, var(--border-strong) 66%, var(--border));
  border-radius: calc(var(--radius) + 8px);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface-2) 36%, transparent), transparent 82%),
    var(--surface-1);
  padding: clamp(22px, 3vw, 30px);
  overflow: hidden;
  box-shadow: 0 18px 56px color-mix(in srgb, var(--shadow) 46%, transparent);
}

.price-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(145deg, color-mix(in srgb, var(--tone-steel) 12%, transparent), transparent 48%);
  opacity: 0.8;
}

.price-card.is-featured {
  border-color: color-mix(in srgb, var(--accent) 38%, var(--border));
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--accent) 12%, transparent), transparent 46%),
    linear-gradient(24deg, color-mix(in srgb, var(--tone-warm) 9%, transparent), transparent 58%),
    var(--surface-1);
  box-shadow: 0 24px 74px color-mix(in srgb, var(--accent-glow) 46%, var(--shadow));
}

.price-label,
.price-card h3,
.price-value,
.price-card p,
.price-outcome,
.price-card ul,
.price-cta {
  position: relative;
}

.price-label {
  width: fit-content;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  border: 1px solid color-mix(in srgb, currentColor 32%, var(--border));
  border-radius: 999px;
  padding: 4px 11px;
  background: color-mix(in srgb, currentColor 8%, transparent);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

.price-card h3 {
  margin: 22px 0 0;
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1;
}

.price-value {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 800;
  line-height: 0.95;
}

.price-card p {
  margin: 16px 0 0;
  color: var(--muted);
}

.price-outcome {
  margin-top: 16px;
  border: 1px solid color-mix(in srgb, var(--accent) 24%, var(--border));
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--accent) 7%, transparent);
  color: color-mix(in srgb, var(--text) 88%, var(--muted));
  padding: 12px;
  font-size: 13px;
  line-height: 1.45;
}

.price-card ul {
  display: grid;
  gap: 11px;
  margin: 18px 0 0;
  padding: 24px 0 0;
  list-style: none;
  color: color-mix(in srgb, var(--text) 84%, var(--muted));
  font-size: var(--small);
}

.price-card li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.price-card li i {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex: 0 0 auto;
  margin-top: 3px;
}

.price-cta {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  border: 1px solid color-mix(in srgb, var(--accent) 34%, var(--border));
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--surface-2) 72%, transparent);
  color: var(--accent);
  padding: 10px 14px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.price-cta.primary {
  background: var(--accent);
  color: #07110f;
}

.price-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 48px color-mix(in srgb, var(--accent-glow) 36%, transparent);
}

.process-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 26px;
  align-items: stretch;
  margin-top: 28px;
}

.process-grid-simple {
  grid-template-columns: 1fr;
}

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

.process-grid-simple .step {
  min-height: 190px;
  grid-template-columns: 1fr;
  align-content: start;
}

.process-grid-simple .step::before {
  width: 40px;
  height: 40px;
  font-size: 18px;
}

.process-grid-simple .step h3 {
  margin-top: 20px;
}

.steps {
  display: grid;
  gap: 12px;
  counter-reset: steps;
}

.step {
  counter-increment: steps;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: start;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 8px);
  background: var(--surface-1);
  padding: 18px;
}

.step::before {
  content: counter(steps, decimal-leading-zero);
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--surface-2);
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
}

.step h3 {
  margin: 3px 0 3px;
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: var(--small);
}

.terminal {
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 8px);
  background: #090f0d;
  min-height: 360px;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

html[data-theme="light"] .terminal {
  background: #0d1412;
  color: #e8e8e8;
}

.terminal-top {
  height: 44px;
  display: flex;
  align-items: center;
  gap: 7px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 0 16px;
  background: rgba(255,255,255,0.02);
}

.terminal-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.16);
}

.terminal-body {
  padding: clamp(20px, 3vw, 30px);
  font-family: var(--font-mono);
  font-size: clamp(13px, 1.6vw, 15px);
  color: #9ee8d3;
}

.terminal-line {
  min-height: 30px;
  margin: 0 0 13px;
  opacity: 0;
  transform: translateY(8px);
}

.terminal.is-visible .terminal-line {
  animation: terminalLine 460ms ease forwards;
}

.terminal.is-visible .terminal-line:nth-child(1) { animation-delay: 120ms; }
.terminal.is-visible .terminal-line:nth-child(2) { animation-delay: 640ms; }
.terminal.is-visible .terminal-line:nth-child(3) { animation-delay: 1160ms; }
.terminal.is-visible .terminal-line:nth-child(4) { animation-delay: 1680ms; }
.terminal.is-visible .terminal-line:nth-child(5) { animation-delay: 2200ms; }

.terminal-line.success {
  color: var(--accent);
  font-weight: 700;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.trust-item {
  position: relative;
  min-height: 230px;
  border: 1px solid color-mix(in srgb, var(--border-strong) 62%, var(--border));
  border-radius: calc(var(--radius) + 8px);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface-2) 32%, transparent), transparent 88%),
    var(--surface-1);
  padding: 24px;
  overflow: hidden;
  box-shadow: 0 16px 48px color-mix(in srgb, var(--shadow) 36%, transparent);
}

.trust-item:nth-child(2) {
  background: linear-gradient(145deg, var(--tone-warm-soft), transparent 64%), var(--surface-1);
}

.trust-item:nth-child(3) {
  background: linear-gradient(145deg, var(--tone-steel-soft), transparent 64%), var(--surface-1);
}

.trust-item:nth-child(4) {
  background: linear-gradient(145deg, var(--tone-wine-soft), transparent 64%), var(--surface-1);
}

.trust-item i {
  width: 34px;
  height: 34px;
  color: var(--accent);
}

.trust-item h3 {
  margin: 22px 0 10px;
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1;
}

.trust-item p {
  margin: 0;
  color: var(--muted);
  font-size: var(--small);
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.case-card {
  position: relative;
  border: 1px solid color-mix(in srgb, var(--border-strong) 62%, var(--border));
  border-radius: calc(var(--radius) + 8px);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface-2) 34%, transparent), transparent 86%),
    var(--surface-1);
  padding: 24px;
  min-height: 350px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 18px 56px color-mix(in srgb, var(--shadow) 42%, transparent);
}

.case-visual {
  position: relative;
  aspect-ratio: 16 / 9;
  margin-top: 18px;
  border-color: color-mix(in srgb, var(--border-strong) 76%, var(--border));
  box-shadow: 0 16px 42px color-mix(in srgb, var(--shadow) 44%, transparent);
}

.case-chip {
  width: fit-content;
  border: 1px solid color-mix(in srgb, currentColor 32%, var(--border));
  border-radius: 999px;
  padding: 4px 10px;
  background: color-mix(in srgb, currentColor 8%, transparent);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

.case-card:nth-child(2) .case-chip {
  color: var(--tone-steel);
}

.case-card:nth-child(3) .case-chip {
  color: var(--tone-warm);
}

.case-metric {
  margin-top: 22px;
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 0.95;
  font-weight: 800;
}

.case-card h3 {
  margin: 22px 0 10px;
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1;
}

.case-card p {
  margin: 0;
  color: var(--muted);
  font-size: var(--small);
}

.tags,
.tech-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tags {
  margin-top: auto;
  padding-top: 22px;
}

.tag,
.tech-badge {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-2);
  color: color-mix(in srgb, var(--text) 78%, var(--muted));
  font-size: 12px;
  font-weight: 500;
}

.tag:nth-child(2n),
.tech-badge:nth-child(3n) {
  background: color-mix(in srgb, var(--surface-2) 78%, var(--tone-steel));
}

.tag:nth-child(3n),
.tech-badge:nth-child(4n) {
  background: color-mix(in srgb, var(--surface-2) 82%, var(--tone-warm));
}

.tag {
  padding: 5px 9px;
}

.tech-grid {
  margin-top: 26px;
}

.tech-badge {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 8px 15px;
  font-size: 14px;
}

.tech-badge::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-120%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.16), transparent);
}

.tech-badge:hover::after {
  animation: shimmer 760ms ease;
}

.contact-band {
  width: var(--wrap);
  margin: 0 auto;
  padding: 0;
  background:
    linear-gradient(120deg, color-mix(in srgb, var(--tone-warm) 6%, transparent), transparent 42%),
    linear-gradient(300deg, var(--tone-steel-soft), transparent 48%),
    var(--surface-1);
  border: 1px solid var(--hairline);
  overflow: hidden;
}

.contact-band > .section {
  width: 100%;
  margin: 0;
  padding: var(--section) clamp(18px, 3vw, 34px);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(28px, 6vw, 70px);
  align-items: start;
}

.contact-info {
  margin-top: 24px;
  display: grid;
  gap: 14px;
}

.contact-row {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: color-mix(in srgb, var(--text) 82%, var(--muted));
}

.contact-row i {
  color: var(--accent);
}

.contact-form {
  position: relative;
  border: 1px solid color-mix(in srgb, var(--border-strong) 34%, var(--border));
  border-radius: calc(var(--radius) + 8px);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface-1) 48%, transparent), transparent 100%),
    var(--surface-2);
  padding: clamp(20px, 3vw, 28px);
  overflow: hidden;
  box-shadow: var(--premium-shadow);
}

.field {
  position: relative;
  margin-bottom: 18px;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 54px;
  border: 1px solid color-mix(in srgb, var(--border-strong) 58%, var(--border));
  border-radius: var(--radius);
  background: var(--surface-1);
  color: var(--text);
  padding: 20px 14px 8px;
  outline: 0;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.field select {
  appearance: none;
  cursor: pointer;
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.field label {
  position: absolute;
  top: 15px;
  left: 14px;
  color: var(--muted);
  pointer-events: none;
  transform-origin: left top;
  transition: transform 170ms ease, color 170ms ease;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label,
.field select:focus + label,
.field select:valid + label {
  transform: translateY(-10px) scale(0.78);
  color: var(--accent);
}

.field.has-error input,
.field.has-error textarea,
.field.has-error select {
  border-color: var(--danger);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--danger) 18%, transparent);
}

.field.has-error label {
  color: var(--danger);
}

.error-text {
  min-height: 18px;
  display: block;
  margin-top: 6px;
  color: var(--danger);
  font-size: 12px;
}

.submit-btn {
  width: 100%;
  position: relative;
}

.submit-btn.is-success {
  background: var(--accent);
  border-color: var(--accent);
  color: #07110f;
}

.submit-btn .success-icon {
  display: none;
}

.submit-btn.is-success .btn-label {
  display: none;
}

.submit-btn.is-success .success-icon {
  display: inline-flex;
  animation: successPop 320ms ease;
}

.ai-chat-widget {
  position: fixed;
  right: max(18px, calc((100vw - 1120px) / 2 + 18px));
  bottom: 18px;
  z-index: 70;
  display: grid;
  justify-items: end;
  gap: 12px;
  pointer-events: none;
}

.ai-chat-toggle,
.ai-chat-panel {
  pointer-events: auto;
}

.ai-chat-toggle {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid color-mix(in srgb, var(--accent) 38%, var(--border));
  border-radius: 999px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 16%, transparent), transparent 58%),
    color-mix(in srgb, var(--surface-1) 92%, transparent);
  color: var(--text);
  padding: 7px 14px 7px 8px;
  box-shadow: 0 18px 56px var(--shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.ai-chat-toggle:hover {
  border-color: color-mix(in srgb, var(--accent) 70%, var(--border));
  box-shadow: 0 20px 66px color-mix(in srgb, var(--accent-glow) 34%, var(--shadow));
  transform: translateY(-2px);
}

.ai-chat-toggle-icon {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  filter: drop-shadow(0 0 12px color-mix(in srgb, var(--accent) 42%, transparent));
}

.ai-chat-bot-mark {
  width: 46px;
  height: 46px;
  overflow: visible;
}

.ai-chat-bot-glow {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.4;
  stroke-linecap: round;
  opacity: .72;
  filter: drop-shadow(0 0 7px var(--accent));
}

.ai-chat-bot-head {
  fill: url("#chatBotShell");
  stroke: rgba(255, 255, 255, .72);
  stroke-width: 1.2;
}

.ai-chat-bot-ear,
.ai-chat-bot-neck,
.ai-chat-bot-base {
  fill: color-mix(in srgb, #dce8e5 86%, var(--accent));
  stroke: rgba(255, 255, 255, .54);
  stroke-width: 1;
}

.ai-chat-bot-ear {
  filter: drop-shadow(0 0 5px color-mix(in srgb, var(--accent) 54%, transparent));
}

.ai-chat-bot-face {
  fill: url("#chatBotFace");
  stroke: color-mix(in srgb, var(--accent) 48%, transparent);
  stroke-width: 1;
}

.ai-chat-bot-eyes,
.ai-chat-bot-smile {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 4px var(--accent));
}

.ai-chat-toggle-text {
  font-weight: 700;
  font-size: 14px;
}

@media (min-width: 641px) {
  .ai-chat-widget {
    right: 18px;
  }

  .ai-chat-toggle {
    width: 54px;
    min-height: 54px;
    justify-content: center;
    gap: 0;
    padding: 4px;
  }

  .ai-chat-toggle-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }
}

.ai-chat-panel {
  width: min(390px, calc(100vw - 32px));
  max-height: min(680px, calc(100svh - 104px));
  display: none;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--border-strong) 66%, var(--border));
  border-radius: calc(var(--radius) + 12px);
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--accent) 8%, transparent), transparent 45%),
    linear-gradient(315deg, var(--tone-steel-soft), transparent 56%),
    color-mix(in srgb, var(--surface-1) 94%, transparent);
  color: var(--text);
  box-shadow: 0 28px 90px color-mix(in srgb, var(--shadow) 88%, transparent);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.ai-chat-widget.is-open .ai-chat-panel {
  display: grid;
  animation: chatPanelIn 180ms ease forwards;
}

.ai-chat-widget.is-open .ai-chat-toggle {
  display: none;
}

.ai-chat-widget.is-hidden-over-hero:not(.is-open) .ai-chat-toggle {
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px) scale(0.94);
}

.ai-chat-head {
  min-height: 82px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--hairline);
  padding: 18px 18px 16px;
}

.ai-chat-eyebrow {
  display: block;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.ai-chat-head h2 {
  margin: 4px 0 0;
  font-family: var(--font-display);
  font-size: 23px;
  line-height: 1;
  letter-spacing: 0;
}

.ai-chat-close {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-2);
  color: var(--text);
  cursor: pointer;
}

.ai-chat-close i {
  width: 18px;
  height: 18px;
}

.ai-chat-log {
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  padding: 16px 18px;
  scrollbar-width: thin;
}

.ai-chat-message {
  max-width: 88%;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 6px);
  padding: 10px 12px;
  font-size: 14px;
  line-height: 1.45;
  white-space: pre-wrap;
  overflow-wrap: break-word;
}

.ai-chat-message.bot {
  align-self: flex-start;
  background: color-mix(in srgb, var(--surface-2) 82%, transparent);
}

.ai-chat-message.user {
  align-self: flex-end;
  border-color: color-mix(in srgb, var(--accent) 34%, var(--border));
  background: color-mix(in srgb, var(--accent) 13%, var(--surface-1));
}

.ai-chat-message.system {
  align-self: stretch;
  max-width: 100%;
  border-color: color-mix(in srgb, var(--tone-warm) 26%, var(--border));
  background: color-mix(in srgb, var(--tone-warm) 9%, var(--surface-1));
  color: color-mix(in srgb, var(--text) 82%, var(--muted));
  font-size: 13px;
}

.ai-chat-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  gap: 10px;
  border-top: 1px solid var(--hairline);
  padding: 12px;
  background: color-mix(in srgb, var(--surface-1) 72%, transparent);
}

.ai-chat-options {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ai-chat-status {
  grid-column: 1 / -1;
  min-height: 18px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.ai-chat-status:empty {
  display: none;
}

.ai-chat-status[data-state="error"] {
  color: #d88f8f;
}

.ai-chat-status[data-state="busy"],
.ai-chat-status[data-state="hint"] {
  color: color-mix(in srgb, var(--accent) 76%, var(--text));
}

.ai-chat-option {
  min-height: 34px;
  border: 1px solid color-mix(in srgb, var(--border-strong) 46%, var(--border));
  border-radius: 999px;
  background: var(--surface-2);
  color: color-mix(in srgb, var(--text) 88%, var(--muted));
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.ai-chat-option:hover {
  border-color: color-mix(in srgb, var(--accent) 44%, var(--border));
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 8%, var(--surface-2));
}

.ai-chat-input-wrap {
  min-width: 0;
}

.ai-chat-input-wrap textarea {
  width: 100%;
  max-height: 118px;
  min-height: 44px;
  display: block;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-1);
  color: var(--text);
  padding: 10px 12px;
  resize: none;
  outline: 0;
}

.ai-chat-input-wrap textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.ai-chat-send {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  background: var(--accent);
  color: #07110f;
  cursor: pointer;
}

.ai-chat-send i {
  width: 18px;
  height: 18px;
}

.ai-chat-send:disabled,
.ai-chat-input-wrap textarea:disabled {
  cursor: wait;
  opacity: 0.65;
}

.demo-dashboard-page {
  --demo-ok: #00c896;
  --demo-warn: #c9a86a;
  --demo-info: #7f9aa3;
}

.demo-hero {
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.78fr);
}

.demo-mini-board {
  align-self: center;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--surface-1) 88%, transparent);
  box-shadow: var(--premium-shadow);
  padding: clamp(18px, 3vw, 28px);
  min-height: 430px;
  display: grid;
  align-content: space-between;
  gap: 18px;
}

.demo-mini-top,
.demo-mini-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 16px;
}

.demo-mini-top span,
.demo-mini-row span,
.demo-kpi span,
.demo-kpi small,
.demo-label {
  color: var(--muted);
  font-size: var(--small);
}

.demo-mini-top strong {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 0.95;
  color: var(--accent);
}

.demo-mini-bars {
  height: 180px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  gap: 12px;
  border-bottom: 1px solid var(--border);
  padding-top: 20px;
}

.demo-mini-bars span {
  min-height: 34px;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, var(--accent), color-mix(in srgb, var(--tone-warm) 70%, var(--accent)));
}

.demo-dashboard-shell {
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--surface-1);
  box-shadow: var(--premium-shadow);
  padding: clamp(16px, 2.6vw, 28px);
}

.demo-dashboard-header,
.demo-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.demo-dashboard-header h3,
.demo-panel h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.1;
}

.demo-status,
.demo-panel-head span,
.demo-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0 10px;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.demo-status i {
  width: 15px;
  height: 15px;
  color: var(--accent);
}

.demo-kpi-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.demo-kpi,
.demo-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--surface-2) 68%, transparent);
}

.demo-kpi {
  min-height: 132px;
  padding: 16px;
  display: grid;
  align-content: space-between;
  gap: 8px;
}

.demo-kpi strong {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1;
}

.demo-board-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.8fr);
  gap: 12px;
}

.demo-panel {
  padding: 16px;
}

.demo-funnel {
  margin-top: 18px;
  display: grid;
  gap: 14px;
}

.demo-funnel div {
  display: grid;
  grid-template-columns: minmax(110px, 0.3fr) 56px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.demo-funnel span {
  color: var(--muted);
  font-size: var(--small);
}

.demo-funnel strong {
  font-family: var(--font-display);
}

.demo-funnel i {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--tone-warm));
}

.demo-ai-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.demo-ai-list li {
  border-left: 2px solid var(--accent);
  padding: 2px 0 2px 12px;
}

.demo-ai-list strong,
.demo-ai-list span {
  display: block;
}

.demo-ai-list span {
  color: var(--muted);
  font-size: var(--small);
  margin-top: 2px;
}

.demo-table-wrap {
  margin-top: 12px;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.demo-table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
  font-size: 14px;
}

.demo-table th,
.demo-table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--hairline);
}

.demo-table th {
  color: var(--muted);
  font-weight: 500;
  background: color-mix(in srgb, var(--surface-2) 64%, transparent);
}

.demo-table tr:last-child td {
  border-bottom: 0;
}

.demo-pill.hot {
  border-color: color-mix(in srgb, var(--accent) 44%, transparent);
  color: var(--accent);
}

.demo-pill.warm {
  border-color: color-mix(in srgb, var(--demo-warn) 52%, transparent);
  color: var(--demo-warn);
}

.demo-pill.cold {
  border-color: color-mix(in srgb, var(--demo-info) 54%, transparent);
  color: var(--demo-info);
}

.demo-case-visual {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 14px;
  padding: 18px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 18%, transparent), transparent),
    var(--surface-2);
}

.demo-case-bars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: end;
  gap: 8px;
}

.demo-case-bars span {
  display: block;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, var(--accent), var(--tone-warm));
}

.demo-case-bars span:nth-child(1) { height: 42%; }
.demo-case-bars span:nth-child(2) { height: 68%; }
.demo-case-bars span:nth-child(3) { height: 52%; }
.demo-case-bars span:nth-child(4) { height: 86%; }

.demo-case-lines {
  display: grid;
  align-content: center;
  gap: 10px;
}

.demo-case-lines i {
  display: block;
  height: 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--text) 18%, transparent);
}

.demo-case-lines i:nth-child(2) {
  width: 74%;
}

.demo-case-lines i:nth-child(3) {
  width: 52%;
}

.tag-link {
  color: var(--accent);
  border-color: color-mix(in srgb, var(--accent) 36%, transparent);
}

.site-footer {
  width: var(--wrap);
  margin: 0 auto;
  padding: 14px 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: var(--small);
}

.site-footer .brand {
  width: 38px;
  height: 38px;
}

.site-footer .brand svg {
  width: 23px;
  height: 23px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-links a {
  transition: color 180ms ease;
}

.footer-links a:hover {
  color: var(--accent);
}

.breadcrumbs {
  width: var(--wrap);
  margin: 0 auto;
  padding: 18px 0 0;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 13px;
}

.breadcrumbs li:not(:last-child)::after {
  content: "›";
  margin-left: 8px;
  color: var(--faint);
}

.breadcrumbs a {
  color: var(--muted);
  transition: color 180ms ease;
}

.breadcrumbs a:hover {
  color: var(--accent);
}

.breadcrumbs [aria-current="page"] {
  color: var(--text);
}

.article-header {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 48px) 0 32px;
  text-align: center;
}

.article-header h1 {
  margin: 18px 0 0;
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}

.article-meta {
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}

.article-meta a {
  color: var(--accent);
}

.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding-bottom: clamp(42px, 6vw, 72px);
}

.article-body .lead {
  font-size: clamp(18px, 2.4vw, 22px);
  line-height: 1.45;
  color: color-mix(in srgb, var(--text) 86%, var(--muted));
}

.article-body h2 {
  margin: 42px 0 16px;
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.05;
}

.article-body h3 {
  margin: 28px 0 12px;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 28px);
}

.article-body p,
.article-body ul,
.article-body ol {
  color: color-mix(in srgb, var(--text) 88%, var(--muted));
  line-height: 1.65;
}

.article-body ul,
.article-body ol {
  padding-left: 22px;
}

.article-body li + li {
  margin-top: 8px;
}

.article-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-cta {
  margin-top: 48px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 8px);
  background: var(--surface-1);
  text-align: center;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 42px;
}

.blog-card {
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 10px);
  background: var(--surface-1);
  padding: clamp(22px, 3vw, 30px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 180ms ease, transform 180ms ease;
}

.blog-card:hover,
.blog-card:focus-within {
  border-color: color-mix(in srgb, var(--accent) 42%, var(--border));
  transform: translateY(-4px);
}

.blog-card-tag {
  width: fit-content;
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.blog-card h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.05;
}

.blog-card h2 a {
  color: var(--text);
  text-decoration: none;
}

.blog-card h2 a:hover,
.blog-card h2 a:focus-visible {
  color: var(--accent);
  outline: none;
}

.blog-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.blog-card time {
  margin-top: auto;
  color: var(--muted);
  font-size: 13px;
}

.blog-index {
  padding-top: clamp(38px, 5vw, 68px);
}

.blog-hero {
  max-width: 920px;
  padding: 12px 0 clamp(38px, 6vw, 72px);
}

.blog-hero h1 {
  max-width: 900px;
  margin: 16px 0 0;
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 82px);
  line-height: 0.94;
  letter-spacing: -0.025em;
}

.blog-hero > p {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.48;
}

.blog-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 28px;
}

.blog-topics a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-1);
  padding: 6px 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.blog-topics a:hover,
.blog-topics a:focus-visible {
  border-color: color-mix(in srgb, var(--accent) 42%, var(--border));
  background: var(--accent-soft);
  color: var(--text);
  outline: none;
}

.blog-featured {
  min-height: 390px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 14px);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 10%, transparent), transparent 42%),
    var(--surface-1);
  color: var(--text);
  overflow: hidden;
  box-shadow: var(--premium-shadow);
  transition: transform 200ms ease, border-color 200ms ease;
}

.blog-featured:hover,
.blog-featured:focus-visible {
  border-color: color-mix(in srgb, var(--accent) 48%, var(--border));
  transform: translateY(-3px);
  outline: none;
}

.blog-featured-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(28px, 5vw, 56px);
}

.blog-featured-copy > strong {
  max-width: 620px;
  margin-top: 22px;
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 52px);
  line-height: 0.98;
}

.blog-featured-description {
  max-width: 610px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.blog-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.blog-featured-visual {
  position: relative;
  min-height: 390px;
  display: block;
  border-left: 1px solid var(--border);
  background:
    linear-gradient(var(--hairline) 1px, transparent 1px),
    linear-gradient(90deg, var(--hairline) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, var(--accent-glow), transparent 34%),
    color-mix(in srgb, var(--surface-2) 82%, transparent);
  background-size: 36px 36px, 36px 36px, auto, auto;
}

.blog-featured-visual::before {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: 50%;
  height: 1px;
  background: color-mix(in srgb, var(--accent) 56%, var(--border));
}

.featured-input,
.featured-output,
.featured-core {
  position: absolute;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in srgb, var(--accent) 34%, var(--border));
  background: color-mix(in srgb, var(--surface-1) 88%, transparent);
  box-shadow: 0 18px 54px var(--shadow);
}

.featured-input,
.featured-output {
  min-width: 72px;
  min-height: 38px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.featured-input {
  left: 7%;
  top: calc(50% - 19px);
}

.featured-core {
  left: 50%;
  top: 50%;
  width: 132px;
  height: 132px;
  flex-direction: column;
  border-radius: 50%;
  background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 86%, white 14%), color-mix(in srgb, var(--accent) 54%, #03140f));
  color: #06110e;
  transform: translate(-50%, -50%);
}

.featured-core b {
  font-family: var(--font-display);
  font-size: 48px;
  line-height: 0.9;
}

.featured-core small {
  margin-top: 7px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.featured-output {
  right: 7%;
}

.featured-output.output-one { top: 24%; }
.featured-output.output-two { top: calc(50% - 19px); }
.featured-output.output-three { bottom: 24%; }

.blog-list-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(72px, 9vw, 112px);
  padding-bottom: 20px;
}

.blog-list-heading h2 {
  margin: 9px 0 0;
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
}

.blog-list-heading > span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.blog-list {
  border-top: 1px solid var(--border);
}

.blog-list-item {
  display: grid;
  grid-template-columns: 52px 132px minmax(0, 1fr) 116px;
  gap: 20px;
  align-items: start;
  border-bottom: 1px solid var(--border);
  padding: 26px 8px;
  color: var(--text);
  transition: background 180ms ease, padding 180ms ease;
}

.blog-list-item:hover,
.blog-list-item:focus-visible {
  background: color-mix(in srgb, var(--surface-1) 84%, var(--accent) 3%);
  padding-inline: 16px;
  outline: none;
}

.blog-list-number {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
}

.blog-list-topic {
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.blog-list-copy {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.blog-list-copy strong {
  max-width: 720px;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.7vw, 34px);
  line-height: 1.02;
}

.blog-list-copy > span {
  max-width: 700px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.blog-list-meta {
  display: grid;
  justify-items: end;
  gap: 6px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
}

.blog-list-meta i {
  width: 18px;
  height: 18px;
  margin-top: 8px;
  color: var(--text);
  transition: color 180ms ease, transform 180ms ease;
}

.blog-list-item:hover .blog-list-meta i,
.blog-list-item:focus-visible .blog-list-meta i {
  color: var(--accent);
  transform: translate(2px, -2px);
}

.blog-subscribe-panel {
  margin-top: clamp(72px, 9vw, 112px);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 12px);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 9%, transparent), transparent 50%),
    var(--surface-1);
  padding: clamp(26px, 4vw, 44px);
}

.blog-subscribe-panel h2 {
  max-width: 650px;
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1;
}

@media (max-width: 900px) {
  .blog-featured {
    grid-template-columns: 1fr;
  }

  .blog-featured-visual {
    min-height: 300px;
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .blog-list-item {
    grid-template-columns: 48px minmax(0, 1fr) 92px;
  }

  .blog-list-topic,
  .blog-list-copy {
    grid-column: 2;
  }

  .blog-list-meta {
    grid-column: 3;
    grid-row: 1 / span 2;
  }
}

@media (max-width: 640px) {
  .blog-hero h1 {
    font-size: clamp(40px, 13vw, 54px);
  }

  .blog-featured-copy {
    padding: 24px 20px 28px;
  }

  .blog-featured-copy > strong {
    font-size: 34px;
  }

  .blog-featured-visual {
    min-height: 250px;
  }

  .featured-core {
    width: 106px;
    height: 106px;
  }

  .featured-core b {
    font-size: 38px;
  }

  .featured-input,
  .featured-output {
    min-width: 58px;
  }

  .blog-list-heading {
    align-items: start;
  }

  .blog-list-item {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 10px 12px;
    padding: 22px 4px;
  }

  .blog-list-topic,
  .blog-list-copy,
  .blog-list-meta {
    grid-column: 2;
  }

  .blog-list-meta {
    grid-row: auto;
    display: flex;
    justify-content: flex-start;
    justify-items: start;
    gap: 12px;
    margin-top: 5px;
  }

  .blog-list-meta i {
    margin: -3px 0 0 auto;
  }

  .blog-subscribe-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .blog-subscribe-panel .btn {
    width: 100%;
  }
}

.article-cta h3 {
  margin: 0 0 8px;
}

.article-cta p {
  margin: 0 0 18px;
  color: var(--muted);
}

.article-cta .btn.btn-primary,
.service-cta-band .btn.btn-primary {
  color: #07110f;
}

.article-cta .btn.btn-primary i,
.service-cta-band .btn.btn-primary i {
  color: #07110f;
}

.service-page {
  background:
    radial-gradient(circle at 18% 12%, color-mix(in srgb, var(--service-tone, var(--accent)) 14%, transparent), transparent 28vw),
    radial-gradient(circle at 86% 18%, color-mix(in srgb, var(--service-tone-2, var(--tone-steel)) 13%, transparent), transparent 26vw),
    var(--bg);
}

.service-hero {
  width: var(--wrap);
  min-height: clamp(620px, 78svh, 780px);
  margin: 0 auto;
  padding: clamp(44px, 7vw, 88px) 0 var(--section);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 0.9fr);
  gap: clamp(34px, 5.5vw, 86px);
  align-items: center;
}

.service-hero-copy {
  min-width: 0;
}

.service-hero h1 {
  margin: 18px 0 0;
  max-width: 620px;
  font-family: var(--font-display);
  font-size: clamp(42px, 5.2vw, 66px);
  line-height: 0.98;
  letter-spacing: 0;
}

.service-hero-subtitle {
  max-width: 610px;
  margin: 22px 0 0;
  color: color-mix(in srgb, var(--text) 72%, var(--muted));
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.38;
}

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

.service-hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.service-hero-proof span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface-1) 76%, transparent);
  color: var(--muted);
  padding: 6px 11px;
  font-size: 12px;
  font-weight: 700;
}

.service-visual-panel {
  position: relative;
  min-height: 470px;
  padding: 22px;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 12px;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 12px);
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--service-tone, var(--accent)) 12%, transparent), transparent 48%),
    linear-gradient(315deg, color-mix(in srgb, var(--service-tone-2, var(--tone-steel)) 13%, transparent), transparent 52%),
    var(--surface-1);
  overflow: hidden;
  box-shadow: 0 28px 90px var(--shadow);
}

.service-visual-panel img {
  position: absolute;
  inset: 156px 22px 22px 22px;
  width: calc(100% - 44px);
  height: calc(100% - 178px);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 6px);
  object-fit: contain;
  background: color-mix(in srgb, var(--surface-1) 88%, white 12%);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
}

.visual-node {
  position: relative;
  z-index: 2;
  flex: 1 1 142px;
  min-width: 0;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  background: color-mix(in srgb, var(--surface-1) 86%, transparent);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 10px 12px;
  color: color-mix(in srgb, var(--text) 88%, var(--muted));
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 16px 50px var(--shadow);
}

.visual-node i {
  width: 19px;
  height: 19px;
  color: var(--service-tone, var(--accent));
}

.visual-node.one,
.visual-node.two,
.visual-node.three {
  top: auto;
  right: auto;
  left: auto;
}

.service-page-grid,
.service-scenario-grid,
.service-delivery-grid {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.service-page-grid {
  grid-template-columns: 0.9fr 1.1fr;
}

.service-scenario-grid {
  grid-template-columns: repeat(3, 1fr);
}

.service-delivery-grid {
  grid-template-columns: repeat(4, 1fr);
}

.service-deep-card,
.scenario-card,
.delivery-card,
.stack-panel {
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 8px);
  background: var(--surface-1);
  padding: clamp(22px, 3vw, 30px);
}

.service-deep-card {
  min-height: 360px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--service-tone, var(--accent)) 9%, transparent), transparent 52%),
    var(--surface-1);
}

.service-deep-card h2,
.stack-panel h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
}

.service-deep-card p,
.stack-panel p,
.scenario-card p,
.delivery-card p {
  color: var(--muted);
}

.signal-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.signal-list li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: start;
}

.signal-list i {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-2);
  color: var(--service-tone, var(--accent));
  padding: 8px;
}

.stack-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 360px;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--service-tone-2, var(--tone-steel)) 10%, transparent), transparent 58%),
    var(--surface-1);
}

.stack-map {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.stack-row {
  min-height: 46px;
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--surface-2) 78%, transparent);
  padding: 8px 10px;
}

.stack-row strong {
  color: var(--service-tone, var(--accent));
  font-size: 13px;
}

.stack-row span {
  color: color-mix(in srgb, var(--text) 78%, var(--muted));
  font-size: 13px;
}

.scenario-card {
  position: relative;
  min-height: 270px;
  overflow: hidden;
}

a.scenario-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

a.scenario-card:hover,
a.scenario-card:focus-visible {
  border-color: color-mix(in srgb, var(--service-tone, var(--accent)) 50%, var(--border));
  outline: none;
}

a.scenario-card:hover .card-more,
a.scenario-card:focus-visible .card-more {
  color: var(--service-tone, var(--accent));
}

.scenario-card::before {
  content: attr(data-index);
  position: absolute;
  right: 18px;
  top: 14px;
  color: color-mix(in srgb, var(--service-tone, var(--accent)) 18%, transparent);
  font-family: var(--font-display);
  font-size: 84px;
  font-weight: 800;
  line-height: 1;
}

.scenario-card[data-index=""]::before {
  content: none;
}

.scenario-card i,
.delivery-card i {
  width: 34px;
  height: 34px;
  color: var(--service-tone, var(--accent));
}

.scenario-card h3,
.delivery-card h3 {
  position: relative;
  margin: 24px 0 10px;
  font-family: var(--font-display);
  font-size: 25px;
  line-height: 1;
}

.delivery-card {
  min-height: 230px;
}

.service-cta-band {
  width: var(--wrap);
  margin: var(--section) auto 0;
  border: 1px solid color-mix(in srgb, var(--service-tone, var(--accent)) 28%, var(--border));
  border-radius: calc(var(--radius) + 12px);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--service-tone, var(--accent)) 14%, transparent), transparent 50%),
    var(--surface-1);
  padding: clamp(28px, 5vw, 46px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.service-cta-band h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
}

.service-cta-band p {
  max-width: 690px;
  margin: 12px 0 0;
  color: var(--muted);
}

.js [data-animate] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

.js .hero [data-animate] {
  opacity: 1;
  transform: none;
}

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

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 var(--accent-glow); }
  70% { box-shadow: 0 0 0 8px rgba(0, 200, 150, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 200, 150, 0); }
}

@keyframes flowDash {
  to { stroke-dashoffset: -92; }
}

@keyframes deckSignalX {
  from { left: 17%; opacity: 0; }
  12%, 88% { opacity: 1; }
  to { left: 79%; opacity: 0; }
}

@keyframes deckSignalY {
  from { top: 12%; opacity: 0; }
  12%, 88% { opacity: 1; }
  to { top: 82%; opacity: 0; }
}

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

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

@keyframes dotOrbit {
  to {
    transform: translate(-50%, -50%) rotate(calc(var(--orbit-start) + 360deg)) translateX(var(--orbit-radius));
  }
}

@keyframes dotOrbitReverse {
  to {
    transform: translate(-50%, -50%) rotate(calc(var(--orbit-start) - 360deg)) translateX(var(--orbit-radius));
  }
}

@keyframes floatSoft {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -10px, 0); }
}

@keyframes n8nSlide {
  0%, 100% { transform: translate3d(-6px, 0, 0); }
  44% { transform: translate3d(20px, 0, 0); }
  68% { transform: translate3d(12px, -3px, 0); }
}

@keyframes barLift {
  0%, 100% { transform: scaleY(0.74); opacity: 0.62; }
  50% { transform: scaleY(1); opacity: 1; }
}

@keyframes blink {
  50% { opacity: 0; }
}

@keyframes botFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }

  35% {
    transform: translate3d(0.08%, -0.2%, 0) rotate(0.08deg);
  }

  68% {
    transform: translate3d(-0.06%, 0.14%, 0) rotate(-0.06deg);
  }
}

@keyframes cursorOut {
  to { opacity: 0; width: 0; }
}

@keyframes revealLine {
  to { transform: scaleX(1); }
}

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

@keyframes shimmer {
  to { transform: translateX(120%); }
}

@keyframes successPop {
  0% { transform: scale(0.4); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes chatPanelIn {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 1120px) {
  .hero-conversion {
    min-height: auto;
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
    padding-top: 46px;
  }

  .hero-conversion .hero-copy {
    width: min(760px, 100%);
  }

  .hero-conversion h1,
  .hero-conversion .hero-subtitle {
    max-width: 760px;
  }

  .hero-conversion .hero-product-visual {
    width: min(760px, 100%);
    justify-self: center;
  }
}

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

  .hero-grid,
  .hero-conversion,
  .service-hero,
  .trust-strip,
  .metrics-grid,
  .bento-grid,
  .pricing-grid,
  .approach-grid,
  .process-grid,
  .trust-grid,
  .contact-grid,
  .service-page-grid,
  .service-scenario-grid,
  .service-delivery-grid,
  .service-cta-band {
    grid-template-columns: 1fr;
  }

  .process-grid-simple .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .approach-card {
    min-height: 0;
  }

  .approach-card h2,
  .approach-card h3 {
    margin-top: 28px;
  }

  .hero-visual {
    max-width: 720px;
  }

  .hero-product-visual {
    min-height: 440px;
  }

  .service-hero {
    min-height: auto;
  }

  .service-visual-panel {
    min-height: 430px;
  }

  .service-visual-panel img {
    inset: 146px 22px 22px 22px;
    height: calc(100% - 168px);
  }

  .service-cta-band {
    align-items: start;
  }
}

@media (max-width: 640px) {
  :root {
    --wrap: min(358px, calc(100vw - 32px));
    --h1: clamp(34px, 10.7vw, 42px);
    --section: clamp(34px, 10vw, 48px);
  }

  .process-grid-simple .steps {
    grid-template-columns: 1fr;
  }

  .site-header {
    padding-top: 8px;
  }

  .nav-shell {
    min-height: 58px;
    padding: 8px;
  }

  .nav-shell,
  .hero,
  .service-hero,
  .service-cta-band,
  .section,
  .separator,
  .site-footer {
    margin-left: 16px;
    margin-right: 16px;
  }

  .btn-outline {
    display: none;
  }

  .btn-cta-mob {
    display: inline-flex;
    width: 44px;
    min-height: 44px;
    background: var(--surface-1);
  }

  .hero {
    min-height: auto;
    padding-top: 48px;
  }

  .hero-conversion {
    width: auto;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding-top: 26px;
    padding-bottom: 28px;
    overflow: hidden;
  }

  .hero-conversion .hero-copy {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .hero-conversion h1 {
    max-width: 100%;
    font-size: clamp(36px, 10vw, 42px);
    line-height: 0.96;
    overflow-wrap: anywhere;
  }

  .hero-conversion .hero-subtitle {
    margin-top: 20px;
    font-size: 16px;
    line-height: 1.42;
    max-width: 330px;
    overflow-wrap: anywhere;
  }

  .hero-conversion .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-conversion .btn-primary,
  .hero-conversion .ghost-link {
    width: 100%;
    max-width: 342px;
  }

  .hero-conversion .ghost-link {
    justify-content: center;
  }

  .hero-proof-pills {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
  }

  .hero-proof-pills span {
    justify-content: center;
  }

  .hero-product-visual {
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
    min-width: 0 !important;
    min-height: 330px;
    border-radius: calc(var(--radius) + 8px);
  }

  .hero-product-visual::after {
    inset: 10px;
  }

  .hero-command-deck {
    min-height: 540px;
    grid-template-rows: auto 1fr auto auto;
    gap: 14px;
    padding: 18px 16px 16px;
  }

  .deck-topline {
    padding-bottom: 10px;
    font-size: 8px;
  }

  .deck-id {
    max-width: 132px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .deck-flow {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto 96px auto;
    gap: 14px;
    min-height: 330px;
  }

  .deck-rail {
    left: 50%;
    right: auto;
    top: 10%;
    bottom: 10%;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--accent) 76%, transparent) 18%, color-mix(in srgb, var(--accent) 76%, transparent) 82%, transparent);
  }

  .deck-rail::before,
  .deck-rail::after {
    top: auto;
    left: -4px;
  }

  .deck-rail::before { top: 0; }
  .deck-rail::after { bottom: 0; }

  .deck-signal {
    top: 12%;
    left: calc(50% - 3px);
    width: 6px;
    height: 24px;
    background: linear-gradient(180deg, transparent, var(--accent));
    animation-name: deckSignalY;
  }

  .deck-node {
    min-height: 84px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    padding: 13px 14px;
  }

  .deck-node-copy {
    margin-top: 0;
  }

  .deck-node-input { grid-row: 1; }
  .deck-node-output { grid-row: 3; }

  .deck-node-icon {
    width: 38px;
    height: 38px;
  }

  .deck-node-copy strong {
    font-size: 18px;
  }

  .deck-node-copy > span {
    margin-top: 4px;
    font-size: 10px;
  }

  .deck-core {
    grid-row: 2;
    width: 88px;
  }

  .deck-core-mark {
    font-size: 30px;
    transform: translateY(-5px);
  }

  .deck-core-caption {
    bottom: 16px;
    font-size: 7px;
  }

  .deck-core-orbit { inset: -8px; }
  .deck-core-orbit.orbit-b { inset: -14px; }

  .deck-telemetry {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    padding: 10px 0 0;
  }

  .deck-telemetry > span {
    padding-right: 6px;
  }

  .deck-telemetry small {
    font-size: 7px;
  }

  .deck-telemetry strong {
    font-size: 8px;
  }

  .deck-chat-cta {
    position: static;
    width: 100%;
    min-height: 42px;
    justify-content: center;
    border-radius: var(--radius);
  }

  .hero-flow-lines {
    inset: 8px;
  }

  .hero-node {
    top: 22px;
    left: 18px;
    width: 154px;
    padding: 12px;
  }

  .hero-node strong {
    font-size: 20px;
  }

  .hero-node .node-meta {
    font-size: 11px;
  }

  .hero-ai-core {
    width: 124px;
  }

  .ai-core-mark {
    font-size: 34px;
  }

  .hero-panel {
    min-width: 0;
    gap: 9px;
    padding: 10px;
  }

  .hero-panel strong {
    font-size: 14px;
  }

  .panel-icon {
    width: 32px;
    height: 32px;
  }

  .hero-panel span:not(.panel-icon) {
    font-size: 10px;
  }

  .hero-panel-chat {
    right: auto;
    left: calc(100vw - 116px);
    top: 36px;
    width: 50px;
    justify-content: center;
  }

  .hero-panel-telegram {
    left: 16px;
    bottom: 74px;
    width: 160px;
  }

  .hero-panel-crm {
    right: auto;
    left: calc(100vw - 116px);
    bottom: 34px;
    width: 50px;
    justify-content: center;
  }

  .hero-panel-chat div,
  .hero-panel-crm div {
    display: none;
  }

  .hero-panel-n8n {
    display: none;
  }

  .hero-simple-flow {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto auto;
    gap: 12px;
    padding: 18px;
    min-height: 360px;
  }

  .hero-simple-flow .hero-ai-core {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 104px;
  }

  .hero-simple-flow .ai-core-mark {
    font-size: 28px;
  }

  .hero-simple-flow .ai-core-dot {
    --orbit-radius: 40px;
    width: 6px;
    height: 6px;
  }

  .hero-simple-flow .hero-card {
    width: 100%;
    padding: 12px;
    gap: 10px;
  }

  .hero-card-site { grid-column: 1; grid-row: 1; justify-self: stretch; }
  .hero-card-chat { grid-column: 2; grid-row: 1; justify-self: stretch; }
  .hero-card-result { grid-column: 1 / -1; grid-row: 3; justify-self: stretch; }

  .hero-card-icon {
    width: 36px;
    height: 36px;
  }

  .hero-card-icon i {
    width: 18px;
    height: 18px;
  }

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

  .hero-card-meta {
    display: none;
  }

  .hero-flow-cta {
    grid-column: 1 / -1;
    grid-row: 4;
    position: static;
    justify-self: center;
    margin-top: 4px;
  }

  .flow-step-line {
    display: none;
  }

  .trust-strip {
    width: calc(100vw - 32px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .trust-strip-item {
    min-height: 104px;
    padding: 14px;
  }

  .trust-strip-item strong {
    font-size: 23px;
  }

  .hero-banner-section {
    width: calc(100vw - 32px);
    padding-top: 14px;
    padding-bottom: 16px;
  }

  .hero-banner {
    border-radius: calc(var(--radius) + 6px);
  }

  .hero h1 {
    max-width: 330px;
    min-height: calc(var(--h1) * 2.9);
    line-height: 0.98;
    overflow-wrap: normal;
  }

  .hero-visual {
    aspect-ratio: 4 / 3;
    max-height: 290px;
  }

  .service-hero {
    min-height: auto;
    padding-top: 48px;
  }

  .service-hero h1 {
    max-width: 330px;
    font-size: clamp(30px, 9vw, 42px);
    line-height: 0.96;
  }

  .service-hero-subtitle {
    width: min(100%, 330px);
    font-size: 17px;
  }

  .service-hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .service-hero-actions .btn-primary,
  .service-hero-actions .ghost-link {
    width: min(100%, 360px);
  }

  .service-hero-actions .ghost-link {
    justify-content: center;
  }

  .service-hero-proof {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    max-width: 300px;
  }

  .service-hero-proof span + span::before {
    display: none;
  }

  .service-visual-panel {
    min-height: 390px;
  }

  .service-visual-panel img {
    inset: 126px 18px 18px 18px;
    height: calc(100% - 144px);
  }

  .service-scenario-grid,
  .service-delivery-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .scenario-card {
    min-height: 200px;
  }

  .delivery-card {
    padding: 20px;
  }

  .service-cta-band {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .section-alt {
    padding-left: 16px;
    padding-right: 16px;
  }

  .contact-band {
    padding: 0;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    flex-wrap: wrap;
  }

  .ai-chat-widget {
    right: 16px;
    bottom: 14px;
    left: 16px;
    justify-items: stretch;
  }

  .ai-chat-toggle {
    justify-self: end;
    width: 54px;
    min-height: 44px;
    justify-content: center;
    gap: 0;
    padding: 4px;
  }

  .ai-chat-toggle-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }

  .ai-chat-toggle-icon,
  .ai-chat-bot-mark {
    width: 38px;
    height: 38px;
  }

  .ai-chat-toggle-text {
    font-size: 13px;
  }

  .ai-chat-panel {
    width: 100%;
    max-height: min(640px, calc(100svh - 88px));
  }

  .ai-chat-message {
    max-width: 94%;
  }
}

@media (max-width: 900px) {
  .demo-hero,
  .demo-board-grid,
  .demo-kpi-grid {
    grid-template-columns: 1fr;
  }

  .demo-mini-board {
    min-height: 360px;
  }
}

@media (max-width: 640px) {
  .demo-dashboard-shell {
    padding: 14px;
  }

  .demo-dashboard-header,
  .demo-panel-head,
  .demo-mini-top,
  .demo-mini-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .demo-funnel div {
    grid-template-columns: 1fr 48px;
  }

  .demo-funnel i {
    grid-column: 1 / -1;
  }
}

.scroll-hint {
  display: none;
}

.faq-grid {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  max-width: 760px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 6px);
  background: var(--surface-1);
}

.faq-item summary {
  padding: 18px 20px;
  font-weight: 600;
  font-size: 17px;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--accent);
  flex: 0 0 auto;
  transition: transform 180ms ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin: 0;
  padding: 3px 20px 22px;
  color: var(--muted);
  font-size: var(--small);
  line-height: 1.55;
}

@media (max-width: 900px) {
  .scroll-hint {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 500;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  [data-animate],
  .separator,
  .terminal-line,
  .site-header {
    opacity: 1;
    transform: none;
  }

  .hero-frame,
  .hero-bot-motion {
    animation: none;
    opacity: 1;
  }

  .cursor {
    display: none;
  }
}
