:root {
  --ink: #0d1b34;
  --ink-2: #203354;
  --muted: #66758f;
  --line: #e4ebf5;
  --line-2: #d5e0ee;
  --bg: #f6f9fd;
  --white: #ffffff;
  --blue: #155eef;
  --blue-dark: #0b3fb0;
  --teal: #0ea5a4;
  --orange: #ff7a18;
  --soft-blue: #eef5ff;
  --ok: #0b9a6d;
  --danger: #e5484d;
  --warning: #b7791f;
  --mono: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  --radius: 18px;
  --shadow: 0 18px 50px -28px rgba(17, 43, 89, .28);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { color: var(--ink); background: #fff; font-family: "Inter", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; font-size: 14px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
code, pre { font-family: var(--mono); }
.hidden { display: none !important; }
.muted { color: var(--muted); }

.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: #fff; background: linear-gradient(145deg, #246bff, #0b3fb0); font-weight: 760; font-size: 13px; letter-spacing: .02em; box-shadow: 0 10px 24px -12px rgba(21,94,239,.7); }
.brand-mark.small { width: 30px; height: 30px; border-radius: 9px; font-size: 10px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 16px; letter-spacing: .03em; }
.brand-text small { margin-top: 5px; font-size: 8.5px; letter-spacing: .18em; color: var(--muted); }
.eyebrow { display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: .16em; color: var(--blue); text-transform: uppercase; }
.eyebrow.dark { color: var(--teal); }
.primary, .ghost, .text-button, .icon-button, .copy { border: 1px solid transparent; border-radius: 10px; transition: background .16s, border-color .16s, color .16s, transform .12s; }
.primary { color: #fff; background: linear-gradient(180deg, #2b6bff, #155eef); border-color: #155eef; font-weight: 650; box-shadow: 0 12px 26px -14px rgba(21,94,239,.75); }
.primary:hover { background: linear-gradient(180deg, #1f61f5, #0f4fd6); transform: translateY(-1px); }
.primary:disabled { opacity: .55; cursor: default; transform: none; }
.primary.small { height: 34px; padding: 0 14px; font-size: 12.5px; }
.primary.large { height: 48px; padding: 0 22px; font-size: 14px; border-radius: 12px; }
.primary.block { width: 100%; height: 42px; }
.ghost { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 40px; padding: 0 16px; color: var(--ink-2); background: #fff; border-color: var(--line-2); font-size: 13px; }
.ghost:hover { border-color: #b9c9de; background: #f9fbff; }
.ghost.large { height: 48px; padding: 0 20px; border-radius: 12px; }
.ghost.light { color: #fff; background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.25); }
.ghost.light:hover { background: rgba(255,255,255,.18); }
.text-button { background: none; border: 0; color: var(--muted); font-size: 13px; padding: 4px 2px; }
.text-button:hover { color: var(--blue); }
.icon-button { display: grid; place-items: center; width: 34px; height: 34px; color: var(--muted); background: #fff; border-color: var(--line); font-size: 16px; }
.icon-button:hover { color: var(--blue); border-color: var(--line-2); }
.copy { height: 28px; padding: 0 9px; color: var(--blue); background: #f2f7ff; border-color: #d7e5ff; font-size: 10.5px; white-space: nowrap; }
.copy:hover { background: #e8f1ff; }
.as-link { background: none; border: 0; padding: 0; color: var(--blue); font-size: 12px; cursor: pointer; text-align: left; }
.as-link:hover { text-decoration: underline; }
.form-error { min-height: 16px; font-size: 11.5px; color: var(--danger); }
.muted-link { color: var(--muted); font-size: 11px; }
.danger-text { color: var(--danger); }
.row { display: flex; align-items: center; gap: 9px; }
.row.end { justify-content: flex-end; }

/* storefront header */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.9); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(228,235,245,.8); }
.header-inner { max-width: 1200px; margin: 0 auto; height: 68px; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a { font-size: 13px; color: #40526e; }
.site-nav a:hover { color: var(--blue); }
.site-actions { display: flex; align-items: center; gap: 10px; }
.mobile-menu { display: none; background: none; border: 0; flex-direction: column; gap: 4px; padding: 8px; }
.mobile-menu span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }
.mobile-nav { display: none; }

/* hero */
.hero { position: relative; overflow: hidden; padding: 76px 0 68px; background: linear-gradient(180deg, #f3f8ff 0%, #fff 78%); }
.hero-bg { position: absolute; inset: 0; background-image: radial-gradient(circle at 1px 1px, rgba(21,94,239,.13) 1px, transparent 0), radial-gradient(800px 480px at 88% 10%, rgba(14,165,164,.1), transparent 65%); background-size: 26px 26px, auto; mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%); pointer-events: none; }
.hero-inner { position: relative; max-width: 1200px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: minmax(0,1.02fr) minmax(400px,.98fr); gap: 56px; align-items: center; }
.hero-copy h1 { margin: 18px 0 0; font-size: clamp(36px,4.1vw,50px); line-height: 1.16; letter-spacing: -.045em; font-weight: 720; color: #0a1730; }
.hero-copy h1 span { color: var(--blue); }
.hero-sub { max-width: 560px; margin: 20px 0 0; color: #5a6b85; font-size: 15px; line-height: 1.85; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 30px; font-size: 12px; color: var(--muted); }
.hero-proof strong { color: var(--ink); font-size: 15px; margin-right: 3px; }
.hero-panel { position: relative; min-height: 430px; display: flex; align-items: center; justify-content: center; }
.panel-glow { position: absolute; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(21,94,239,.16), rgba(21,94,239,0) 68%); filter: blur(6px); }
.console-card { position: relative; width: min(100%,470px); border-radius: 20px; background: rgba(255,255,255,.92); border: 1px solid rgba(211,224,242,.9); box-shadow: 0 34px 90px -38px rgba(17,43,89,.4), inset 0 2px 0 rgba(255,255,255,.8); backdrop-filter: blur(12px); overflow: hidden; transform: rotate(-1.2deg); }
.console-head { display: flex; align-items: center; gap: 10px; padding: 13px 16px; border-bottom: 1px solid var(--line); background: #fbfdff; font-size: 11px; color: var(--muted); }
.console-dots { display: flex; gap: 5px; }
.console-dots i { width: 7px; height: 7px; border-radius: 50%; background: #e3eaf5; }
.console-dots i:first-child { background: #ffb4ae; } .console-dots i:nth-child(2) { background: #ffd68a; } .console-dots i:nth-child(3) { background: #8fe0c6; }
.live-tag { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; font-size: 8.5px; letter-spacing: .12em; color: var(--ok); }
.live-tag i, .console-foot i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.console-body { padding: 20px; }
.console-label { font-size: 8.5px; letter-spacing: .16em; color: var(--muted); }
.console-endpoint { margin-top: 6px; font-family: var(--mono); font-size: 17px; color: #12305f; font-weight: 600; overflow-wrap: anywhere; }
.console-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; margin-top: 18px; }
.console-grid div { padding: 10px 11px; border: 1px solid var(--line); border-radius: 10px; background: #fbfdff; }
.console-grid span { display: block; font-size: 9px; color: var(--muted); }
.console-grid strong { display: block; margin-top: 3px; font-size: 12px; color: var(--ink-2); }
.console-code { display: flex; align-items: center; gap: 8px; margin-top: 16px; padding: 12px; border-radius: 10px; background: #0f1d35; color: #bcd2ee; overflow: hidden; }
.console-code code { font-size: 9.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.code-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); flex: 0 0 auto; }
.console-foot { display: flex; justify-content: space-between; margin-top: 14px; font-size: 10px; color: var(--muted); }
.console-foot span { display: inline-flex; align-items: center; gap: 6px; } .console-foot .ok { color: var(--ok); }
.float-card { position: absolute; display: flex; align-items: center; gap: 10px; padding: 11px 13px; border-radius: 12px; background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 40px -24px rgba(17,43,89,.35); animation: float 5s ease-in-out infinite; }
.float-card.one { top: 12px; left: -8px; } .float-card.two { bottom: 8px; right: -4px; animation-delay: -2.2s; }
.float-card strong { display: block; font-size: 11.5px; } .float-card small { display: block; font-size: 9.5px; color: var(--muted); }
.float-icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--soft-blue); color: var(--blue); font-size: 14px; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.trust-strip { max-width: 1200px; margin: 0 auto; padding: 18px 24px; display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-strip div { padding: 6px 18px; border-left: 1px solid var(--line); } .trust-strip div:first-child { border-left: 0; padding-left: 0; }
.trust-strip strong { display: block; font-size: 12.5px; } .trust-strip span { font-size: 10.5px; color: var(--muted); }

/* landing sections */
.section { max-width: 1200px; margin: 0 auto; padding: 78px 24px; }
.section.soft { max-width: none; background: #f7faff; border-top: 1px solid #edf3fa; border-bottom: 1px solid #edf3fa; }
.section.soft > * { max-width: 1200px; margin-left: auto; margin-right: auto; }
.section-head { max-width: 650px; margin: 0 auto 40px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head h2 { margin: 8px 0 0; font-size: clamp(26px,3vw,36px); line-height: 1.25; letter-spacing: -.035em; font-weight: 700; }
.section-head p { margin: 12px 0 0; color: var(--muted); font-size: 13.5px; line-height: 1.8; }
.product-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.product-card { position: relative; display: flex; flex-direction: column; padding: 24px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 10px 30px -28px rgba(17,43,89,.3); transition: transform .2s, box-shadow .2s, border-color .2s; }
.product-card:hover { transform: translateY(-4px); border-color: #c9d9ee; box-shadow: var(--shadow); }
.product-card.featured { border-color: #bcd4ff; background: linear-gradient(180deg,#f7fbff,#fff); }
.product-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--soft-blue); color: var(--blue); font-size: 20px; font-weight: 600; }
.product-tag { position: absolute; right: 18px; top: 20px; padding: 3px 8px; border-radius: 999px; font-size: 9px; color: var(--blue); background: #e9f1ff; }
.product-card h3 { margin: 17px 0 0; font-size: 17px; letter-spacing: -.01em; }
.product-card p { margin: 9px 0 0; color: var(--muted); font-size: 12px; line-height: 1.75; }
.product-card ul { margin: 14px 0 20px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 7px; }
.product-card li { font-size: 11px; color: #4d607b; padding-left: 15px; position: relative; }
.product-card li::before { content: ""; position: absolute; left: 0; top: 7px; width: 5px; height: 5px; border-radius: 50%; background: var(--teal); }
.link-arrow { margin-top: auto; color: var(--blue); font-size: 12px; font-weight: 550; }
.link-arrow.as-link { padding: 0; text-align: left; } .link-arrow:hover { text-decoration: underline; }
.plan-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.plan-card { position: relative; display: flex; flex-direction: column; padding: 24px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 10px 30px -28px rgba(17,43,89,.3); }
.plan-card.popular { border-color: var(--blue); box-shadow: 0 24px 60px -34px rgba(21,94,239,.45); }
.plan-badge { position: absolute; right: 16px; top: -10px; padding: 3px 10px; border-radius: 999px; background: var(--orange); color: #fff; font-size: 9px; font-weight: 650; letter-spacing: .06em; }
.plan-name { font-size: 15px; font-weight: 650; }
.plan-tagline { margin: 5px 0 0; min-height: 34px; font-size: 10.5px; color: var(--muted); }
.plan-price { margin-top: 12px; font-size: 34px; letter-spacing: -.04em; font-weight: 720; color: #0b1a35; }
.plan-price small { font-size: 11px; font-weight: 500; color: var(--muted); margin-left: 4px; letter-spacing: 0; }
.plan-spec { margin-top: 14px; padding: 10px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; gap: 16px; }
.plan-spec div { display: flex; flex-direction: column; }
.plan-spec strong { font-size: 12px; } .plan-spec span { font-size: 9px; color: var(--muted); }
.plan-features { margin: 14px 0 20px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.plan-features li { font-size: 11px; color: #4d607b; padding-left: 16px; position: relative; }
.plan-features li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-size: 10px; font-weight: 700; }
.plan-card .primary, .plan-card .ghost { width: 100%; height: 38px; font-size: 12px; }
.plan-card.trial { background: linear-gradient(180deg,#f6fffc,#fff); border-color: #c6e9df; } .plan-card.trial .plan-price { color: var(--ok); }
.pricing-note { margin: 20px 0 0; text-align: center; font-size: 10.5px; color: var(--muted); }
.loading-card { grid-column: 1/-1; padding: 34px; text-align: center; color: var(--muted); font-size: 12px; border: 1px dashed var(--line-2); border-radius: var(--radius); }
.coverage-layout { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: 56px; align-items: center; }
.coverage-layout .section-head { margin-bottom: 0; }
.coverage-stats { display: flex; gap: 30px; margin-top: 26px; } .coverage-stats div { display: flex; flex-direction: column; }
.coverage-stats strong { font-size: 24px; letter-spacing: -.03em; } .coverage-stats span { font-size: 10px; color: var(--muted); }
.region-cloud { display: flex; flex-wrap: wrap; gap: 10px; align-content: center; padding: 28px; border-radius: 20px; border: 1px solid var(--line); background: radial-gradient(500px 300px at 60% 30%,#f0f6ff,#fff 70%); min-height: 300px; }
.region-chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 13px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 8px 20px -18px rgba(17,43,89,.3); }
.region-chip i { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(11,154,109,.1); }
.region-chip strong { font-family: var(--mono); font-size: 12px; } .region-chip span { font-size: 9.5px; color: var(--muted); }
.loading-chip { padding: 10px 13px; border: 1px dashed var(--line-2); border-radius: 10px; color: var(--muted); font-size: 11px; }
.usecase-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.usecase { padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.usecase b { font-family: var(--mono); font-size: 10px; color: var(--blue); letter-spacing: .1em; }
.usecase h3 { margin: 9px 0 0; font-size: 15px; } .usecase p { margin: 7px 0 0; color: var(--muted); font-size: 11.5px; line-height: 1.8; }
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.step { position: relative; padding: 22px; border-radius: 16px; border: 1px solid var(--line); background: #fff; }
.step span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--soft-blue); color: var(--blue); font-weight: 700; font-size: 13px; }
.step h3 { margin: 15px 0 0; font-size: 14px; } .step p { margin: 6px 0 0; color: var(--muted); font-size: 11px; }
.api-band { max-width: none; display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 48px; align-items: center; padding: 58px max(24px,calc((100vw - 1200px)/2)); background: linear-gradient(120deg,#0d1f42,#102e63 55%,#0b4b70); color: #fff; }
.api-band .eyebrow { color: #7ee8da; } .api-band h2 { margin: 9px 0 0; font-size: clamp(26px,3vw,36px); letter-spacing: -.03em; } .api-band p { margin: 12px 0 0; color: #a9c0df; font-size: 13px; }
.api-features { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 24px; } .api-features span { padding: 5px 10px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; font-size: 10px; color: #c7dbf5; }
.api-code-card { border-radius: 16px; border: 1px solid rgba(255,255,255,.14); background: rgba(5,14,30,.55); overflow: hidden; box-shadow: 0 26px 60px -30px rgba(0,0,0,.6); }
.code-head { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 10px; } .code-head span { color: #7ee8da; font-family: var(--mono); } .code-head em { color: #d6e5fa; font-style: normal; font-family: var(--mono); } .code-head i { margin-left: auto; color: #7ee8da; font-style: normal; font-size: 9px; }
.code-head.small { border-bottom-color: var(--line); font-size: 9px; } .code-head.small span { color: var(--muted); } .code-head.small button { margin-left: auto; }
.api-code-card pre { margin: 0; padding: 18px; overflow-x: auto; font-size: 11px; line-height: 1.8; color: #bcd7ef; }
.faq-list { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--line); } .faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 18px 30px 18px 0; cursor: pointer; font-size: 13.5px; font-weight: 550; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 15px; color: var(--muted); font-size: 18px; font-weight: 300; } .faq-list details[open] summary::after { content: "−"; }
.faq-list p { margin: -4px 0 18px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.faq-list.compact summary { padding: 14px 26px 14px 0; font-size: 12px; } .faq-list.compact p { font-size: 11px; }
.faq-list code { color: var(--blue); background: #f2f6fd; padding: 1px 4px; border-radius: 4px; }
.site-footer { background: #0b1730; color: #b7c8e1; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 40px 24px; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 12px; } .footer-brand strong { color: #fff; font-size: 15px; } .footer-brand p { margin: 3px 0 0; font-size: 10px; color: #7890b2; }
.footer-links { display: flex; gap: 22px; font-size: 11px; color: #a4b9d5; } .footer-links a:hover { color: #fff; }
.footer-copy { width: 100%; margin: 18px 0 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.08); font-size: 9.5px; color: #6e83a2; }

/* dashboard */
.app { min-height: 100vh; background: var(--bg); display: grid; grid-template-columns: 232px minmax(0,1fr); }
.side { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 22px 16px; background: #fff; border-right: 1px solid var(--line); z-index: 20; }
.side-brand { display: flex; align-items: center; gap: 10px; padding: 0 6px 22px; border-bottom: 1px solid var(--line); }
.side-nav { display: flex; flex-direction: column; gap: 4px; margin-top: 18px; }
.side-nav button { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 11px; border: 1px solid transparent; border-radius: 10px; color: #5a6b85; background: none; font-size: 12.5px; text-align: left; }
.side-nav button:hover { background: #f5f8fd; color: var(--ink); } .side-nav button.active { color: var(--blue); background: #eef4ff; border-color: #dbe8ff; font-weight: 600; }
.nav-ico { width: 18px; text-align: center; font-size: 14px; color: #8494ac; } .side-nav button.active .nav-ico { color: var(--blue); }
.side-bottom { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.side-user { display: flex; align-items: center; gap: 9px; }
.avatar { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: linear-gradient(145deg,#dce9ff,#c2d7ff); color: var(--blue); font-weight: 700; font-size: 12px; flex: 0 0 auto; }
.side-user strong { display: block; max-width: 145px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10.5px; } .side-user small { display: block; font-size: 9.5px; color: var(--muted); }
.app-body { min-width: 0; }
.app-top { position: sticky; top: 0; z-index: 15; display: flex; align-items: center; gap: 16px; padding: 16px 30px; background: rgba(246,249,253,.9); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(228,235,245,.8); }
.app-title h1 { margin: 0; font-size: 21px; letter-spacing: -.02em; } .app-title p { margin: 2px 0 0; font-size: 10.5px; color: var(--muted); }
.app-actions { margin-left: auto; display: flex; align-items: center; gap: 9px; }
.plan-pill { padding: 5px 10px; border-radius: 999px; background: #eef4ff; border: 1px solid #dbe8ff; color: var(--blue); font-size: 10px; font-weight: 600; white-space: nowrap; }
.side-toggle { display: none; background: #fff; border: 1px solid var(--line); border-radius: 9px; width: 34px; height: 34px; color: var(--muted); }
.app-main { max-width: 1260px; margin: 0 auto; padding: 26px 30px 48px; }
.app-page { display: flex; flex-direction: column; gap: 16px; }
.welcome-band { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 24px; border-radius: var(--radius); background: linear-gradient(110deg,#fff,#f2f8ff); border: 1px solid var(--line); }
.welcome-band h2 { margin: 5px 0 0; font-size: 22px; letter-spacing: -.025em; } .welcome-band h2 span { color: var(--blue); } .welcome-band p { margin: 5px 0 0; font-size: 11px; color: var(--muted); }
.stat-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 12px; }
.stat-card { padding: 16px 17px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.stat-card > span { font-size: 10px; color: var(--muted); } .stat-card strong { display: block; margin-top: 4px; font-size: 24px; line-height: 1.25; letter-spacing: -.03em; } .stat-card small { display: block; margin-top: 4px; font-size: 9.5px; color: var(--muted); }
.progress { height: 5px; margin-top: 8px; border-radius: 999px; background: #edf2f9; overflow: hidden; } .progress i { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg,var(--blue),#60a5fa); transition: width .4s; }
.overview-grid { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: 14px; }
.span-8 { grid-column: span 8; } .span-4 { grid-column: span 4; } .span-12 { grid-column: span 12; }
.card { min-width: 0; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 10px 30px -30px rgba(17,43,89,.25); }
.card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.card-head h3 { margin: 0; font-size: 13.5px; letter-spacing: -.01em; } .card-head p { margin: 3px 0 0; font-size: 10px; color: var(--muted); }
.range-tabs { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 8px; background: #f8fbff; }
.range-tabs button { height: 23px; padding: 0 7px; border: 0; border-radius: 5px; background: none; color: var(--muted); font-size: 9px; }
.range-tabs button.active { background: #fff; color: var(--blue); box-shadow: 0 2px 6px rgba(17,43,89,.08); }
.chart-large { height: 240px; } .empty { padding: 22px 10px; text-align: center; color: var(--muted); font-size: 11px; }
.legend-row { display: flex; align-items: center; gap: 7px; padding-top: 8px; font-size: 9.5px; color: var(--muted); } .legend-row em { margin-left: auto; font-style: normal; }
.dot-in, .dot-out { width: 7px; height: 7px; border-radius: 2px; display: inline-block; } .dot-in { background: var(--teal); } .dot-out { background: var(--blue); margin-left: 8px; }
.quick-card { display: flex; flex-direction: column; gap: 10px; }
.field-label { display: flex; flex-direction: column; gap: 5px; font-size: 10px; color: var(--muted); }
select, input[type=text], input[type=email], input[type=password], input:not([type]) { width: 100%; height: 36px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 8px; background: #fff; color: var(--ink); outline: none; font-size: 11.5px; }
select:focus, input:focus { border-color: #8eb5ff; box-shadow: 0 0 0 3px rgba(21,94,239,.09); }
.quick-result { min-height: 58px; padding: 10px; border: 1px dashed var(--line-2); border-radius: 9px; background: #fbfdff; font-family: var(--mono); font-size: 10px; line-height: 1.7; color: #2e4669; overflow-wrap: anywhere; }
.quick-result .muted { font-family: "Inter", sans-serif; }
.link-row { display: flex; gap: 6px; } .link-row input { flex: 1; min-width: 0; height: 30px; font-family: var(--mono); font-size: 9px; background: #f7faff; } .link-row .copy { height: 30px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th { padding: 8px 10px; text-align: left; font-size: 9px; letter-spacing: .04em; color: var(--muted); font-weight: 600; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 11px 10px; font-size: 10.5px; border-bottom: 1px solid #f0f4fa; vertical-align: middle; }
tbody tr:last-child td { border-bottom: 0; }
.mono { font-family: var(--mono); font-size: 9.5px; }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 999px; font-size: 9px; white-space: nowrap; }
.badge::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.badge.ok { color: var(--ok); background: #eafaf4; } .badge.warn { color: var(--warning); background: #fff7e8; } .badge.off { color: var(--muted); background: #f1f4f9; } .badge.danger { color: var(--danger); background: #fff0f0; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; }
.page-head h2 { margin: 0; font-size: 20px; letter-spacing: -.02em; } .page-head p { margin: 4px 0 0; font-size: 11px; color: var(--muted); }
.extract-form { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 12px; align-items: end; }
.extract-form .primary { height: 36px; padding: 0 18px; white-space: nowrap; }
.api-link-box { display: flex; align-items: center; gap: 8px; margin-top: 16px; padding: 9px 10px; border: 1px solid #dbe8ff; border-radius: 9px; background: #f6faff; }
.api-link-box span { font-size: 9px; color: var(--blue); font-weight: 650; white-space: nowrap; }
.api-link-box input { flex: 1; min-width: 0; height: 27px; border: 0; background: transparent; font-family: var(--mono); font-size: 9px; box-shadow: none; }
.extract-result { margin-top: 16px; }
.raw-head { display: flex; align-items: center; justify-content: space-between; margin: 14px 0 7px; font-size: 10px; color: var(--muted); }
.raw { margin: 0; padding: 13px; border-radius: 9px; background: #0f1d35; color: #bcd2ee; font-size: 10px; line-height: 1.75; overflow-x: auto; min-height: 64px; white-space: pre-wrap; overflow-wrap: anywhere; }
.current-plan { display: flex; align-items: center; justify-content: space-between; gap: 24px; background: linear-gradient(110deg,#fff,#f3f8ff); }
.current-plan h3 { margin: 6px 0 0; font-size: 21px; } .current-plan p { margin: 5px 0 0; font-size: 11px; color: var(--muted); }
.current-plan-metrics { display: flex; gap: 30px; } .current-plan-metrics div { display: flex; flex-direction: column; } .current-plan-metrics span { font-size: 9px; color: var(--muted); } .current-plan-metrics strong { font-size: 16px; margin-top: 3px; }
.app-plan-grid { margin-top: 2px; }
.balance-amount { font-size: 20px; letter-spacing: -.02em; color: var(--blue); }
.recharge-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.recharge-row .ghost { height: 34px; padding: 0 14px; font-size: 12px; }
.custom-amount { display: flex; align-items: center; gap: 6px; font-size: 10px; color: var(--muted); }
.custom-amount input { width: 92px; height: 34px; }
.recharge-row .primary { height: 34px; margin-left: auto; }
.notice { margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: #fff8ec; border: 1px solid #f5e3c4; color: #7a5a2a; font-size: 10.5px; line-height: 1.7; }
.api-grid { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: 14px; }
.api-grid > .card { grid-column: span 6; } .api-grid > .card.span-12 { grid-column: span 12; }
.kv { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.kv > div { display: flex; align-items: center; gap: 10px; padding-bottom: 9px; border-bottom: 1px solid #f0f4fa; }
.kv dt { width: 74px; flex: 0 0 auto; font-size: 10px; color: var(--muted); }
.kv dd { flex: 1; min-width: 0; margin: 0; font-family: var(--mono); font-size: 10px; overflow-wrap: anywhere; }
.kv .copy { flex: 0 0 auto; }
.code-block { margin-top: 14px; border: 1px solid var(--line); border-radius: 9px; background: #fbfdff; overflow: hidden; }
.code-block .code-head { background: #f8fbff; }
.code-block pre { margin: 0; padding: 12px; overflow-x: auto; background: #0f1d35; color: #bcd2ee; font-size: 9.5px; line-height: 1.8; white-space: pre-wrap; overflow-wrap: anywhere; }
.api-key-row { display: flex; align-items: center; gap: 8px; margin-bottom: 9px; }
.api-key-row > span { width: 46px; flex: 0 0 auto; font-size: 9px; color: var(--muted); }
.api-key-row code, .api-key-row input { flex: 1; min-width: 0; height: 30px; padding: 0 8px; border: 1px solid var(--line); border-radius: 6px; background: #f8fbff; font-family: var(--mono); font-size: 9px; line-height: 30px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.api-key-row .copy { height: 30px; }
.api-endpoints { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.api-endpoints > div { display: flex; align-items: center; gap: 8px; padding: 10px; border: 1px solid #eef3fa; border-radius: 9px; background: #fbfdff; }
.api-endpoints code { font-size: 9.5px; color: #27446f; overflow-wrap: anywhere; }
.api-endpoints p { margin: 0 0 0 auto; font-size: 9px; color: var(--muted); white-space: nowrap; }
.method { padding: 2px 5px; border-radius: 4px; font-family: var(--mono); font-size: 8px; font-weight: 700; }
.method.get { color: var(--blue); background: #eaf1ff; } .method.post { color: #a15c00; background: #fff2dd; }
.help-steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.help-steps > div { padding: 4px 4px 0; }
.help-steps span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--soft-blue); color: var(--blue); font-size: 11px; font-weight: 700; }
.help-steps h3 { margin: 10px 0 0; font-size: 12.5px; } .help-steps p { margin: 4px 0 0; font-size: 10.5px; color: var(--muted); }

/* modals */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(8,20,40,.45); backdrop-filter: blur(4px); }
.auth-card, .order-card { position: relative; width: min(440px,100%); max-height: calc(100vh - 40px); overflow-y: auto; background: #fff; border-radius: 20px; padding: 26px; box-shadow: 0 40px 100px -34px rgba(8,20,40,.5); }
.auth-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; } .auth-head > div { display: flex; flex-direction: column; align-items: flex-start; }
.auth-head h2 { margin: 10px 0 0; font-size: 22px; letter-spacing: -.02em; } .auth-head p { margin: 5px 0 0; font-size: 10.5px; color: var(--muted); }
.auth-tabs { display: flex; gap: 4px; margin: 20px 0 14px; padding: 3px; border-radius: 9px; background: #f3f7fd; }
.auth-tabs button { flex: 1; height: 31px; border: 0; border-radius: 7px; background: transparent; color: var(--muted); font-size: 12px; }
.auth-tabs button.active { background: #fff; color: var(--blue); box-shadow: 0 2px 8px rgba(17,43,89,.08); font-weight: 600; }
.auth-form { display: flex; flex-direction: column; gap: 12px; } .auth-form label { display: flex; flex-direction: column; gap: 5px; font-size: 10.5px; color: var(--muted); } .auth-form input { height: 38px; font-size: 12px; } .auth-form .primary { height: 40px; margin-top: 2px; }
.auth-foot { margin-top: 16px; padding-top: 13px; border-top: 1px solid var(--line); font-size: 9px; line-height: 1.7; color: var(--muted); }
.order-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; } .order-head h2 { margin: 6px 0 0; font-size: 21px; }
.order-summary { margin-top: 18px; padding: 14px; border-radius: 10px; background: #f7faff; border: 1px solid #e4edfb; display: flex; justify-content: space-between; gap: 12px; }
.order-summary strong { display: block; font-size: 14px; } .order-summary span { font-size: 10px; color: var(--muted); } .order-summary .amount { font-size: 22px; font-weight: 700; color: var(--blue); }
.order-pay { margin-top: 16px; } .order-pay > span { font-size: 9px; letter-spacing: .1em; color: var(--muted); } .order-pay p { margin: 6px 0 10px; font-size: 11px; color: #52657f; line-height: 1.75; }
.order-code { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 8px; border: 1px dashed var(--line-2); } .order-code span { font-size: 9px; color: var(--muted); } .order-code code { flex: 1; font-size: 11px; }
.order-card .row { margin-top: 18px; }
.toast { position: fixed; right: 22px; bottom: 22px; z-index: 150; max-width: 340px; padding: 11px 14px; border-radius: 10px; background: #0f1d35; color: #e8f1ff; font-size: 11.5px; box-shadow: 0 20px 50px -20px rgba(8,20,40,.5); }
.toast.error { background: #6f1d24; color: #ffe4e6; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 2px solid rgba(21,94,239,.5); outline-offset: 2px; }

@media (max-width: 1100px) {
  .product-grid, .plan-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hero-inner { grid-template-columns: minmax(0,1fr) minmax(340px,.9fr); gap: 34px; }
  .hero-panel { min-height: 380px; }
  .float-card.one { left: -4px; }
  .span-8, .span-4, .api-grid > .card { grid-column: span 12; }
  .api-endpoints { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 920px) {
  .site-nav { display: none; } .mobile-menu { display: flex; }
  .mobile-nav { display: none; flex-direction: column; gap: 4px; padding: 8px 20px 16px; border-top: 1px solid var(--line); background: #fff; } .mobile-nav.open { display: flex; }
  .mobile-nav a, .mobile-nav button { padding: 9px 2px; text-align: left; }
  .hero { padding-top: 50px; } .hero-inner { grid-template-columns: minmax(0,1fr); } .hero-panel { order: -1; min-height: 340px; } .console-card { transform: none; } .hero-copy h1 { font-size: 42px; }
  .coverage-layout { grid-template-columns: minmax(0,1fr); gap: 30px; } .api-band { grid-template-columns: minmax(0,1fr); }
  .steps, .help-steps { grid-template-columns: repeat(2,1fr); } .usecase-grid { grid-template-columns: repeat(2,1fr); }
  .trust-strip { grid-template-columns: repeat(2,1fr); } .trust-strip div:nth-child(3) { border-left: 0; padding-left: 0; }
  .app { grid-template-columns: minmax(0,1fr); }
  .side { position: fixed; inset: 0 auto 0 0; width: 250px; transform: translateX(-100%); transition: transform .2s; box-shadow: 0 20px 60px rgba(8,20,40,.2); } .side.open { transform: translateX(0); }
  .side-toggle { display: grid; place-items: center; } .app-main { padding: 20px 16px 40px; } .app-top { padding: 12px 16px; }
  .stat-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .recharge-row .primary { margin-left: 0; }
  .current-plan { flex-direction: column; align-items: flex-start; }
  .extract-form { grid-template-columns: 1fr 1fr; } .extract-form .primary { grid-column: span 2; }
}
@media (max-width: 600px) {
  .header-inner { padding: 0 16px; height: 62px; } .site-actions .ghost, .site-actions .text-button { display: none; } .mobile-nav .text-button { display: block; }
  .brand-mark { width: 34px; height: 34px; border-radius: 10px; font-size: 11px; } .brand-text strong { font-size: 14px; } .brand-text small { font-size: 8px; }
  .hero-inner { padding: 0 16px; } .hero-copy h1 { font-size: 34px; } .hero-sub { font-size: 13px; } .hero-cta { flex-direction: column; align-items: stretch; } .hero-cta .primary, .hero-cta .ghost { width: 100%; }
  .hero-panel { min-height: 300px; } .float-card { display: none; } .console-body { padding: 15px; } .console-endpoint { font-size: 14px; }
  .section { padding: 52px 16px; } .section.soft > * { padding-left: 0; padding-right: 0; }
  .product-grid, .plan-grid, .usecase-grid, .steps, .help-steps { grid-template-columns: minmax(0,1fr); }
  .trust-strip { padding: 12px 16px; gap: 8px; } .trust-strip div { padding: 4px 8px; } .trust-strip strong { font-size: 11px; } .trust-strip span { font-size: 9px; }
  .api-band { padding: 40px 16px; } .api-code-card pre { font-size: 9px; }
  .coverage-stats { gap: 18px; } .region-cloud { padding: 18px; min-height: 220px; }
  .footer-inner { padding: 30px 16px; flex-direction: column; align-items: flex-start; gap: 16px; } .footer-links { flex-wrap: wrap; gap: 14px; }
  .app-top { flex-wrap: wrap; gap: 8px; } .app-title { flex: 1; min-width: 120px; } .app-title h1 { font-size: 18px; } .plan-pill { font-size: 9px; }
  .welcome-band { flex-direction: column; align-items: flex-start; }
  .stat-grid { gap: 9px; } .stat-card strong { font-size: 21px; } .app-main { padding: 14px 12px 32px; }
  .page-head { flex-direction: column; align-items: flex-start; }
  .extract-form { grid-template-columns: 1fr; } .extract-form .primary { grid-column: auto; }
  .current-plan-metrics { flex-wrap: wrap; gap: 16px; } .api-endpoints { grid-template-columns: minmax(0,1fr); }
  .auth-card, .order-card { padding: 20px; } .help-steps { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  #page-orders table th:nth-child(5),
  #page-orders table td:nth-child(5),
  #page-orders table th:nth-child(6),
  #page-orders table td:nth-child(6),
  #ov-orders th:nth-child(5),
  #ov-orders td:nth-child(5) {
    display: none;
  }
  #orders-body td:nth-child(2) { white-space: nowrap; }
}
