/* BWL Research — marketing site. Served under a strict CSP: this file is the only stylesheet. */

/* ───────────── Fonts (SIL OFL 1.1, see fonts/OFL-*.txt) ───────────── */
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/hanken-grotesk-400.woff2?v=787b3fdd0b7e) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/hanken-grotesk-400-ext.woff2?v=65303151b7cb) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/hanken-grotesk-500.woff2?v=31f666af7bff) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/hanken-grotesk-500-ext.woff2?v=bc8e7e3f3888) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/hanken-grotesk-600.woff2?v=58f23b7ae3e1) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/hanken-grotesk-600-ext.woff2?v=2c5fce1b83bd) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/hanken-grotesk-700.woff2?v=d85de6e27229) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/hanken-grotesk-700-ext.woff2?v=1bc1c12f679a) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 800; font-display: swap; src: url(fonts/hanken-grotesk-800.woff2?v=999ca8039442) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 800; font-display: swap; src: url(fonts/hanken-grotesk-800-ext.woff2?v=ae66c144fe4b) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/jetbrains-mono-400.woff2?v=14425ba9c695) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/jetbrains-mono-400-ext.woff2?v=505dfba8ecbe) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/jetbrains-mono-500.woff2?v=cb182feeed4d) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/jetbrains-mono-500-ext.woff2?v=879df9319f1c) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ───────────── Tokens: dark by default, light behind the toggle ───────────── */
:root {
  --page: #141413;
  --surface: #1b1b19;
  --surface-2: #252522;
  --border: #2a2a27;
  --border-md: #3b3b37;
  --ink: #faf9f5;
  --ink-65: #bdbab0;
  --ink-45: #9d9b92;
  --ink-30: #6c6b64;
  --clay: #d97757;
  --clay-soft: rgba(217, 119, 87, 0.15);
  --ok: #7dbb8e;
  --ok-soft: rgba(125, 187, 142, 0.13);
  --warn: #e2b25a;
  --warn-soft: rgba(226, 178, 90, 0.13);
  --sky: #86aede;
  --olive: #a3b77f;
  --amber: #dcaa55;
  --rose: #d9899b;
  --lift: 0 4px 16px -6px rgba(0, 0, 0, 0.45);
  --shadow: 0 30px 70px -24px rgba(0, 0, 0, 0.7);
  --font: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --page: #faf9f5;
  --surface: #f2f0e8;
  --surface-2: #e9e6dc;
  --border: #e3e0d6;
  --border-md: #d2cec2;
  --ink: #141413;
  --ink-65: #4e4c46;
  --ink-45: #6a6861;
  --ink-30: #a29f95;
  --clay: #c15f3c;
  --clay-soft: rgba(217, 119, 87, 0.16);
  --ok: #357a4b;
  --ok-soft: rgba(53, 122, 75, 0.1);
  --warn: #946312;
  --warn-soft: rgba(196, 140, 40, 0.14);
  --sky: #3d6aa5;
  --olive: #5a7236;
  --amber: #9c6b16;
  --rose: #b0506a;
  --lift: 0 4px 16px -6px rgba(20, 20, 19, 0.12);
  --shadow: 0 30px 70px -24px rgba(20, 20, 19, 0.28);
  color-scheme: light;
}

/* ───────────── Base ───────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  transition: background-color 0.25s ease, color 0.25s ease;
}
h1, h2, h3, h4, p, figure, ul, ol { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }
svg { display: block; }
::selection { background: rgba(217, 119, 87, 0.32); }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; }
.i { width: 16px; height: 16px; flex: none; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 8px 16px; border-radius: 999px;
  background: var(--ink); color: var(--page); font-size: 13px; font-weight: 500; text-decoration: none;
}
.skip:focus { top: 12px; }
.container { max-width: 1024px; margin: 0 auto; }
.container-narrow { max-width: 896px; }
.container-faq { max-width: 672px; }
.mt-10 { margin-top: 40px; }
.mt-12 { margin-top: 48px; }

/* ───────────── Pills ───────────── */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent; border-radius: 999px;
  font-weight: 500; line-height: 1.5; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: opacity 0.15s, background-color 0.15s, border-color 0.15s;
}
.pill .i { width: 14px; height: 14px; }
.pill-sm { padding: 7px 16px; font-size: 13px; }
.pill-lg { padding: 11px 28px; font-size: 14px; }
.pill-lg .i { width: 16px; height: 16px; }
.pill-block { width: 100%; }
.pill-cream { background: var(--ink); color: var(--page); }
.pill-cream:hover { opacity: 0.9; }
.pill-outline { border-color: var(--border-md); color: var(--ink); }
.pill-outline:hover { background: var(--surface-2); }
.pill-ink { background: var(--page); color: var(--ink); }
.pill-ink:hover { opacity: 0.88; }
.i-go { transition: transform 0.15s; }
.pill:hover .i-go { transform: translateX(2px); }

