/* ============================================================
   驷腾云算 Siteng Cloud — Design System v3 "Aurora"
   Palette derived from the brand logo (deep blue → violet).
   Light canvas · gradient accents · soft depth · pill geometry.
   ============================================================ */

/* ---------------------------------------------------------------
   1. TOKENS
   --------------------------------------------------------------- */
:root {
  /* brand — sampled from the logo gradient */
  --b-900: #101C6B;
  --b-800: #1B2F9E;
  --b-700: #2438C4;
  --b-600: #2C4BE2;
  --b-500: #4A5CF0;
  --b-400: #6A4CF5;
  --b-300: #8B6BF8;
  --b-200: #A98CFF;
  --b-100: #C9B8FF;
  --b-50:  #EEEAFF;

  /* ink — deep navy, softer than pure black */
  --ink:    #0B1235;
  --ink-1:  #232C57;
  --ink-2:  #5B6486;
  --ink-3:  #8C94B4;
  --ink-4:  #B4BAD2;

  /* surfaces */
  --paper:  #FFFFFF;
  --canvas: #F6F7FD;
  --canvas-2: #F1F2FA;
  --line:   #E7EAF6;
  --line-2: #DDE1F2;

  /* dark surfaces */
  --dark:      #0A1030;
  --dark-2:    #131A44;
  --on-dark:   #E9ECFB;
  --on-dark-2: #9098C4;

  /* gradients */
  --grad:      linear-gradient(118deg, #2C4BE2 0%, #6A4CF5 54%, #9E7CFF 100%);
  --grad-2:    linear-gradient(142deg, #16226E 0%, #2B32BE 46%, #6A4CF5 100%);
  --grad-3:    linear-gradient(120deg, #1B2F9E 0%, #4A5CF0 100%);
  --grad-soft: linear-gradient(118deg, #EEEAFF 0%, #E6F0FF 100%);
  --grad-line: linear-gradient(90deg, transparent 0%, rgba(90,100,240,.45) 50%, transparent 100%);

  /* shadows — tinted with brand hue, never neutral grey */
  --sh-1: 0 1px 2px rgba(16,24,74,.04), 0 6px 18px -10px rgba(16,24,74,.10);
  --sh-2: 0 2px 6px rgba(16,24,74,.04), 0 20px 44px -22px rgba(38,48,160,.20);
  --sh-3: 0 40px 90px -40px rgba(30,40,160,.35), 0 2px 8px rgba(16,24,74,.05);
  --sh-brand: 0 14px 30px -12px rgba(66,78,230,.60);
  --sh-dark: 0 40px 80px -34px rgba(10,16,48,.55);

  /* geometry */
  --r-xs: 10px;
  --r-sm: 14px;
  --r-md: 20px;
  --r-lg: 26px;
  --r-xl: 34px;
  --r-pill: 999px;

  --wrap: 1180px;
  --gutter: 28px;

  /* type */
  --f-sans: "Inter", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Microsoft YaHei", sans-serif;
  --f-disp: "Inter", "Segoe UI Variable Display", "Segoe UI", system-ui, "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", sans-serif;
  --f-mono: "Cascadia Mono", "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --ease: cubic-bezier(.22,.68,.32,1);
}

/* ---------------------------------------------------------------
   2. RESET
   --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 15.5px;
  line-height: 1.72;
  font-feature-settings: "cv05" 1, "ss01" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4, h5, p, ul, figure, pre { margin: 0; }
ul { padding: 0; list-style: none; }
table { border-collapse: collapse; width: 100%; }
em, i { font-style: normal; }
u { text-decoration: none; }
::selection { background: rgba(106,76,245,.18); }

:focus-visible {
  outline: 2px solid var(--b-500);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 0 0 var(--r-sm) 0;
}
.skip:focus { left: 0; }

/* ---------------------------------------------------------------
   3. LAYOUT
   --------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.section { padding: 108px 0; position: relative; }
.section.tight { padding: 40px 0 0; }
.section.soft { background: var(--canvas); }
.section.soft::before,
.section.soft::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-2), transparent);
}
.section.soft::before { top: 0; }
.section.soft::after { bottom: 0; }

/* Grid/flex children default to min-width:auto, which lets a long <pre> line
   or a wide table push the whole track wider than the viewport. Zeroing it
   keeps every track inside its container and lets .code / .table-wrap scroll
   internally instead of breaking the page. */
.hero-inner > *,
.bento > *,
.caps > *,
.mgrid > *,
.steps > *,
.price-grid > *,
.comp-grid > *,
.ind-wrap > *,
.band-inner > *,
.panel-tele > *,
.f-top > *,
.f-bot > *,
.price-split > *,
.pcard.wide > *,
.mcard-foot > *,
.hero-copy,
.hero-visual,
.panel,
.panel-body { min-width: 0; }

/* ---------------------------------------------------------------
   4. AMBIENT — aurora blooms, grid, ring
   --------------------------------------------------------------- */
.amb { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.amb i {
  position: absolute; border-radius: 50%;
  filter: blur(96px); will-change: transform;
}
.amb .a1 {
  width: 660px; height: 660px; left: -14%; top: -26%;
  background: radial-gradient(circle at 50% 50%, rgba(70,96,255,.55), rgba(70,96,255,0) 68%);
  animation: drift-a 22s var(--ease) infinite alternate;
}
.amb .a2 {
  width: 600px; height: 600px; right: -12%; top: -20%;
  background: radial-gradient(circle at 50% 50%, rgba(158,124,255,.50), rgba(158,124,255,0) 68%);
  animation: drift-b 26s var(--ease) infinite alternate;
}
.amb .a3 {
  width: 820px; height: 820px; left: 26%; top: 6%;
  background: radial-gradient(circle at 50% 50%, rgba(120,150,255,.28), rgba(120,150,255,0) 70%);
  animation: drift-a 30s var(--ease) -8s infinite alternate;
}
@keyframes drift-a {
  from { transform: translate3d(0,0,0) scale(1); }
  to   { transform: translate3d(60px, 42px, 0) scale(1.12); }
}
@keyframes drift-b {
  from { transform: translate3d(0,0,0) scale(1.06); }
  to   { transform: translate3d(-54px, 36px, 0) scale(.94); }
}

.grid-bg::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(36,52,150,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36,52,150,.055) 1px, transparent 1px);
  background-size: 68px 68px;
  -webkit-mask-image: radial-gradient(ellipse 92% 62% at 50% 0%, #000 0%, transparent 74%);
  mask-image: radial-gradient(ellipse 92% 62% at 50% 0%, #000 0%, transparent 74%);
}

.grain {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E");
}

/* decorative ring echoing the logo mark */
.ring-deco {
  position: absolute; z-index: 0; pointer-events: none;
  width: 460px; height: 460px; right: -110px; top: 40px;
  opacity: .5;
}
.ring-deco svg { width: 100%; height: 100%; animation: spin 46s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------------------------------------------------------------
   5. TYPE
   --------------------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--b-600);
  background: var(--b-50); border: 1px solid rgba(106,76,245,.16);
  padding: 6px 14px 6px 11px; border-radius: var(--r-pill);
  margin-bottom: 20px;
}
.eyebrow b {
  display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: var(--r-pill); background: var(--grad); color: #fff;
  font-size: 10.5px; font-weight: 700; letter-spacing: .02em;
}
.sec-head { max-width: 780px; }
.title {
  font-family: var(--f-disp);
  font-size: clamp(30px, 3.5vw, 46px);
  font-weight: 700; line-height: 1.16; letter-spacing: -.034em;
  color: var(--ink);
}
.sec-sub {
  margin-top: 18px; font-size: 16.5px; line-height: 1.78;
  color: var(--ink-2); max-width: 62ch;
}
.g, .hl, .grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.mono { font-family: var(--f-mono); font-size: .92em; }

/* ---------------------------------------------------------------
   6. BUTTONS
   --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 44px; padding: 0 22px; border-radius: var(--r-pill);
  font-size: 14.5px; font-weight: 600; letter-spacing: -.01em;
  white-space: nowrap; cursor: pointer;
  transition: transform .26s var(--ease), box-shadow .26s var(--ease),
              background-color .26s var(--ease), border-color .26s var(--ease), color .26s var(--ease);
}
.btn svg { width: 17px; height: 17px; flex: none; transition: transform .26s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-sm { height: 38px; padding: 0 17px; font-size: 13.5px; }
.btn-lg { height: 52px; padding: 0 30px; font-size: 15.5px; }
.btn-block { width: 100%; }

.btn-primary {
  color: #fff; background: var(--grad); background-size: 168% 100%;
  box-shadow: var(--sh-brand);
}
.btn-primary:hover {
  transform: translateY(-2px); background-position: 100% 0;
  box-shadow: 0 20px 38px -12px rgba(66,78,230,.68);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  color: var(--ink-1); background: var(--paper);
  border: 1px solid var(--line-2);
  box-shadow: var(--sh-1);
}
.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(106,76,245,.42); color: var(--b-600);
  box-shadow: 0 14px 30px -16px rgba(38,48,160,.30);
}
.btn-dark {
  color: #fff; background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.20);
  backdrop-filter: blur(10px);
}
.btn-dark:hover { background: rgba(255,255,255,.18); transform: translateY(-2px); }

/* ---------------------------------------------------------------
   7. TAGS & PILLS
   --------------------------------------------------------------- */
.tag {
  display: inline-flex; align-items: center; gap: 5px;
  height: 26px; padding: 0 11px; border-radius: var(--r-pill);
  font-size: 12.5px; font-weight: 550; letter-spacing: -.005em;
  color: var(--ink-2); background: var(--canvas-2); border: 1px solid transparent;
}
.tag.b { color: var(--b-600); background: var(--b-50); }
.tag.c { color: #7A3FE0; background: #F5EDFF; }
.tag.gd { color: #0E7C8A; background: #E4F7F9; }
.tag.mute { color: var(--ink-3); background: var(--canvas); }

.dot {
  width: 8px; height: 8px; border-radius: 50%; flex: none;
}

/* ---------------------------------------------------------------
   8. ANNOUNCEMENT BAR
   --------------------------------------------------------------- */
.announce {
  position: relative; z-index: 60;
  background: var(--ink); color: var(--on-dark);
  overflow: hidden;
}
.announce::before {
  content: ""; position: absolute; inset: 0;
  background: var(--grad-2); opacity: .5;
}
.announce .wrap {
  position: relative; display: flex; align-items: center; gap: 16px;
  height: 44px; font-size: 13.5px;
}
.tag-new {
  flex: none; display: inline-grid; place-items: center;
  height: 21px; padding: 0 9px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.24);
  font-family: var(--f-mono); font-size: 10.5px; font-weight: 700; letter-spacing: .1em;
  color: #fff;
}
.announce-rot { position: relative; flex: 1; min-width: 0; height: 44px; }
.announce-rot > span {
  position: absolute; inset: 0; display: flex; align-items: center; gap: 12px;
  opacity: 0; transform: translateY(9px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
  pointer-events: none;
}
.announce-rot > span.on { opacity: 1; transform: none; }
.announce-rot b { font-weight: 620; color: #fff; }
.announce-rot em { color: rgba(233,236,251,.72); font-size: 13px; }
.announce .more {
  flex: none; display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; color: rgba(233,236,251,.86);
  transition: color .2s var(--ease);
}
.announce .more:hover { color: #fff; }
.announce .more svg { width: 14px; height: 14px; }

/* ---------------------------------------------------------------
   9. NAV
   --------------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.72);
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.nav.scrolled {
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 28px -22px rgba(16,24,74,.35);
}
.nav .wrap { position: relative; display: flex; align-items: center; gap: 30px; height: 72px; }

.brand { display: inline-flex; align-items: center; flex: none; }
/* 官方 logo 锁标：高度定死、宽度自适应，中英两版宽高比不同也不会跳版 */
.brand-lockup { display: block; height: 34px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a {
  position: relative; padding: 8px 14px; border-radius: var(--r-pill);
  font-size: 14.5px; font-weight: 500; color: var(--ink-1);
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.nav-links a:hover { color: var(--b-600); background: var(--b-50); }
.nav-links a[aria-current="page"] { color: var(--b-600); background: var(--b-50); font-weight: 620; }

.nav-act { display: flex; align-items: center; gap: 10px; flex: none; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 7px;
  height: 38px; padding: 0 14px; border-radius: var(--r-pill);
  border: 1px solid var(--line-2); background: var(--paper);
  font-size: 13px; font-weight: 600; color: var(--ink-1);
  transition: border-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
}
.lang-btn svg { width: 15px; height: 15px; }
.lang-btn:hover { border-color: rgba(106,76,245,.42); color: var(--b-600); box-shadow: var(--sh-1); }
.nav-burger { display: none; width: 40px; height: 40px; border-radius: var(--r-sm); place-items: center; border: 1px solid var(--line-2); }
.nav-burger svg { width: 20px; height: 20px; }

.nav-prog {
  position: absolute; left: 0; bottom: -1px; height: 2px; width: 0;
  background: var(--grad); border-radius: var(--r-pill);
  transition: width .12s linear;
}

.mnav {
  position: fixed; inset: 128px 16px auto; z-index: 49;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--sh-3);
  padding: 16px; display: none; flex-direction: column; gap: 2px;
  max-height: calc(100vh - 160px); overflow-y: auto;
}
.mnav.open { display: flex; }
.mnav a { padding: 13px 14px; border-radius: var(--r-sm); font-size: 15.5px; font-weight: 550; color: var(--ink-1); }
.mnav a:hover { background: var(--b-50); color: var(--b-600); }
.mnav a[aria-current="page"] { background: var(--b-50); color: var(--b-600); font-weight: 620; }
.mnav .m-cta { display: grid; gap: 10px; margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--line); }

/* ---------------------------------------------------------------
   10. HERO
   --------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  padding: 76px 0 0;
  background: var(--paper);
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0,1.12fr) minmax(0,.88fr);
  gap: 60px; align-items: center;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  height: 34px; padding: 0 16px 0 13px; border-radius: var(--r-pill);
  background: var(--paper); border: 1px solid var(--line-2);
  box-shadow: var(--sh-1);
  font-size: 13px; font-weight: 550; color: var(--ink-1);
}
.pulse {
  position: relative; width: 8px; height: 8px; border-radius: 50%;
  background: var(--b-500); flex: none;
}
.pulse::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 1.5px solid rgba(74,92,240,.5);
  animation: pulse 2.2s var(--ease) infinite;
}
@keyframes pulse {
  0%   { transform: scale(.6); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}

.hero-h {
  font-family: var(--f-disp);
  font-size: clamp(36px, 4.55vw, 62px);
  font-weight: 700; line-height: 1.06; letter-spacing: -.042em;
  margin-top: 26px; color: var(--ink);
  max-width: 17ch;
}
.hero-lead {
  margin-top: 24px; font-size: 17px; line-height: 1.78;
  color: var(--ink-2); max-width: 52ch;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }

.hero-trust {
  display: flex; flex-wrap: wrap; gap: 12px 24px;
  margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line);
}
.hero-trust span {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 500; color: var(--ink-2);
}
.hero-trust svg { width: 15px; height: 15px; color: var(--b-500); flex: none; }

/* ---- dark glass console panel ---- */
.panel {
  position: relative; z-index: 3;
  border-radius: var(--r-lg); overflow: hidden;
  background: linear-gradient(168deg, #0D1440 0%, #0A1030 62%, #151C4E 100%);
  box-shadow: var(--sh-dark);
  border: 1px solid rgba(120,140,255,.16);
}
.panel::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(560px 260px at 88% -12%, rgba(140,110,255,.30), transparent 66%),
    radial-gradient(460px 240px at 6% 108%, rgba(60,100,255,.26), transparent 66%);
}
.panel::after {
  content: ""; position: absolute; inset: 0 0 auto; height: 1px;
  background: var(--grad-line); opacity: .9;
}
.panel > * { position: relative; z-index: 1; }

.panel-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 15px 20px; border-bottom: 1px solid rgba(255,255,255,.075);
}
.panel-dots { display: inline-flex; gap: 6px; }
.panel-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.16); }
.panel-dots i:first-child { background: rgba(158,124,255,.85); }
.panel-dots i:nth-child(2) { background: rgba(74,92,240,.75); }
.panel-file {
  font-family: var(--f-mono); font-size: 12px; color: var(--on-dark-2);
  letter-spacing: .01em;
}
.panel-state {
  margin-left: auto; display: inline-flex; align-items: center; gap: 7px;
  font-size: 11.5px; font-family: var(--f-mono); letter-spacing: .06em;
  color: #8FF0C8;
}
.panel-state i {
  width: 6px; height: 6px; border-radius: 50%; background: #34E5A0;
  box-shadow: 0 0 0 3px rgba(52,229,160,.16);
}

.panel-tabs { display: flex; gap: 4px; padding: 12px 16px 0; }
.panel-tab {
  padding: 7px 15px; border-radius: var(--r-pill);
  font-family: var(--f-mono); font-size: 12px; color: var(--on-dark-2);
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.panel-tab:hover { color: var(--on-dark); }
.panel-tab.on {
  color: #fff; background: rgba(255,255,255,.10);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.10);
}

.panel-body { padding: 16px 8px 4px; }
.panel-pane { display: none; }
.panel-pane.on { display: block; }
.code {
  font-family: var(--f-mono); font-size: 12.6px; line-height: 1.95;
  color: #C6CFF2; padding: 0 14px; margin: 0; overflow-x: auto;
  white-space: pre; tab-size: 2;
}
.code .c { color: #5D6A9E; }
.code .k { color: #B9A2FF; }
.code .s { color: #7FD8C4; }
.code .f { color: #79A9FF; }
.code .n { color: #FFB86B; }

.panel-tele {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255,255,255,.075);
  margin-top: 16px;
}
.panel-tele > div { padding: 16px 20px 18px; }
.panel-tele > div + div { border-left: 1px solid rgba(255,255,255,.075); }
.panel-tele .k {
  font-size: 11.5px; color: var(--on-dark-2); letter-spacing: .02em;
}
.panel-tele .v {
  display: flex; align-items: baseline; gap: 4px;
  margin-top: 8px; font-family: var(--f-disp);
  font-size: 26px; font-weight: 700; letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(120deg, #FFFFFF 0%, #B9C6FF 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.panel-tele .v em { font-size: 12.5px; font-weight: 600; letter-spacing: 0; }
.bars { display: flex; align-items: flex-end; gap: 3px; height: 22px; margin-top: 12px; }
.bars i { flex: 1; border-radius: 2px; background: rgba(255,255,255,.14); }
.bars i.hi { background: var(--grad); }

/* ---------------------------------------------------------------
   11. METRICS BAND
   --------------------------------------------------------------- */
.band {
  border-radius: var(--r-xl); overflow: hidden; position: relative;
  background: var(--grad-2);
  box-shadow: var(--sh-3);
  padding: 8px;
}
.band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(620px 300px at 82% 0%, rgba(158,124,255,.42), transparent 68%);
}
.band-inner {
  position: relative; border-radius: calc(var(--r-xl) - 8px);
  background: rgba(9,14,42,.42);
  backdrop-filter: blur(14px);
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.metric { padding: 34px 30px; text-align: left; }
.metric + .metric { box-shadow: inset 1px 0 0 rgba(255,255,255,.10); }
.metric .n {
  display: flex; align-items: baseline; gap: 5px;
  font-family: var(--f-disp); font-size: clamp(32px, 3.6vw, 46px);
  font-weight: 700; letter-spacing: -.04em; line-height: 1;
  font-variant-numeric: tabular-nums; color: #fff;
}
.metric .n u { font-size: .40em; font-weight: 600; color: var(--b-200); letter-spacing: 0; }
.metric .l { margin-top: 12px; font-size: 13.5px; color: var(--on-dark-2); }

/* ---------------------------------------------------------------
   12. VENDORS
   --------------------------------------------------------------- */
.vendors { position: relative; padding: 34px 0 6px; }
.vendors-cap {
  text-align: center; font-family: var(--f-mono); font-size: 11.5px;
  letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3);
  margin-bottom: 26px;
}
.marquee {
  position: relative; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex; gap: 12px; width: max-content;
  animation: slide 46s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.vbadge {
  display: inline-flex; align-items: center; gap: 10px; flex: none;
  height: 46px; padding: 0 20px; border-radius: var(--r-pill);
  background: var(--paper); border: 1px solid var(--line);
  box-shadow: var(--sh-1);
  font-size: 14px; font-weight: 600; color: var(--ink-1);
  transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.vbadge:hover { border-color: rgba(106,76,245,.34); transform: translateY(-2px); box-shadow: var(--sh-2); }
.vd { width: 16px; height: 16px; border-radius: 5px; flex: none; }

/* ---------------------------------------------------------------
   13. PRODUCTS — bento
   --------------------------------------------------------------- */
.bento {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 18px; margin-top: 52px;
}
.pcard {
  position: relative; overflow: hidden;
  grid-column: span 2;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 30px;
  box-shadow: var(--sh-1);
  transition: transform .34s var(--ease), box-shadow .34s var(--ease), border-color .34s var(--ease);
}
.pcard::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 2px;
  background: var(--grad); opacity: 0;
  transition: opacity .34s var(--ease);
}
.pcard:hover {
  transform: translateY(-5px);
  border-color: rgba(106,76,245,.30);
  box-shadow: var(--sh-2);
}
.pcard:hover::before { opacity: 1; }
.pcard.wide { grid-column: span 4; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }

.pcard .idx {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--b-600);
}
.ic {
  width: 48px; height: 48px; border-radius: 15px;
  display: grid; place-items: center; margin-bottom: 20px;
  background: var(--grad-soft); color: var(--b-600);
  border: 1px solid rgba(106,76,245,.14);
  transition: background .34s var(--ease), color .34s var(--ease), box-shadow .34s var(--ease);
}
.ic svg { width: 22px; height: 22px; }
.pcard:hover .ic {
  background: var(--grad); color: #fff; border-color: transparent;
  box-shadow: 0 12px 24px -10px rgba(66,78,230,.55);
}
.pcard h3 {
  font-family: var(--f-disp); font-size: 20px; font-weight: 680;
  letter-spacing: -.022em; color: var(--ink);
}
.pcard > div > p, .pcard p {
  margin-top: 11px; font-size: 14.5px; line-height: 1.72; color: var(--ink-2);
}
.pcard .tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px; }
.pcard .arrow {
  position: absolute; right: 26px; top: 28px;
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  color: var(--ink-3); border: 1px solid var(--line);
  transition: all .34s var(--ease);
}
.pcard .arrow svg { width: 15px; height: 15px; }
.pcard:hover .arrow {
  color: #fff; background: var(--grad); border-color: transparent;
  transform: rotate(45deg);
}
/* tables inside cards */
.table-wrap { overflow-x: auto; border-radius: var(--r-sm); border: 1px solid var(--line); }
.table-wrap table { font-size: 13.5px; }
.table-wrap thead th {
  text-align: left; padding: 11px 16px;
  background: var(--canvas); color: var(--ink-2);
  font-size: 11.5px; font-weight: 650; letter-spacing: .07em; text-transform: uppercase;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.table-wrap tbody td {
  padding: 13px 16px; border-bottom: 1px solid var(--line);
  color: var(--ink-1); vertical-align: middle;
}
.table-wrap tbody tr:last-child td { border-bottom: 0; }
.table-wrap tbody tr { transition: background-color .2s var(--ease); }
.table-wrap tbody tr:hover { background: var(--canvas); }
.table-wrap tbody td strong { font-weight: 650; color: var(--ink); font-variant-numeric: tabular-nums; }
.table-wrap tbody td .g { font-weight: 700; font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------
   14. CAPABILITIES
   --------------------------------------------------------------- */
.caps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 18px; margin-top: 52px;
}
.cap {
  position: relative; overflow: hidden;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 32px 30px;
  box-shadow: var(--sh-1);
  transition: transform .34s var(--ease), box-shadow .34s var(--ease), border-color .34s var(--ease);
}
.cap::after {
  content: ""; position: absolute; right: -60px; bottom: -70px;
  width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(106,76,245,.16), transparent 70%);
  opacity: 0; transition: opacity .4s var(--ease);
}
.cap:hover { transform: translateY(-5px); border-color: rgba(106,76,245,.30); box-shadow: var(--sh-2); }
.cap:hover::after { opacity: 1; }
.cap .ic { margin-bottom: 22px; }
.cap h4 {
  font-family: var(--f-disp); font-size: 16px; font-weight: 620;
  letter-spacing: -.012em; color: var(--ink-1);
}
.cap .big {
  display: flex; align-items: baseline; gap: 7px; margin: 10px 0 6px;
  font-family: var(--f-disp); font-size: 44px; font-weight: 700;
  letter-spacing: -.045em; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.cap .big span {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.cap .big u { font-size: .32em; font-weight: 600; color: var(--ink-3); letter-spacing: 0; }
.cap p { margin-top: 14px; font-size: 14.5px; line-height: 1.74; color: var(--ink-2); }

/* ---------------------------------------------------------------
   15. MODELS
   --------------------------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 42px; }
.filter {
  height: 38px; padding: 0 18px; border-radius: var(--r-pill);
  background: var(--paper); border: 1px solid var(--line-2);
  font-size: 13.5px; font-weight: 560; color: var(--ink-2);
  transition: all .24s var(--ease);
}
.filter:hover { color: var(--b-600); border-color: rgba(106,76,245,.40); }
.filter.on {
  color: #fff; background: var(--grad); border-color: transparent;
  box-shadow: 0 10px 22px -12px rgba(66,78,230,.70);
}

.mgrid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; margin-top: 28px;
}
.mcard {
  position: relative; overflow: hidden;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 24px 24px 22px;
  box-shadow: var(--sh-1);
  transition: transform .32s var(--ease), box-shadow .32s var(--ease), border-color .32s var(--ease);
}
.mcard::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 2px;
  background: var(--grad); opacity: 0; transition: opacity .32s var(--ease);
}
.mcard:hover { transform: translateY(-5px); border-color: rgba(106,76,245,.30); box-shadow: var(--sh-2); }
.mcard:hover::before { opacity: 1; }
.mcard-top { display: flex; align-items: center; gap: 11px; }
.mcard-top .vd { width: 30px; height: 30px; border-radius: 9px; }
.mcard-top .mn {
  font-family: var(--f-disp); font-size: 16.5px; font-weight: 680;
  letter-spacing: -.02em; color: var(--ink);
}
.mcard-top .vname { margin-left: auto; font-size: 12.5px; color: var(--ink-3); }
.mcard .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.mcard-foot {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 14px; margin-top: 20px; padding-top: 17px; border-top: 1px solid var(--line);
}
.mcard-foot .ctx { font-size: 12.5px; color: var(--ink-3); }
.mcard-foot .ctx b {
  display: block; margin-top: 3px; font-family: var(--f-mono); font-size: 13.5px;
  font-weight: 600; color: var(--ink-1);
}
.mcard-foot .px {
  text-align: right; font-family: var(--f-disp);
  font-size: 19px; font-weight: 700; letter-spacing: -.03em;
  font-variant-numeric: tabular-nums; white-space: nowrap;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.mcard-foot .px u { font-size: .62em; font-weight: 600; color: var(--ink-4); -webkit-text-fill-color: var(--ink-4); }
.mgrid .empty {
  grid-column: 1 / -1; padding: 56px 20px; text-align: center;
  color: var(--ink-3); border: 1px dashed var(--line-2); border-radius: var(--r-md);
}
.note, .models-note {
  margin-top: 22px; font-size: 12.5px; line-height: 1.7; color: var(--ink-3);
}
.models-note { margin-top: 30px; padding-left: 14px; border-left: 2px solid var(--line-2); }

/* ---------------------------------------------------------------
   16. STEPS
   --------------------------------------------------------------- */
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 18px; margin-top: 52px;
}
.step {
  position: relative; overflow: hidden;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 32px 30px;
  box-shadow: var(--sh-1);
  transition: transform .34s var(--ease), box-shadow .34s var(--ease), border-color .34s var(--ease);
}
.step::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--grad); opacity: 0; transition: opacity .34s var(--ease);
}
.step:hover { transform: translateY(-5px); border-color: rgba(106,76,245,.30); box-shadow: var(--sh-2); }
.step:hover::before { opacity: 1; }
.step .sn {
  font-family: var(--f-disp); font-size: 46px; font-weight: 700;
  letter-spacing: -.05em; line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: .34;
}
.step h4 {
  margin-top: 14px; font-family: var(--f-disp);
  font-size: 18px; font-weight: 660; letter-spacing: -.02em; color: var(--ink);
}
.step p { margin-top: 11px; font-size: 14.5px; line-height: 1.74; color: var(--ink-2); }
.step .sub {
  margin-top: 18px; padding: 11px 15px; border-radius: var(--r-xs);
  background: var(--canvas); border: 1px solid var(--line);
  font-family: var(--f-mono); font-size: 12px; color: var(--b-600);
  overflow-x: auto; white-space: nowrap;
}

/* ---------------------------------------------------------------
   17. PRICING
   --------------------------------------------------------------- */
.price-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 18px; margin-top: 52px; align-items: start;
}
.price {
  position: relative; overflow: hidden;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 34px 30px;
  box-shadow: var(--sh-1);
  transition: transform .34s var(--ease), box-shadow .34s var(--ease), border-color .34s var(--ease);
}
.price:hover { transform: translateY(-5px); box-shadow: var(--sh-2); border-color: rgba(106,76,245,.28); }
.price.best {
  border: 1.5px solid transparent;
  background:
    linear-gradient(var(--paper), var(--paper)) padding-box,
    var(--grad) border-box;
  box-shadow: var(--sh-3);
}
.price.best::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(420px 200px at 82% -8%, rgba(140,110,255,.13), transparent 70%);
}
.price .badge {
  position: absolute; right: 26px; top: 30px;
  height: 26px; padding: 0 12px; border-radius: var(--r-pill);
  display: inline-flex; align-items: center;
  background: var(--grad); color: #fff;
  font-size: 11.5px; font-weight: 650; letter-spacing: .01em;
  box-shadow: 0 8px 18px -8px rgba(66,78,230,.60);
}
.price h3 {
  font-family: var(--f-disp); font-size: 19px; font-weight: 680;
  letter-spacing: -.02em; color: var(--ink);
}
.price .desc { margin-top: 6px; font-size: 13.5px; color: var(--ink-3); }
.price .amt { margin: 22px 0 4px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price .amt .v {
  font-family: var(--f-disp); font-size: 34px; font-weight: 700;
  letter-spacing: -.04em; line-height: 1.1;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.price .amt .u2 { font-size: 13px; color: var(--ink-3); }
.price ul { margin: 22px 0 26px; display: grid; gap: 12px; }
.price li { display: flex; gap: 10px; font-size: 14px; line-height: 1.6; color: var(--ink-1); }
.price li svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--b-500); }

.price-split { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; margin-top: 52px; }
.price-split h4 {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-family: var(--f-disp); font-size: 16px; font-weight: 660;
  letter-spacing: -.015em; color: var(--ink); margin-bottom: 16px;
}

/* ---------------------------------------------------------------
   18. INDUSTRIES
   --------------------------------------------------------------- */
.ind-wrap {
  display: grid; grid-template-columns: 268px minmax(0,1fr); gap: 34px;
  margin-top: 52px; align-items: start;
}
.ind-nav { display: grid; gap: 8px; }
.ind-tab {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 20px; border-radius: var(--r-sm); text-align: left;
  background: var(--paper); border: 1px solid var(--line);
  font-size: 14.5px; font-weight: 570; color: var(--ink-1);
  transition: all .26s var(--ease);
}
.ind-tab svg { width: 16px; height: 16px; flex: none; opacity: 0; transition: opacity .26s var(--ease), transform .26s var(--ease); }
.ind-tab:hover { border-color: rgba(106,76,245,.34); color: var(--b-600); }
.ind-tab.on {
  color: #fff; background: var(--grad); border-color: transparent;
  box-shadow: 0 14px 28px -16px rgba(66,78,230,.72);
}
.ind-tab.on svg { opacity: 1; transform: translateX(2px); }
.ind-body {
  position: relative; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 38px 40px; box-shadow: var(--sh-2);
  min-height: 320px;
}
.ind-pane { display: none; }
.ind-pane.on { display: block; animation: fade-up .5s var(--ease); }
@keyframes fade-up {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}
.ind-pane h3 {
  font-family: var(--f-disp); font-size: 23px; font-weight: 700;
  letter-spacing: -.028em; color: var(--ink);
}
.ind-pane > p { margin-top: 14px; font-size: 15px; line-height: 1.8; color: var(--ink-2); }
.ind-points {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px 26px; margin-top: 26px;
  padding-top: 24px; border-top: 1px solid var(--line);
}
.ind-points > div { display: flex; gap: 11px; font-size: 14px; line-height: 1.62; color: var(--ink-1); }
.ind-points svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--b-500); }

/* ---------------------------------------------------------------
   19. COMPLIANCE
   --------------------------------------------------------------- */
.comp-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 18px; margin-top: 52px;
}
.comp {
  position: relative; overflow: hidden;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 30px;
  box-shadow: var(--sh-1);
  transition: transform .34s var(--ease), box-shadow .34s var(--ease), border-color .34s var(--ease);
}
.comp:hover { transform: translateY(-5px); border-color: rgba(106,76,245,.30); box-shadow: var(--sh-2); }
.comp .ic { margin-bottom: 20px; }
.comp h4 {
  font-family: var(--f-disp); font-size: 16.5px; font-weight: 660;
  letter-spacing: -.018em; color: var(--ink);
}
.comp p { margin-top: 10px; font-size: 14px; line-height: 1.74; color: var(--ink-2); }

/* ---------------------------------------------------------------
   20. FAQ
   --------------------------------------------------------------- */
.faq { margin-top: 44px; display: grid; gap: 12px; max-width: 900px; }
.faq details {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-md); overflow: hidden;
  box-shadow: var(--sh-1);
  transition: border-color .28s var(--ease), box-shadow .28s var(--ease);
}
.faq details[open] { border-color: rgba(106,76,245,.30); box-shadow: var(--sh-2); }
.faq summary {
  position: relative; cursor: pointer; list-style: none;
  padding: 22px 62px 22px 26px;
  font-family: var(--f-disp); font-size: 16px; font-weight: 620;
  letter-spacing: -.014em; color: var(--ink);
  transition: color .2s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--b-600); }
.faq summary::after {
  content: ""; position: absolute; right: 26px; top: 50%;
  width: 11px; height: 11px; margin-top: -7px;
  border-right: 2px solid var(--b-500); border-bottom: 2px solid var(--b-500);
  transform: rotate(45deg); transform-origin: 60% 60%;
  transition: transform .28s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq .ans {
  padding: 0 26px 24px; font-size: 14.5px; line-height: 1.82; color: var(--ink-2);
  max-width: 78ch;
}

/* ---------------------------------------------------------------
   21. CTA
   --------------------------------------------------------------- */
.cta-band {
  position: relative; overflow: hidden;
  border-radius: var(--r-xl); padding: 72px 56px;
  background: linear-gradient(132deg, #131B52 0%, #2A2C9E 42%, #6A4CF5 100%);
  box-shadow: var(--sh-3);
  text-align: center;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(520px 320px at 12% 6%, rgba(110,150,255,.40), transparent 66%),
    radial-gradient(560px 340px at 88% 96%, rgba(180,140,255,.36), transparent 68%);
}
.cta-band::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000, transparent 78%);
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000, transparent 78%);
}
.cta-band > * { position: relative; z-index: 2; }
.cta-band h2 {
  font-family: var(--f-disp); font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 700; letter-spacing: -.036em; line-height: 1.16; color: #fff;
}
.cta-band p {
  margin: 16px auto 0; max-width: 54ch;
  font-size: 16px; line-height: 1.75; color: rgba(233,236,251,.80);
}
.cta-band .row { display: flex; flex-wrap: wrap; gap: 13px; justify-content: center; margin-top: 34px; }
.cta-band .btn-primary { background: #fff; color: var(--b-700); box-shadow: 0 16px 34px -14px rgba(0,0,0,.45); }
.cta-band .btn-primary:hover { box-shadow: 0 22px 44px -16px rgba(0,0,0,.55); }

/* ---------------------------------------------------------------
   22. FOOTER
   --------------------------------------------------------------- */
.footer {
  position: relative; overflow: hidden;
  background: var(--dark); color: var(--on-dark);
  padding: 76px 0 34px; margin-top: 96px;
}
.footer::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(760px 340px at 12% -20%, rgba(74,92,240,.30), transparent 66%);
}
.footer .wrap { position: relative; z-index: 1; }
.f-top {
  display: grid; grid-template-columns: minmax(0,1.6fr) repeat(4, minmax(0,1fr));
  gap: 40px; padding-bottom: 46px; border-bottom: 1px solid rgba(255,255,255,.10);
}
.f-brand p {
  margin-top: 20px; font-size: 13.5px; line-height: 1.78;
  color: var(--on-dark-2); max-width: 40ch;
}
.f-col { display: grid; gap: 11px; align-content: start; }
.f-col h5 {
  font-size: 13px; font-weight: 650; color: #fff;
  letter-spacing: .01em; margin-bottom: 5px;
}
.f-col a {
  font-size: 13.5px; color: var(--on-dark-2);
  transition: color .2s var(--ease);
}
.f-col a:hover { color: #fff; }
.f-bot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 26px;
  font-size: 12.5px; color: var(--on-dark-2);
}
.f-bot .legal b { color: var(--on-dark); font-weight: 600; }
.f-bot .legal span { display: inline-block; margin-top: 5px; font-family: var(--f-mono); font-size: 11.5px; }

/* ---------------------------------------------------------------
   23. REVEAL
   --------------------------------------------------------------- */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------
   24. RESPONSIVE
   --------------------------------------------------------------- */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-burger { display: grid; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-h { max-width: 20ch; }
  .ring-deco { display: none; }
  .bento { grid-template-columns: repeat(4, 1fr); }
  .pcard { grid-column: span 2; }
  .pcard.wide { grid-column: span 4; }
  .caps, .comp-grid, .mgrid, .steps, .price-grid { grid-template-columns: repeat(2, 1fr); }
  .ind-wrap { grid-template-columns: 1fr; gap: 22px; }
  .ind-nav { grid-template-columns: repeat(2, 1fr); }
  .f-top { grid-template-columns: repeat(3, 1fr); }
  .f-brand { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  .section { padding: 78px 0; }
  .hero { padding-top: 54px; }
  .band-inner { grid-template-columns: repeat(2, 1fr); }
  .metric { padding: 26px 22px; }
  .metric + .metric { box-shadow: none; }
  .metric:nth-child(even) { box-shadow: inset 1px 0 0 rgba(255,255,255,.10); }
  .metric:nth-child(n+3) { box-shadow: inset 0 1px 0 rgba(255,255,255,.10); }
  .metric:nth-child(4) { box-shadow: inset 1px 0 0 rgba(255,255,255,.10), inset 0 1px 0 rgba(255,255,255,.10); }
  .price-split { grid-template-columns: 1fr; gap: 40px; }
  .cta-band { padding: 54px 30px; }
  .ind-body { padding: 30px 26px; }
  .ind-points { grid-template-columns: 1fr; }
  .panel-tele { grid-template-columns: 1fr; }
  .panel-tele > div + div { border-left: 0; border-top: 1px solid rgba(255,255,255,.075); }
  .announce-rot em { display: none; }
  .footer { margin-top: 68px; }
}
@media (max-width: 620px) {
  :root { --gutter: 20px; }
  .nav .wrap { gap: 12px; }
  .nav-act { gap: 8px; }
  .nav-act .btn-ghost { display: none; }
  .lang-btn { padding: 0 11px; gap: 5px; }
  .nav-act .btn-sm { height: 36px; padding: 0 14px; }
  .caps, .comp-grid, .mgrid, .steps, .price-grid, .ind-nav { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .pcard, .pcard.wide { grid-column: 1 / -1; grid-template-columns: 1fr; gap: 22px; }
  .f-top { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .hero-cta .btn { width: 100%; }
  .announce .more { display: none; }
  .hero-h { font-size: clamp(32px, 9vw, 42px); }
  .title { font-size: clamp(26px, 7.4vw, 34px); }
  .metric { padding: 22px 18px; }
  .metric .n { font-size: 30px; }
}

/* ---------------------------------------------------------------
   25. MOTION / PRINT
   --------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .rv { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

@media print {
  .announce, .nav, .mnav, .marquee, .cta-band, .ring-deco, .amb, .grain { display: none !important; }
  body { background: #fff; }
  .section { padding: 24px 0; }
}

/* ---------------------------------------------------------------
   26. BLOCK-LEVEL HELPERS
   --------------------------------------------------------------- */
.hero-copy { position: relative; z-index: 2; }
.hero-visual { position: relative; }
.vn { font-size: 14px; letter-spacing: -.008em; }
.band-sec { position: relative; z-index: 4; padding: 34px 0 0; }
.px-wrap { text-align: right; }

@media (max-width: 620px) {
  .band-sec { padding-top: 26px; }
}

/* ---------------------------------------------------------------
   27. INNER PAGE HERO
   --------------------------------------------------------------- */
.phero {
  position: relative; overflow: hidden;
  padding: 62px 0 74px;
  background: var(--paper);
}
.phero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--grad-line);
}
.phero-inner { position: relative; z-index: 2; max-width: 880px; }
.phero h1 {
  font-family: var(--f-disp);
  font-size: clamp(29px, 3.7vw, 48px);
  font-weight: 700; line-height: 1.15; letter-spacing: -.036em;
  color: var(--ink); text-wrap: balance;
}
.phero .lead {
  margin-top: 20px; font-size: 16.8px; line-height: 1.8;
  color: var(--ink-2); max-width: 64ch; text-wrap: pretty;
}
.phero-acts { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.phero-meta {
  margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 14px 34px;
  font-size: 13px; color: var(--ink-3);
}
.phero-meta span b { color: var(--ink-1); font-weight: 650; }
.phero-meta span i { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .04em; }

/* breadcrumb */
.crumb {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin-bottom: 24px; font-size: 12.5px; color: var(--ink-3);
}
.crumb a { transition: color .2s var(--ease); }
.crumb a:hover { color: var(--b-600); }
.crumb .sep { opacity: .55; }
.crumb [aria-current] { color: var(--ink-1); font-weight: 600; }

/* ---------------------------------------------------------------
   28. CODE BLOCK (light pages) — dark slab, brand syntax colors
   --------------------------------------------------------------- */
.codeblock {
  position: relative; margin: 20px 0;
  background: #0E1440; border-radius: var(--r-md);
  box-shadow: var(--sh-2); overflow: hidden;
}
.codeblock-cap {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 18px; border-bottom: 1px solid rgba(255,255,255,.08);
  font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .04em;
  color: #8A93C4;
}
.codeblock-cap i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.16); }
.codeblock pre {
  margin: 0; padding: 20px 22px;
  font-family: var(--f-mono); font-size: 12.6px; line-height: 1.88;
  color: #D7DDFB; overflow-x: auto;
}
.codeblock .c { color: #7883B4; }
.codeblock .k { color: #9E8CFF; }
.codeblock .s { color: #74DFBE; }
.codeblock .f { color: #7CB2FF; }
.codeblock .n { color: #FFC178; }
.codeblock .v { color: #FF9BB8; }

/* ---------------------------------------------------------------
   29. DOC LAYOUT — sticky toc + article
   --------------------------------------------------------------- */
.doc { display: grid; grid-template-columns: 244px minmax(0, 1fr); gap: 54px; align-items: start; }
.doc-nav { position: sticky; top: 98px; display: grid; gap: 2px; align-content: start; }
.doc-nav h5 {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .15em;
  text-transform: uppercase; color: var(--ink-3);
  margin: 20px 0 8px; padding-left: 12px;
}
.doc-nav h5:first-child { margin-top: 0; }
.doc-nav a {
  display: block; padding: 8px 12px; border-radius: var(--r-xs);
  border-left: 2px solid transparent;
  font-size: 13.5px; color: var(--ink-2); line-height: 1.5;
  transition: color .2s var(--ease), background-color .2s var(--ease), border-color .2s var(--ease);
}
.doc-nav a:hover { color: var(--b-600); background: var(--canvas); }
.doc-nav a.on { color: var(--b-600); background: var(--b-50); border-left-color: var(--b-500); font-weight: 620; }
.doc-body { min-width: 0; }
.doc-sec { padding-top: 30px; margin-top: 30px; border-top: 1px solid var(--line); scroll-margin-top: 104px; }
.doc-sec:first-child { padding-top: 0; margin-top: 0; border-top: 0; }
.doc-sec > h2 {
  font-family: var(--f-disp); font-size: 25px; font-weight: 700;
  letter-spacing: -.028em; color: var(--ink);
}

/* ---------------------------------------------------------------
   30. PROSE — long-form readable column
   --------------------------------------------------------------- */
.prose { max-width: 76ch; }
.prose > * + * { margin-top: 15px; }
.prose h2 {
  font-family: var(--f-disp); font-size: 25px; font-weight: 700;
  letter-spacing: -.028em; color: var(--ink); text-wrap: balance;
}
.prose h3 {
  font-family: var(--f-disp); font-size: 18px; font-weight: 660;
  letter-spacing: -.018em; color: var(--ink); text-wrap: balance;
}
.prose p { font-size: 15.2px; line-height: 1.84; color: var(--ink-2); text-wrap: pretty; }
.prose strong { color: var(--ink); font-weight: 650; }
.prose a { color: var(--b-600); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(106,76,245,.34); }
.prose a:hover { text-decoration-color: var(--b-500); }
.prose ul { display: grid; gap: 9px; }
.prose ul li { position: relative; padding-left: 21px; font-size: 15px; line-height: 1.8; color: var(--ink-2); }
.prose ul li::before {
  content: ""; position: absolute; left: 3px; top: .68em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--grad);
}
.prose ol { display: grid; gap: 9px; padding-left: 21px; list-style: decimal; }
.prose ol li { font-size: 15px; line-height: 1.8; color: var(--ink-2); padding-left: 4px; }
.prose ol li::marker { color: var(--b-600); font-weight: 650; }
.prose code, .table-wrap code {
  font-family: var(--f-mono); font-size: .87em;
  background: var(--canvas-2); border: 1px solid var(--line);
  padding: 1px 6px; border-radius: 6px; color: var(--b-700);
}
.prose .codeblock code { background: none; border: 0; padding: 0; color: inherit; font-size: inherit; }

/* ---------------------------------------------------------------
   31. FORMS — inputs shared by calculator / auth / contact
   --------------------------------------------------------------- */
.inp {
  width: 100%; height: 46px; padding: 0 15px;
  border-radius: var(--r-sm); border: 1px solid var(--line-2);
  background: var(--paper); font-family: inherit; font-size: 14.5px; color: var(--ink);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.inp::placeholder { color: var(--ink-4); }
.inp:focus { outline: none; border-color: var(--b-500); box-shadow: 0 0 0 3px rgba(106,76,245,.15); }
select.inp {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B6486' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px;
}
.field { margin-bottom: 18px; }
.field > label {
  display: block; margin-bottom: 8px;
  font-size: 13px; font-weight: 620; color: var(--ink-1);
}
.field .hint { margin-top: 7px; font-size: 12.2px; color: var(--ink-3); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }

/* ---------------------------------------------------------------
   32. RANGE + CALCULATOR
   --------------------------------------------------------------- */
input[type="range"].rng {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 6px; border-radius: var(--r-pill);
  background: var(--grad-soft); border: 1px solid var(--line-2);
  cursor: pointer; margin: 6px 0;
}
input[type="range"].rng::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--grad); border: 3px solid #fff;
  box-shadow: var(--sh-brand); cursor: grab;
}
input[type="range"].rng::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 50%;
  background: #4A5CF0; border: 3px solid #fff; box-shadow: var(--sh-brand);
}

.calc {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: 44px;
  margin-top: 46px; padding: 42px;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--sh-2);
}
.calc-out {
  align-self: start; padding: 32px 30px;
  background: var(--grad-soft); border: 1px solid rgba(106,76,245,.18);
  border-radius: var(--r-md);
}
.calc-out .k {
  font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .13em;
  text-transform: uppercase; color: var(--b-600);
}
.calc-out .amt {
  margin-top: 10px; font-family: var(--f-disp);
  font-size: clamp(34px, 4vw, 46px); font-weight: 700;
  letter-spacing: -.034em; line-height: 1.1; color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.calc-out .amt u { font-size: .4em; font-weight: 600; color: var(--ink-2); margin-left: 4px; }
.calc-out .sub { margin-top: 8px; font-size: 13px; color: var(--ink-2); }
.calc-break { margin-top: 26px; display: grid; gap: 11px; }
.calc-break div {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding-bottom: 11px; border-bottom: 1px dashed var(--line-2);
  font-size: 13.2px; color: var(--ink-2);
}
.calc-break div:last-child { border-bottom: 0; padding-bottom: 0; }
.calc-break b { font-variant-numeric: tabular-nums; font-weight: 650; color: var(--ink); }

/* ---------------------------------------------------------------
   33. AUTH
   --------------------------------------------------------------- */
.auth { max-width: 488px; margin: 0 auto; }
.auth-card {
  padding: 38px 36px;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--sh-2);
}
.seg {
  display: flex; gap: 6px; padding: 5px; margin-bottom: 28px;
  background: var(--canvas-2); border-radius: var(--r-pill);
}
.seg button {
  flex: 1; height: 38px; border-radius: var(--r-pill);
  font-size: 13.5px; font-weight: 620; color: var(--ink-2);
  transition: background-color .22s var(--ease), color .22s var(--ease), box-shadow .22s var(--ease);
}
.seg button.on { background: var(--paper); color: var(--ink); box-shadow: var(--sh-1); }
.auth-alt { margin-top: 22px; text-align: center; font-size: 13.5px; color: var(--ink-2); }
.auth-alt button { color: var(--b-600); font-weight: 620; }
.auth-fine {
  margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line);
  font-size: 12.2px; line-height: 1.74; color: var(--ink-3); text-align: center;
}

/* ---------------------------------------------------------------
   34. CERT / CHECK LIST
   --------------------------------------------------------------- */
.cert-list { display: grid; gap: 12px; margin-top: 46px; }
.cert-row {
  display: grid; grid-template-columns: 232px minmax(0, 1fr) 96px;
  gap: 22px; align-items: center;
  padding: 20px 24px;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-md); box-shadow: var(--sh-1);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
}
.cert-row:hover { border-color: rgba(106,76,245,.30); box-shadow: var(--sh-2); transform: translateY(-2px); }
.cert-row h4 { font-family: var(--f-disp); font-size: 14.8px; font-weight: 660; letter-spacing: -.014em; }
.cert-row p { font-size: 13.4px; line-height: 1.68; color: var(--ink-2); }
.certst {
  justify-self: end;
  display: inline-flex; align-items: center; gap: 6px; height: 27px; padding: 0 12px;
  border-radius: var(--r-pill); font-size: 12px; font-weight: 620; white-space: nowrap;
}
.certst.ok { color: #0E7C5A; background: #E2F7EE; }
.certst.wait { color: #9A6412; background: #FDF1DC; }

/* ---------------------------------------------------------------
   35. ABOUT — stats · timeline · contact
   --------------------------------------------------------------- */
.astat { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 46px; }
.astat > div {
  padding: 26px 24px; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--sh-1);
}
.astat .n {
  font-family: var(--f-disp); font-size: 34px; font-weight: 700;
  letter-spacing: -.034em; font-variant-numeric: tabular-nums;
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.astat .n u { font-size: .46em; font-weight: 640; margin-left: 2px; }
.astat .l { margin-top: 6px; font-size: 13.2px; color: var(--ink-2); }

.timeline { margin-top: 46px; display: grid; gap: 0; }
.tl-item {
  display: grid; grid-template-columns: 132px minmax(0, 1fr);
  gap: 26px; padding: 22px 0; border-top: 1px solid var(--line);
}
.tl-item:last-child { border-bottom: 1px solid var(--line); }
.tl-item .when {
  font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .06em;
  color: var(--b-600); padding-top: 2px;
}
.tl-item h4 { font-family: var(--f-disp); font-size: 16px; font-weight: 660; letter-spacing: -.014em; }
.tl-item p { margin-top: 7px; font-size: 14.2px; line-height: 1.76; color: var(--ink-2); }

.cgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.ccard {
  padding: 30px 28px; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--sh-1);
  transition: transform .32s var(--ease), box-shadow .32s var(--ease), border-color .32s var(--ease);
}
.ccard:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: rgba(106,76,245,.28); }
.ccard .ic {
  width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center;
  background: var(--grad-soft); border: 1px solid rgba(106,76,245,.16);
  color: var(--b-600); margin-bottom: 18px;
}
.ccard .ic svg { width: 21px; height: 21px; }
.ccard h4 { font-family: var(--f-disp); font-size: 16px; font-weight: 660; letter-spacing: -.016em; }
.ccard p { margin-top: 9px; font-size: 14px; line-height: 1.74; color: var(--ink-2); }
.ccard .line {
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line);
  font-family: var(--f-mono); font-size: 13px; color: var(--b-600); word-break: break-all;
}

