:root {
  --bg: #050609;
  --bg-soft: #0c0f18;
  --panel: rgba(255, 255, 255, 0.055);
  --panel-strong: rgba(255, 255, 255, 0.095);
  --line: rgba(255, 255, 255, 0.14);
  --text: #f7f7fb;
  --muted: #a9afc3;
  --green: #26d8ff;
  --purple: #7a4aff;
  --cyan: #58e1ff;
  --pink: #cc52ff;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 12%, rgba(122, 74, 255, 0.28), transparent 34rem),
    radial-gradient(circle at 82% 4%, rgba(38, 216, 255, 0.16), transparent 30rem),
    linear-gradient(180deg, #050609 0%, #080a10 46%, #050609 100%);
  color: var(--text);
  font-family: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

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

#signal-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  opacity: 0.72;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 20px 0;
  backdrop-filter: blur(18px);
}

.site-nav .menu-highlight {
  margin-left: 10px;
}

.brand,
.site-nav,
.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
}

.brand {
  position: absolute;
  left: 0;
  gap: 10px;
  font-size: 1.05rem;
  font-weight: 700;
}

.login-button {
  display: none;
  position: absolute;
  right: 0;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 700;
}

.login-button:hover,
.login-button.active {
  border-color: rgba(38, 216, 255, 0.5);
  background: rgba(38, 216, 255, 0.1);
}

.brand-logo {
  width: 108px;
  height: auto;
  display: block;
  border-radius: 0;
  filter: contrast(1.12) saturate(1.18) drop-shadow(0 0 18px rgba(38, 216, 255, 0.28));
  image-rendering: auto;
}

.brand > span {
  display: none;
}

.site-nav {
  gap: 22px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
}

.site-nav a:hover,
.nav-group:hover > span:first-child,
.nav-group:hover > a:first-child {
  color: var(--text);
}

.site-nav .active-link,
.nav-group.active-link > span:first-child,
.nav-group.active-link > a:first-child {
  color: var(--text);
}

.mobile-nav-label,
.mobile-service-link {
  display: none;
}

.nav-group {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  cursor: default;
}

.nav-group > span:first-child::after,
.nav-group > a:first-child::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  opacity: 0.75;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  min-width: 150px;
  padding: 16px 8px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(5, 8, 14, 0.94);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28), 0 0 28px rgba(38, 216, 255, 0.08);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -6px);
  transition: opacity 150ms ease, transform 150ms ease;
}

.nav-dropdown a {
  display: block;
  padding: 9px 10px;
  border-radius: 7px;
  color: var(--muted);
  white-space: nowrap;
}

.nav-dropdown a:hover,
.nav-dropdown a.active-link {
  background: rgba(38, 216, 255, 0.1);
  color: var(--text);
}

.nav-group:hover .nav-dropdown,
.nav-group:focus-within .nav-dropdown,
.nav-group.is-open .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.menu-highlight {
  padding: 9px 13px;
  border: 1px solid rgba(38, 216, 255, 0.32);
  border-radius: 999px;
  color: var(--text);
  background: rgba(38, 216, 255, 0.08);
  box-shadow: 0 0 22px rgba(38, 216, 255, 0.12);
}

.menu-highlight.active {
  background: linear-gradient(90deg, rgba(38, 216, 255, 0.28), rgba(88, 225, 255, 0.16));
}

.nav-cta {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.9rem;
  font-weight: 700;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, 0.97fr);
  gap: 52px;
  align-items: center;
  width: min(var(--max), calc(100% - 40px));
  min-height: calc(100vh - 92px);
  margin: 0 auto;
  padding: 42px 0 22px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 20px;
  font-size: clamp(1.9rem, 3.25vw, 3rem);
  line-height: 1.08;
  font-weight: 750;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(1.75rem, 3.1vw, 3.1rem);
  line-height: 1.08;
  font-weight: 750;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
  line-height: 1.25;
  font-weight: 700;
}

.hero-text,
.split-copy p,
.cta-section p {
  max-width: 640px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.hero-copy > .hero-text {
  max-width: 760px;
  color: var(--text);
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  font-weight: 500;
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-actions.center {
  justify-content: center;
}

.ai-impact-form {
  max-width: 720px;
  margin-top: 22px;
  padding: 18px;
  border: 1px solid rgba(38, 216, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 34px rgba(38, 216, 255, 0.1);
}

.ai-impact-form[hidden] {
  display: none;
}

.ai-impact-form label {
  margin-bottom: 12px;
}

.ai-impact-form div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.button {
  min-height: 52px;
  justify-content: center;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

.button.primary {
  background: linear-gradient(90deg, var(--green), var(--cyan));
  color: #03100b;
  box-shadow: 0 0 34px rgba(38, 216, 255, 0.26);
}

.button.ghost {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.055);
}

.button.secondary {
  border: 1px solid rgba(88, 225, 255, 0.22);
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
}

.hero-visual {
  position: relative;
  min-height: 560px;
}

.orbit-field {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02)),
    radial-gradient(circle at 50% 42%, rgba(122, 74, 255, 0.34), transparent 20rem),
    radial-gradient(circle at 50% 56%, rgba(38, 216, 255, 0.18), transparent 24rem);
  box-shadow: inset 0 0 80px rgba(255, 255, 255, 0.04), 0 30px 90px rgba(0, 0, 0, 0.35);
}

.orbit-field::before,
.orbit-field::after {
  content: "";
  position: absolute;
  inset: 70px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  animation: spin 28s linear infinite;
}

.orbit-field::after {
  inset: 126px 64px;
  border-color: rgba(38, 216, 255, 0.28);
  animation-duration: 18s;
  animation-direction: reverse;
}

.core-node {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 220px;
  height: 220px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 25%, #ffffff, var(--green) 12%, #0f161b 42%, #090b10 68%);
  box-shadow: 0 0 70px rgba(38, 216, 255, 0.36), inset 0 0 34px rgba(255, 255, 255, 0.2);
  text-align: center;
}

.core-node span,
.core-node strong {
  display: block;
  width: 100%;
}

.core-node span {
  align-self: end;
  color: #07100b;
  font-weight: 900;
}

.core-node strong {
  align-self: start;
  padding-top: 8px;
  color: #e7fff6;
  font-size: 0.84rem;
}

.orbit-card {
  position: absolute;
  z-index: 3;
  width: 170px;
  min-height: 92px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(7, 10, 17, 0.76);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.28);
  color: #f7f7fb;
  font-weight: 800;
  backdrop-filter: blur(14px);
}

