/* Astra website styles (v3). Colors and type follow the product brochure. */

@font-face { font-family: "Montserrat"; src: url("../fonts/Montserrat-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/Montserrat-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
/* Noto Sans SC, subset to the characters on these pages (see src/tools/subset_cjk.py). Other characters fall back to system fonts. */
@font-face { font-family: "Noto Sans SC Astra"; src: url("../fonts/NotoSansSC-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Noto Sans SC Astra"; src: url("../fonts/NotoSansSC-Medium.woff2") format("woff2"); font-weight: 500 600; font-display: swap; }
@font-face { font-family: "Noto Sans SC Astra"; src: url("../fonts/NotoSansSC-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  /* Dark sections (brochure palette, a shade deeper) */
  --bg: #080A0E;
  --bg-alt: #0C1016;
  --panel: #10151C;
  --tile: #151B24;
  --line: #1C232D;
  --line2: #2A3340;
  --tx: #F3F5F8;
  --tx2: #A9B2BF;
  --tx3: #6F7987;
  --blue: #2E8BFF;
  --blue-hover: #4C9DFF;
  --sky: #7DBEFF;
  --bar: #4E5868;
  --danger: #FF8A80;

  /* Light sections */
  --paper: #F4F5F7;
  --card: #FFFFFF;
  --ink: #0B1220;
  --ink2: #4A5568;
  --ink3: #737E8D;
  --rule: #DDE2E8;
  --rule2: #C8D0DA;
  --blue-ink: #1766D6;
  --blue-wash: #EBF2FC;

  /* Product interface (sampled from Astra's dark theme) */
  --ui-bg: #0F172A;
  --ui-side: #1E293B;
  --ui-frame: #182234;
  --ui-pane: #1E293B;
  --ui-head: #243044;
  --ui-line: #2C3749;
  --ui-tx: #E2E8F0;
  --ui-tx2: #94A3B8;
  --ui-blue: #1677FF;
  --ui-chip: #2E3748;

  --cjk: "Noto Sans SC Astra", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --head: "Montserrat", var(--cjk);
  --body: "Inter", var(--cjk);

  --wrap: 1200px;
  --gutter: 32px;
  --radius: 12px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--tx);
  font: 400 16px/1.7 var(--body);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
html[lang="zh-CN"] body { line-height: 1.85; }
::selection { background: rgba(46, 139, 255, .35); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--head); font-weight: 600; letter-spacing: -0.012em; text-wrap: balance; }
html[lang="zh-CN"] :is(h1, h2, h3, h4) { font-weight: 600; letter-spacing: 0.02em; }
p, figure, ul, ol { margin: 0; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.fine { font-size: 13px; color: var(--tx3); line-height: 1.6; }

/* small uppercase labels */
.eyebrow, .s-label, .tag {
  font: 600 12px/1.4 var(--head); letter-spacing: 0.16em; text-transform: uppercase;
}
html[lang="zh-CN"] :is(.eyebrow, .s-label, .tag) { font-size: 13px; letter-spacing: 0.12em; }
.eyebrow { display: block; color: var(--sky); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 24px; border-radius: 6px; white-space: nowrap;
  font: 600 15px/1 var(--body); cursor: pointer; border: 1px solid transparent;
  transition: background .2s, border-color .2s, color .2s;
}
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-hover); }
.btn-line { border-color: var(--line2); color: var(--tx); }
.btn-line:hover { border-color: var(--tx3); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8, 10, 14, 0.82); border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(150%) blur(14px); -webkit-backdrop-filter: saturate(150%) blur(14px);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.nav-logo img { height: 25px; width: auto; }
.nav-right { display: flex; align-items: center; gap: 22px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a:not(.btn),
.nav-links button[data-contact] { font-size: 14px; color: var(--tx2); transition: color .2s; background: none; border: 0; padding: 0; font-family: inherit; cursor: pointer; }
.nav-links a:not(.btn):hover,
.nav-links button[data-contact]:hover { color: var(--tx); }
.lang {
  display: inline-flex; align-items: center; gap: 6px; background: none;
  border: 1px solid var(--line2); border-radius: 6px; color: var(--tx3);
  font: 600 12px/1 var(--body); padding: 8px 10px; cursor: pointer;
}
.lang span.on { color: var(--tx); }
.lang:hover { border-color: var(--tx3); }
.menu-btn { display: none; background: none; border: 0; color: var(--tx); padding: 6px; cursor: pointer; }

/* ---------- Section scaffolding ---------- */
section { padding: 136px 0; }
section.alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.title { font-size: 48px; line-height: 1.1; letter-spacing: -0.03em; }
html[lang="zh-CN"] .title { font-size: 44px; line-height: 1.34; letter-spacing: 0.03em; }
.lede { font-size: 18px; line-height: 1.75; color: var(--tx2); max-width: 600px; }
html[lang="zh-CN"] .lede { font-size: 17px; line-height: 1.95; }

.s-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; margin-bottom: 96px; }
.s-head .title { grid-column: 1 / span 11; }
.s-head .lede { grid-column: 7 / -1; margin-top: 36px; max-width: none; }
.s-label {
  grid-column: 1 / -1; display: flex; gap: 16px; align-items: baseline;
  padding-top: 20px; margin-bottom: 44px; border-top: 1px solid var(--line2); color: var(--tx3);
}
.s-label .no { color: var(--blue); letter-spacing: .08em; }
/* used by the trial page */
.head-split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 72px; align-items: end; }
.head-split .eyebrow { margin-bottom: 20px; }

/* ---------- Hero ---------- */
.hero { padding: 40px 0 0; }
.hero h1 { margin-top: 32px; font-size: 92px; line-height: 1; letter-spacing: -0.042em; }
html[lang="zh-CN"] .hero h1 { font-size: 88px; line-height: 1.12; letter-spacing: 0.06em; }
.hero-sub { display: grid; grid-template-columns: 7fr 5fr; column-gap: 80px; align-items: end; margin-top: 48px; }
.hero .lede { max-width: 640px; }
.hero-side { display: flex; flex-direction: column; align-items: flex-end; gap: 22px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.stage { margin-top: 96px; }
.stage-note { margin-top: 18px; text-align: center; }

/* ---------- Window frame + product interface ---------- */
.window {
  border: 1px solid #2A3446; border-radius: 12px; overflow: hidden; background: var(--ui-bg);
  box-shadow: 0 40px 80px -48px rgba(0, 0, 0, .9);
}
.ui { font-family: "Inter", var(--cjk); color: var(--ui-tx); font-size: 13px; line-height: 1.6; text-align: left; user-select: none; }
.ui-app { display: grid; grid-template-columns: 190px 1fr; }
.ui-side { background: var(--ui-side); padding: 18px 12px; border-right: 1px solid var(--ui-line); }
.ui-brand { display: flex; align-items: center; gap: 10px; padding: 2px 8px 22px; }
.ui-brand span { font: 600 13px/1 "Montserrat", sans-serif; letter-spacing: .32em; color: #fff; }
.ui-nav { list-style: none; padding: 0; display: grid; gap: 4px; }
.ui-nav li { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; color: #CBD5E1; font-size: 13px; }
.ui-nav li.on { background: #233657; color: #fff; box-shadow: inset 0 0 0 1px #2F4670; }
.ui-main { min-width: 0; }
.ui-top { display: flex; justify-content: space-between; align-items: center; height: 48px; padding: 0 22px; border-bottom: 1px solid var(--ui-line); background: var(--ui-bg); }
.ui-top b { font-size: 14px; font-weight: 600; }
.ui-avatar { width: 24px; height: 24px; border-radius: 50%; background: #E2E8F0; color: #0F172A; font: 700 11px/24px "Inter", sans-serif; text-align: center; }
.ui-frame { margin: 16px; border: 1px solid var(--ui-line); border-radius: 12px; background: var(--ui-frame); overflow: hidden; }
.ui-langbar { display: flex; justify-content: center; padding: 14px; border-bottom: 1px solid var(--ui-line); background: #141D2E; }
.ui-seg { display: flex; align-items: center; gap: 4px; padding: 4px; border-radius: 10px; background: #172134; font-size: 12px; color: var(--ui-tx2); }
.ui-seg span { padding: 5px 14px; border-radius: 7px; white-space: nowrap; }
.ui-seg span.on { background: var(--ui-chip); color: #fff; box-shadow: inset 0 0 0 1px #3A4558; }
.ui-seg span.sw { padding: 5px 8px; color: var(--ui-tx2); }
.ui-panes { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 14px; }
.ui-pane { background: var(--ui-pane); border: 1px solid var(--ui-line); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; }
.ui-pane-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; background: var(--ui-head); border-bottom: 1px solid var(--ui-line); font-size: 12px; }
.ui-pane-head b { font-weight: 600; }
.ui-preset { color: var(--ui-tx2); display: flex; align-items: center; gap: 8px; }
.ui-preset em { font-style: normal; color: var(--ui-tx); padding-left: 8px; border-left: 1px solid var(--ui-line); }
.ui-done { color: var(--ui-tx2); }
.chev { width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); display: inline-block; opacity: .8; }
.ui-think { margin: 12px 14px 0; padding: 8px 12px; border-radius: 8px; background: #273143; color: var(--ui-tx2); font-size: 12px; display: flex; justify-content: space-between; align-items: center; }
.ui-think .chev { transform: rotate(-135deg) translateY(-1px); }
.ui-pane-body { padding: 14px 18px 18px; height: 340px; overflow: hidden; }
.ui-pane-body p + p { margin-top: 9px; }
.ui-pane-body b { font-weight: 600; color: #fff; }
.ui-en { color: #CBD5E1; }
.ui-zh { color: #E2E8F0; font-size: 13.5px; line-height: 1.75; }
.ui-foot { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-top: 1px solid var(--ui-line); font-size: 12px; color: var(--ui-tx2); }
.ui-sep { width: 1px; height: 12px; background: var(--ui-line); }
.ui-grow { flex: 1; }
.ui-toggle-l { color: var(--ui-tx); }
.ui-toggle { width: 28px; height: 16px; border-radius: 8px; background: #475569; position: relative; display: inline-block; flex: none; }
.ui-toggle::after { content: ""; position: absolute; top: 2px; left: 2px; width: 12px; height: 12px; border-radius: 50%; background: #E2E8F0; transition: left .2s; }
.ui-toggle.on { background: var(--ui-blue); }
.ui-toggle.on::after { left: 14px; background: #fff; }
.ui-btn { padding: 6px 12px; border-radius: 7px; border: 1px solid #3A4558; color: var(--ui-tx); }
.ui-btn.primary { background: var(--ui-blue); border-color: var(--ui-blue); color: #fff; font-weight: 600; }
.ui-top.solo { border-bottom: 1px solid var(--ui-line); }

/* icons in the interface: simple line shapes */
.ic { width: 16px; height: 16px; display: inline-block; flex: none; position: relative; border: 1.4px solid currentColor; border-radius: 3px; opacity: .9; }
.ic::after { content: ""; position: absolute; left: 3px; right: 3px; top: 4px; height: 1.4px; background: currentColor; box-shadow: 0 3px 0 currentColor; }
.ic-text::after { left: 3px; right: 4px; }
.ic-hist { border-radius: 50%; }
.ic-hist::after { left: 6px; top: 3px; width: 1.4px; height: 5px; right: auto; box-shadow: 2px 3px 0 -0.2px currentColor; }
.ic-term { border-radius: 2px 6px 2px 2px; }
.ic-pref::after { box-shadow: 0 3px 0 currentColor, 0 6px 0 currentColor; top: 3px; }
.ic.lg { width: 30px; height: 36px; border-radius: 4px; color: #CBD5E1; }
.ic.lg::after { top: 10px; left: 6px; right: 6px; box-shadow: 0 5px 0 currentColor, 0 10px 0 currentColor; }

/* document translation screen */
.ui-docjob { margin: 22px auto 6px; max-width: 520px; padding: 0 16px; }
.ui-file { display: flex; gap: 16px; align-items: center; padding: 16px 18px; border: 1px solid #334155; border-radius: 10px; background: var(--ui-pane); }
.ui-file b { font-size: 14px; font-weight: 600; }
.ui-chips { display: flex; gap: 6px; margin-top: 6px; flex-wrap: wrap; }
.ui-chips span { font-size: 11px; padding: 2px 9px; border: 1px solid #3A4558; border-radius: 999px; color: var(--ui-tx); }
.ui-prog { margin: 20px 4px 0; }
.ui-prog-l { display: flex; justify-content: space-between; font-size: 12px; color: var(--ui-tx2); }
.ui-bar { height: 6px; border-radius: 3px; background: #273143; margin-top: 8px; overflow: hidden; }
.ui-bar i { display: block; height: 100%; background: #3B82F6; border-radius: 3px; }
.ui-ctl { display: flex; justify-content: center; align-items: center; gap: 10px; margin: 18px 0 18px; font-size: 12px; }
.ui-table { margin: 0 16px 16px; border: 1px solid var(--ui-line); border-radius: 10px; overflow: hidden; }
.ui-table-h { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: #111A2B; }
.ui-table-h b { font-size: 13px; font-weight: 600; }
.ui-count { font-size: 11px; padding: 3px 8px; border-radius: 6px; background: #1E293B; color: var(--ui-tx2); }
.ui-row { display: grid; grid-template-columns: 2.4fr 1fr .8fr .8fr; align-items: center; padding: 10px 16px; border-top: 1px solid var(--ui-line); background: var(--ui-pane); font-size: 12px; }
.ui-row.hd { background: #1A2436; color: var(--ui-tx2); }
.ui-row span:first-child { display: flex; align-items: center; gap: 10px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ui-row .ic { width: 12px; height: 14px; }
.ui-row .ic::after { display: none; }
.ui-dir { font-style: normal; color: #60A5FA; background: #1E3A5F; padding: 2px 7px; border-radius: 5px; font-size: 11px; }
.ui-row .ok { color: #34D399; }
.ui-row .ok::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #34D399; margin-right: 6px; vertical-align: 1px; }

/* ---------- Story pages: problem, approach, benefits ---------- */
.tag { display: flex; align-items: center; gap: 12px; color: var(--tx3); margin-bottom: 20px; }
.tag::before { content: ""; width: 20px; height: 1px; background: currentColor; flex: none; }
.tag.accent { color: var(--sky); flex-wrap: wrap; }
.tag.accent em { font: 400 14px/1.4 var(--body); font-style: normal; letter-spacing: 0; text-transform: none; color: var(--tx2); }

.story { display: grid; grid-template-columns: 3.5fr 8.5fr; gap: 72px; align-items: start; }
.issue { padding: 22px 0 26px; border-top: 1px solid var(--line); }
.issue:last-child { border-bottom: 1px solid var(--line); }
.issue + .tag { margin-top: 44px; }
.issue h3 { font-size: 17px; line-height: 1.45; }
.issue p { margin-top: 8px; font-size: 15px; color: var(--tx2); }
html[lang="zh-CN"] .issue p { font-size: 14.5px; }

.values { margin-top: 104px; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.value { position: relative; padding-top: 24px; border-top: 1px solid var(--line2); }
.value::before { content: ""; position: absolute; top: -1px; left: 0; width: 40px; height: 2px; background: var(--blue); }
.value h3 { font-size: 20px; line-height: 1.35; }
.value p { margin-top: 10px; font-size: 15px; color: var(--tx2); }
.value a { color: var(--sky); border-bottom: 1px solid rgba(125, 190, 255, .4); }
.value a:hover { border-bottom-color: var(--sky); }

/* ---------- 01 Security: deployment topology ---------- */
.domain { position: relative; border: 1px dashed #3A6390; border-radius: 16px; padding: 52px 28px 28px; }
.domain-label { position: absolute; top: -12px; left: 24px; display: flex; gap: 12px; align-items: baseline; background: var(--bg); padding: 0 12px; font-size: 13px; }
.domain-label b { font: 600 13px/1.4 var(--head); color: var(--sky); letter-spacing: .04em; }
.domain-label span { color: var(--tx3); }
.domain-row { display: grid; grid-template-columns: 118px 92px 1fr; align-items: center; }
.t-node { background: var(--tile); border: 1px solid var(--line2); border-radius: 10px; padding: 12px 14px; }
.t-node b { display: block; font-size: 14.5px; font-weight: 600; line-height: 1.4; }
.t-node span { display: block; margin-top: 2px; font-size: 12.5px; color: var(--tx3); line-height: 1.45; }
.t-node.user { text-align: center; padding: 20px 10px; }
.t-node.user svg { display: block; margin: 0 auto 10px; color: var(--tx2); }
.t-note { margin-top: 12px; font-size: 12.5px; line-height: 1.6; color: var(--tx3); text-align: center; }
.t-link { display: grid; gap: 10px; padding: 0 10px; }
.t-flow { display: flex; flex-direction: column; gap: 5px; font-size: 11.5px; line-height: 1.2; color: var(--tx2); white-space: nowrap; }
.t-flow.fwd span { align-self: flex-start; }
.t-flow.ret span { align-self: flex-end; }
.t-flow i { display: block; height: 1px; background: var(--blue); position: relative; }
.t-flow.fwd i::after { content: ""; position: absolute; right: -1px; top: -3px; border: 3.5px solid transparent; border-left: 6px solid var(--blue); border-right: 0; }
.t-flow.ret i::before { content: ""; position: absolute; left: -1px; top: -3px; border: 3.5px solid transparent; border-right: 6px solid var(--blue); border-left: 0; }
.t-platform { border: 1px solid var(--blue); border-radius: 12px; padding: 18px; background: rgba(46, 139, 255, .045); }
.t-plat-label { display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; margin: 0 2px 14px; }
.t-plat-label b { font: 600 13px/1.4 var(--head); color: var(--sky); letter-spacing: .04em; }
.t-plat-label span { font-size: 12.5px; color: var(--tx3); }
.t-svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 10px; }
.t-svc .t-node b { font-size: 13px; white-space: nowrap; }
.t-svc .t-node span { font-size: 12px; }
.t-note.plat { text-align: left; margin: 14px 2px 0; color: var(--tx2); }
.t-out { display: flex; flex-direction: column; align-items: center; width: 220px; margin: 0 8% 0 auto; }
.t-cut { position: relative; height: 60px; border-left: 1px dashed var(--bar); }
.t-cut i { position: absolute; left: -10px; top: 50%; margin-top: -10px; width: 20px; height: 20px; border: 1px solid var(--tx3); border-radius: 50%; background: var(--bg); }
.t-cut i::before, .t-cut i::after { content: ""; position: absolute; left: 4px; right: 4px; top: 9px; height: 1px; background: var(--tx2); transform: rotate(45deg); }
.t-cut i::after { transform: rotate(-45deg); }
.t-cut span { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); font-size: 12px; color: var(--tx3); white-space: nowrap; }
.t-node.outside { width: 100%; text-align: center; background: transparent; border-style: dashed; }
.t-node.outside b { color: var(--tx2); font-weight: 600; }

/* ---------- Light sections ---------- */
section.light { background: var(--paper); color: var(--ink); color-scheme: light; }
.light .s-label { border-color: var(--rule2); color: var(--ink3); }
.light .s-label .no { color: var(--blue-ink); }
.light .lede { color: var(--ink2); }
.light .fine { color: var(--ink3); }
.light .tag { color: var(--ink3); }
.light .tag.accent { color: var(--blue-ink); }
.light .tag.accent em { color: var(--ink2); }
.light .issue { border-color: var(--rule); }
.light .issue p { color: var(--ink2); }
.light .value { border-color: var(--rule2); }
.light .value::before { background: var(--blue-ink); }
.light .value p { color: var(--ink2); }

/* ---------- 02 Preferences ---------- */
.pf { display: grid; grid-template-columns: 1fr 28px 1fr 28px 1fr; align-items: start; }
.pf-step { display: flex; gap: 10px; align-items: baseline; margin-bottom: 16px; }
.pf-step .n { font: 600 12px/1 var(--head); color: var(--blue-ink); letter-spacing: .06em; }
.pf-step b { font-size: 15px; font-weight: 600; }
.pf-card, .pf-use { background: var(--card); border: 1px solid var(--rule); border-radius: 10px; padding: 16px 18px; }
.pf-card + .pf-card, .pf-use + .pf-use { margin-top: 12px; }
.pf-name { display: block; font-size: 14px; font-weight: 600; line-height: 1.45; }
.pf-tag, .pf-chip em { font-style: normal; }
.pf-tag { display: inline-block; margin-top: 12px; font-size: 11px; line-height: 1; padding: 5px 7px; border-radius: 4px; background: var(--blue-wash); color: var(--blue-ink); white-space: nowrap; }
.pf-card p, .pf-use p { margin-top: 8px; font-size: 13.5px; line-height: 1.7; color: var(--ink2); }
.pf-card.preset { border-color: var(--blue-ink); box-shadow: inset 0 0 0 1px rgba(23, 102, 214, .18); padding-bottom: 8px; }
.pf-card.preset .k { display: block; font-size: 12px; color: var(--ink3); }
.pf-card.preset .name { display: block; margin-top: 4px; font: 600 17px/1.35 var(--head); }
.pf-card.preset ul { list-style: none; padding: 0; margin-top: 12px; }
.pf-card.preset li { position: relative; padding: 10px 0 10px 22px; border-top: 1px solid var(--rule); font-size: 13.5px; line-height: 1.5; }
.pf-card.preset li::before { content: ""; position: absolute; left: 2px; top: 16px; width: 9px; height: 4px; border-left: 1.6px solid var(--blue-ink); border-bottom: 1.6px solid var(--blue-ink); transform: rotate(-45deg); }
.pf-note { margin-top: 12px; font-size: 13px; color: var(--ink3); line-height: 1.6; }
.pf-use b { display: block; font-size: 14px; font-weight: 600; }
.pf-chip { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding: 4px 9px; border: 1px solid var(--rule2); border-radius: 6px; font-size: 12px; color: var(--ink3); max-width: 100%; }
.pf-chip em { color: var(--ink); padding-left: 8px; border-left: 1px solid var(--rule); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-arrow { position: relative; align-self: stretch; }
.pf-arrow::before { content: ""; position: absolute; top: 112px; left: 6px; right: 7px; height: 1px; background: var(--rule2); }
.pf-arrow::after { content: ""; position: absolute; top: 109px; right: 4px; border: 3.5px solid transparent; border-left: 6px solid var(--ink3); border-right: 0; }
.pf-foot { margin-top: 24px; }

/* ---------- 03 Workspace ---------- */
.ws { display: grid; grid-template-columns: 0.72fr 1.28fr; gap: 72px; align-items: start; }
.ws-list { list-style: none; padding: 0; counter-reset: f; }
.ws-list li { counter-increment: f; padding: 24px 0 24px 44px; border-top: 1px solid var(--line); position: relative; }
.ws-list li:last-child { border-bottom: 1px solid var(--line); }
.ws-list li::before { content: counter(f, decimal-leading-zero); position: absolute; left: 0; top: 28px; font: 600 12px/1 var(--head); color: var(--blue); letter-spacing: .06em; }
.ws-list h3 { font-size: 17px; }
.ws-list p { margin-top: 6px; font-size: 14.5px; color: var(--tx2); }
.ws-visual figcaption { margin-top: 16px; text-align: center; }

/* ---------- 04 Fidelity ---------- */
.papers { display: grid; grid-template-columns: 1fr 80px 1fr; align-items: center; }
.paper figcaption { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; font: 600 13px/1.3 var(--body); color: var(--ink2); }
.paper figcaption em { font-style: normal; font: 600 11px/1 var(--head); letter-spacing: .1em; color: var(--ink3); border: 1px solid var(--rule); border-radius: 4px; padding: 4px 6px; }
.paper.out figcaption { color: var(--blue-ink); }
.sheet { display: block; background: #fff; border-radius: 3px; border: 1px solid var(--rule); box-shadow: 0 1px 0 rgba(11,18,32,.04), 0 28px 56px -32px rgba(11,18,32,.35); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.sheet:hover { transform: translateY(-3px); box-shadow: 0 1px 0 rgba(11,18,32,.04), 0 36px 64px -32px rgba(11,18,32,.42); }
.paper.out .sheet { border-color: rgba(23,102,214,.55); box-shadow: 0 0 0 1px rgba(23,102,214,.35), 0 28px 56px -32px rgba(23,102,214,.45); }
.papers-arrow { position: relative; height: 1px; background: var(--blue-ink); margin: 28px 12px 0; }
.papers-arrow::after { content: ""; position: absolute; right: -1px; top: -4px; border: 4.5px solid transparent; border-left: 7px solid var(--blue-ink); border-right: 0; }
.papers-arrow span { position: absolute; left: 50%; top: -30px; transform: translateX(-50%); font: 600 11px/1 var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--blue-ink); }
.fid-note { margin-top: 24px; text-align: center; }
.kept { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 56px; margin-top: 80px; padding-top: 40px; border-top: 1px solid var(--rule2); }
.kept h3 { font-size: 18px; margin-bottom: 14px; }
.kept p { color: var(--ink2); font-size: 15px; }
.kept ul { list-style: none; padding: 0; }
.kept li { padding: 10px 0 10px 26px; border-bottom: 1px solid var(--rule); position: relative; font-size: 15px; }
.kept li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 10px; height: 5px; border-left: 2px solid var(--blue-ink); border-bottom: 2px solid var(--blue-ink); transform: rotate(-45deg); }

/* ---------- 05 Core technology ---------- */
.arch { display: grid; grid-template-columns: 148px 44px 1fr 44px 148px; grid-template-rows: auto 88px auto; }
.endcap { grid-row: 1; border: 1px solid var(--line2); border-radius: var(--radius); padding: 22px 18px; display: flex; flex-direction: column; justify-content: center; }
.endcap.src { grid-column: 1; }
.endcap.out { grid-column: 5; border-color: var(--blue); }
.endcap b { font: 600 18px/1.2 var(--head); }
.endcap span { margin-top: 8px; font-size: 13px; color: var(--tx3); line-height: 1.5; }
.arch-arrow { grid-row: 1; position: relative; }
.arch-arrow.a1 { grid-column: 2; }
.arch-arrow.a2 { grid-column: 4; }
.arch-arrow::before { content: ""; position: absolute; top: 50%; left: 7px; right: 9px; height: 1px; background: var(--bar); }
.arch-arrow::after { content: ""; position: absolute; top: 50%; right: 5px; margin-top: -4px; border: 4px solid transparent; border-left: 6px solid var(--bar); border-right: 0; }
.arch-vega { grid-column: 3; grid-row: 1; border: 1px solid var(--line2); border-radius: 14px; background: var(--panel); }
.arch-label { padding: 14px 22px; border-bottom: 1px solid var(--line); font: 600 12px/1.3 var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--tx3); }
html[lang="zh-CN"] .arch-label { text-transform: none; font-size: 13px; letter-spacing: .06em; }
.arch-steps { display: grid; grid-template-columns: repeat(3, 1fr); }
.st { padding: 22px 22px 26px; border-left: 1px solid var(--line); }
.st:first-child { border-left: 0; }
.st .n, .pro-h .n { font: 600 12px/1 var(--head); color: var(--blue); letter-spacing: .06em; }
.st h3, .pro-h h3 { font-size: 20px; margin-top: 10px; }
.st p { margin-top: 8px; font-size: 14px; color: var(--tx2); line-height: 1.65; }
.arch-links { grid-column: 3; grid-row: 2; display: grid; grid-template-columns: repeat(3, 1fr); }
.lk { position: relative; display: flex; align-items: center; padding-left: 40px; font-size: 12.5px; color: var(--tx2); }
.lk.down { grid-column: 2; }
.lk.up { grid-column: 3; }
.lk i { position: absolute; left: 24px; top: 0; bottom: 0; width: 1px; background: var(--blue); }
.lk.down i::after { content: ""; position: absolute; left: -3px; bottom: -1px; border: 3.5px solid transparent; border-top: 6px solid var(--blue); border-bottom: 0; }
.lk.up i::after { content: ""; position: absolute; left: -3px; top: -1px; border: 3.5px solid transparent; border-bottom: 6px solid var(--blue); border-top: 0; }
.arch-pro { grid-column: 3; grid-row: 3; border: 1px solid var(--blue); border-radius: 14px; background: rgba(46, 139, 255, .06); }
.arch-pro .arch-label { color: var(--sky); border-color: rgba(46, 139, 255, .28); }
.pro-body { display: grid; grid-template-columns: 200px 1fr; gap: 32px; padding: 22px 22px 26px; }
.pro-body p { font-size: 15px; color: var(--tx2); }

.cmp { margin-top: 112px; }
.cmp h3 { font-size: 22px; margin-bottom: 28px; }
.cmp table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.cmp th, .cmp td { text-align: left; padding: 22px 28px 22px 0; border-top: 1px solid var(--line); vertical-align: top; }
.cmp thead th { border-top: 0; font: 600 12px/1.3 var(--head); letter-spacing: .12em; color: var(--tx3); text-transform: uppercase; padding-top: 0; }
html[lang="zh-CN"] .cmp thead th { text-transform: none; font-size: 13px; letter-spacing: .06em; }
.cmp thead th.astra { color: var(--sky); }
.cmp tbody th { font-weight: 600; width: 18%; }
.cmp td.trad { color: var(--tx3); width: 36%; }
.cmp td.astra { color: var(--tx); }
.cmp tbody tr:last-child > * { border-bottom: 1px solid var(--line); }

/* ---------- 06 Quality and speed ---------- */
.modes { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mode { border: 1px solid var(--line2); border-radius: 16px; padding: 36px 40px 44px; background: var(--bg); }
.mode.deep { border-color: var(--blue); box-shadow: inset 0 0 0 1px rgba(46, 139, 255, .22); }
.mode-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 48px; }
.mode-switch { display: inline-flex; align-items: center; gap: 10px; padding: 8px 12px; border: 1px solid var(--line2); border-radius: 8px; font-size: 13px; color: var(--tx2); background: var(--panel); white-space: nowrap; }
.mode-switch em { font-style: normal; color: var(--tx3); font-size: 12px; }
.mode.deep .mode-switch em { color: var(--sky); }
.mode-for { font-size: 13px; color: var(--tx3); }
.mode .tag { margin-bottom: 14px; }
.mode.deep .tag { color: var(--sky); }
.mode h3 { font-size: 30px; line-height: 1.25; }
.mode p.b { margin-top: 16px; color: var(--tx2); font-size: 15.5px; max-width: 480px; }
.eval { margin-top: 56px; display: grid; grid-template-columns: 4fr 8fr; gap: 72px; padding-top: 32px; border-top: 1px solid var(--line); }
.eval h3 { font-size: 18px; line-height: 1.45; }
.eval p { font-size: 15.5px; color: var(--tx2); }
.eval .eval-more { margin-top: 12px; font-size: 14px; color: var(--tx3); }

/* ---------- Trial CTA ---------- */
.cta { background: var(--panel); border-top: 1px solid var(--line); }
.cta-head { text-align: center; display: flex; flex-direction: column; align-items: center; }
.cta-head .title { margin-top: 24px; }
.cta-head .lede { margin-top: 24px; max-width: 700px; }
.steps { list-style: none; padding: 0; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 0 0 28px 54px; }
.steps li::before {
  content: counter(s, decimal-leading-zero);
  position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--blue); color: var(--sky); background: var(--bg);
  font: 600 12.5px/32px var(--head); text-align: center;
}
.steps li::after { content: ""; position: absolute; left: 17px; top: 40px; bottom: 6px; width: 1px; background: var(--line2); }
.steps li:last-child { padding-bottom: 0; }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 17px; padding-top: 5px; }
.steps p { margin-top: 4px; font-size: 15px; color: var(--tx2); }
.steps-h { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 80px; }
.steps-h li { padding: 0; }
.steps-h li::before { position: static; display: block; margin-bottom: 22px; }
.steps-h li::after { left: 48px; right: -16px; top: 17px; bottom: auto; width: auto; height: 1px; }
.steps-h h3 { padding-top: 0; }
.cta-foot { display: flex; justify-content: space-between; gap: 40px; align-items: center; margin-top: 72px; padding-top: 32px; border-top: 1px solid var(--line); }
.cta-note { display: flex; gap: 16px; font-size: 14.5px; color: var(--tx2); max-width: 680px; }
.cta-note b { color: var(--tx); font-weight: 600; white-space: nowrap; }
.cta-btns { display: flex; gap: 12px; flex-wrap: wrap; flex: none; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); padding: 40px 0 48px; }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot-brand { display: flex; align-items: center; gap: 18px; font-size: 13px; color: var(--tx3); }
.foot-brand img { height: 22px; width: auto; }
.foot-meta { display: flex; gap: 24px; flex-wrap: wrap; font-size: 13px; color: var(--tx3); align-items: center; }
.foot-meta a:hover,
.foot-meta button[data-contact]:hover { color: var(--tx); }
.foot-meta button[data-contact] { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }

.contact[hidden] { display: none; }
.contact { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 24px; }
.contact-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.62); }
.contact-card {
  position: relative; width: min(440px, 100%);
  background: var(--panel); border: 1px solid var(--line2); border-radius: 16px;
  padding: 32px 28px 28px; box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}
.contact-card h2 { font-size: 28px; }
.contact-card p { margin-top: 12px; color: var(--tx2); font-size: 15px; }
.contact-addr {
  margin-top: 20px; padding: 8px 8px 8px 16px; border-radius: 8px;
  background: var(--tile); border: 1px solid var(--line);
  display: flex; align-items: center; gap: 12px;
  font: 600 16px/1.4 var(--body); color: var(--tx);
}
.contact-addr span:first-child { min-width: 0; user-select: all; }
.contact-tools { display: flex; gap: 2px; margin-left: auto; flex: none; }
.contact-ico {
  width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 8px; background: transparent; color: var(--tx3); cursor: pointer;
  transition: background .15s, color .15s;
}
.contact-ico .check { display: none; }
.contact-ico:hover,
.contact-ico:focus-visible { color: var(--tx); background: rgba(255, 255, 255, 0.06); outline: none; }
.contact-ico:active { color: #fff; background: var(--blue); }
.contact-ico.on { color: var(--sky); background: rgba(46, 139, 255, 0.16); }
.contact-ico.on .copy { display: none; }
.contact-ico.on .check { display: block; }
.contact-x {
  position: absolute; top: 12px; right: 12px; width: 36px; height: 36px;
  border: 0; border-radius: 8px; background: none; color: var(--tx2);
  font-size: 24px; line-height: 1; cursor: pointer;
}
.contact-x:hover { color: var(--tx); }

/* ---------- Trial page ---------- */
.trial-head { padding: 40px 0 72px; border-bottom: 1px solid var(--line); }
.trial-head .title { font-size: 52px; }
html[lang="zh-CN"] .trial-head .title { font-size: 48px; }
.trial-kicker { display: flex; align-items: baseline; justify-content: space-between; gap: 12px 24px; margin-bottom: 20px; }
.back { color: var(--tx3); font-size: 14px; margin-left: auto; flex: none; }
.back:hover { color: var(--tx); }
.trial-body { padding: 72px 0 128px; }
.trial-grid { display: grid; grid-template-columns: 1fr 360px; gap: 64px; align-items: start; }
.form-card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 48px; }
.fs { border: 0; margin: 0; padding: 0; min-width: 0; }
.fs + .fs { margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--line); }
.fs-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 28px; flex-wrap: wrap; }
.fs-head .n { font: 600 12px/1 var(--head); color: var(--blue); letter-spacing: .06em; }
.fs-head h2 { font-size: 20px; }
.fs-head p { font-size: 13px; color: var(--tx3); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 20px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px 20px; }
.field { display: flex; flex-direction: column; min-width: 0; }
.field.full, .fs .full { grid-column: 1 / -1; }
.field > label, .field > .label { font-size: 14px; font-weight: 600; margin-bottom: 8px; display: flex; gap: 8px; align-items: baseline; padding: 0; }
.req { color: var(--sky); font-weight: 600; }
.opt { font-weight: 400; color: var(--tx3); font-size: 12.5px; }
.input, .select, textarea {
  width: 100%; height: 48px; padding: 0 14px;
  background: var(--bg); color: var(--tx); border: 1px solid var(--line2); border-radius: 6px;
  font: 400 15px/1.4 var(--body); transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
textarea { height: 112px; padding: 12px 14px; resize: vertical; }
.input::placeholder, textarea::placeholder { color: var(--tx3); }
.input:hover, .select:hover, textarea:hover { border-color: var(--bar); }
.input:focus, .select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(46, 139, 255, .18); }
.select {
  padding-right: 38px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23A9B2BF' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.select:invalid, .select.empty { color: var(--tx3); }
.select option { color: var(--tx); background: var(--panel); }
.phone { display: grid; grid-template-columns: 108px 1fr; gap: 8px; }
.hint { margin-top: 8px; font-size: 12.5px; color: var(--tx3); line-height: 1.55; }
.hint button[data-contact] {
  background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer;
}
.field.bad .input, .field.bad .select { border-color: var(--danger); }
.err { color: var(--danger); font-size: 13px; margin-top: 6px; }
.err:empty { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.chip span {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px;
  border: 1px solid var(--line2); border-radius: 6px; font-size: 14px; color: var(--tx2); transition: all .15s;
}
.chip span::before { content: ""; width: 12px; height: 12px; border: 1.4px solid var(--bar); border-radius: 3px; flex: none; transition: all .15s; }
.chip input:hover + span { border-color: var(--bar); color: var(--tx); }
.chip input:checked + span { border-color: var(--blue); color: var(--tx); background: rgba(46, 139, 255, .1); }
.chip input:checked + span::before { background: var(--blue); border-color: var(--blue); box-shadow: inset 0 0 0 2px var(--panel); }
.chip input:focus-visible + span { outline: 2px solid var(--sky); outline-offset: 2px; }
.other-text { margin-top: 12px; }
.other-text[hidden] { display: none; }
.legal { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--tx2); font-weight: 400 !important; cursor: pointer; }
.legal input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--blue); flex: none; }
.legal a { color: var(--sky); }
.captcha:empty { display: none; }
.submit-row { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); display: grid; gap: 20px; }
.form-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.form-actions .btn { min-width: 200px; }
.form-actions .btn[disabled] { opacity: .6; cursor: progress; }
.form-error { color: var(--danger); font-size: 14px; }
.form-error:empty { display: none; }
.ok-view { display: none; padding: 24px 0 8px; }
.ok-view.show { display: block; }
.ok-view .mark { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--blue); position: relative; margin-bottom: 24px; }
.ok-view .mark::after { content: ""; position: absolute; left: 15px; top: 15px; width: 15px; height: 8px; border-left: 2px solid var(--sky); border-bottom: 2px solid var(--sky); transform: rotate(-45deg); }
.ok-view h2 { font-size: 26px; }
.ok-view p { margin-top: 12px; color: var(--tx2); max-width: 520px; }
.ok-view .btn { margin-top: 32px; }
.side { position: sticky; top: 100px; }
.side h2 { font-size: 18px; margin-bottom: 28px; }
.side .data { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--tx2); }
.side .help { margin-top: 32px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); }
.side .help h3 { font-size: 15px; }
.side .help p { margin-top: 4px; font-size: 14px; color: var(--tx2); }
.side .help .btn { margin-top: 16px; width: 100%; height: 42px; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .menu-btn { display: block; }
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px;
  }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn),
  .nav-links button[data-contact] { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; text-align: left; width: 100%; }
  .nav-links .btn { margin-top: 16px; height: 46px; }
  .nav-right { gap: 12px; }
}
@media (max-width: 1100px) {
  .head-split, .hero-sub { grid-template-columns: 1fr; row-gap: 28px; }
  .s-head .title { grid-column: 1 / -1; }
  .s-head .lede { grid-column: 4 / -1; }
  .s-head { margin-bottom: 72px; }
  .hero-side { align-items: flex-start; }
  .story, .ws, .eval { grid-template-columns: 1fr; gap: 56px; }
  .values-grid { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .steps-h { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .steps-h li:nth-child(2)::after { display: none; }
  .trial-grid { grid-template-columns: 1fr; }
  .side { position: static; }
}
@media (max-width: 860px) {
  :root { --gutter: 20px; }
  section { padding: 96px 0; }
  .hero { padding-top: 32px; }
  .hero h1 { font-size: 46px; line-height: 1.06; }
  html[lang="zh-CN"] .hero h1 { font-size: 44px; letter-spacing: 0.02em; }
  .hero-sub { margin-top: 32px; }
  .title, .trial-head .title { font-size: 32px; }
  html[lang="zh-CN"] .title, html[lang="zh-CN"] .trial-head .title { font-size: 31px; }
  .lede { font-size: 16.5px; }
  html[lang="zh-CN"] .lede { font-size: 16px; }
  .s-label { margin-bottom: 32px; }
  .s-head .lede { grid-column: 1 / -1; margin-top: 24px; }
  .s-head { margin-bottom: 56px; }
  .stage { margin-top: 56px; }
  .ui-app { grid-template-columns: 1fr; }
  .ui-side { display: none; }
  .ui-panes { grid-template-columns: 1fr; }
  .ui-pane-body { height: 220px; }
  .ui-foot .ui-meta, .ui-foot .ui-sep, .ui-foot .ui-btn:not(.primary) { display: none; }
  .ui-row { grid-template-columns: 2fr 1fr .9fr; }
  .ui-row span:nth-child(3) { display: none; }
  .ui-seg span { padding: 5px 9px; }
  .ui-seg span.sw { padding: 5px 4px; }
  .values { margin-top: 72px; }
  .values-grid { grid-template-columns: 1fr; gap: 32px; }
  .domain { padding: 44px 14px 16px; }
  .domain-label { left: 14px; flex-direction: column; gap: 0; }
  .domain-row { grid-template-columns: 1fr; }
  .t-users { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: center; }
  .t-note { margin-top: 0; text-align: left; }
  .t-link { display: flex; justify-content: center; gap: 48px; padding: 14px 0; }
  .t-flow { flex-direction: row; align-items: center; gap: 8px; }
  .t-flow i { width: 1px; height: 34px; }
  .t-flow.fwd i::after { right: auto; left: -3px; top: auto; bottom: -1px; border: 3.5px solid transparent; border-top: 6px solid var(--blue); border-bottom: 0; }
  .t-flow.ret i::before { left: -3px; top: -1px; border: 3.5px solid transparent; border-bottom: 6px solid var(--blue); border-top: 0; }
  .t-svc { grid-template-columns: 1fr; }
  .t-out { margin: 0 auto; }
  .pf { grid-template-columns: 1fr; }
  .pf-arrow { height: 36px; }
  .pf-arrow::before { top: 6px; bottom: 8px; left: 50%; right: auto; width: 1px; height: auto; }
  .pf-arrow::after { top: auto; bottom: 4px; right: auto; left: 50%; margin-left: -3.5px; border: 3.5px solid transparent; border-top: 6px solid var(--ink3); border-bottom: 0; }
  .papers { grid-template-columns: 1fr; gap: 0; }
  .papers-arrow { width: 1px; height: 48px; margin: 8px auto 20px; }
  .papers-arrow::after { right: auto; left: -4px; top: auto; bottom: -1px; border: 4.5px solid transparent; border-top: 7px solid var(--blue-ink); border-bottom: 0; }
  .papers-arrow span { left: 14px; top: 50%; transform: translateY(-50%); }
  .kept { grid-template-columns: 1fr; gap: 40px; margin-top: 56px; }
  .arch { grid-template-columns: 1fr; grid-template-rows: none; }
  .endcap.src, .arch-arrow.a1, .arch-vega, .arch-links, .arch-pro, .arch-arrow.a2, .endcap.out { grid-column: 1; }
  .endcap.src { grid-row: 1; } .arch-arrow.a1 { grid-row: 2; } .arch-vega { grid-row: 3; } .arch-links { grid-row: 4; }
  .arch-pro { grid-row: 5; } .arch-arrow.a2 { grid-row: 6; } .endcap.out { grid-row: 7; }
  .arch-arrow { height: 36px; }
  .arch-arrow::before { top: 6px; bottom: 8px; left: 50%; right: auto; width: 1px; height: auto; }
  .arch-arrow::after { top: auto; bottom: 4px; left: 50%; right: auto; margin: 0 0 0 -4px; border: 4px solid transparent; border-top: 6px solid var(--bar); border-bottom: 0; }
  .arch-steps { grid-template-columns: 1fr; }
  .st { border-left: 0; border-top: 1px solid var(--line); }
  .st:first-child { border-top: 0; }
  .arch-links { grid-template-columns: 1fr 1fr; height: 72px; }
  .lk.down { grid-column: 1; }
  .lk.up { grid-column: 2; }
  .pro-body { grid-template-columns: 1fr; gap: 10px; }
  .cmp { margin-top: 72px; }
  .cmp table, .cmp tbody, .cmp tr, .cmp th, .cmp td { display: block; width: auto !important; }
  .cmp thead { display: none; }
  .cmp tbody tr { padding: 18px 0; border-top: 1px solid var(--line); }
  .cmp th, .cmp td { border: 0 !important; padding: 4px 0; }
  .cmp td.trad::before, .cmp td.astra::before { content: attr(data-h); display: block; font-size: 12px; color: var(--tx3); margin-top: 6px; }
  .cmp td.astra::before { color: var(--sky); }
  .modes { grid-template-columns: 1fr; }
  .mode { padding: 28px 24px 32px; }
  .mode-top { margin-bottom: 32px; flex-wrap: wrap; }
  .mode h3 { font-size: 24px; }
  .eval { margin-top: 40px; gap: 16px; }
  .steps-h { grid-template-columns: 1fr; gap: 32px; margin-top: 56px; }
  .steps-h li::after { display: none; }
  .cta-foot { flex-direction: column; align-items: stretch; }
  .cta-note { flex-direction: column; gap: 4px; }
  .cta-btns .btn { flex: 1; }
  .form-card { padding: 28px 20px; }
  .grid2, .grid3 { grid-template-columns: 1fr; }
  .foot-brand { flex-direction: column; align-items: flex-start; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
