/* Selenity Technology. One stylesheet for every page.
   Same world as the SmartestQA site: night-sky ground, wide heavy Archivo display type, JetBrains Mono,
   hairline borders, pill buttons, one cream band. The company's own colours: periwinkle (from the indigo
   logo) and amber. SmartestQA cyan appears only where the product is shown.
   Motion budget: star field, hero intro, scroll reveal. Nothing else moves on its own. */

:root {
  color-scheme: dark;
  --ink: #070B14;
  --ink2: #0D1424;
  --card: rgba(13, 20, 36, 0.86);
  --line: #1C2840;
  --line2: #2A3A58;
  --fg: #EEF1F6;
  --soft: #C2CADA;
  --mute: #9AA6BB;
  --accent: #8C9BFF;
  --accent-glow: rgba(124, 140, 255, 0.2);
  --amber: #FFC53D;
  --cyan: #2BC0EA;
  --go: #44E5A0;
  --band: #EEECE5;
  --band-ink: #0A0F1A;
  --band-mute: #4A5263;
  --band-line: #CFCBBE;
  --head: rgba(7, 11, 20, 0.82);
  --star: 238, 241, 246;
  --display: 'Archivo', 'Arial Black', system-ui, sans-serif;
  --sans: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 72px;
}
:root[data-theme="light"] {
  color-scheme: light;
  --ink: #EEECE5;
  --ink2: #E5E2D9;
  --card: rgba(250, 249, 245, 0.86);
  --line: #D2CEC2;
  --line2: #B9B4A6;
  --fg: #0A0F1A;
  --soft: #2B3345;
  --mute: #4F586B;
  --accent: #2B3A9F;
  --accent-glow: rgba(43, 58, 159, 0.14);
  --cyan: #0A7EA3;
  --go: #0B8F60;
  --band: #0A0F1A;
  --band-ink: #EEF1F6;
  --band-mute: #9AA6BB;
  --band-line: #1C2840;
  --head: rgba(238, 236, 229, 0.86);
  --star: 10, 15, 26;
}

/* ───────── base ───────── */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ink); overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--ink); color: var(--soft); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { color: var(--fg); text-wrap: balance; }
a { color: var(--fg); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
a:hover { color: var(--accent); }
strong, b { color: var(--fg); font-weight: 600; }
address { font-style: normal; }
img, svg { max-width: 100%; }
::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 8px; }

#sky { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.site-header, main, .site-footer { position: relative; z-index: 1; }
.container { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: clamp(16px, 3.2vw, 40px); }
.skip { position: absolute; left: 16px; top: -64px; z-index: 100; background: var(--amber); color: #0A0F1A; padding: 10px 16px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

.disp { font-family: var(--display); font-variation-settings: "wdth" 125; font-weight: 850; letter-spacing: -0.035em; line-height: 0.88; }
.disp-m, h3 { font-family: var(--display); font-variation-settings: "wdth" 115; font-weight: 750; letter-spacing: -0.025em; line-height: 1.08; }
h2 { font-family: var(--display); font-variation-settings: "wdth" 125; font-weight: 800; letter-spacing: -0.032em; line-height: 0.95; font-size: clamp(2.25rem, 5.4vw, 5.25rem); }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; font-family: var(--mono); font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.lead { font-size: clamp(1.0625rem, 1.5vw, 1.3125rem); line-height: 1.6; color: var(--soft); max-width: 50ch; }
.muted { color: var(--mute); }
.mt { margin-top: 28px; }
.accent { color: var(--accent); }
.arr { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.25s var(--ease); }
a:hover .arr, .card:hover .arr { transform: translateX(4px); }

/* hero intro and scroll reveal. Hidden states are only ever set by site.js. */
.ch { display: inline-block; opacity: 0; transform: translateY(0.32em); filter: blur(12px); animation: chIn 1s var(--ease) forwards; }
@keyframes chIn { to { opacity: 1; transform: none; filter: none; } }
.js .rise { opacity: 0; transform: translateY(14px); animation: chIn 0.9s var(--ease) forwards; animation-delay: var(--d, 0s); }
.reveal { opacity: 0; transform: translateY(28px); }
.reveal.in { opacity: 1; transform: none; transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0ms); }