/* ---------------------------------------------------------------
   36. LEGAL — long text with toc
   --------------------------------------------------------------- */
.legal-toc { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.legal-toc a {
  height: 32px; display: inline-flex; align-items: center; padding: 0 14px;
  border-radius: var(--r-pill); background: var(--canvas-2);
  font-size: 13px; color: var(--ink-1);
  transition: background-color .22s var(--ease), color .22s var(--ease);
}
.legal-toc a:hover { background: var(--b-50); color: var(--b-600); }
.legal-toc a.on { background: var(--b-50); color: var(--b-600); font-weight: 620; }
.legal-sec { scroll-margin-top: 104px; }
.legal-sec + .legal-sec { margin-top: 52px; padding-top: 46px; border-top: 1px solid var(--line); }
.legal-sec > h2 {
  font-family: var(--f-disp); font-size: 27px; font-weight: 700;
  letter-spacing: -.03em; color: var(--ink); margin-bottom: 8px;
}
.legal-sec > .upd { font-family: var(--f-mono); font-size: 12px; color: var(--ink-3); margin-bottom: 22px; }
.legal-sec h3 {
  font-family: var(--f-disp); font-size: 16.5px; font-weight: 660;
  letter-spacing: -.014em; color: var(--ink); margin: 30px 0 2px;
}
.legal-sec h3 + .prose, .legal-sec h3 + p { margin-top: 10px; }

/* ---------------------------------------------------------------
   37. NEXT-STEP GRID + SECTION MORE LINK
   --------------------------------------------------------------- */
.next-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 42px; }
.next-card {
  display: flex; flex-direction: column; gap: 10px;
  padding: 28px 26px; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--sh-1);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.next-card:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: rgba(106,76,245,.30); }