.orbit-card small {
  display: block;
  margin-bottom: 18px;
  color: var(--green);
}

.card-a { top: 78px; left: 50px; }
.card-b { top: 102px; right: 42px; }
.card-c { bottom: 82px; left: 76px; }
.card-d { right: 58px; bottom: 60px; }

.proof-strip,
.section,
.cta-section,
.site-footer {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
}

.proof-strip div {
  min-height: 112px;
  padding: 22px 18px;
  border-right: 1px solid var(--line);
}

.proof-strip div:last-child {
  border-right: 0;
}

.proof-strip strong {
  display: block;
  margin-bottom: 10px;
  font-size: clamp(1.85rem, 3.2vw, 3.4rem);
  line-height: 0.9;
  font-weight: 750;
  background: linear-gradient(90deg, #ffffff, var(--green), var(--cyan));
  -webkit-background-clip: text;
  color: transparent;
}

.proof-strip span {
  color: var(--muted);
  font-weight: 600;
}

.section {
  padding: 72px 0;
  scroll-margin-top: 92px;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 42px;
  align-items: start;
  margin-bottom: 30px;
}

.section-heading.compact {
  display: block;
  max-width: 820px;
}

.score-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.34fr) minmax(0, 0.66fr);
  gap: 22px;
  align-items: stretch;
  padding-top: 56px;
  padding-bottom: 44px;
}

.score-copy {
  align-self: center;
}

.score-copy h2 {
  max-width: 520px;
  font-size: clamp(1.9rem, 3.2vw, 3rem);
}

.score-copy p:not(.eyebrow) {
  max-width: 520px;
  color: var(--muted);
  line-height: 1.65;
}

.score-board {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(250px, 0.72fr);
  gap: 14px;
}

.score-quiz,
.score-result {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 12% 12%, rgba(38, 216, 255, 0.16), transparent 18rem),
    rgba(255, 255, 255, 0.055);
}

.score-quiz {
  display: grid;
  align-content: center;
  min-height: 250px;
  padding: 22px;
}

.score-question {
  display: none;
  flex-wrap: wrap;
  gap: 10px;
  align-items: stretch;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.score-question.is-active {
  display: flex;
  animation: scoreQuestionIn 180ms ease both;
}

.score-question-title {
  flex: 0 0 100%;
  width: 100%;
  margin: 0 0 14px;
  padding: 0;
  color: var(--text);
  font-size: clamp(1.05rem, 1.8vw, 1.45rem);
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  overflow-wrap: anywhere;
}

.score-question button {
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(3, 8, 16, 0.58);
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 750;
  line-height: 1.12;
  text-align: center;
  overflow-wrap: anywhere;
  white-space: normal;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

.score-question button:hover,
.score-question button:focus-visible,
.score-question button.is-selected {
  border-color: rgba(88, 225, 255, 0.58);
  background: rgba(38, 216, 255, 0.12);
  color: var(--text);
  outline: none;
  transform: translateY(-1px);
}

.score-result {
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 18px;
  padding: 22px;
}

.score-result::before {
  content: "";
  position: absolute;
  inset: auto -34px -84px;
  height: 180px;
  background: radial-gradient(circle, rgba(122, 74, 255, 0.32), transparent 68%);
  pointer-events: none;
}

.score-result > * {
  position: relative;
  z-index: 1;
}

.score-ring {
  width: 150px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  justify-self: center;
  border: 1px solid rgba(88, 225, 255, 0.34);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.24), transparent 14%),
    conic-gradient(from 180deg, var(--green), var(--cyan), var(--purple), rgba(255, 255, 255, 0.08));
  box-shadow: 0 0 54px rgba(38, 216, 255, 0.16);
}

.score-ring span {
  color: #07101a;
  font-size: 2.8rem;
  font-weight: 850;
  line-height: 0.9;
}

.score-result strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.24rem;
}

.score-result p {
  max-width: 260px;
  min-height: 0;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
  text-align: center;
}

.score-bars {
  width: min(100%, 300px);
  justify-self: center;
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin-top: 8px;
}

.score-bars span {
  height: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.score-bars span.is-active {
  border-color: rgba(88, 225, 255, 0.48);
  background: linear-gradient(180deg, rgba(38, 216, 255, 0.44), rgba(122, 74, 255, 0.2));
  box-shadow: 0 0 18px rgba(38, 216, 255, 0.18);
}

.score-result .score-cta {
  justify-self: center;
  width: min(100%, 190px);
  min-height: 42px;
  margin-top: 0;
  padding-inline: 18px;
  opacity: 0.42;
  filter: saturate(0.55);
  pointer-events: none;
  transform: translateY(0);
  transition: opacity 180ms ease, filter 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.score-result .score-cta.is-warm,
.score-result .score-cta.is-hot,
.score-result .score-cta.is-glowing {
  pointer-events: auto;
}

.score-result .score-cta.is-warm {
  opacity: 0.74;
  filter: saturate(0.9);
  box-shadow: 0 0 22px rgba(38, 216, 255, 0.18);
}

.score-result .score-cta.is-hot {
  opacity: 1;
  filter: saturate(1.08);
  box-shadow: 0 0 32px rgba(38, 216, 255, 0.32);
  transform: translateY(-1px);
}

.score-result .score-cta.is-glowing {
  opacity: 1;
  filter: saturate(1.18);
  animation: scoreCtaGlow 1s ease-in-out infinite;
}

.process-title {
  margin-bottom: 30px;
  text-align: center;
}

.process-title h2 {
  margin: 0 auto;
  font-size: clamp(2rem, 3.6vw, 3.3rem);
}

.systems-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: stretch;
}

.systems-section {
  padding-top: 28px;
}

.builder-title {
  margin-bottom: 22px;
  text-align: center;
}

.builder-title h2 {
  margin: 0 auto;
  max-width: 900px;
  font-size: clamp(1.85rem, 3vw, 2.8rem);
}

.builder-layout {
  display: grid;
  grid-template-columns: minmax(230px, 0.35fr) minmax(0, 0.65fr);
  gap: 18px;
  align-items: start;
}

.automation-palette,
.engine-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.automation-palette {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 12px;
  position: sticky;
  top: 94px;
  max-height: calc(100vh - 112px);
  overflow-y: auto;
}

.automation-chip {
  min-height: 36px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035));
  color: var(--text);
  cursor: grab;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 650;
  text-align: left;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.automation-chip:hover,
