:root {
  color-scheme: light;
  --ink: #171a24;
  --ink-soft: #343947;
  --muted: #697080;
  --line: #e2e5eb;
  --paper: #ffffff;
  --soft: #f7f8fb;
  --soft-blue: #eef4ff;
  --blue: #3567f4;
  --blue-dark: #244dc4;
  --violet: #7763f4;
  --green: #0f9274;
  --shadow: 0 22px 70px rgba(31, 45, 76, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, input { font: inherit; }
code, pre { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  transform: translateY(-160%);
  padding: 9px 13px;
  border-radius: 8px;
  color: white;
  background: var(--ink);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
  min-height: 68px;
  padding: 0 max(24px, calc((100vw - 1240px) / 2));
  border-bottom: 1px solid rgba(226, 229, 235, .82);
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 820; text-decoration: none; letter-spacing: -.02em; }
.brand-mark { display: inline-grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; color: white; background: linear-gradient(145deg, var(--blue), var(--violet)); box-shadow: 0 8px 20px rgba(53, 103, 244, .24); font-weight: 900; }
.desktop-nav { display: flex; justify-content: center; gap: 28px; }
.desktop-nav a, .text-link { color: var(--ink-soft); font-size: 14px; text-decoration: none; }
.desktop-nav a:hover, .text-link:hover { color: var(--blue); }
.header-actions { display: flex; align-items: center; gap: 16px; }

.section-shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 12px 20px; border: 1px solid transparent; border-radius: 12px; font-weight: 760; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.button:hover { transform: translateY(-1px); }
.button.small { min-height: 40px; padding: 9px 15px; border-radius: 10px; color: white; background: var(--ink); font-size: 14px; }
.button.primary { color: white; background: linear-gradient(135deg, var(--blue), var(--violet)); box-shadow: 0 12px 26px rgba(53, 103, 244, .24); }
.button.secondary { border-color: var(--line); background: white; }
.button.secondary:hover { border-color: #bbc5da; box-shadow: 0 10px 24px rgba(31, 45, 76, .08); }
.button.inverted { color: var(--ink); background: white; }

.hero { display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(420px, .97fr); align-items: center; gap: clamp(44px, 6vw, 86px); min-height: 690px; padding-top: 78px; padding-bottom: 76px; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 16px; color: var(--blue-dark); font-size: 13px; font-weight: 820; letter-spacing: .06em; text-transform: uppercase; }
.eyebrow span { width: 22px; height: 2px; border-radius: 999px; background: currentColor; }
.eyebrow.light { color: #aebeff; }
.hero h1 { margin: 0; max-width: 720px; font-size: clamp(48px, 5.35vw, 72px); line-height: 1.06; letter-spacing: -.055em; }
.hero h1 em { color: transparent; background: linear-gradient(115deg, var(--blue), var(--violet) 72%); background-clip: text; -webkit-background-clip: text; font-style: normal; }
.hero-lead { max-width: 700px; margin: 25px 0 0; color: var(--muted); font-size: 18px; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.proof-row { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 28px; color: var(--muted); font-size: 13px; }
.proof-row span::before { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--green); content: ""; }

.hero-product { overflow: hidden; border: 1px solid #dce2ed; border-radius: 20px; background: #111622; box-shadow: var(--shadow); }
.product-toolbar { display: flex; align-items: center; gap: 12px; min-height: 51px; padding: 0 18px; border-bottom: 1px solid rgba(255,255,255,.08); color: #b8c0d1; font-size: 12px; }
.window-dots { display: flex; gap: 6px; margin-right: 4px; }
.window-dots i { width: 9px; height: 9px; border-radius: 50%; background: #4c5568; }
.window-dots i:first-child { background: #ff786e; }
.window-dots i:nth-child(2) { background: #f5bd4f; }
.window-dots i:nth-child(3) { background: #58c76d; }
.live-badge { margin-left: auto; padding: 3px 8px; border: 1px solid rgba(104, 220, 178, .28); border-radius: 999px; color: #68dcb2; background: rgba(47, 163, 123, .1); }
.endpoint-card { position: relative; display: grid; gap: 7px; margin: 18px 18px 0; padding: 15px 70px 15px 16px; border: 1px solid rgba(255,255,255,.09); border-radius: 12px; color: #e7ecf7; background: #181e2c; }
.endpoint-label { color: #7f8aa1; font-size: 11px; }
.endpoint-card code { overflow-wrap: anywhere; font-size: 13px; }
.copy-button, .address-line button { cursor: pointer; border: 1px solid rgba(255,255,255,.12); border-radius: 7px; color: #dce5f7; background: rgba(255,255,255,.06); font-size: 12px; }
.copy-button { position: absolute; top: 17px; right: 14px; padding: 6px 10px; }
.hero-product pre { overflow-x: auto; min-height: 290px; margin: 0; padding: 24px 24px 18px; color: #f0f4fc; background: transparent; font-size: 13px; line-height: 1.8; }
.code-dim { color: #909db5; }
.code-string { color: #8fdfba; }
.result-line { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px; border-top: 1px solid rgba(255,255,255,.08); color: #8390a7; font-size: 11px; }
.result-line strong { color: #dbe3f2; }
.result-dot { width: 7px; height: 7px; border-radius: 50%; background: #55cf98; box-shadow: 0 0 0 5px rgba(85, 207, 152, .1); }

.signal-bar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--soft); }
.signal-bar div { padding: 22px 24px; text-align: center; }
.signal-bar div + div { border-left: 1px solid var(--line); }
.signal-bar strong, .signal-bar span { display: block; }
.signal-bar strong { font-size: 19px; }
.signal-bar span { margin-top: 3px; color: var(--muted); font-size: 12px; }

.price-section, .steps-section, .resource-section { padding-top: 100px; padding-bottom: 100px; }
.section-heading { max-width: 820px; margin-bottom: 40px; }
.section-heading.compact { max-width: 760px; }
.section-heading h2, .trust-copy h2, .final-cta h2 { margin: 0; font-size: clamp(36px, 4vw, 52px); line-height: 1.12; letter-spacing: -.04em; }
.section-heading > p:last-child { max-width: 760px; margin: 17px 0 0; color: var(--muted); font-size: 16px; }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.price-card { position: relative; overflow: hidden; padding: 26px; border: 1px solid var(--line); border-radius: 16px; background: white; }
.price-card::before { position: absolute; top: 0; right: 0; left: 0; height: 4px; background: var(--blue); content: ""; }
.price-card.accent-terra::before { background: var(--violet); }
.price-card.accent-sol::before { background: var(--ink); }
.price-card h3 { margin: 9px 0 0; font-size: 21px; }
.model-chip { color: var(--blue-dark); font-size: 11px; font-weight: 820; letter-spacing: .06em; }
.price-number { margin: 32px 0 10px; }
.price-number strong { display: block; font-size: 44px; line-height: 1; letter-spacing: -.04em; }
.price-number span, .price-card > p:not(.price-number) { color: var(--muted); font-size: 12px; }
.price-card > a { display: inline-block; margin-top: 20px; color: var(--blue-dark); font-size: 13px; font-weight: 760; text-decoration: none; }
.price-note { display: flex; align-items: center; justify-content: space-between; gap: 26px; margin-top: 20px; padding: 22px 24px; border-radius: 14px; background: var(--soft-blue); }
.price-note p { margin: 0; color: var(--ink-soft); }

.soft-section { background: var(--soft); }
.soft-section > .section-shell { padding-top: 100px; padding-bottom: 100px; }
.tool-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.resource-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tool-card { padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: white; }
.tool-icon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 12px; color: white; background: var(--ink); font-size: 11px; font-weight: 850; letter-spacing: .06em; }
.tool-card:nth-child(2) .tool-icon { background: var(--violet); }
.tool-card:nth-child(3) .tool-icon { background: var(--blue); }
.tool-card h3 { margin: 18px 0 7px; font-size: 20px; }
.tool-card > p { min-height: 52px; margin: 0; color: var(--muted); font-size: 14px; }
.tool-card > a { display: inline-block; margin-top: 18px; color: var(--blue-dark); font-size: 13px; font-weight: 760; text-decoration: none; }
.address-line { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px; margin-top: 20px; padding: 9px 9px 9px 11px; border-radius: 9px; background: #171d29; }
.address-line code { min-width: 0; overflow: hidden; color: #dfe6f3; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.address-line button { padding: 5px 9px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 45px 0 0; padding: 0; border: 1px solid var(--line); border-radius: 16px; list-style: none; overflow: hidden; }
.steps li { display: flex; gap: 18px; padding: 30px; }
.steps li + li { border-left: 1px solid var(--line); }
.steps li > span { color: var(--blue); font-size: 12px; font-weight: 850; }
.steps h3 { margin: 0; font-size: 18px; }
.steps p { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.center-actions { display: flex; justify-content: center; gap: 12px; margin-top: 34px; }

.trust-section { color: white; background: #151a26; }
.trust-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr); gap: 80px; padding-top: 100px; padding-bottom: 100px; }
.trust-copy > p:not(.eyebrow) { margin: 22px 0 0; color: #aeb6c6; }
.trust-links { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 28px; }
.trust-links a { color: #dce4ff; font-size: 13px; font-weight: 760; }
.trust-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; border: 1px solid rgba(255,255,255,.09); border-radius: 16px; overflow: hidden; background: rgba(255,255,255,.09); }
.trust-list div { padding: 24px; background: #1b2130; }
.trust-list strong, .trust-list span { display: block; }
.trust-list span { margin-top: 7px; color: #9da7ba; font-size: 13px; }

.resource-grid a { display: block; min-height: 210px; padding: 26px; border: 1px solid var(--line); border-radius: 16px; text-decoration: none; transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.resource-grid a:hover { transform: translateY(-2px); border-color: #bcc7dc; box-shadow: 0 16px 34px rgba(31,45,76,.08); }
.resource-grid span { color: var(--blue-dark); font-size: 11px; font-weight: 840; letter-spacing: .06em; text-transform: uppercase; }
.resource-grid strong { display: block; margin-top: 16px; font-size: 20px; line-height: 1.4; }
.resource-grid p { margin: 14px 0 0; color: var(--muted); font-size: 14px; }

.faq-layout { display: grid; grid-template-columns: minmax(260px, .7fr) minmax(0, 1.3fr); gap: 80px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); padding: 21px 0; }
.faq-list summary { cursor: pointer; font-weight: 760; }
.faq-list p { margin: 12px 0 0; color: var(--muted); font-size: 14px; }

.final-cta { color: white; background: linear-gradient(125deg, var(--blue-dark), #543dc4); }
.final-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 50px; padding-top: 72px; padding-bottom: 72px; }
.final-cta-inner > div { max-width: 780px; }
.final-cta h2 { font-size: clamp(34px, 4vw, 48px); }
.final-cta p:not(.eyebrow) { margin: 14px 0 0; color: #d7dfff; }
.final-cta .button { flex: 0 0 auto; }

.site-footer { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 36px; padding: 42px max(24px, calc((100vw - 1180px) / 2)); border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.site-footer > div p { margin: 7px 0 0; }
.footer-brand { color: var(--ink); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.site-footer a { text-decoration: none; }

@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { max-width: 780px; }
  .price-grid, .tool-grid, .resource-grid { grid-template-columns: 1fr 1fr; }
  .price-card:last-child, .tool-card:last-child { grid-column: 1 / -1; }
  .trust-grid, .faq-layout { grid-template-columns: 1fr; gap: 44px; }
  .final-cta-inner { align-items: flex-start; flex-direction: column; }
  .site-footer { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .site-header { grid-template-columns: 1fr auto; min-height: 62px; padding: 0 16px; }
  .brand-mark { width: 31px; height: 31px; }
  .header-actions .text-link { display: none; }
  .button.small { min-height: 38px; padding: 8px 12px; }
  .section-shell { width: min(100% - 32px, 1180px); }
  .hero { gap: 40px; padding-top: 52px; padding-bottom: 58px; }
  .hero h1 { font-size: 44px; }
  .hero-lead { font-size: 16px; }
  .hero-actions, .center-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button, .center-actions .button { width: 100%; }
  .proof-row { display: grid; gap: 8px; }
  .hero-product { border-radius: 14px; }
  .hero-product pre { min-height: 270px; padding: 20px 16px 14px; font-size: 11px; }
  .endpoint-card { margin: 14px 14px 0; padding-right: 62px; }
  .result-line { align-items: flex-start; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
  .signal-bar { grid-template-columns: 1fr 1fr; }
  .signal-bar div:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .signal-bar div:nth-child(4) { border-top: 1px solid var(--line); }
  .price-section, .steps-section, .resource-section, .soft-section > .section-shell, .trust-grid { padding-top: 72px; padding-bottom: 72px; }
  .section-heading h2, .trust-copy h2 { font-size: 36px; }
  .price-grid, .tool-grid, .resource-grid { grid-template-columns: 1fr; }
  .price-card:last-child, .tool-card:last-child { grid-column: auto; }
  .price-note { align-items: stretch; flex-direction: column; }
  .steps { grid-template-columns: 1fr; }
  .steps li + li { border-top: 1px solid var(--line); border-left: 0; }
  .trust-list { grid-template-columns: 1fr; }
  .final-cta-inner { padding-top: 58px; padding-bottom: 58px; }
  .final-cta .button { width: 100%; }
  .site-footer { padding: 36px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
