:root {
  --ink: #132038;
  --muted: #66738a;
  --line: #dfe6ef;
  --canvas: #f6f8fb;
  --surface: #ffffff;
  --blue: #1769e8;
  --blue-dark: #0d4fb3;
  --green: #159b68;
  --violet: #6558c7;
  --amber: #b86e16;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--ink);
  background: var(--surface);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--surface); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
.public-header { position: sticky; top: 0; z-index: 20; display: flex; min-height: 72px; align-items: center; gap: 30px; padding: 0 max(24px, calc((100vw - 1240px) / 2)); border-bottom: 1px solid rgba(223,230,239,.9); background: rgba(255,255,255,.96); }
.public-brand { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; letter-spacing: 0; }
.public-brand img { width: 36px; height: 36px; }
.public-nav { display: flex; align-items: center; gap: 25px; color: #46546b; font-size: 14px; }
.public-nav a:hover, .public-footer a:hover { color: var(--blue); }
.public-actions { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.text-action { color: #445269; font-size: 14px; font-weight: 650; }
.solid-action, .outline-action { display: inline-flex; min-height: 40px; align-items: center; justify-content: center; padding: 0 17px; border: 1px solid transparent; border-radius: 7px; font-size: 14px; font-weight: 700; }
.solid-action { color: white; background: var(--blue); }
.solid-action:hover { background: var(--blue-dark); }
.outline-action { color: #30405a; border-color: #cdd7e5; background: rgba(255,255,255,.82); }
.solid-action.large, .outline-action.large { min-height: 47px; padding: 0 21px; }
.public-menu-button { display: none; margin-left: auto; border: 0; color: #32425b; background: transparent; font-size: 22px; }
.public-hero { position: relative; isolation: isolate; display: flex; min-height: min(700px, calc(100vh - 72px)); align-items: center; overflow: hidden; padding: 64px max(24px, calc((100vw - 1240px) / 2)); background: #eef4fc; }
.public-hero:after { position: absolute; z-index: -2; inset: 0 0 0 48%; content: ""; background: #e4edf9; }
.hero-copy { position: relative; z-index: 2; width: min(560px, 48%); }
.hero-kicker, .section-heading > span { color: var(--blue); font-size: 13px; font-weight: 750; }
.hero-copy h1 { margin: 14px 0 16px; font-size: 58px; line-height: 1; letter-spacing: 0; }
.hero-copy p { max-width: 540px; margin: 0; color: #516079; font-size: 18px; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 28px; color: #63718a; font-size: 12px; }
.hero-proof span:before { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; content: ""; background: var(--green); }
.hero-product { position: absolute; z-index: 1; top: 50%; left: 52%; width: min(760px, 58vw); border: 1px solid #cbd7e6; border-radius: 8px; background: white; box-shadow: 0 28px 70px rgba(34,62,104,.2); transform: translateY(-50%) rotate(-1deg); }
.preview-top { display: flex; min-height: 58px; align-items: center; gap: 20px; padding: 0 20px; border-bottom: 1px solid var(--line); color: #69768b; font-size: 12px; }
.preview-brand { display: flex; align-items: center; gap: 8px; margin-right: auto; color: var(--ink); font-size: 15px; font-weight: 750; }
.preview-brand img { width: 28px; height: 28px; }
.preview-body { padding: 25px; }
.preview-platforms { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; }
.preview-platforms span { padding: 17px 10px; border: 1px solid var(--line); border-radius: 7px; color: #536178; text-align: center; font-size: 12px; font-weight: 700; }
.preview-platforms span:nth-child(2) { color: var(--violet); }
.preview-platforms span:nth-child(3) { color: var(--green); }
.preview-platforms span:nth-child(4) { color: var(--amber); }
.preview-platforms .selected { color: var(--blue); border-color: #6da2f1; background: #eff5ff; box-shadow: 0 0 0 2px #dce9ff; }
.preview-flow { display: flex; align-items: center; gap: 14px; margin-top: 22px; padding: 18px; border: 1px solid var(--line); border-radius: 7px; background: #fafbfd; }
.preview-flow div { min-width: 0; flex: 1; }
.preview-flow small, .preview-result small { display: block; margin-bottom: 6px; color: var(--muted); font-size: 11px; }
.preview-flow strong { font: 15px ui-monospace, monospace; overflow-wrap: anywhere; }
.preview-flow button { padding: 8px 12px; border: 0; border-radius: 6px; color: white; background: var(--blue); font-size: 11px; }
.preview-progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin: 24px 0; }
.preview-progress i { height: 5px; border-radius: 5px; background: #dce3ed; }
.preview-progress .done { background: var(--green); }
.preview-progress .active { background: var(--blue); }
.preview-result { display: flex; align-items: end; justify-content: space-between; padding: 20px; border-radius: 7px; color: #116d4a; background: #eaf8f1; }
.preview-result strong { display: block; font-size: 29px; letter-spacing: 5px; }
.preview-result > span { color: var(--amber); font-size: 17px; font-weight: 750; }
.workflow-band, .public-section { padding: 76px 24px; }
.workflow-band { background: var(--surface); }
.public-section { border-top: 1px solid var(--line); background: var(--canvas); }
.section-inner { max-width: 1240px; margin: 0 auto; }
.section-heading { max-width: 650px; }
.section-heading h2 { margin: 9px 0 12px; font-size: 34px; letter-spacing: 0; }
.section-heading p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
.workflow-steps { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); margin-top: 38px; border-top: 1px solid var(--line); }
.workflow-steps > div { min-height: 190px; padding: 24px 24px 0 0; border-right: 1px solid var(--line); }
.workflow-steps > div + div { padding-left: 24px; }
.workflow-steps > div:last-child { border-right: 0; }
.workflow-steps b { display: block; margin-bottom: 30px; color: var(--blue); font: 13px ui-monospace, monospace; }
.workflow-steps strong { display: block; font-size: 16px; }
.workflow-steps p { margin: 10px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.split-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.split-facts dl { margin: 0; border-top: 1px solid #cad4e1; }
.split-facts dl div { display: flex; justify-content: space-between; gap: 24px; padding: 18px 0; border-bottom: 1px solid #dce3ec; font-size: 13px; }
.split-facts dt { color: var(--muted); }
.split-facts dd { margin: 0; font-weight: 700; text-align: right; }
.public-cta { display: flex; max-width: 1240px; align-items: center; justify-content: space-between; gap: 40px; margin: 0 auto; padding: 62px 24px; }
.public-cta h2 { margin: 0 0 9px; font-size: 29px; }
.public-cta p { margin: 0; color: var(--muted); }
.public-footer { display: flex; min-height: 110px; align-items: center; gap: 28px; padding: 24px max(24px, calc((100vw - 1240px) / 2)); border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.public-footer .public-brand img { width: 30px; height: 30px; }
.public-footer > span { margin: 0 auto; }
.public-footer > div { display: flex; gap: 18px; }
.public-page { min-height: calc(100vh - 182px); padding: 64px 24px 90px; background: var(--canvas); }
.public-page-inner { max-width: 1100px; margin: 0 auto; }
.public-page-head { max-width: 720px; margin-bottom: 34px; }
.public-page-head h1 { margin: 10px 0 12px; font-size: 40px; letter-spacing: 0; }
.public-page-head p { margin: 0; color: var(--muted); line-height: 1.8; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.price-item { padding: 22px; border: 1px solid var(--line); border-radius: 8px; background: white; }
.price-item .price-code { color: var(--muted); font: 11px ui-monospace, monospace; }
.price-item h2 { margin: 14px 0 7px; font-size: 20px; }
.price-item p { min-height: 44px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.price-item strong { display: block; margin-top: 22px; color: var(--blue); font-size: 26px; }
.price-item small { color: var(--muted); }
.docs-layout { display: grid; grid-template-columns: 220px minmax(0,1fr); gap: 44px; }
.docs-nav { position: sticky; top: 100px; display: grid; gap: 6px; align-self: start; }
.docs-nav a { padding: 9px 11px; border-left: 2px solid transparent; color: #59677e; font-size: 13px; }
.docs-nav a:hover { color: var(--blue); border-color: var(--blue); }
.docs-content section { padding: 0 0 35px; }
.docs-content h2 { margin: 0 0 14px; font-size: 23px; }
.docs-content p, .docs-content li { color: #59677e; font-size: 14px; line-height: 1.8; }
.public-code { overflow: auto; padding: 18px; border-radius: 7px; color: #dbe8f8; background: #12233a; font: 12px/1.8 ui-monospace, monospace; white-space: pre-wrap; }
.status-panel { border-top: 1px solid var(--line); }
.status-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.status-row div { display: flex; align-items: center; gap: 11px; }
.status-indicator { width: 9px; height: 9px; border-radius: 50%; background: var(--green); }
.status-label { padding: 5px 8px; border-radius: 5px; color: var(--green); background: #eaf8f1; font-size: 11px; }
.auth-page { display: grid; min-height: calc(100vh - 182px); place-items: center; padding: 44px 24px; background: #edf3fa; }
.auth-box { width: min(460px, 100%); padding: 30px; border: 1px solid var(--line); border-radius: 8px; background: white; box-shadow: 0 20px 55px rgba(33,59,96,.12); }
.auth-box h1 { margin: 22px 0 8px; font-size: 27px; }
.auth-box > p { margin: 0 0 24px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.auth-form { display: grid; gap: 15px; }
.auth-form label { display: grid; gap: 7px; color: #526078; font-size: 12px; font-weight: 650; }
.auth-form input { min-height: 42px; padding: 10px 11px; border: 1px solid var(--line); border-radius: 7px; outline: 0; }
.auth-form input:focus { border-color: #70a4ef; box-shadow: 0 0 0 3px #e6effd; }
.auth-form button { min-height: 44px; border: 0; border-radius: 7px; color: white; background: var(--blue); font-weight: 700; }
.auth-switch { margin-top: 18px; color: var(--muted); text-align: center; font-size: 13px; }
.auth-switch a { color: var(--blue); font-weight: 700; }
.public-toast { position: fixed; right: 22px; bottom: 22px; z-index: 30; max-width: 340px; padding: 12px 16px; border-radius: 7px; color: white; background: #15243a; opacity: 0; pointer-events: none; transform: translateY(8px); transition: .2s; font-size: 13px; }
.public-toast.show { opacity: 1; transform: none; }
.public-empty { padding: 50px 0; color: var(--muted); text-align: center; }
@media (max-width: 980px) {
  .public-header { gap: 14px; padding-inline: 20px; }
  .public-menu-button { display: block; }
  .public-nav { position: absolute; top: 72px; right: 16px; left: 16px; display: none; padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: white; box-shadow: 0 15px 35px rgba(32,55,87,.15); }
  .public-nav.open { display: grid; }
  .public-actions { margin-left: 0; }
  .public-hero { min-height: auto; padding-block: 70px 430px; }
  .public-hero:after { inset: 47% 0 0; }
  .hero-copy { width: min(660px, 100%); }
  .hero-product { top: auto; bottom: 42px; left: 8%; width: 88%; transform: none; }
  .workflow-steps { grid-template-columns: 1fr 1fr; }
  .workflow-steps > div:nth-child(2) { border-right: 0; }
  .split-facts { grid-template-columns: 1fr; gap: 38px; }
  .pricing-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .public-header { min-height: 64px; }
  .public-brand { font-size: 18px; }
  .public-brand img { width: 32px; height: 32px; }
  .public-nav { top: 64px; }
  .public-actions .text-action { display: none; }
  .public-actions .solid-action { min-height: 36px; padding: 0 12px; font-size: 12px; }
  .public-hero { display: block; padding: 52px 18px 38px; }
  .hero-copy h1 { margin-top: 10px; font-size: 42px; }
  .hero-copy p { font-size: 14px; line-height: 1.65; }
  .hero-actions { margin-top: 22px; }
  .hero-proof { gap: 10px; margin-top: 18px; line-height: 1.5; }
  .hero-product { position: relative; top: auto; bottom: auto; left: auto; width: 100%; margin-top: 20px; transform: none; }
  .preview-top { min-height: 46px; gap: 10px; padding: 0 11px; }
  .preview-top > span:not(.preview-brand) { display: none; }
  .preview-body { padding: 11px; }
  .preview-platforms { grid-template-columns: 1fr 1fr; }
  .preview-flow { gap: 8px; margin-top: 12px; padding: 11px; }
  .preview-progress { margin: 13px 0; }
  .preview-result { padding: 13px; }
  .preview-result strong { font-size: 22px; }
  .workflow-band, .public-section { padding: 54px 18px; }
  .section-heading h2 { font-size: 28px; }
  .workflow-steps { grid-template-columns: 1fr; }
  .workflow-steps > div, .workflow-steps > div + div { min-height: auto; padding: 22px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .workflow-steps b { margin-bottom: 13px; }
  .pricing-grid, .docs-layout { grid-template-columns: 1fr; }
  .docs-nav { position: static; grid-template-columns: 1fr 1fr; }
  .public-page { padding: 45px 18px 65px; }
  .public-page-head h1 { font-size: 33px; }
  .public-cta, .public-footer { display: grid; }
  .public-footer > span { margin: 0; }
}