.automation-chip:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(38, 216, 255, 0.55);
  background: rgba(38, 216, 255, 0.1);
  outline: none;
}

.automation-chip:active {
  cursor: grabbing;
}

.automation-chip.used {
  opacity: 0.35;
  pointer-events: none;
}

.engine-panel {
  max-width: none;
  width: 100%;
  padding: 16px;
  background:
    radial-gradient(circle at 22% 10%, rgba(38, 216, 255, 0.16), transparent 22rem),
    radial-gradient(circle at 88% 14%, rgba(122, 74, 255, 0.18), transparent 24rem),
    var(--panel);
}

.engine-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
}

.engine-top .eyebrow {
  display: block;
  margin-bottom: 8px;
}

.engine-top h3 {
  margin-bottom: 0;
  font-size: clamp(1.25rem, 2.2vw, 2rem);
}

#revenue-lift {
  min-width: 118px;
  color: transparent;
  background: linear-gradient(90deg, var(--green), var(--cyan));
  -webkit-background-clip: text;
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 750;
  line-height: 0.9;
  text-align: right;
}

.drop-zone {
  position: relative;
  min-height: 390px;
  padding: 14px;
  border: 1px dashed rgba(38, 216, 255, 0.48);
  border-radius: 8px;
  background: rgba(2, 5, 9, 0.48);
  overflow: hidden;
}

.sphere-stage {
  position: absolute;
  inset: 0;
  transform-origin: center;
}

.sphere-stage.complete {
  animation: sphereNetworkSpin 48s linear infinite;
}

.sphere-stage.completing {
  animation: none;
}

.sphere-stage::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(58%, 330px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(38, 216, 255, 0.24);
  border-radius: 50%;
  background:
    radial-gradient(circle at 36% 28%, rgba(255, 255, 255, 0.22), transparent 8%),
    radial-gradient(circle at 50% 50%, rgba(38, 216, 255, 0.14), transparent 36%),
    radial-gradient(circle at 65% 64%, rgba(122, 74, 255, 0.16), transparent 50%);
  box-shadow: inset 0 0 58px rgba(88, 225, 255, 0.08), 0 0 58px rgba(38, 216, 255, 0.12);
}

.sphere-stage::after {
  content: "Automation Core";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: 104px;
  height: 104px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(38, 216, 255, 0.36);
  border-radius: 50%;
  background: rgba(3, 11, 14, 0.86);
  color: #dfffee;
  font-size: 0.86rem;
  font-weight: 900;
  text-align: center;
  box-shadow: 0 0 34px rgba(38, 216, 255, 0.18);
}

.drop-zone.drag-over {
  border-color: var(--cyan);
  box-shadow: inset 0 0 34px rgba(88, 225, 255, 0.12);
}

.drop-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  color: var(--muted);
  font-weight: 800;
  text-align: center;
  pointer-events: none;
}

.drop-placeholder[hidden] {
  display: none;
}

.connection-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.selected-automation {
  position: absolute;
  z-index: 2;
  display: grid;
  align-content: space-between;
  width: 104px;
  min-height: 60px;
  padding: 9px;
  border: 1px solid rgba(38, 216, 255, 0.42);
  border-radius: 8px;
  background: rgba(7, 13, 18, 0.88);
  box-shadow: 0 0 30px rgba(38, 216, 255, 0.1);
  transform: translate(-50%, -50%);
}

.sphere-stage.complete .selected-automation {
  animation: keepNodeReadable 48s linear infinite;
}

.sphere-stage.completing .connection-lines line {
  animation: connectionCompleteGlow 2.2s ease-out 1;
}

.selected-automation strong {
  font-size: 0.72rem;
  font-weight: 650;
  line-height: 1.2;
}

.selected-automation span {
  color: var(--green);
  font-size: 0.7rem;
  font-weight: 700;
}

.lift-meter {
  height: 12px;
  margin-top: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.lift-meter span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--cyan), var(--purple));
  box-shadow: 0 0 24px rgba(38, 216, 255, 0.35);
  transition: width 280ms ease;
}

.builder-note,
.builder-booking p {
  color: var(--muted);
  line-height: 1.6;
}

.builder-booking {
  margin-top: 10px;
  padding: 14px;
  border: 1px solid rgba(38, 216, 255, 0.28);
  border-radius: 8px;
  background: rgba(38, 216, 255, 0.08);
}

.builder-booking[hidden] {
  display: none;
}

.builder-booking strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.system-card,
.timeline article,
.outcomes-grid div,
.contact-form,
.contact-card,
.booking-panel,
.booking-form,
.booking-confirmation,
.booking-status {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.system-card {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035)),
    var(--panel);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.system-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 14%, rgba(88, 225, 255, 0.2), transparent 10rem),
    linear-gradient(135deg, rgba(38, 216, 255, 0.12), transparent 42%);
  opacity: 0.72;
  pointer-events: none;
}

.system-card > * {
  position: relative;
  z-index: 1;
}

.system-card:hover {
  transform: translateY(-5px);
  border-color: rgba(38, 216, 255, 0.52);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.045)),
    var(--panel-strong);
  box-shadow: 0 20px 60px rgba(38, 216, 255, 0.1);
}

.system-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 28px;
}

.card-number {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(88, 225, 255, 0.34);
  border-radius: 50%;
  background: rgba(3, 9, 18, 0.72);
  color: var(--green);
  font-size: 0.86rem;
  font-weight: 700;
}

.system-status {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.065);
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
}

.system-card h3 {
  margin-bottom: 12px;
  font-size: clamp(1.18rem, 1.8vw, 1.45rem);
}

.system-card p,
.timeline p,
.outcomes-grid p {
  color: var(--muted);
  line-height: 1.65;
}

.system-flow {
  display: grid;
  gap: 8px;
  margin-top: 22px;
}

.system-flow span {
  position: relative;
  min-height: 34px;
  padding: 9px 10px 9px 32px;
  border: 1px solid rgba(255, 255, 255, 0.095);
  border-radius: 8px;
  background: rgba(2, 5, 9, 0.36);
  color: #dfe8ff;
  font-size: 0.82rem;
  font-weight: 700;
}

.system-flow span::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  width: 8px;
  height: 8px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--purple));
  box-shadow: 0 0 16px rgba(38, 216, 255, 0.55);
}

.split-section {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 56px;
  align-items: center;
}

