:root {
  --bg: #080b12;
  --bg-secondary: #0f1522;
  --surface: rgba(13, 18, 29, 0.72);
  --surface-strong: rgba(18, 24, 38, 0.9);
  --line: rgba(148, 163, 184, 0.16);
  --text: #f4f7fb;
  --muted: #96a0b5;
  --blue: #4f93ff;
  --blue-deep: #2f67e8;
  --ink: #d9e2f1;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.22);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max: 1200px;
}

html[data-theme="light"] {
  --bg: #f3f4f6;
  --bg-secondary: #eef1f5;
  --surface: rgba(255, 255, 255, 0.74);
  --surface-strong: rgba(255, 255, 255, 0.92);
  --line: rgba(28, 31, 37, 0.1);
  --text: #16181d;
  --muted: #5f6672;
  --blue: #3b82f6;
  --blue-deep: #2357d8;
  --ink: #2c313b;
  --shadow: 0 30px 80px rgba(26, 31, 45, 0.13);
  --shadow-soft: 0 18px 40px rgba(26, 31, 45, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Instrument Sans", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(79, 147, 255, 0.18), transparent 28%),
    radial-gradient(circle at 85% 15%, rgba(79, 147, 255, 0.08), transparent 24%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-secondary) 100%);
  color: var(--text);
  transition: background 250ms ease, color 250ms ease;
}

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

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

.page-shell {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}

.particle-field {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.92;
}

.ambient {
  position: fixed;
  inset: auto;
  pointer-events: none;
  filter: blur(80px);
  z-index: 0;
}

.ambient-a {
  top: 6rem;
  left: -8rem;
  width: 20rem;
  height: 20rem;
  background: rgba(79, 147, 255, 0.18);
}

.ambient-b {
  right: -8rem;
  bottom: 8rem;
  width: 24rem;
  height: 24rem;
  background: rgba(79, 147, 255, 0.12);
}

.noise {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
  background-size: 90px 90px;
  mask-image: radial-gradient(circle at center, black 42%, transparent 88%);
  pointer-events: none;
  z-index: 1;
}

.site-header,
.hero,
.trust-strip,
.section,
.final-cta {
  position: relative;
  z-index: 2;
}

