/* ============================================================
   clearbound · Business Verification & KYB infrastructure
   Visual lock: 1Password "Secure Airlock" (Refero 1949fd5e).
   Dark deep-space → brand-blue hero/footer; bright white
   control-room content; single blue accent, CTA/active only;
   Inter (agileSans substitute) with tight negative tracking;
   full-pill buttons vs modestly-rounded cards. Depth by border
   + one whisper shadow, never heavy elevation.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* light "control room" surfaces */
  --white:        #ffffff;
  --paper:        #f6f8fb;   /* soft section alternation */
  --paper-2:      #eef4fa;   /* light-blue accent wash */
  --line:         #e4e7ec;   /* hairline borders on light */
  --line-soft:    #eef0f3;

  /* dark "airlock" surfaces */
  --deep:         #1d1d21;   /* hero + footer base */
  --void:         #242529;   /* dark cards / secondary dark */
  --void-2:       #2b2c31;
  --line-dark:    #34353b;

  /* text */
  --onyx:         #0b0b0d;   /* primary text on light */
  --graphite:     #44474f;   /* body / nav links on light */
  --slate:        #6b6f78;   /* muted on light */
  --ash:          #9aa0ab;   /* dim on light */
  --on-dark:      #ffffff;
  --on-dark-soft: #c4c7cf;

  /* accent · brand blue, CTA + active state ONLY */
  --blue:         #145fe4;
  --blue-hover:   #0f4fc4;
  --blue-tint:    #e7eefc;   /* faint blue fill for chips/icons */

  /* status (used sparingly inside product frames) */
  --ok:           #1f9d57;
  --ok-bg:        #e6f6ec;
  --warn:         #b7791f;
  --warn-bg:      #fbf2dd;
  --risk:         #d4453b;
  --risk-bg:      #fcebea;

  /* code frame (dark) */
  --code-bg:      #15161a;
  --code-line:    #2a2c33;
  --code-txt:     #d6d9e0;
  --code-key:     #79b0ff;
  --code-str:     #9ad9b0;
  --code-com:     #6b7180;
  --code-fn:      #c9a6ff;

  /* type */
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", "Fira Code", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* metrics */
  --maxw: 1200px;
  --r-card: 16px;
  --r-input: 8px;
  --r-pill: 9999px;
  --shadow: 0 4px 12px rgba(13, 22, 45, .05);
  --shadow-lg: 0 18px 50px rgba(13, 22, 45, .10);
  --section-gap: 112px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--onyx);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--blue); color: #fff; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.section { padding: var(--section-gap) 0; }
.section--tight { padding: 72px 0; }
.center { text-align: center; }
.paper-bg { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow {
  font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--blue); margin: 0 0 16px;
}
.lede { color: var(--graphite); font-size: 19px; max-width: 640px; }
.center .lede { margin-left: auto; margin-right: auto; }
.intro { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.intro .lede { margin-top: 16px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--sans); color: var(--onyx);
  font-weight: 600; line-height: 1.08;
  letter-spacing: -0.022em; margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.7rem, 5.6vw, 4.2rem); letter-spacing: -0.032em; font-weight: 600; }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); letter-spacing: -0.028em; }
h3 { font-size: 1.5rem; line-height: 1.18; }
h4 { font-size: 1.12rem; line-height: 1.25; }
.hl { color: var(--blue); }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