.next-card h4 { font-family: var(--f-disp); font-size: 15.5px; font-weight: 660; letter-spacing: -.016em; }
.next-card p { font-size: 13.6px; line-height: 1.72; color: var(--ink-2); flex: 1; }
.next-card .go {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13.4px; font-weight: 620; color: var(--b-600);
}
.next-card .go svg { width: 15px; height: 15px; transition: transform .26s var(--ease); }
.next-card:hover .go svg { transform: translateX(3px); }

.sec-more {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 34px; font-size: 14px; font-weight: 620; color: var(--b-600);
}
.sec-more svg { width: 16px; height: 16px; transition: transform .26s var(--ease); }
.sec-more:hover svg { transform: translateX(4px); }

/* ---------------------------------------------------------------
   38. 404
   --------------------------------------------------------------- */
.nf { position: relative; overflow: hidden; padding: 120px 0 132px; text-align: center; }
.nf-inner { position: relative; z-index: 2; }
.nf .code404 {
  font-family: var(--f-disp); font-weight: 700; letter-spacing: -.05em;
  font-size: clamp(88px, 15vw, 168px); line-height: .92;
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nf h1 { margin-top: 20px; font-family: var(--f-disp); font-size: clamp(22px, 3vw, 32px); font-weight: 700; letter-spacing: -.03em; }
.nf p { margin: 16px auto 0; max-width: 52ch; font-size: 15.4px; line-height: 1.8; color: var(--ink-2); }
.nf-acts { margin-top: 34px; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.nf-links { margin-top: 46px; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.nf-links a {
  height: 34px; display: inline-flex; align-items: center; padding: 0 15px;
  border-radius: var(--r-pill); background: var(--canvas-2); font-size: 13.2px; color: var(--ink-1);
  transition: background-color .22s var(--ease), color .22s var(--ease);
}
.nf-links a:hover { background: var(--b-50); color: var(--b-600); }

/* ---------------------------------------------------------------
   39. INNER-PAGE RESPONSIVE
   --------------------------------------------------------------- */
@media (max-width: 1080px) {
  .doc { grid-template-columns: 1fr; gap: 34px; }
  .doc-nav { position: static; display: flex; flex-wrap: wrap; gap: 6px; }
  .doc-nav h5 { flex: 1 0 100%; margin: 12px 0 2px; }
  .doc-nav a { border-left: 0; border: 1px solid var(--line); border-radius: var(--r-pill); padding: 7px 14px; }
  .doc-nav a.on { border-color: rgba(106,76,245,.35); }
  .calc { grid-template-columns: 1fr; gap: 30px; padding: 32px; }
  .astat { grid-template-columns: repeat(2, 1fr); }
  .cgrid, .next-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-row { grid-template-columns: 200px minmax(0, 1fr); }
  .cert-row .certst { grid-column: 2; justify-self: start; }
}
@media (max-width: 820px) {
  .phero { padding: 48px 0 58px; }
  .cert-row { grid-template-columns: 1fr; gap: 12px; align-items: start; }
  .cert-row .certst { grid-column: auto; justify-self: start; }
  .tl-item { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 620px) {
  .phero { padding: 40px 0 52px; }
  .calc { padding: 24px 20px; }
  .calc-out { padding: 26px 22px; }
  .auth-card { padding: 28px 22px; }
  .astat, .cgrid, .next-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .phero-acts .btn { width: 100%; }
  .nf-acts .btn { width: 100%; }
}

/* ---------------------------------------------------------------
   40. INNER-PAGE EXTRAS — copy · search · calculator · auth panes
   --------------------------------------------------------------- */
/* [hidden] 必须压过所有 display 声明，否则筛选/分段的隐藏会失效 */
[hidden] { display: none !important; }

/* --- code block copy --- */
.codeblock-cap { justify-content: flex-start; }
.codeblock-copy {
  margin-left: auto; flex: none;
  display: inline-flex; align-items: center; gap: 6px;
  height: 26px; padding: 0 11px; border-radius: var(--r-pill);
  border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.04);
  font-family: var(--f-sans); font-size: 11.5px; letter-spacing: 0; color: #A9B2DB;
  transition: color .2s var(--ease), border-color .2s var(--ease), background-color .2s var(--ease);
}
.codeblock-copy svg { width: 13px; height: 13px; }
.codeblock-copy:hover { color: #fff; border-color: rgba(255,255,255,.34); background: rgba(255,255,255,.10); }

/* --- model name search (inside .filters) --- */
.msearch { position: relative; flex: 0 1 264px; min-width: 178px; margin-left: auto; }
.msearch svg {
  position: absolute; left: 13px; top: 50%; transform: translateY(-50%);
  width: 15px; height: 15px; color: var(--ink-3); pointer-events: none;
}
.msearch input { height: 42px; padding-left: 38px; }

/* --- wide comparison tables --- */
.table-wrap.wide table { min-width: 780px; }

/* --- cost calculator --- */
.calc-side { min-width: 0; }
.rng-head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; }
.rng-head label { font-size: 13px; font-weight: 620; color: var(--ink-1); }
.rng-head b {
  font-family: var(--f-disp); font-size: 21px; font-weight: 700;
  letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--ink);
}
.rng-scale {
  display: flex; justify-content: space-between; margin-top: 4px;
  font-family: var(--f-mono); font-size: 11px; color: var(--ink-3);
}
.calc-opts { margin-top: 32px; padding-top: 26px; border-top: 1px solid var(--line); }
.tier-list { margin-top: 14px; display: grid; gap: 6px; }
.tier-list > div {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 9px 13px; border-radius: var(--r-xs);
  font-size: 13.2px; color: var(--ink-2);
  transition: background-color .24s var(--ease), color .24s var(--ease), box-shadow .24s var(--ease);
}
.tier-list > div.on { background: rgba(255,255,255,.76); color: var(--ink); font-weight: 620; box-shadow: var(--sh-1); }
.tier-list b { font-variant-numeric: tabular-nums; font-weight: 650; }
.calc-out .amt { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }

/* --- sign in / sign up --- */
.auth-pane { display: grid; gap: 0; }
.auth-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; margin: -4px 0 20px; font-size: 13px; color: var(--ink-2);
}
.auth-row label { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.auth-row input[type="checkbox"] { width: 15px; height: 15px; accent-color: var(--b-500); }
.auth-row a { color: var(--b-600); font-weight: 600; }
.auth-consent { margin: -2px 0 20px; font-size: 12.6px; line-height: 1.7; color: var(--ink-2); }
.auth-consent label { display: flex; gap: 9px; align-items: flex-start; cursor: pointer; }
.auth-consent input[type="checkbox"] { width: 15px; height: 15px; margin-top: 2px; flex: none; accent-color: var(--b-500); }
.auth-consent a { color: var(--b-600); }
.code-inline-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px; }
.code-inline-row .btn { height: 46px; padding: 0 18px; flex: none; }
/* 登录页的「状态说明」条：控制台未开放时，点任何按钮都在这里给出解释，
   而不是让按钮静默失效。用品牌浅底 + 左侧描边，区别于报错红。 */
.auth-hint {
  margin-top: 16px; padding: 12px 14px;
  background: var(--b-50); border-left: 3px solid var(--b-500);
  border-radius: 10px;
  font-size: 12.8px; line-height: 1.72; color: var(--b-800);
}
/* 注脚里的跳转链接（如「查看完整模型清单」），字重抬一点，避免被当正文略过 */
.note a, .note-link { color: var(--b-600); font-weight: 620; white-space: nowrap; }
.note a:hover, .note-link:hover { text-decoration: underline; }

/* --- doc section internals --- */
.doc-sec > h2 + .prose, .doc-sec > h2 + p { margin-top: 14px; }
.doc-sec > .table-wrap { margin-top: 18px; }
.doc-sec .sec-sub { margin-top: 12px; }
.prose h4 {
  font-family: var(--f-disp); font-size: 15.5px; font-weight: 660;
  letter-spacing: -.012em; color: var(--ink); text-wrap: balance;
}

@media (max-width: 820px) {
  .msearch { flex: 1 1 100%; margin-left: 0; }
  .rng-head b { font-size: 19px; }
}