.terminal-panel {
  overflow: hidden;
  border: 1px solid rgba(38, 216, 255, 0.22);
  border-radius: 8px;
  background: rgba(2, 5, 9, 0.88);
  box-shadow: 0 0 70px rgba(38, 216, 255, 0.11);
}

.terminal-top {
  display: flex;
  gap: 8px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.terminal-top span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
}

.terminal-top span:nth-child(2) {
  background: var(--cyan);
}

.terminal-top span:nth-child(3) {
  background: var(--purple);
}

pre {
  margin: 0;
  padding: 34px;
  white-space: pre-wrap;
  color: #dfffee;
  font: 500 0.95rem/1.75 "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
}

.industry-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.industry-list span {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: #dfe4f2;
  font-size: 0.9rem;
  font-weight: 600;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.timeline article {
  padding: 24px;
  min-height: 260px;
}

.timeline span {
  display: block;
  margin-bottom: 52px;
  color: var(--cyan);
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
}

.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.outcomes-grid div {
  padding: 26px;
}

.outcomes-grid strong {
  display: block;
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.cta-section {
  position: relative;
  overflow: hidden;
  margin-bottom: 46px;
  padding: 62px 28px;
  border: 1px solid rgba(38, 216, 255, 0.18);
  border-radius: 8px;
  background:
    radial-gradient(circle at 15% 15%, rgba(38, 216, 255, 0.22), transparent 26rem),
    radial-gradient(circle at 85% 20%, rgba(122, 74, 255, 0.24), transparent 28rem),
    rgba(255, 255, 255, 0.055);
  text-align: center;
}

.cta-section h2,
.cta-section p {
  max-width: 820px;
  margin-inline: auto;
}

.contact-layout,
.booking-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.78fr);
  gap: 14px;
  align-items: start;
}

.contact-form,
.booking-form,
.booking-panel,
.booking-confirmation,
.contact-card {
  padding: 20px;
}

.contact-form,
.booking-form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 9px;
  color: #e7ebf6;
  font-size: 0.92rem;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(2, 5, 9, 0.66);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

input {
  min-height: 44px;
  padding: 0 12px;
}

textarea {
  resize: vertical;
  min-height: 140px;
  padding: 14px;
}

input:focus,
textarea:focus {
  border-color: rgba(38, 216, 255, 0.7);
  box-shadow: 0 0 0 4px rgba(38, 216, 255, 0.12);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.contact-card {
  min-height: 100%;
  background:
    radial-gradient(circle at 20% 10%, rgba(38, 216, 255, 0.18), transparent 18rem),
    radial-gradient(circle at 90% 20%, rgba(122, 74, 255, 0.2), transparent 20rem),
    var(--panel);
}

.contact-card p {
  color: var(--muted);
  line-height: 1.7;
}

.contact-card .button {
  margin-top: 18px;
}

.booking-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 24px;
  align-items: center;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 42px 0 18px;
}

.booking-hero h1 {
  max-width: none;
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  white-space: nowrap;
}

.booking-hero > div:first-child {
  text-align: center;
}

.booking-hero .hero-text {
  margin-inline: auto;
}

.booking-status {
  padding: 16px;
  color: #dcfff2;
  font-weight: 800;
  line-height: 1.45;
}

.booking-shell {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 12px 0 46px;
}

.slot-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.slot-heading span {
  font-size: 1rem;
  font-weight: 900;
}

.slot-heading small {
  color: var(--muted);
  font-weight: 800;
}

.month-picker {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
}

.month-picker div {
  display: grid;
  gap: 4px;
  text-align: center;
}

.month-picker span {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.month-picker strong {
  font-size: clamp(1.15rem, 2.4vw, 1.65rem);
}

.month-nav {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1;
}

.month-nav:disabled {
  cursor: not-allowed;
  opacity: 0.32;
}

.weekday-row,
.day-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.weekday-row {
  margin-bottom: 8px;
}

.weekday-row span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-align: center;
}

.day-grid {
  margin-bottom: 18px;
}

.day-spacer {
  min-height: 40px;
}

.day-button {
  min-height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.day-button:hover:not(:disabled),
.day-button[aria-pressed="true"] {
  border-color: rgba(38, 216, 255, 0.72);
  background: linear-gradient(135deg, rgba(38, 216, 255, 0.24), rgba(88, 225, 255, 0.12));
  box-shadow: 0 0 22px rgba(38, 216, 255, 0.12);
}

.day-button:disabled {
  cursor: not-allowed;
  color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.02);
}

.slots-panel[hidden] {
  display: none;
}

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

.slot-button {
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.slot-button:hover:not(:disabled),
.slot-button[aria-pressed="true"] {
  border-color: rgba(38, 216, 255, 0.72);
  background: rgba(38, 216, 255, 0.15);
  box-shadow: 0 0 26px rgba(38, 216, 255, 0.15);
}

.slot-button:disabled {
  cursor: not-allowed;
  color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.025);
}

.booking-form h2 {
  margin-bottom: 0;
  font-size: clamp(1.45rem, 2.4vw, 2.15rem);
}

.booking-form > p {
  color: var(--muted);
  line-height: 1.5;
}

.booking-confirmation {
  grid-column: 1 / -1;
  background:
    radial-gradient(circle at 15% 10%, rgba(38, 216, 255, 0.2), transparent 22rem),
    radial-gradient(circle at 82% 14%, rgba(88, 225, 255, 0.13), transparent 24rem),
    var(--panel);
}

.booking-confirmation[hidden] {
  display: none;
}

.booking-confirmation h2 {
  margin-bottom: 12px;
  font-size: clamp(1.8rem, 3.2vw, 3rem);
}

.booking-confirmation p {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.65;
}

.login-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.7fr);
  gap: 42px;
  align-items: center;
  width: min(var(--max), calc(100% - 40px));
  min-height: calc(100vh - 160px);
  margin: 0 auto;
  padding: 54px 0 70px;
}

.login-copy h1 {
  max-width: 640px;
}

.login-copy p:not(.eyebrow) {
  max-width: 560px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.login-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 10%, rgba(38, 216, 255, 0.18), transparent 18rem),
    radial-gradient(circle at 86% 12%, rgba(122, 74, 255, 0.18), transparent 20rem),
    var(--panel);
}

.agent-hero,
.agent-proof,
.agent-examples,
.agent-study,
.agent-stack,
.agent-cta {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.agent-hero {
  display: grid;
  grid-template-columns: minmax(420px, 0.95fr) minmax(360px, 0.9fr);
  gap: 42px;
  align-items: center;
  min-height: calc(100vh - 92px);
  padding: 54px 0 34px;
}

.agent-hero-copy {
  display: grid;
  gap: 18px;
}

.agent-hero h1 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  line-height: 1.05;
}

