/* ProberX design tokens (route A: light marketing surface + dark product windows) */
:root {
  --brand-600: #4f63e6;
  --brand-700: #4253cf;
  --brand-500: #6d8bff;
  --brand-400: #9db4ff;
  --brand-50: #eef1ff;
  --accent-cyan: #0ea5c4;

  --bg-page: #fafbfd;
  --bg-surface: #ffffff;
  --bg-sunken: #f1f3f8;
  --border-1: #e4e7ef;
  --border-2: #cdd3e1;
  --text-1: #10131c;
  --text-2: #3f4656;
  --text-3: #6b7387;

  --ok: #16a34a;
  --warn: #d97706;
  --down: #dc2626;
  --info: #4f63e6;
  --muted: #94a3b8;

  /* product window palette is always dark */
  --d-bg-page: #07090f;
  --d-bg-surface: #0d1118;
  --d-bg-raised: #141a26;
  --d-border-1: #1f2634;
  --d-border-hi: rgba(157, 180, 255, .18);
  --d-text-1: #eef1fc;
  --d-text-2: #aeb8e0;
  --d-text-3: #737c99;
  --d-ok: #34d399;
  --d-warn: #fbbf24;
  --d-down: #fb7185;
  --d-cyan: #37d5f2;

  --font-sans: "Inter", "HarmonyOS Sans SC", "MiSans", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "Cascadia Code", "SFMono-Regular", Consolas, "Noto Sans Mono CJK SC", monospace;

  --radius-sm: 6px;
  --radius: 8px;
  --radius-win: 12px;
  --shadow-hover: 0 4px 16px rgb(16 19 28 / .06);
  --shadow-win: inset 0 1px 0 var(--d-border-hi), 0 24px 64px -24px rgb(6 9 20 / .5);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --container: 1200px;
  --nav-h: 64px;
}

[data-theme="dark"] {
  --brand-600: #6d8bff;
  --brand-700: #9db4ff;
  --brand-50: rgba(109, 139, 255, .12);
  --accent-cyan: #37d5f2;
  --bg-page: #07090f;
  --bg-surface: #0d1118;
  --bg-sunken: #0a0d14;
  --border-1: #1f2634;
  --border-2: #2c3548;
  --text-1: #eef1fc;
  --text-2: #aeb8e0;
  --text-3: #8790ad;
  --ok: #34d399;
  --warn: #fbbf24;
  --down: #fb7185;
  --shadow-hover: 0 4px 20px rgb(0 0 0 / .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  background: var(--bg-page);
  color: var(--text-2);
  font: 400 15px/1.7 var(--font-sans);
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color .2s, color .2s;
}
h1, h2, h3, h4 { color: var(--text-1); margin: 0; font-weight: 700; letter-spacing: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
img, svg { display: block; }
code, kbd, .mono { font-family: var(--font-mono); }
.num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
::selection { background: var(--brand-50); color: var(--brand-700); }
:focus-visible { outline: 2px solid var(--brand-500); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 112px 0; border-top: 1px solid var(--border-1); }
.section--sunken { background: var(--bg-sunken); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--brand-600); margin-bottom: 14px;
}
.eyebrow svg { width: 15px; height: 15px; }
.h2 { font-size: 36px; line-height: 1.25; }
.h3 { font-size: 22px; line-height: 1.4; font-weight: 600; }
.lead { font-size: 18px; line-height: 1.75; color: var(--text-2); margin-top: 16px; max-width: 68ch; }
.caption { font-size: 13px; line-height: 1.6; color: var(--text-3); }
.section-head--center .lead { margin-left: auto; margin-right: auto; }

.reveal { opacity: 0; transform: translateY(8px); transition: opacity .24s var(--ease), transform .24s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (max-width: 860px) {
  .section { padding: 80px 0; }
  .h2 { font-size: 28px; }
  .h3 { font-size: 19px; }
  .lead { font-size: 16px; }
  .section-head { margin-bottom: 40px; }
  .container { padding: 0 20px; }
}

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