:root {
  --ink: #0f1216;
  --ink-2: #3d4550;
  --ink-3: #6b7480;
  --line: #e3e6ea;
  --line-2: #eef0f3;
  --bg: #ffffff;
  --bg-2: #f7f8fa;
  --bg-3: #fbfcfd;
  --brand: #1f6feb;
  --brand-dark: #1a5fc8;
  --brand-soft: #eef4fe;
  --teal: #0d9488;
  --teal-soft: #e6f5f3;
  --amber: #b45309;
  --amber-soft: #fdf4e3;
  --maxw: 1120px;
  --radius: 10px;
  --radius-lg: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
  margin-right: auto;
}
.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: var(--brand);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.brand-mark svg { width: 16px; height: 16px; display: block; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14.5px;
  color: var(--ink-2);
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  padding: 0;
  place-items: center;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 42px;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
  white-space: nowrap;
  font-family: inherit;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: #c9ced6; background: var(--bg-2); }
.btn-sm { height: 34px; padding: 0 13px; font-size: 13.5px; }
.btn-lg { height: 48px; padding: 0 24px; font-size: 15.5px; }
.btn-block { width: 100%; }

/* ---------- hero ---------- */
.hero {
  padding: 84px 0 68px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-3);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--brand-dark);
  background: var(--brand-soft);
  border: 1px solid #d8e5fd;
  padding: 5px 12px 5px 9px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  flex: 0 0 auto;
}
h1 {
  font-size: 46px;
  line-height: 1.14;
  letter-spacing: -0.028em;
  font-weight: 600;
  margin: 0 0 20px;
}
h1 .accent { color: var(--brand); }
.lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0 0 30px;
  max-width: 30em;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.hero-note {
  font-size: 13.5px;
  color: var(--ink-3);
}

/* ---------- product frame ---------- */
.frame {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 12px 32px -12px rgba(16, 24, 40, .14);
  overflow: hidden;
}
.frame-bar {
  height: 40px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
}
.frame-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #dfe3e8;
  display: block;
}
.frame-url {
  margin-left: 8px;
  font-size: 11.5px;
  color: var(--ink-3);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 3px 12px;
}
.frame-body { padding: 20px; }

.doc {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  background: var(--bg-3);
  margin-bottom: 12px;
}
.doc-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}
.doc-vendor {
  display: flex;
  gap: 11px;
  align-items: center;
}
.doc-logo {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  flex: 0 0 auto;
}
.doc-vendor b { display: block; font-size: 14px; font-weight: 600; }
.doc-vendor span { font-size: 12.5px; color: var(--ink-3); }
.pill {
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
}
.pill-ok { background: var(--teal-soft); color: var(--teal); }
.pill-wait { background: var(--amber-soft); color: var(--amber); }

.fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}
.field {
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 7px;
  padding: 8px 10px;
}
.field label {
  display: block;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--ink-3);
  margin-bottom: 2px;
  font-weight: 600;
}
.field b { font-size: 13.5px; font-weight: 600; letter-spacing: -0.01em; }
.field-hl b { color: var(--brand-dark); }

.confidence {
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  gap: 8px;
}
.meter {
  flex: 1;
  height: 5px;
  border-radius: 99px;
  background: var(--line);
  overflow: hidden;
}
.meter span {
  display: block;
  height: 100%;
  width: 97%;
  background: var(--teal);
  border-radius: 99px;
}

/* ---------- logos ---------- */
.logos {
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}
.logos p {
  text-align: center;
  font-size: 12.5px;
  color: var(--ink-3);
  margin: 0 0 18px;
  text-transform: uppercase;
  letter-spacing: .07em;
  font-weight: 500;
}
.logo-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 44px;
  flex-wrap: wrap;
}
.logo-row span {
  font-size: 16px;
  font-weight: 600;
  color: #9aa2ad;
  letter-spacing: -0.01em;
}