.agent-hero-copy > p:not(.eyebrow) {
  max-width: 680px;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
}

.agent-command,
.agent-growth-card,
.agent-example-card,
.study-panel,
.study-table-wrap,
.agent-stack-grid,
.agent-cta {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.agent-growth-card {
  padding: 20px;
  background:
    radial-gradient(circle at 14% 12%, rgba(38, 216, 255, 0.18), transparent 24rem),
    radial-gradient(circle at 82% 22%, rgba(122, 74, 255, 0.18), transparent 22rem),
    rgba(255, 255, 255, 0.055);
}

.growth-chart {
  margin-top: 0;
}

.growth-chart-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.growth-chart-top span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.growth-chart-top strong {
  color: transparent;
  background: linear-gradient(90deg, var(--green), var(--cyan), var(--purple));
  -webkit-background-clip: text;
  font-size: clamp(2.25rem, 4vw, 4rem);
  line-height: 0.88;
}

.growth-plot {
  position: relative;
  overflow: hidden;
  padding: 16px 14px 10px;
  border: 1px solid rgba(88, 225, 255, 0.14);
  border-radius: 8px;
  background: rgba(2, 6, 12, 0.52);
}

.growth-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 20% 25%;
}

.growth-plot svg {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
}

.growth-fill {
  fill: url(#growth-area);
}

.growth-line-path {
  fill: none;
  stroke: url(#growth-line);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 10px rgba(38, 216, 255, 0.4));
}

.growth-points circle {
  fill: #050609;
  stroke: #58e1ff;
  stroke-width: 3;
}

.growth-points circle:last-child {
  stroke: #cc52ff;
  filter: drop-shadow(0 0 12px rgba(204, 82, 255, 0.8));
}

.growth-axis {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
}

.growth-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.growth-stats span {
  min-height: 78px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35;
}

.growth-stats strong {
  display: block;
  margin-bottom: 5px;
  color: var(--green);
  font-size: 1.08rem;
}

.growth-chart p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.agent-command {
  overflow: hidden;
  background:
    radial-gradient(circle at 28% 20%, rgba(38, 216, 255, 0.22), transparent 18rem),
    radial-gradient(circle at 86% 72%, rgba(122, 74, 255, 0.2), transparent 18rem),
    rgba(255, 255, 255, 0.055);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.agent-command-body {
  display: grid;
  gap: 20px;
  padding: 28px;
}

.agent-command-body p {
  margin: 0;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.agent-command-body strong {
  color: #f7fbff;
  font-size: clamp(1.25rem, 2.4vw, 2rem);
  line-height: 1.28;
}

.agent-pulse-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px 24px;
}

.agent-pulse-grid span {
  position: relative;
  min-height: 74px;
  display: grid;
  place-items: center;
  padding: 10px;
  border: 1px solid rgba(88, 225, 255, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(38, 216, 255, 0.2), rgba(122, 74, 255, 0.08)),
    rgba(2, 6, 12, 0.58);
  color: #eef7ff;
  font-size: 0.9rem;
  font-weight: 850;
  text-align: center;
  box-shadow: inset 0 0 24px rgba(38, 216, 255, 0.06);
}

.agent-pulse-grid span::after {
  content: "->";
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--green);
  font-size: 1rem;
  font-weight: 900;
  text-shadow: 0 0 12px rgba(38, 216, 255, 0.55);
}

.agent-pulse-grid span:nth-child(3)::after {
  right: auto;
  left: 50%;
  top: calc(100% + 2px);
  transform: translateX(-50%) rotate(90deg);
}

.agent-pulse-grid span:nth-child(4)::after,
.agent-pulse-grid span:last-child::after {
  display: none;
}

.agent-pulse-grid span:nth-child(5)::after {
  content: "<-";
  left: -20px;
  right: auto;
}

.agent-pulse-grid span:nth-child(2n) {
  background:
    linear-gradient(135deg, rgba(122, 74, 255, 0.24), rgba(38, 216, 255, 0.08)),
    rgba(2, 6, 12, 0.58);
}

.agent-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding-top: 28px;
}

.agent-proof article {
  min-height: 250px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035)),
    var(--panel);
}

.agent-proof span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 38px;
  border: 1px solid rgba(88, 225, 255, 0.34);
  border-radius: 50%;
  color: var(--green);
  font-weight: 850;
}

.agent-proof h2 {
  font-size: clamp(1.35rem, 2vw, 1.85rem);
}

.agent-proof p,
.agent-example-card p,
.study-panel p,
.agent-cta p {
  color: var(--muted);
  line-height: 1.65;
}

.agent-example-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.agent-example-card {
  overflow: hidden;
  padding: 22px;
  background:
    radial-gradient(circle at 15% 8%, rgba(38, 216, 255, 0.14), transparent 18rem),
    rgba(255, 255, 255, 0.055);
}

.agent-example-card h3 {
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.agent-example-card table,
.study-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  overflow: hidden;
  border-radius: 8px;
  font-size: 0.88rem;
}

.agent-example-card th,
.agent-example-card td,
.study-table th,
.study-table td {
  padding: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  text-align: left;
  vertical-align: top;
}

.agent-example-card th,
.study-table th {
  color: var(--green);
  font-size: 0.74rem;
  text-transform: uppercase;
}

.agent-example-card td,
.study-table td {
  color: #dfe7f7;
}

.agent-example-card tr:last-child td,
.study-table tr:last-child td {
  border-bottom: 0;
}

.agent-study {
  display: grid;
  grid-template-columns: minmax(260px, 0.45fr) minmax(0, 0.75fr);
  gap: 14px;
  align-items: stretch;
}

.study-panel,
.study-table-wrap {
  padding: 24px;
}

.study-panel {
  display: grid;
  align-content: center;
  background:
    radial-gradient(circle at 18% 12%, rgba(122, 74, 255, 0.22), transparent 22rem),
    var(--panel);
}

.study-table-wrap {
  overflow-x: auto;
}

.agent-stack {
  display: grid;
  grid-template-columns: minmax(240px, 0.36fr) minmax(0, 0.64fr);
  gap: 18px;
  align-items: start;
}

.agent-stack-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 18px;
}