/* ---------- Buttons (full-pill) ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 26px;
  border-radius: var(--r-pill);
  font-weight: 600; font-size: 16px;
  border: 1px solid transparent;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-hover); }
.btn--ghost { background: transparent; color: var(--onyx); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--onyx); }
.btn--on-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn--on-dark:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn--sm { padding: 9px 18px; font-size: 14.5px; }
.btn--block { display: flex; width: 100%; justify-content: center; }

.textlink {
  font-weight: 600; font-size: 15.5px; color: var(--blue);
  display: inline-flex; align-items: center; gap: 7px;
}
.textlink::after { content: "→"; transition: transform .18s ease; }
.textlink:hover::after { transform: translateX(4px); }

/* ============================================================
   Navbar · white, sticky, hairline bottom border
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; gap: 26px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: -.02em; color: var(--onyx); }
.brand__mark { width: 28px; height: 28px; }
.nav__links { display: flex; align-items: center; gap: 2px; margin-left: 6px; }
.nav__links a, .nav__item > button {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 8px 13px; border-radius: 8px;
  color: var(--graphite); font-size: 15.5px; font-weight: 500;
  background: none; border: none; transition: color .15s ease, background .15s ease;
}
.nav__links a:hover, .nav__item > button:hover { color: var(--onyx); background: var(--paper); }
.nav__item { position: relative; }
.nav__item > button::after { content: "▾"; font-size: 10px; opacity: .55; }
.nav__menu {
  position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 250px; background: var(--white);
  border: 1px solid var(--line); border-radius: 14px;
  padding: 8px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.nav__item:hover .nav__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__menu a { display: block; padding: 10px 12px; border-radius: 9px; color: var(--onyx); font-weight: 600; font-size: 15px; }
.nav__menu a span { display: block; font-size: 13px; color: var(--slate); font-weight: 400; margin-top: 2px; }
.nav__menu a:hover { background: var(--paper); }
.nav__spacer { flex: 1; }
.nav__right { display: flex; align-items: center; gap: 12px; }
.nav__right a.plain { color: var(--graphite); font-size: 15.5px; font-weight: 500; padding: 8px 6px; }
.nav__right a.plain:hover { color: var(--onyx); }
.nav__burger { display: none; background: none; border: none; color: var(--onyx); padding: 8px; }
.nav__burger svg { width: 24px; height: 24px; }

/* ============================================================
   Hero · deep-space → brand-blue gradient (airlock)
   ============================================================ */
.hero {
  position: relative; text-align: center;
  padding: 104px 0 220px;
  background: linear-gradient(178deg, var(--deep) 0%, #1b2a55 52%, var(--blue) 100%);
  color: #fff; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 40% at 50% 0%, rgba(255,255,255,.06), transparent 70%),
    radial-gradient(40% 30% at 80% 10%, rgba(20,95,228,.25), transparent 60%);
}
.hero .wrap { position: relative; z-index: 2; }
.hero h1 { color: #fff; max-width: 940px; margin: 0 auto 22px; }
.hero .lede { color: var(--on-dark-soft); font-size: 20px; margin: 0 auto 32px; max-width: 660px; }
.hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero__note { margin-top: 20px; font-size: 13.5px; color: rgba(255,255,255,.6); }
.hero__note b { color: rgba(255,255,255,.85); font-weight: 600; }

/* hero product frame floats over the gradient/white seam */
.hero__frame { position: relative; z-index: 2; margin: 56px auto -150px; max-width: 1000px; }

/* ---------- Product frame (light, code-native UI proof) ---------- */
.frame {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-lg);
}
.frame__bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--paper);
}
.frame__dot { width: 11px; height: 11px; border-radius: 50%; background: #cfd4dc; }
.frame__title { margin-left: 10px; font-family: var(--mono); font-size: 12.5px; color: var(--slate); }
.frame__body { padding: 20px; display: grid; grid-template-columns: 210px 1fr; gap: 18px; min-height: 380px; }
.frame__side { display: flex; flex-direction: column; gap: 4px; }
.frame__navitem { display: flex; align-items: center; gap: 9px; padding: 9px 11px; border-radius: 8px; font-size: 13.5px; font-weight: 500; color: var(--slate); }
.frame__navitem.is-active { background: var(--blue-tint); color: var(--blue); }
.frame__navitem i { width: 7px; height: 7px; border-radius: 2px; background: currentColor; opacity: .8; }
.frame__main { display: flex; flex-direction: column; gap: 14px; }
.frame__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.frame--flush .frame__body { grid-template-columns: 1fr; min-height: auto; }

.stat { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 15px; }
.stat b { font-size: 26px; font-weight: 600; letter-spacing: -.02em; display: block; color: var(--onyx); }
.stat b .hl { color: var(--blue); }
.stat span { font-size: 12.5px; color: var(--slate); }

/* business verification record card (in-frame) */
.record { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.record__hd { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--paper); border-bottom: 1px solid var(--line); }
.record__logo { width: 38px; height: 38px; border-radius: 9px; background: var(--blue-tint); color: var(--blue); display: grid; place-items: center; font-weight: 700; font-size: 15px; flex-shrink: 0; }
.record__hd h4 { font-size: 15px; }
.record__hd p { font-size: 12.5px; color: var(--slate); margin: 1px 0 0; }
.record__rows { display: flex; flex-direction: column; }
.rrow { display: flex; align-items: center; gap: 10px; padding: 11px 16px; font-size: 13.5px; border-bottom: 1px solid var(--line-soft); }
.rrow:last-child { border-bottom: 0; }
.rrow span:first-child { color: var(--slate); width: 132px; flex-shrink: 0; }
.rrow b { font-weight: 600; color: var(--onyx); }

/* status chips */
.chip { margin-left: auto; font-family: var(--mono); font-size: 11px; font-weight: 500; padding: 3px 9px; border-radius: 20px; display: inline-flex; align-items: center; gap: 5px; }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip--ok { color: var(--ok); background: var(--ok-bg); }
.chip--warn { color: var(--warn); background: var(--warn-bg); }
.chip--risk { color: var(--risk); background: var(--risk-bg); }
.chip--info { color: var(--blue); background: var(--blue-tint); }

/* signal / pipeline list reused across frames */
.pipe { display: flex; flex-direction: column; gap: 8px; }
.pipe__row { display: flex; align-items: center; gap: 10px; background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 11px 13px; font-size: 13.5px; }
.dotmark { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); flex-shrink: 0; }

