:root {
  color-scheme: light dark;
  --paper: #fff;
  --panel: #fff;
  --band: #f6f8f7;
  --ink: #1f2328;
  --soft: #59636e;
  --line: #e5e7eb;
  --accent: #2c66d6;
  --button: #2c66d6;
  --button-hover: #2358bc;
  --on-button: #fff;
  --tint: #edf3ff;
  --header: rgb(255 255 255 / 94%);
  --shadow: rgb(31 45 65 / 9%);
  --dots: #d3d9de;
  --ui: -apple-system, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0e1116; --panel: #161b22; --band: #11161c;
    --ink: #e6edf3; --soft: #a1acb8; --line: #2a313a;
    --accent: #92b8fa; --button: #346cce; --button-hover: #3264bc;
    --tint: #1e2c46; --header: rgb(14 17 22 / 94%);
    --shadow: rgb(0 0 0 / 25%); --dots: #35404b;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; padding-top: 64px; background: var(--paper); color: var(--ink); font: 400 16px/1.75 var(--ui); overflow-wrap: anywhere; }
:where(h1,h2,h3,p,figure,ol,dl,dd,pre) { margin: 0; }
:where(h1,h2,h3) { line-height: 1.3; font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(30px, 4.2vw, 48px); letter-spacing: -.045em; }
h2 { font-size: clamp(24px, 3vw, 32px); letter-spacing: -.025em; }
h3 { font-size: 18px; }
p { max-width: 36em; }
a { color: var(--accent); text-underline-offset: .22em; }
button, summary { font: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
[id] { scroll-margin-top: 88px; }
code, pre, .mono { font-family: var(--mono); }
code { font-size: .95em; }
pre { padding: 12px 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--band); white-space: pre; overflow-x: auto; font-size: 14px; }
.wrap { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.skip { position: fixed; top: -100px; left: 24px; z-index: 10; padding: 10px 16px; background: var(--panel); }
.skip:focus { top: 8px; }
.top { position: fixed; inset: 0 0 auto; z-index: 5; height: 64px; background: var(--header); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.top .wrap, .brand, nav, .actions, .footer .wrap, .footer-links, .section-head { display: flex; align-items: center; }
.top .wrap { height: 100%; justify-content: space-between; }
.brand { gap: 10px; font: 700 21px/1.2 "Segoe UI", system-ui, sans-serif; letter-spacing: -.045em; color: var(--ink); text-decoration: none; }
.brand img { width: 32px; height: 32px; }
nav { gap: 28px; }
nav a:not(.btn) { font-size: 14px; text-decoration: none; color: var(--soft); }
nav a:not(.btn):hover { color: var(--accent); }
.btn { height: 48px; padding: 0 20px; border-radius: 10px; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 16px var(--ui); color: var(--ink); background: var(--panel); text-decoration: none; }
.btn.primary { color: var(--on-button); background: var(--button); border-color: var(--button); }
.btn.primary:hover { background: var(--button-hover); }
.btn.secondary:hover { border-color: var(--accent); }
nav .btn { height: 48px; padding-inline: 20px; font-size: 14px; }
svg.ico { width: 24px; height: 24px; flex: none; }
.btn .ico { width: 18px; height: 18px; }
.block { padding-block: 96px; }
.band { background: var(--band); }
.hero { border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; align-items: center; gap: clamp(40px, 6vw, 88px); }
.hero-text { animation: reveal .4s ease-out both; }
@keyframes reveal { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.platform { display: inline-flex; gap: 8px; align-items: center; font: 600 14px/1.5 var(--mono); color: var(--soft); margin-bottom: 16px; }
.platform .ico { width: 18px; height: 18px; color: var(--accent); }
.hero-text>p { margin-block: 24px 28px; max-width: 30em; font-size: 18px; color: var(--soft); }
.actions { gap: 12px; flex-wrap: wrap; }
.note { color: var(--soft); font-size: 14px; }
.actions + .note { margin-top: 12px; }
.stage { position: relative; isolation: isolate; display: grid; align-items: center; padding: 20px; min-width: 0; }
.stage::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(circle, var(--dots) 1px, transparent 1.1px) 0 0 / 11px 11px; mask-image: linear-gradient(120deg, transparent, black 18%, black 82%, transparent); }
.demo { border: 1px solid var(--line); background: var(--panel); border-radius: 15px; box-shadow: 0 10px 36px var(--shadow); overflow: hidden; }
.demo figcaption { display: flex; align-items: center; justify-content: space-between; padding: 16px 22px; border-bottom: 1px solid var(--line); font-size: 14px; }
.demo-brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; }
.demo-brand img { width: 22px; height: 22px; }
.exchange { padding: 20px 24px 22px; display: grid; gap: 16px; }
.bubble { margin-left: auto; padding: 10px 14px; background: var(--tint); color: var(--ink); border-radius: 12px 12px 2px 12px; font-size: 15px; }
.reply { font-size: 15px; margin-bottom: 12px; }
.checks { display: grid; gap: 8px; padding: 0 0 0 14px; border-left: 2px solid var(--line); list-style: none; margin: 0; font-size: 14px; color: var(--soft); }
.checks li { display: flex; gap: 8px; align-items: baseline; }
.checks .ico { color: var(--accent); width: 15px; height: 15px; align-self: center; }
.section-head { justify-content: space-between; gap: 32px; align-items: end; margin-bottom: 32px; }
.section-head p { color: var(--soft); }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.card { padding: 24px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; transition: transform .15s, box-shadow .15s; }
@media (hover: hover) { .card:hover { transform: translateY(-2px); box-shadow: 0 6px 18px var(--shadow); } }
.card-icon { display: inline-grid; place-items: center; width: 40px; height: 40px; color: var(--accent); background: var(--tint); border-radius: 10px; margin-bottom: 16px; }
.card h3 + p, .step h3 + p { margin-top: 8px; color: var(--soft); }
.steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 32px; padding: 0; list-style: none; }
.step { position: relative; min-width: 0; }
.step:not(:last-child)::after { content: ""; position: absolute; left: 52px; right: -16px; top: 19px; border-top: 1px solid var(--line); }
.num { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 100%; font: 600 17px/1 var(--mono); color: var(--accent); background: var(--panel); margin-bottom: 16px; }
.split { display: grid; grid-template-columns: minmax(210px,.68fr) minmax(0,1.32fr); gap: clamp(32px,6vw,88px); align-items: start; }
.faq { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 0; font-weight: 600; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 24px; height: 24px; color: var(--accent); font: 21px/1 var(--mono); }
details[open] summary::after { content: "−"; }
.answer { padding: 0 28px 20px 0; color: var(--soft); }
.answer pre { margin-top: 12px; }
.download-card { padding: clamp(24px,5vw,56px); border: 1px solid var(--line); background: var(--panel); border-radius: 12px; max-width: 840px; margin-inline: auto; text-align: center; }
.download-card>img { width: 48px; height: 48px; margin-bottom: 16px; }
.download-card>p { margin: 12px auto 20px; color: var(--soft); }
.download-card .btn:disabled { color: var(--soft); background: var(--band); border-color: var(--line); cursor: default; }
.footer { border-top: 1px solid var(--line); padding: 24px 0; color: var(--soft); font-size: 14px; }
.footer .wrap { justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-links { gap: 10px; }
.footer-links a { color: var(--soft); }
.legal-top { padding: 64px 0 48px; border-bottom: 1px solid var(--line); }
.legal-top h1 { margin: 16px 0 12px; }
.notice-page { display: flex; flex-direction: column; min-height: 100vh; }
.notice-page main { flex: 1; }
.notice-wrap { max-width: 840px; }
.notice-page .legal-top h1 { margin-bottom: 0; }
.notice-sections { padding-block: 20px 48px; }
.notice-sections section { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 24px; padding-block: 24px; }
.notice-sections section + section { border-top: 1px solid var(--line); }
.notice-sections h2 { font-size: 18px; }
.notice-sections p { color: var(--soft); }
@media (max-width: 959px) {
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .stage { width: min(600px, 100%); }
  .grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .section-head { align-items: start; flex-direction: column; gap: 8px; }
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 719px) {
  nav a:not(.btn) { display: none; }
  .block { padding-block: 64px; }
  .hero.block { padding-top: 48px; }
  .grid, .steps { grid-template-columns: 1fr; }
  .hero-text>p { font-size: 16px; margin-block: 16px 24px; }
  .stage { padding: 10px 0; }
  .demo figcaption { padding-inline: 16px; }
  .exchange { padding: 16px; }
  .btn { padding-inline: 14px; }
  .card-icon { width: 34px; height: 34px; margin-bottom: 12px; }
  .step { padding-left: 52px; }
  .step .num { position: absolute; left: 0; top: -2px; }
  .step:not(:last-child)::after { left: 19px; top: 43px; bottom: -22px; right: auto; border-top: 0; border-left: 1px solid var(--line); }
  .legal-top { padding-block: 40px 32px; }
  .notice-sections { padding-block: 8px 24px; }
  .notice-sections section { grid-template-columns: 1fr; gap: 8px; padding-block: 18px; }
}
.pricing-page { display: flex; flex-direction: column; min-height: 100vh; }
.pricing-page main { flex: 1; }
nav a.pricing-link[aria-current="page"] { color: var(--accent); font-weight: 600; }
.price-intro { padding-block: 48px; border-bottom: 1px solid var(--line); }
.price-intro h1 { margin-block: 16px; }
.price-intro p { max-width: 44em; color: var(--soft); }
.price-intro p + p { margin-top: 8px; }
.price-content { padding-block: 40px 72px; }
.model-prices { width: 100%; table-layout: fixed; border: 1px solid var(--line); border-spacing: 0; border-radius: 12px; overflow: hidden; text-align: left; }
.model-prices th, .model-prices td { padding: 20px; vertical-align: middle; }
.model-prices thead { background: var(--band); }
.model-prices thead th { color: var(--soft); font-size: 14px; }
.model-prices thead th:first-child { width: 25%; }
.model-prices tbody :is(th,td) { background: var(--panel); border-top: 1px solid var(--line); }
.model-prices tbody td { color: var(--soft); font-variant-numeric: tabular-nums; }
.example-tag { display: inline-block; padding: 1px 8px; border-radius: 20px; background: var(--tint); color: var(--accent); font-size: 12px; font-weight: 600; white-space: nowrap; }
.price-label { display: none; }
@media (max-width: 719px) {
  nav { gap: 16px; }
  nav a.pricing-link { display: inline-flex; align-items: center; min-height: 44px; }
  .price-intro { padding-block: 32px; }
  .price-content { padding-block: 24px 40px; }
  .model-prices, .model-prices tbody { display: block; }
  .model-prices { border: 0; border-radius: 0; overflow: visible; }
  .model-prices thead { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
  .model-prices tbody tr { display: block; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
  .model-prices tbody tr + tr { margin-top: 12px; }
  .model-prices tbody th { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 0; padding: 0 0 12px; }
  .model-prices tbody td { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 6px 0; text-align: right; }
  .model-prices tbody td + td { border-top: 0; }
  .model-prices tbody td:last-child { padding-bottom: 0; }
  .price-label { display: inline; flex: none; font-size: 14px; text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
