:root {
  color-scheme: light;
  --bg: #eef4fb;
  --bg-soft: #f8fbff;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-strong: #ffffff;
  --text: #13213a;
  --muted: #5f708c;
  --brand: #2563ff;
  --brand-strong: #1d4ed8;
  --brand-soft: rgba(37, 99, 255, 0.08);
  --mint: #e7fff4;
  --line: rgba(88, 118, 170, 0.18);
  --line-strong: rgba(37, 99, 255, 0.22);
  --shadow: 0 24px 60px rgba(28, 49, 88, 0.08);
  --shadow-soft: 0 14px 34px rgba(28, 49, 88, 0.06);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 18px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Manrope", system-ui, sans-serif;
  background:
    radial-gradient(circle at 8% 10%, rgba(37, 99, 255, 0.18), transparent 22%),
    radial-gradient(circle at 88% 6%, rgba(103, 171, 255, 0.16), transparent 18%),
    linear-gradient(180deg, #edf4fb 0%, #f8fbff 52%, #eef4fb 100%);
}

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

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

.site-glow {
  position: fixed;
  z-index: -1;
  width: 520px;
  height: 520px;
  border-radius: 999px;
  filter: blur(24px);
  pointer-events: none;
  opacity: 0.65;
}

.site-glow-left {
  top: -120px;
  left: -120px;
  background: radial-gradient(circle, rgba(37, 99, 255, 0.22) 0%, rgba(37, 99, 255, 0) 72%);
}

.site-glow-right {
  top: 180px;
  right: -160px;
  background: radial-gradient(circle, rgba(117, 179, 255, 0.24) 0%, rgba(117, 179, 255, 0) 68%);
}

.page-shell {
  width: min(1380px, calc(100% - 34px));
  margin: 0 auto;
  padding: 16px 0 42px;
}

.topbar {
  position: sticky;
  top: 10px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 16px 12px 18px;
  border: 1px solid rgba(37, 99, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand), #6ea7ff);
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 20px;
  font-weight: 700;
  box-shadow: 0 14px 26px rgba(37, 99, 255, 0.24);
}

.brand-copy {
  display: grid;
}

.brand-copy strong,
.hero h1,
.section-heading h2,
.plain-card h3,
.offering-card h3,
.story-panel h3,
.story-card h3,
.storefront-panel h3,
.advantage-card h3,
.promise-copy h2,
.aside-card strong,
.footer strong,
.visual-head strong,
.agent-header strong {
  font-family: "Space Grotesk", sans-serif;
}

.brand-copy strong {
  font-size: 1.36rem;
  letter-spacing: -0.03em;
}

.brand-copy small {
  color: var(--muted);
  font-size: 11px;
}

.topnav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.topnav a {
  padding: 10px 12px;
  border-radius: 999px;
  color: #325074;
  font-size: 0.92rem;
  font-weight: 800;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.topnav a:hover {
  color: var(--brand);
  background: rgba(37, 99, 255, 0.07);
  transform: translateY(-1px);
}

.nav-signin {
  border: 1px solid rgba(37, 99, 255, 0.16);
  background: rgba(255, 255, 255, 0.82);
}

.nav-cta,
.button-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  color: #fff;
  box-shadow: 0 16px 30px rgba(37, 99, 255, 0.22);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  gap: 22px;
  padding: 44px 0 24px;
  align-items: start;
}

.hero-copy,
.visual-shell,
.audience-strip,
.plain-card,
.offering-card,
.story-panel,
.story-card,
.storefront-panel,
.advantage-card,
.promise-band,
.demo-form,
.demo-aside,
.footer,
.aside-card {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-copy,
.visual-shell,
.promise-band,
.footer {
  border-radius: var(--radius-xl);
}

.hero-copy {
  padding: 34px;
}

.hero-badges,
.hero-actions,
.audience-pills,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.eyebrow,
.signal-label,
.card-kicker,
.journey-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 255, 0.14);
  background: rgba(37, 99, 255, 0.06);
  color: var(--brand);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 800;
}

.hero h1 {
  margin: 22px 0 14px;
  font-size: clamp(2.8rem, 5.4vw, 4.8rem);
  line-height: 0.96;
  letter-spacing: -0.07em;
  text-wrap: balance;
}

.hero-text,
.section-heading p,
.plain-card p,
.offering-card p,
.story-panel p,
.story-card p,
.storefront-panel p,
.advantage-card p,
.promise-copy p,
.promise-grid p,
.demo-form label,
.aside-card p,
.agent-header p,
.agent-note,
.form-status {
  color: var(--muted);
  line-height: 1.72;
}

.hero-text {
  max-width: 60ch;
  font-size: 1.02rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 0.18s ease;
}

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

