:root {
  --void: #080a10;
  --cobalt: #3156d4;
  --magenta: #c33c76;
  --amber: #f29a2e;
  --fog: #b4bdcc;
  --pearl: #f6f2e8;
  --ink: var(--void);
  --muted: rgba(6, 7, 10, 0.66);
  --line: rgba(174, 188, 210, 0.48);
  --paper: var(--pearl);
  --white: var(--pearl);
  --night: var(--void);
  --night-soft: var(--void);
  --teal: var(--cobalt);
  --teal-dark: var(--cobalt);
  --sage: var(--fog);
  --gold: var(--amber);
  --coral: var(--magenta);
  --shadow: 0 20px 60px rgba(6, 7, 10, 0.18);
  color: var(--ink);
  font-family:
    Manrope, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  margin: 0;
  overflow-x: clip;
  padding-bottom: 0;
}

/* ── AI Neural-Network Background ─────────────────────────────────────────── */

@keyframes aiOrb {
  0%   { transform: translate(0, 0) scale(1); opacity: 0.22; }
  33%  { transform: translate(3rem, -2rem) scale(1.12); opacity: 0.32; }
  66%  { transform: translate(-2rem, 2.5rem) scale(0.92); opacity: 0.18; }
  100% { transform: translate(0, 0) scale(1); opacity: 0.22; }
}

@keyframes aiOrbB {
  0%   { transform: translate(0, 0) scale(1); opacity: 0.16; }
  40%  { transform: translate(-4rem, 3rem) scale(1.08); opacity: 0.28; }
  70%  { transform: translate(2rem, -1.5rem) scale(0.95); opacity: 0.14; }
  100% { transform: translate(0, 0) scale(1); opacity: 0.16; }
}

@keyframes aiNodePulse {
  0%, 100% { opacity: 0.14; transform: scale(1); }
  50%       { opacity: 0.42; transform: scale(1.5); }
}

