/* ==========================================================================
   HeliumID — site.css
   HASH25 visual system: monochrome at rest, blue on intent.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --black: #000000;
  --white: #ffffff;
  --graphite: #242424;
  --grey: #777777;
  --grid: #d9d9d9;
  --off: #f5f5f3;
  --blue: #2563eb;
  --blue-soft: rgba(37, 99, 235, 0.08);
  --ok: #16a34a;
  --warn: #d97706;

  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --font-wordmark: "Outfit", "Inter", system-ui, sans-serif;
  --font-display: "Inter Tight", "Inter", ui-sans-serif, system-ui, sans-serif;

  --frame-max: 1920px;
  --gutter: clamp(20px, 4.6vw, 88px);
  --header-h: 96px;
  --header-h-scrolled: 72px;

  --dur: 220ms;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* theme (light default) */
  --bg: var(--white);
  --fg: var(--black);
  --fg-2: var(--graphite);
  --muted: var(--grey);
  --line: var(--grid);
  --card: var(--white);
  --card-hover: var(--white);
}

.theme-offwhite { --bg: var(--off); --card: var(--white); }
.theme-dark {
  --bg: var(--black);
  --fg: var(--white);
  --fg-2: #e6e6e6;
  --muted: #9a9a9a;
  --line: #2a2a2a;
  --card: #0a0a0a;
  --card-hover: #0f0f0f;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--off);
  color: var(--black);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv11", "ss01", "calt";
  overflow-x: hidden;
}
img, svg, canvas, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, figure, pre { margin: 0; }
ul, ol { padding: 0; list-style: none; }
code, pre, .mono { font-family: var(--font-mono); }
.mono { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
::selection { background: var(--blue); color: var(--white); }
.muted { color: var(--muted); }
.center { text-align: center; }

.skip-link { position: absolute; left: 16px; top: -100px; z-index: 1000; background: var(--black); color: var(--white); padding: 10px 16px; }
.skip-link:focus { top: 16px; }

/* ---------- Frame (boxed at 1920px) ---------- */
.frame {
  position: relative;
  max-width: var(--frame-max);
  margin: 0 auto;
  background: var(--white);
  border-inline: 1px solid var(--grid);
  min-height: 100vh;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.02);
}
.container { width: 100%; padding-inline: var(--gutter); position: relative; z-index: 1; }

/* ---------- Typography ---------- */
.eyebrow {
  position: relative;
  color: var(--muted);
  padding-left: 18px;
  margin-bottom: 28px;
  line-height: 1.4;
}
.eyebrow::before { content: ""; position: absolute; left: 0; top: -4px; bottom: -4px; width: 1px; background: var(--fg); }
.eyebrow::after { content: ""; position: absolute; left: 18px; bottom: -12px; width: 28px; height: 1px; background: var(--fg); }
.hero-eyebrow { display: flex; align-items: flex-start; gap: 12px; }
.hero-eyebrow .eyebrow-mark { margin-top: 1px; }
.hero-eyebrow .eyebrow-mark .px { fill: var(--fg); }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 6.1vw, 7.25rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.94;
  color: var(--fg);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--fg);
}
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.6vw, 6.25rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--fg);
}
.hero-sub { font-size: clamp(1.25rem, 1.7vw, 1.75rem); font-weight: 500; letter-spacing: -0.02em; color: var(--fg); margin-top: 28px; }
.hero-body { font-size: clamp(1.05rem, 1.3vw, 1.375rem); line-height: 1.45; color: var(--fg-2); margin-top: 20px; max-width: 42rem; }
.hero-body p + p { margin-top: 0.8em; }
.lede { font-size: clamp(1.1rem, 1.4vw, 1.5rem); line-height: 1.4; color: var(--fg-2); margin-top: 24px; max-width: 44rem; }
.section-body { color: var(--fg-2); margin-top: 20px; max-width: 40rem; font-size: 1.0625rem; }
.section-body p + p { margin-top: 0.8em; }
.section-head { max-width: 1100px; margin-bottom: clamp(40px, 5vw, 80px); }
.section-head.center { margin-inline: auto; text-align: center; }
.kicker { display: inline-flex; align-items: center; gap: 12px; font-size: 1.125rem; font-weight: 600; letter-spacing: -0.01em; color: var(--fg); margin-bottom: 16px; }
.kicker .px { fill: var(--fg); }
.list-title { font-weight: 600; color: var(--fg); margin-top: 36px; font-size: 1.125rem; letter-spacing: -0.01em; }
.footnote { font-size: 0.8125rem; color: var(--muted); margin-top: 28px; max-width: 48rem; line-height: 1.5; }
.footnote.center { margin-inline: auto; text-align: center; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  height: 58px; padding: 0 30px;
  font-weight: 500; font-size: 1.0625rem; letter-spacing: -0.005em; white-space: nowrap;
  border: 1px solid var(--black);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.btn .icon { width: 20px; height: 20px; transition: transform var(--dur) var(--ease); }
.btn:hover .icon-arrow, .btn:focus-visible .icon-arrow { transform: translateX(4px); }
.btn:hover .icon-external { transform: translate(2px, -2px); }
.btn-primary { background: var(--black); color: var(--white); }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--blue); border-color: var(--blue); }
.btn-secondary { background: var(--white); color: var(--black); }
.btn-secondary:hover, .btn-secondary:focus-visible { border-color: var(--blue); color: var(--blue); }
.btn-sm { height: 48px; padding: 0 22px; font-size: 1rem; }
.btn-block { width: 100%; }
.theme-dark .btn-primary { background: var(--white); color: var(--black); border-color: var(--white); }
.theme-dark .btn-primary:hover, .theme-dark .btn-primary:focus-visible { background: var(--blue); color: var(--white); border-color: var(--blue); }
.theme-dark .btn-secondary { background: transparent; color: var(--white); border-color: #555; }
.theme-dark .btn-secondary:hover, .theme-dark .btn-secondary:focus-visible { border-color: var(--blue); color: var(--blue); }
.cta-group { display: flex; flex-wrap: wrap; gap: 16px 20px; margin-top: 40px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 500; color: var(--fg);
  transition: color var(--dur) var(--ease);
}
.link-arrow .icon { width: 18px; height: 18px; transition: transform var(--dur) var(--ease); }
.link-arrow:hover, .link-arrow:focus-visible { color: var(--blue); }
.link-arrow:hover .icon { transform: translateX(4px); }

.mono-labels { display: flex; flex-wrap: wrap; gap: 10px 0; margin-top: 44px; color: var(--muted); }
.mono-labels li { display: inline-flex; align-items: center; }
.mono-labels li + li::before { content: "·"; margin: 0 14px; color: var(--line); }

/* ---------- Header ---------- */
.announcement { background: var(--black); color: var(--white); padding: 10px 0; }
.announcement .container { display: flex; justify-content: center; gap: 20px; align-items: center; flex-wrap: wrap; }
.announcement a { display: inline-flex; align-items: center; gap: 6px; color: #9db4f5; }
.announcement .icon { width: 14px; height: 14px; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.86);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--grid);
}
.header-inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: var(--header-h);
  padding-left: var(--gutter);
  transition: height var(--dur) var(--ease);
}
.site-header.is-scrolled .header-inner { height: var(--header-h-scrolled); }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--black); }
.brand .wordmark { font-family: var(--font-wordmark); font-weight: 500; font-size: 1.875rem; letter-spacing: -0.02em; line-height: 1; }
.brand-mark .px { fill: var(--black); transition: fill var(--dur) var(--ease); }
.brand:hover .brand-mark .px.hot { fill: var(--blue); }

.nav-list { display: flex; gap: 6px; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; font-size: 1.0625rem; font-weight: 450; color: var(--black);
  position: relative;
}
.nav-link span { position: relative; }
.nav-link span::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease); }
.nav-link:hover span::after, .nav-link:focus-visible span::after, .nav-item.is-active > .nav-link span::after, .nav-item.is-open > .nav-link span::after { transform: scaleX(1); }
.nav-link .chev { width: 14px; height: 14px; color: var(--grey); transition: transform var(--dur) var(--ease); }
.nav-item.is-open > .nav-link .chev { transform: rotate(180deg); }
.nav-item { position: relative; }
.menu {
  position: absolute; top: calc(100% + 10px); left: 0;
  min-width: 340px; background: var(--white); border: 1px solid var(--grid);
  box-shadow: 0 24px 60px -24px rgba(0,0,0,0.25);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility 0s linear var(--dur);
  padding: 8px;
}
.menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav-item.is-open > .menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.menu-link { display: grid; grid-template-columns: 24px 1fr; gap: 14px; align-items: start; padding: 12px 14px; transition: background-color var(--dur) var(--ease); }
.menu-link:hover, .menu-link:focus-visible, .menu-link.is-current { background: var(--off); }
.menu-link:hover .menu-label { color: var(--blue); }
.menu-mark { margin-top: 2px; }
.menu-mark .px { fill: var(--black); transition: fill var(--dur) var(--ease); }
.menu-link:hover .menu-mark .px { fill: var(--blue); }
.menu-dot { width: 8px; height: 8px; background: var(--black); margin: 7px 8px; }
.menu-link:hover .menu-dot { background: var(--blue); }
.menu-text { display: grid; gap: 2px; }
.menu-label { font-weight: 500; transition: color var(--dur) var(--ease); }
.menu-desc { font-size: 0.875rem; color: var(--grey); }

.header-actions { justify-self: end; display: flex; align-items: center; gap: 28px; height: 100%; padding-left: 40px; padding-right: var(--gutter); border-left: 1px solid var(--grid); }
.signin { font-size: 1.0625rem; font-weight: 450; position: relative; white-space: nowrap; }
.signin::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease); }
.signin:hover::after { transform: scaleX(1); }
/* ---------- Mobile menu toggle: 3×3 pixel grid that morphs into an X ---------- */
.nav-toggle { display: none; width: 44px; height: 44px; place-items: center; position: relative; z-index: 3; }
.pxi { display: grid; grid-template-columns: repeat(3, 6px); gap: 3px; }
.pxi i { width: 6px; height: 6px; background: var(--black); transition: transform 320ms var(--ease-out), background-color 240ms var(--ease), opacity 240ms; }
.nav-toggle:hover .pxi i { background: var(--blue); }
.nav-toggle:hover .pxi i:nth-child(5) { transform: scale(1.25); }
.nav-toggle[aria-expanded="true"] .pxi i:nth-child(2n) { transform: scale(0); opacity: 0; }
.nav-toggle[aria-expanded="true"] .pxi i:nth-child(1) { transform: translate(1px, 1px); }
.nav-toggle[aria-expanded="true"] .pxi i:nth-child(3) { transform: translate(-1px, 1px); }
.nav-toggle[aria-expanded="true"] .pxi i:nth-child(7) { transform: translate(1px, -1px); }
.nav-toggle[aria-expanded="true"] .pxi i:nth-child(9) { transform: translate(-1px, -1px); }
.nav-toggle[aria-expanded="true"] .pxi i:nth-child(5) { transform: rotate(45deg) scale(1.15); }

