:root {
  color-scheme: light;
  --bg: #ffffff;
  --paper: #ffffff;
  --ink: #0b0b0f;
  --muted: #6f6f7a;
  --faint: #f6f5ff;
  --line: #e8e7ef;
  --signal: #6754ff;
  --signal-soft: #f0edff;
  --signal-line: rgba(103, 84, 255, 0.22);
  --dark: #0b0b0f;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, 1280px);
  height: 80px;
  margin: 0 auto;
  padding: 0 32px;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.brand-mark {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.brand-name,
.brand-subtitle {
  display: block;
}

.brand-name {
  font-size: 14px;
  font-weight: 700;
}

.brand-subtitle {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  color: var(--muted);
  font-size: 14px;
}

.desktop-nav a {
  transition: color 160ms ease;
}

.desktop-nav a:hover {
  color: var(--ink);
}

.nav-cta,
.primary-button,
.secondary-button,
.cta-section a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  border-radius: 999px;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 600;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.nav-cta,
.primary-button {
  background: var(--ink);
  color: #fff;
}

.nav-cta:hover,
.primary-button:hover {
  background: #2d2d34;
}

.secondary-button {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--dark);
}

.secondary-button:hover {
  border-color: #cbd5e1;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 0.96fr 1.04fr;
  align-items: center;
  width: min(100%, 1280px);
  min-height: 760px;
  margin: 0 auto;
  padding: 56px 32px 112px;
  gap: 72px;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 78% 32%, rgba(103, 84, 255, 0.16), transparent 35%),
    radial-gradient(circle at 62% 66%, rgba(103, 84, 255, 0.08), transparent 28%),
    linear-gradient(180deg, #fff 0%, #fff 100%);
  content: "";
}

.eyebrow,
.section-kicker {
  margin: 0;
  color: var(--signal);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero .eyebrow {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--signal);
  letter-spacing: 0;
  text-transform: none;
}

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

h1 {
  margin-bottom: 0;
  margin-top: 32px;
  font-size: clamp(56px, 7.3vw, 96px);
  font-weight: 720;
  letter-spacing: 0;
  line-height: 1.04;
}

h1 span {
  display: block;
}

.hero-description {
  max-width: 590px;
  margin: 32px 0 0;
  color: #4f4f5b;
  font-size: 18px;
  line-height: 2;
}

.hero-line {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

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

.hero-actions a {
  height: 48px;
  padding: 0 28px;
}

.product-visual {
  position: relative;
  width: 100%;
}

.portal-visual {
  position: relative;
  min-height: 590px;
  border: 1px solid rgba(232, 231, 239, 0.86);
  border-radius: 48px;
  background:
    radial-gradient(circle at 50% 48%, rgba(103, 84, 255, 0.14), transparent 24%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(246, 245, 255, 0.8));
  box-shadow: 0 34px 110px rgba(16, 16, 26, 0.07);
}

.hero-logo {
  position: absolute;
  bottom: 26px;
  right: 26px;
  width: 96px;
  height: 96px;
  object-fit: contain;
  opacity: 0.1;
}

.orbit {
  position: absolute;
  inset: 50%;
  border: 1px solid var(--signal-line);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit-one {
  width: 360px;
  height: 360px;
}

.orbit-two {
  width: 500px;
  height: 500px;
  border-color: rgba(103, 84, 255, 0.13);
}

.orbit-three {
  width: 610px;
  height: 610px;
  border-color: rgba(11, 11, 15, 0.05);
}

.center-agent {
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  width: 230px;
  height: 230px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(103, 84, 255, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 90px rgba(103, 84, 255, 0.12);
  text-align: center;
  transform: translate(-50%, -50%);
}

.center-agent span,
.center-agent em,
.signal-card span,
.signal-card strong {
  display: block;
}

.center-agent span {
  color: var(--signal);
  font-size: 13px;
  font-weight: 700;
}

.center-agent strong {
  margin-top: 12px;
  color: var(--ink);
  font-size: 24px;
  font-weight: 760;
}

.center-agent em {
  max-width: 150px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  line-height: 1.7;
}

.signal-card {
  position: absolute;
  min-width: 178px;
  border: 1px solid rgba(232, 231, 239, 0.92);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  padding: 17px 18px;
  box-shadow: 0 18px 60px rgba(16, 16, 26, 0.06);
}

.signal-card span {
  color: var(--signal);
  font-size: 12px;
  font-weight: 700;
}

.signal-card strong {
  margin-top: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 680;
}

.signal-top {
  left: 50%;
  top: 56px;
  transform: translateX(-50%);
}

.signal-right {
  right: 40px;
  top: 230px;
}

.signal-bottom {
  bottom: 56px;
  left: 50%;
  transform: translateX(-50%);
}

.signal-left {
  left: 40px;
  top: 230px;
}

.section {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 128px 32px;
}

.section-heading {
  max-width: 860px;
  margin: 0;
  text-align: left;
}

h2 {
  margin-bottom: 0;
  margin-top: 14px;
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.18;
}

.section-heading p:last-child,
.module-intro p:last-child {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 2;
}

.scenario-section .section-heading {
  margin: 0 auto;
  text-align: center;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 42px;
  margin-top: 64px;
}

.pain-grid article {
  border-top: 1px solid var(--line);
  padding-top: 28px;
}

.pain-grid h3,
.flow-line h3,
.capability-grid h3,
.module-grid h3,
.plan-grid h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}

.pain-grid p,
.flow-line p,
.capability-grid p,
.module-grid p,
.module-grid span,
.plan-grid p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.flow-section,
.plans-section {
  width: 100%;
  max-width: none;
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  background: #fafaff;
}

.flow-section > *,
.plans-section > * {
  width: min(100%, 1280px);
  margin-left: auto;
  margin-right: auto;
}

.flow-line {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
  margin-top: 84px;
}

.flow-line article {
  position: relative;
  padding: 0 14px;
  text-align: center;
}

.flow-line article::before {
  position: absolute;
  top: 22px;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 1px;
  background: var(--line);
  content: "";
}

.flow-line article:first-child::before {
  left: 50%;
  width: 50%;
}

.flow-line article:last-child::before {
  width: 50%;
}

.flow-line span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--signal);
  font-size: 12px;
  font-weight: 800;
}

.flow-line h3 {
  margin-top: 22px;
  font-size: 15px;
}

.flow-line p {
  font-size: 13px;
  line-height: 1.7;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 84px;
  border-top: 1px solid var(--line);
}

.capability-grid article,
.plan-grid article {
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  padding: 36px 36px 36px 0;
}

.capability-grid article {
  border-right: 1px solid var(--line);
  padding-left: 28px;
}

.capability-grid article:first-child {
  padding-left: 0;
}

.capability-grid article:last-child {
  border-right: 0;
}

.capability-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--signal-soft);
  color: var(--signal);
  font-size: 22px;
}