/* ───────── buttons ───────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 28px; border: 0; border-radius: 999px; font: 600 1rem/1 var(--sans); letter-spacing: -0.01em; text-decoration: none; cursor: pointer; transition: box-shadow 0.2s, border-color 0.2s, background-color 0.2s, color 0.2s, transform 0.25s var(--ease); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 0.9375rem; }
.btn-primary { background: var(--amber); color: #0A0F1A; }
.btn-primary:hover { color: #0A0F1A; box-shadow: 0 0 0 5px rgba(255, 197, 61, 0.2); transform: translateY(-1px); }
.btn-solid { background: var(--accent); color: var(--ink); }
.btn-solid:hover { color: var(--ink); box-shadow: 0 0 0 5px var(--accent-glow); transform: translateY(-1px); }
.btn-ghost, .btn-outline { background: none; color: var(--fg); box-shadow: inset 0 0 0 1px var(--line2); }
.btn-ghost:hover, .btn-outline:hover { color: var(--fg); box-shadow: inset 0 0 0 1px var(--accent); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.more { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9375rem; font-weight: 600; color: var(--fg); text-decoration: none; }
.more a { text-decoration: none; }

/* ───────── header ───────── */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--head); backdrop-filter: blur(24px) saturate(1.3); -webkit-backdrop-filter: blur(24px) saturate(1.3); border-bottom: 1px solid var(--line); }
.header-row { position: relative; display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; text-decoration: none; color: var(--fg); font-weight: 650; font-size: 1.0625rem; letter-spacing: -0.02em; }
.brand:hover { color: var(--fg); }
.logo { display: inline-flex; align-items: center; gap: 5px; font-family: var(--display); font-variation-settings: "wdth" 96; font-weight: 380; font-size: 1.5rem; line-height: 1; letter-spacing: -0.02em; }
.logo-se { position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; padding-top: 3px; background: #2B3A9F; color: #fff; box-shadow: inset 0 0 0 1.5px #2B3A9F, inset 0 0 0 2.5px rgba(255, 255, 255, 0.9); }
.logo-se sup { position: absolute; top: 4px; right: 5px; font-size: 0.4375rem; font-weight: 500; letter-spacing: 0; line-height: 1; }
.logo-tek { color: var(--accent); }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; align-items: center; gap: 4px; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; font-size: 0.9375rem; font-weight: 500; color: var(--mute); text-decoration: none; transition: color 0.2s; }
.site-nav a:hover, .site-nav a[aria-current="page"], .site-nav a.is-active { color: var(--fg); }
.site-nav a[aria-current="page"]::after, .site-nav a.is-active::after { content: ""; width: 6px; height: 6px; margin-left: 8px; border-radius: 50%; background: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 6px; flex: none; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 999px; background: none; color: var(--mute); font: 500 0.8125rem var(--mono); letter-spacing: 0.04em; text-decoration: none; cursor: pointer; transition: color 0.2s, box-shadow 0.2s; }
.icon-btn:hover { color: var(--fg); box-shadow: inset 0 0 0 1px var(--line2); }
.theme-toggle .i-sun { display: none; }
:root[data-theme="light"] .theme-toggle .i-sun { display: block; }
:root[data-theme="light"] .theme-toggle .i-moon { display: none; }
html:not(.js) .theme-toggle, html:not(.js) .nav-toggle { display: none; }
.header-cta { margin-left: 6px; }
.nav-toggle { display: none; box-shadow: inset 0 0 0 1px var(--line); color: var(--fg); }

@media (max-width: 1023px) {
  .brand-name { display: none; }
  .site-nav { margin-left: 0; }
  .header-actions { margin-left: auto; }
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--ink); border-bottom: 1px solid var(--line); padding: 8px clamp(16px, 3.2vw, 40px) 20px; }
  .js .site-nav.is-open { display: block; }
  .js .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .js .site-nav li + li { border-top: 1px solid var(--line); }
  .js .site-nav a { width: 100%; min-height: 60px; padding: 0; font-family: var(--display); font-variation-settings: "wdth" 115; font-weight: 750; font-size: 1.5rem; letter-spacing: -0.025em; color: var(--fg); }
  html:not(.js) .header-row { height: auto; flex-wrap: wrap; padding-block: 10px; }
}
@media (max-width: 520px) { .header-cta { display: none; } }