.agent-stack-grid span {
  padding: 10px 13px;
  border: 1px solid rgba(88, 225, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: #e8efff;
  font-size: 0.9rem;
  font-weight: 750;
}

.agent-cta {
  margin-bottom: 48px;
  padding: 54px 28px;
  background:
    radial-gradient(circle at 15% 18%, rgba(38, 216, 255, 0.22), transparent 24rem),
    radial-gradient(circle at 86% 25%, rgba(122, 74, 255, 0.22), transparent 24rem),
    rgba(255, 255, 255, 0.055);
  text-align: center;
}

.agent-cta h2,
.agent-cta p {
  max-width: 760px;
  margin-inline: auto;
}

.agent-cta .button {
  margin-top: 16px;
}

.web-hero,
.web-promise,
.web-plan,
.web-flow,
.web-industries,
.web-support {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.web-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.78fr);
  gap: 44px;
  align-items: center;
  min-height: calc(100vh - 92px);
  padding: 54px 0 30px;
}

.web-hero-copy h1 {
  max-width: 760px;
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.02;
}

.web-hero-copy p:not(.eyebrow) {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.web-build-card,
.web-promise article,
.web-plan,
.web-flow,
.web-example-table,
.web-support {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.web-build-card {
  overflow: hidden;
  padding: 24px;
  background:
    radial-gradient(circle at 18% 12%, rgba(38, 216, 255, 0.2), transparent 22rem),
    radial-gradient(circle at 86% 78%, rgba(122, 74, 255, 0.22), transparent 22rem),
    rgba(255, 255, 255, 0.055);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.3);
}

.web-build-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.web-build-top span {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.web-build-top strong {
  max-width: 220px;
  color: #f8fbff;
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  line-height: 1.1;
  text-align: right;
}

.web-blueprint {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(88, 225, 255, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    rgba(2, 6, 12, 0.58);
  background-size: 34px 34px;
}

.web-blueprint span {
  min-height: 84px;
  display: grid;
  place-items: center;
  padding: 12px;
  border: 1px solid rgba(88, 225, 255, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(38, 216, 255, 0.18), rgba(122, 74, 255, 0.1)),
    rgba(3, 8, 16, 0.82);
  color: #edf7ff;
  font-size: 0.88rem;
  font-weight: 850;
  text-align: center;
  box-shadow: inset 0 0 24px rgba(38, 216, 255, 0.055);
}

.web-promise {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 28px 0;
}

.web-promise article {
  min-height: 260px;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035)),
    var(--panel);
}

.web-promise span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 34px;
  border: 1px solid rgba(88, 225, 255, 0.34);
  border-radius: 50%;
  color: var(--green);
  font-weight: 850;
}

.web-promise h2,
.web-section-copy h2,
.web-support h2 {
  font-size: clamp(1.45rem, 2.6vw, 2.2rem);
  line-height: 1.15;
}

.web-promise p,
.web-section-copy p,
.web-flow p,
.web-support p {
  color: var(--muted);
  line-height: 1.65;
}

.web-plan,
.web-flow,
.web-industries {
  margin-top: 24px;
  padding: 28px;
}

.web-plan {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 0.58fr);
  gap: 26px;
  align-items: start;
  background:
    radial-gradient(circle at 12% 15%, rgba(38, 216, 255, 0.14), transparent 24rem),
    rgba(255, 255, 255, 0.055);
}

.web-section-copy h2,
.web-section-copy p {
  max-width: 640px;
}

.web-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.web-feature-grid div {
  min-height: 220px;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(2, 6, 12, 0.42);
}

.web-feature-grid strong {
  color: var(--green);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.web-feature-grid span {
  padding: 9px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  color: #e7efff;
  font-size: 0.9rem;
  font-weight: 700;
}

.web-flow {
  background:
    radial-gradient(circle at 90% 16%, rgba(122, 74, 255, 0.18), transparent 24rem),
    rgba(255, 255, 255, 0.055);
}

.web-flow-line {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.web-flow-line article {
  position: relative;
  min-height: 170px;
  padding: 18px;
  border: 1px solid rgba(88, 225, 255, 0.14);
  border-radius: 8px;
  background: rgba(2, 6, 12, 0.46);
}

.web-flow-line article:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 31px;
  right: -10px;
  width: 10px;
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--purple));
  box-shadow: 0 0 12px rgba(38, 216, 255, 0.5);
}

.web-flow-line span {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(38, 216, 255, 0.1);
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.web-industries {
  padding-inline: 0;
  border: 0;
}

.web-industries .web-section-copy {
  padding: 0 0 18px;
}

.web-example-table {
  overflow-x: auto;
  padding: 8px;
}

.web-example-table table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.web-example-table th,
.web-example-table td {
  padding: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  text-align: left;
  vertical-align: top;
}

.web-example-table th {
  color: var(--green);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.web-example-table td {
  color: #dfe7f7;
}

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

.web-support {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  margin-top: 24px;
  margin-bottom: 48px;
  padding: 34px;
  background:
    radial-gradient(circle at 15% 18%, rgba(38, 216, 255, 0.22), transparent 24rem),
    radial-gradient(circle at 86% 25%, rgba(122, 74, 255, 0.22), transparent 24rem),
    rgba(255, 255, 255, 0.055);
}

.web-support h2,
.web-support p {
  max-width: 760px;
}

.web-support .button {
  flex: 0 0 auto;
}

.google-login {
  width: 100%;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.google-login span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ffffff;
  color: #111827;
  font-weight: 800;
}

.login-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.login-divider::before,
.login-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line);
}

.login-form {
  display: grid;
  gap: 14px;
}

.login-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.text-switch-button {
  border: 0;
  background: transparent;
  color: var(--green);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  padding: 4px 0 0;
  text-align: center;
}

.text-switch-button:hover {
  color: var(--cyan);
}

.profile-page {
  min-height: calc(100vh - 120px);
  display: grid;
  place-items: center;
  width: min(100% - 40px, 720px);
  margin: 0 auto;
  padding: 56px 0;
}

.profile-card {
  width: 100%;
  text-align: center;
}

.profile-card h1 {
  margin-inline: auto;
}

.profile-card p {
  color: var(--muted);
  line-height: 1.6;
}

.profile-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.auth-callback-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  width: min(100% - 40px, 620px);
  margin: 0 auto;
}

.auth-callback-card {
  width: 100%;
  text-align: center;
}

.auth-callback-card h1 {
  margin-inline: auto;
}