/* ───────────── Navigation ───────────── */
.nav-wrap { position: fixed; inset: 0 0 auto; z-index: 50; padding: 0 16px; }
.nav {
  position: relative; max-width: 1024px; height: 56px; margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  border: 1px solid transparent; border-radius: 999px;
  transition: margin 0.3s, height 0.3s, background-color 0.3s, border-color 0.3s;
}
.no-js .nav, .nav-wrap.is-scrolled .nav, .nav-wrap.is-open .nav {
  margin-top: 12px; height: 48px;
  border-color: var(--border);
  background: color-mix(in srgb, var(--page) 80%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; border-radius: 8px; }
.brand-mark { width: 28px; height: 28px; flex: none; }
.brand-name { font-size: 18px; font-weight: 800; letter-spacing: -0.02em; white-space: nowrap; }
.brand-name span { color: var(--ink-45); font-weight: 700; }
.brand-muted { opacity: 0.6; transition: opacity 0.15s; }
.brand-muted:hover { opacity: 1; }
.nav-links {
  position: absolute; left: 50%; transform: translateX(-50%);
  display: flex; gap: 20px; padding: 0; list-style: none;
}
.nav-links a, .nav-signin { font-size: 13px; color: var(--ink-45); text-decoration: none; transition: color 0.15s; border-radius: 4px; }
.nav-links a:hover, .nav-signin:hover { color: var(--ink); }
.nav-signin { padding: 0 6px; }
.nav-actions { display: flex; align-items: center; gap: 6px; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0;
  border: 0; border-radius: 999px; background: none; color: var(--ink-45); cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}
.icon-btn:hover { background: var(--surface-2); color: var(--ink); }
.no-js .theme-btn { display: none; }
.theme-btn .i-moon { display: none; }
:root[data-theme="light"] .theme-btn .i-sun { display: none; }
:root[data-theme="light"] .theme-btn .i-moon { display: block; }
.menu { display: none; }
.menu > summary { list-style: none; }
.menu > summary::-webkit-details-marker { display: none; }
.menu .i-close, .menu[open] .i-open { display: none; }
.menu[open] .i-close { display: block; }
.menu-panel {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; padding: 8px;
  border: 1px solid var(--border); border-radius: 20px; background: var(--page); box-shadow: var(--shadow);
}
.menu-panel ul { padding: 0; list-style: none; }
.menu-panel ul a { display: block; padding: 10px 14px; border-radius: 12px; font-size: 15px; font-weight: 500; text-decoration: none; }
.menu-panel ul a:hover { background: var(--surface-2); }
.menu-foot { display: grid; gap: 2px; margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--border); }
.menu-item {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 14px;
  border: 0; border-radius: 12px; background: none; cursor: pointer;
  font-size: 14px; color: var(--ink-65); text-align: left; text-decoration: none;
}
.menu-item:hover { background: var(--surface-2); color: var(--ink); }

/* ───────────── Hero ───────────── */
.hero { position: relative; overflow: hidden; padding: 160px 24px 88px; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  -webkit-mask-image: radial-gradient(125% 75% at 50% 26%, #000 0%, transparent 70%);
  mask-image: radial-gradient(125% 75% at 50% 26%, #000 0%, transparent 70%);
}
.smoke {
  position: absolute; inset: -8%;
  background: url(smoke.svg?v=2a3c524b61ea) center / cover no-repeat;
  opacity: 0.26;
  animation: drift 48s ease-in-out infinite alternate;
}
:root[data-theme="light"] .smoke { filter: invert(1); opacity: 0.11; }
.glow {
  position: absolute; top: -18%; left: 50%; width: 1200px; height: 760px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(217, 119, 87, 0.13), rgba(217, 119, 87, 0) 100%);
}
.hero-inner { position: relative; z-index: 1; max-width: 880px; margin: 0 auto; text-align: center; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 4px 14px;
  border: 1px solid var(--border-md); border-radius: 999px;
  background: color-mix(in srgb, var(--page) 55%, transparent);
  font-size: 12px; line-height: 18px; color: var(--ink-45);
}
.badge-dot { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--clay); }
.badge-dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--clay);
  animation: ping 2.6s cubic-bezier(0, 0, 0.2, 1) infinite;
}
.hero-title {
  margin-top: 28px;
  font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 800; line-height: 1.04; letter-spacing: -0.045em;
  text-wrap: balance;
}
.hero-lead {
  max-width: 600px; margin: 24px auto 0;
  font-size: 16px; line-height: 1.65; color: var(--ink-65); text-wrap: balance;
}
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.mock-wrap { position: relative; z-index: 1; max-width: 1024px; margin: 80px auto 0; }