/* ───────── hero ───────── */
.hero { position: relative; isolation: isolate; padding-top: clamp(56px, 9vh, 112px); }
.hero::before, .page-head::before { content: ""; position: absolute; z-index: -1; inset: -72px 0 auto 0; height: 760px; pointer-events: none; background: radial-gradient(60% 70% at 78% 18%, var(--accent-glow), transparent 70%), radial-gradient(40% 50% at 8% 0%, rgba(43, 192, 234, 0.08), transparent 70%); }
.chip { display: inline-flex; align-items: center; gap: 12px; padding: 7px 16px 7px 8px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); backdrop-filter: blur(8px); font-size: 0.875rem; font-weight: 500; color: var(--soft); text-decoration: none; }
.chip b { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 999px; background: rgba(43, 192, 234, 0.15); color: var(--cyan); font-size: 0.75rem; font-weight: 650; }
.chip:hover { color: var(--fg); border-color: var(--line2); }
.hero h1 { margin-top: clamp(24px, 4vh, 40px); font-size: clamp(3rem, 11.2vw, 11.5rem); }
.hero h1 span.line { display: block; }
.hero-foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px; margin-top: clamp(28px, 4.5vh, 52px); padding-bottom: clamp(48px, 7vh, 84px); }
.hero-foot .lead { font-size: clamp(1.125rem, 1.6vw, 1.375rem); max-width: 46ch; }
.hero-foot .actions { margin-top: 0; }
.status { display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; font-family: var(--mono); font-size: 0.8125rem; color: var(--mute); }
.status::before { content: ""; width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--go); box-shadow: 0 0 0 4px color-mix(in srgb, var(--go) 22%, transparent); }
.strip { border-block: 1px solid var(--line); background: color-mix(in srgb, var(--ink) 70%, transparent); backdrop-filter: blur(8px); padding-block: 20px; }
.strip .container { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 32px; }
.strip-label { font-size: 0.875rem; font-weight: 600; color: var(--mute); }
.strip ul { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.02em; color: var(--soft); }

/* inner page head */
.page-head { position: relative; isolation: isolate; padding-bottom: clamp(48px, 7vw, 96px); }
.crumbs { padding-top: 26px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px 10px; font-family: var(--mono); font-size: 0.8125rem; color: var(--mute); }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--line2); }
.crumbs a { color: var(--mute); text-decoration: none; }
.crumbs a:hover { color: var(--fg); }
.page-head > .container:last-child { padding-top: clamp(36px, 6vw, 72px); }
.page-head h1 { font-family: var(--display); font-variation-settings: "wdth" 125; font-weight: 850; letter-spacing: -0.035em; line-height: 0.9; font-size: clamp(2.75rem, 8.4vw, 8rem); max-width: 14ch; }
.page-head .lead { margin-top: clamp(24px, 3vw, 40px); max-width: 58ch; }
.badge { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 24px; padding: 7px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); font-family: var(--mono); font-size: 0.8125rem; color: var(--soft); }
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--go); box-shadow: 0 0 0 4px color-mix(in srgb, var(--go) 22%, transparent); }

/* ───────── sections ───────── */
.section { position: relative; border-top: 1px solid var(--line); padding-block: clamp(80px, 9vw, 140px); }
.section-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px clamp(32px, 5vw, 72px); align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head > .eyebrow { grid-column: 1 / -1; margin-bottom: 0; justify-self: start; }
.section-head h2 { max-width: 13ch; }
.section-head h2:only-child, .section-head .eyebrow + h2:last-child { grid-column: 1 / -1; max-width: 18ch; }
.section-head p { max-width: 44ch; font-size: clamp(1.0625rem, 1.5vw, 1.3125rem); line-height: 1.6; color: var(--mute); }
@media (max-width: 860px) { .section-head { grid-template-columns: minmax(0, 1fr); } }

