/* =========================================================
   HeyQurie — site.css
   Trust first: high contrast, generous type, one accent.
   Ink actions, cobalt for anything "live", green/amber/red
   only for system states. Everything self-hosted.
   ========================================================= */

:root {
  --bg: #ffffff;
  --bg-2: #f7f7f5;
  --ink: #0a0a0b;
  --ink-2: #1c1c1f;
  --text: #3f3f46;
  --muted: #6b6b75;
  --line: #e6e6e3;
  --line-2: #efefec;
  --accent: #3358ff;
  --accent-ink: #2340d9;
  --accent-soft: #eef1ff;
  --ok: #16a34a;
  --ok-soft: #f0fdf4;
  --warn: #c2700a;
  --warn-soft: #fff7ed;
  --bad: #dc2626;

  --f: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --f-serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --f-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;

  --r: 18px;
  --r-sm: 10px;
  --shadow: 0 1px 2px rgba(10, 10, 11, .04), 0 10px 30px -16px rgba(10, 10, 11, .18);
  --shadow-lg: 0 2px 6px rgba(10, 10, 11, .04), 0 40px 80px -40px rgba(10, 10, 11, .35);
  --wrap: 1180px;
  --gut: clamp(20px, 4vw, 40px);
  --hdr: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 12px); -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--f); font-optical-sizing: auto; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
