:root {
  --ink: #10131a;
  --muted: #5d6675;
  --line: #e3e7ee;
  --soft: #f5f7fa;
  --card: #ffffff;
  --accent: #b82f5c;
  --accent-2: #176f6b;
  --accent-3: #d18b2c;
  --dark: #141820;
  --radius: 8px;
  --shadow: 0 18px 48px rgba(18, 24, 38, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

code,
pre {
  font-family: "Cascadia Code", Consolas, "SFMono-Regular", monospace;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 26px;
  min-height: 72px;
  padding: 0 clamp(20px, 5vw, 56px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

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

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 50%;
}

.brand-name {
  font-size: 22px;
  font-weight: 900;
  white-space: nowrap;
}

.primary-nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2.2vw, 28px);
  font-size: 15px;
  font-weight: 800;
}

.primary-nav a:hover,
.site-footer a:hover {
  color: var(--accent);
}

.login-button,
.button,
.price-card a,
.code-header a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 900;
}

.login-button,
.button.primary,
.price-card.featured a {
  color: #fff;
  background: var(--dark);
}

.button.secondary,
.price-card a,
.code-header a {
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
}

.hero {
  background:
    linear-gradient(120deg, rgba(184, 47, 92, 0.08), rgba(23, 111, 107, 0.08)),
    #fff;
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 44px;
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  padding: 76px 0 84px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(42px, 5.6vw, 68px);
  line-height: 1.08;
  font-weight: 950;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.15;
}

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

.hero-copy {
  max-width: 780px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.75;
}

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

.hero-panel {
  align-self: center;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.endpoint-card {
  display: grid;
  gap: 10px;
  padding: 20px;
  color: #fff;
  background: var(--dark);
  border-radius: var(--radius);
}

.endpoint-card span,
.metric-grid span,
.support-card span {
  color: #8993a4;
  font-size: 13px;
  font-weight: 800;
}

.endpoint-card code {
  font-size: 20px;
  font-weight: 900;
}

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

.metric-grid div {
  display: grid;
  gap: 6px;
  min-height: 92px;
  padding: 16px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.metric-grid strong {
  font-size: 20px;
}

.capabilities,
.section-band,
.support-section {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}

.capabilities {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  padding: 58px 0 46px;
}

.capability-card,
.price-card,
.compare-grid article,
.support-card {
  padding: 28px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.capability-card p,
.price-card p {
  margin-bottom: 18px;
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.capability-card span,
.section-heading p,
.price-card span,
.steps span,
.compare-grid p,
.support-section p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.section-band {
  padding: 58px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 28px;
}

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

.price-card {
  display: grid;
  gap: 16px;
  align-content: start;
}

.price-card h3 {
  margin: 0;
  font-size: 44px;
}

.price-card.featured {
  border-color: rgba(184, 47, 92, 0.42);
  box-shadow: 0 22px 60px rgba(184, 47, 92, 0.16);
}

.promo-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
  padding: 18px 22px;
  color: #5d3e13;
  background: #fff6e5;
  border: 1px solid #f2d6a5;
  border-radius: var(--radius);
}

.promo-strip strong {
  color: #8a530b;
}

.model-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.model-row {
  display: grid;
  grid-template-columns: 0.75fr 1.5fr 0.75fr;
  gap: 18px;
  padding: 18px 22px;
  border-top: 1px solid var(--line);
}

.model-row:first-child {
  border-top: 0;
}

.model-row.head {
  color: #fff;
  font-weight: 900;
  background: var(--dark);
}

.model-row:not(.head) span {
  color: var(--muted);
}

.model-row:not(.head) span:first-child {
  color: var(--ink);
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: 32px;
  align-items: start;
}

.split .section-heading {
  margin-bottom: 0;
}

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

.steps li {
  display: grid;
  gap: 6px;
  padding: 18px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.steps strong {
  font-size: 18px;
}

.code-panel {
  grid-column: 1 / -1;
  overflow: hidden;
  background: #11151d;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.code-header {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.code-header a {
  min-height: 38px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
}

pre {
  overflow-x: auto;
  margin: 0;
  padding: 22px;
  color: #dce5f2;
  font-size: 14px;
  line-height: 1.8;
}

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

.compare-grid p {
  margin-bottom: 0;
}

.support-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 28px;
  align-items: center;
  padding: 58px 0 70px;
  border-top: 1px solid var(--line);
}

.support-card {
  display: grid;
  gap: 14px;
}

.support-card strong {
  font-size: 42px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 88px;
  padding: 0 clamp(20px, 5vw, 56px);
  color: #3e4655;
  border-top: 1px solid var(--line);
}

.site-footer span {
  font-weight: 900;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-weight: 800;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
    min-height: auto;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .primary-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .primary-nav a {
    white-space: nowrap;
  }

  .hero-inner,
  .capabilities,
  .pricing-grid,
  .compare-grid,
  .support-section,
  .split {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    align-self: stretch;
  }
}

@media (max-width: 560px) {
  .site-header {
    gap: 14px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .brand-name {
    font-size: 18px;
  }

  .login-button,
  .button,
  .price-card a,
  .code-header a {
    min-height: 44px;
    padding: 0 18px;
  }

  .hero-inner,
  .capabilities,
  .section-band,
  .support-section {
    width: calc(100% - 36px);
  }

  .hero-inner {
    padding-top: 48px;
    padding-bottom: 56px;
  }

  .hero-actions,
  .code-header,
  .promo-strip {
    align-items: stretch;
    flex-direction: column;
  }

  .metric-grid,
  .model-row {
    grid-template-columns: 1fr;
  }

  .capability-card,
  .price-card,
  .compare-grid article,
  .support-card {
    padding: 22px;
  }

  pre {
    font-size: 13px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 26px 18px;
  }
}