/* cells: hairline grid */
.cells { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.cells > * { background: var(--ink); padding: clamp(20px, 2.6vw, 32px); min-width: 0; }
.cells-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.cells-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cells-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stat strong { display: block; font-family: var(--display); font-variation-settings: "wdth" 125; font-weight: 850; letter-spacing: -0.04em; line-height: 0.9; font-size: clamp(2rem, 3.9vw, 3.875rem); color: var(--fg); font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat span { display: block; margin-top: 14px; font-size: 0.9375rem; color: var(--mute); }
.cell .num, .card .num { display: block; margin-bottom: 18px; font-family: var(--mono); font-size: 0.8125rem; color: var(--accent); }
.cell h3 { margin-bottom: 10px; }
.cell p { font-size: 0.9688rem; color: var(--mute); }
@media (max-width: 1023px) { .cells-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .cells-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cells-5, .cells-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cells-4 { grid-template-columns: minmax(0, 1fr); } .cells-5 > :last-child:nth-child(odd) { grid-column: 1 / -1; } }

/* cards */
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { position: relative; display: flex; flex-direction: column; gap: 12px; border: 1px solid var(--line); border-radius: 22px; background: var(--card); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: clamp(22px, 2.4vw, 32px); transition: border-color 0.25s, transform 0.4s var(--ease); }
.card h2 { font-family: var(--display); font-variation-settings: "wdth" 115; font-weight: 750; letter-spacing: -0.025em; line-height: 1.05; font-size: clamp(1.5rem, 2.4vw, 2rem); }
.card p { font-size: 0.9688rem; color: var(--mute); }
.card h2 a, .card h3 a { text-decoration: none; color: var(--fg); }
.card h2 a::after, .card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: 22px; }
.card:has(h2 a):hover, .card:has(h3 a):hover { border-color: var(--accent); transform: translateY(-4px); }
.card .more { margin-top: auto; padding-top: 12px; color: var(--soft); }
.card:hover .more { color: var(--accent); }
.card .more a { position: relative; z-index: 1; color: inherit; }
.icon { display: inline-grid; place-items: center; width: 48px; height: 48px; margin-bottom: 10px; border-radius: 14px; border: 1px solid var(--line); background: var(--ink); color: var(--accent); flex: none; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 5vw, 72px); align-items: start; }
.split.even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.split h2 { font-size: clamp(1.875rem, 3.4vw, 3rem); margin-bottom: 24px; }
.split > div > p { margin-bottom: 20px; }

/* lists */
.checks li { position: relative; padding: 16px 0 16px 36px; border-top: 1px solid var(--line); }
.checks li:last-child { border-bottom: 1px solid var(--line); }
.checks li::before { content: ""; position: absolute; left: 0; top: 1.25em; width: 20px; height: 20px; border-radius: 50%; background: var(--go) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23070B14' stroke-width='3.400' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat; }
.steps { counter-reset: step; }
.steps > li { counter-increment: step; position: relative; padding: 0 0 28px 60px; }
.steps > li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 0; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line2); background: var(--ink); color: var(--accent); font-family: var(--mono); font-size: 0.8125rem; }
.steps > li::after { content: ""; position: absolute; left: 19.5px; top: 46px; bottom: 6px; width: 1px; background: var(--line); }
.steps > li:last-child { padding-bottom: 0; }
.steps > li:last-child::after { display: none; }
.steps strong { display: block; padding-top: 6px; margin-bottom: 4px; font-size: 1.125rem; letter-spacing: -0.01em; }
.steps span { color: var(--mute); font-size: 0.9688rem; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); font-family: var(--mono); font-size: 0.8125rem; color: var(--soft); white-space: nowrap; }
.tag-group + .tag-group { margin-top: 26px; }
.tag-group h3 { margin-bottom: 12px; font-family: var(--mono); font-variation-settings: normal; font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mute); }

/* references */
.refs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.refs li { background: var(--ink); padding: clamp(18px, 2.2vw, 28px); transition: background-color 0.25s; }
.refs li:hover { background: var(--ink2); }
.refs strong { display: block; font-family: var(--display); font-variation-settings: "wdth" 115; font-weight: 750; letter-spacing: -0.025em; line-height: 1.1; font-size: clamp(1.25rem, 2vw, 1.75rem); }
.refs span { display: block; margin-top: 10px; font-family: var(--mono); font-size: 0.75rem; color: var(--mute); }
@media (max-width: 900px) { .refs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* role bars */
.bars { display: grid; gap: 20px; }
.bars li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 12px; align-items: baseline; font-family: var(--display); font-variation-settings: "wdth" 115; font-weight: 700; font-size: clamp(1.0625rem, 1.6vw, 1.375rem); letter-spacing: -0.02em; color: var(--fg); }
.bars b { font-family: var(--mono); font-size: 0.875rem; font-weight: 500; color: var(--mute); }
.bars .bar { grid-column: 1 / -1; height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; }
.bars .bar i { display: block; height: 100%; border-radius: 999px; background: var(--go); transform-origin: left; }
.reveal .bar i { transform: scaleX(0); }
.reveal.in .bar i { transform: none; transition: transform 1.2s var(--ease) 0.2s; }