.site-header {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
  padding: 1.2rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-name {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.45rem;
  font-weight: 700;
}

.brand-mark,
.logo-core {
  position: relative;
  display: inline-block;
  width: 3.25rem;
  height: 3.25rem;
}

.mark-left,
.logo-left {
  position: absolute;
  left: 0;
  top: 0;
  width: 1.25rem;
  height: 2.65rem;
  background: linear-gradient(180deg, #3c414a 0%, #23272f 100%);
  clip-path: polygon(0 0, 100% 0, 100% 68%, 0 100%);
}

.mark-top,
.logo-top {
  position: absolute;
  right: 0;
  top: 0;
  width: 1.8rem;
  height: 1.8rem;
  background: linear-gradient(135deg, #4f93ff 0%, #2962e6 100%);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.mark-bottom,
.logo-bottom {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 1.55rem;
  height: 1.55rem;
  background: linear-gradient(180deg, #3c414a 0%, #23272f 100%);
  clip-path: polygon(0 0, 0 100%, 100% 100%);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.96rem;
  color: var(--muted);
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-cta {
  position: relative;
  overflow: hidden;
  padding: 0.75rem 1.05rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
  box-shadow: var(--shadow-soft);
}

.theme-toggle {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.theme-toggle-track {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0;
  padding: 0.35rem;
  width: 8.6rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.theme-toggle-label {
  position: relative;
  z-index: 1;
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.08rem;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1;
  padding: 0.45rem 0;
}

.theme-toggle-thumb {
  position: absolute;
  left: 0.35rem;
  top: 0.35rem;
  width: calc(50% - 0.35rem);
  height: 1.7rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  box-shadow: 0 10px 20px rgba(35, 87, 216, 0.28);
  transition: transform 250ms ease;
}

html[data-theme="light"] .theme-toggle-thumb {
  transform: translateX(100%);
}

html[data-theme="dark"] .theme-toggle-dark,
html[data-theme="light"] .theme-toggle-light {
  color: var(--text);
}

.hero,
.section,
.trust-strip,
.final-cta {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(22rem, 0.82fr);
  gap: 2.5rem;
  padding: 4rem 0 2rem;
  align-items: center;
}

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

.eyebrow {
  position: relative;
  display: inline-flex;
  margin: 0 0 1rem;
  font-size: 0.86rem;
  letter-spacing: 0.22rem;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0;
}

h1 {
  max-width: 6.8ch;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.8rem, 5.2vw, 5.6rem);
  line-height: 0.9;
  letter-spacing: -0.08em;
  text-wrap: balance;
}

.hero-lead,
.section-heading h2 + p,
.solution-card p,
.problem-card p,
.timeline-step p,
.cta-panel p,
.quote-meta,
.stats-panel span,
.hero-metrics span,
.trust-strip p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-lead {
  max-width: 39rem;
  margin: 1.4rem 0 0;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  padding: 0 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition:
    transform 200ms ease,
    box-shadow 200ms ease,
    background 200ms ease,
    border-color 200ms ease,
    color 200ms ease;
}

.button:hover {
  transform: translateY(-2px) scale(1.015);
}

.button::before,
.nav-cta::before,
.trust-tags span::before,
.card-label::before,
.solution-kicker::before,
.eyebrow::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.06) 26%,
    rgba(79, 147, 255, 0.34) 50%,
    rgba(255, 255, 255, 0.08) 74%,
    transparent 100%
  );
  background-size: 220% 100%;
  transform: translateX(-100%);
  opacity: 0;
  pointer-events: none;
}

.button:hover::before,
.nav-cta:hover::before,
.trust-tags span:hover::before,
.card-label:hover::before,
.solution-kicker:hover::before,
.eyebrow:hover::before {
  animation: sheenSweep 1.15s ease both;
  opacity: 1;
}

.button-primary {
  background: linear-gradient(135deg, #4b8fff 0%, #2357d8 100%);
  color: #fff;
  box-shadow: 0 20px 40px rgba(35, 87, 216, 0.28);
  animation: buttonGlow 5.4s ease-in-out infinite;
}

.button-secondary {
  background: var(--surface);
  border-color: var(--line);
  box-shadow: var(--shadow-soft);
  animation: buttonFloat 6.5s ease-in-out infinite;
}

.hero-metrics {
  list-style: none;
  padding: 0;
  margin: 2.4rem 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.hero-metrics li,
.problem-card,
.solution-card,
.timeline-step,
.quote-card,
.stats-panel,
.cta-panel,
.trust-strip,
.hero-card,
.founder-panel {
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(22px);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.hero-metrics li,
.problem-card,
.solution-card,
.timeline-step,
.quote-card,
.stats-panel,
.cta-panel,
.trust-strip,
.hero-card,
.founder-panel,
.nav-cta,
.theme-toggle-track,
.button-secondary {
  background-color: var(--surface-strong);
}

.problem-card::before,
.solution-card::before,
.timeline-step::before,
.quote-card::before,
.stats-panel::before,
.founder-panel::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at 20% 20%, rgba(79, 147, 255, 0.14), transparent 28%),
    radial-gradient(circle at 80% 70%, rgba(255, 84, 112, 0.08), transparent 24%);
  opacity: 0.52;
  transform: translate3d(0, 0, 0);
  animation: cardAuraDrift 14s ease-in-out infinite;
  pointer-events: none;
}

.problem-card::after,
.solution-card::after,
.timeline-step::after,
.quote-card::after,
.stats-panel::after,
.founder-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(79, 147, 255, 0.08);
  opacity: 0;
  transition: opacity 220ms ease, border-color 220ms ease;
  pointer-events: none;
}

.problem-card:hover::after,
.solution-card:hover::after,
.timeline-step:hover::after,
.quote-card:hover::after,
.stats-panel:hover::after,
.founder-panel:hover::after {
  opacity: 1;
  border-color: rgba(79, 147, 255, 0.24);
}

.problem-card,
.solution-card,
.timeline-step,
.quote-card,
.stats-panel,
.founder-panel {
  transform: perspective(1200px) rotateX(var(--tilt-x, 0deg))
    rotateY(var(--tilt-y, 0deg)) translateY(0);
  transition:
    transform 260ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.problem-card:hover,
.solution-card:hover,
.timeline-step:hover,
.quote-card:hover,
.stats-panel:hover,
.founder-panel:hover {
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(79, 147, 255, 0.08);
}

.hero-metrics li {
  border-radius: var(--radius-md);
  padding: 0.85rem 0.9rem;
}

.hero-metrics strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1.6rem;
  font-family: "Space Grotesk", sans-serif;
}

.hero-visual {
  min-height: 38rem;
  display: grid;
  place-items: center;
  padding-left: 0;
}

.hero-orbit {
  position: relative;
  width: min(100%, 29rem);
  aspect-ratio: 1 / 1.04;
  border-radius: 2.5rem;
  margin-left: auto;
}

.hero-grid {
  position: absolute;
  inset: 6% 0 0 0;
  border-radius: 2.5rem;
  background:
    linear-gradient(rgba(148, 163, 184, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.09) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at center, black 48%, transparent 78%);
  animation: gridFloat 18s linear infinite;
}

.logo-stage {
  position: absolute;
  inset: 19% 20%;
  display: grid;
  place-items: center;
  border-radius: 2rem;
  background:
    linear-gradient(180deg, rgba(13, 18, 29, 0.96), rgba(20, 26, 40, 0.72));
  box-shadow: var(--shadow);
  overflow: hidden;
}

html[data-theme="light"] .logo-stage {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(238, 242, 248, 0.5));
}

.logo-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(79, 147, 255, 0.25), transparent 24%),
    radial-gradient(circle at 70% 70%, rgba(37, 87, 216, 0.18), transparent 28%);
}

.logo-core {
  width: 9rem;
  height: 9rem;
  transform: scale(1.08);
  z-index: 2;
}

.logo-core .logo-left {
  width: 3.4rem;
  height: 7rem;
}

.logo-core .logo-top {
  width: 4.9rem;
  height: 4.9rem;
}

.logo-core .logo-bottom {
  width: 4.2rem;
  height: 4.2rem;
}

.logo-ring {
  position: absolute;
  border: 1px solid rgba(35, 87, 216, 0.18);
  border-radius: 50%;
}

.ring-a {
  width: 70%;
  height: 70%;
  animation: pulse 5s ease-in-out infinite;
}

.ring-b {
  width: 88%;
  height: 88%;
  animation: pulse 5s ease-in-out infinite 1.2s;
}

.hero-card {
  position: absolute;
  border-radius: var(--radius-lg);
  padding: 0.95rem 1rem;
}

.hero-card-main {
  right: -8%;
  top: -18%;
  width: 10.6rem;
  z-index: 3;
}

.hero-card-side {
  left: -4%;
  bottom: 2%;
  width: 9.8rem;
  z-index: 3;
}

.card-label,
.solution-kicker {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  padding: 0.28rem 0.42rem;
  border-radius: 999px;
  font-size: 0.77rem;
  text-transform: uppercase;
  letter-spacing: 0.16rem;
  color: var(--blue);
  font-weight: 700;
  background: rgba(79, 147, 255, 0.06);
  border: 1px solid rgba(79, 147, 255, 0.12);
  animation: labelPulse 5.5s ease-in-out infinite;
}

.hero-card strong,
.solution-card h3,
.problem-card h3,
.timeline-step h3,
.quote-card .quote,
.stats-panel strong,
.cta-panel h2 {
  display: block;
  margin-top: 0.55rem;
  line-height: 1.14;
}

.hero-card p {
  margin: 0.55rem 0 0;
  color: var(--muted);
  line-height: 1.5;
  font-size: 0.9rem;
}

.signal-dot {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
  background: #2dd4bf;
  box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.6);
  animation: ping 2.4s infinite;
}