.auth-callback-card p {
  color: var(--muted);
  line-height: 1.6;
}

.calendar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 14px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0 38px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.94rem;
}

.site-footer span:first-child {
  color: var(--text);
  font-weight: 700;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes sphereNetworkSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes keepNodeReadable {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(-360deg); }
}

@keyframes connectionCompleteGlow {
  0% {
    stroke-opacity: 0.25;
    filter: drop-shadow(0 0 0 rgba(88, 225, 255, 0));
  }
  35% {
    stroke-opacity: 1;
    filter: drop-shadow(0 0 10px rgba(88, 225, 255, 0.95)) drop-shadow(0 0 18px rgba(38, 216, 255, 0.75));
  }
  100% {
    stroke-opacity: 0.42;
    filter: drop-shadow(0 0 0 rgba(88, 225, 255, 0));
  }
}

@keyframes scoreCtaGlow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(38, 216, 255, 0.32), 0 0 0 rgba(122, 74, 255, 0);
    transform: translateY(-1px) scale(1);
  }
  50% {
    box-shadow: 0 0 34px rgba(38, 216, 255, 0.58), 0 0 26px rgba(122, 74, 255, 0.36);
    transform: translateY(-2px) scale(1.015);
  }
}

@keyframes scoreQuestionIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

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