.capability-grid h3 {
  margin-top: 36px;
  font-size: 18px;
}

.module-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 72px;
  width: 100%;
  margin: 0;
  padding: 128px max(32px, calc((100vw - 1216px) / 2));
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.module-intro {
  max-width: 460px;
}

.module-intro .section-kicker {
  color: var(--signal);
}

.module-intro p:last-child,
.module-grid p {
  color: var(--muted);
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.module-grid article {
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  padding: 34px 34px 34px 0;
}

.module-grid span {
  display: block;
  color: #8a938f;
}

.scenario-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 860px;
  margin: 52px auto 0;
  gap: 12px;
}

.scenario-tags span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 13px 20px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 64px;
}

.cta-section {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
  width: min(calc(100% - 64px), 1216px);
  margin: 112px auto;
  border-radius: 40px;
  border: 1px solid rgba(103, 84, 255, 0.16);
  background:
    radial-gradient(circle at 86% 30%, rgba(103, 84, 255, 0.18), transparent 32%),
    linear-gradient(135deg, #ffffff, #f6f5ff);
  padding: 64px;
  color: var(--ink);
}

.cta-section p {
  margin: 0;
  color: var(--signal);
  font-size: 14px;
  font-weight: 700;
}

.cta-section h2 {
  max-width: 760px;
  margin-top: 18px;
}

.cta-section span,
.cta-section small {
  display: block;
  margin-top: 20px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.cta-section small {
  margin-top: 10px;
  color: #8a938f;
  font-size: 14px;
}

.cta-section a {
  background: var(--ink);
  color: #fff;
}

.cta-section a:hover {
  background: #2d2d34;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  width: min(100%, 1280px);
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding: 30px 32px;
  color: var(--muted);
  font-size: 14px;
}

.form-page,
.content-page,
.not-found-page {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 88px 32px 120px;
}

.form-hero {
  display: grid;
  grid-template-columns: 1fr 360px;
  align-items: end;
  gap: 72px;
}

.form-hero h1,
.content-page h1,
.not-found-page h1 {
  margin: 20px 0 0;
  font-size: clamp(44px, 6vw, 72px);
  font-weight: 720;
  line-height: 1.08;
}

.form-hero p:last-child,
.content-page > p,
.not-found-page p {
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 2;
}

.form-hero aside {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  padding: 28px;
}

.form-hero aside strong,
.form-hero aside span {
  display: block;
}

.form-hero aside strong {
  margin-bottom: 18px;
  font-size: 18px;
}

.form-hero aside span {
  border-top: 1px solid var(--line);
  padding: 14px 0;
  color: var(--muted);
  font-size: 14px;
}

.form-hero aside span:last-child {
  padding-bottom: 0;
}

.form-shell {
  margin-top: 72px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: #fff;
  padding: 40px;
}

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

.form-shell label,
.form-shell label span {
  display: block;
}

.form-shell label span {
  margin-bottom: 10px;
  color: #344054;
  font-size: 14px;
  font-weight: 700;
}

.form-shell input,
.form-shell select,
.form-shell textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  outline: none;
  padding: 14px 15px;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.form-shell input:focus,
.form-shell select:focus,
.form-shell textarea:focus {
  border-color: rgba(103, 84, 255, 0.72);
  box-shadow: 0 0 0 4px rgba(103, 84, 255, 0.12);
}

.form-shell textarea {
  min-height: 140px;
  resize: vertical;
}

.full-field,
.form-actions,
.form-note {
  grid-column: 1 / -1;
}

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

.form-actions button,
.form-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  border-radius: 999px;
  padding: 0 24px;
  font-size: 14px;
  font-weight: 700;
}

.form-actions button {
  border: 0;
  background: var(--ink);
  color: #fff;
  cursor: pointer;
}

.form-actions a {
  border: 1px solid var(--line);
  color: var(--dark);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.content-page {
  max-width: 820px;
}

.content-page h2 {
  margin-top: 48px;
  font-size: 26px;
}

.content-page p {
  color: var(--muted);
  font-size: 16px;
  line-height: 2;
}

.content-page a {
  color: var(--signal);
  font-weight: 700;
}

.not-found-page {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.not-found-page .primary-button {
  margin-top: 32px;
}

@media (max-width: 1120px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-copy {
    max-width: 760px;
  }

  .flow-line,
  .capability-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .capability-grid article:nth-child(2) {
    border-right: 0;
  }

  .flow-line article::before {
    display: none;
  }

  .module-section {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 820px) {
  .desktop-nav {
    display: none;
  }

  .site-header {
    padding: 0 20px;
  }

  .hero,
  .section,
  .module-section,
  .form-page,
  .content-page,
  .not-found-page {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero {
    gap: 44px;
    padding-top: 32px;
    padding-bottom: 84px;
  }

  .pain-grid,
  .capability-grid,
  .module-grid,
  .plan-grid,
  .cta-section,
  .form-shell form {
    grid-template-columns: 1fr;
  }

  .capability-grid article,
  .capability-grid article:nth-child(2) {
    border-right: 0;
    padding-left: 0;
  }

  .form-shell {
    padding: 28px 20px;
  }

  .flow-line {
    grid-template-columns: 1fr;
  }

  .flow-line article {
    border-top: 1px solid var(--line);
    padding: 24px 0;
    text-align: left;
  }

  .flow-line article:first-child {
    border-top: 0;
  }

  .flow-line span {
    width: 40px;
    height: 40px;
  }

  .cta-section {
    width: calc(100% - 40px);
    margin: 84px auto;
    padding: 36px 28px;
  }

  .site-footer {
    flex-direction: column;
    gap: 10px;
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 520px) {
  .brand-subtitle {
    display: none;
  }

  .nav-cta {
    height: 38px;
    padding: 0 16px;
  }

  .portal-visual {
    min-height: 520px;
  }

  .orbit-two {
    width: 420px;
    height: 420px;
  }

  .orbit-one {
    width: 300px;
    height: 300px;
  }

  .signal-card {
    min-width: 150px;
    padding: 14px;
  }

  .signal-top {
    top: 28px;
  }

  .signal-right {
    right: 18px;
    top: 214px;
  }

  .signal-left {
    left: 18px;
    top: 214px;
  }

  .signal-bottom {
    bottom: 28px;
  }
}