.trust-strip {
  margin-top: 1.8rem;
  border-radius: var(--radius-xl);
  padding: 0.95rem 1.1rem;
  display: flex;
  justify-content: space-between;
  gap: 1.2rem;
  align-items: center;
}

.trust-strip p {
  margin: 0;
  max-width: 26rem;
}

.trust-tags {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.trust-tags span {
  position: relative;
  overflow: hidden;
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 0.86rem;
  border: 1px solid rgba(79, 147, 255, 0.08);
  animation: tagDrift 6.8s ease-in-out infinite;
}

html[data-theme="light"] .trust-tags span {
  background: rgba(22, 24, 29, 0.04);
}

.founder-panel {
  display: grid;
  grid-template-columns: minmax(14rem, 19rem) minmax(0, 1fr);
  gap: 1.4rem;
  align-items: center;
  border-radius: var(--radius-xl);
  padding: 1.2rem;
  backdrop-filter: blur(22px);
  background:
    linear-gradient(135deg, rgba(8, 14, 24, 0.94), rgba(14, 20, 34, 0.9));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

html[data-theme="light"] .founder-panel {
  background: var(--surface-strong);
}

.founder-portrait-wrap {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius-xl) - 8px);
  aspect-ratio: 1 / 1;
  background:
    radial-gradient(circle at 20% 20%, rgba(79, 147, 255, 0.18), transparent 30%),
    linear-gradient(180deg, rgba(11, 16, 26, 0.96), rgba(18, 24, 38, 0.82));
}