/* product block and flow */
.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; border: 1px solid var(--line); border-radius: 24px; background: var(--card); backdrop-filter: blur(10px); padding: clamp(24px, 4vw, 56px); }
.product h2 { font-size: clamp(1.875rem, 3.4vw, 3rem); margin-bottom: 20px; }
.product p + p { margin-top: 14px; }
.product h3 { margin-bottom: 18px; }
.product .eyebrow, .product .eyebrow::before { color: var(--cyan); }
.product .eyebrow::before { background: var(--cyan); }
.flow { counter-reset: flow; }
.flow li { counter-increment: flow; display: grid; grid-template-columns: 40px 118px minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 16px 0; border-top: 1px solid var(--line); font-size: 0.9688rem; color: var(--mute); }
.flow li:last-child { border-bottom: 1px solid var(--line); }
.flow li::before { content: counter(flow, decimal-leading-zero); font-family: var(--mono); font-size: 0.8125rem; color: var(--cyan); }
.flow strong { font-family: var(--display); font-variation-settings: "wdth" 115; font-weight: 750; font-size: 1.125rem; letter-spacing: -0.02em; }
@media (max-width: 560px) { .flow li { grid-template-columns: 40px minmax(0, 1fr); } .flow li span { grid-column: 2; } }

/* the one cream band */
.band { background-color: var(--band); background-image: radial-gradient(color-mix(in srgb, var(--band-ink) 14%, transparent) 1.2px, transparent 1.4px); background-size: 22px 22px; color: var(--band-mute); border-top: 0; }
.band h2, .band h3, .band strong { color: var(--band-ink); }
.band .eyebrow { color: var(--band-ink); }
.band .eyebrow::before { background: var(--cyan); }
.band .lead { color: var(--band-mute); }
.band .flow li { border-color: var(--band-line); color: var(--band-mute); }
.band .flow li::before { color: var(--band-ink); }
.band .btn-solid { background: var(--band-ink); color: var(--band); }
.band .btn-solid:hover { box-shadow: 0 0 0 5px color-mix(in srgb, var(--band-ink) 16%, transparent); }
.band .btn-outline { color: var(--band-ink); box-shadow: inset 0 0 0 1px var(--band-ink); }
.band a:not(.btn) { color: var(--band-ink); }

/* tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 22px; background: var(--card); }
.facts { width: 100%; border-collapse: collapse; font-size: 0.9688rem; }
.facts th, .facts td { text-align: left; vertical-align: top; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.facts tr:last-child th, .facts tr:last-child td { border-bottom: 0; }
.facts th { width: 40%; font-family: var(--mono); font-size: 0.8125rem; font-weight: 500; color: var(--mute); }
.facts td { color: var(--fg); font-weight: 500; }

/* faq */
.faq { max-width: 880px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-family: var(--display); font-variation-settings: "wdth" 115; font-weight: 750; font-size: clamp(1.125rem, 1.7vw, 1.5rem); letter-spacing: -0.02em; color: var(--fg); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line2); font-family: var(--sans); font-weight: 400; font-size: 1.25rem; line-height: 1; color: var(--mute); transition: transform 0.3s var(--ease), border-color 0.2s, color 0.2s; }
.faq summary:hover::after { border-color: var(--accent); color: var(--accent); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 60px 26px 0; color: var(--mute); max-width: 62ch; }