[hidden] { display: none !important; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gut)); margin-inline: auto; }
.mono { font-family: var(--f-mono); }
.dim { color: var(--muted); opacity: .8; }
.mini { font: 600 12px/1.3 var(--f); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* ---------- type ---------- */
h1, h2, h3 { color: var(--ink); font-weight: 600; letter-spacing: -.025em; line-height: 1.1; }
h1 em, h2 em { font-family: var(--f-serif); font-style: italic; font-weight: 600; letter-spacing: -.015em; }
.h2 { font-size: clamp(32px, 4.2vw, 52px); line-height: 1.06; letter-spacing: -.035em; text-wrap: balance; }
.eyebrow { font: 600 12px/1 var(--f); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.eyebrow--light { color: #a1a1aa; }
.sec__sub { margin-top: 18px; max-width: 54ch; font-size: 18px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 18px; border-radius: 999px; border: 1px solid transparent; font: 500 15px/1 var(--f); text-decoration: none; white-space: nowrap; transition: transform .15s var(--ease), background-color .2s, border-color .2s, box-shadow .2s, color .2s; }
.btn > span[aria-hidden] { transition: transform .2s var(--ease); }
.btn:hover > span[aria-hidden] { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--dark { background: var(--ink); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 8px 20px -10px rgba(10, 10, 11, .55); }
.btn--dark:hover { background: #26262a; }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: #c9c9c5; background: var(--bg-2); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #e9e9e6; }
.btn--ghost-light { color: #fff; border-color: rgba(255, 255, 255, .22); }
.btn--ghost-light:hover { border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .06); }
.btn--lg { padding: 16px 24px; font-size: 16px; }
.btn--sm { padding: 10px 15px; font-size: 14px; }

.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--muted); font: 500 12px/1.4 var(--f); white-space: nowrap; }
.pill--live { color: var(--ok); border-color: #bbf7d0; background: var(--ok-soft); }
.pill--live i { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); animation: pulse 1.6s ease-out infinite; }
.pill--dark { background: transparent; border-color: #2c2c32; color: #8b8b95; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, .5); } 100% { box-shadow: 0 0 0 7px rgba(22, 163, 74, 0); } }

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 6px 11px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 13.5px; color: var(--text); }
.tags--sm li { padding: 3px 9px; font-size: 12.5px; color: var(--muted); }
.checks li { position: relative; padding-left: 28px; margin-bottom: 10px; color: var(--ink-2); font-size: 16px; }
.checks li::before { content: ''; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.5l2.2 2.2 4.8-5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- header ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--hdr); transition: background-color .25s, box-shadow .25s, backdrop-filter .25s; }
.hdr.is-solid { background: rgba(255, 255, 255, .85); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); box-shadow: 0 1px 0 var(--line); }
.hdr__in { width: min(1240px, 100% - 2 * var(--gut)); height: 100%; margin-inline: auto; display: flex; align-items: center; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 650; font-size: 18px; letter-spacing: -.02em; white-space: nowrap; }
.logo__mark { width: 26px; height: 26px; }
.logo__node { fill: var(--accent); }
.nav { display: flex; gap: 6px; margin-left: 12px; }
.nav a { padding: 8px 12px; border-radius: 999px; text-decoration: none; font-size: 15px; color: var(--text); transition: background-color .2s, color .2s; }
.nav a:hover, .nav a.is-on { color: var(--ink); background: var(--bg-2); }
.nav__contact { display: none; }
.hdr__cta { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.hdr__link { text-decoration: none; font-size: 15px; color: var(--ink); }
.hdr__link:hover { text-decoration: underline; text-underline-offset: 4px; }
.burger { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: #fff; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.burger span { width: 16px; height: 1.6px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease); }
.hdr.is-open .burger span:first-child { transform: translateY(3.3px) rotate(45deg); }
.hdr.is-open .burger span:last-child { transform: translateY(-3.3px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; padding: calc(var(--hdr) + clamp(48px, 7vw, 96px)) 0 clamp(56px, 7vw, 88px); overflow: hidden; text-align: center; }
.hero__grid { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--line-2) 1px, transparent 1px), linear-gradient(90deg, var(--line-2) 1px, transparent 1px); background-size: 64px 64px; background-position: center top; -webkit-mask-image: radial-gradient(ellipse 75% 55% at 50% 22%, #000 25%, transparent 78%); mask-image: radial-gradient(ellipse 75% 55% at 50% 22%, #000 25%, transparent 78%); }
.hero__in { display: flex; flex-direction: column; align-items: center; }
.eyebrow-pill { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 12px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .8); font-size: 14px; color: var(--ink-2); box-shadow: 0 1px 2px rgba(10, 10, 11, .04); }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(51, 88, 255, .45); animation: pulseB 1.8s ease-out infinite; }
@keyframes pulseB { to { box-shadow: 0 0 0 8px rgba(51, 88, 255, 0); } }
.hero__title { margin-top: 26px; max-width: 980px; font-size: clamp(42px, 6.7vw, 88px); line-height: 1.02; letter-spacing: -.045em; text-wrap: balance; }
.hero__title em { letter-spacing: -.03em; }
.hero__lede { margin-top: 26px; max-width: 680px; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.hero__cta { margin-top: 36px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hero__micro { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--muted); }
.hero__micro svg { width: 16px; height: 16px; color: var(--ok); flex: none; }

/* console */
.console { margin: clamp(48px, 6vw, 72px) auto 0; max-width: 1080px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg); overflow: hidden; text-align: left; }
.console__bar { display: flex; align-items: center; gap: 10px; padding: 11px 16px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.console__dots { display: flex; gap: 6px; }
.console__dots i { width: 10px; height: 10px; border-radius: 50%; background: #dcdcd8; }
.console__title { flex: 1; font: 500 13px var(--f-mono); color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.console__body { display: grid; grid-template-columns: 1fr 1.35fr 1fr; min-height: 344px; }
.console__col { padding: 18px; border-right: 1px solid var(--line); min-width: 0; }
.console__col:last-child { border-right: 0; }
.console__col--pipe { background: linear-gradient(180deg, #fff, #fbfbfa); }
.console__h { display: flex; align-items: center; gap: 6px; margin-bottom: 14px; font: 600 11.5px/1 var(--f); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.console__h .mono { letter-spacing: 0; text-transform: none; color: var(--accent-ink); font-size: 12.5px; }
.count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 11px; letter-spacing: 0; }
.console__note { margin-top: 14px; font-size: 13px; color: var(--muted); }
.console__note b { font-family: var(--f-mono); font-weight: 600; color: var(--ink-2); }

.queue li { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 9px 11px; margin-bottom: 6px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-size: 13px; line-height: 1.35; transition: border-color .25s, background-color .25s, opacity .35s, transform .35s var(--ease); }
.queue li .q-id { font: 500 12px var(--f-mono); color: var(--ink); }
.queue li .q-amt { font: 500 12px var(--f-mono); color: var(--ink-2); text-align: right; }
.queue li .q-v { grid-column: 1 / -1; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.queue li.is-active { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 3px rgba(51, 88, 255, .08); }
.queue li.is-gone { opacity: 0; transform: translateX(14px); }

.pipe li { display: grid; grid-template-columns: 22px 1fr; gap: 0 10px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.pipe li:last-child { border-bottom: 0; }
.pipe li b { font-weight: 500; font-size: 14.5px; color: var(--ink-2); }
.pipe__d { grid-column: 2; min-height: 18px; font: 12px/1.5 var(--f-mono); color: var(--muted); }
.st { position: relative; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; border: 1.5px solid #d4d4d0; background: #fff; }
.pipe li.is-run .st { border-color: var(--accent); border-right-color: transparent; animation: spin .7s linear infinite; }
.pipe li.is-run b { color: var(--accent-ink); }
.pipe li.is-ok .st { border-color: var(--ok); background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.5l2.2 2.2 4.8-5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; }
.pipe li.is-warn .st { border-color: var(--warn); background: var(--warn); }
.pipe li.is-warn .st::after { content: '!'; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font: 700 11px/1 var(--f); }
.pipe li.is-warn .pipe__d { color: var(--warn); }
.pipe li.is-ok .pipe__d { color: var(--text); }
@keyframes spin { to { transform: rotate(360deg); } }

.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.kpis div { padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-2); }
.kpis b { display: block; font: 600 24px/1.1 var(--f); color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.kpis span { font-size: 11.5px; color: var(--muted); }
.outlog li { display: flex; align-items: center; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--line-2); font-size: 13px; animation: logIn .45s var(--ease); }
.outlog .badge { flex: none; padding: 2px 8px; border-radius: 999px; font: 600 11px/1.5 var(--f); }
.badge--ok { background: var(--ok-soft); color: var(--ok); }
.badge--hum { background: var(--warn-soft); color: var(--warn); }
.outlog .o-id { font: 500 12px var(--f-mono); color: var(--ink-2); }
.outlog .o-v { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@keyframes logIn { from { opacity: 0; transform: translateY(-6px); } }

.trustline { margin-top: 36px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.trustline p { font-size: 14px; color: var(--muted); }
.trustline b { color: var(--ink-2); font-weight: 600; }
.trustline ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; }
.trustline li { font-weight: 600; font-size: 15px; letter-spacing: -.01em; color: #9a9aa2; }
.trustline a { text-decoration: none; transition: color .2s; }
.trustline a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- facts ---------- */
.facts { border-block: 1px solid var(--line); background: #fff; }
.facts__in { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 30px 26px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact b { display: block; font-size: clamp(28px, 3vw, 38px); font-weight: 600; letter-spacing: -.035em; color: var(--ink); line-height: 1.1; }
.fact span { display: block; margin-top: 6px; font-size: 15px; color: var(--muted); line-height: 1.45; }

/* ---------- sections ---------- */
.sec { padding: clamp(80px, 10vw, 128px) 0; position: relative; }
.sec--alt { background: var(--bg-2); }
.sec--ink { background: var(--ink); color: #a1a1aa; }
.sec--ink h2, .sec--ink h3 { color: #fff; }
.sec--ink .sec__sub { color: #a1a1aa; }
.sec__head { margin-bottom: clamp(40px, 5vw, 64px); }
.sec__head--split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px 64px; align-items: end; }
.sec__head--split .sec__sub { margin-top: 0; margin-bottom: 18px; }
.sec__head--center { text-align: center; }
.sec__head--center .sec__sub { margin-inline: auto; }

/* ---------- services ---------- */
.svc { display: grid; grid-template-columns: 300px 1fr; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.svc__tabs { display: flex; flex-direction: column; padding: 10px; background: var(--bg-2); border-right: 1px solid var(--line); }
.svc__tab { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px 16px; border-radius: 12px; text-align: left; font-size: 16px; font-weight: 500; color: var(--text); transition: background-color .2s, color .2s; }
.svc__tab:hover { color: var(--ink); background: rgba(10, 10, 11, .03); }
.svc__tab[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(10, 10, 11, .06), 0 0 0 1px var(--line); }
.svc__tab[aria-selected="true"]::before { content: ''; position: absolute; left: -10px; top: 14px; bottom: 14px; width: 3px; border-radius: 0 3px 3px 0; background: var(--accent); }
.svc__n { font: 500 12px var(--f-mono); color: var(--muted); }
.svc__panels { padding: clamp(28px, 3.5vw, 44px); min-height: 400px; }
.svc__panel h3 { font-size: clamp(26px, 2.6vw, 32px); letter-spacing: -.03em; }
.svc__panel[hidden] { display: none; }
.svc__panel:not([hidden]) { animation: panelIn .35s var(--ease); }
.svc__more { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line-2); font-size: 15px; color: var(--muted); }
.svc__more a { color: var(--ink); font-weight: 500; text-underline-offset: 3px; }
.svc__more a:hover { color: var(--accent-ink); }
@keyframes panelIn { from { opacity: 0; transform: translateY(6px); } }
.svc__lead { margin-top: 12px; max-width: 58ch; font-size: 18px; color: var(--muted); }
.svc__cols { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; margin-top: 30px; }
.svc__cols .mini { margin-bottom: 14px; }
.svc__cta { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px 28px; flex-wrap: wrap; padding: 22px clamp(20px, 3vw, 32px); background: var(--ink); color: #a1a1aa; font-size: 15.5px; }
.svc__cta-h { color: #fff; font-weight: 600; font-size: 17px; }
.svc__cta p:nth-child(2) { flex: 1; min-width: 260px; }

/* ---------- ROI ---------- */
.roi { display: grid; grid-template-columns: 1.1fr .9fr; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow); overflow: hidden; max-width: 1080px; margin-inline: auto; }
.roi__in { padding: clamp(24px, 3.5vw, 40px); display: grid; gap: 26px; align-content: center; }
.roi__label { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.roi__label label { flex: 1; font-size: 15.5px; font-weight: 500; color: var(--ink-2); }
.roi__label output { font: 600 15px var(--f-mono); color: var(--ink); min-width: 56px; text-align: right; font-variant-numeric: tabular-nums; }
.roi__hint { margin-top: 8px; font-size: 13.5px; color: var(--muted); }
.seg { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); }
.seg button { width: 30px; height: 26px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted); }
.seg button[aria-checked="true"] { background: var(--ink); color: #fff; }
input[type="range"] { --p: 50%; -webkit-appearance: none; appearance: none; width: 100%; height: 26px; background: transparent; cursor: pointer; }
input[type="range"]:focus-visible { outline: none; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 999px; background: linear-gradient(to right, var(--ink) var(--p), var(--line) var(--p)); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -8px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); box-shadow: 0 2px 8px rgba(10, 10, 11, .18); transition: transform .15s; }
input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(51, 88, 255, .3); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.12); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 999px; background: var(--line); }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 999px; background: var(--ink); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); }
.roi__out { padding: clamp(24px, 3.5vw, 40px); background: var(--ink); color: #a1a1aa; display: flex; flex-direction: column; gap: 22px; }
.roi__out .mini { color: #8b8b95; }
.roi__num { margin-top: 8px; font-size: clamp(44px, 5.2vw, 64px); font-weight: 600; line-height: 1; letter-spacing: -.045em; color: #fff; font-variant-numeric: tabular-nums; }
.roi__sub { margin-top: 12px; font-size: 15.5px; }
.roi__sub span { color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }
.roi__bar { height: 10px; border-radius: 999px; background: #26262b; overflow: hidden; }
.roi__bar i { display: block; height: 100%; width: 40%; border-radius: 999px; background: var(--accent); transition: width .5s var(--ease); }
.roi__dl { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding-top: 18px; border-top: 1px solid #26262b; }
.roi__dl dt { font-size: 13px; color: #8b8b95; }
.roi__dl dd { margin-top: 4px; font-size: 18px; font-weight: 600; color: #e4e4e7; font-variant-numeric: tabular-nums; }
.roi__out .btn--dark { background: #fff; color: var(--ink); box-shadow: none; }
.roi__out .btn--dark:hover { background: #e9e9e6; }
.roi__fine { margin-top: auto; font-size: 12.5px; line-height: 1.5; color: #75757f; }

/* ---------- process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: s; }
.step { position: relative; display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; transition: border-color .25s, box-shadow .25s, transform .25s var(--ease); }
.step:hover { border-color: #cfcfcb; box-shadow: var(--shadow); transform: translateY(-2px); }
.step::after { content: ''; position: absolute; top: 37px; right: -15px; width: 16px; height: 1px; background: var(--line); }
.step:last-child::after { display: none; }
.steps--5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1240px) { .steps--5 { grid-template-columns: repeat(3, 1fr); } .steps--5 .step::after { display: none; } }
.step__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.step__n { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--ink); color: #fff; font: 600 12px var(--f-mono); }
.step__when { font: 500 12.5px var(--f-mono); color: var(--accent-ink); background: var(--accent-soft); padding: 3px 9px; border-radius: 999px; }
.step h3 { font-size: 22px; letter-spacing: -.02em; }
.step > p { margin-top: 10px; font-size: 15.5px; line-height: 1.55; }
.step__get { margin-top: 16px !important; padding-top: 14px; border-top: 1px dashed var(--line); color: var(--ink-2); }
.step__get span { display: block; margin-bottom: 2px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.step__price { margin-top: auto !important; padding-top: 16px; font-weight: 600; font-size: 14.5px; color: var(--ink); }

.compare { margin-top: 56px; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #fff; }
.compare__head, .compare__row { display: grid; grid-template-columns: .55fr 1fr 1.15fr; }
.compare__head span { padding: 14px 22px; font: 600 12px var(--f); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--bg-2); border-bottom: 1px solid var(--line); }
.compare__head span:last-child { color: var(--ink); }
.compare__row span { padding: 16px 22px; border-top: 1px solid var(--line-2); font-size: 15.5px; }
.compare__row:first-of-type span { border-top: 0; }
.compare__row span:first-child { font-weight: 600; color: var(--ink-2); }
.compare__row span:nth-child(2) { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(107, 107, 117, .45); }
.compare__row span:nth-child(3) { color: var(--ink); font-weight: 500; background: linear-gradient(90deg, var(--accent-soft), transparent 70%); }

/* ---------- quality / release gate ---------- */
.quality { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.principles { margin-top: 32px; display: grid; gap: 16px; }
.principles li { position: relative; padding-left: 22px; font-size: 16px; line-height: 1.55; }
.principles li::before { content: ''; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }
.principles b { color: #fff; font-weight: 600; }
.gate { border: 1px solid #26262b; border-radius: var(--r); background: #111113; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); }
.gate__bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid #26262b; font-size: 13px; color: #d4d4d8; }
.gate__ver { display: flex; align-items: center; gap: 10px; padding: 16px 18px 6px; font-size: 14px; }
.gate__ver .mono { color: #fff; font-weight: 600; }
.gate__status { margin-left: auto; padding: 3px 10px; border-radius: 999px; font: 600 12px var(--f); background: #1f1f23; color: #a1a1aa; }
.gate__status.is-run { color: #c7d2fe; background: rgba(51, 88, 255, .18); }
.gate__status.is-pass { color: #86efac; background: rgba(22, 163, 74, .18); }
.gate__status.is-fail { color: #fca5a5; background: rgba(220, 38, 38, .2); }
.gate__list { padding: 6px 18px 4px; }
.gate__list li { display: grid; grid-template-columns: 20px 1fr auto auto; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid #1f1f23; font-size: 14px; }
.gate__list li:last-child { border-bottom: 0; }
.gate__list .g-name { color: #e4e4e7; }
.gate__list .g-name small { display: block; font-size: 12px; color: #75757f; }
.gate__list .g-val { font: 500 13px var(--f-mono); color: #e4e4e7; font-variant-numeric: tabular-nums; }
.gate__list .g-th { font: 12px var(--f-mono); color: #75757f; min-width: 64px; text-align: right; }
.gate__list .st { border-color: #3a3a40; background: transparent; }
.gate__list li.is-run .st { border-color: var(--accent); border-right-color: transparent; animation: spin .7s linear infinite; }
.gate__list li.is-ok .st { border-color: var(--ok); background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.5l2.2 2.2 4.8-5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; }
.gate__list li.is-bad .st { border-color: var(--bad); background: var(--bad); }
.gate__list li.is-bad .st::after { content: '×'; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font: 700 13px/1 var(--f); }
.gate__list li.is-bad .g-val { color: #fca5a5; }
.gate__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 18px; border-top: 1px solid #26262b; background: #0d0d0f; }
.gate__banner { padding: 0 18px; max-height: 0; overflow: hidden; font-size: 14px; transition: max-height .35s var(--ease), padding .35s var(--ease); }
.gate__banner.is-on { max-height: 80px; padding: 14px 18px; }
.gate__banner.is-pass { background: rgba(22, 163, 74, .12); color: #86efac; }
.gate__banner.is-fail { background: rgba(220, 38, 38, .14); color: #fca5a5; }
.switch { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: #d4d4d8; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch__ui { position: relative; width: 38px; height: 22px; border-radius: 999px; background: #2c2c32; transition: background-color .2s; }
.switch__ui::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s var(--ease); }
.switch input:checked + .switch__ui { background: var(--bad); }
.switch input:checked + .switch__ui::after { transform: translateX(16px); }
.switch input:focus-visible + .switch__ui { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- trust cards ---------- */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tcard { padding: 28px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; transition: border-color .25s, box-shadow .25s; }
.tcard:hover { border-color: #cfcfcb; box-shadow: var(--shadow); }
.tcard__ic { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 18px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); }
.tcard__ic svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tcard h3 { font-size: 19px; letter-spacing: -.015em; }
.tcard p { margin-top: 8px; font-size: 15.5px; line-height: 1.55; }

/* ---------- example projects ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 14px; font-weight: 500; color: var(--text); transition: background-color .2s, color .2s, border-color .2s; }
.chip:hover { border-color: #c9c9c5; color: var(--ink); }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.work { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.wcard { display: flex; flex-direction: column; padding: 26px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; transition: border-color .25s, box-shadow .25s, transform .25s var(--ease), opacity .3s; }
.wcard:hover { border-color: #cfcfcb; box-shadow: var(--shadow); transform: translateY(-2px); }
.wcard.is-hidden { display: none; }
.wcard__sec { font: 600 11.5px var(--f); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.wcard h3 { margin-top: 10px; font-size: 22px; letter-spacing: -.02em; }
.wcard > p:not(.wcard__sec) { margin-top: 10px; font-size: 15.5px; line-height: 1.55; flex: 1; }
.wcard .tags { margin-top: 20px; }
.wcard--cta { border-style: dashed; background: transparent; }
.wcard--cta .btn { margin-top: 20px; align-self: flex-start; }

/* ---------- time zones ---------- */
.tz { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.tz__copy .btn { margin-top: 28px; }
.tzw { padding: clamp(20px, 3vw, 30px); border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow); }
.tzw__cities { display: flex; flex-wrap: wrap; gap: 6px; }
.tzw__cities button { padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 13.5px; color: var(--text); transition: background-color .2s, color .2s, border-color .2s; }
.tzw__cities button:hover { border-color: #c9c9c5; color: var(--ink); }
.tzw__cities button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.tzw__clocks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 22px 0 20px; }
.tzw__clocks > div { padding: 14px 16px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); }
.tzw__time { margin-top: 4px; font: 600 30px/1.1 var(--f-mono); letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.tzw__zone { margin-top: 2px; font-size: 13px; color: var(--muted); }
.tzw__track { position: relative; height: 46px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); overflow: hidden; }
.tzw__track .seg-w, .tzw__track .seg-c, .tzw__track .seg-o { position: absolute; top: 0; bottom: 0; }
.tzw__track .seg-w { background: repeating-linear-gradient(135deg, #e4e4e0 0 6px, #ededea 6px 12px); }
.tzw__track .seg-c { top: 9px; bottom: 9px; border-radius: 6px; background: rgba(51, 88, 255, .18); box-shadow: inset 0 0 0 1px rgba(51, 88, 255, .45); }
.tzw__track .seg-o { top: 9px; bottom: 9px; border-radius: 6px; background: var(--accent); }
.tzw__now { position: absolute; top: -2px; bottom: -2px; width: 2px; margin-left: -1px; background: var(--bad); z-index: 2; }
.tzw__now::after { content: 'now'; position: absolute; top: 2px; left: 5px; font: 600 10px var(--f-mono); color: var(--bad); }
.tzw__axis { display: flex; justify-content: space-between; margin-top: 6px; font: 11px var(--f-mono); color: var(--muted); }
.tzw__legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px; font-size: 13px; color: var(--muted); }
.tzw__legend span { display: inline-flex; align-items: center; gap: 7px; }
.lg { width: 14px; height: 10px; border-radius: 3px; display: inline-block; }
.lg--work { background: repeating-linear-gradient(135deg, #d4d4d0 0 3px, #ededea 3px 6px); }
.lg--calls { background: var(--accent); }
.tzw__out { margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: var(--accent-soft); color: var(--ink-2); font-size: 15.5px; }
.tzw__out b { color: var(--accent-ink); font-variant-numeric: tabular-nums; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq__head { position: sticky; top: calc(var(--hdr) + 24px); }
.qa { border-bottom: 1px solid var(--line); }
.qa:first-child { border-top: 1px solid var(--line); }
.qa summary { position: relative; list-style: none; cursor: pointer; padding: 22px 48px 22px 0; font-size: 18px; font-weight: 500; color: var(--ink); letter-spacing: -.01em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::before, .qa summary::after { content: ''; position: absolute; right: 8px; top: 50%; width: 14px; height: 1.6px; background: var(--ink); transition: transform .25s var(--ease); }
.qa summary::after { transform: rotate(90deg); }
.qa[open] summary::after { transform: rotate(0); }
.qa summary:hover { color: var(--accent-ink); }
.qa p { padding: 0 48px 24px 0; font-size: 16.5px; line-height: 1.65; max-width: 64ch; }

/* ---------- audit ---------- */
.audit { overflow: hidden; }
.audit__grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(ellipse 80% 70% at 30% 40%, #000 30%, transparent 80%); mask-image: radial-gradient(ellipse 80% 70% at 30% 40%, #000 30%, transparent 80%); pointer-events: none; }
.audit__in { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.audit__list { margin-top: 30px; display: grid; gap: 12px; }
.audit__list li { position: relative; padding-left: 30px; color: #d4d4d8; font-size: 16.5px; }
.audit__list li::before { content: ''; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.5l2.2 2.2 4.8-5' fill='none' stroke='%230a0a0b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.audit__direct { margin-top: 36px; padding-top: 24px; border-top: 1px solid #26262b; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 22px; }
.audit__direct .mini { width: 100%; color: #75757f; }
.audit__direct a { color: #fff; font-weight: 500; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .3); text-underline-offset: 5px; }
.audit__direct a:hover { text-decoration-color: #fff; }

.aform { padding: clamp(22px, 3vw, 32px); border: 1px solid #2a2a30; border-radius: 22px; background: #121214; color: #d4d4d8; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9); }
.aform__top { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.aform__step { font: 500 12.5px var(--f-mono); color: #8b8b95; white-space: nowrap; }
.aform__prog { flex: 1; height: 4px; border-radius: 99px; background: #26262b; overflow: hidden; }
.aform__prog i { display: block; height: 100%; width: 33.3%; background: var(--accent); border-radius: 99px; transition: width .4s var(--ease); }
.aform__pane { display: none; }
.aform__pane.is-on { display: block; animation: panelIn .35s var(--ease); }
.aform legend { font-size: 22px; font-weight: 600; color: #fff; letter-spacing: -.02em; }
.aform__hint { margin-top: 4px; font-size: 14px; color: #8b8b95; }
.aform__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 20px; }
.aform__chips label { cursor: pointer; }
.aform__chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.aform__chips span { display: inline-block; padding: 9px 14px; border: 1px solid #2f2f35; border-radius: 999px; font-size: 14px; color: #d4d4d8; transition: background-color .15s, color .15s, border-color .15s; }
.aform__chips label:hover span { border-color: #4a4a52; }
.aform__chips input:checked + span { background: #fff; color: var(--ink); border-color: #fff; }
.aform__chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.afield { display: grid; gap: 8px; margin-top: 18px; }
.afield > span { font-size: 14px; font-weight: 500; color: #d4d4d8; }
.afield > span em { font-style: normal; color: #75757f; font-weight: 400; }
.afield input, .afield textarea { width: 100%; padding: 13px 14px; border: 1px solid #2f2f35; border-radius: 12px; background: #0a0a0b; color: #fff; font-size: 16px; line-height: 1.5; outline: none; resize: vertical; transition: border-color .2s, box-shadow .2s; }
.afield input::placeholder, .afield textarea::placeholder { color: #5c5c66; }
.afield input:focus, .afield textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(51, 88, 255, .2); }
.afield.is-error input, .afield.is-error textarea { border-color: var(--bad); }
.aform__seg { display: flex; flex-wrap: wrap; gap: 6px; }
.aform__seg button { padding: 10px 14px; border: 1px solid #2f2f35; border-radius: 12px; font-size: 14.5px; color: #d4d4d8; transition: background-color .15s, color .15s, border-color .15s; }
.aform__seg button:hover { border-color: #4a4a52; }
.aform__seg button[aria-pressed="true"] { background: #fff; color: var(--ink); border-color: #fff; }
.aform__two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.aform__privacy { margin-top: 18px; font-size: 13px; line-height: 1.5; color: #75757f; }
.aform__privacy a { color: #a1a1aa; }
.aform__nav { display: flex; align-items: center; gap: 12px; margin-top: 26px; }
.aform__nav #aNext { margin-left: auto; }
.aform__err { font-size: 13.5px; color: #fca5a5; }
.aform__done { padding: 6px 0 4px; }
.aform__done-h { font-size: 22px; font-weight: 600; color: #fff; letter-spacing: -.02em; }
.aform__done p:not(.aform__done-h) { margin-top: 8px; }
.aform__done-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

/* ---------- footer ---------- */
.foot { padding: 72px 0 28px; border-top: 1px solid var(--line); background: #fff; }
.foot__in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.foot__brand p { margin-top: 14px; max-width: 34ch; font-size: 15px; color: var(--muted); }
.foot__col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.foot__col .mini { margin-bottom: 4px; color: var(--ink); }
.foot__col a:not(.btn) { text-decoration: none; font-size: 15px; color: var(--muted); }
.foot__col a:not(.btn):hover { color: var(--ink); }
.foot__btn { margin-top: 8px; }
.foot__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.foot__clean { display: inline-flex; align-items: center; gap: 8px; }
.foot__addr { flex-basis: 100%; font-style: normal; }
.dot-ok { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }

/* ---------- service pages ---------- */
.page-hero { padding: calc(var(--hdr) + clamp(48px, 7vw, 96px)) 0 clamp(56px, 7vw, 88px); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--bg-2), #fff); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.page-hero h1 { max-width: 920px; font-size: clamp(38px, 5.4vw, 68px); line-height: 1.04; letter-spacing: -.04em; text-wrap: balance; }
.page-hero .lede { margin-top: 22px; max-width: 62ch; font-size: clamp(18px, 1.6vw, 20px); line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.page-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.checks--grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 48px; }
.checks--grid li { font-size: 17px; }
.page-end .sec__sub { max-width: 60ch; }
.more-svc { margin-top: 56px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .12); }
.more-svc .mini { color: #a1a1aa; margin-bottom: 14px; }
.more-svc ul { display: flex; flex-wrap: wrap; gap: 8px; }
.more-svc a { display: inline-block; padding: 8px 14px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; font-size: 14px; color: #fff; text-decoration: none; transition: border-color .2s, background-color .2s; }
.more-svc a:hover { border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .06); }

/* ---------- mobile CTA bar / toast ---------- */
.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: none; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .3s var(--ease); }
.mbar.is-on { transform: none; }
.mbar .btn { width: 100%; padding: 14px 18px; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 300; transform: translate(-50%, calc(100% + 40px)); visibility: hidden; padding: 12px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14.5px; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5); transition: transform .3s var(--ease), visibility 0s linear .3s; max-width: calc(100vw - 32px); text-align: center; }
.toast.is-on { transform: translate(-50%, 0); visibility: visible; transition: transform .3s var(--ease); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .console__body { grid-template-columns: 1fr 1.3fr; }
  .console__col:last-child { grid-column: 1 / -1; border-top: 1px solid var(--line); }
  .outlog { display: grid; grid-template-columns: 1fr 1fr; column-gap: 18px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
  .cards3, .work { grid-template-columns: repeat(2, 1fr); }
  .svc { grid-template-columns: 250px 1fr; }
}
@media (max-width: 880px) {
  :root { --hdr: 62px; }
  .nav { position: fixed; top: var(--hdr); left: 0; right: 0; margin: 0; flex-direction: column; gap: 2px; padding: 12px var(--gut) 20px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px -24px rgba(10, 10, 11, .25); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s var(--ease), visibility 0s linear .2s; }
  .hdr.is-open .nav { opacity: 1; transform: none; visibility: visible; transition: opacity .2s, transform .2s var(--ease); }
  .hdr.is-open { background: #fff; box-shadow: 0 1px 0 var(--line); }
  .nav a { padding: 13px 12px; font-size: 17px; border-radius: 10px; }
  .nav__contact { display: block; }
  .hdr__link { display: none; }
  .burger { display: flex; }
  .sec__head--split { grid-template-columns: 1fr; }
  .svc { grid-template-columns: 1fr; }
  .svc__tabs { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); scrollbar-width: none; }
  .svc__tabs::-webkit-scrollbar { display: none; }
  .svc__tab { flex: none; padding: 12px 14px; font-size: 15px; }
  .svc__tab[aria-selected="true"]::before { left: 14px; right: 14px; top: auto; bottom: -10px; width: auto; height: 3px; border-radius: 3px 3px 0 0; }
  .svc__panels { min-height: 0; }
  .svc__cols { grid-template-columns: 1fr; }
  .roi, .quality, .tz, .faq, .audit__in { grid-template-columns: 1fr; }
  .faq__head { position: static; }
  .compare__head, .compare__row { grid-template-columns: 1fr 1fr; }
  .compare__head span:first-child { display: none; }
  .compare__row span:first-child { grid-column: 1 / -1; padding-bottom: 0; border-top: 1px solid var(--line); background: var(--bg-2); }
  .compare__row span:nth-child(2), .compare__row span:nth-child(3) { border-top: 0; }
  .facts__in { grid-template-columns: 1fr 1fr; }
  .fact { padding: 22px 18px; }
  .fact:nth-child(3) { border-left: 0; padding-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .foot__in { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
  .mbar { display: block; }
  body { padding-bottom: 76px; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .hdr__cta .btn { display: none; }   /* the sticky bottom bar carries the CTA on phones */
  .hero__cta { width: 100%; flex-direction: column; }
  .hero__cta .btn { width: 100%; }
  .hero__micro { text-align: left; align-items: flex-start; }
  .hero__micro svg { margin-top: 3px; }
  .console__body { grid-template-columns: 1fr; min-height: 0; }
  .console__col { border-right: 0; border-bottom: 1px solid var(--line); }
  .console__col:first-child .queue li:nth-child(n+4) { display: none; }
  .console__dots, .console__bar .pill--live { display: none; }   /* keep the "Illustrative demo" label on phones */
  .outlog { grid-template-columns: 1fr; }
  .steps, .cards3, .work { grid-template-columns: 1fr; }
  .roi__dl { grid-template-columns: 1fr 1fr; }
  .tzw__clocks { grid-template-columns: 1fr 1fr; }
  .tzw__time { font-size: 24px; }
  .gate__list li { grid-template-columns: 20px 1fr auto; }
  .gate__list .g-th { display: none; }
  .aform__two { grid-template-columns: 1fr; }
  .qa summary { font-size: 17px; }
  .qa p { padding-right: 0; }
  .foot__in { grid-template-columns: 1fr; }
  .checks--grid { grid-template-columns: 1fr; }
  .page-cta .btn { width: 100%; }
}

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