/* ───────────── App mockup ───────────── */
.mock {
  overflow: hidden; border: 1px solid var(--border-md); border-radius: 16px;
  background: var(--page); box-shadow: var(--shadow);
  font-size: 12px; line-height: 1.45; text-align: left;
}
.mock p { margin: 0; }
.mock-bar { position: relative; display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-bottom: 1px solid var(--border); background: var(--surface); }
.tl { width: 10px; height: 10px; border-radius: 50%; }
.tl-r { background: #ff5f57; } .tl-y { background: #febc2e; } .tl-g { background: #28c840; }
.mock-url {
  position: absolute; left: 50%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 12px;
  border: 1px solid var(--border); border-radius: 6px; background: var(--page);
  font-size: 11px; color: var(--ink-45); white-space: nowrap;
}
.url-dot { width: 6px; height: 6px; border-radius: 50%; background: #34c77b; }
.mock-head { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 12px; border-bottom: 1px solid var(--border); }
.mh-muted { color: var(--ink-30); }
.mh-sep { width: 1px; height: 16px; background: var(--border); flex: none; }
.mh-brand { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink-45); white-space: nowrap; }
.mh-brand b { color: var(--ink); font-weight: 800; }
.mh-brand .brand-mark { width: 18px; height: 18px; }
.mh-crumbs { display: inline-flex; gap: 6px; min-width: 0; margin-left: 10px; overflow: hidden; font-size: 12px; color: var(--ink-45); white-space: nowrap; }
.mh-crumbs b { overflow: hidden; color: var(--ink); font-weight: 500; text-overflow: ellipsis; }
.mh-slash { color: var(--ink-30); }
.mh-right { display: inline-flex; align-items: center; gap: 10px; margin-left: auto; }
.phase { display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px; border-radius: 999px; background: var(--clay-soft); color: var(--clay); font-size: 11px; font-weight: 600; white-space: nowrap; }
.phase-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--clay); }
.avatar { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: var(--page); font-size: 9.5px; font-weight: 700; }
.mock-tabs { display: flex; align-items: center; gap: 2px; padding: 6px 8px; overflow: hidden; border-bottom: 1px solid var(--border); white-space: nowrap; }
.mt { padding: 3px 9px; border-radius: 6px; font-size: 11.5px; color: var(--ink-45); }
.mt.is-on { background: var(--surface-2); color: var(--ink); font-weight: 600; }
.mt-right { display: inline-flex; gap: 12px; margin-left: auto; padding: 0 6px; color: var(--ink-45); }
.mt-right .i { width: 14px; height: 14px; }
.mt-right .spark { color: var(--clay); }
.mock-body { display: grid; grid-template-columns: 1fr 1fr; }
.mock-left { display: flex; flex-direction: column; gap: 10px; padding: 16px 18px 18px; border-right: 1px solid var(--border); background: color-mix(in srgb, var(--surface) 45%, var(--page)); }
.mock-right { display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 16px 18px 18px; }
.pane-head { display: flex; align-items: center; gap: 6px; min-height: 22px; font-size: 12.5px; white-space: nowrap; }
.pane-head b { margin-right: 4px; font-weight: 700; letter-spacing: -0.01em; }
.angle { padding: 1px 8px; border: 1px solid var(--border-md); border-radius: 999px; font-size: 10.5px; color: var(--ink-65); }
.pane-count { margin-left: auto; font-size: 11px; color: var(--ink-45); }
.ref { padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--page); }
.ref-title { font-size: 12.5px; font-weight: 600; line-height: 1.35; letter-spacing: -0.005em; }
.ref-meta { margin-top: 3px; font-family: var(--mono); font-size: 10.5px; color: var(--ink-45); }
.ref-meta i { font-style: italic; }
.ref-reason { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 11px; color: var(--ink-65); }
.ref-reason .i { width: 12px; height: 12px; color: var(--clay); }
.ref-reason.warn { margin-top: 7px; color: var(--warn); }
.ref-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; }
.dbs { display: flex; flex-wrap: wrap; gap: 4px; }
.db { padding: 1px 6px; border: 1px solid var(--border); border-radius: 4px; font-family: var(--mono); font-size: 9.5px; color: var(--ink-45); }
.db.on, .db-a, .db-b, .db-c { border-color: color-mix(in srgb, var(--ok) 38%, transparent); background: var(--ok-soft); color: var(--ok); }
.db.off { text-decoration: line-through; opacity: 0.75; }
.db-a { animation: lit-a 7s infinite; }
.db-b { animation: lit-b 7s infinite; }
.db-c { animation: lit-c 7s infinite; }
.st { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 999px; font-size: 11px; font-weight: 600; white-space: nowrap; }
.st .i { width: 12px; height: 12px; }
.st-ok { background: var(--ok-soft); color: var(--ok); }
.st-warn { background: var(--warn-soft); color: var(--warn); }
.st-wait { background: var(--surface-2); color: var(--ink-65); }
.st-swap { display: grid; }
.st-swap > * { grid-area: 1 / 1; justify-self: end; }
.st-wait { opacity: 0; animation: swap-in 7s infinite; }
.st-done { animation: swap-out 7s infinite; }
.spin { width: 10px; height: 10px; border: 1.5px solid var(--ink-30); border-top-color: var(--ink); border-radius: 50%; animation: spin 0.8s linear infinite; }
.ref-actions { display: flex; gap: 4px; margin-top: 8px; }
.btn-xs { padding: 2px 8px; border: 1px solid var(--border-md); border-radius: 6px; font-size: 10.5px; color: var(--ink-65); }
.btn-xs-on { border-color: var(--ink); background: var(--ink); color: var(--page); }
.ref-bad { border-style: dashed; border-color: color-mix(in srgb, var(--warn) 45%, transparent); }
.ref-bad .ref-title { color: var(--ink-65); }
.seg { display: inline-flex; gap: 2px; margin-left: auto; padding: 2px; border: 1px solid var(--border); border-radius: 7px; background: var(--surface); }
.seg span { padding: 1px 8px; border-radius: 5px; font-size: 10.5px; color: var(--ink-45); }
.seg .is-on { background: var(--page); color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25); }

/* graph (mockup and demo card) */
.n-ev { --c: var(--olive); }
.n-res { --c: var(--amber); }
.n-hyp { --c: var(--sky); }
.n-thesis { --c: var(--clay); }
.n-contrib { --c: var(--rose); }
.graph { width: 100%; height: auto; border: 1px solid var(--border); border-radius: 10px; background: color-mix(in srgb, var(--surface) 50%, var(--page)); }
.graph .e, .d-graph .e { fill: none; stroke: var(--ink-30); stroke-width: 1.2; }
.graph .e-prop, .d-graph .e-prop { stroke: var(--clay); stroke-width: 1.4; stroke-dasharray: 3 3; animation: dash 1.2s linear infinite; }
.pulse { fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-dasharray: 10 400; stroke-dashoffset: 10; animation: flow 3.6s linear infinite; }
.pulse.p2 { animation-delay: 1.2s; }
.pulse.p3 { animation-delay: 2.4s; }
.el { font-family: var(--font); font-size: 8px; fill: var(--ink-45); text-anchor: middle; paint-order: stroke; stroke: var(--page); stroke-width: 3px; stroke-linejoin: round; }
.node rect { fill: color-mix(in srgb, var(--c) 10%, var(--page)); stroke: color-mix(in srgb, var(--c) 55%, transparent); stroke-width: 1; }
.node .nt { font-family: var(--font); font-size: 7.5px; font-weight: 700; letter-spacing: 0.08em; fill: var(--c); }
.node .nl { font-family: var(--font); font-size: 9.5px; font-weight: 500; fill: var(--ink); }
.prop-chip rect { fill: color-mix(in srgb, var(--clay) 14%, var(--page)); stroke: var(--clay); stroke-width: 1; animation: glow 2.4s ease-in-out infinite; }
.prop-chip text { font-family: var(--font); font-size: 8.5px; font-weight: 700; fill: var(--clay); text-anchor: middle; }
.prop-chip path { fill: var(--clay); }
.graph .e-contra { stroke: var(--rose); }
.el-contra { fill: var(--rose); }
.ledger { overflow: hidden; border: 1px solid var(--border); border-radius: 10px; }
.ledger-head { display: flex; align-items: center; justify-content: space-between; padding: 6px 10px; border-bottom: 1px solid var(--border); background: var(--surface); font-size: 11.5px; }
.ledger-head b { font-weight: 700; }
.ledger-head span { display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; color: var(--ink-45); }
.ledger-head .i { width: 11px; height: 11px; }
.lrow { display: grid; grid-template-columns: 70px 112px 1fr auto; align-items: center; gap: 10px; padding: 6px 10px; font-size: 11px; }
.lrow + .lrow { border-top: 1px solid var(--border); }
.ltype { padding: 1px 6px; border-radius: 4px; background: var(--surface-2); color: var(--ink-65); font-size: 9.5px; font-weight: 700; text-align: center; }
.ltype.is-quote { background: var(--clay-soft); color: var(--clay); }
.lsrc { overflow: hidden; font-family: var(--mono); font-size: 10px; color: var(--ink-65); text-overflow: ellipsis; white-space: nowrap; }
.lbar { height: 5px; border-radius: 3px; background: var(--surface-2); }
.lpage { font-family: var(--mono); font-size: 10px; color: var(--ink-45); }
.w60 { width: 60%; } .w70 { width: 70%; } .w80 { width: 80%; } .w90 { width: 90%; } .w100 { width: 100%; }
.mock-status { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 28px; padding: 0 12px; background: var(--ink); color: var(--page); font-size: 11px; font-weight: 500; white-space: nowrap; }
.ms-left { display: flex; gap: 14px; }
.ms-right { display: inline-flex; align-items: center; gap: 6px; min-width: 0; opacity: 0.85; }
.ms-right span { overflow: hidden; text-overflow: ellipsis; }
.ms-right .i { width: 12px; height: 12px; color: var(--clay); }