/* contact */
.contact-list li { padding: 22px 0; border-top: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 1px solid var(--line); }
.contact-list .icon { display: none; }
.contact-list span { display: block; margin-bottom: 8px; font-family: var(--mono); font-size: 0.8125rem; color: var(--mute); }
.contact-list a, .contact-list b { font-family: var(--display); font-variation-settings: "wdth" 115; font-weight: 750; font-size: clamp(1.25rem, 2.6vw, 2rem); letter-spacing: -0.025em; line-height: 1.2; overflow-wrap: anywhere; text-decoration-color: transparent; }
.contact-list a:hover { text-decoration-color: var(--accent); }
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 0.875rem; font-weight: 600; color: var(--soft); }
.field input, .field textarea { width: 100%; min-height: 52px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--ink); color: var(--fg); font: inherit; font-size: 1rem; transition: border-color 0.2s, box-shadow 0.2s; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.form .btn { justify-self: start; margin-top: 4px; }
.form-note { font-size: 0.875rem; color: var(--mute); }
.form-status { font-size: 0.9375rem; color: var(--go); }
.form-status:empty { display: none; }

/* closing call to action */
.cta-band { position: relative; isolation: isolate; border-top: 1px solid var(--line); padding-block: clamp(88px, 11vw, 180px); overflow: hidden; }
.cta-band::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(50% 80% at 85% 100%, var(--accent-glow), transparent 70%); }
.cta-band .eyebrow { margin-bottom: 26px; }
.cta-band h2 { font-weight: 850; line-height: 0.88; font-size: clamp(2.75rem, 9vw, 9rem); max-width: 12ch; }
.cta-band p { margin-top: 28px; font-size: clamp(1.0625rem, 1.5vw, 1.3125rem); color: var(--mute); }
.cta-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px; }

/* footer */
.site-footer { background: var(--ink); border-top: 1px solid var(--line); color: var(--mute); font-size: 0.9375rem; }
.site-footer a { color: var(--soft); text-decoration: none; }
.site-footer a:hover { color: var(--fg); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(4, minmax(0, 1fr)); gap: 40px 32px; padding-block: 64px 56px; }
.footer-brand { font-family: var(--display); font-variation-settings: "wdth" 115; font-weight: 750; font-size: 1.375rem; letter-spacing: -0.025em; color: var(--fg); }
.footer-about p + p { margin-top: 12px; max-width: 30ch; }
.site-footer h2 { margin-bottom: 16px; font-family: var(--mono); font-variation-settings: normal; font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.06em; line-height: 1.6; text-transform: uppercase; color: var(--mute); }
.site-footer li a, .site-footer address a { display: inline-block; padding: 6px 0; }
.site-footer address { line-height: 1.5; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 22px 32px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 0.75rem; }
@media (max-width: 1023px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-about { grid-column: 1 / -1; } }

@media (max-width: 1023px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .split.even, .product { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
  .hero-foot .actions, .hero-foot .actions .btn, .actions .btn, .cta-row .btn { width: 100%; }
  .faq details p { padding-right: 0; }
}
/* ───────── motion layer ───────── */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; background: linear-gradient(90deg, var(--accent), var(--amber)); transform: scaleX(0); transform-origin: left; pointer-events: none; }

/* reference marquee */
.marquee-label { margin-bottom: 14px; font-family: var(--mono); font-size: 0.8125rem; color: var(--mute); }
.marquees { border-block: 1px solid var(--line); padding-block: clamp(14px, 2vw, 26px); background: color-mix(in srgb, var(--ink) 60%, transparent); backdrop-filter: blur(6px); overflow: hidden; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: slide 38s linear infinite; }
.marquee.rev .marquee-track { animation-direction: reverse; animation-duration: 46s; }
.marquees:hover .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; flex: none; }
.marquee li { display: flex; align-items: center; white-space: nowrap; font-family: var(--display); font-variation-settings: "wdth" 125; font-weight: 800; letter-spacing: -0.035em; line-height: 1.15; font-size: clamp(2rem, 5.6vw, 5rem); color: var(--fg); }
.marquee li::after { content: ""; width: 0.2em; height: 0.2em; margin-inline: 0.5em; border-radius: 50%; background: var(--accent); }
.marquee.rev li { color: transparent; -webkit-text-stroke: 1.2px var(--line2); }
.marquee.rev li::after { background: var(--amber); }
@keyframes slide { to { transform: translateX(-50%); } }

