:root {
  color-scheme: light;
  --ink: #06112f;
  --muted: #526071;
  --line: #d9e4f2;
  --surface: #ffffff;
  --surface-strong: #f4f8fc;
  --blue: #0578df;
  --blue-deep: #061a59;
  --cyan: #21b8ff;
  --green: #16a46e;
  --yellow: #ffbf47;
  --shadow: 0 24px 80px rgba(10, 33, 80, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 8%, rgba(33, 184, 255, 0.16), transparent 26rem),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 48%, #edf6ff 100%);
  line-height: 1.5;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: min(1180px, calc(100% - 40px));
  margin: 18px auto 0;
  padding: 12px 14px 12px 18px;
  border: 1px solid rgba(217, 228, 242, 0.72);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 38px rgba(6, 17, 47, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 142px;
}

.brand-logo {
  display: block;
  width: 168px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 700;
}

.nav a {
  padding: 10px 12px;
  border-radius: 7px;
  color: var(--muted);
}

.nav a:hover {
  color: var(--ink);
  background: #edf6ff;
}

.nav-cta {
  color: #ffffff !important;
  background: var(--ink);
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: clamp(38px, 6vw, 86px);
  align-items: center;
  min-height: calc(100vh - 94px);
  padding-top: 58px;
}

.hero-copy {
  order: 1;
}

.hero-visual {
  position: relative;
  order: 2;
  min-height: min(620px, 58vw);
  border: 1px solid rgba(217, 228, 242, 0.82);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.92), rgba(229, 244, 255, 0.72)),
    radial-gradient(circle at 50% 50%, rgba(5, 120, 223, 0.17), transparent 22rem);
  box-shadow: var(--shadow);
}

.signal-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(6, 26, 89, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 26, 89, 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at center, #000 0%, transparent 78%);
}

.hero-visual::before,
.hero-visual::after {
  position: absolute;
  inset: 17% 15%;
  border: 1px solid rgba(5, 120, 223, 0.25);
  border-radius: 50%;
  content: "";
}

.hero-visual::after {
  inset: 27% 25%;
  border-color: rgba(22, 164, 110, 0.28);
}

.core-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 176px;
  height: 176px;
  padding: 18px;
  border: 1px solid rgba(5, 120, 223, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 22px 48px rgba(5, 120, 223, 0.18);
  transform: translate(-50%, -50%);
}

.core-orbit img {
  width: 78px;
}

.core-orbit span {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--blue-deep);
}

.module-node {
  position: absolute;
  min-width: 88px;
  padding: 10px 12px;
  border: 1px solid rgba(5, 120, 223, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 36px rgba(6, 17, 47, 0.12);
  font-size: 0.78rem;
  font-weight: 850;
  text-align: center;
}

.node-crm { top: 17%; left: 16%; }
.node-docs { top: 16%; right: 13%; }
.node-people { bottom: 17%; left: 11%; }
.node-agent { right: 12%; bottom: 18%; border-color: rgba(22, 164, 110, 0.28); }
.node-flow { left: 50%; bottom: 8%; transform: translateX(-50%); border-color: rgba(255, 191, 71, 0.4); }

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 710px;
  margin-bottom: 22px;
  font-size: clamp(3.1rem, 5.8vw, 5.45rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(2.1rem, 4vw, 4.6rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 14px;
  font-size: clamp(1.45rem, 2vw, 2.2rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 640px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.8vw, 1.35rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 850;
}

.button-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  box-shadow: 0 18px 34px rgba(5, 120, 223, 0.24);
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.76);
}

.intro {
  max-width: 980px;
  padding-top: 42px;
  text-align: center;
}

.intro p,
.section-heading p,
.agent-copy p,
.cta p {
  color: var(--muted);
  font-size: 1.06rem;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 34px;
  align-items: end;
  margin-bottom: 36px;
}

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

.pillar,
.human-card,
.agent-card,
.trust-card,
.automation-panel {
  border: 1px solid rgba(217, 228, 242, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 58px rgba(6, 17, 47, 0.08);
}

.pillar {
  min-height: 440px;
  padding: clamp(26px, 4vw, 42px);
}

.pillar-number {
  display: block;
  margin-bottom: 82px;
  color: var(--cyan);
  font-size: 0.86rem;
  font-weight: 900;
}

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

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

.feature-list li {
  position: relative;
  padding-left: 24px;
  font-weight: 720;
}

.feature-list li::before {
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  content: "";
}

.modules {
  text-align: center;
}

.modules h2 {
  margin-right: auto;
  margin-left: auto;
}

.module-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 940px;
  margin: 28px auto 0;
}

.module-strip span {
  padding: 12px 14px;
  border: 1px solid rgba(5, 120, 223, 0.18);
  border-radius: 999px;
  background: #ffffff;
  color: var(--blue-deep);
  font-weight: 820;
}

.agent-first {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 28px;
  align-items: center;
}

.automation-panel {
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(6, 17, 47, 0.96), rgba(6, 26, 89, 0.92)),
    var(--ink);
  color: #ffffff;
}