.founder-portrait-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(9, 14, 24, 0.08), rgba(9, 14, 24, 0.32)),
    radial-gradient(circle at 50% 35%, transparent 0%, rgba(9, 14, 24, 0.1) 72%);
  pointer-events: none;
}

html[data-theme="light"] .founder-portrait-wrap::after {
  background: none;
}

.founder-portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(0.06) contrast(0.92) brightness(0.84) saturate(0.82);
  transform: scale(1.01);
}

html[data-theme="light"] .founder-portrait {
  filter: contrast(1.02) saturate(0.92);
  transform: none;
}

.founder-copy {
  max-width: 34rem;
}

.founder-copy p:last-child {
  max-width: 32rem;
  color: rgba(244, 247, 251, 0.82);
}

html[data-theme="light"] .founder-copy p:last-child {
  color: var(--muted);
}

.founder-copy h2 {
  margin-top: 0.1rem;
}

.founder-location {
  margin: 0.6rem 0 1rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
  color: var(--blue);
}

.section {
  padding: 7rem 0 0;
}

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

h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.problem-grid,
.process-timeline,
.proof-layout {
  margin-top: 2rem;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.problem-card,
.solution-card {
  border-radius: var(--radius-lg);
  padding: 1.2rem;
  min-height: 14.2rem;
}

.problem-index {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.82rem;
  letter-spacing: 0.22rem;
  color: rgba(148, 163, 184, 0.65);
}

html[data-theme="light"] .problem-index {
  color: rgba(22, 24, 29, 0.45);
}

.solutions-showcase {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: minmax(16rem, 0.82fr) minmax(0, 1.18fr);
  border: 1px solid rgba(79, 147, 255, 0.1);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(7, 10, 18, 0.96), rgba(9, 14, 24, 0.92));
}

.solutions-left,
.solutions-right {
  min-width: 0;
}

.solutions-left {
  display: grid;
  grid-template-rows: 1fr auto;
  border-right: 1px solid rgba(79, 147, 255, 0.08);
}

.solutions-agent-card,
.solutions-roi-card,
.solutions-heading {
  padding: 2rem;
}

.solutions-agent-card {
  border-bottom: 1px solid rgba(79, 147, 255, 0.08);
}

.solutions-agent-card .eyebrow {
  margin-bottom: 1.4rem;
}

.agent-graph {
  position: relative;
  width: min(100%, 20rem);
  height: 10.8rem;
  margin: 0 auto 1.6rem;
}

.agent-node {
  position: absolute;
  display: grid;
  place-items: center;
  min-width: 4.5rem;
  min-height: 3.15rem;
  padding: 0.42rem 0.8rem;
  border-radius: 1rem;
  border: 1px solid rgba(124, 92, 255, 0.34);
  background: rgba(124, 92, 255, 0.08);
  color: #bcaeff;
  font-size: 0.8rem;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    0 0 24px rgba(124, 92, 255, 0.14);
}

.agent-node-input { left: 0.4rem; top: 0.6rem; }
.agent-node-core {
  left: 50%;
  top: 4.35rem;
  transform: translate(-50%, -50%);
  min-width: 5rem;
  min-height: 3.9rem;
  background: rgba(124, 92, 255, 0.16);
  box-shadow:
    0 0 0 1px rgba(124, 92, 255, 0.18),
    0 0 28px rgba(124, 92, 255, 0.26);
}
.agent-node-action { right: 0.4rem; top: 0.6rem; }
.agent-node-output { right: 0.4rem; bottom: 0.55rem; }

.agent-node-icon {
  display: block;
  width: 1.35rem;
  height: 1.35rem;
  font-size: 0;
  line-height: 1;
  position: relative;
}

.agent-node-icon::before {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.25rem;
  color: #c8b9ff;
  content: "";
}

.agent-node-label {
  display: block;
  margin-top: 0.32rem;
  font-size: 0.72rem;
  letter-spacing: 0.03rem;
  text-transform: none;
}

.agent-node-input .agent-node-icon::before { content: "▶"; }
.agent-node-core .agent-node-icon::before { content: "⌘"; font-size: 1.15rem; }
.agent-node-action .agent-node-icon::before { content: "✓"; }
.agent-node-output .agent-node-icon::before { content: "→"; }