@keyframes aiLineDraw {
  0%   { stroke-dashoffset: 340; opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}

/* Static radial-gradient canvas — always visible */
body::before {
  content: "";
  inset: 0;
  pointer-events: none;
  position: fixed;
  z-index: 0;
  background:
    radial-gradient(ellipse 55vw 38vh at 18% 22%, rgba(49, 86, 212, 0.07) 0%, transparent 70%),
    radial-gradient(ellipse 42vw 32vh at 82% 14%, rgba(195, 60, 118, 0.06) 0%, transparent 68%),
    radial-gradient(ellipse 60vw 44vh at 62% 72%, rgba(242, 154, 46, 0.05) 0%, transparent 72%),
    radial-gradient(ellipse 38vw 28vh at 8%  88%, rgba(49, 86, 212, 0.05) 0%, transparent 65%),
    radial-gradient(ellipse 50vw 36vh at 92% 58%, rgba(195, 60, 118, 0.04) 0%, transparent 70%);
}

/* Animated cobalt orb */
body::after {
  animation: aiOrb 18s ease-in-out infinite;
  background: radial-gradient(circle 28vw at center, rgba(49, 86, 212, 0.09) 0%, transparent 70%);
  content: "";
  height: 56vw;
  left: -8vw;
  pointer-events: none;
  position: fixed;
  top: 10vh;
  width: 56vw;
  z-index: 0;
}

/* Dot-grid overlay */
.ai-bg-dots {
  background-image: radial-gradient(circle 1.5px at 1.5px 1.5px, rgba(49, 86, 212, 0.16) 0%, transparent 100%);
  background-size: 38px 38px;
  inset: 0;
  pointer-events: none;
  position: fixed;
  z-index: 0;
}

/* Animated magenta orb */
.ai-bg-orb {
  animation: aiOrbB 24s ease-in-out infinite;
  background: radial-gradient(circle 22vw at center, rgba(195, 60, 118, 0.08) 0%, transparent 70%);
  height: 44vw;
  pointer-events: none;
  position: fixed;
  right: -6vw;
  top: 50vh;
  width: 44vw;
  z-index: 0;
}

/* SVG connection lines + node dots */
.ai-bg-lines {
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  position: fixed;
  z-index: 0;
}

.ai-bg-lines svg {
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

.ai-bg-lines .ai-line {
  fill: none;
  stroke-dasharray: 340;
  stroke-dashoffset: 340;
  stroke-linecap: round;
  stroke-width: 1.2;
}

.ai-bg-lines .ai-line-cobalt  { animation: aiLineDraw 7s ease-in-out infinite; stroke: rgba(49, 86, 212, 0.28); }
.ai-bg-lines .ai-line-cobalt.d2  { animation-delay: 2.4s; }
.ai-bg-lines .ai-line-cobalt.d3  { animation-delay: 4.8s; }
.ai-bg-lines .ai-line-magenta { animation: aiLineDraw 9s ease-in-out infinite; stroke: rgba(195, 60, 118, 0.22); }
.ai-bg-lines .ai-line-magenta.d2 { animation-delay: 3s; }
.ai-bg-lines .ai-line-magenta.d3 { animation-delay: 6s; }
.ai-bg-lines .ai-line-amber   { animation: aiLineDraw 11s ease-in-out infinite; stroke: rgba(242, 154, 46, 0.2); }
.ai-bg-lines .ai-line-amber.d2   { animation-delay: 4s; }

.ai-bg-lines .ai-node { animation: aiNodePulse 3.6s ease-in-out infinite; }
.ai-bg-lines .ai-node.d2 { animation-delay: 1.2s; }
.ai-bg-lines .ai-node.d3 { animation-delay: 2.4s; }
.ai-bg-lines .ai-node.d4 { animation-delay: 3.6s; }

/* All page content sits above the background layer */
.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

/* ── End AI Background ─────────────────────────────────────────────────────── */

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(255, 138, 30, 0.72);
  outline-offset: 3px;
}

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

.site-header {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(6, 7, 10, 0.72);
  border-bottom: 1px solid rgba(245, 247, 255, 0.12);
  color: var(--white);
  display: grid;
  gap: 0.75rem;
  grid-template-columns: auto auto;
  justify-content: space-between;
  left: 0;
  padding: 0.75rem 1rem;
  position: sticky;
  right: 0;
  top: 0;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
  z-index: 20;
}

.site-header[data-scrolled] {
  background: rgba(245, 247, 255, 0.94);
  border-bottom-color: rgba(174, 188, 210, 0.85);
  box-shadow: 0 10px 30px rgba(6, 7, 10, 0.1);
  color: var(--ink);
}

.site-header[data-scrolled] .brand-logo-img {
  filter: brightness(0) invert(0);
}

.site-header[data-scrolled] .brand-mark {
  filter: brightness(0) invert(0);
}

.brand,
.nav,
.hero-actions,
.site-footer {
  align-items: center;
  display: flex;
}

.brand {
  font-family:
    Sora, Manrope, ui-sans-serif, system-ui, sans-serif;
  font-weight: 800;
  gap: 0.7rem;
  min-width: 0;
}

.brand-copy {
  display: none;
}

.brand-mark {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  position: relative;
  transition:
    filter 180ms ease,
    transform 180ms ease;
}

.brand-mark img {
  height: auto;
  max-height: 2.6rem;
  width: auto;
  max-width: 12rem;
  object-fit: contain;
}

.brand-logo-img {
  height: 2.4rem;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
}

.brand:hover .brand-mark {
  filter:
    drop-shadow(0 0 10px rgba(61, 90, 254, 0.42))
    drop-shadow(0 0 14px rgba(255, 47, 163, 0.28));
  transform: translateY(-1px);
}

.brand-copy {
  grid-template-columns: 1fr;
  line-height: 1;
}

.brand-name {
  font-size: 0.98rem;
  letter-spacing: 0;
}

.brand-subtitle {
  color: rgba(174, 188, 210, 0.82);
  font-family:
    Manrope, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  margin-top: 0.15rem;
  text-transform: uppercase;
}

.site-header[data-scrolled] .brand-subtitle {
  color: var(--muted);
}

.nav {
  background: rgba(245, 247, 255, 0.08);
  border: 1px solid rgba(174, 188, 210, 0.18);
  border-radius: 999px;
  display: none;
  gap: 0.25rem;
  padding: 0.25rem;
}

.site-header[data-scrolled] .nav {
  background: var(--white);
  border-color: var(--line);
}

.nav a {
  border-radius: 999px;
  color: rgba(245, 247, 255, 0.78);
  font-size: 0.92rem;
  padding: 0.5rem 0.85rem;
  transition:
    background 160ms ease,
    color 160ms ease;
}

.site-header[data-scrolled] .nav a {
  color: var(--muted);
}

.nav a:hover {
  background: rgba(61, 90, 254, 0.22);
  color: var(--white);
}

.site-header[data-scrolled] .nav a:hover {
  background: rgba(61, 90, 254, 0.1);
  color: var(--ink);
}

.header-cta {
  background: var(--gold);
  border-radius: 999px;
  color: var(--night);
  font-weight: 800;
  justify-self: end;
  max-width: 9rem;
  min-height: 2.6rem;
  padding: 0.65rem 1rem;
  text-align: center;
  transition:
    background 160ms ease,
    color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.site-header[data-scrolled] .header-cta {
  background: var(--teal);
  color: var(--white);
}

.header-cta:hover {
  box-shadow: 0 10px 28px rgba(255, 138, 30, 0.28);
  transform: translateY(-1px);
}

.sticky-mobile-cta {
  background: var(--gold);
  border: 1px solid rgba(6, 7, 10, 0.16);
  border-radius: 999px;
  bottom: 0.85rem;
  box-shadow: 0 18px 50px rgba(6, 7, 10, 0.28);
  color: var(--night);
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  left: 1rem;
  min-height: 3.25rem;
  opacity: 0;
  padding: 0.95rem 1.2rem;
  pointer-events: none;
  position: fixed;
  right: 1rem;
  transform: translateY(1.2rem);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
  z-index: 30;
}

.sticky-mobile-cta[data-visible] {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.hero {
  align-items: center;
  background: var(--night);
  color: var(--white);
  display: flex;
  min-height: auto;
  overflow: hidden;
  padding: 4.6rem 1rem 3rem;
  position: relative;
  isolation: isolate;
}

.hero::before {
  background:
    linear-gradient(90deg, rgba(6, 7, 10, 0.98), rgba(6, 7, 10, 0.84)),
    linear-gradient(180deg, rgba(6, 7, 10, 0.18), rgba(6, 7, 10, 0.92));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

.hero::after {
  background:
    linear-gradient(180deg, rgba(6, 7, 10, 0), rgba(6, 7, 10, 0.94)),
    linear-gradient(90deg, rgba(61, 90, 254, 0.18), rgba(255, 47, 163, 0.15), rgba(255, 138, 30, 0.12));
  bottom: 0;
  content: "";
  height: 34%;
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
  z-index: -1;
}

.hero-art {
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: 68% center;
  opacity: 0.98;
  position: absolute;
  transform: scale(1.03);
  width: 100%;
  z-index: -2;
}

.hero-content {
  animation: heroIn 700ms ease-out both;
  max-width: 48rem;
  min-width: 0;
  position: relative;
  width: min(100%, 48rem);
}

.hero-badge {
  align-items: center;
  backdrop-filter: blur(12px);
  background: rgba(245, 247, 255, 0.08);
  border: 1px solid rgba(174, 188, 210, 0.24);
  border-radius: 999px;
  color: rgba(245, 247, 255, 0.84);
  display: inline-flex;
  font-size: 0.88rem;
  font-weight: 750;
  gap: 0.45rem;
  margin: 0 0 1.35rem;
  min-height: 2.15rem;
  padding: 0.4rem 0.8rem;
}

.hero-badge span {
  color: var(--gold);
  font-weight: 900;
}

.eyebrow {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-family:
    Sora, Manrope, ui-sans-serif, system-ui, sans-serif;
  font-size: 3.05rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.94;
  margin-bottom: 1.35rem;
  max-width: 11ch;
}

h1 span {
  color: var(--amber);
  font-family:
    Sora, Manrope, ui-sans-serif, system-ui, sans-serif;
  font-style: normal;
  font-weight: 700;
}

h2 {
  font-family:
    Sora, Manrope, ui-sans-serif, system-ui, sans-serif;
  font-size: 2.15rem;
  font-weight: 750;
  letter-spacing: 0;
  line-height: 1;
}

h3 {
  font-family:
    Sora, Manrope, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.2rem;
  line-height: 1.2;
}

.hero-copy {
  color: rgba(245, 247, 255, 0.8);
  font-size: 1.08rem;
  max-width: 40rem;
  overflow-wrap: break-word;
}

.hero-actions {
  align-items: stretch;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.55rem 0 0;
}

.button {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 3rem;
  padding: 0.82rem 1.1rem;
  text-align: center;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button:active,
.header-cta:active,
.quick-actions :is(a, button):active,
.sticky-mobile-cta:active {
  transform: translateY(1px) scale(0.99);
}

.button.primary {
  background: linear-gradient(135deg, var(--amber), var(--magenta));
  color: var(--night);
}

.button.primary:hover,
.button.primary:focus-visible {
  box-shadow: 0 18px 40px rgba(255, 47, 163, 0.22);
}

.button.secondary {
  background: rgba(174, 188, 210, 0.12);
  border: 1px solid rgba(174, 188, 210, 0.24);
  color: var(--white);
}

.quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.quick-actions :is(a, button) {
  appearance: none;
  background: rgba(61, 90, 254, 0.12);
  border: 1px solid rgba(174, 188, 210, 0.26);
  border-radius: 999px;
  color: rgba(245, 247, 255, 0.84);
  cursor: pointer;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 750;
  padding: 0.5rem 0.75rem;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.quick-actions :is(a, button):hover,
.quick-actions :is(a, button):focus-visible,
.quick-actions :is(a, button).is-active {
  background: rgba(255, 47, 163, 0.18);
  border-color: rgba(255, 47, 163, 0.42);
  color: var(--white);
  transform: translateY(-1px);
}

.quick-actions :is(a, button).is-active {
  box-shadow: 0 0 0 1px rgba(255, 138, 30, 0.26) inset;
}

.signal-layer {
  display: none;
}

.workflow-band {
  background: var(--void);
  border-top: 1px solid rgba(174, 188, 210, 0.12);
  margin-top: -3.1rem;
  padding: 1rem 1rem 1.15rem;
  position: relative;
  z-index: 2;
}

.workflow-strip {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
  margin-inline: auto;
  max-width: 72rem;
}

.workflow-strip span {
  background: rgba(245, 247, 255, 0.07);
  border: 1px solid rgba(174, 188, 210, 0.16);
  border-radius: 8px;
  color: rgba(174, 188, 210, 0.86);
  display: grid;
  font-size: 0.86rem;
  min-height: 4.8rem;
  padding: 0.85rem;
  position: relative;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.workflow-strip span::before {
  background: var(--amber);
  border-radius: 999px;
  content: "";
  height: 0.42rem;
  position: absolute;
  right: 0.85rem;
  top: 0.85rem;
  width: 0.42rem;
}

.workflow-strip strong {
  color: var(--white);
  font-size: 0.82rem;
  font-family:
    Sora, Manrope, ui-sans-serif, system-ui, sans-serif;
  text-transform: uppercase;
}

.workflow-strip span[data-active] {
  background: rgba(61, 90, 254, 0.16);
  border-color: rgba(255, 47, 163, 0.36);
  box-shadow:
    0 0 0 1px rgba(255, 138, 30, 0.14) inset,
    0 14px 34px rgba(61, 90, 254, 0.12);
  color: var(--pearl);
  transform: translateY(-1px);
}

.proof-strip {
  background: var(--void);
  border-top: 1px solid rgba(174, 188, 210, 0.12);
  color: var(--fog);
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
  padding: 1rem;
}

.proof-strip-light {
  background: var(--pearl);
  border-top-color: var(--line);
}

.proof-strip-light span {
  background: rgba(8, 10, 16, 0.04);
  border-color: var(--line);
}

.proof-strip-light strong {
  color: var(--ink);
}

.proof-strip span {
  background:
    linear-gradient(135deg, rgba(61, 90, 254, 0.14), rgba(255, 47, 163, 0.08)),
    rgba(245, 247, 255, 0.05);
  border: 1px solid rgba(174, 188, 210, 0.16);
  border-radius: 8px;
  display: grid;
  min-height: 4.25rem;
  padding: 0.85rem;
}

.proof-strip strong {
  color: var(--pearl);
  font-family:
    Sora, Manrope, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.9rem;
}

.agent-console-section {
  align-items: center;
  background:
    radial-gradient(circle at 82% 20%, rgba(61, 90, 254, 0.22), transparent 32rem),
    radial-gradient(circle at 20% 100%, rgba(255, 47, 163, 0.12), transparent 28rem),
    var(--void);
  color: var(--pearl);
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 5vw, 5rem);
}

.agent-console-section .eyebrow {
  color: var(--amber);
}

.agent-console-section h2 {
  max-width: 13ch;
}

.agent-console {
  background:
    linear-gradient(135deg, rgba(245, 247, 255, 0.12), rgba(61, 90, 254, 0.08)),
    rgba(245, 247, 255, 0.05);
  border: 1px solid rgba(174, 188, 210, 0.2);
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.console-top {
  align-items: center;
  border-bottom: 1px solid rgba(174, 188, 210, 0.16);
  display: grid;
  gap: 0.75rem;
  grid-template-columns: auto 1fr auto;
  min-height: 3.4rem;
  padding: 0.8rem 1rem;
}

.console-top span {
  background: linear-gradient(135deg, var(--magenta), var(--amber));
  border-radius: 999px;
  box-shadow: 0 0 24px rgba(255, 47, 163, 0.4);
  height: 0.72rem;
  width: 0.72rem;
}

.console-top strong {
  font-family:
    Sora, Manrope, ui-sans-serif, system-ui, sans-serif;
}

.console-top em {
  color: var(--amber);
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
}

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

.agent-console li {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: 4.2rem 1fr;
  padding: 1rem;
}

.agent-console li + li {
  border-top: 1px solid rgba(174, 188, 210, 0.12);
}

.agent-console li span {
  color: var(--fog);
  font-family:
    Sora, Manrope, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
}

.agent-console p {
  color: rgba(245, 247, 255, 0.84);
  margin: 0;
}

.section {
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 5vw, 5rem);
}

.intro {
  align-items: end;
  background: var(--white);
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

.intro p:last-child {
  color: var(--muted);
  font-size: 1.12rem;
}

.section-heading {
  max-width: 50rem;
}

.section-heading > p:last-child {
  color: var(--muted);
  font-size: 1.1rem;
}

.card-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  margin-top: 2rem;
}

.fit-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  margin-top: 2rem;
}

.fit-grid article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 14rem;
  padding: 1.35rem;
}

.fit-grid span {
  align-items: center;
  background: rgba(242, 154, 46, 0.13);
  border: 1px solid rgba(242, 154, 46, 0.42);
  border-radius: 999px;
  color: var(--void);
  display: inline-flex;
  font-weight: 900;
  height: 2rem;
  justify-content: center;
  margin-bottom: 2.25rem;
  width: 2.5rem;
}

.fit-grid p {
  color: var(--muted);
}

.service-card,
.timeline article,
.principle-list div {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  padding: 1.35rem;
  position: relative;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.service-card::before,
.timeline article::before,
.principle-list div::before {
  background: linear-gradient(90deg, var(--cobalt), var(--magenta), var(--amber));
  content: "";
  height: 3px;
  left: 0;
  opacity: 0;
  position: absolute;
  right: 0;
  top: 0;
  transition: opacity 180ms ease;
}

.service-card:hover,
.timeline article:hover,
.principle-list div:hover {
  border-color: rgba(61, 90, 254, 0.32);
  box-shadow: 0 16px 40px rgba(6, 7, 10, 0.1);
  transform: translateY(-2px);
}

.service-card:hover::before,
.timeline article:hover::before,
.principle-list div:hover::before {
  opacity: 1;
}

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

.service-card h3 {
  margin-top: 3rem;
}

.card-icon,
.timeline span {
  align-items: center;
  background: rgba(61, 90, 254, 0.1);
  border: 1px solid rgba(61, 90, 254, 0.28);
  border-radius: 8px;
  color: var(--cobalt);
  display: inline-flex;
  font-weight: 900;
  height: 2rem;
  justify-content: center;
  width: 2.5rem;
}

.service-card p,
.timeline p,
.principle-list p {
  color: var(--muted);
  margin-bottom: 0;
}

.use-cases {
  background: var(--pearl);
}

.use-case-grid {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: 1fr;
  margin-top: 2rem;
}

.use-case-grid span {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 750;
  padding: 1rem;
  position: relative;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.use-case-grid span::after {
  background: var(--amber);
  border-radius: 999px;
  content: "";
  height: 0.38rem;
  position: absolute;
  right: 1rem;
  top: 1rem;
  width: 0.38rem;
}

.use-case-grid span:hover {
  border-color: rgba(255, 47, 163, 0.42);
  box-shadow: 0 14px 34px rgba(6, 7, 10, 0.1);
  transform: translateY(-2px);
}

.timeline {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  margin-top: 2rem;
}

.timeline article {
  min-height: auto;
}

.timeline h3 {
  margin-top: 2rem;
}

.principles {
  background: var(--white);
}

.principle-list {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  margin-top: 2rem;
}

.contact {
  align-items: center;
  background: var(--night-soft);
  color: var(--white);
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 5vw, 5rem);
}

.contact p:not(.eyebrow) {
  color: var(--fog);
  font-size: 1.1rem;
  max-width: 44rem;
}

.contact-list {
  color: var(--fog);
  display: grid;
  gap: 0.6rem;
  list-style: none;
  margin: 1.35rem 0 0;
  max-width: 48rem;
  padding: 0;
}

.contact-list li {
  background: rgba(246, 242, 232, 0.07);
  border: 1px solid rgba(180, 189, 204, 0.18);
  border-radius: 8px;
  padding: 0.8rem 0.95rem;
}

.contact-list strong {
  color: var(--pearl);
}

.contact-list a {
  color: var(--pearl);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(242, 154, 46, 0.72);
  text-underline-offset: 0.18em;
}

.contact .button.primary {
  background: var(--gold);
  color: var(--night);
}

.contact .button {
  width: 100%;
}

.site-footer {
  background: var(--void);
  color: var(--fog);
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  padding: 1.4rem clamp(1rem, 5vw, 5rem);
}

.site-footer a {
  color: var(--white);
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

@keyframes heroIn {
  from {
    filter: blur(8px);
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    filter: blur(0);
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes artDrift {
  0%,
  100% {
    transform: scale(1.03) translate3d(0, 0, 0);
  }

  50% {
    transform: scale(1.06) translate3d(-0.7rem, 0.35rem, 0);
  }
}

@keyframes workflowPulse {
  from {
    transform: translateY(12px);
  }

  to {
    transform: translateY(0);
  }
}

@keyframes signalSweep {
  from {
    transform: translateX(-115%);
  }

  to {
    transform: translateX(115%);
  }
}

.reveal-ready {
  opacity: 1;
  transform: none;
  transition:
    opacity 520ms ease,
    transform 520ms ease;
}

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

.workflow-band.reveal-ready {
  opacity: 1;
  transform: none;
}

.workflow-band.reveal-ready.is-visible .workflow-strip span {
  animation: workflowPulse 420ms ease both;
}

.workflow-band.reveal-ready.is-visible .workflow-strip span:nth-child(2) {
  animation-delay: 90ms;
}

.workflow-band.reveal-ready.is-visible .workflow-strip span:nth-child(3) {
  animation-delay: 180ms;
}

.workflow-band.reveal-ready.is-visible .workflow-strip span:nth-child(4) {
  animation-delay: 270ms;
}

@media (min-width: 641px) {
  .site-header {
    gap: 1rem;
    padding: 0.9rem clamp(1rem, 3vw, 3.5rem);
  }

  .brand-copy {
    display: grid;
  }

  .hero {
    padding-inline: clamp(1rem, 5vw, 5rem);
    padding-top: 4.75rem;
  }

  .hero::before {
    background:
      linear-gradient(90deg, rgba(6, 7, 10, 0.98), rgba(6, 7, 10, 0.72)),
      linear-gradient(180deg, rgba(6, 7, 10, 0.18), rgba(6, 7, 10, 0.84));
  }

  .hero-art {
    object-position: center right;
  }

  h1 {
    font-size: 3.8rem;
    max-width: 12ch;
  }

  h2 {
    font-size: 2.7rem;
  }

  .hero-copy {
    font-size: 1.18rem;
  }

  .hero-actions {
    align-items: center;
    flex-direction: row;
  }

  .quick-actions {
    margin-top: 1.1rem;
  }

  .sticky-mobile-cta {
    display: none;
  }

  .workflow-strip,
  .card-grid,
  .fit-grid,
  .use-case-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proof-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding-inline: clamp(1rem, 5vw, 5rem);
  }

  .agent-console-section {
    grid-template-columns: minmax(0, 0.78fr) minmax(20rem, 1fr);
  }
}

@media (min-width: 981px) {
  .site-header {
    grid-template-columns: 1fr auto 1fr;
  }

  .nav {
    display: flex;
  }

  .hero {
    min-height: calc(100svh - 8rem);
    padding: 4.75rem clamp(1rem, 5vw, 5rem) 3rem;
  }

  .hero::before {
    background:
      linear-gradient(
        90deg,
        rgba(6, 7, 10, 1) 0%,
        rgba(6, 7, 10, 0.99) 42%,
        rgba(6, 7, 10, 0.68) 62%,
        rgba(6, 7, 10, 0.18) 100%
      ),
      linear-gradient(180deg, rgba(6, 7, 10, 0.18), rgba(6, 7, 10, 0.78));
  }

  .hero-art {
    animation: artDrift 14s ease-in-out infinite;
  }

  .signal-layer {
    display: block;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    position: absolute;
    z-index: -1;
  }

  .signal-layer span {
    background:
      linear-gradient(90deg, transparent, rgba(245, 247, 255, 0.82), transparent),
      linear-gradient(90deg, rgba(61, 90, 254, 0.18), rgba(255, 47, 163, 0.22), rgba(255, 138, 30, 0.16));
    border-radius: 999px;
    display: block;
    height: 2px;
    opacity: 0.64;
    left: 70%;
    position: absolute;
    width: 32%;
  }

  .signal-layer span::after {
    animation: signalSweep 4.8s ease-in-out infinite;
    background: linear-gradient(90deg, transparent, var(--pearl), transparent);
    content: "";
    inset: 0;
    position: absolute;
  }

  .signal-layer span:nth-child(1) {
    top: 31%;
    transform: rotate(-5deg);
  }

  .signal-layer span:nth-child(2) {
    top: 52%;
    transform: rotate(4deg);
  }

  .signal-layer span:nth-child(2)::after {
    animation-delay: 1.2s;
  }

  .signal-layer span:nth-child(3) {
    top: 70%;
    transform: rotate(-3deg);
  }

  .signal-layer span:nth-child(3)::after {
    animation-delay: 2.4s;
  }

  h1 {
    font-size: 4.8rem;
    max-width: 11ch;
  }

  h2 {
    font-size: 3.4rem;
  }

  .hero-copy {
    font-size: 1.22rem;
  }

  .workflow-band {
    padding-inline: clamp(1rem, 5vw, 5rem);
  }

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

  .intro {
    grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr);
  }

  .card-grid,
  .fit-grid,
  .use-case-grid,
  .timeline {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .timeline article {
    min-height: 16rem;
  }

  .service-card {
    min-height: 17rem;
  }

  .contact {
    grid-template-columns: 1fr auto;
  }

  .contact .button {
    width: auto;
  }
}

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

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

  .reveal-ready,
  .workflow-band.reveal-ready .workflow-strip span {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ── Book-a-Call Modal ──────────────────────────────────────────────────────── */

dialog#call-modal {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: 0 32px 80px rgba(6, 7, 10, 0.28);
  margin: auto;
  max-height: 90vh;
  max-width: 520px;
  overflow-y: auto;
  padding: 0;
  width: calc(100% - 2rem);
}

dialog#call-modal::backdrop {
  background: rgba(6, 7, 10, 0.6);
  backdrop-filter: blur(4px);
}

.modal-inner {
  padding: 2.5rem 2rem 2rem;
  position: relative;
}

.modal-close {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
  padding: 0.25rem 0.5rem;
  position: absolute;
  right: 1rem;
  top: 1rem;
}

.modal-close:hover {
  color: var(--ink);
}

.modal-inner h2 {
  font-size: 1.5rem;
  margin: 0.25rem 0 0.5rem;
}

.modal-sub {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0 0 1.5rem;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.form-row label {
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 600;
}

.form-row label span {
  color: var(--cobalt);
}

.form-row input,
.form-row select,
.form-row textarea {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  color: var(--ink);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  padding: 0.65rem 0.85rem;
  transition: border-color 150ms ease;
  width: 100%;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--cobalt);
  box-shadow: 0 0 0 3px rgba(49, 86, 212, 0.12);
}

.form-row textarea {
  resize: vertical;
}

#call-form .button.primary {
  margin-top: 0.5rem;
  width: 100%;
  justify-content: center;
}

.form-msg {
  border-radius: 0.5rem;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
  padding: 0.65rem 0.85rem;
}

.form-msg--error {
  background: rgba(195, 60, 118, 0.08);
  border: 1px solid rgba(195, 60, 118, 0.3);
  color: var(--magenta);
}

.form-success {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem 0 1rem;
  text-align: center;
}

.form-success svg {
  color: var(--cobalt);
  height: 2.5rem;
  width: 2.5rem;
}

.form-success p {
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0;
}