/* ───────────── Facts strip ───────────── */
.facts { padding: 20px 24px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.facts ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 32px; max-width: 896px; margin: 0 auto; padding: 0; list-style: none; font-size: 13px; color: var(--ink-45); }
.facts li { display: inline-flex; align-items: center; gap: 12px; }
.facts-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-30); }

/* ───────────── Sections ───────────── */
.section { padding: 112px 24px; }
.section-rule { border-top: 1px solid var(--border); }
.section-band { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--surface); }
.section-band + .section { border-top: 0; }
.section-head { max-width: 672px; }
.section-head.center { max-width: none; text-align: center; }
.eyebrow { font-size: 12px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-45); }
.h2 { margin-top: 12px; font-size: clamp(1.9rem, 3.5vw, 2.75rem); font-weight: 800; line-height: 1.2; letter-spacing: -0.035em; text-wrap: balance; }
.lead { margin-top: 16px; font-size: 15px; line-height: 1.65; color: var(--ink-65); }

/* demo cards */
.demo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 40px; }
.demo-grid-2 { grid-template-columns: repeat(2, 1fr); margin-top: 20px; }
.demo-card { overflow: hidden; border: 1px solid var(--border); border-radius: 16px; background: var(--page); transition: border-color 0.2s, box-shadow 0.2s; }
.demo-card:hover { border-color: var(--border-md); box-shadow: var(--lift); }
.demo-vis { display: flex; align-items: center; justify-content: center; height: 112px; padding: 0 16px; background: var(--surface); }
.demo-card-lg .demo-vis { height: 252px; padding: 20px 24px; }
.demo-card figcaption { padding: 10px 16px; border-top: 1px solid var(--border); font-size: 12px; font-weight: 600; letter-spacing: -0.005em; color: var(--ink-65); }
.demo-vis p { margin: 0; }

.d-search { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 100%; }
.d-query { display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px; border: 1px solid var(--border-md); border-radius: 999px; background: var(--page); font-size: 12px; box-shadow: var(--lift); }
.d-query .i { width: 13px; height: 13px; color: var(--ink-45); }
.caret { width: 1px; height: 13px; margin-left: -4px; background: var(--ink); animation: blink 1.1s steps(1) infinite; }
.d-angles { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.d-angle { padding: 2px 8px; border: 1px solid var(--border); border-radius: 6px; background: var(--page); font-size: 10.5px; color: var(--ink-65); animation: angle 6s infinite; }
.d-angle.a2 { animation-delay: 1.5s; } .d-angle.a3 { animation-delay: 3s; } .d-angle.a4 { animation-delay: 4.5s; }

.d-verify { width: 100%; max-width: 250px; }
.d-doi { overflow: hidden; font-family: var(--mono); font-size: 10.5px; color: var(--ink-65); text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.d-dbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; margin-top: 10px; }
.d-db { display: inline-flex; align-items: center; gap: 4px; padding: 2px 7px; border: 1px solid var(--border); border-radius: 6px; background: var(--page); font-size: 10.5px; color: var(--ink-65); }
.d-db .i { width: 11px; height: 11px; color: var(--ok); animation: tick 6s infinite backwards; }
.d-db.b2 .i { animation-delay: 0.35s; } .d-db.b3 .i { animation-delay: 0.7s; } .d-db.b5 .i { animation-delay: 1.4s; }
.d-db-na { opacity: 0.55; }
.dash { font-weight: 700; color: var(--ink-45); }

.d-ledger { display: flex; flex-direction: column; gap: 6px; width: 100%; max-width: 236px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--page); }
.d-lrow { display: flex; align-items: center; gap: 8px; }
.d-lrow .ltype { padding: 1px 7px; }
.d-page { font-family: var(--mono); font-size: 10px; color: var(--ink-65); }
.d-lock { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; font-size: 10px; color: var(--ink-45); }
.d-lock .i { width: 11px; height: 11px; }
.d-bar { display: block; height: 5px; border-radius: 3px; background: var(--surface-2); }
.d-src { font-size: 10px; font-style: italic; color: var(--ink-45); }