.agent-line {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, rgba(124, 92, 255, 0.08), rgba(171, 144, 255, 0.95));
  box-shadow: 0 0 14px rgba(124, 92, 255, 0.24);
}

.line-a { left: 5.05rem; top: 2.2rem; width: 2.3rem; }
.line-b {
  left: 7.35rem;
  top: 2.2rem;
  width: 2px;
  height: 2.2rem;
  background: linear-gradient(180deg, rgba(124, 92, 255, 0.08), rgba(171, 144, 255, 0.95));
}
.line-c { left: calc(50% + 1.35rem); top: 2.2rem; width: 2.5rem; }
.line-d {
  left: calc(50% + 1.35rem);
  top: 5.55rem;
  width: 2px;
  height: 2rem;
  background: linear-gradient(180deg, rgba(124, 92, 255, 0.06), rgba(171, 144, 255, 0.95));
}

.agent-joint {
  position: absolute;
  width: 0.58rem;
  height: 0.58rem;
  border-radius: 50%;
  background: #8f6dff;
  box-shadow: 0 0 12px rgba(143, 109, 255, 0.55);
}

.joint-a { left: 4.82rem; top: 1.92rem; }
.joint-b { left: 7.06rem; top: 1.92rem; }
.joint-c { left: calc(50% + 1.07rem); top: 1.92rem; }

.agent-pulse {
  position: absolute;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: #8f6dff;
  box-shadow: 0 0 14px rgba(143, 109, 255, 0.7);
}

.pulse-a { left: 4.9rem; top: 1.95rem; animation: pathPulseShort 2.8s linear infinite; }
.pulse-b { left: calc(50% + 1.12rem); top: 1.95rem; animation: pathPulseShort 2.8s linear infinite 0.9s; }
.pulse-c {
  left: calc(50% + 1.12rem);
  top: 5.38rem;
  animation: pathPulseVertical 2.8s linear infinite 1.8s;
}

.solutions-agent-card h3,
.solutions-roi-card h3,
.solutions-heading h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.45rem, 2vw, 2rem);
}

.solutions-agent-card p:last-child,
.solutions-roi-card p,
.solutions-heading p,
.chat-pill,
.chat-input,
.insight-card span {
  color: var(--muted);
}

.solutions-roi-card strong {
  display: block;
  margin-bottom: 1rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(3.9rem, 8vw, 5.5rem);
  line-height: 0.9;
  color: #7c5cff;
}

.solutions-panels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  padding: 0 2rem 2rem;
}

.solution-panel {
  position: relative;
  overflow: hidden;
  min-height: 19rem;
  border-radius: 1.2rem;
  border: 1px solid rgba(79, 147, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(8, 11, 18, 0.96), rgba(14, 18, 30, 0.9));
  padding: 0.85rem;
}

.solution-panel::before {
  content: "";
  position: absolute;
  inset: -25%;
  background: radial-gradient(circle at 50% 50%, rgba(124, 92, 255, 0.16), transparent 34%);
  opacity: 0.6;
  animation: panelGlow 8s ease-in-out infinite;
  pointer-events: none;
}

.solution-panel-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
  font-size: 0.76rem;
  color: var(--muted);
}

.panel-dot {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: #7c5cff;
  box-shadow: 0 0 12px rgba(124, 92, 255, 0.52);
}

.panel-status {
  margin-left: auto;
  color: #7c5cff;
}

.analytics-top {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr));
  gap: 0.6rem;
}