.button-secondary {
  border-color: rgba(37, 99, 255, 0.16);
  background: rgba(255, 255, 255, 0.95);
  color: var(--brand);
}

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

.trust-row article,
.operator-panels article,
.promise-grid div {
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(88, 118, 170, 0.14);
  background: rgba(255, 255, 255, 0.86);
}

.trust-row strong,
.operator-panels strong,
.promise-grid strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.visual-shell {
  padding: 24px;
  display: grid;
  gap: 22px;
}

.visual-head {
  display: grid;
  gap: 10px;
}

.visual-head strong {
  font-size: 1.36rem;
  line-height: 1.18;
  letter-spacing: -0.04em;
}

.journey-board {
  display: grid;
  grid-template-columns: 1fr 1.08fr 1fr;
  gap: 14px;
}

.journey-column,
.journey-core {
  display: grid;
  gap: 12px;
}

.journey-node,
.core-grid div {
  padding: 15px 14px;
  border-radius: 18px;
  border: 1px solid rgba(88, 118, 170, 0.16);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-soft);
  font-weight: 800;
  text-align: center;
}

.journey-core {
  padding: 14px;
  border-radius: 24px;
  border: 1px solid rgba(37, 99, 255, 0.14);
  background: linear-gradient(180deg, rgba(246, 250, 255, 0.96), rgba(235, 244, 255, 0.96));
}

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

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

.operator-panels span {
  display: block;
  margin-bottom: 6px;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11px;
  font-weight: 800;
}

.audience-strip {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 18px;
  align-items: center;
  margin-top: 14px;
  padding: 22px;
  border-radius: var(--radius-xl);
}

.audience-copy strong {
  display: block;
  margin-top: 8px;
  font-size: 1.12rem;
  line-height: 1.35;
}

.audience-pills span {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(88, 118, 170, 0.18);
  background: rgba(248, 251, 255, 0.94);
  font-weight: 800;
  font-size: 0.94rem;
}

.section {
  margin-top: 38px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  column-gap: 24px;
  row-gap: 10px;
  align-items: end;
  margin-bottom: 18px;
}

.section-heading span {
  grid-column: 1;
  display: inline-block;
  margin-bottom: 8px;
  color: #7caeff;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  font-weight: 800;
}

.section-heading h2 {
  grid-column: 1;
  margin: 0;
  font-size: clamp(2rem, 3.1vw, 3.2rem);
  line-height: 1.03;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.section-heading p {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin: 0;
  max-width: 58ch;
}

.plain-grid,
.offering-grid,
.advantage-grid,
.promise-grid {
  display: grid;
  gap: 18px;
}

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

.plain-card {
  padding: 22px;
  border-radius: var(--radius-lg);
}

.plain-step {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: rgba(37, 99, 255, 0.08);
  color: var(--brand);
  font-weight: 900;
}

.plain-card h3,
.offering-card h3,
.story-panel h3,
.story-card h3,
.storefront-panel h3,
.advantage-card h3 {
  margin: 8px 0 10px;
  font-size: 1.14rem;
  line-height: 1.28;
}

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

.offering-card {
  padding: 22px;
  border-radius: var(--radius-lg);
}

.offering-card-featured {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(242, 248, 255, 0.96));
}

.story-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 18px;
}

.story-panel,
.story-card {
  padding: 22px;
  border-radius: var(--radius-xl);
}

.story-panel-primary {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 248, 255, 0.96));
}

.story-timeline {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.timeline-step {
  position: relative;
  padding: 16px 18px 16px 58px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(88, 118, 170, 0.16);
  background: rgba(255, 255, 255, 0.88);
}

.timeline-step::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 22px;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), #74a8ff);
  box-shadow: 0 0 0 6px rgba(37, 99, 255, 0.08);
}

.timeline-step strong {
  display: block;
  margin-bottom: 6px;
}

.story-side {
  display: grid;
  gap: 18px;
}

.storefront-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 18px;
}

.storefront-panel {
  padding: 24px;
  border-radius: var(--radius-xl);
}

.feature-list {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.storefront-panel-diagram {
  background: linear-gradient(180deg, rgba(249, 252, 255, 0.98), rgba(236, 245, 255, 0.96));
}

.commerce-track {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  align-items: center;
}

.commerce-block {
  padding: 18px 14px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(88, 118, 170, 0.16);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-soft);
  text-align: center;
  font-weight: 800;
}

.commerce-arrow {
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(37, 99, 255, 0.16), rgba(37, 99, 255, 0.64), rgba(37, 99, 255, 0.16));
}

.commerce-note {
  margin-top: 18px;
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(88, 118, 170, 0.14);
  background: rgba(255, 255, 255, 0.84);
  color: var(--muted);
  line-height: 1.7;
}

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

.advantage-card {
  padding: 22px;
  border-radius: var(--radius-lg);
}

