:root {
  color-scheme: light;
  --ink: #111827;
  --muted: #5b6472;
  --soft: #f6f8fb;
  --line: #d9e1ea;
  --blue: #1769e0;
  --blue-dark: #0b3f91;
  --green: #0d8f6f;
  --amber: #f5a524;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(217, 225, 234, 0.74);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 196px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff;
  font-weight: 850;
  background: linear-gradient(135deg, var(--blue), var(--green));
  border-radius: 8px;
}

.brand strong,
.brand small {
  display: block;
}

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

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #263244;
  font-size: 14px;
}

.nav a {
  padding: 9px 12px;
  border-radius: 8px;
}

.nav a:hover {
  background: var(--soft);
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.78fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 150px);
  padding: clamp(42px, 5vw, 72px) clamp(20px, 5vw, 72px) 42px;
  background:
    radial-gradient(circle at 88% 18%, rgba(13, 143, 111, 0.16), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, #fff 68%);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 760;
  text-transform: uppercase;
  letter-spacing: 0;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  font-size: 26px;
  line-height: 1.2;
}

.lead {
  max-width: 720px;
  color: var(--muted);
  font-size: 19px;
}

.hero-actions,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

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

.button.primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 12px 26px rgba(23, 105, 224, 0.24);
}

.button.secondary {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 760px;
  margin: 34px 0 0;
}

.hero-stats div {
  padding: 16px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.hero-stats dt {
  font-weight: 780;
}

.hero-stats dd {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.console-preview {
  min-height: 468px;
  padding: 14px;
  background: #101827;
  border: 1px solid #273244;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.preview-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 12px;
  color: #b6c5d8;
  border-bottom: 1px solid #263246;
}

.preview-bar span {
  width: 10px;
  height: 10px;
  background: #ef6461;
  border-radius: 50%;
}

.preview-bar span:nth-child(2) {
  background: #f5a524;
}

.preview-bar span:nth-child(3) {
  background: #17c964;
}

.preview-bar strong {
  margin-left: auto;
  font-size: 12px;
}

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

.preview-card {
  min-height: 124px;
  padding: 18px;
  color: #e8eef8;
  background: #172235;
  border: 1px solid #2b3a52;
  border-radius: 8px;
}

.preview-card.wide {
  grid-column: 1 / -1;
}

.preview-card small,
.preview-card p,
.preview-card span {
  color: #9fb0c5;
}

.preview-card strong {
  display: block;
  margin-top: 4px;
  font-size: 32px;
}

.preview-card code {
  display: block;
  width: 100%;
  margin: 8px 0;
  padding: 12px;
  color: #d9fff3;
  background: #0d1522;
  border: 1px solid #304057;
  border-radius: 8px;
  overflow-wrap: anywhere;
}

.sparkline {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  align-items: end;
  gap: 7px;
  height: 62px;
  margin-top: 18px;
}

.sparkline i {
  display: block;
  height: 36%;
  background: linear-gradient(180deg, #3db8ff, #17c964);
  border-radius: 5px 5px 2px 2px;
}

.sparkline i:nth-child(2) { height: 54%; }
.sparkline i:nth-child(3) { height: 48%; }
.sparkline i:nth-child(4) { height: 80%; }
.sparkline i:nth-child(5) { height: 62%; }
.sparkline i:nth-child(6) { height: 92%; }
.sparkline i:nth-child(7) { height: 70%; }

.band {
  padding: 22px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  align-items: center;
  background: #fbfcfe;
}

.trust p {
  margin: 0;
  color: var(--muted);
  font-weight: 740;
}

.trust div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust span {
  padding: 7px 11px;
  color: #344255;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.section {
  padding: clamp(64px, 8vw, 108px) clamp(20px, 5vw, 72px);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 30px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
}

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

.price-card,
.integration-grid article,
.contact-box,
.code-panel,
.service-list article,
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.price-card {
  display: flex;
  flex-direction: column;
  min-height: 440px;
  padding: 26px;
}

.price-card.highlighted {
  border-color: rgba(23, 105, 224, 0.42);
  box-shadow: 0 20px 55px rgba(23, 105, 224, 0.12);
}

.plan {
  color: var(--blue);
  font-weight: 800;
}

.price-card h3 {
  margin-bottom: 10px;
  font-size: 42px;
}

.price-card h3 span {
  color: var(--muted);
  font-size: 16px;
}

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

.price-card ul {
  display: grid;
  gap: 10px;
  margin: 10px 0 26px;
  padding: 0;
  list-style: none;
}

.price-card li::before {
  content: "✓";
  margin-right: 8px;
  color: var(--green);
  font-weight: 900;
}

.price-card .button {
  margin-top: auto;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  background: var(--soft);
}

.steps {
  display: grid;
  gap: 16px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.steps li {
  position: relative;
  padding-left: 48px;
  counter-increment: steps;
}

.steps li::before {
  position: absolute;
  left: 0;
  top: 1px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #fff;
  content: counter(steps);
  background: var(--ink);
  border-radius: 8px;
  font-weight: 850;
}

.steps strong,
.steps span {
  display: block;
}

.steps span {
  color: var(--muted);
}

.code-panel {
  overflow: hidden;
  background: #0f172a;
  border-color: #1f2a3d;
}

.code-tabs {
  display: flex;
  gap: 8px;
  padding: 12px;
  color: #9fb0c5;
  border-bottom: 1px solid #243044;
}

.code-tabs span {
  padding: 6px 10px;
  background: #172235;
  border-radius: 7px;
  font-size: 13px;
}

pre {
  margin: 0;
  padding: 24px;
  color: #e9f1ff;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.integration-grid article {
  min-height: 145px;
  padding: 22px;
}

.integration-grid strong,
.integration-grid span {
  display: block;
}

.integration-grid strong {
  margin-bottom: 10px;
  font-size: 19px;
}

.integration-grid span {
  color: var(--muted);
}

.contact {
  background: #fff;
}

.service-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.service-list article {
  padding: 18px;
}

.service-list strong,
.service-list span {
  display: block;
}

.service-list span,
.contact-box p,
.faq p {
  color: var(--muted);
}

.contact-box {
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(23, 105, 224, 0.08), rgba(13, 143, 111, 0.07)),
    #fff;
}

.fineprint {
  margin: 18px 0 0;
  font-size: 13px;
}

.faq {
  background: var(--soft);
}

.faq details {
  max-width: 980px;
  margin-bottom: 12px;
  padding: 18px 22px;
}

.faq summary {
  cursor: pointer;
  font-weight: 780;
}

.faq p {
  margin: 12px 0 0;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 30px clamp(20px, 5vw, 72px);
  color: #cbd5e1;
  background: #111827;
}

.footer p {
  margin: 4px 0 0;
  color: #94a3b8;
}

.footer-links a {
  color: #e5edf7;
}

@media (max-width: 980px) {
  .hero,
  .split,
  .pricing-grid,
  .integration-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .console-preview {
    min-height: 460px;
  }
}

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

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  h1 {
    font-size: 40px;
  }

  .hero-stats,
  .preview-grid {
    grid-template-columns: 1fr;
  }

  .preview-card.wide {
    grid-column: auto;
  }

  .footer {
    flex-direction: column;
  }
}