.analytics-top div,
.chat-pill,
.chat-input,
.insight-card {
  border-radius: 0.95rem;
  border: 1px solid rgba(79, 147, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.analytics-top div {
  padding: 0.8rem;
  min-width: 0;
}

.analytics-top small,
.insight-card small {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--muted);
  font-size: 0.72rem;
}

.analytics-top strong {
  font-family: "Space Grotesk", sans-serif;
  display: block;
  font-size: clamp(1.15rem, 1.5vw, 1.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  overflow-wrap: anywhere;
}

.analytics-bars {
  position: relative;
  z-index: 1;
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: end;
  gap: 0.45rem;
  min-height: 10rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(79, 147, 255, 0.08);
}

.analytics-bars span {
  display: block;
  min-height: 2.1rem;
  border-radius: 0.7rem 0.7rem 0 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(124, 92, 255, 0.92)),
    linear-gradient(180deg, rgba(79, 147, 255, 0.12), rgba(79, 147, 255, 0));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 18px rgba(124, 92, 255, 0.12);
  animation: barRise 4.5s ease-in-out infinite;
}

.analytics-bars span:nth-child(1) { height: 24%; animation-delay: 0.1s; }
.analytics-bars span:nth-child(2) { height: 41%; animation-delay: 0.35s; }
.analytics-bars span:nth-child(3) { height: 33%; animation-delay: 0.7s; }
.analytics-bars span:nth-child(4) { height: 57%; animation-delay: 1.05s; }
.analytics-bars span:nth-child(5) { height: 68%; animation-delay: 1.4s; }
.analytics-bars span:nth-child(6) { height: 82%; animation-delay: 1.75s; }

.chat-thread {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.65rem;
}

.chat-pill,
.chat-input {
  padding: 0.7rem 0.8rem;
  font-size: 0.84rem;
}

.chat-pill-primary {
  justify-self: end;
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(124, 92, 255, 0.14);
  animation: chipFloat 5s ease-in-out infinite;
}

.chat-pill:nth-child(2) { animation: chipFloat 5s ease-in-out infinite 0.8s; }
.chat-pill:nth-child(4) { animation: chipFloat 5s ease-in-out infinite 1.4s; }

.chat-input {
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.85rem;
  z-index: 1;
}

.insight-stack {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.65rem;
}

.insight-card {
  padding: 0.78rem 0.82rem;
}

.insight-card-active {
  box-shadow: inset 0 0 0 1px rgba(124, 92, 255, 0.2), 0 0 0 1px rgba(124, 92, 255, 0.08);
  animation: activeCardPulse 4.2s ease-in-out infinite;
}

.integration-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(79, 147, 255, 0.08);
}

.integration-cell {
  min-height: 7.2rem;
  display: grid;
  place-items: center;
  color: rgba(244, 247, 251, 0.7);
  border-right: 1px solid rgba(79, 147, 255, 0.08);
  border-bottom: 1px solid rgba(79, 147, 255, 0.08);
  background: rgba(255, 255, 255, 0.015);
}

.integration-cell:nth-child(3n) {
  border-right: 0;
}

.integration-cell-core,
.integration-cell-active {
  color: white;
}

.integration-cell-core {
  background:
    radial-gradient(circle at center, rgba(124, 92, 255, 0.18), transparent 56%),
    rgba(255, 255, 255, 0.02);
  box-shadow: inset 0 0 0 1px rgba(124, 92, 255, 0.18);
}

.integration-cell-active {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.timeline-step {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}

.timeline-step span {
  display: inline-flex;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #4b8fff, #2357d8);
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
}

.proof-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.2rem;
}

.quote-card,
.stats-panel,
.cta-panel {
  border-radius: var(--radius-xl);
  padding: 1.45rem;
}

.quote {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.04em;
}

.quote-meta {
  margin: 1rem 0 0;
}

.stats-panel {
  display: grid;
  gap: 0.85rem;
}

.stats-panel strong {
  font-size: 2rem;
  font-family: "Space Grotesk", sans-serif;
}

.final-cta {
  padding: 7rem 0 5rem;
}

.cta-panel {
  background:
    linear-gradient(135deg, rgba(10, 15, 25, 0.9), rgba(20, 26, 40, 0.74)),
    linear-gradient(135deg, rgba(79, 147, 255, 0.12), transparent);
}

html[data-theme="light"] .cta-panel {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(235, 240, 248, 0.72)),
    linear-gradient(135deg, rgba(79, 147, 255, 0.08), transparent);
}

.cta-panel h2 {
  max-width: 12ch;
  margin-top: 0.2rem;
}

.cta-panel > p:last-of-type {
  max-width: 40rem;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

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

@keyframes pulse {
  0%,
  100% {
    transform: scale(0.96);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.03);
    opacity: 1;
  }
}

@keyframes ping {
  0% {
    box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.6);
  }
  70% {
    box-shadow: 0 0 0 18px rgba(45, 212, 191, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(45, 212, 191, 0);
  }
}

@keyframes gridFloat {
  from {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes sheenSweep {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(120%);
  }
}

@keyframes buttonGlow {
  0%,
  100% {
    box-shadow: 0 18px 36px rgba(35, 87, 216, 0.2);
    filter: saturate(1);
  }
  50% {
    box-shadow: 0 22px 46px rgba(59, 130, 246, 0.38);
    filter: saturate(1.12);
  }
}

@keyframes buttonFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-1px);
  }
}