.promise-band {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 18px;
  padding: 26px;
}

.promise-copy h2 {
  margin: 10px 0 12px;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

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

.demo-layout {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 18px;
}

.demo-form,
.demo-aside {
  padding: 22px;
  border-radius: var(--radius-xl);
}

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

.demo-form label {
  display: grid;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 700;
}

.demo-form input,
.demo-form textarea,
.agent-field input,
.agent-field textarea,
.agent-field select {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid rgba(88, 118, 170, 0.22);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
}

.demo-form textarea,
.agent-field textarea {
  min-height: 132px;
  resize: vertical;
}

.demo-form input:focus,
.demo-form textarea:focus,
.agent-field input:focus,
.agent-field textarea:focus,
.agent-field select:focus,
.demo-form input:focus-visible,
.demo-form textarea:focus-visible,
.agent-field input:focus-visible,
.agent-field textarea:focus-visible,
.agent-field select:focus-visible {
  outline: 2px solid rgba(37, 99, 255, 0.16);
  border-color: rgba(37, 99, 255, 0.3);
}

.full-width {
  margin-top: 14px;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.aside-card {
  padding: 20px;
  border-radius: var(--radius-lg);
}

.aside-card + .aside-card {
  margin-top: 14px;
}

.aside-card span {
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11px;
  font-weight: 800;
}

.aside-card-highlight {
  background: linear-gradient(180deg, rgba(37, 99, 255, 0.05), rgba(255, 255, 255, 0.94));
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-top: 42px;
  padding: 22px;
}

.footer p {
  margin: 6px 0 0;
  color: var(--muted);
}

.footer-links a {
  color: var(--muted);
  font-weight: 800;
}

.agent-launcher {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border: 1px solid rgba(37, 99, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 32px rgba(28, 49, 88, 0.12);
  color: var(--text);
  font-weight: 800;
  cursor: pointer;
}

.agent-launcher-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand), #6ea7ff);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
}

.agent-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 60;
}

.agent-modal.is-open {
  display: block;
}

.agent-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(19, 33, 58, 0.24);
  backdrop-filter: blur(6px);
}

.agent-panel {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: min(460px, calc(100% - 24px));
  padding: 22px;
  border-radius: 28px;
  border: 1px solid rgba(37, 99, 255, 0.12);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 26px 56px rgba(28, 49, 88, 0.18);
}

.agent-close {
  position: absolute;
  top: 16px;
  right: 16px;
  border: 0;
  background: rgba(37, 99, 255, 0.08);
  color: var(--brand);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
}

.agent-header {
  display: grid;
  gap: 8px;
  padding-right: 74px;
}

.agent-header strong {
  font-size: 1.4rem;
  line-height: 1.18;
}

.agent-body {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.agent-field {
  display: grid;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 700;
}

.agent-actions {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
}

@media (max-width: 1180px) {
  .hero,
  .audience-strip,
  .story-layout,
  .storefront-layout,
  .promise-band,
  .demo-layout,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .plain-grid,
  .offering-grid,
  .advantage-grid,
  .promise-grid {
    grid-template-columns: 1fr 1fr;
  }

  .journey-board,
  .operator-panels,
  .trust-row {
    grid-template-columns: 1fr;
  }

  .section-heading span,
  .section-heading h2,
  .section-heading p {
    grid-column: auto;
    grid-row: auto;
  }

  .section-heading p {
    max-width: 68ch;
  }

  .commerce-track {
    grid-template-columns: 1fr;
  }

  .commerce-arrow {
    width: 2px;
    height: 28px;
    margin: 0 auto;
  }
}

@media (max-width: 860px) {
  .page-shell {
    width: min(100%, calc(100% - 18px));
  }

  .topbar {
    position: static;
    border-radius: 28px;
  }

  .topnav {
    justify-content: flex-start;
  }

  .hero-copy,
  .visual-shell,
  .audience-strip,
  .plain-card,
  .offering-card,
  .story-panel,
  .story-card,
  .storefront-panel,
  .advantage-card,
  .promise-band,
  .demo-form,
  .demo-aside,
  .footer {
    padding: 20px;
  }

  .hero h1 {
    font-size: clamp(2.25rem, 10vw, 3.35rem);
  }

  .section-heading h2,
  .promise-copy h2 {
    font-size: clamp(1.85rem, 8vw, 2.6rem);
  }

  .plain-grid,
  .offering-grid,
  .advantage-grid,
  .promise-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .journey-board {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 560px) {
  .topbar {
    padding: 14px;
  }

  .brand {
    width: 100%;
  }

  .agent-launcher {
    right: 12px;
    left: 12px;
    bottom: 12px;
    justify-content: center;
  }

  .agent-panel {
    right: 12px;
    left: 12px;
    bottom: 12px;
    width: auto;
  }

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