/* statement that lights up word by word while scrolling */
.statement { max-width: 22ch; margin-bottom: clamp(48px, 6vw, 88px); font-family: var(--display); font-variation-settings: "wdth" 115; font-weight: 750; letter-spacing: -0.03em; line-height: 1.05; font-size: clamp(2rem, 5.2vw, 4.75rem); color: var(--fg); text-wrap: balance; }
.statement .w { opacity: 0.16; transition: opacity 0.35s linear; }
.statement .w.on { opacity: 1; }

/* service rows */
.rows { border-bottom: 1px solid var(--line); counter-reset: row; }
.rows li { counter-increment: row; border-top: 1px solid var(--line); }
.rows a { position: relative; isolation: isolate; display: grid; grid-template-columns: 72px minmax(0, 6fr) minmax(0, 5fr) 48px; gap: 8px 28px; align-items: center; padding: clamp(22px, 2.8vw, 38px) 0; text-decoration: none; color: var(--mute); transition: padding 0.5s var(--ease), color 0.3s; }
.rows a::before { content: counter(row, decimal-leading-zero); font-family: var(--mono); font-size: 0.875rem; color: var(--accent); }
.rows a::after { content: ""; position: absolute; z-index: -1; inset: 0 calc(clamp(16px, 3.2vw, 40px) * -1); background: linear-gradient(90deg, var(--accent-glow), transparent 70%); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease); }
.rows h3 { font-family: var(--display); font-variation-settings: "wdth" 125; font-weight: 800; letter-spacing: -0.032em; line-height: 1; font-size: clamp(1.5rem, 3.6vw, 3.25rem); transition: color 0.3s, transform 0.5s var(--ease); }
.rows p { font-size: 1rem; }
.rows .arr { width: 40px; height: 40px; padding: 10px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line2); color: var(--fg); transition: transform 0.5s var(--ease), background-color 0.3s, color 0.3s, box-shadow 0.3s; }
.rows a:hover, .rows a:focus-visible { padding-left: 16px; color: var(--soft); }
.rows a:hover::after, .rows a:focus-visible::after { transform: none; }
.rows a:hover h3, .rows a:focus-visible h3 { color: var(--accent); }
.rows a:hover .arr, .rows a:focus-visible .arr { transform: rotate(-45deg); background: var(--amber); color: #0A0F1A; box-shadow: none; }
@media (max-width: 760px) { .rows a { grid-template-columns: 40px minmax(0, 1fr) 40px; } .rows p { grid-column: 2; grid-row: 2; } .rows a:hover { padding-left: 0; } }

/* cards: light that follows the pointer */
.card { overflow: hidden; }
.card::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.35s; background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), var(--accent-glow), transparent 65%); }
.card:hover::before { opacity: 1; }

/* SmartestQA flow that steps through itself */
.flow[data-cycle] li { position: relative; padding-left: 14px; transition: background-color 0.5s, color 0.5s; }
.flow[data-cycle] li::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--cyan); transform: scaleY(0); transform-origin: top; transition: transform 0.5s var(--ease); }
.flow[data-cycle] li.is-on { background: color-mix(in srgb, var(--cyan) 12%, transparent); }
.flow[data-cycle] li.is-on::after { transform: none; }
.band .flow[data-cycle] li.is-on { color: var(--band-ink); }

/* hero glow drifts on its own */
.hero::before, .page-head::before { animation: drift 16s ease-in-out infinite alternate; }
@keyframes drift { from { transform: translate3d(-3%, -2%, 0) scale(1); } to { transform: translate3d(4%, 3%, 0) scale(1.120); } }
.status::before { animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px color-mix(in srgb, var(--go) 0%, transparent); } }
.cta-band .btn-primary { animation: nudge 3.2s var(--ease) infinite; }
@keyframes nudge { 0%, 70%, 100% { box-shadow: 0 0 0 0 rgba(255, 197, 61, 0.45); } 85% { box-shadow: 0 0 0 14px rgba(255, 197, 61, 0); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .ch, .js .rise, .reveal { opacity: 1; transform: none; filter: none; }
  .statement .w { opacity: 1; }
  .marquee-track { width: auto; flex-wrap: wrap; }
  .marquee ul { flex-wrap: wrap; }
  .marquee ul[aria-hidden="true"] { display: none; }
  .progress { display: none; }
}
@media print {
  #sky, .site-header, .site-footer, .cta-band, .skip { display: none; }
  .ch, .js .rise, .reveal { opacity: 1; transform: none; filter: none; }
}