@keyframes labelPulse {
  0%,
  100% {
    box-shadow: inset 0 0 0 0 rgba(79, 147, 255, 0.08);
    border-color: rgba(79, 147, 255, 0.12);
  }
  50% {
    box-shadow: inset 0 0 0 1px rgba(79, 147, 255, 0.18);
    border-color: rgba(79, 147, 255, 0.22);
  }
}

@keyframes tagDrift {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-2px);
  }
}

@keyframes cardAuraDrift {
  0%,
  100% {
    transform: translate3d(-2%, -1%, 0) scale(1);
    opacity: 0.44;
  }
  50% {
    transform: translate3d(3%, 2%, 0) scale(1.04);
    opacity: 0.7;
  }
}

@keyframes pathPulse {
  0% {
    transform: scale(0.72);
    opacity: 0;
  }
  18% {
    opacity: 1;
  }
  100% {
    transform: translateX(4rem) scale(1);
    opacity: 0;
  }
}

@keyframes pathPulseShort {
  0% {
    transform: translateX(0) scale(0.72);
    opacity: 0;
  }
  18% {
    opacity: 1;
  }
  100% {
    transform: translateX(2rem) scale(1);
    opacity: 0;
  }
}

@keyframes pathPulseVertical {
  0% {
    transform: translateY(0) scale(0.72);
    opacity: 0;
  }
  18% {
    opacity: 1;
  }
  100% {
    transform: translateY(1.4rem) scale(1);
    opacity: 0;
  }
}

@keyframes panelGlow {
  0%,
  100% {
    transform: translate3d(-3%, -2%, 0);
    opacity: 0.46;
  }
  50% {
    transform: translate3d(4%, 3%, 0);
    opacity: 0.78;
  }
}

@keyframes barRise {
  0%,
  100% {
    filter: brightness(0.92);
    transform: scaleY(0.92);
  }
  50% {
    filter: brightness(1.18);
    transform: scaleY(1.05);
  }
}

@keyframes chipFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

@keyframes activeCardPulse {
  0%,
  100% {
    box-shadow: inset 0 0 0 1px rgba(124, 92, 255, 0.16), 0 0 0 1px rgba(124, 92, 255, 0.04);
  }
  50% {
    box-shadow: inset 0 0 0 1px rgba(124, 92, 255, 0.28), 0 0 26px rgba(124, 92, 255, 0.1);
  }
}

@media (max-width: 1024px) {
  .site-header {
    flex-direction: column;
    gap: 1rem;
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero,
  .proof-layout,
  .problem-grid,
  .solutions-grid,
  .process-timeline {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 2rem;
  }

  .hero-visual {
    min-height: 28rem;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .solutions-showcase,
  .solutions-panels {
    grid-template-columns: 1fr;
  }

  .solutions-left {
    border-right: 0;
    border-bottom: 1px solid rgba(79, 147, 255, 0.08);
  }

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

  .integration-cell:nth-child(3n) {
    border-right: 1px solid rgba(79, 147, 255, 0.08);
  }

  .integration-cell:nth-child(2n) {
    border-right: 0;
  }

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

  .trust-strip {
    flex-direction: column;
    align-items: flex-start;
  }

  .founder-panel {
    grid-template-columns: 1fr;
  }

  .founder-portrait-wrap {
    max-width: 20rem;
  }
}

@media (max-width: 640px) {
  .analytics-top {
    grid-template-columns: 1fr;
  }

  .analytics-top div {
    padding: 0.72rem;
  }

  .analytics-top small {
    font-size: 0.68rem;
  }

  .analytics-top strong {
    font-size: 1.05rem;
  }
}

@media (max-width: 1280px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.78fr);
    gap: 1.5rem;
  }

  h1 {
    font-size: clamp(2.6rem, 5vw, 4.8rem);
    max-width: 7ch;
  }

  .hero-orbit {
    width: min(100%, 25rem);
  }

  .hero-card-main {
    right: -6%;
    top: -15%;
    width: 9.4rem;
  }

  .hero-card-side {
    left: -2%;
    width: 8.8rem;
  }
}

@media (max-width: 1480px) {
  .site-header {
    gap: 1rem;
  }

  .brand-name {
    letter-spacing: 0.34rem;
  }

  .site-nav {
    gap: 0.8rem;
    font-size: 0.92rem;
  }

  .nav-cta {
    padding: 0.75rem 1rem;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(19rem, 0.74fr);
  }

  .hero-orbit {
    width: min(100%, 23rem);
  }

  .logo-stage {
    inset: 21% 21%;
  }

  h1 {
    font-size: clamp(2.5rem, 4.8vw, 4.4rem);
    max-width: 6.8ch;
  }
}