/* ---------- Mobile menu: pixel-wipe reveal, dark panel, staggered items ---------- */
.mobile-menu { display: none; position: fixed; left: 0; right: 0; bottom: 0; top: var(--mm-top, var(--header-h)); z-index: 99; color: var(--white); pointer-events: none; }
.mobile-menu[hidden] { display: none !important; }
.mobile-menu.is-open, .mobile-menu.is-closing { pointer-events: auto; }
.mm-pixels { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: calc(100vw / 6); overflow: hidden; }
.mm-pixels i { background: var(--black); transform: scale(0); transition: transform 300ms var(--ease-out); transition-delay: var(--c); margin: -0.5px; }
.mobile-menu.is-open .mm-pixels i { transform: scale(1); transition-delay: var(--o); }
.mm-panel { position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain; padding: 18px var(--gutter) 28px; display: flex; flex-direction: column; opacity: 0; transition: opacity 200ms var(--ease); background-image: linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px); background-size: calc(100vw / 6) calc(100vw / 6); }
.mobile-menu.is-open .mm-panel { opacity: 1; transition: opacity 260ms var(--ease) 320ms; }
.mm-head { display: flex; justify-content: space-between; color: #7a7a7a; font-size: 0.625rem; padding-bottom: 12px; border-bottom: 1px solid #262626; }
.mm-list { margin-top: 6px; }
.mm-item { border-bottom: 1px solid #1f1f1f; }
.mm-top { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 8px; width: 100%; padding: 16px 0; text-align: left; color: var(--white); }
.mm-num { color: #6f6f6f; font-size: 0.6875rem; align-self: start; padding-top: 10px; transition: color 240ms; }
.mm-label { display: block; overflow: hidden; }
.mm-label span { display: block; font-family: var(--font-display); font-size: clamp(2rem, 9vw, 2.75rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.05; transform: translateY(105%); transition: transform 520ms var(--ease-out), color 240ms var(--ease); }
.mobile-menu.is-open .mm-label span { transform: none; transition-delay: calc(380ms + var(--i) * 60ms), 0s; }
.mm-top > .icon { width: 22px; height: 22px; color: #6f6f6f; transition: transform 240ms var(--ease), color 240ms; }
.mm-top:hover .mm-label span, .mm-top:focus-visible .mm-label span, .mm-top[aria-expanded="true"] .mm-label span { color: var(--blue); }
.mm-top:hover > .icon { transform: translateX(4px); color: var(--blue); }
.mm-item.is-here .mm-num { color: var(--blue); }
.mm-item.is-here .mm-num::after { content: ""; display: block; width: 6px; height: 6px; background: var(--blue); margin-top: 6px; }
.mm-plus { position: relative; width: 22px; height: 22px; }
.mm-plus::before, .mm-plus::after { content: ""; position: absolute; left: 3px; right: 3px; top: 10px; height: 2px; background: #8a8a8a; transition: transform 320ms var(--ease-out), background-color 240ms; }
.mm-plus::after { transform: rotate(90deg); }
.mm-top[aria-expanded="true"] .mm-plus::before { transform: rotate(180deg); background: var(--blue); }
.mm-top[aria-expanded="true"] .mm-plus::after { transform: rotate(180deg); background: var(--blue); }
.mm-item { opacity: 0; transition: opacity 360ms var(--ease); }
.mobile-menu.is-open .mm-item { opacity: 1; transition-delay: calc(380ms + var(--i) * 60ms); }
.mm-sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 420ms var(--ease-out); }
.mm-sub > div { overflow: hidden; }
.mm-top[aria-expanded="true"] + .mm-sub { grid-template-rows: 1fr; }
.mm-sub ul { padding: 0 0 18px 42px; display: grid; gap: 2px; }
.mm-sub li { opacity: 0; transform: translateY(-8px); transition: opacity 280ms var(--ease), transform 360ms var(--ease-out); }
.mm-top[aria-expanded="true"] + .mm-sub li { opacity: 1; transform: none; transition-delay: calc(80ms + var(--k) * 50ms); }
.mm-link { display: grid; grid-template-columns: 20px 1fr 16px; align-items: center; gap: 14px; padding: 11px 12px 11px 0; color: #e6e6e6; border-bottom: 1px solid #181818; }
.mm-link b { display: block; font-weight: 500; font-size: 1.0625rem; letter-spacing: -0.01em; }
.mm-link small { display: block; color: #7a7a7a; font-size: 0.8125rem; margin-top: 1px; }
.mm-link .icon { width: 16px; height: 16px; color: #555; transition: transform 240ms var(--ease), color 240ms; }
.mm-link:hover b, .mm-link:focus-visible b { color: var(--blue); }
.mm-link:hover .icon { transform: translateX(3px); color: var(--blue); }
.mm-link.is-current b { color: var(--blue); }
.mm-mark .px { fill: #e6e6e6; transition: fill 240ms; }
.mm-link:hover .mm-mark .px { fill: var(--blue); }
.mm-dot { width: 7px; height: 7px; background: #e6e6e6; margin-left: 6px; }
.mm-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 26px; opacity: 0; transform: translateY(14px); transition: opacity 360ms var(--ease), transform 460ms var(--ease-out); }
.mobile-menu.is-open .mm-actions { opacity: 1; transform: none; transition-delay: 760ms; }
.mm-btn { display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 54px; padding: 0 18px; font-weight: 500; border: 1px solid #333; color: var(--white); transition: background-color 240ms, border-color 240ms, color 240ms; }
.mm-btn .icon { width: 18px; height: 18px; }
.mm-solid { background: var(--white); color: var(--black); border-color: var(--white); }
.mm-btn:hover, .mm-btn:focus-visible { background: var(--blue); border-color: var(--blue); color: var(--white); }
.mm-foot { margin-top: auto; padding-top: 34px; display: flex; align-items: flex-end; gap: 18px; opacity: 0; transition: opacity 400ms var(--ease); }
.mobile-menu.is-open .mm-foot { opacity: 1; transition-delay: 820ms; }
.mm-mark-big { display: grid; grid-template-columns: repeat(5, 14px); gap: 2px; flex: none; }
.mm-mark-big i { width: 14px; height: 14px; background: #161616; transition: background-color 260ms var(--ease); }
.mobile-menu.is-open .mm-mark-big i.on { background: var(--white); transition-delay: calc(900ms + var(--m)); }
.mm-mark-big:hover i.on { background: var(--blue); transition-delay: 0s; }
.mm-foot-text { display: grid; gap: 6px; min-width: 0; }
.mm-tag { font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; letter-spacing: -0.02em; }
.mm-foot-text .mono { color: #7a7a7a; font-size: 0.625rem; }
.mm-foot-text a:hover { color: var(--blue); }
html.mm-locked, html.mm-locked body { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  .mm-pixels i, .mm-panel, .mm-label span, .mm-item, .mm-actions, .mm-foot, .mm-mark-big i, .mm-sub li { transition: none !important; }
}

/* ---------- Blocks (generic) ---------- */
.hero-copy, .hero-visual, .mock, .mock-main, .mock-body, .spot-copy, .spot-visual, .code-copy, .code-visual, .matrix-copy, .matrix-visual, .contact-copy, .contact-form, .text-main, .faq-list, .products-panels, .products-nav, .grid-aside, .f-brand, .f-cols { min-width: 0; }
.block { position: relative; background: var(--bg); color: var(--fg); padding-block: clamp(72px, 9vw, 160px); overflow: clip; }
.block + .block { border-top: 1px solid var(--line); }
.block.theme-dark + .block.theme-dark { border-top-color: #1f1f1f; }
.section-foot { margin-top: clamp(40px, 5vw, 72px); }

.grid-bg {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 180px 180px;
  background-position: center top;
  opacity: 0.55;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 60% 50%, #000 20%, transparent 85%);
  mask-image: radial-gradient(ellipse 70% 80% at 60% 50%, #000 20%, transparent 85%);
}
.grid-bg canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

.deco-pixels { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.deco-px { position: absolute; display: block; background: var(--grid); animation: px-float 7s ease-in-out infinite; animation-delay: var(--d, 0ms); transition: background-color 300ms var(--ease); }
.deco-px.mid { background: #bdbdbd; }
.deco-px.ink { background: var(--fg); }
.deco-px.near { background: var(--blue) !important; }
.theme-dark .deco-px { background: #2a2a2a; }
.theme-dark .deco-px.mid { background: #3a3a3a; }
@keyframes px-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

.sq { display: inline-block; width: 8px; height: 8px; background: currentColor; }

/* ---------- Hero ---------- */
.block-hero { padding-block: clamp(56px, 6vw, 96px) clamp(88px, 9vw, 150px); border-top: 0 !important; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 5vw, 96px); align-items: center; }
.block-hero.no-visual .hero-inner { grid-template-columns: minmax(0, 1fr); }
.block-hero.no-visual .hero-copy { max-width: 1100px; }
.hero-copy { position: relative; z-index: 2; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 20px 48px; margin-top: 52px; font-size: 1.0625rem; color: var(--fg); }
.hero-badges li { display: inline-flex; align-items: center; gap: 14px; }
.hero-badges .icon { width: 28px; height: 28px; stroke-width: 1.6; }
.hero-visual { position: relative; z-index: 1; }
.hero-side { position: absolute; left: var(--gutter); bottom: 44px; display: flex; gap: 16px; align-items: flex-start; color: var(--muted); line-height: 1.7; }
.hero-side .sq { width: 10px; height: 10px; margin-top: 4px; color: var(--fg); }
.hero-side span { padding-left: 16px; border-left: 1px solid var(--fg); }
.hero-corner { position: absolute; right: var(--gutter); bottom: 44px; text-align: right; color: var(--muted); line-height: 1.7; }
.hero-corner .rule { display: block; width: 28px; height: 1px; background: var(--fg); margin: 10px 0 0 auto; }

/* Hero entrance */
.js .hero-copy > * { opacity: 0; transform: translateY(18px); animation: rise 900ms var(--ease-out) forwards; }
.js .hero-copy > :nth-child(1) { animation-delay: 60ms; }
.js .hero-copy > :nth-child(2) { animation-delay: 140ms; }
.js .hero-copy > :nth-child(3) { animation-delay: 240ms; }
.js .hero-copy > :nth-child(4) { animation-delay: 320ms; }
.js .hero-copy > :nth-child(5) { animation-delay: 400ms; }
.js .hero-copy > :nth-child(6) { animation-delay: 480ms; }
.js .hero-copy > :nth-child(7) { animation-delay: 560ms; }
.js .hero-visual { opacity: 0; transform: translateY(24px) scale(0.985); animation: rise 1100ms var(--ease-out) 260ms forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Mocks (shared) ---------- */
.mock { background: var(--white); color: var(--black); border: 1px solid var(--grid); box-shadow: 0 40px 90px -50px rgba(0,0,0,0.35), 0 1px 0 rgba(0,0,0,0.03); }
.theme-dark .mock { box-shadow: 0 40px 90px -40px rgba(0,0,0,0.9); }
.mock-bar { display: flex; justify-content: space-between; align-items: center; height: 62px; padding: 0 28px; border-bottom: 1px solid var(--grid); }
.mock-brand { display: inline-flex; align-items: center; gap: 10px; }
.mock-brand .wordmark { font-family: var(--font-wordmark); font-weight: 500; font-size: 1.25rem; letter-spacing: -0.01em; }
.mock-brand .px { fill: var(--black); }
.mock-bar-label { display: inline-flex; align-items: center; gap: 10px; color: var(--grey); }
.mock-bar-label .dash { width: 22px; height: 1px; background: var(--grey); }
.mock-brand svg { flex: none; }
@media (max-width: 560px) {
  .mock-bar { padding: 0 16px; gap: 12px; }
  .mock-bar-label { font-size: 0.5625rem; white-space: nowrap; }
  .mock-bar-label .dash { display: none; }
}

/* verify */
.mock-verify .mock-body { display: grid; grid-template-columns: 178px 1fr; }
.mock-steps { border-right: 1px solid var(--grid); padding: 18px 12px; background: #fcfcfb; }
.mock-steps li { display: flex; align-items: center; gap: 14px; padding: 12px 10px; font-size: 0.875rem; color: var(--grey); border-radius: 2px; }
.mock-steps li.active { background: var(--white); color: var(--black); font-weight: 500; box-shadow: 0 8px 24px -14px rgba(0,0,0,0.3); border: 1px solid var(--grid); }
.mock-steps .dot { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid #cfcfcf; font-size: 0.75rem; color: var(--grey); flex: none; }
.mock-steps .dot .icon { width: 16px; height: 16px; }
.mock-steps li.done .dot { border-color: var(--black); color: var(--black); }
.mock-steps li.active .dot { background: var(--black); color: var(--white); border-color: var(--black); }
.mock-main { padding: 26px 30px 24px; min-width: 0; }
.mock-title h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em; }
.mock-title p { font-size: 0.8125rem; color: var(--grey); margin-top: 4px; }
.mock-stage { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(200px, 0.9fr); gap: 20px; margin-top: 18px; }
.portrait { position: relative; aspect-ratio: 440 / 520; background: #111; overflow: hidden; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait .pixelate { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; clip-path: inset(0 0 0 50%); }
.portrait.no-canvas .pixelate { display: none; }
.portrait.no-canvas::before { content: ""; position: absolute; inset: 0; clip-path: inset(0 0 0 50%); -webkit-backdrop-filter: grayscale(1) contrast(1.15); backdrop-filter: grayscale(1) contrast(1.15); }
.portrait .split-line { position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: rgba(255,255,255,0.9); box-shadow: 0 0 12px rgba(255,255,255,0.6); }
.portrait .scan { position: absolute; left: 50%; right: 0; height: 1px; top: 0; background: linear-gradient(90deg, rgba(255,255,255,0.1), rgba(255,255,255,0.9)); animation: scan 4.5s linear infinite; }
@keyframes scan { 0% { top: 0; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
.portrait .corner { position: absolute; width: 22px; height: 22px; border: 1.5px solid #fff; }
.portrait .tl { top: 12px; left: 12px; border-right: 0; border-bottom: 0; }
.portrait .tr { top: 12px; right: 12px; border-left: 0; border-bottom: 0; }
.portrait .bl { bottom: 12px; left: 12px; border-right: 0; border-top: 0; }
.portrait .br { bottom: 12px; right: 12px; border-left: 0; border-top: 0; }
.portrait .tag { position: absolute; right: 0; top: 56%; background: var(--black); color: var(--white); padding: 6px 10px; font-size: 0.6875rem; letter-spacing: 0.1em; }
.portrait .tag::before { content: ""; position: absolute; right: 100%; top: 50%; width: 60px; height: 1px; background: #fff; }
.portrait .tag.ok { background: var(--ok); }
.checks { display: grid; gap: 10px; align-content: start; }
.check { display: grid; grid-template-columns: 28px 1fr 24px; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--grid); background: var(--white); transition: border-color 300ms var(--ease), opacity 300ms; }
.check .icon { width: 24px; height: 24px; stroke-width: 1.5; color: var(--black); }
.check-text { display: grid; line-height: 1.25; }
.check-text b { font-weight: 500; font-size: 0.875rem; }
.check .status { font-size: 0.75rem; color: var(--grey); }
.check.ok .status { color: var(--ok); }
.check.busy .status { color: var(--black); }
.check.fail .status { color: #dc2626; }
.check .state { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid #d4d4d4; position: relative; }
.check.ok .state { background: var(--ok); border-color: var(--ok); }
.check.ok .state::after { content: ""; position: absolute; left: 6px; top: 3px; width: 6px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.check.busy .state { border-color: #d4d4d4; border-top-color: var(--black); animation: spin 900ms linear infinite; }
.check:not(.ok):not(.busy) { opacity: 0.7; }
@keyframes spin { to { transform: rotate(360deg); } }
.mock-progress { display: grid; grid-template-columns: 28px 1fr auto; gap: 14px; align-items: center; margin-top: 16px; padding: 14px 16px; border: 1px solid var(--grid); }
.mock-progress .ring { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #e5e5e5; border-top-color: var(--ok); animation: spin 1.1s linear infinite; }
.mock-progress.done .ring { border-color: var(--ok); animation: none; }
.progress-text { display: grid; gap: 8px; font-size: 0.8125rem; color: var(--graphite); }
.progress-text .bar { height: 6px; background: #ececec; border-radius: 3px; overflow: hidden; }
.progress-text .bar i { display: block; height: 100%; background: var(--black); border-radius: 3px; transition: width 300ms linear; }
.mock-progress .pct { color: var(--grey); }

/* terminal */
.mock-terminal { background: var(--black); color: var(--white); border-color: #1f1f1f; padding: 30px 34px; text-transform: none; letter-spacing: 0.02em; font-size: 0.9375rem; line-height: 1.8; }
.mock-terminal .t-head { display: flex; justify-content: space-between; align-items: center; color: #8a8a8a; font-size: 0.75rem; letter-spacing: 0.1em; padding-bottom: 16px; border-bottom: 1px solid #222; margin-bottom: 18px; }
.t-dots { display: inline-flex; gap: 6px; }
.t-dots i { width: 8px; height: 8px; background: #333; }
.t-rows div { display: grid; grid-template-columns: 1fr auto; gap: 24px; padding: 2px 0; }
.t-rows dt { color: #8a8a8a; }
.t-rows dd { margin: 0; color: var(--white); min-width: 120px; text-align: right; transition: color 300ms; }
.t-rows dd.ok { color: #4ade80; }
.t-rows dd.busy { color: var(--blue); }
.t-rows dd.busy::after { content: ""; display: inline-block; width: 8px; height: 14px; background: var(--blue); margin-left: 6px; vertical-align: -2px; animation: blink 1s steps(2) infinite; }
.t-bar { display: flex; align-items: center; gap: 16px; margin-top: 18px; color: #8a8a8a; }
.t-track { flex: 1; height: 10px; background: repeating-linear-gradient(90deg, #262626 0 8px, transparent 8px 10px); position: relative; }
.t-track i { position: absolute; inset: 0 auto 0 0; background: repeating-linear-gradient(90deg, #fff 0 8px, transparent 8px 10px); transition: width 300ms linear; }
.t-log { margin-top: 14px; color: #c9c9c9; }
.t-log .prompt { color: var(--blue); }
.caret { display: inline-block; width: 8px; height: 1em; background: currentColor; vertical-align: -2px; margin-left: 2px; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* wallet (ID Pass phone) */
.mock-wallet { background: transparent; border: 0; box-shadow: none; display: flex; justify-content: center; }
.phone { position: relative; width: 340px; aspect-ratio: 71.9 / 150; /* iPhone 18 Pro: 150 × 71.9 mm */ flex: none; color: var(--black); border-radius: 28px; box-shadow: 0 50px 100px -50px rgba(0,0,0,0.55), 0 18px 40px -24px rgba(0,0,0,0.35); }
.phone-screen { position: relative; height: 100%; background: #fff; border-radius: 28px; border: 1px solid var(--grid); overflow: hidden; display: flex; flex-direction: column; isolation: isolate; font-size: 0.8125rem; }
.scenes { position: relative; flex: 1; overflow: hidden; transition: opacity 450ms var(--ease); }
.phone-screen.fade-out .scenes { opacity: 0; }
.scene { position: absolute; inset: 0; padding: 22px 18px 0; transition: transform 650ms var(--ease-out), opacity 450ms var(--ease); }
.scene-detail { transform: translateX(32%); opacity: 0; pointer-events: none; }
.phone-screen[data-stage="detail"] .scene-vault { transform: translateX(-22%); opacity: 0; }
.phone-screen[data-stage="detail"] .scene-detail { transform: none; opacity: 1; }
.w-tick { position: relative; width: 16px; height: 16px; flex: none; background: var(--ok); }
.w-tick::after { content: ""; position: absolute; left: 5.5px; top: 2.5px; width: 4px; height: 8px; border: solid #fff; border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); }

/* Vault */
.v-head { display: flex; justify-content: space-between; align-items: center; padding: 6px 2px 18px; }
.v-head h4 { font-family: var(--font-display); font-size: 1.75rem; font-weight: 700; letter-spacing: -0.03em; }
.v-actions { display: flex; gap: 8px; }
.v-actions i { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--grid); border-radius: 50%; }
.v-actions .icon { width: 16px; height: 16px; stroke-width: 1.8; }
.v-stack { position: relative; height: 412px; }
.wdoc { position: absolute; left: 0; right: 0; border-radius: 12px; overflow: hidden; padding: 14px 16px; box-shadow: 0 -1px 0 rgba(255,255,255,0.06) inset, 0 18px 36px -24px rgba(0,0,0,0.45); }
.wdoc-head { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; }
.wdoc-head .icon { width: 18px; height: 18px; stroke-width: 1.7; flex: none; }
.wdoc-head span { flex: 1; display: grid; gap: 2px; }
.wdoc-head small { font-size: 0.625rem; opacity: 0.6; }
.wdoc-head b { font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; }
.wdoc-nid { top: 0; height: 140px; background: #f5f5f3; color: #000; border: 1px solid var(--grid); }
.wdoc-dl { top: 64px; height: 140px; background: #242424; color: #fff; }
.wdoc-pp { top: 128px; height: 284px; background: #000; color: #fff; display: flex; flex-direction: column;
  background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px); background-size: 20px 20px; }
.wdoc-wm { position: absolute; right: -36px; top: 40px; z-index: 0; }
.wdoc-wm .px { fill: #141414; }
.pp-body { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; }
.pp-k { color: #8d8d8d; font-size: 0.625rem; }
.pp-name { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em; margin-top: 4px; }
.pp-meta { display: flex; gap: 22px; margin: 14px 0 0; }
.pp-meta dt { font-size: 0.625rem; color: #8d8d8d; }
.pp-meta dd { margin: 3px 0 0; font-size: 0.75rem; letter-spacing: 0.04em; text-transform: none; }
.pp-photo { width: 64px; height: 78px; object-fit: cover; filter: grayscale(1) contrast(1.05); border-radius: 6px; border: 1px solid #2a2a2a; flex: none; }
.pp-mrz { position: relative; z-index: 1; margin-top: auto; padding-top: 12px; border-top: 1px solid #1f1f1f; font-size: 0.5rem; letter-spacing: 0.14em; line-height: 1.8; color: #9a9a9a; white-space: nowrap; overflow: hidden; }
.v-note { text-align: center; color: var(--grey); font-size: 0.5625rem; margin-top: 20px; }
.phone-screen.fan .wdoc { animation: wdoc-in 760ms var(--ease-out) both; }
.phone-screen.fan .wdoc-dl { animation-delay: 110ms; }
.phone-screen.fan .wdoc-pp { animation-delay: 220ms; }
@keyframes wdoc-in { from { opacity: 0; transform: translateY(46px) scale(0.97); } }
.phone-screen.lift .wdoc-pp { transform: translateY(-6px); transition: transform 400ms var(--ease-out); }

/* Detail */
.d-head { display: grid; grid-template-columns: 30px 1fr 30px; align-items: center; padding: 4px 0 16px; }
.d-head h4 { text-align: center; font-weight: 600; font-size: 0.9375rem; letter-spacing: -0.01em; }
.d-back .icon { width: 18px; height: 18px; transform: rotate(180deg); }
.ph-avatar { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; filter: grayscale(1); box-shadow: 0 0 0 1px var(--grid); }
.id-card { position: relative; overflow: hidden; background: #000; color: #fff; border-radius: 12px; padding: 14px 16px; display: grid; gap: 16px;
  background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px); background-size: 20px 20px; }
.id-wm { position: absolute; right: -30px; bottom: -44px; z-index: 0; }
.id-wm .px { fill: #141414; }
.id-top, .id-mid { position: relative; z-index: 1; }
.id-top { display: flex; justify-content: space-between; align-items: center; color: #8d8d8d; }
.id-top .mono { font-size: 0.625rem; }
.id-badge { display: inline-flex; align-items: center; gap: 6px; color: #4ade80; }
.id-badge i { width: 6px; height: 6px; background: #4ade80; }
.id-mid { display: flex; align-items: center; gap: 12px; }
.id-photo { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.id-name { font-family: var(--font-display); font-size: 1.125rem; font-weight: 600; letter-spacing: -0.02em; }
.id-sub { color: #8d8d8d; margin-top: 3px; font-size: 0.5625rem; }
.ph-section { color: var(--grey); font-size: 0.5625rem; padding: 18px 0 4px; }
.w-list { border-top: 1px solid #ececea; }
.w-list li { display: grid; grid-template-columns: 18px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid #ececea; }
.w-list .icon { width: 16px; height: 16px; stroke-width: 1.7; }
.w-text { display: grid; font-weight: 500; line-height: 1.25; min-width: 0; }
.w-text small { font-weight: 400; color: var(--grey); font-size: 0.6875rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.activity { height: 104px; overflow: hidden; align-content: start; }
.activity li { grid-template-columns: 8px 1fr auto; }
.activity .act-dot { width: 7px; height: 7px; background: #000; }
.activity em { font-style: normal; color: var(--grey); font-size: 0.5625rem; }
.activity li.is-new { animation: act-in 520ms var(--ease-out); }
.activity li.is-new .act-dot { background: var(--blue); }
.activity li.is-new em { color: var(--blue); }
@keyframes act-in { from { opacity: 0; transform: translateY(-10px); } }

/* Chrome */

/* Request notification */
.ph-notify { position: absolute; z-index: 5; left: 10px; right: 10px; top: 12px; display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; background: rgba(255,255,255,0.96); border: 1px solid var(--grid); border-radius: 16px; box-shadow: 0 20px 40px -18px rgba(0,0,0,0.35); transform: translateY(-140%); opacity: 0; transition: transform 600ms var(--ease-out), opacity 300ms var(--ease); }
.ph-notify.show { transform: none; opacity: 1; }
.n-logo, .req-logo { display: grid; place-items: center; width: 34px; height: 34px; background: #000; color: #fff; font-weight: 600; font-size: 0.75rem; letter-spacing: 0.02em; }
.n-text { display: grid; line-height: 1.3; min-width: 0; }
.n-text b { font-weight: 600; }
.n-text small { color: var(--grey); font-size: 0.6875rem; }
.ph-notify em { font-style: normal; color: var(--grey); font-size: 0.5625rem; align-self: start; }
.n-tap { position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: rgba(37,99,235,0.25); transform: scale(0); opacity: 0; pointer-events: none; }
.ph-notify.tap .n-tap { animation: tap 600ms var(--ease-out); }
.ph-notify.tap { transform: scale(0.98); }
@keyframes tap { 0% { transform: scale(0.2); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }

/* Consent sheet */
.sheet-scrim { position: absolute; inset: 0; z-index: 3; background: rgba(0,0,0,0.38); opacity: 0; transition: opacity 500ms var(--ease); pointer-events: none; }
.sheet-scrim.show { opacity: 1; }
.share-sheet { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; background: #fff; border-radius: 22px 22px 27px 27px; padding: 10px 20px 24px; transform: translateY(104%); transition: transform 620ms var(--ease-out); }
.share-sheet.show { transform: none; }
.share-sheet .grab { display: block; width: 36px; height: 4px; border-radius: 2px; background: #d9d9d9; margin: 0 auto 18px; }
.req { display: flex; gap: 12px; align-items: center; }
.sheet-title { font-weight: 600; font-size: 0.9375rem; letter-spacing: -0.01em; }
.sheet-sub { font-size: 0.6875rem; color: var(--grey); margin-top: 2px; }
.consents { margin-top: 16px; border-top: 1px solid #ececea; }
.consents li { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; border-bottom: 1px solid #ececea; }
.toggle { width: 36px; height: 20px; border-radius: 10px; background: #e3e3e0; position: relative; transition: background 250ms; flex: none; }
.toggle::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,0.2); transition: transform 250ms var(--ease); }
.toggle.on { background: var(--blue); }
.toggle.on::after { transform: translateX(16px); }
.sheet-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 46px; margin-top: 16px; background: #000; color: #fff; font-weight: 500; font-size: 0.875rem; transition: background-color 300ms var(--ease); }
.sheet-btn .icon { width: 16px; height: 16px; }
.sheet-btn.sent { background: var(--ok); }
.sheet-foot { text-align: center; color: var(--grey); margin-top: 10px; font-size: 0.5625rem; }
@media (max-width: 560px) { .phone { zoom: 0.86; } }

/* business */
.biz-body { display: grid; grid-template-columns: 1fr 1.1fr; gap: 0; }
.doc { position: relative; padding: 24px; border-right: 1px solid var(--grid); background: #fcfcfb; overflow: hidden; }
.doc-label { color: var(--grey); margin-bottom: 18px; }
.doc-lines { display: grid; gap: 12px; }
.dl { display: block; height: 10px; background: #e3e3e1; border-radius: 1px; position: relative; }
.dl.w30 { width: 30%; } .dl.w40 { width: 40%; } .dl.w45 { width: 45%; } .dl.w50 { width: 50%; } .dl.w60 { width: 60%; } .dl.w70 { width: 70%; } .dl.w80 { width: 80%; } .dl.w85 { width: 85%; } .dl.w90 { width: 90%; }
.dl.hl { background: #cfcfcd; }
.dl.hl.lit { outline: 1.5px solid var(--blue); outline-offset: 4px; background: var(--blue-soft); }
.doc-scan { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--blue); opacity: 0; box-shadow: 0 0 18px rgba(37,99,235,0.6); }
.doc.scanning .doc-scan { animation: docscan 2.4s var(--ease) forwards; }
@keyframes docscan { 0% { top: 0; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
.extract { padding: 22px 24px; }
.extract-label { color: var(--grey); margin-bottom: 14px; display: flex; justify-content: space-between; }
.field { display: grid; gap: 4px; padding: 8px 0; border-bottom: 1px solid var(--off); }
.field label { font-size: 0.75rem; color: var(--grey); }
.field output { font-size: 0.9375rem; min-height: 1.4em; font-weight: 500; }
.field output.typing::after { content: ""; display: inline-block; width: 7px; height: 1em; background: var(--blue); vertical-align: -2px; margin-left: 2px; animation: blink 0.8s steps(2) infinite; }
.people { margin-top: 14px; }
.people > p { color: var(--grey); margin-bottom: 6px; }
.people li { display: flex; justify-content: space-between; padding: 8px 0; font-size: 0.9375rem; border-bottom: 1px solid var(--off); }
.people b { color: var(--grey); font-weight: 500; }
.people b.ok { color: var(--ok); }

/* link */
.link-body { display: grid; grid-template-columns: 1.1fr 0.9fr; }
.link-form { padding: 22px 26px; border-right: 1px solid var(--grid); display: grid; gap: 16px; }
.f-row { display: grid; gap: 8px; }
.f-row > label { font-size: 0.75rem; color: var(--grey); letter-spacing: 0.04em; text-transform: uppercase; font-family: var(--font-mono); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 0.8125rem; padding: 6px 12px; border: 1px solid var(--grid); color: var(--grey); }
.chip.on { border-color: var(--black); color: var(--black); background: var(--white); }
.seg { display: inline-grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--grid); }
.seg button { padding: 9px 14px; font-size: 0.875rem; color: var(--grey); transition: all var(--dur); }
.seg button.on { background: var(--black); color: var(--white); }
.input { height: 44px; border: 1px solid var(--grid); padding: 0 14px; display: flex; align-items: center; font-size: 0.9375rem; }
.input .caret { height: 18px; }
.share { display: flex; gap: 8px; }
.s-btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid var(--grid); font-size: 0.8125rem; color: var(--grey); transition: all var(--dur); }
.s-btn .icon { width: 16px; height: 16px; }
.s-btn.on { border-color: var(--black); color: var(--black); }
.link-form .btn { height: 48px; font-size: 0.9375rem; }
.link-form .btn.sent { background: var(--ok); border-color: var(--ok); color: #fff; }
.timeline { padding: 26px 26px; display: grid; gap: 0; align-content: start; }
.timeline li { position: relative; display: grid; grid-template-columns: 20px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; font-size: 0.9375rem; color: var(--grey); }
.timeline li::before { content: ""; position: absolute; left: 9px; top: 0; bottom: 0; width: 1px; background: var(--grid); }
.timeline li:first-child::before { top: 50%; }
.timeline li:last-child::before { bottom: 50%; }
.timeline li i { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid #d4d4d4; background: #fff; position: relative; z-index: 1; transition: all 300ms; }
.timeline li.done { color: var(--black); }
.timeline li.done i { background: var(--black); border-color: var(--black); }
.timeline li.active { color: var(--black); font-weight: 500; }
.timeline li.active i { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(37,99,235,0.15); animation: pulse 1.4s ease-in-out infinite; }
.timeline li em { font-style: normal; color: var(--grey); }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(37,99,235,0.08); } }

/* dashboard */
/* Recorded demo in a window frame (hero visual "demo") */
.mock-demo { margin: 0; }
.demo-frame { display: block; width: 100%; margin: 0; padding: 0; border: 0; font: inherit; background: #f3f3f1; line-height: 0; cursor: zoom-in; }
.demo-frame:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }
/* Lightbox: full-size view of a demo frame; any click closes it */
html.lb-locked { overflow: hidden; }
.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: clamp(16px, 4vw, 56px) clamp(16px, 4vw, 56px) clamp(40px, 5vw, 72px); background: rgba(8, 8, 8, 0.88); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); cursor: zoom-out; opacity: 0; transition: opacity 240ms var(--ease); }
.lightbox.is-open { opacity: 1; }
.lightbox:focus { outline: none; }
.lightbox > img { display: block; max-width: 100%; max-height: calc(100vh - clamp(56px, 9vw, 128px)); width: auto; height: auto; background: #f3f3f1; box-shadow: 0 50px 120px -40px rgba(0, 0, 0, 0.8); transform: scale(0.96); transition: transform 320ms var(--ease-out); }
.lightbox.is-open > img { transform: none; }
/* Live lightbox: an animated visual is moved into the popup and scaled up, so it keeps running */
.live-zoom { display: block; cursor: zoom-in; }
.live-zoom:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.lightbox .live-zoom { cursor: zoom-out; }
.lightbox-stage { transform-origin: center center; transform: scale(calc(var(--lb-scale, 1) * 0.96)); transition: transform 320ms var(--ease-out); }
.lightbox.is-open .lightbox-stage { transform: scale(var(--lb-scale, 1)); }
.lightbox-stage .mock { box-shadow: 0 50px 120px -40px rgba(0, 0, 0, 0.8); }
.lightbox-hint { position: absolute; left: 0; right: 0; bottom: clamp(12px, 2vw, 24px); text-align: center; font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.6); pointer-events: none; }
.demo-frame img { display: block; width: 100%; height: auto; }
.demo-cap { display: flex; align-items: flex-start; gap: 12px; padding: 16px 28px; border-top: 1px solid var(--grid); font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.02em; line-height: 1.6; color: var(--grey); }
.demo-cap .sq { flex: none; width: 6px; height: 6px; margin-top: 7px; background: var(--blue); }
/* Wide-visual hero: a narrow copy column (headline at the top, copy and actions lower down) beside a large visual */
.block-hero.hero-wide .hero-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr); gap: clamp(32px, 4vw, 80px); align-items: stretch; }
.block-hero.hero-wide .hero-copy { display: grid; grid-template-rows: auto auto minmax(40px, 0.5fr) auto auto auto minmax(0, 1fr); align-content: stretch; }
.block-hero.hero-wide .hero-eyebrow { grid-row: 1; }
.block-hero.hero-wide .hero-title { grid-row: 2; font-size: clamp(2.5rem, 4.3vw, 5.75rem); }
.block-hero.hero-wide .hero-body { grid-row: 4; margin-top: 0; font-size: clamp(1rem, 1.05vw, 1.125rem); }
.block-hero.hero-wide .hero-copy > .cta-group { grid-row: 5; }
.block-hero.hero-wide .hero-badges { grid-row: 6; }
.block-hero.hero-wide .hero-visual { align-self: center; }
.block-hero.hero-wide .hero-copy > .cta-group { gap: 10px; margin-top: 28px; }
.block-hero.hero-wide .hero-copy > .cta-group .btn { white-space: nowrap; height: 44px; padding: 0 16px; font-size: 0.8125rem; gap: 8px; }
@media (max-width: 1100px) {
  .block-hero.hero-wide .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .block-hero.hero-wide .hero-copy { grid-template-rows: none; }
  .block-hero.hero-wide .hero-copy > * { grid-row: auto; }
  .block-hero.hero-wide .hero-title { font-size: clamp(2.75rem, 9vw, 5.75rem); }
  .block-hero.hero-wide .hero-body { margin-top: 24px; }
  .block-hero.hero-wide .hero-visual { max-width: none; }
}
@media (max-width: 560px) { .demo-cap { padding: 12px 16px; } }

/* Verification Intelligence mock */
.mock-intel { position: relative; overflow: hidden; transition: min-height 650ms var(--ease-out); }
/* Assessment report written by HeliumAI at the end of the run */
.in-report { position: absolute; z-index: 3; left: 22px; right: 22px; top: 118px; bottom: 0; padding: 18px 22px 16px; scrollbar-width: none; background: var(--white); border: 1px solid var(--grid); border-bottom: 0; box-shadow: 0 -24px 60px -30px rgba(0, 0, 0, 0.35); overflow: hidden; transform: translateY(104%); transition: transform 650ms var(--ease-out); }
.in-report.is-open { transform: none; }
.in-rep-head { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--grid); }
.in-ai { display: inline-flex; align-items: center; gap: 8px; font-size: 0.8125rem; font-weight: 600; letter-spacing: -0.01em; }
.in-ai i { display: grid; place-items: center; width: 22px; height: 22px; background: var(--black); color: var(--white); }
.in-ai .icon { width: 13px; height: 13px; }
.in-rep-kind { font-size: 0.5625rem; letter-spacing: 0.08em; color: var(--grey); flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.in-rep-status { font-size: 0.5625rem; letter-spacing: 0.08em; color: var(--ok); white-space: nowrap; }
.in-rep-status.is-writing { color: var(--blue); }
.in-rep-status.is-writing::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 6px; background: var(--blue); animation: wf-pulse 1.2s var(--ease) infinite; vertical-align: 1px; }
.in-report::-webkit-scrollbar { display: none; }
.in-rep-id { display: grid; grid-template-columns: 50px minmax(0, 1fr); gap: 14px; align-items: center; margin: 14px 0 10px; }
.in-rep-photo { position: relative; width: 50px; height: 62px; background: #e9e9e6; border: 1px solid var(--grid); }
.in-rep-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.in-rep-photo img[hidden] { display: none; }
.in-rep-title { font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; letter-spacing: -0.02em; min-height: 1.3em; }
.in-rep-sub { font-size: 0.5rem; letter-spacing: 0.08em; color: var(--grey); margin-top: 5px; }
.in-rep-ai { margin-top: 12px; padding: 10px 12px 12px; background: #f6f6f4; border-left: 2px solid var(--black); }
.in-rep-ai .in-rep-h { display: flex; align-items: center; gap: 6px; margin-top: 0; color: var(--black); }
.in-rep-ai .in-rep-h i { display: grid; place-items: center; width: 14px; height: 14px; background: var(--black); color: var(--white); }
.in-rep-ai .icon { width: 9px; height: 9px; }
.in-rep-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 0.5625rem; letter-spacing: 0.08em; color: var(--grey); padding-bottom: 12px; border-bottom: 1px dashed var(--grid); }
.in-rep-meta b { font-weight: 400; color: var(--black); margin-left: 4px; }
.in-rep-meta b.lvl-low { color: var(--ok); }
.in-rep-meta b.lvl-medium { color: var(--warn); }
.in-rep-meta b.lvl-high { color: #dc2626; }
.in-rep-h { font-size: 0.5625rem; letter-spacing: 0.08em; color: var(--grey); margin: 12px 0 5px; }
.in-rep-p { font-size: 0.8125rem; line-height: 1.55; min-height: 1.55em; }
.in-rep-list { display: grid; gap: 4px; }
.in-rep-list li { position: relative; padding-left: 16px; font-size: 0.8125rem; line-height: 1.5; }
.in-rep-list li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 6px; height: 6px; background: var(--black); }
.in-rep-list li.flag { color: var(--warn); }
.in-rep-list li.flag::before { background: var(--warn); }
.in-report .typing::after { content: ""; display: inline-block; width: 1px; height: 0.95em; margin-left: 2px; background: var(--blue); vertical-align: -0.12em; }
.in-rep-foot { font-size: 0.5625rem; letter-spacing: 0.06em; color: var(--grey); margin-top: 14px; padding-top: 10px; border-top: 1px solid var(--grid); opacity: 1; transition: opacity 300ms; }
.in-pipe { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; padding: 14px 24px; border-bottom: 1px solid var(--grid); }
.in-pipe li { position: relative; display: flex; align-items: center; gap: 8px; min-width: 0; }
.in-pipe li::after { content: ""; flex: 1; height: 1px; background: var(--grid); min-width: 6px; transition: background 300ms var(--ease); }
.in-pipe li:last-child::after { display: none; }
.in-pipe i { flex: none; width: 9px; height: 9px; border: 1.5px solid #cfcfcf; transition: all 250ms var(--ease); }
.in-pipe em { font-style: normal; }
.in-pipe span { font-size: 0.5625rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--grey); white-space: nowrap; transition: color 250ms; }
.in-pipe li.done i { background: var(--black); border-color: var(--black); }
.in-pipe li.done span { color: var(--black); }
.in-pipe li.done::after { background: var(--black); }
.in-pipe li.active i { background: var(--blue); border-color: var(--blue); animation: wf-pulse 1.2s var(--ease) infinite; }
.in-pipe li.active span { color: var(--blue); }
.in-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); }
.in-doc { padding: 18px 22px 18px 24px; border-right: 1px solid var(--grid); }
.in-data { padding: 18px 24px 18px 22px; min-width: 0; }
.in-h { display: flex; justify-content: space-between; gap: 10px; font-size: 0.5625rem; letter-spacing: 0.08em; color: var(--grey); margin-bottom: 10px; }
.in-h b { font-weight: 400; color: var(--black); }
.in-h2 { margin-top: 16px; }
.in-card { position: relative; display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 12px; padding: 14px; background: #f6f6f4; border: 1px solid var(--grid); overflow: hidden; }
.in-photo { position: relative; width: 62px; height: 78px; background: #e9e9e6; }
.in-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.in-photo img[hidden] { display: none; }
.in-lines { display: grid; gap: 5px; align-content: start; padding-top: 2px; }
.in-l { display: block; height: 6px; background: #e1e1dd; }
.in-l.k { width: 34%; height: 4px; background: #ebebe7; }
.in-l.w80 { width: 80%; } .in-l.w55 { width: 55%; } .in-l.w45 { width: 45%; } .in-l.w50 { width: 50%; }
.in-l.hl { position: relative; transition: background 250ms, box-shadow 250ms; }
.in-l.hl.lit { background: rgba(37, 99, 235, 0.16); box-shadow: 0 0 0 1px var(--blue); }
.in-l.hl.ok { background: #cfcfca; }
.in-l.hl.warn { background: rgba(217, 119, 6, 0.16); box-shadow: 0 0 0 1px var(--warn); }
.in-l.w70 { width: 70%; } .in-l.w40 { width: 40%; } .in-l.w60 { width: 60%; }
.in-poa { display: block; margin-top: 12px; padding: 12px 14px; }
.in-poa .in-h { margin-bottom: 8px; }
.in-addr { font-size: 0.5625rem; letter-spacing: 0.06em; color: var(--grey); margin-top: 9px; min-height: 1.4em; transition: color 250ms; }
.in-addr.ok { color: var(--ok); }
.in-addr.warn { color: var(--warn); }
.in-mrz { grid-column: 1 / -1; font-size: 0.5rem; line-height: 1.5; letter-spacing: 0.06em; color: #a5a5a0; overflow: hidden; white-space: nowrap; }
.in-scan { position: absolute; left: 0; right: 0; top: 0; height: 36px; background: linear-gradient(180deg, rgba(37, 99, 235, 0), rgba(37, 99, 235, 0.16) 80%, var(--blue)); opacity: 0; transform: translateY(-40px); pointer-events: none; }
.in-card.scanning .in-scan { animation: inscan 1.3s var(--ease) forwards; }
@keyframes inscan { 0% { opacity: 1; transform: translateY(-40px); } 90% { opacity: 1; } 100% { opacity: 0; transform: translateY(150px); } }
.in-src { font-size: 0.5625rem; letter-spacing: 0.08em; color: var(--grey); margin-top: 10px; }
.in-field { display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: baseline; gap: 8px; padding: 6px 0; border-bottom: 1px dashed var(--grid); }
.in-field label { font-size: 0.75rem; color: var(--grey); }
.in-field output { font-size: 0.8125rem; font-weight: 500; min-height: 1.2em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.in-field output.typing::after { content: ""; display: inline-block; width: 1px; height: 0.9em; margin-left: 2px; background: var(--blue); vertical-align: -0.1em; }
.in-checks li { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 5px 0; font-size: 0.8125rem; color: var(--grey); }
.in-checks i { width: 10px; height: 10px; border: 1.5px solid #cfcfcf; transition: all 250ms; }
.in-checks b { font-size: 0.5625rem; letter-spacing: 0.08em; font-weight: 400; color: #b5b5b0; }
.in-checks li.run i { border-color: var(--blue); animation: wf-pulse 1.2s var(--ease) infinite; }
.in-checks li.run b { color: var(--blue); }
.in-checks li.pass, .in-checks li.flag { color: var(--black); }
.in-checks li.pass i { background: var(--black); border-color: var(--black); }
.in-checks li.pass b { color: var(--ok); }
.in-checks li.flag i { background: var(--warn); border-color: var(--warn); }
.in-checks li.flag b { color: var(--warn); }
.in-foot { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 0.85fr); align-items: center; gap: 22px; padding: 16px 24px 18px; border-top: 1px solid var(--grid); }
.in-risk .in-h { margin-bottom: 8px; }
.in-meter { display: flex; gap: 3px; }
.in-meter i { flex: 1; font-style: normal; font-family: var(--font-mono); font-size: 0.5625rem; letter-spacing: 0.06em; text-align: center; padding: 5px 4px; border: 1px solid var(--grid); color: #b5b5b0; transition: all 300ms var(--ease); }
.in-meter[data-in-meter="low"] i:nth-child(1) { background: var(--ok); border-color: var(--ok); color: #fff; }
.in-meter[data-in-meter="medium"] i:nth-child(2) { background: var(--warn); border-color: var(--warn); color: #fff; }
.in-meter[data-in-meter="high"] i:nth-child(3) { background: #dc2626; border-color: #dc2626; color: #fff; }
.in-signals { font-size: 0.5625rem; letter-spacing: 0.06em; color: var(--grey); margin-top: 7px; min-height: 1.4em; }
.in-matrix { display: grid; grid-template-columns: repeat(5, 9px); gap: 2px; }
.in-matrix i { width: 9px; height: 9px; background: #ececea; transition: background 160ms; }
.in-matrix i.on { background: var(--black); }
.in-matrix i.flag { background: var(--warn); }
.in-route { display: grid; gap: 3px; padding: 9px 12px; border: 1px solid var(--grid); transition: border-color 300ms, background 300ms; }
.in-route span { font-size: 0.5625rem; letter-spacing: 0.08em; color: var(--grey); }
.in-route b { font-size: 0.8125rem; font-weight: 500; }
.in-route.ok { border-color: var(--ok); background: rgba(22, 163, 74, 0.05); }
.in-route.review { border-color: var(--warn); background: rgba(217, 119, 6, 0.06); }
@media (max-width: 560px) {
  .in-pipe { padding: 12px 14px; gap: 4px; }
  .in-pipe em { display: none; }
  .in-body { grid-template-columns: minmax(0, 1fr); }
  .in-doc { border-right: 0; border-bottom: 1px solid var(--grid); padding: 14px; }
  .in-data { padding: 14px; }
  .in-foot { grid-template-columns: minmax(0, 1fr) auto; padding: 14px; gap: 14px; }
  .in-route { grid-column: 1 / -1; }
}

/* Custom Workflows mock */
.mock-workflow .wf-body { padding: 18px 22px 24px; }
.wf-head { display: flex; justify-content: space-between; gap: 12px; font-size: 0.6875rem; letter-spacing: 0.06em; color: var(--grey); padding-bottom: 14px; margin-bottom: 18px; border-bottom: 1px dashed var(--grid); }
.wf-flow { display: grid; gap: 20px; }
.wf-node { position: relative; display: grid; grid-template-columns: 26px minmax(0, 1fr); column-gap: 12px; align-items: center; padding: 11px 14px; background: var(--white); border: 1px solid var(--grid); transition: border-color 350ms var(--ease), box-shadow 350ms var(--ease), opacity 350ms var(--ease); }
.wf-node::before { content: ""; position: absolute; left: 27px; top: -21px; height: 20px; width: 1px; background: var(--grid); transition: background 350ms var(--ease); }
.wf-flow > .wf-node:first-child::before, .wf-cond + .wf-node::before { display: none; }
.wf-dot { grid-row: 1 / span 3; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid #d4d4d4; display: grid; place-items: center; background: var(--white); color: var(--white); transition: all 300ms var(--ease); }
.wf-dot .icon { width: 13px; height: 13px; opacity: 0; transition: opacity 200ms; }
.wf-kind { font-size: 0.625rem; letter-spacing: 0.08em; color: var(--grey); }
.wf-title { font-size: 0.9375rem; font-weight: 500; letter-spacing: -0.01em; line-height: 1.25; }
.wf-meta { font-size: 0.6875rem; color: var(--grey); transition: color 300ms; }
.wf-meta.ok { color: var(--ok); }
.wf-branches { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.wf-branch { position: relative; display: grid; gap: 20px; align-content: start; padding: 10px; border: 1px dashed var(--grid); transition: opacity 350ms var(--ease), border-color 350ms var(--ease); }
.wf-branch::before { content: ""; position: absolute; left: 27px; top: -21px; height: 20px; width: 1px; background: var(--grid); transition: background 350ms var(--ease); }
.wf-cond { font-size: 0.625rem; letter-spacing: 0.08em; color: var(--grey); margin-bottom: -10px; }
.wf-node.is-active { border-color: var(--blue); box-shadow: 0 14px 30px -18px rgba(37, 99, 235, 0.55); }
.wf-node.is-active .wf-dot { border-color: var(--blue); animation: wf-pulse 1.2s var(--ease) infinite; }
.wf-node.is-done .wf-dot, .mock-workflow:not(.wf-live) .wf-node .wf-dot { background: var(--black); border-color: var(--black); }
.wf-node.is-done .wf-dot .icon, .mock-workflow:not(.wf-live) .wf-node .wf-dot .icon { opacity: 1; }
.wf-node.is-done::before, .wf-node.is-active::before, .wf-branch.is-taken::before,
.mock-workflow:not(.wf-live) .wf-node::before { background: var(--black); }
.wf-branch.is-taken { border-color: var(--black); border-style: solid; }
.wf-branch.is-skip, .mock-workflow:not(.wf-live) [data-branch="review"] { opacity: 0.38; }
.mock-workflow:not(.wf-live) [data-branch="review"] .wf-node .wf-dot { background: var(--white); border-color: #d4d4d4; }
.mock-workflow:not(.wf-live) [data-branch="review"] .wf-node .wf-dot .icon { opacity: 0; }
.mock-workflow:not(.wf-live) [data-branch="review"] .wf-node::before { background: var(--grid); }
.mock-workflow:not(.wf-live) [data-branch="pass"] { border-color: var(--black); border-style: solid; }
.mock-workflow:not(.wf-live) [data-wf-decision] { color: var(--ok); }
@keyframes wf-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.35); } 50% { box-shadow: 0 0 0 6px rgba(37, 99, 235, 0); } }
@media (max-width: 560px) {
  .mock-workflow .wf-body { padding: 14px 14px 18px; }
  .wf-node { grid-template-columns: 22px minmax(0, 1fr); column-gap: 9px; padding: 9px 10px; }
  .wf-node::before, .wf-branch::before { left: 21px; }
  .wf-dot { width: 22px; height: 22px; }
  .wf-title { font-size: 0.8125rem; }
  .wf-branch { padding: 8px; }
  .wf-branches { gap: 8px; }
  .wf-meta, .wf-kind, .wf-cond { font-size: 0.5625rem; }
}

.dash-tabs { display: flex; gap: 28px; padding: 16px 28px; border-bottom: 1px solid var(--grid); color: var(--grey); }
.dash-tabs .on { color: var(--black); position: relative; }
.dash-tabs .on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -17px; height: 2px; background: var(--black); }
.dash-table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.dash-table th { text-align: left; font-family: var(--font-mono); font-weight: 500; font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey); padding: 14px 28px; border-bottom: 1px solid var(--grid); }
.dash-table td { padding: 16px 28px; border-bottom: 1px solid var(--off); }
.dash-table .mono { text-transform: none; letter-spacing: 0; font-size: 0.8125rem; }
.pill { display: inline-flex; align-items: center; gap: 8px; font-size: 0.8125rem; font-weight: 500; }
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--grey); }
.pill.verified::before { background: var(--ok); }
.pill.review::before { background: var(--warn); }
.pill.progress::before { background: var(--blue); animation: blink 1.2s steps(2) infinite; }

/* code */
.mock-code { background: #0a0a0a; color: #e8e8e8; border-color: #222; }
.code-head { display: flex; align-items: center; gap: 20px; padding: 14px 18px; border-bottom: 1px solid #1f1f1f; color: #8a8a8a; text-transform: none; letter-spacing: 0; }
.code-tabs { display: flex; gap: 4px; flex: 1; }
.code-tabs button { padding: 6px 12px; font-family: var(--font-mono); font-size: 0.75rem; color: #8a8a8a; border: 1px solid transparent; transition: all var(--dur); }
.code-tabs button.on { color: #fff; border-color: #2a2a2a; background: #121212; }
.code-tabs button:hover { color: var(--blue); }
.copy { width: 32px; height: 32px; display: grid; place-items: center; color: #8a8a8a; border: 1px solid #2a2a2a; transition: all var(--dur); }
.copy .icon { width: 16px; height: 16px; }
.copy:hover { color: #fff; border-color: #555; }
.copy.copied { color: #4ade80; border-color: #4ade80; }
.code-pane { display: none; padding: 24px 26px; font-size: 0.875rem; line-height: 1.7; overflow: auto; min-height: 300px; tab-size: 2; }
.code-pane.on { display: block; }
.code-pane .tok-c { color: #6f6f6f; }
.code-pane .tok-s { color: #9db4f5; }
.code-pane .tok-k { color: #fff; font-weight: 600; }
.code-pane .tok-n { color: #c9c9c9; }
.code-pane .tok-p { color: #cfcfcf; }

/* ---------- Stats / trust strip ---------- */
.block-stats { padding-block: 0; }
.stats-inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: stretch; }
.stats-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { padding: 40px 32px 36px 0; border-right: 1px solid var(--line); margin-right: 32px; display: grid; align-content: start; gap: 10px; }
.stat:last-child { border-right: 1px solid var(--line); }
.stat-value { font-size: clamp(1.375rem, 1.6vw, 1.875rem); font-weight: 700; letter-spacing: -0.01em; text-transform: uppercase; color: var(--fg); line-height: 1; }
.stat-label { color: var(--muted); }
.trust { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; padding: 28px 0 28px 16px; }
.trust-slides { position: relative; min-height: 64px; }
.trust-slide { position: absolute; inset: 0; display: flex; align-items: center; gap: 24px; opacity: 0; transform: translateX(14px); transition: opacity 420ms var(--ease), transform 520ms var(--ease-out); pointer-events: none; }
.trust-slide.is-active { position: relative; opacity: 1; transform: none; pointer-events: auto; }
.trust-slide.is-leaving { opacity: 0; transform: translateX(-14px); }
.avatars { display: inline-flex; flex: none; }
.avatars img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid var(--bg); filter: grayscale(1) contrast(1.05); margin-left: -14px; background: var(--off); transition: filter var(--dur), transform var(--dur) var(--ease); }
.avatars img:first-child { margin-left: 0; }
.trust:hover .avatars img { filter: grayscale(0); }
.avatars img:hover { transform: translateY(-3px); z-index: 1; position: relative; }
.trust-text { color: var(--muted); line-height: 1.7; max-width: 26ch; }
.trust-nav { display: inline-flex; border: 1px solid var(--line); }
.trust-btn { width: 52px; height: 52px; display: grid; place-items: center; color: var(--fg); transition: background-color var(--dur), color var(--dur); }
.trust-btn + .trust-btn { border-left: 1px solid var(--line); }
.trust-btn .icon { width: 20px; height: 20px; }
.trust-btn[data-prev] .icon { transform: rotate(180deg); }
.trust-btn:hover, .trust-btn:focus-visible { background: var(--blue); color: #fff; }
.block-stats + .block-ticker { border-top: 1px solid var(--line); }

/* ---------- Ticker ---------- */
.block-ticker { padding: 0; border-top: 1px solid var(--grid); border-bottom: 0; }
.ticker { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker-track { display: flex; width: max-content; gap: 56px; padding: 20px 0; color: var(--grey); animation: ticker 60s linear infinite; }
.ticker-track li { display: inline-flex; align-items: center; gap: 14px; white-space: nowrap; }
.ticker-track .sq { width: 6px; height: 6px; color: var(--black); }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Products scrollytelling ---------- */
.products-layout { display: grid; grid-template-columns: minmax(300px, 380px) minmax(0, 1fr); gap: clamp(40px, 6vw, 120px); align-items: start; }
.products-nav { position: sticky; top: calc(var(--header-h-scrolled) + 40px); }
.pn-list { border-top: 1px solid var(--line); }
.pn-list li { border-bottom: 1px solid var(--line); }
.pn-link { display: grid; grid-template-columns: 28px 26px 1fr; gap: 16px; align-items: center; padding: 18px 0 18px 14px; color: var(--muted); position: relative; transition: color var(--dur) var(--ease); }
.pn-link::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--fg); transform: scaleY(0); transform-origin: top; transition: transform 300ms var(--ease); }
.pn-mark .px { fill: #c8c8c8; transition: fill var(--dur) var(--ease); }
.pn-text { display: grid; gap: 2px; }
.pn-name { font-size: 1.125rem; font-weight: 500; letter-spacing: -0.01em; }
.pn-kicker { font-size: 0.8125rem; }
.pn-list li.is-active .pn-link { color: var(--fg); }
.pn-list li.is-active .pn-link::before { transform: scaleY(1); }
.pn-list li.is-active .pn-mark .px { fill: var(--fg); }
.pn-link:hover { color: var(--blue); }
.pn-link:hover .pn-mark .px { fill: var(--blue); }
.pn-foot { margin-top: 20px; color: var(--muted); }
.product-panel { padding: clamp(48px, 5.5vw, 88px) 0; border-top: 1px solid var(--line); }
.product-panel:first-child { border-top: 0; padding-top: 0; }
.pp-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.pp-label { color: var(--muted); }
.pp-mark .px { fill: var(--fg); }
.pp-kicker { font-weight: 600; font-size: 1.125rem; color: var(--fg); margin-bottom: 10px; }
.pp-title { font-family: var(--font-display); font-size: clamp(1.75rem, 3vw, 3rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; }
.pp-body { color: var(--fg-2); margin-top: 20px; max-width: 42rem; font-size: 1.0625rem; }
.caps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; margin-top: 28px; }
.caps li { position: relative; padding-left: 22px; font-size: 0.9375rem; color: var(--fg-2); }
.caps li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 8px; height: 8px; background: var(--fg); }
.product-panel .link-arrow { margin-top: 32px; }

/* ---------- Products: tabbed layout ---------- */
.layout-tabs .pt-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 400px); gap: 40px; align-items: end; margin-bottom: clamp(36px, 4vw, 64px); }
.pt-eyebrow { display: flex; align-items: center; gap: 12px; color: var(--muted); margin-bottom: 28px; }
.pt-eyebrow .sq { width: 7px; height: 7px; color: var(--fg); }
.pt-heading { font-size: clamp(2.25rem, 4.6vw, 5rem); letter-spacing: -0.04em; line-height: 1; }
.pt-accent { color: #7a7a74; }
.pt-lede { color: var(--fg-2); font-size: 1rem; line-height: 1.6; padding-bottom: 8px; }
.pt { border: 1px solid var(--line); background: var(--card); }
.pt-tabs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.pt-tab { position: relative; display: flex; align-items: center; gap: 14px; height: 70px; padding: 0 18px; border-right: 1px solid var(--line); text-align: left; color: var(--fg); background: var(--card); transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease); min-width: 0; }
.pt-tab:last-child { border-right: 0; }
.pt-tab .pt-mark { flex: none; }
.pt-tab .pt-mark .px { fill: var(--fg); transition: fill var(--dur) var(--ease); }
.pt-name { flex: 1; font-size: 0.9375rem; font-weight: 500; letter-spacing: -0.005em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pt-num { color: var(--muted); font-size: 0.625rem; }
.pt-tab:hover { background: var(--off); }
.pt-tab:hover .pt-name { color: var(--blue); }
.pt-tab:hover .pt-mark .px { fill: var(--blue); }
.pt-tab.is-active { background: var(--black); color: var(--white); }
.pt-tab.is-active .pt-mark .px { fill: var(--white); }
.pt-tab.is-active .pt-name { color: var(--white); }
.pt-tab.is-active .pt-num { color: #8a8a8a; }
.pt-tab:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }
.pt-progress { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--blue); transform: scaleX(0); transform-origin: left; }
.pt.is-playing .pt-tab.is-active .pt-progress { animation: pt-progress var(--pt-dur, 7000ms) linear forwards; }
@keyframes pt-progress { to { transform: scaleX(1); } }
.pt-panels { display: grid; }
.pt-panel { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 540px; }
.pt-panel:not(.is-active) { visibility: hidden; pointer-events: none; }
.pt-panel.is-active .pt-copy > *, .pt-panel.is-active .pv-card, .pt-panel.is-active .pv-toast { animation: pt-in 560ms var(--ease-out) both; }
.pt-panel.is-active .pt-copy > :nth-child(2) { animation-delay: 40ms; }
.pt-panel.is-active .pt-copy > :nth-child(3) { animation-delay: 80ms; }
.pt-panel.is-active .pt-copy > :nth-child(4) { animation-delay: 120ms; }
.pt-panel.is-active .pt-copy > :nth-child(5) { animation-delay: 160ms; }
.pt-panel.is-active .pv-card { animation-delay: 80ms; }
.pt-panel.is-active .pv-toast { animation-delay: 380ms; }
@keyframes pt-in { from { opacity: 0; transform: translateY(12px); } }
.pt-copy { padding: clamp(36px, 5vw, 76px) clamp(28px, 4.4vw, 64px); display: flex; flex-direction: column; justify-content: center; border-right: 1px solid var(--line); }
.pt-kicker { color: var(--muted); font-size: 0.6875rem; margin-bottom: 24px; }
.pt-title { font-family: var(--font-display); font-size: clamp(1.875rem, 2.8vw, 2.75rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.08; max-width: 14ch; }
.pt-body { margin-top: 22px; color: var(--fg-2); font-size: 1.0625rem; line-height: 1.6; max-width: 34rem; }
.pt-body p + p { margin-top: 0.7em; }
.pt-caps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; margin-top: 28px; max-width: 36rem; }
.pt-caps li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.875rem; color: var(--fg); }
.pt-caps .icon { width: 16px; height: 16px; flex: none; margin-top: 2px; stroke-width: 2; }
.pt-link { display: inline-flex; align-items: center; gap: 12px; margin-top: 36px; font-weight: 500; color: var(--fg); align-self: flex-start; transition: color var(--dur) var(--ease); }
.pt-link .icon { width: 18px; height: 18px; transition: transform var(--dur) var(--ease); }
.pt-link:hover { color: var(--blue); }
.pt-link:hover .icon { transform: translate(2px, -2px); }
.pt-visual { position: relative; display: grid; place-items: center; padding: 48px 32px 64px; background: var(--off); overflow: hidden;
  background-image: linear-gradient(rgba(0,0,0,0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(0,0,0,0.045) 1px, transparent 1px); background-size: 36px 36px; background-position: center; }
.pt-visual::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 60% at 50% 50%, transparent 30%, var(--off) 85%); pointer-events: none; }
.pt-vlabel { position: absolute; left: 0; right: 0; bottom: 22px; text-align: center; color: #9a9a94; font-size: 0.625rem; }
.pt-foot { display: flex; justify-content: space-between; gap: 20px; margin-top: 18px; color: var(--muted); font-size: 0.625rem; }

/* Custom image instead of the illustrative card */
.pt-visual.has-image { padding: 0; background-image: none; }
.pt-visual.has-image::before { display: none; }
.pt-visual.has-image.fit-contain { padding: 48px 40px 64px; background: var(--off); }
.pv-image { position: relative; z-index: 1; margin: 0; width: 100%; height: 100%; }
.pv-image img { display: block; width: 100%; height: 100%; }
.pv-image.fit-cover { position: absolute; inset: 0; }
.pv-image.fit-cover img { object-fit: cover; }
.pv-image.fit-contain img { object-fit: contain; max-height: 520px; }
.pt-visual.has-image.fit-cover .pt-vlabel { z-index: 2; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,0.5); }
.pt-panel.is-active .pv-image { animation: pt-in 560ms var(--ease-out) 60ms both; }

/* Product visual cards */
.pv { position: relative; z-index: 1; width: min(100%, 340px); }
.pv-card { position: relative; background: #fff; color: var(--black); border: 1px solid #e3e3df; border-radius: 4px; padding: 22px 24px 20px; box-shadow: 0 30px 60px -30px rgba(0,0,0,0.25), 0 2px 6px -2px rgba(0,0,0,0.06); transform: rotate(-4deg); }
.pt-panel:nth-child(even) .pv-card { transform: rotate(3deg); }
.pv-head { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.pv-head .px { fill: currentColor; }
.pv-head .mono { font-size: 0.6875rem; }
.pv-ok { margin-left: auto; width: 20px; height: 20px; border-radius: 50%; background: #2f7d4a; position: relative; }
.pv-ok::after { content: ""; position: absolute; left: 7px; top: 4px; width: 4px; height: 8px; border: solid #fff; border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); }
.pv-person { display: flex; align-items: center; gap: 16px; }
.pv-person img { width: 72px; height: 84px; object-fit: cover; filter: grayscale(1) contrast(1.05); border-radius: 2px; }
.pv-person img.round { width: 56px; height: 56px; border-radius: 50%; }
.pv-k { color: #9a9a94; font-size: 0.5625rem; }
.pv-name { font-family: var(--font-display); font-size: 1.375rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; margin-top: 4px; }
.pv-sub { color: #6b6b66; font-size: 0.9375rem; margin-top: 2px; }
.pv-bars { display: flex; gap: 6px; margin-top: 20px; }
.pv-bars i { height: 5px; background: #ececea; border-radius: 3px; flex: 1; }
.pv-bars i:nth-child(3) { flex: 0.6; }
.pv-ref { color: #a3a39e; font-size: 0.625rem; margin-top: 18px; }
.pv-rows { margin-top: 16px; border-top: 1px solid #efefec; }
.pv-rows li { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid #efefec; font-size: 0.8125rem; }
.pv-rows em { font-style: normal; color: #8a8a85; font-size: 0.625rem; }
.pv-rows b.ok { width: 14px; height: 14px; border-radius: 50%; background: #2f7d4a; position: relative; }
.pv-rows b.ok::after { content: ""; position: absolute; left: 5px; top: 2.5px; width: 3px; height: 6px; border: solid #fff; border-width: 0 1.4px 1.4px 0; transform: rotate(45deg); }
.pv-url { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 11px 12px; border: 1px solid #e3e3df; border-radius: 4px; font-size: 0.875rem; background: #fafaf8; }
.pv-url .icon { width: 16px; height: 16px; color: #6b6b66; }
.pv-url b { color: var(--blue); font-weight: 600; }
.pv-dark { background: #000; color: #fff; border-color: #1a1a1a; background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px); background-size: 20px 20px; }
.pv-dark .pv-k, .pv-dark .pv-ref { color: #8a8a8a; }
.pv-dark .pv-k { color: #4ade80; }
.pv-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.pv-chips li { font-size: 0.75rem; padding: 5px 10px; border: 1px solid #2e2e2e; border-radius: 999px; color: #e6e6e6; }
.pv-code pre { margin: 0; font-size: 0.75rem; line-height: 1.7; text-transform: none; letter-spacing: 0; color: #3a3a37; white-space: pre; overflow: hidden; }
.pv-code .c { color: var(--blue); font-weight: 600; }
.pv-code .s { color: #2f7d4a; }
.pv-meters { margin-top: 16px; display: grid; gap: 12px; }
.pv-meters li { display: grid; gap: 6px; font-size: 0.8125rem; }
.pv-meters i { display: block; height: 5px; border-radius: 3px; background: #ececea; position: relative; overflow: hidden; }
.pv-meters i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--v); background: #000; border-radius: 3px; }
.pt-panel.is-active .pv-meters i::after { animation: pv-meter 1s var(--ease-out) 400ms both; }
@keyframes pv-meter { from { width: 0; } }
.pv-toast { position: absolute; right: -28px; bottom: -46px; z-index: 2; display: flex; align-items: center; gap: 14px; padding: 14px 18px 14px 16px; background: #fff; color: var(--black); border: 1px solid #e3e3df; border-radius: 3px; box-shadow: 0 20px 40px -20px rgba(0,0,0,0.3); min-width: 220px; }
.pv-toast-ic { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid #2f7d4a; color: #2f7d4a; flex: none; }
.pv-toast-ic .icon { width: 15px; height: 15px; stroke-width: 2.2; }
.pv-toast b { display: block; font-size: 0.8125rem; font-weight: 600; }
.pv-toast small { display: block; font-size: 0.6875rem; color: #8a8a85; margin-top: 2px; }

@media (max-width: 1300px) {
  .pt-tab { padding: 0 14px; gap: 10px; }
  .pt-num { display: none; }
}
@media (max-width: 1180px) {
  .layout-tabs .pt-head { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 20px; }
  .pt-tabs { display: flex; overflow-x: auto; scrollbar-width: none; }
  .pt-tabs::-webkit-scrollbar { display: none; }
  .pt-tab { flex: none; height: 60px; }
  .pt-num { display: inline; }
  .pt-panel { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .pt-copy { border-right: 0; border-bottom: 1px solid var(--line); }
  .pt-visual { min-height: 420px; }
}
@media (max-width: 560px) {
  .pt-caps { grid-template-columns: minmax(0, 1fr); }
  .pv-toast { right: -8px; min-width: 0; }
  .pt-foot { flex-direction: column; gap: 6px; }
}

/* ---------- Steps ---------- */
.steps-wrap { position: relative; }
.steps-track { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line); }
.steps-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; background: var(--fg); transform: scaleX(0); transform-origin: left; transition: transform 120ms linear; }
.steps-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 48px); }
.steps-6 .steps-list { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 56px; }
.step { padding-top: 36px; position: relative; }
.step-num { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); }
.step-num .sq { color: var(--fg); }
.step-title { font-size: 1.375rem; font-weight: 600; letter-spacing: -0.02em; margin-top: 22px; line-height: 1.2; }
.step-body { color: var(--fg-2); margin-top: 12px; font-size: 1rem; }

/* ---------- Spotlight ---------- */
.spot-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 110px); align-items: start; }
.block-spotlight.is-reverse .spot-visual { order: -1; }
.spot-visual { position: sticky; top: calc(var(--header-h-scrolled) + 40px); }
.spot-list { margin-top: 24px; border-top: 1px solid var(--line); }
.spot-list li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.sl-num { color: var(--muted); padding-top: 4px; }
.spot-list h3 { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.01em; }
.spot-list p { color: var(--fg-2); margin-top: 6px; font-size: 0.9875rem; }
.spot-tags { margin-top: 32px; }
.tags-title { color: var(--muted); margin-bottom: 12px; }
.spot-tags ul { display: flex; flex-wrap: wrap; gap: 10px; }
.spot-tags li { border: 1px solid var(--line); padding: 8px 14px; font-size: 0.875rem; color: var(--fg); transition: border-color var(--dur), color var(--dur); }
.spot-tags li:hover { border-color: var(--blue); color: var(--blue); }
.theme-dark .spot-list li, .theme-dark .spot-list { border-color: #262626; }

/* ---------- Grid cards ---------- */
.grid-layout { display: grid; gap: clamp(32px, 4vw, 64px); }
.has-aside .grid-layout { grid-template-columns: minmax(0, 1.6fr) minmax(320px, 1fr); align-items: start; }
.has-aside .grid-aside { position: sticky; top: calc(var(--header-h-scrolled) + 40px); }
.cards { display: grid; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.cols-3 .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols-2 .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-4 .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.has-aside.cols-3 .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card {
  position: relative; display: flex; flex-direction: column; min-height: 280px;
  padding: 32px 32px 30px; background: var(--card); color: var(--fg);
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transition: box-shadow var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.card:hover, .card:focus-visible { box-shadow: inset 0 0 0 1px var(--blue); z-index: 1; background: var(--card-hover); }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 28px; min-height: 40px; }
.card-mark .px, .card-num, .card-icon { transition: fill var(--dur), color var(--dur); }
.card-mark .px { fill: var(--fg); }
.card:hover .card-mark .px { fill: var(--blue); }
.card-num { color: var(--muted); font-size: 0.875rem; }
.card:hover .card-num { color: var(--blue); }
.card-icon { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); color: var(--fg); }
.card-icon .icon { width: 22px; height: 22px; stroke-width: 1.5; }
.card:hover .card-icon { color: var(--blue); border-color: var(--blue); }
.card-label { color: var(--muted); margin-left: auto; }
.card-title { font-size: 1.3125rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; transition: color var(--dur); }
.card:hover .card-title { color: var(--blue); }
.card-body { color: var(--fg-2); margin-top: 12px; font-size: 0.9875rem; flex: 1; }
.card-link { margin-top: 28px; }
.card:hover .card-link { color: var(--blue); }
.card-filler { align-items: center; justify-content: center; gap: 20px; color: var(--muted); background: var(--bg); }
.card-filler .filler-mark .px { fill: var(--line); }
.card-filler:hover { box-shadow: none; }
.card-filler:hover .filler-mark .px.hot { fill: var(--blue); }
.card-px { position: absolute; right: 16px; bottom: 16px; width: 8px; height: 8px; background: var(--line); transition: background-color var(--dur), transform var(--dur) var(--ease); }
.card:hover .card-px { background: var(--blue); transform: scale(1.5); }

/* ---------- Solutions ---------- */
.sol-list { border-top: 1px solid var(--line); }
.sol-row { border-bottom: 1px solid var(--line); }
.sol-link { display: grid; grid-template-columns: 56px minmax(0, 1.4fr) minmax(0, 1fr) 48px; gap: 24px; align-items: center; padding: 30px 0; transition: padding var(--dur) var(--ease); }
.sol-num { color: var(--muted); }
.sol-main { display: grid; gap: 6px; }
.sol-name { font-family: var(--font-display); font-size: clamp(1.5rem, 2.4vw, 2.25rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; transition: color var(--dur); }
.sol-tagline { color: var(--fg-2); font-size: 1.0625rem; }
.sol-tags { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); }
.sol-tags em { font-style: normal; border: 1px solid var(--line); padding: 6px 10px; transition: all var(--dur); }
.sol-arrow { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--line); transition: all var(--dur) var(--ease); justify-self: end; }
.sol-arrow .icon { width: 20px; height: 20px; }
.sol-row:hover .sol-name, .sol-row:focus-within .sol-name { color: var(--blue); }
.sol-row:hover .sol-arrow, .sol-row:focus-within .sol-arrow { background: var(--blue); border-color: var(--blue); color: #fff; transform: translateX(4px); }
.sol-row:hover .sol-tags em { border-color: var(--fg); color: var(--fg); }
.sol-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 350ms var(--ease); }
.sol-body > div { overflow: hidden; padding-left: 80px; }
.sol-body p { color: var(--fg-2); max-width: 44rem; font-size: 1.0625rem; }
.sol-body .link-arrow { margin: 16px 0 0; }
.sol-row:hover .sol-body, .sol-row:focus-within .sol-body, .sol-row.is-open .sol-body { grid-template-rows: 1fr; }
.sol-row:hover .sol-body > div, .sol-row:focus-within .sol-body > div, .sol-row.is-open .sol-body > div { padding-bottom: 34px; }

/* ---------- Code section ---------- */
.code-layout { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 110px); align-items: center; }
.code-features { margin-top: 8px; }
.theme-dark .caps li::before { background: var(--blue); }

/* ---------- Matrix / philosophy ---------- */
.block-matrix { padding-block: clamp(96px, 12vw, 200px); }
.matrix-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 7vw, 140px); align-items: center; }
.matrix-copy .section-body { font-size: 1.125rem; color: #cfcfcf; }
.statements { margin-top: 44px; }
.statement { font-family: var(--font-display); font-size: clamp(1.5rem, 2.6vw, 2.5rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.matrix-tagline { margin-top: 36px; font-weight: 600; color: var(--blue); font-size: 1.125rem; letter-spacing: -0.01em; }
.matrix-visual { display: grid; justify-items: center; gap: 28px; }
.matrix-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; width: min(100%, 520px); aspect-ratio: 1; border: 1px solid #262626; }
.mcell { display: block; border: 1px solid #1c1c1c; background: #000; transition: background-color 420ms var(--ease), box-shadow 420ms var(--ease); }
.mcell.on.lit { background: #fff; }
.mcell.on.lit.flash { box-shadow: inset 0 0 0 100px var(--blue); }
.matrix-bits { display: grid; grid-template-columns: repeat(5, 1.5ch); gap: 6px 10px; color: #3a3a3a; font-size: 0.875rem; letter-spacing: 0; }
.matrix-bits span.lit { color: #fff; }
.matrix-label { color: #6f6f6f; }

/* ---------- CTA ---------- */
.block-cta { padding-block: clamp(96px, 12vw, 200px); text-align: center; }
.cta-inner { display: grid; justify-items: center; }
.cta-inner .eyebrow { padding-left: 0; }
.cta-inner .eyebrow::before, .cta-inner .eyebrow::after { display: none; }
.cta-inner .lede { text-align: center; }
.cta-inner .cta-group { justify-content: center; }
.cta-label { margin-top: 64px; color: var(--muted); }

/* ---------- Text ---------- */
.text-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(32px, 5vw, 96px); }
.is-narrow .text-layout { max-width: 1240px; }
.text-side { position: sticky; top: calc(var(--header-h-scrolled) + 40px); align-self: start; }
.text-meta { color: var(--muted); }
.prose { margin-top: 28px; max-width: 46rem; color: var(--fg-2); font-size: 1.0625rem; line-height: 1.65; }
.prose p + p { margin-top: 1em; }
.prose h3 { font-size: 1.375rem; font-weight: 600; letter-spacing: -0.02em; color: var(--fg); margin: 2em 0 0.6em; }
.prose h4 { font-size: 1.125rem; font-weight: 600; color: var(--fg); margin: 1.6em 0 0.5em; }
.prose ul { list-style: square; padding-left: 1.2em; margin: 1em 0; }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.prose em { color: var(--muted); }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.plan { position: relative; display: flex; flex-direction: column; padding: 40px 36px; background: var(--card); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: box-shadow var(--dur); }
.plan:hover { box-shadow: inset 0 0 0 1px var(--blue); z-index: 1; }
.plan.is-featured { background: var(--black); color: var(--white); --fg: #fff; --fg-2: #e6e6e6; --muted: #9a9a9a; --line: #2a2a2a; }
.plan-flag { position: absolute; top: 0; right: 0; background: var(--blue); color: #fff; padding: 6px 10px; }
.plan-label { color: var(--muted); }
.plan-name { font-size: 1.75rem; font-weight: 700; letter-spacing: -0.03em; margin-top: 18px; }
.plan-price { font-size: 1.5rem; font-weight: 500; letter-spacing: -0.02em; margin-top: 24px; }
.plan-period { color: var(--muted); margin-top: 6px; }
.plan-desc { color: var(--fg-2); margin-top: 18px; }
.plan .caps { grid-template-columns: 1fr; margin-top: 28px; flex: 1; }
.plan .btn { margin-top: 36px; }
.plan.is-featured .caps li::before { background: var(--blue); }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.faq-side { position: sticky; top: calc(var(--header-h-scrolled) + 40px); }
.faq-side .section-head { margin-bottom: 0; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; display: grid; grid-template-columns: 48px 1fr 40px; gap: 16px; align-items: center; padding: 24px 0; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-num { color: var(--muted); }
.faq-q { font-size: 1.25rem; font-weight: 500; letter-spacing: -0.015em; transition: color var(--dur); }
.faq-item summary:hover .faq-q { color: var(--blue); }
.faq-icon { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); transition: all var(--dur) var(--ease); }
.faq-icon .icon { width: 18px; height: 18px; transition: transform var(--dur) var(--ease); }
.faq-item[open] .faq-icon { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.faq-item[open] .faq-icon .icon { transform: rotate(45deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 320ms var(--ease); }
.faq-a > div { overflow: hidden; padding-left: 64px; color: var(--fg-2); max-width: 44rem; font-size: 1.0625rem; }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-item.is-open .faq-a > div { padding-bottom: 28px; }

/* ---------- Contact ---------- */
.block-contact { padding-block: clamp(56px, 6vw, 96px) clamp(88px, 9vw, 150px); border-top: 0 !important; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 110px); align-items: start; }
.contact-details { margin-top: 48px; border-top: 1px solid var(--line); max-width: 420px; }
.contact-details li { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-details .mono { color: var(--muted); }
.contact-details a { font-weight: 500; }
.contact-details a:hover { color: var(--blue); }
.contact-form { background: var(--card); border: 1px solid var(--line); padding: clamp(24px, 3vw, 44px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-form .field { display: grid; gap: 8px; padding: 0; border: 0; }
.contact-form .field > span { font-size: 0.8125rem; font-weight: 500; color: var(--fg); }
.field-full { grid-column: 1 / -1; }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form select, .contact-form textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--fg); background: var(--bg);
  border: 1px solid var(--line); padding: 14px 16px; border-radius: 0; -webkit-appearance: none; appearance: none;
  transition: border-color var(--dur), box-shadow var(--dur);
}
.contact-form select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23777' stroke-width='1.8'%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; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.contact-form input.is-invalid, .contact-form textarea.is-invalid { border-color: #dc2626; }
.form-consent { margin-top: 20px; font-size: 0.875rem; color: var(--fg-2); }
.form-consent label { display: flex; gap: 10px; align-items: flex-start; }
.form-consent input { margin-top: 3px; accent-color: var(--blue); }
.form-consent a { text-decoration: underline; text-underline-offset: 3px; }
.form-actions { display: flex; align-items: center; gap: 20px; margin-top: 28px; flex-wrap: wrap; }
.form-status { color: var(--muted); }
.form-status.ok { color: var(--ok); }
.form-status.err { color: #dc2626; }

/* ---------- Contact: modes + demo booking ---------- */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-panel { min-width: 0; }
.mode-switch { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-bottom: 0; background: var(--card); }
.mode-switch button { display: flex; align-items: center; justify-content: center; gap: 10px; height: 56px; font-weight: 500; color: var(--muted); border-bottom: 1px solid var(--line); transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease); }
.mode-switch button + button { border-left: 1px solid var(--line); }
.mode-switch .icon { width: 18px; height: 18px; }
.mode-switch button:hover { color: var(--blue); }
.mode-switch button[aria-selected="true"] { background: var(--black); color: var(--white); border-bottom-color: var(--black); }
.has-modes .contact-form { border-top: 0; }
.demo-format { color: var(--muted); margin-top: 22px; }
.demo-step + .demo-step { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.demo-step-label { color: var(--muted); margin-bottom: 18px; display: flex; gap: 10px; align-items: center; }
.demo-step-label b { color: var(--fg); font-weight: 500; }
.demo-picker { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 28px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cal-title { font-weight: 600; font-size: 1.0625rem; letter-spacing: -0.01em; }
.cal-nav { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line); transition: all var(--dur) var(--ease); }
.cal-nav .icon { width: 16px; height: 16px; }
.cal-nav[data-cal-prev] .icon { transform: rotate(180deg); }
.cal-nav:hover:not(:disabled) { border-color: var(--blue); color: var(--blue); }
.cal-nav:disabled { opacity: 0.3; cursor: default; }
.cal-dow, .cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal-dow { color: var(--muted); font-size: 0.625rem; text-align: center; margin-bottom: 6px; }
.cal-day { aspect-ratio: 1; display: grid; place-items: center; font-size: 0.9375rem; font-variant-numeric: tabular-nums; border: 1px solid transparent; position: relative; transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease); }
.cal-day.is-open { border-color: var(--line); background: var(--card); font-weight: 500; }
.cal-day.is-open:hover { border-color: var(--blue); color: var(--blue); }
.cal-day.is-off { color: #c4c4c0; cursor: default; }
.cal-day.is-weekend { color: #d4d4d0; }
.cal-day.is-holiday { color: #b4b4ae; text-decoration: line-through; }
.cal-day.is-holiday::after { content: ""; position: absolute; bottom: 5px; width: 4px; height: 4px; background: var(--warn); }
.cal-day.is-today::before { content: ""; position: absolute; top: 5px; right: 5px; width: 4px; height: 4px; background: var(--fg); }
.cal-day.is-selected { background: var(--black); color: var(--white); border-color: var(--black); }
.cal-day.is-selected.is-today::before { background: var(--white); }
.cal-day:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; }
.cal-legend { display: flex; gap: 18px; color: var(--muted); font-size: 0.625rem; margin-top: 14px; }
.cal-legend span { display: inline-flex; align-items: center; gap: 6px; }
.cal-legend i { width: 10px; height: 10px; display: inline-block; }
.lg-av { border: 1px solid var(--line); background: var(--card); }
.lg-hol { width: 6px !important; height: 6px !important; background: var(--warn); }
.slots { min-width: 0; }
.slots-title { font-weight: 600; font-size: 1.0625rem; letter-spacing: -0.01em; min-height: 36px; display: flex; align-items: center; }
.slots-tz { color: var(--muted); font-size: 0.625rem; margin: 2px 0 14px; min-height: 1em; }
.slots-list { display: grid; gap: 8px; }
.slot { display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 48px; padding: 0 16px; border: 1px solid var(--line); background: var(--card); font-weight: 500; font-variant-numeric: tabular-nums; transition: all var(--dur) var(--ease); text-align: left; }
.slot small { color: var(--muted); font-weight: 400; font-size: 0.8125rem; }
.slot em { font-style: normal; color: var(--muted); font-size: 0.625rem; }
.slot:hover:not(:disabled) { border-color: var(--blue); color: var(--blue); }
.slot.is-selected { background: var(--black); border-color: var(--black); color: var(--white); }
.slot.is-selected small { color: #a3a3a3; }
.slot.is-off { color: #b4b4ae; background: transparent; text-decoration: line-through; cursor: default; }
.slots-empty { color: var(--muted); font-size: 0.9375rem; }
.chip-checks { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-check { position: relative; }
.chip-check input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip-check span { display: inline-block; padding: 8px 14px; border: 1px solid var(--line); font-size: 0.875rem; font-weight: 400; color: var(--fg); background: var(--bg); transition: all var(--dur) var(--ease); }
.chip-check input:hover + span { border-color: var(--blue); color: var(--blue); }
.chip-check input:checked + span { background: var(--black); color: var(--white); border-color: var(--black); }
.chip-check input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.field em { font-style: normal; color: var(--muted); font-weight: 400; }
.demo-summary { display: flex; align-items: center; gap: 16px; margin-top: 24px; padding: 14px 16px; background: var(--off); border: 1px solid var(--line); }
.demo-summary .mono { color: var(--muted); }
.demo-summary b { font-weight: 500; }
.btn:disabled { opacity: 0.35; cursor: not-allowed; }
.btn:disabled:hover { background: var(--black); border-color: var(--black); }
.form-status a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; text-transform: none; letter-spacing: 0; font-family: var(--font-sans); font-size: 0.875rem; }
.demo-form.is-done > :not(.demo-done) { display: none; }
.demo-done { text-align: center; padding: 40px 10px 20px; }
.done-mark { display: inline-grid; place-items: center; width: 56px; height: 56px; background: var(--ok); color: #fff; margin-bottom: 20px; animation: pt-in 500ms var(--ease-out) both; }
.done-mark .icon { width: 28px; height: 28px; stroke-width: 2.4; }
.demo-done .mono { color: var(--muted); }
.demo-done h3 { font-family: var(--font-display); font-size: clamp(1.5rem, 2.2vw, 2rem); font-weight: 700; letter-spacing: -0.02em; margin-top: 8px; }
.done-copy { color: var(--fg-2); margin: 12px auto 0; max-width: 34rem; }
.demo-done .cta-group { justify-content: center; margin-top: 28px; }
@media (max-width: 1400px) { .demo-picker { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .mode-switch button span { font-size: 0.875rem; } .demo-summary { flex-direction: column; align-items: flex-start; gap: 4px; } }

/* ---------- Developer documentation ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.block-docs { padding: 0; }
.dx-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); }
.dx-toc-btn { display: none; }
.dx-side { border-right: 1px solid var(--line); background: var(--off); }
.dx-side-inner { position: sticky; top: var(--header-h-scrolled); max-height: calc(100vh - var(--header-h-scrolled)); overflow: auto; padding: 28px 22px 40px var(--gutter); scrollbar-width: thin; }
.dx-search { display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 12px; border: 1px solid var(--line); background: var(--white); margin-bottom: 22px; transition: border-color var(--dur); }
.dx-search:focus-within { border-color: var(--blue); }
.dx-search .icon { width: 16px; height: 16px; color: var(--muted); flex: none; }
.dx-search input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 0.875rem; background: transparent; }
.dx-search kbd { font-size: 0.625rem; color: var(--muted); border: 1px solid var(--line); padding: 1px 6px; }
.dx-nav-group + .dx-nav-group { margin-top: 20px; }
.dx-nav-title { color: var(--muted); font-size: 0.625rem; margin-bottom: 8px; }
.dx-nav a { display: flex; align-items: center; gap: 8px; padding: 6px 10px; margin-left: -10px; font-size: 0.875rem; color: var(--fg-2); border-left: 2px solid transparent; transition: color var(--dur), background-color var(--dur); }
.dx-nav a:hover { color: var(--blue); }
.dx-nav a.is-active { color: var(--fg); font-weight: 500; border-left-color: var(--fg); background: var(--white); }
.dx-nav a[hidden], .dx-nav-group[hidden] { display: none; }
.dx-nav .dx-method { font-size: 0.5rem; padding: 2px 4px; min-width: 34px; }
.dx-none { color: var(--muted); font-size: 0.875rem; }
.dx-main { min-width: 0; }
.dx-hero { padding: clamp(40px, 5vw, 72px) clamp(24px, 4vw, 64px) 40px; border-bottom: 1px solid var(--line); }
.dx-hero > * { max-width: 1040px; }
.dx-title { font-family: var(--font-display); font-size: clamp(2.25rem, 4vw, 3.75rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1; }
.dx-intro { margin-top: 18px; font-size: 1.125rem; color: var(--fg-2); max-width: 46rem; }
.dx-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.dx-base { display: inline-flex; align-items: center; gap: 12px; padding: 8px 8px 8px 14px; border: 1px solid var(--line); background: var(--off); }
.dx-base .mono { color: var(--muted); font-size: 0.625rem; }
.dx-base code { font-family: var(--font-mono); font-size: 0.875rem; }
.dx-version { padding: 9px 12px; border: 1px solid var(--line); color: var(--muted); }
.dx-group-title { padding: 40px clamp(24px, 4vw, 64px) 0; color: var(--muted); }
.dx-sec { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 48px; padding: 28px clamp(24px, 4vw, 64px) 48px; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h-scrolled) + 8px); }
.dx-sec.has-aside { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.dx-prose { max-width: 46rem; min-width: 0; font-size: 1rem; line-height: 1.65; color: var(--fg-2); }
.dx-h { position: relative; font-family: var(--font-display); font-size: 1.75rem; font-weight: 600; letter-spacing: -0.025em; color: var(--fg); margin-bottom: 14px; }
.dx-anchor { position: absolute; left: -24px; top: 0; color: var(--muted); opacity: 0; transition: opacity var(--dur); font-weight: 400; }
.dx-h:hover .dx-anchor { opacity: 1; }
.dx-anchor:hover { color: var(--blue); }
.dx-prose h3 { font-size: 1.125rem; font-weight: 600; color: var(--fg); margin: 1.8em 0 0.6em; letter-spacing: -0.01em; }
.dx-prose h4, .dx-sub { font-family: var(--font-mono); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 2em 0 0.8em; }
.dx-prose p + p, .dx-prose p + ul, .dx-prose p + ol, .dx-prose ul + p, .dx-prose ol + p { margin-top: 0.9em; }
.dx-prose ul, .dx-prose ol { padding-left: 1.25em; margin: 0.9em 0; }
.dx-prose ul { list-style: square; }
.dx-prose ol { list-style: decimal; }
.dx-prose li + li { margin-top: 0.35em; }
.dx-prose strong { color: var(--fg); font-weight: 600; }
.dx-prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.dx-prose code, .dx-params code, .dx-endpoint code { font-family: var(--font-mono); font-size: 0.85em; background: var(--off); border: 1px solid var(--line); padding: 1px 5px; color: var(--fg); }
.dx-prose pre code, .dx-code code { background: none; border: 0; padding: 0; color: inherit; font-size: inherit; }
.dx-endpoint { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.dx-endpoint code { font-size: 0.9375rem; background: transparent; border: 0; padding: 0; }
.dx-method { display: inline-grid; place-items: center; font-family: var(--font-mono); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.06em; padding: 3px 7px; color: #fff; background: var(--black); flex: none; }
.dx-method.m-get { background: #2563eb; }
.dx-method.m-post { background: #000; }
.dx-method.m-delete { background: #b91c1c; }
.dx-method.m-patch, .dx-method.m-put { background: #92400e; }
.dx-table { overflow-x: auto; margin: 1.2em 0; border: 1px solid var(--line); }
.dx-table table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.dx-table th { text-align: left; font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500; color: var(--muted); background: var(--off); padding: 10px 14px; border-bottom: 1px solid var(--line); }
.dx-table td { padding: 10px 14px; border-top: 1px solid var(--line); vertical-align: top; }
.dx-table tr:first-child td { border-top: 0; }
.dx-callout { margin: 1.4em 0; padding: 14px 16px; border-left: 3px solid var(--blue); background: rgba(37, 99, 235, 0.05); font-size: 0.9375rem; color: var(--fg-2); }
.dx-callout.warn { border-left-color: var(--warn); background: rgba(217, 119, 6, 0.07); }
.dx-hero .dx-callout { margin-top: 24px; max-width: 46rem; }
.dx-params { margin: 0; border-top: 1px solid var(--line); }
.dx-param { padding: 12px 0; border-bottom: 1px solid var(--line); }
.dx-param dt { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.dx-param dt code { font-weight: 600; }
.dx-type { color: var(--muted); font-size: 0.625rem; }
.dx-req { color: #b91c1c; font-size: 0.5625rem; }
.dx-opt { color: var(--muted); font-size: 0.5625rem; }
.dx-param dd { margin: 6px 0 0; font-size: 0.9375rem; }
.dx-aside { min-width: 0; display: grid; gap: 16px; align-content: start; position: sticky; top: calc(var(--header-h-scrolled) + 24px); align-self: start; }
.dx-panel { background: #0a0a0a; border: 1px solid #1f1f1f; color: #e8e8e8; min-width: 0; }
.dx-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 0 0 14px; border-bottom: 1px solid #1f1f1f; min-height: 42px; }
.dx-panel-title { color: #8a8a8a; font-size: 0.625rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-transform: none; letter-spacing: 0.02em; }
.dx-langs { display: flex; }
.dx-langs button { height: 42px; padding: 0 12px; font-size: 0.75rem; color: #8a8a8a; border-left: 1px solid #1f1f1f; transition: color var(--dur), background-color var(--dur); }
.dx-langs button:hover { color: #fff; }
.dx-langs button[aria-selected="true"] { color: #fff; background: #161616; box-shadow: inset 0 -2px 0 var(--blue); }
.dx-sample { position: relative; }
.dx-sample[hidden] { display: none; }
.dx-sample pre, .dx-code pre { margin: 0; padding: 18px 18px 20px; overflow-x: auto; font-family: var(--font-mono); font-size: 0.8125rem; line-height: 1.7; tab-size: 2; }
.dx-copy { font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 9px; border: 1px solid #2a2a2a; color: #8a8a8a; background: #0a0a0a; transition: color var(--dur), border-color var(--dur); }
.dx-copy:hover { color: #fff; border-color: #555; }
.dx-copy.copied { color: #4ade80; border-color: #4ade80; }
.dx-sample .dx-copy { position: absolute; top: 10px; right: 10px; opacity: 0; transition: opacity var(--dur); }
.dx-sample:hover .dx-copy, .dx-sample .dx-copy:focus-visible { opacity: 1; }
.dx-base .dx-copy { background: var(--white); color: var(--muted); border-color: var(--line); }
.dx-base .dx-copy:hover { color: var(--blue); border-color: var(--blue); }
.dx-code { margin: 1.2em 0; background: #0a0a0a; border: 1px solid #1f1f1f; color: #e8e8e8; }
.dx-code-head { display: flex; justify-content: space-between; align-items: center; padding: 6px 8px 6px 14px; border-bottom: 1px solid #1f1f1f; color: #8a8a8a; font-size: 0.625rem; }
.dx-panel .tok-c, .dx-code .tok-c { color: #6f6f6f; }
.dx-panel .tok-s, .dx-code .tok-s { color: #9db4f5; }
.dx-panel .tok-k, .dx-code .tok-k { color: #fff; font-weight: 600; }
.dx-panel .tok-n, .dx-code .tok-n { color: #c9c9c9; }
.dx-panel .tok-p, .dx-code .tok-p { color: #4ade80; }
.dx-foot { padding: 40px clamp(24px, 4vw, 64px) 72px; color: var(--fg-2); }
.dx-foot a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1400px) { .dx-sec.has-aside { grid-template-columns: minmax(0, 1fr); } .dx-aside { position: static; margin-top: 24px; max-width: 46rem; } }
@media (max-width: 1000px) {
  .dx-layout { grid-template-columns: minmax(0, 1fr); }
  .dx-side { border-right: 0; border-bottom: 1px solid var(--line); }
  .dx-side-inner { position: static; max-height: none; padding: 20px var(--gutter); }
  .dx-nav { display: none; padding-top: 6px; }
  .dx-side.is-searching .dx-nav, .dx-side.is-open .dx-nav { display: block; }
  .dx-toc-btn { display: flex; align-items: center; justify-content: space-between; width: 100%; height: 42px; padding: 0 12px; border: 1px solid var(--line); background: var(--white); font-weight: 500; margin-top: -10px; }
  .dx-toc-btn .icon { width: 16px; height: 16px; transition: transform var(--dur); }
  .dx-side.is-open .dx-toc-btn .icon { transform: rotate(45deg); }
  .dx-search { margin-bottom: 18px; }
  .dx-anchor { display: none; }
}

/* ---------- Docs AI assistant ---------- */
.dx-ask { display: flex; align-items: center; gap: 10px; width: 100%; height: 42px; padding: 0 12px; margin: -10px 0 22px; background: var(--black); color: var(--white); font-size: 0.875rem; font-weight: 500; transition: background-color var(--dur); }
.dx-ask:hover { background: var(--blue); }
.dx-ask .icon { width: 16px; height: 16px; }
.ai-launch { position: fixed; right: 24px; bottom: 24px; z-index: 95; display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 18px 0 14px; background: var(--black); color: var(--white); font-weight: 500; box-shadow: 0 16px 40px -16px rgba(0,0,0,0.5); transition: background-color var(--dur), transform var(--dur) var(--ease); }
.ai-launch:hover { background: var(--blue); transform: translateY(-2px); }
.ai-mark .px { fill: currentColor; }
.ai.is-open .ai-launch { opacity: 0; pointer-events: none; }
body:has(.ai:not([hidden])) .to-top { bottom: 84px; }
.ai-panel { position: fixed; right: 24px; bottom: 24px; z-index: 96; width: min(440px, calc(100vw - 32px)); height: min(680px, calc(100vh - 120px)); display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); box-shadow: 0 40px 90px -30px rgba(0,0,0,0.45); animation: pt-in 260ms var(--ease-out); }
.ai-panel[hidden] { display: none; }
.ai-head { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 16px; border-bottom: 1px solid var(--line); }
.ai-head > div { flex: 1; min-width: 0; }
.ai-title { font-weight: 600; letter-spacing: -0.01em; }
.ai-sub { color: var(--muted); font-size: 0.5625rem; margin-top: 2px; }
.ai-icon { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid transparent; color: var(--fg-2); }
.ai-icon:hover { border-color: var(--line); color: var(--blue); }
.ai-icon .icon { width: 16px; height: 16px; }
.ai-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 14px; scroll-behavior: smooth; }
.ai-msg { max-width: 100%; font-size: 0.9375rem; line-height: 1.6; color: var(--fg-2); overflow-wrap: anywhere; }
.ai-msg.user { align-self: flex-end; max-width: 85%; background: var(--black); color: var(--white); padding: 10px 14px; white-space: pre-wrap; }
.ai-msg.bot p + p, .ai-msg.bot p + ul, .ai-msg.bot ul + p, .ai-msg.bot p + ol, .ai-msg.bot ol + p, .ai-msg.bot pre + p, .ai-msg.bot p + pre { margin-top: 0.7em; }
.ai-msg.bot ul, .ai-msg.bot ol { padding-left: 1.2em; margin: 0.5em 0; }
.ai-msg.bot ul { list-style: square; } .ai-msg.bot ol { list-style: decimal; }
.ai-msg.bot strong { color: var(--fg); }
.ai-msg.bot a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.ai-msg.bot code { font-family: var(--font-mono); font-size: 0.85em; background: var(--off); border: 1px solid var(--line); padding: 0 4px; }
.ai-msg.bot .ai-pre { position: relative; margin: 0.7em 0; background: #0a0a0a; border: 1px solid #1f1f1f; }
.ai-msg.bot .ai-pre pre { margin: 0; padding: 12px 14px; overflow-x: auto; font-family: var(--font-mono); font-size: 0.78rem; line-height: 1.6; color: #e8e8e8; }
.ai-msg.bot .ai-pre code { background: none; border: 0; padding: 0; color: inherit; font-size: inherit; }
.ai-msg.bot .ai-pre .dx-copy { position: absolute; top: 6px; right: 6px; }
.ai-msg.bot.is-welcome { color: var(--fg); }
.ai-msg.notice { font-size: 0.8125rem; color: var(--muted); border-left: 2px solid var(--line); padding-left: 10px; }
.ai-msg.error { font-size: 0.875rem; color: #b91c1c; border-left: 2px solid #fca5a5; padding-left: 10px; }
.ai-typing { display: inline-flex; gap: 4px; padding: 6px 0; }
.ai-typing i { width: 6px; height: 6px; background: var(--fg); animation: ai-dot 1s infinite ease-in-out; }
.ai-typing i:nth-child(2) { animation-delay: 0.15s; } .ai-typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes ai-dot { 0%, 80%, 100% { opacity: 0.2; } 40% { opacity: 1; } }
.ai-caret::after { content: ""; display: inline-block; width: 7px; height: 1em; background: var(--blue); vertical-align: -2px; margin-left: 2px; animation: blink 0.9s steps(2) infinite; }
.ai-suggest { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 12px; }
.ai-suggest button { text-align: left; font-size: 0.8125rem; padding: 7px 10px; border: 1px solid var(--line); color: var(--fg-2); transition: all var(--dur); }
.ai-suggest button:hover { border-color: var(--blue); color: var(--blue); }
.ai-form { display: flex; align-items: flex-end; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.ai-form textarea { flex: 1; resize: none; max-height: 160px; min-height: 44px; border: 1px solid var(--line); padding: 11px 12px; font: inherit; font-size: 0.9375rem; line-height: 1.4; outline: none; }
.ai-form textarea:focus { border-color: var(--blue); }
.ai-send { width: 44px; height: 44px; display: grid; place-items: center; background: var(--black); color: var(--white); flex: none; transition: background-color var(--dur); }
.ai-send:hover { background: var(--blue); }
.ai-send .icon { width: 18px; height: 18px; }
.ai-send.is-stop .icon { display: none; }
.ai-send.is-stop::before { content: ""; width: 12px; height: 12px; background: currentColor; }
.ai-foot { color: var(--muted); font-size: 0.5625rem; text-align: center; padding: 0 12px 10px; }
@media (max-width: 560px) {
  .ai-panel { right: 0; bottom: 0; width: 100vw; height: 100dvh; max-height: none; border: 0; }
  .ai-launch { right: 14px; bottom: 14px; }
}

/* ---------- Book a demo wizard ---------- */
.wiz-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 0 0 26px; border-bottom: 1px solid var(--line); }
.wiz-step { display: flex; align-items: center; gap: 10px; padding: 0 0 14px; color: var(--muted); position: relative; cursor: default; }
.wiz-step span { display: inline-grid; place-items: center; width: 24px; height: 24px; border: 1px solid var(--line); font-size: 0.625rem; letter-spacing: 0; transition: all var(--dur) var(--ease); }
.wiz-step::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--fg); transform: scaleX(0); transform-origin: left; transition: transform 380ms var(--ease-out); }
.wiz-step.is-current { color: var(--fg); }
.wiz-step.is-current span { background: var(--black); border-color: var(--black); color: var(--white); }
.wiz-step.is-current::after { transform: scaleX(1); }
.wiz-step.is-done { color: var(--fg); cursor: pointer; }
.wiz-step.is-done span { background: var(--ok); border-color: var(--ok); color: transparent; position: relative; }
.wiz-step.is-done span::after { content: ""; position: absolute; left: 8px; top: 4px; width: 5px; height: 10px; border: solid #fff; border-width: 0 1.8px 1.8px 0; transform: rotate(45deg); }
.wiz-step.is-done:hover { color: var(--blue); }
.demo-form[data-step="2"] .wiz-step[data-wiz-ind="1"] { cursor: pointer; }
.wiz-help { color: var(--fg-2); margin: -6px 0 20px; font-size: 0.9375rem; }
.demo-step[data-wiz-step] + .demo-step[data-wiz-step] { margin-top: 0; padding-top: 0; border-top: 0; }
.demo-step.wiz-in { animation: wiz-in 420ms var(--ease-out) both; }
@keyframes wiz-in { from { opacity: 0; transform: translateX(18px); } }
[data-wiz-step="1"].wiz-in { animation-name: wiz-back; }
@keyframes wiz-back { from { opacity: 0; transform: translateX(-18px); } }
.demo-step[data-wiz-step="2"] .demo-summary { margin: 0 0 24px; }
.demo-summary b { flex: 1; }
.wiz-change { font-size: 0.875rem; font-weight: 500; color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.wiz-change:hover { color: var(--black); }
.demo-form .form-actions [data-wiz-back] .icon { transform: rotate(180deg); }
.slots-tz.is-err { color: #b91c1c; text-transform: none; letter-spacing: 0; font-family: var(--font-sans); font-size: 0.875rem; }
@media (max-width: 560px) { .demo-form .form-actions { flex-direction: column-reverse; align-items: stretch; } .wiz-steps { font-size: 0.625rem; } }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--white); border-top: 1px solid var(--grid); padding: clamp(64px, 7vw, 112px) 0 40px; overflow: hidden; }
.f-top { display: grid; grid-template-columns: minmax(280px, 1.1fr) minmax(0, 2.6fr); gap: clamp(40px, 6vw, 120px); position: relative; z-index: 1; }
.f-tagline { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; margin-top: 28px; }
.f-desc { color: var(--graphite); margin-top: 10px; max-width: 30rem; }
.f-brand .btn { margin-top: 32px; }
.f-cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px 24px; }
.f-title { color: var(--grey); margin-bottom: 20px; }
.f-col li + li { margin-top: 12px; }
.f-col a { color: var(--black); font-size: 0.9875rem; position: relative; transition: color var(--dur); }
.f-col a:hover { color: var(--blue); }
.f-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 40px; margin-top: clamp(56px, 6vw, 96px); padding-top: 28px; border-top: 1px solid var(--grid); position: relative; z-index: 1; }
.f-meta { display: inline-flex; align-items: center; gap: 16px; color: var(--grey); }
.f-meta .sep { width: 6px; height: 6px; background: var(--black); }
.f-social { display: flex; gap: 24px; font-size: 0.9375rem; }
.f-social a:hover { color: var(--blue); }
.f-built { color: var(--grey); font-size: 0.9375rem; width: 100%; }
.f-matrix { position: absolute; right: -40px; bottom: -40px; z-index: 0; pointer-events: none; }
.f-mark .px { fill: #f0f0ee; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 700ms ease, transform 800ms var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal-visual { opacity: 0; transform: translateY(32px) scale(0.985); transition: opacity 800ms ease, transform 900ms var(--ease-out); }
.js .reveal-visual.in { opacity: 1; transform: none; }
.js .block-hero .reveal, .js .block-hero .reveal-visual { opacity: 1; transform: none; }

/* ---------- Back to top ---------- */
.to-top { position: fixed; right: 24px; bottom: 24px; width: 48px; height: 48px; display: grid; place-items: center; background: var(--black); color: #fff; border: 1px solid var(--black); z-index: 90; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all var(--dur) var(--ease); }
.to-top .icon { width: 20px; height: 20px; transform: rotate(180deg); }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--blue); border-color: var(--blue); }

/* ---------- HASH25 cursor response ---------- */
.hash25 .px { transition: fill var(--dur) var(--ease); }
.hash25 .px.hot { fill: var(--blue) !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1540px) {
  .nav-list { gap: 0; }
  .nav-link { padding: 10px 10px; font-size: 1rem; }
  .header-actions { gap: 20px; padding-left: 28px; }
  .brand .wordmark { font-size: 1.625rem; }
}
@media (max-width: 1180px) {
  :root { --header-h: 80px; --header-h-scrolled: 68px; }
  .primary-nav { display: none; }
  .header-inner { grid-template-columns: auto 1fr; }
  .header-actions { border-left: 0; padding-left: 0; }
  .nav-toggle { display: grid; }
  .signin { display: none; }
  .mobile-menu { display: block; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { max-width: 860px; }
  .hero-side, .hero-corner { position: static; margin-top: 40px; }
  .deco-px.mid, .deco-px.ink { display: none; }
  .deco-px { opacity: 0.6; }
  .hero-corner { text-align: left; }
  .hero-corner .rule { margin-left: 0; }
  .products-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .products-nav { top: var(--header-h-scrolled); background: var(--bg); z-index: 5; padding: 12px 0; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); border-bottom: 1px solid var(--line); }
  .pn-list { display: flex; gap: 8px; overflow-x: auto; border: 0; scrollbar-width: none; }
  .pn-list::-webkit-scrollbar { display: none; }
  .pn-list li { border: 0; flex: none; }
  .pn-link { grid-template-columns: 22px auto; padding: 10px 14px; border: 1px solid var(--line); }
  .pn-link::before { display: none; }
  .pn-num, .pn-kicker { display: none; }
  .pn-list li.is-active .pn-link { border-color: var(--fg); }
  .pn-foot { display: none; }
  .product-panel { min-height: 0; }
  .spot-layout, .code-layout, .matrix-layout, .contact-layout { grid-template-columns: minmax(0, 1fr); }
  .spot-visual, .grid-aside { position: static; }
  .block-spotlight.is-reverse .spot-visual { order: 0; }
  .has-aside .grid-layout { grid-template-columns: minmax(0, 1fr); }
  .has-aside.cols-3 .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .f-top { grid-template-columns: minmax(0, 1fr); }
  .stats-inner { grid-template-columns: minmax(0, 1fr); }
  .trust { padding-left: 0; border-top: 1px solid var(--line); }
  .stat { padding-block: 28px; }
  .f-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .cols-3 .cards, .cols-4 .cards, .has-aside.cols-3 .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps-list, .steps-6 .steps-list { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .stats-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(2n) { border-right: 0; margin-right: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .sol-link { grid-template-columns: 40px 1fr 44px; }
  .sol-tags { display: none; }
  .sol-body > div { padding-left: 64px; }
  .text-layout, .faq-layout { grid-template-columns: minmax(0, 1fr); }
  .text-side, .faq-side { position: static; }
  .mock-verify .mock-body { grid-template-columns: minmax(0, 1fr); }
  .mock-steps { border-right: 0; border-bottom: 1px solid var(--grid); }
  .mock-steps ol { display: flex; gap: 6px; overflow-x: auto; }
  .mock-steps li { flex: none; }
  .mock-stage { grid-template-columns: minmax(0, 1fr); }
  .portrait { max-width: 420px; }
  .biz-body, .link-body { grid-template-columns: minmax(0, 1fr); }
  .doc, .link-form { border-right: 0; border-bottom: 1px solid var(--grid); }
  .f-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .cols-2 .cards, .cols-3 .cards, .cols-4 .cards, .has-aside.cols-3 .cards { grid-template-columns: minmax(0, 1fr); }
  .steps-list, .steps-6 .steps-list { grid-template-columns: minmax(0, 1fr); }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .brand .wordmark { font-size: 1.5rem; }
  .header-cta { display: none; }
  .btn { width: 100%; }
  .cta-group .btn { width: 100%; }
  .hero-badges { gap: 16px 28px; font-size: 1rem; }
  .caps { grid-template-columns: 1fr; }
  .f-bottom { flex-direction: column; align-items: flex-start; }
  .card { min-height: 0; padding: 26px 22px; }
  .sol-body > div { padding-left: 0; }
  .to-top { width: 40px; height: 40px; right: 14px; bottom: 14px; }
  .trust { grid-template-columns: minmax(0, 1fr); }
  .trust-nav { justify-self: start; }
  .trust-text { max-width: none; }
}

/* ---------- Reduced motion / static QA mode ---------- */
.static .reveal, .static .reveal-visual, .static .hero-copy > *, .static .hero-visual { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js .reveal, .js .reveal-visual, .js .hero-copy > *, .js .hero-visual { opacity: 1; transform: none; animation: none; }
  .ticker-track { animation: none; }
  .deco-px { animation: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .to-top, .deco-pixels, .grid-bg, .block-ticker { display: none !important; }
  .block { padding-block: 32px; }
}