/* ---------- sections ---------- */
section { padding: 76px 0; }
section.tint { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
section.dark { background: var(--ink); color: #fff; }

.sec-head { max-width: 660px; margin-bottom: 46px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker {
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--brand);
  margin-bottom: 12px;
}
section.dark .kicker { color: #7aa9f5; }
h2 {
  font-size: 33px;
  line-height: 1.22;
  letter-spacing: -0.022em;
  font-weight: 600;
  margin: 0 0 14px;
}
.sub {
  font-size: 16.5px;
  color: var(--ink-2);
  margin: 0;
  line-height: 1.6;
}
section.dark .sub { color: #a8b0bb; }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(272px, 1fr));
  gap: 20px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.card h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 14px 0 8px;
  letter-spacing: -0.012em;
}
.card p { font-size: 14.5px; color: var(--ink-2); margin: 0; line-height: 1.62; }
.card-icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
}
.card-icon svg { width: 19px; height: 19px; display: block; }
.card-icon.teal { background: var(--teal-soft); }
.card-icon.amber { background: var(--amber-soft); }

/* ---------- steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 28px;
  counter-reset: step;
}
.step { position: relative; }
.step-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 14px;
}
section.dark .step-num { background: var(--brand); }
.step h3 { font-size: 16px; font-weight: 600; margin: 0 0 7px; }
.step p { font-size: 14.5px; color: var(--ink-2); margin: 0; }
section.dark .step p { color: #a8b0bb; }

/* ---------- code / integration ---------- */
.code {
  background: #0f1216;
  border-radius: var(--radius-lg);
  padding: 22px;
  overflow-x: auto;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 13.5px;
  line-height: 1.75;
  color: #d8dee9;
}
.code .k { color: #7aa9f5; }
.code .s { color: #9fe1cb; }
.code .c { color: #6b7480; }
.code .n { color: #fac775; }

/* ---------- stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  text-align: center;
}
.stat b {
  display: block;
  font-size: 38px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 4px;
}
.stat span { font-size: 14px; color: var(--ink-3); }
section.dark .stat span { color: #8b939f; }

/* ---------- pricing ---------- */
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
  gap: 20px;
  align-items: start;
}
.plan {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  position: relative;
}
.plan.featured { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.plan-tag {
  position: absolute;
  top: -11px;
  left: 26px;
  font-size: 11.5px;
  font-weight: 600;
  color: #fff;
  background: var(--brand);
  padding: 3px 10px;
  border-radius: 999px;
}
.plan h3 { font-size: 17px; font-weight: 600; margin: 0 0 4px; }
.plan .desc { font-size: 13.5px; color: var(--ink-3); margin: 0 0 20px; }
.price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 22px;
}
.price b {
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}
.price span { font-size: 14px; color: var(--ink-3); }
.plan ul { list-style: none; margin: 0 0 24px; padding: 0; }
.plan li {
  font-size: 14.5px;
  color: var(--ink-2);
  padding: 7px 0 7px 26px;
  position: relative;
  line-height: 1.5;
}
.plan li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--teal-soft);
}
.plan li::after {
  content: "";
  position: absolute;
  left: 4.5px;
  top: 16.5px;
  width: 6px;
  height: 3.5px;
  border-left: 1.8px solid var(--teal);
  border-bottom: 1.8px solid var(--teal);
  transform: rotate(-45deg);
}

/* ---------- quote ---------- */
.quote {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.quote blockquote {
  font-size: 22px;
  line-height: 1.5;
  letter-spacing: -0.012em;
  margin: 0 0 24px;
  font-weight: 500;
}
.quote-by { display: flex; align-items: center; justify-content: center; gap: 12px; }
.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 15px;
}
.quote-by b { display: block; font-size: 14.5px; font-weight: 600; }
.quote-by span { font-size: 13px; color: var(--ink-3); }

/* ---------- team ---------- */
.team {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}
.member { text-align: center; }
.member-photo {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  font-size: 24px;
  font-weight: 600;
  color: #fff;
}
.member b { display: block; font-size: 15.5px; font-weight: 600; }
.member span { font-size: 13.5px; color: var(--ink-3); }
.member .bio { font-size: 13.5px; color: var(--ink-2); margin-top: 8px; line-height: 1.55; }

/* ---------- cta ---------- */
.cta-box {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 52px 40px;
  text-align: center;
}
.cta-box h2 { color: #fff; margin-bottom: 12px; }
.cta-box p { color: #a8b0bb; font-size: 16.5px; margin: 0 auto 28px; max-width: 46em; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-on-dark {
  background: #fff;
  color: var(--ink);
}
.btn-on-dark:hover { background: #eef0f3; }
.btn-outline-dark {
  background: transparent;
  color: #fff;
  border-color: #39414d;
}
.btn-outline-dark:hover { border-color: #4d5765; background: rgba(255,255,255,.05); }

/* ---------- faq ---------- */
.faq { max-width: 760px; margin: 0 auto; }
details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
details summary {
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
details summary::-webkit-details-marker { display: none; }
details summary::after {
  content: "+";
  font-size: 21px;
  font-weight: 400;
  color: var(--ink-3);
  flex: 0 0 auto;
  line-height: 1;
}
details[open] summary::after { content: "\2212"; }
details p {
  font-size: 14.5px;
  color: var(--ink-2);
  margin: 12px 0 0;
  line-height: 1.65;
}

/* ---------- footer ---------- */
footer {
  border-top: 1px solid var(--line);
  padding: 52px 0 40px;
  background: var(--bg-3);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}
.foot-brand p { font-size: 13.5px; color: var(--ink-3); margin: 14px 0 0; max-width: 30em; }
.foot-col h4 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--ink);
  margin: 0 0 14px;
}
.foot-col a {
  display: block;
  font-size: 14px;
  color: var(--ink-2);
  margin-bottom: 9px;
}
.foot-col a:hover { color: var(--ink); }
.foot-bot {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--ink-3);
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  h1 { font-size: 37px; }
  h2 { font-size: 27px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 720px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 16px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 11px 0; width: 100%; }
  .nav-toggle { display: grid; }
  .nav-cta .btn-ghost { display: none; }
  .logo-row { gap: 24px; }
  .logo-row span { font-size: 14px; }
  section { padding: 58px 0; }
  .hero { padding: 56px 0 48px; }
  h1 { font-size: 31px; }
  .lead { font-size: 16.5px; }
  .cta-box { padding: 38px 22px; }
  .fields { grid-template-columns: 1fr; }
}