@media (max-width: 1180px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-top: 2.2rem;
  }

  .hero-copy {
    max-width: 42rem;
  }

  h1 {
    max-width: 8ch;
    font-size: clamp(2.7rem, 7vw, 5rem);
  }

  .hero-lead {
    max-width: 36rem;
  }

  .hero-visual {
    min-height: 30rem;
    justify-items: center;
  }

  .hero-orbit {
    margin-left: 0;
  }
}

@media (max-width: 640px) {
  .hero-orbit {
    width: min(100%, 17.5rem);
  }

  .logo-stage {
    inset: 24% 24%;
  }

  .hero-card {
    padding: 0.72rem 0.78rem;
  }

  .hero-card-main {
    right: -3%;
    top: -10%;
    width: 6.9rem;
  }

  .hero-card-side {
    left: -2%;
    bottom: 2%;
    width: 7.2rem;
    text-align: center;
  }

  .hero-card p {
    font-size: 0.74rem;
    line-height: 1.35;
  }

  .hero-card strong {
    font-size: 0.72rem;
    margin-top: 0.4rem;
  }

  .hero-card-side strong {
    font-size: 0.82rem;
    line-height: 1.05;
  }

  .card-label {
    font-size: 0.68rem;
    letter-spacing: 0.12rem;
  }

  .hero-card-side .card-label {
    justify-content: center;
    width: 100%;
  }

  .hero-card-main p {
    display: none;
  }

  .hero-card-main .signal-dot {
    width: 0.6rem;
    height: 0.6rem;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding-top: 1rem;
  }

  .site-nav {
    display: none;
  }

  .hero,
  .section,
  .trust-strip,
  .final-cta {
    width: min(calc(100% - 1.2rem), var(--max));
  }

  h1 {
    font-size: clamp(2.8rem, 18vw, 4.2rem);
  }

  h2 {
    font-size: clamp(1.8rem, 10vw, 2.8rem);
  }

  .hero-visual {
    min-height: 24rem;
  }

  .hero-card-main {
    right: 0;
    top: 3%;
  }

  .hero-card-side {
    left: 0;
    bottom: 2%;
  }

  .logo-core {
    width: 7rem;
    height: 7rem;
  }

  .quote-card,
  .stats-panel,
  .cta-panel,
  .problem-card,
  .solution-card,
  .timeline-step {
    padding: 1.25rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .particle-field {
    display: none;
  }
}

.agent-graph {
  width: min(100%, 24rem);
  height: auto;
}

.agent-graph-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.graph-orbits circle {
  fill: none;
  stroke: rgba(35, 95, 255, 0.15);
  stroke-width: 1.2;
  animation: orbitPulse 7.5s ease-in-out infinite;
}

.graph-orbits circle:last-child {
  stroke-opacity: 0.44;
  animation-delay: 1.1s;
}

.graph-link {
  fill: none;
  stroke: url(#agent-link-gradient);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 10px rgba(136, 101, 255, 0.34));
}

.graph-signal {
  fill: #9e80ff;
  filter: drop-shadow(0 0 10px rgba(158, 128, 255, 0.72));
}

.graph-signal {
  opacity: 0.9;
}

.graph-node rect {
  fill: url(#agent-node-gradient);
  stroke: rgba(121, 88, 255, 0.52);
  stroke-width: 1.35;
}

.graph-node text {
  fill: #d9ccff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px;
  letter-spacing: 0.06em;
}

.graph-node-core rect {
  fill: rgba(45, 34, 94, 0.98);
  stroke: rgba(153, 118, 255, 0.7);
  filter: drop-shadow(0 0 20px rgba(120, 90, 255, 0.22));
}

.graph-icon-fill {
  fill: #bfaeff;
}

.graph-icon-stroke,
.graph-core-icon path,
.graph-core-icon rect,
.graph-core-icon circle {
  fill: none;
  stroke: #bfaeff;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.graph-core-icon rect {
  fill: rgba(191, 174, 255, 0.08);
}

.graph-core-icon circle {
  fill: #bfaeff;
}

@keyframes orbitPulse {
  0%,
  100% {
    opacity: 0.38;
    transform: scale(0.985);
  }

  50% {
    opacity: 0.72;
    transform: scale(1.015);
  }
}

@media (max-width: 640px) {
  .agent-graph {
    width: min(100%, 19rem);
    margin-bottom: 1.2rem;
  }

  .graph-node text {
    font-size: 11px;
  }
}