.d-ideas { display: flex; flex-direction: column; gap: 5px; width: 100%; max-width: 236px; }
.d-idea { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 3px 8px; border: 1px solid var(--border); border-left: 3px solid var(--k); border-radius: 6px; background: var(--page); }
.k-hyp { --k: var(--sky); } .k-arg { --k: var(--olive); } .k-gap { --k: var(--amber); }
.d-kind { font-size: 10.5px; font-weight: 700; color: var(--k); }
.d-meta { overflow: hidden; font-size: 10px; color: var(--ink-45); text-overflow: ellipsis; white-space: nowrap; }

.d-stats { width: 100%; max-width: 236px; padding: 8px 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--page); font-family: var(--mono); font-size: 10.5px; line-height: 1.6; color: var(--ink-65); }
.d-stats .kw { color: var(--clay); }
.d-stats .out { color: var(--ink); }
.d-ci { position: relative; height: 10px; margin-top: 4px; }
.d-ci-zero { position: absolute; top: 0; bottom: 0; left: 16%; width: 1px; background: var(--ink-30); }
.d-ci-line { position: absolute; top: 4px; left: 22%; right: 12%; height: 2px; border-radius: 1px; background: var(--ink-65); }
.d-ci-dot { position: absolute; top: 2px; left: 50%; width: 6px; height: 6px; border-radius: 50%; background: var(--clay); transform: translateX(-50%); }

.d-graph { width: 100%; max-width: 214px; height: auto; }
.gn { fill: color-mix(in srgb, var(--c) 18%, var(--page)); stroke: var(--c); stroke-width: 1.2; }
.n-dashed { stroke-dasharray: 3 2; }

.d-props { overflow: hidden; width: 100%; max-width: 430px; border: 1px solid var(--border-md); border-radius: 12px; background: var(--page); box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.35); }
.d-props-head { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-bottom: 1px solid var(--border); font-size: 12px; }
.d-props-head .i { width: 13px; height: 13px; color: var(--clay); }
.d-props-head b { font-weight: 700; }
.d-props-head span { margin-left: auto; font-size: 11px; color: var(--ink-45); }
.d-prop { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; font-size: 11.5px; color: var(--ink-65); }
.d-prop + .d-prop { border-top: 1px solid var(--border); }
.d-prop.is-pending { background: var(--surface-2); color: var(--ink); }
.d-prop.is-declined .d-prop-text { color: var(--ink-45); text-decoration: line-through; }
.d-tag { display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; color: var(--ink-45); white-space: nowrap; }
.d-tag.ok { color: var(--ok); }
.d-tag .i { width: 12px; height: 12px; }
.d-actions { display: inline-flex; gap: 4px; }
.d-btn { display: inline-flex; align-items: center; gap: 3px; padding: 2px 7px; border: 1px solid var(--border-md); border-radius: 6px; background: var(--page); font-size: 10.5px; white-space: nowrap; }
.d-btn .i { width: 11px; height: 11px; }
.d-btn-on { border-color: var(--ink); background: var(--ink); color: var(--page); animation: nudge 2.4s ease-in-out infinite; }

.d-draft { display: grid; grid-template-columns: 1fr 150px; align-items: start; gap: 12px; width: 100%; max-width: 440px; }
.d-paper { display: flex; flex-direction: column; gap: 7px; padding: 12px; border: 1px solid var(--border-md); border-radius: 10px; background: var(--page); box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.35); }
.d-paper-top { display: flex; align-items: center; gap: 8px; }
.d-venue { padding: 1px 6px; border-radius: 4px; background: var(--surface-2); font-size: 9.5px; font-weight: 700; letter-spacing: 0.04em; color: var(--ink-65); }
.d-title { height: 7px; background: var(--ink-30); }
.d-cols { display: flex; flex-direction: column; gap: 4px; }
.d-sec { display: flex; flex-direction: column; gap: 4px; padding: 5px 6px; border: 1px solid transparent; border-radius: 6px; }
.d-sec.is-on { border-color: color-mix(in srgb, var(--clay) 45%, transparent); background: var(--clay-soft); }
.d-sec.is-on .d-bar { background: color-mix(in srgb, var(--clay) 28%, transparent); }
.d-h { font-size: 10.5px; font-weight: 700; }
.d-ctx { display: flex; flex-direction: column; gap: 6px; padding: 10px; border: 1px solid var(--border); border-radius: 10px; background: var(--page); }
.d-ctx-h { font-size: 9.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-45); }
.d-ctx-i { padding: 3px 7px; border-radius: 5px; background: var(--surface); font-size: 11px; color: var(--ink-65); }
.d-ctx-warn { display: flex; align-items: flex-start; gap: 5px; font-size: 10.5px; line-height: 1.35; color: var(--warn); }
.d-ctx-warn .i { width: 12px; height: 12px; margin-top: 1px; }

/* sub-groups and cards */
.group { margin-top: 56px; }
.group-head { display: flex; align-items: center; gap: 16px; }
.group-head h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); font-weight: 700; letter-spacing: -0.03em; }
.rule { flex: 1; height: 1px; background: var(--border); }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 20px; }
.card-grid.mt-12 { margin-top: 48px; }
.card { padding: 20px; border: 1px solid var(--border); border-radius: 16px; background: var(--page); transition: border-color 0.2s, box-shadow 0.2s; }
.card:hover { border-color: var(--border-md); box-shadow: var(--lift); }
.card-pad { padding: 24px; }
.card-soft { background: var(--surface); }
.ibox { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 8px; background: var(--surface); color: var(--ink-65); transition: background-color 0.2s, color 0.2s; }
.ibox .i { width: 18px; height: 18px; }
.card-soft .ibox { background: var(--page); }
.card:hover .ibox { background: var(--ink); color: var(--page); }
.card h3, .card h4 { margin-top: 16px; font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }
.card p { margin-top: 6px; font-size: 13px; line-height: 1.65; color: var(--ink-65); }
.card-foot .foot { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--border); font-size: 11px; font-weight: 500; color: var(--ink-45); }
.wide-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 12px; }
.card-wide { padding: 24px; }
.card-wide h3 { font-size: 18px; }
.card-wide p { font-size: 14px; }
.card-wide:hover .ibox { background: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip-lg { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--border-md); border-radius: 8px; background: var(--page); font-family: var(--mono); font-size: 12px; font-weight: 500; }
.chip-lg .i { width: 14px; height: 14px; color: var(--ink-45); }
.card-wide + .card-wide .chip-lg { font-family: var(--font); }