.panel-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 7px rgba(22, 164, 110, 0.16);
}

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

.workflow-line span {
  min-height: 86px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #dfeeff;
  font-size: 0.9rem;
  font-weight: 780;
}

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

.human-card,
.agent-card {
  min-height: 236px;
  padding: 22px;
}

.human-card {
  grid-column: span 2;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(5, 120, 223, 0.92), rgba(6, 26, 89, 0.96)),
    var(--blue);
}

.role-label {
  display: block;
  margin-bottom: 36px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.agent-card span {
  display: block;
  margin-bottom: 4px;
  color: var(--blue);
  font-size: 0.74rem;
  font-weight: 850;
  text-transform: uppercase;
}

.agent-card h3,
.human-card h3 {
  margin-bottom: 6px;
  font-size: 1.25rem;
}

.agent-card h3 {
  margin-bottom: 0;
}

.agent-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.agent-avatar {
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  box-shadow: 0 16px 34px rgba(6, 17, 47, 0.14);
  object-fit: cover;
}

.agent-card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 58px;
  margin-bottom: 20px;
}

.human-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.84);
}

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

.trust-card {
  min-height: 220px;
  padding: 24px;
}

.trust-card span {
  display: block;
  margin-bottom: 48px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 900;
}

.trust-card h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
}

.trust-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.cta {
  max-width: 980px;
  padding: 76px 38px;
  border: 1px solid rgba(5, 120, 223, 0.18);
  border-radius: 8px;
  background: #ffffff;
  text-align: center;
  box-shadow: var(--shadow);
}

.cta h2 {
  margin-right: auto;
  margin-left: auto;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  width: min(1180px, calc(100% - 40px));
  margin: 80px auto 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-weight: 720;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

.footer-links a {
  color: var(--blue-deep);
}

.footer-logo {
  width: 144px;
}

.legal-page {
  min-height: 70vh;
}

.legal-content {
  max-width: 860px;
}

.legal-content h1 {
  font-size: clamp(3rem, 7vw, 5.2rem);
}

.legal-content h2 {
  margin-top: 38px;
  font-size: clamp(1.45rem, 2vw, 2rem);
}

.legal-content p {
  color: var(--muted);
  font-size: 1.04rem;
}

.legal-content a {
  color: var(--blue-deep);
  font-weight: 800;
}

.legal-note {
  margin-top: 42px;
  padding: 18px;
  border: 1px solid rgba(255, 191, 71, 0.45);
  border-radius: 8px;
  background: rgba(255, 248, 233, 0.78);
}

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

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

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
  }

  .nav {
    justify-content: flex-end;
    flex-wrap: wrap;
  }

  .hero,
  .section-heading,
  .agent-first {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

  .hero-copy {
    order: 2;
  }

  .pillar-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .site-header,
  .section,
  .footer {
    width: min(100% - 28px, 1180px);
  }

  .site-header,
  .footer {
    flex-direction: column;
    align-items: stretch;
  }

  .brand-logo {
    width: 146px;
  }

  .nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .nav a {
    text-align: center;
  }

  .section {
    padding: 64px 0;
  }

  .hero {
    padding-top: 42px;
  }

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

  .core-orbit {
    width: 132px;
    height: 132px;
  }

  .core-orbit img {
    width: 58px;
  }

  .module-node {
    min-width: 76px;
    padding: 8px 9px;
    font-size: 0.68rem;
  }

  h1 {
    font-size: clamp(2.85rem, 14vw, 4.05rem);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .pillar {
    min-height: auto;
  }

  .pillar-number {
    margin-bottom: 54px;
  }

  .workflow-line,
  .team-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .human-card {
    grid-column: span 1;
  }

  .cta {
    padding: 54px 20px;
  }
}