@media (max-width: 980px) {
  .site-header {
    position: sticky;
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 10px;
    padding: 14px 0;
  }

  .brand {
    position: static;
    justify-self: center;
  }

  .brand-logo {
    width: 96px;
  }

  .site-nav {
    display: flex;
    width: 100%;
    justify-content: center;
    gap: 8px;
    overflow-x: auto;
    padding: 0 4px 4px;
    font-size: 0.78rem;
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .nav-group {
    min-height: 34px;
    flex: 0 0 auto;
  }

  .nav-group > span:first-child,
  .nav-group > a:first-child,
  .site-nav > .mobile-service-link,
  .site-nav .menu-highlight {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    padding: 0 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.055);
  }

  .nav-group > span:first-child::after,
  .nav-group > a:first-child::after,
  .nav-dropdown {
    display: none;
  }

  .desktop-nav-label {
    display: none;
  }

  .mobile-nav-label {
    display: inline;
  }

  .site-nav .menu-highlight {
    margin-left: 0;
    white-space: nowrap;
  }

  .hero,
  .agent-hero,
  .agent-proof,
  .agent-example-grid,
  .agent-study,
  .agent-stack,
  .web-hero,
  .web-promise,
  .web-plan,
  .web-flow-line,
  .split-section,
  .section-heading,
  .score-section,
  .score-board,
  .builder-layout,
  .contact-layout,
  .login-section,
  .booking-hero,
  .booking-shell {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    padding-top: 36px;
  }

  .agent-hero {
    min-height: 0;
    padding-top: 42px;
  }

  .agent-command {
    order: -1;
  }

  .hero-visual {
    min-height: 500px;
  }

  .proof-strip,
  .systems-grid,
  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .score-question {
    grid-template-columns: 1fr;
  }

  .builder-layout {
    grid-template-columns: 1fr;
  }

  .automation-palette {
    position: static;
    max-height: none;
    overflow: visible;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .drop-zone {
    min-height: 390px;
  }

  .web-hero {
    min-height: 0;
    padding-top: 42px;
  }

  .web-promise {
    padding-top: 18px;
  }

  .web-plan,
  .web-flow {
    padding: 22px;
  }

  .web-flow-line article:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -7px;
    left: 28px;
    width: 2px;
    height: 7px;
  }

  .web-support {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .site-header,
  .hero,
  .proof-strip,
  .section,
  .cta-section,
  .site-footer,
  .booking-hero,
  .booking-shell {
    width: min(100% - 28px, var(--max));
  }

  .agent-hero,
  .agent-proof,
  .agent-examples,
  .agent-study,
  .agent-stack,
  .agent-cta,
  .web-hero,
  .web-promise,
  .web-plan,
  .web-flow,
  .web-industries,
  .web-support {
    width: min(100% - 28px, var(--max));
  }

  .nav-cta {
    display: none;
  }

  .login-button {
    display: none;
    min-height: 36px;
    padding: 0 12px;
    font-size: 0.82rem;
  }

  h1 {
    font-size: clamp(2.65rem, 13vw, 4rem);
  }

  .hero-text,
  .split-copy p,
  .cta-section p {
    font-size: 1rem;
  }

  .hero-actions,
  .hero-actions.center {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .ai-impact-form div {
    grid-template-columns: 1fr;
  }

  .score-section {
    gap: 14px;
    padding-top: 38px;
    padding-bottom: 34px;
  }

  .score-copy h2 {
    font-size: clamp(1.55rem, 8vw, 2.05rem);
  }

  .score-copy p:not(.eyebrow) {
    font-size: 0.92rem;
  }

  .score-board {
    gap: 10px;
  }

  .score-quiz,
  .score-result {
    padding: 12px;
  }

  .score-quiz {
    gap: 12px;
  }

  .score-question {
    gap: 6px;
  }

  .score-question-title {
    margin-bottom: 2px;
    font-size: 0.8rem;
  }

  .score-question button {
    min-height: 36px;
    font-size: 0.74rem;
  }

  .score-ring {
    width: 118px;
  }

  .score-ring span {
    font-size: 2.5rem;
  }

  .score-result {
    gap: 12px;
  }

  .score-result strong {
    font-size: 1.06rem;
  }

  .score-result p {
    font-size: 0.88rem;
  }

  .score-bars span {
    height: 14px;
  }

  .builder-section {
    padding-top: 38px;
    padding-bottom: 34px;
  }

  .builder-title {
    margin-bottom: 14px;
  }

  .builder-title h2 {
    font-size: clamp(1.55rem, 8vw, 2.05rem);
  }

  .hero-visual {
    min-height: 430px;
  }

  .agent-hero h1 {
    font-size: clamp(1.55rem, 8vw, 2.25rem);
  }

  .agent-command-body {
    padding: 18px;
  }

  .agent-growth-card {
    padding: 16px;
  }

  .growth-chart-top {
    align-items: start;
  }

  .growth-chart-top strong {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }

  .growth-stats {
    grid-template-columns: 1fr;
  }

  .growth-stats span {
    min-height: auto;
  }

  .agent-pulse-grid span {
    min-height: 52px;
  }

  .agent-proof article,
  .agent-example-card,
  .study-panel,
  .study-table-wrap {
    padding: 16px;
  }

  .agent-proof span {
    margin-bottom: 24px;
  }

  .agent-example-card table,
  .study-table {
    min-width: 620px;
    font-size: 0.8rem;
  }

  .agent-example-card th,
  .agent-example-card td,
  .study-table th,
  .study-table td {
    padding: 10px;
  }

  .agent-stack-grid {
    padding: 14px;
  }

  .agent-stack-grid span {
    flex: 1 1 calc(50% - 10px);
    text-align: center;
    font-size: 0.78rem;
  }

  .agent-cta {
    padding: 34px 18px;
  }

  .web-hero-copy h1 {
    font-size: clamp(1.75rem, 9vw, 2.55rem);
  }

  .web-hero-copy p:not(.eyebrow) {
    font-size: 0.98rem;
  }

  .web-build-card,
  .web-plan,
  .web-flow,
  .web-support {
    padding: 16px;
  }

  .web-build-top {
    align-items: start;
    flex-direction: column;
  }

  .web-build-top strong {
    text-align: left;
  }

  .web-blueprint,
  .web-feature-grid {
    grid-template-columns: 1fr;
  }

  .web-blueprint span {
    min-height: 58px;
  }

  .web-promise article {
    min-height: 0;
    padding: 16px;
  }

  .web-promise span {
    margin-bottom: 20px;
  }

  .web-promise h2,
  .web-section-copy h2,
  .web-support h2 {
    font-size: clamp(1.32rem, 7vw, 1.85rem);
  }

  .web-feature-grid div {
    min-height: auto;
    padding: 14px;
  }

  .web-flow-line {
    margin-top: 18px;
  }

  .web-flow-line article {
    min-height: 0;
    padding: 15px;
  }

  .web-example-table table {
    min-width: 720px;
    font-size: 0.8rem;
  }

  .web-example-table th,
  .web-example-table td {
    padding: 11px;
  }

  .core-node {
    width: 168px;
    height: 168px;
  }

  .orbit-card {
    width: 138px;
    min-height: 80px;
    padding: 12px;
    font-size: 0.82rem;
  }

  .card-a { top: 34px; left: 18px; }
  .card-b { top: 52px; right: 18px; }
  .card-c { bottom: 54px; left: 20px; }
  .card-d { right: 18px; bottom: 34px; }

  .proof-strip,
  .systems-grid,
  .timeline,
  .outcomes-grid,
  .slot-grid {
    grid-template-columns: 1fr;
  }

  .drop-zone {
    min-height: 330px;
  }

  .drop-placeholder {
    align-items: end;
    padding: 0 18px 24px;
    font-size: 0.82rem;
  }

  .engine-panel {
    padding: 12px;
  }

  .engine-top {
    gap: 10px;
  }

  .engine-top {
    align-items: start;
  }

  .engine-top h3 {
    font-size: 1.2rem;
  }

  #revenue-lift {
    min-width: 82px;
  }

  .automation-palette {
    gap: 7px;
    padding: 10px;
  }

  .automation-chip {
    min-height: 34px;
    flex: 1 1 calc(50% - 8px);
    font-size: 0.72rem;
    text-align: center;
  }

  .sphere-stage::before {
    width: min(62%, 230px);
  }

  .sphere-stage::after {
    width: 84px;
    height: 84px;
    font-size: 0.72rem;
  }

  .selected-automation {
    width: 78px;
    min-height: 50px;
    padding: 6px;
  }

  .selected-automation strong {
    font-size: 0.56rem;
  }

  .selected-automation span {
    font-size: 0.56rem;
  }

  .weekday-row,
  .day-grid {
    gap: 4px;
  }

  .weekday-row span {
    font-size: 0.68rem;
  }

  .day-button,
  .day-spacer {
    min-height: 34px;
  }

  .proof-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-strip div:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 56px 0;
  }

  .system-card,
  .timeline article {
    min-height: auto;
  }

  .timeline span {
    margin-bottom: 40px;
  }

  pre {
    padding: 22px;
    font-size: 0.82rem;
  }

  .site-footer {
    flex-direction: column;
  }

  .contact-form,
  .booking-form,
  .booking-panel,
  .booking-confirmation,
  .contact-card {
    padding: 14px;
  }

  .calendar-actions {
    flex-direction: column;
  }

  .login-actions {
    grid-template-columns: 1fr;
  }

  .booking-hero {
    gap: 12px;
    padding-top: 24px;
    padding-bottom: 8px;
  }

  .booking-hero h1 {
    max-width: 340px;
    margin-inline: auto;
    font-size: clamp(1.28rem, 6.2vw, 1.72rem);
    white-space: normal;
  }

  .booking-hero .eyebrow {
    margin-bottom: 8px;
  }

  .booking-hero .hero-text {
    max-width: 340px;
    font-size: 0.88rem;
    line-height: 1.45;
  }

  .booking-status {
    padding: 10px 12px;
    font-size: 0.78rem;
    text-align: center;
  }

  .booking-shell {
    gap: 10px;
    padding-top: 4px;
    padding-bottom: 28px;
  }

  .month-picker {
    grid-template-columns: 34px 1fr 34px;
    gap: 8px;
    margin-bottom: 10px;
  }

  .month-nav {
    width: 34px;
    height: 34px;
    font-size: 1.18rem;
  }

  .month-picker span {
    font-size: 0.68rem;
  }

  .month-picker strong {
    font-size: 1rem;
  }

  .weekday-row {
    margin-bottom: 5px;
  }

  .day-grid {
    margin-bottom: 12px;
  }

  .day-button,
  .day-spacer {
    border-radius: 7px;
    font-size: 0.8rem;
  }

  .slot-heading {
    align-items: start;
    margin-bottom: 8px;
  }

  .slot-heading span {
    font-size: 0.9rem;
  }

  .slot-heading small {
    font-size: 0.72rem;
  }

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

  .slot-button {
    min-height: 38px;
    font-size: 0.82rem;
  }

  .booking-form {
    gap: 10px;
  }

  .booking-form h2 {
    font-size: 1.28rem;
  }

  .booking-form > p,
  .form-note {
    font-size: 0.82rem;
  }

  label {
    gap: 7px;
    font-size: 0.82rem;
  }

  input {
    min-height: 40px;
  }

  textarea {
    min-height: 104px;
    padding: 11px;
  }

  .login-section {
    width: min(100% - 28px, var(--max));
    padding: 42px 0 54px;
  }
}