/* how it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 64px; padding: 0; list-style: none; }
.step-n { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink-30); }
.steps-4 { grid-template-columns: repeat(4, 1fr); gap: 32px; }
.steps h3 { margin-top: 12px; font-size: 17px; font-weight: 800; letter-spacing: -0.02em; }
.steps p { margin-top: 8px; font-size: 14px; line-height: 1.65; color: var(--ink-65); }

/* pricing */
.pricing { margin-top: 40px; }
.bill-radio { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.bill-toggle { display: inline-flex; gap: 2px; padding: 4px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); }
.bill-toggle label { display: inline-flex; align-items: center; gap: 6px; padding: 6px 16px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--ink-45); cursor: pointer; transition: background-color 0.15s, color 0.15s; }
.bill-toggle label:hover { color: var(--ink); }
#billing-month:checked ~ .bill-toggle label[for="billing-month"],
#billing-year:checked ~ .bill-toggle label[for="billing-year"] { background: var(--ink); color: var(--page); }
#billing-month:focus-visible ~ .bill-toggle label[for="billing-month"],
#billing-year:focus-visible ~ .bill-toggle label[for="billing-year"] { outline: 2px solid var(--clay); outline-offset: 2px; }
.save-chip { padding: 1px 7px; border-radius: 999px; background: var(--clay-soft); color: var(--clay); font-size: 10.5px; font-weight: 700; }
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.bill-toggle + .price-grid { margin-top: 24px; }
.price-card { display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--border); border-radius: 16px; background: var(--page); }
.price-card.is-highlight { border-color: var(--ink); box-shadow: 0 8px 30px -12px rgba(0, 0, 0, 0.5); }
.price-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 24px; }
.price-head h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.popular { padding: 2px 10px; border-radius: 999px; background: var(--ink); color: var(--page); font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.price { margin-top: 16px; }
.v-year { display: none; }
#billing-year:checked ~ .price-grid .v-month { display: none; }
#billing-year:checked ~ .price-grid .v-year { display: block; }
.amount { display: flex; align-items: baseline; gap: 4px; }
.num { font-size: 28px; font-weight: 800; letter-spacing: -0.03em; white-space: nowrap; }
.per { font-size: 13px; color: var(--ink-45); }
.price-note { min-height: 18px; margin-top: 2px; font-size: 12px; color: var(--ink-45); }
.price-desc { min-height: 4.8em; margin-top: 4px; font-size: 13px; line-height: 1.6; color: var(--ink-65); }
.price-card .pill { margin-top: 16px; padding: 8px 16px; font-size: 13px; }
.checks { display: grid; gap: 9px; margin-top: 24px; padding: 0; list-style: none; }
.checks li { display: flex; gap: 8px; font-size: 13px; line-height: 1.4; color: var(--ink-65); }
.checks .i { width: 14px; height: 14px; margin-top: 1px; color: var(--ink); }
.fine { margin-top: 32px; font-size: 12px; color: var(--ink-45); }
.pricing-fallback { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 40px; padding: 24px; border: 1px dashed var(--border-md); border-radius: 16px; font-size: 14px; color: var(--ink-65); }

/* faq */
.faq { margin-top: 48px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.faq details { padding: 20px 0; }
.faq details + details { border-top: 1px solid var(--border); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 15px; font-weight: 600; letter-spacing: -0.005em; list-style: none; cursor: pointer; border-radius: 4px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { width: 16px; height: 16px; color: var(--ink-30); transition: transform 0.2s; }
.faq summary:hover .i { color: var(--ink-65); }
.faq details[open] summary .i { transform: rotate(180deg); }
.faq details p { margin-top: 12px; font-size: 14px; line-height: 1.7; color: var(--ink-65); }

/* final call to action */
.cta-wrap { padding: 0 24px 112px; }
.cta { max-width: 1024px; margin: 0 auto; padding: 88px 24px; border-radius: 24px; background: var(--ink); color: var(--page); text-align: center; }
.cta h2 { max-width: 760px; margin: 0 auto; font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; line-height: 1.22; letter-spacing: -0.035em; text-wrap: balance; }
.cta p { max-width: 460px; margin: 18px auto 0; font-size: 15px; line-height: 1.6; color: color-mix(in srgb, var(--page) 68%, var(--ink)); }
.cta .pill { margin-top: 36px; padding: 13px 32px; }

/* footer */
.footer { padding: 40px 24px; border-top: 1px solid var(--border); }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; font-size: 13px; }
.footer-links a { color: var(--ink-45); text-decoration: none; transition: color 0.15s; border-radius: 4px; }
.footer-links a:hover { color: var(--ink); }
.copy { font-size: 12px; color: var(--ink-45); }

/* ───────────── Hero: the project dashboard ───────────── */
.mock-hero { margin-top: 72px; }
.dash-head { padding: 16px 20px 14px; border-bottom: 1px solid var(--border); }
.dash-crumbs { display: flex; gap: 6px; font-size: 11.5px; color: var(--ink-45); }
.dash-title-row { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.dash-title { min-width: 0; font-size: 17px; font-weight: 700; line-height: 1.3; letter-spacing: -0.015em; }
.dash-body { display: flex; flex-direction: column; gap: 14px; padding: 18px 20px 20px; background: color-mix(in srgb, var(--surface) 45%, var(--page)); }
.dash-card { overflow: hidden; border: 1px solid var(--border); border-radius: 12px; background: var(--page); }
.dash-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 14px; border-bottom: 1px solid var(--border); font-size: 13px; }
.dash-card-head b { font-weight: 700; letter-spacing: -0.01em; }
.dash-hint { font-size: 11px; color: var(--ink-45); }
.dash-spark { width: 13px; height: 13px; color: var(--clay); }
.phases { display: grid; grid-template-columns: repeat(7, 1fr); padding: 0; list-style: none; }
.ph { position: relative; display: flex; flex-direction: column; gap: 3px; min-width: 0; padding: 11px 10px 14px; }
.ph + .ph { border-left: 1px solid var(--border); }
.ph-n { display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: 0.04em; color: var(--ink-30); }
.ph-n .i { width: 11px; height: 11px; color: var(--ok); }
.ph-label { font-size: 11.5px; font-weight: 600; line-height: 1.3; color: var(--ink-45); }
.ph.is-done .ph-n { color: var(--ink-45); }
.ph.is-done .ph-label { color: var(--ink-65); }
.ph.is-now { background: color-mix(in srgb, var(--clay) 9%, var(--page)); }
.ph.is-now .ph-n { color: var(--clay); }
.ph.is-now .ph-label { color: var(--ink); }
.ph-bar { position: absolute; right: 0; bottom: 0; left: 0; height: 3px; background: var(--border); }
.ph.is-done .ph-bar::after, .ph.is-now .ph-bar::after {
  content: ""; position: absolute; inset: 0; transform-origin: left center;
  background: var(--ink-30); animation: ph-fill 0.45s ease-out both;
}
.ph.is-now .ph-bar::after { background: var(--clay); animation: ph-fill 0.45s ease-out 1.2s both, ph-glow 2.6s ease-in-out 2.2s infinite; }
.ph:nth-child(1) .ph-bar::after { animation-delay: 0.3s; }
.ph:nth-child(2) .ph-bar::after { animation-delay: 0.52s; }
.ph:nth-child(3) .ph-bar::after { animation-delay: 0.74s; }
.ph:nth-child(4) .ph-bar::after { animation-delay: 0.96s; }
.dash-stats { display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; border: 1px solid var(--border); border-radius: 12px; background: var(--page); }
.dash-stat { padding: 12px 14px; }
.dash-stat + .dash-stat { border-left: 1px solid var(--border); }
.ds-k { font-size: 10.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-45); }
.ds-v { margin-top: 4px; font-size: 26px; font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; }
.ds-h { min-height: 16px; margin-top: 2px; font-size: 11px; color: var(--ink-45); }
.dash-cols { display: grid; grid-template-columns: 1.75fr 1fr; align-items: start; gap: 14px; }
.ns { padding: 0; list-style: none; }
.ns-item { display: grid; grid-template-columns: 20px 1fr auto; align-items: center; gap: 12px; padding: 11px 14px; }
.ns-item + .ns-item { border-top: 1px solid var(--border); }
.ns-n { display: flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background: var(--clay-soft); color: var(--clay); font-size: 10.5px; font-weight: 700; }
.ns-body { min-width: 0; }
.ns-text { display: block; font-size: 12.5px; line-height: 1.4; }
.ns-meta { display: flex; align-items: center; gap: 8px; margin-top: 4px; font-size: 11px; color: var(--ink-45); }
.sev { display: inline-flex; align-items: center; gap: 5px; padding: 1px 7px; border-radius: 999px; font-size: 10.5px; font-weight: 600; }
.sev::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.sev-high { background: var(--clay-soft); color: var(--clay); }
.sev-medium { background: var(--warn-soft); color: var(--warn); }
.ns-go { padding: 3px 12px; border: 1px solid var(--border-md); border-radius: 7px; font-size: 11.5px; font-weight: 600; }
.ns-item:first-child .ns-go { border-color: var(--ink); background: var(--ink); color: var(--page); animation: nudge 2.4s ease-in-out 2.4s infinite; }
.dq { padding: 14px; font-size: 14px; font-weight: 500; line-height: 1.55; letter-spacing: -0.005em; }

/* ───────────── Before × after ───────────── */
.ba { margin-top: 48px; overflow: hidden; border: 1px solid var(--border); border-radius: 16px; }
.ba-head, .ba-row { position: relative; display: grid; grid-template-columns: 1fr 1fr; }
.ba-rows { padding: 0; list-style: none; }
.ba-row { border-top: 1px solid var(--border); }
.ba-before, .ba-after { display: flex; align-items: center; gap: 12px; padding: 20px 28px; }
.ba-before { font-size: 14px; line-height: 1.55; color: var(--ink-45); }
.ba-after { padding-left: 40px; border-left: 1px solid var(--border); background: var(--surface); font-size: 15px; font-weight: 500; line-height: 1.5; transition: background-color 0.2s; }
.ba-row:hover .ba-after { background: var(--surface-2); }
.ba-head .ba-before, .ba-head .ba-after { align-items: center; padding-top: 14px; padding-bottom: 14px; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; line-height: 1.4; text-transform: uppercase; }
.ba-head .ba-after { color: var(--ink); }
.ba-head .brand-mark { width: 20px; height: 20px; }
.ba-cross, .ba-tick { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; }
.ba-cross { border: 1px solid var(--border-md); color: var(--ink-30); }
.ba-cross .i { width: 11px; height: 11px; }
.ba-tick { background: var(--clay); color: #faf9f5; }
.ba-tick .i { width: 12px; height: 12px; stroke-width: 2.5; }
.ba-arrow {
  position: absolute; top: 50%; left: 50%; display: flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; transform: translate(-50%, -50%);
  border: 1px solid var(--border-md); border-radius: 50%; background: var(--page); color: var(--ink-45);
  transition: color 0.2s, border-color 0.2s;
}
.ba-arrow .i { width: 13px; height: 13px; }
.ba-row:hover .ba-arrow { border-color: var(--clay); color: var(--clay); }

/* ───────────── A look inside ───────────── */
.section-inside { position: relative; overflow: hidden; }
.section-inside::before {
  content: ""; position: absolute; top: 320px; left: 50%; width: 1200px; height: 760px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(217, 119, 87, 0.1), rgba(217, 119, 87, 0)); pointer-events: none;
}
.section-inside .container { position: relative; }
.section-inside .mock-wrap { margin-top: 48px; }
.lead-center { max-width: 640px; margin-right: auto; margin-left: auto; }
.group-note { margin-top: 10px; font-size: 14px; color: var(--ink-45); }
.group-lab { margin-top: 72px; }

/* ───────────── Motion ───────────── */
@keyframes ping { 0% { transform: scale(1); opacity: 0.7; } 80%, 100% { transform: scale(2.6); opacity: 0; } }
@keyframes drift { from { transform: translate3d(-2.5%, 1%, 0) scale(1.04); } to { transform: translate3d(2.5%, -2%, 0) scale(1.08); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes swap-in { 0%, 58% { opacity: 1; } 62%, 100% { opacity: 0; } }
@keyframes swap-out { 0%, 58% { opacity: 0; } 62%, 100% { opacity: 1; } }
@keyframes lit-a {
  0%, 14% { border-color: var(--border); background-color: transparent; color: var(--ink-30); }
  18%, 100% { border-color: color-mix(in srgb, var(--ok) 38%, transparent); background-color: var(--ok-soft); color: var(--ok); }
}
@keyframes lit-b {
  0%, 30% { border-color: var(--border); background-color: transparent; color: var(--ink-30); }
  34%, 100% { border-color: color-mix(in srgb, var(--ok) 38%, transparent); background-color: var(--ok-soft); color: var(--ok); }
}
@keyframes lit-c {
  0%, 46% { border-color: var(--border); background-color: transparent; color: var(--ink-30); }
  50%, 100% { border-color: color-mix(in srgb, var(--ok) 38%, transparent); background-color: var(--ok-soft); color: var(--ok); }
}
@keyframes dash { to { stroke-dashoffset: -12; } }
@keyframes flow { from { stroke-dashoffset: 10; } to { stroke-dashoffset: -160; } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes angle {
  0%, 100% { border-color: var(--border); color: var(--ink-65); box-shadow: 0 0 0 0 transparent; }
  4%, 20% { border-color: var(--clay); color: var(--ink); box-shadow: 0 0 0 3px var(--clay-soft); }
  26% { border-color: var(--border); color: var(--ink-65); box-shadow: 0 0 0 0 transparent; }
}
@keyframes tick { 0% { opacity: 0; transform: scale(0.4); } 6% { opacity: 1; transform: scale(1.15); } 10%, 100% { opacity: 1; transform: scale(1); } }
@keyframes nudge { 0%, 100% { box-shadow: 0 0 0 0 transparent; } 50% { box-shadow: 0 0 0 3px var(--clay-soft); } }
@keyframes glow { 0%, 100% { stroke-opacity: 1; } 50% { stroke-opacity: 0.35; } }


@keyframes ph-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes ph-glow { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .pulse, .caret, .badge-dot::after { display: none; }
}

/* ───────────── Responsive ───────────── */
@media (max-width: 1099px) {
  .nav-links, .nav-signin { display: none; }
  .menu { display: block; }
}
@media (max-width: 1023px) {
  .card-grid, .price-grid, .steps-4 { grid-template-columns: repeat(2, 1fr); }
  .demo-grid { grid-template-columns: repeat(2, 1fr); }
  .demo-grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .mock-hero { margin-top: 56px; }
  .dash-head { padding: 14px 16px 12px; }
  .dash-title { font-size: 15px; }
  .dash-body { gap: 12px; padding: 14px; }
  .dash-hint { display: none; }
  .ph { align-items: center; padding: 10px 2px 12px; }
  .ph-label { display: none; }
  .ph.is-now .ph-label { display: block; font-size: 10.5px; text-align: center; }
  .ph-n .i { display: none; }
  .dash-stats { grid-template-columns: repeat(2, 1fr); }
  .dash-stat:nth-child(3) { border-left: 0; }
  .dash-stat:nth-child(n + 3) { border-top: 1px solid var(--border); }
  .dash-cols { grid-template-columns: 1fr; }
  .ns-item { padding: 10px 12px; }
  .ba-head { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 12px 18px; }
  .ba-head .ba-before, .ba-head .ba-after { padding: 0; border: 0; background: none; font-size: 11px; }
  .ba-row { grid-template-columns: 1fr; }
  .ba-before { padding: 16px 18px 10px; font-size: 13.5px; }
  .ba-after { padding: 12px 18px 16px; border-top: 1px dashed var(--border); border-left: 0; font-size: 14px; }
  .ba-arrow { display: none; }
  .mock-body { grid-template-columns: 1fr; }
  .mock-right { display: none; }
  .mock-left { border-right: 0; }
  .mh-crumbs { display: none; }
  .wide-grid, .steps { grid-template-columns: 1fr; }
  .steps { gap: 32px; margin-top: 48px; }
  .price-desc { min-height: 0; }
}
@media (max-width: 639px) {
  .dash-q, .ns-item:nth-child(3) { display: none; }
  .hide-sm { display: none !important; }
  .nav { padding: 0 8px 0 16px; }
  .hero { padding: 128px 20px 64px; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .mock-wrap { margin-top: 56px; }
  .mock-url { font-size: 10px; }
  .section { padding: 88px 20px; }
  .facts { padding: 18px 20px; }
  .facts ul { gap: 6px 20px; }
  .card-grid, .price-grid, .demo-grid { grid-template-columns: 1fr; }
  .group { margin-top: 48px; }
  .d-draft { grid-template-columns: 1fr 120px; }
  .cta-wrap { padding: 0 20px 88px; }
  .cta { padding: 64px 20px; }
  .footer { padding: 32px 20px; }
  .footer-row { flex-direction: column; }
}
@media (max-width: 420px) {
  .hide-xs { display: none; }
  .brand-name { font-size: 17px; }
  .phase { display: none; }
}