/* risk gauge */
.gauge { display: flex; align-items: center; gap: 16px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.gauge__ring { width: 74px; height: 74px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center;
  background: conic-gradient(var(--ok) 0 82%, var(--line) 82% 100%); }
.gauge__ring i { width: 56px; height: 56px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-weight: 700; font-size: 18px; color: var(--onyx); font-style: normal; }
.gauge__meta b { display: block; font-size: 15px; }
.gauge__meta span { font-size: 13px; color: var(--slate); }

/* mini bar chart */
.chart { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; flex: 1; }
.chart__hd { display: flex; justify-content: space-between; font-size: 12px; color: var(--slate); font-family: var(--mono); margin-bottom: 14px; }
.bars { display: flex; align-items: flex-end; gap: 9px; height: 130px; }
.bars span { flex: 1; background: linear-gradient(180deg, var(--blue), #93b6f3); border-radius: 4px 4px 0 0; }

/* ============================================================
   Logo wall
   ============================================================ */
.logos { text-align: center; }
.logos__label { font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ash); margin-bottom: 28px; }
.logos__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 50px; }
.logos__row span { font-size: 21px; font-weight: 700; color: #b3b8c2; letter-spacing: -.02em; }

/* ============================================================
   Feature grid (capabilities)
   ============================================================ */
.feat3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.fcard { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 28px; box-shadow: var(--shadow); transition: border-color .15s ease, transform .15s ease; }
.fcard:hover { border-color: #cdd3dd; transform: translateY(-2px); }
.fcard__ico { width: 44px; height: 44px; border-radius: 11px; background: var(--blue-tint); display: grid; place-items: center; margin-bottom: 18px; }
.fcard__ico svg { width: 22px; height: 22px; stroke: var(--blue); fill: none; }
.fcard h4 { margin-bottom: 9px; }
.fcard p { font-size: 14.5px; color: var(--graphite); margin: 0; }

/* ============================================================
   Banner line
   ============================================================ */
.banner .wrap { text-align: center; padding-top: 76px; padding-bottom: 76px; }
.banner h2 { max-width: 800px; margin: 0 auto 18px; }

/* ============================================================
   Steps (verify / decide / monitor)
   ============================================================ */
.steps { display: flex; flex-direction: column; gap: 92px; }
.step { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.step:nth-child(even) .step__media { order: -1; }
.step__num { font-family: var(--mono); font-size: 13px; color: var(--blue); margin-bottom: 14px; font-weight: 500; }
.step h3 { font-size: 1.95rem; margin-bottom: 14px; }
.step p { color: var(--graphite); margin-bottom: 22px; max-width: 460px; }

/* code block (dark) */
.code { background: var(--code-bg); border: 1px solid var(--code-line); border-radius: var(--r-card); font-family: var(--mono); font-size: 13.5px; line-height: 1.8; overflow: hidden; box-shadow: var(--shadow-lg); }
.code__bar { display: flex; gap: 7px; padding: 12px 15px; border-bottom: 1px solid var(--code-line); }
.code__bar .frame__dot { background: #3a3d46; }
.code pre { margin: 0; padding: 20px 22px; overflow-x: auto; color: var(--code-txt); }
.code .k { color: var(--code-key); }
.code .s { color: var(--code-str); }
.code .c { color: var(--code-com); }
.code .f { color: var(--code-fn); }
.code .add { color: var(--code-str); }
.code .del { color: #ff9a8f; }

/* ============================================================
   Use-case tabs
   ============================================================ */
.tabs__head { display: flex; justify-content: center; gap: 8px; margin: 40px 0 40px; flex-wrap: wrap; }
.tab { padding: 10px 22px; border-radius: var(--r-pill); background: transparent; border: 1px solid var(--line); color: var(--graphite); font-size: 15px; font-weight: 600; transition: all .15s ease; }
.tab.is-active { background: var(--blue); color: #fff; border-color: var(--blue); }
.tab:hover:not(.is-active) { color: var(--onyx); border-color: #c3c9d3; }
.tabpane { display: none; }
.tabpane.is-active { display: grid; grid-template-columns: 1fr 1.05fr; gap: 52px; align-items: center; text-align: left; }
.tabpane h3 { margin-bottom: 14px; }
.tabpane p { color: var(--graphite); margin-bottom: 18px; }
.tabpane ul { list-style: none; padding: 0; margin: 0 0 22px; }
.tabpane li { padding-left: 28px; position: relative; margin-bottom: 11px; color: var(--graphite); }
.tabpane li::before { content: "✓"; position: absolute; left: 0; top: -1px; color: var(--blue); font-weight: 700; }

/* ============================================================
   "Works everywhere" · integration row
   ============================================================ */
.integrate { text-align: center; }
.intgrid { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; max-width: 760px; margin: 0 auto; }
.intchip { display: inline-flex; align-items: center; gap: 9px; padding: 12px 18px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--white); font-weight: 600; font-size: 14.5px; color: var(--graphite); box-shadow: var(--shadow); }
.intchip i { width: 9px; height: 9px; border-radius: 2px; background: var(--blue); display: inline-block; }

/* ============================================================
   Monitoring highlight · blue "control room" band
   ============================================================ */
.monitor { background: linear-gradient(160deg, #123a8f 0%, var(--blue) 100%); color: #fff; }
.monitor .wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; padding-top: 88px; padding-bottom: 88px; }
.monitor h2 { color: #fff; margin-bottom: 18px; }
.monitor p { color: rgba(255,255,255,.84); margin-bottom: 22px; max-width: 460px; }
.monitor .eyebrow { color: rgba(255,255,255,.75); }
.monitor .btn--ghost { color: #fff; border-color: rgba(255,255,255,.45); }
.monitor .btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* dark frame variant for the blue band */
.frame--dark { background: var(--void); border-color: var(--line-dark); }
.frame--dark .frame__bar { background: var(--void-2); border-color: var(--line-dark); }
.frame--dark .frame__title { color: var(--on-dark-soft); }
.frame--dark .pipe__row { background: var(--void-2); border-color: var(--line-dark); color: var(--on-dark); }
.frame--dark .stat { background: var(--void-2); border-color: var(--line-dark); }
.frame--dark .stat b { color: #fff; }
.frame--dark .gauge { background: var(--void-2); border-color: var(--line-dark); }
.frame--dark .gauge__ring i { background: var(--void-2); color: #fff; }
.frame--dark .gauge__meta b { color: #fff; }

/* ============================================================
   Testimonials
   ============================================================ */
.tgrid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 20px; }
.tcard { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 26px; box-shadow: var(--shadow); }
.tcard.feature { grid-row: span 2; display: flex; flex-direction: column; justify-content: center; }
.tcard__stars { color: var(--ok); font-size: 15px; letter-spacing: 2px; margin-bottom: 14px; }
.tcard p { font-size: 16.5px; line-height: 1.55; color: var(--onyx); }
.tcard.feature p { font-size: 21px; }
.tcard__by { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.tcard__av { width: 40px; height: 40px; border-radius: 50%; background: var(--blue-tint); display: grid; place-items: center; font-weight: 700; color: var(--blue); font-size: 15px; }
.tcard__by b { font-size: 14.5px; display: block; }
.tcard__by span { font-size: 13px; color: var(--slate); }

/* ============================================================
   Closing CTA · dark airlock band
   ============================================================ */
.endcta { background: linear-gradient(168deg, var(--deep), #15244c); color: #fff; text-align: center; }
.endcta .wrap { padding-top: 96px; padding-bottom: 96px; }
.endcta h2 { color: #fff; max-width: 740px; margin: 0 auto 16px; }
.endcta p { color: var(--on-dark-soft); max-width: 560px; margin: 0 auto 30px; font-size: 18px; }
.endcta__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   Footer · deep space
   ============================================================ */
.foot { background: var(--deep); color: var(--on-dark-soft); padding: 66px 0 40px; }
.foot .brand { color: #fff; }
.foot__grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 40px; }
.foot__brand .brand { margin-bottom: 14px; }
.foot__brand p { color: #8b8f99; font-size: 14px; max-width: 270px; }
.footcol h5 { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #7c818c; margin: 0 0 16px; }
.footcol a { display: block; color: var(--on-dark-soft); font-size: 14.5px; padding: 6px 0; }
.footcol a:hover { color: #fff; }
.foot__base { display: flex; justify-content: space-between; align-items: center; margin-top: 52px; padding-top: 26px; border-top: 1px solid var(--line-dark); color: #7c818c; font-size: 13.5px; flex-wrap: wrap; gap: 12px; }
.foot__base a { color: #7c818c; margin-left: 20px; }
.foot__base a:hover { color: #fff; }

/* ============================================================
   Sub-page primitives (product / docs / about / etc.)
   ============================================================ */
.subhero { background: linear-gradient(176deg, var(--deep) 0%, #1b2a55 70%, #21357a 100%); color: #fff; padding: 92px 0 84px; }
.subhero .wrap { max-width: 920px; }
.subhero.center { text-align: center; }
.subhero .eyebrow { color: #8fb0f5; }
.subhero h1 { color: #fff; font-size: clamp(2.3rem, 4.6vw, 3.5rem); margin-bottom: 20px; }
.subhero .lede { color: var(--on-dark-soft); }
.subhero.center .lede { margin-left: auto; margin-right: auto; }
.subhero__cta { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.subhero.center .subhero__cta { justify-content: center; }

/* split feature row */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split--rev .split__media { order: -1; }
.split h3 { font-size: 1.85rem; margin-bottom: 14px; }
.split p { color: var(--graphite); margin-bottom: 18px; }
.split ul { list-style: none; padding: 0; margin: 0 0 22px; }
.split li { padding-left: 28px; position: relative; margin-bottom: 11px; color: var(--graphite); }
.split li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 700; }

/* stat band */
.statband { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.statband .s b { font-size: 2.7rem; font-weight: 600; letter-spacing: -.03em; color: var(--blue); display: block; }
.statband .s span { color: var(--graphite); font-size: 14.5px; }

/* docs layout */
.docs { display: grid; grid-template-columns: 232px 1fr; gap: 52px; align-items: start; }
.docnav { position: sticky; top: 92px; }
.docnav h5 { font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ash); margin: 22px 0 10px; }
.docnav a { display: block; padding: 6px 0; color: var(--graphite); font-size: 14.5px; }
.docnav a:hover, .docnav a.is-active { color: var(--blue); }
.prose { max-width: 740px; }
.prose h2 { font-size: 1.7rem; margin: 44px 0 16px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 30px 0 12px; }
.prose p { color: var(--graphite); }
.prose ul { color: var(--graphite); padding-left: 20px; }
.prose li { margin-bottom: 8px; }
.prose code { font-family: var(--mono); font-size: 13px; background: var(--paper); border: 1px solid var(--line); border-radius: 5px; padding: 2px 6px; color: var(--blue); }
.callout { background: var(--blue-tint); border: 1px solid #cfe0fb; border-left: 3px solid var(--blue); border-radius: 8px; padding: 16px 20px; margin: 24px 0; color: var(--graphite); font-size: 15px; }

/* gallery / cards */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.gcard { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow); transition: border-color .15s ease, transform .15s ease; }
.gcard:hover { border-color: #cdd3dd; transform: translateY(-2px); }
.gcard__top { height: 138px; background: linear-gradient(135deg, #1d1d21, #21357a); position: relative; display: grid; place-items: center; }
.gcard__top .dotmark { width: 14px; height: 14px; }
.gcard__b { padding: 22px; }
.gcard__tag { font-size: 11px; font-weight: 600; color: var(--blue); letter-spacing: .08em; text-transform: uppercase; }
.gcard__b h4 { margin: 8px 0; }
.gcard__b p { font-size: 13.5px; color: var(--graphite); margin: 0; }

/* list rows */
.list { border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow); }
.lrow { display: flex; align-items: center; gap: 18px; padding: 20px 24px; border-bottom: 1px solid var(--line-soft); background: var(--white); }
.lrow:last-child { border-bottom: 0; }
.lrow:hover { background: var(--paper); }
.lrow__av { width: 44px; height: 44px; border-radius: 11px; background: var(--blue-tint); display: grid; place-items: center; color: var(--blue); font-weight: 700; flex-shrink: 0; }
.lrow__main { flex: 1; min-width: 0; }
.lrow__main h4 { margin-bottom: 4px; }
.lrow__main p { font-size: 13.5px; color: var(--slate); margin: 0; }
.lrow__meta { text-align: right; font-size: 13px; color: var(--slate); flex-shrink: 0; }
.lrow__meta b { color: var(--onyx); display: block; font-size: 16px; }

/* partner / logo tiles */
.pwall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ptile { background: var(--white); border: 1px solid var(--line); border-radius: 12px; height: 98px; display: grid; place-items: center; font-size: 18px; font-weight: 700; color: #aab0bb; transition: color .15s, border-color .15s; box-shadow: var(--shadow); }
.ptile:hover { color: var(--onyx); border-color: #cdd3dd; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.plan { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 32px; box-shadow: var(--shadow); }
.plan.is-pop { border-color: var(--blue); border-width: 1.5px; position: relative; box-shadow: var(--shadow-lg); }
.plan__badge { position: absolute; top: -13px; left: 32px; background: var(--blue); color: #fff; font-size: 12px; font-weight: 600; padding: 4px 13px; border-radius: 20px; letter-spacing: .03em; }
.plan h3 { font-size: 1.3rem; margin-bottom: 6px; }
.plan__desc { font-size: 14px; color: var(--slate); min-height: 42px; }
.plan__price { font-size: 2.8rem; font-weight: 600; letter-spacing: -.03em; margin: 14px 0 4px; }
.plan__price small { font-size: 1rem; color: var(--slate); font-weight: 400; }
.plan ul { list-style: none; padding: 0; margin: 24px 0; }
.plan li { padding: 9px 0 9px 28px; position: relative; font-size: 14.5px; color: var(--graphite); border-top: 1px solid var(--line-soft); }
.plan li::before { content: "✓"; position: absolute; left: 0; top: 9px; color: var(--blue); font-weight: 700; }

/* FAQ accordion */
.faq { max-width: 760px; margin: 0 auto; }
.qa { border-bottom: 1px solid var(--line); }
.qa__q { width: 100%; text-align: left; background: none; border: none; padding: 22px 0; font-size: 17px; font-weight: 600; color: var(--onyx); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.qa__q::after { content: "+"; font-size: 22px; color: var(--blue); font-weight: 400; flex-shrink: 0; }
.qa.is-open .qa__q::after { content: "–"; }
.qa__a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.qa.is-open .qa__a { max-height: 320px; }
.qa__a p { padding: 0 0 22px; color: var(--graphite); margin: 0; }

/* auth */
.auth { min-height: calc(100vh - 68px); display: grid; place-items: center; padding: 60px 24px; background: var(--paper); }
.authcard { width: 100%; max-width: 420px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 40px; box-shadow: var(--shadow-lg); }
.authcard h1 { font-size: 1.85rem; margin-bottom: 8px; text-align: center; }
.authcard .sub { text-align: center; color: var(--graphite); font-size: 15px; margin-bottom: 28px; }
.authcard .alt { text-align: center; margin-top: 22px; font-size: 14.5px; color: var(--slate); }
.authcard .alt a { color: var(--blue); font-weight: 600; }
.divider { display: flex; align-items: center; gap: 14px; margin: 22px 0; color: var(--ash); font-size: 12.5px; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* forms */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; color: var(--graphite); margin-bottom: 7px; font-weight: 500; }
.field input, .field select {
  width: 100%; padding: 12px 14px; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-input); color: var(--onyx); font-family: inherit; font-size: 15px;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-tint); }
.fieldrow { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* contact / demo split card */
.paper-card { display: grid; grid-template-columns: 1fr 1.1fr; border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-lg); }
.paper-card__art { background: linear-gradient(155deg, #1d1d21, #21357a); padding: 44px; color: #fff; display: flex; flex-direction: column; justify-content: center; }
.paper-card__art h3 { color: #fff; margin-bottom: 14px; }
.paper-card__art p { color: var(--on-dark-soft); font-size: 15px; }
.paper-card__art ul { list-style: none; padding: 0; margin: 22px 0 0; }
.paper-card__art li { padding-left: 26px; position: relative; margin-bottom: 12px; color: rgba(255,255,255,.9); font-size: 14.5px; }
.paper-card__art li::before { content: "✓"; position: absolute; left: 0; color: #8fb0f5; font-weight: 700; }
.paper-card__form { background: var(--white); padding: 44px; }
.paper-card__form h3 { margin-bottom: 8px; }
.paper-card__form > p { color: var(--graphite); font-size: 15px; margin-bottom: 24px; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 940px) {
  :root { --section-gap: 80px; }
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .nav__right .btn--ghost.btn--sm { display: none; }
  .step, .tabpane.is-active, .monitor .wrap, .split, .docs, .paper-card { grid-template-columns: 1fr; gap: 40px; }
  .step:nth-child(even) .step__media, .split--rev .split__media { order: 0; }
  .frame__body { grid-template-columns: 1fr; }
  .frame__side { flex-direction: row; flex-wrap: wrap; }
  .tgrid { grid-template-columns: 1fr 1fr; }
  .tcard.feature { grid-row: auto; grid-column: 1 / -1; }
  .feat3, .gallery, .plans, .statband, .pwall { grid-template-columns: 1fr 1fr; }
  .foot__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .foot__brand { grid-column: 1 / -1; }
  .docnav { position: static; display: flex; flex-wrap: wrap; gap: 4px 16px; }
  .hero { padding-bottom: 180px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero { padding: 64px 0 150px; }
  .hero__frame { margin-bottom: -120px; }
  .tgrid, .feat3, .gallery, .plans, .statband, .pwall, .fieldrow { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr; }
  .frame__row { grid-template-columns: 1fr; }
  .rrow span:first-child { width: 110px; }
}
