/* ==========================================================================
   VistaByte Labs — design system
   Palette: Ink #17134A · Paper #F5F6FA · Cobalt #4B3BFF · Sun #FFB21E · Mist #DDE1F2
   Type: Bricolage Grotesque (variable: opsz, wdth, wght)
   ========================================================================== */

@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  font-stretch: 75% 100%;
  src: url('../fonts/bricolage-latin.woff2') format('woff2-variations'), url('../fonts/bricolage-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  font-stretch: 75% 100%;
  src: url('../fonts/bricolage-latin-ext.woff2') format('woff2-variations'), url('../fonts/bricolage-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink: #17134a;
  --ink-2: #221d63;
  --ink-3: #2e2878;
  --paper: #f5f6fa;
  --white: #ffffff;
  --cobalt: #4b3bff;
  --cobalt-d: #3626e6;
  --sun: #ffb21e;
  --sun-d: #f29c00;
  --mist: #dde1f2;
  --mint: #19c48f;
  --coral: #ff5e7e;
  --muted: #5b5a86;
  --muted-l: #b9b8de;
  --line: rgba(23, 19, 74, 0.12);
  --line-l: rgba(255, 255, 255, 0.14);
  --error: #d62950;

  --font: 'Bricolage Grotesque', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --wrap: 1320px;
  --gutter: clamp(20px, 4vw, 48px);
  --r-sm: 10px;
  --r: 18px;
  --r-lg: 32px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  --fs-hero: clamp(3rem, 1.2rem + 7.6vw, 9.2rem);
  --fs-h1: clamp(2.5rem, 1.4rem + 4.2vw, 5.4rem);
  --fs-h2: clamp(2rem, 1.3rem + 2.6vw, 3.6rem);
  --fs-h3: clamp(1.35rem, 1.1rem + 0.9vw, 1.9rem);
  --fs-lead: clamp(1.1rem, 1rem + 0.4vw, 1.35rem);
  --fs-body: 1.0625rem;
  --fs-sm: 0.9375rem;
  --header-h: 76px;
}

*,
*::before,
*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.6;
  font-variation-settings: 'opsz' 14;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
[hidden] { display: none !important; }
::selection { background: var(--sun); color: var(--ink); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { width: 100%; max-width: 820px; margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--sun); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* ── Type ───────────────────────────────────────────────── */
.h1, .h2, .h3, .hero-title, .fcta-title, .commit-title {
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 0.98;
  font-variation-settings: 'opsz' 96, 'wdth' 82;
  text-wrap: balance;
}
.h1 { font-size: var(--fs-h1); }
.h2 { font-size: var(--fs-h2); line-height: 1.02; }
.h3 { font-size: var(--fs-h3); line-height: 1.1; letter-spacing: -0.02em; }
.lead-sm { font-size: var(--fs-lead); color: var(--muted); max-width: 38ch; margin-top: 18px; line-height: 1.45; }
.text-link { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: var(--sun); margin-top: 24px; }
.text-link:hover { text-decoration-color: currentColor; }
.text-link-light { color: var(--white); }
.opt { font-weight: 400; color: var(--muted); font-size: 0.85em; }

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  --bg: var(--ink); --fg: var(--white);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 2px solid transparent;
  background: var(--bg); color: var(--fg); font-weight: 650; font-size: 1rem; letter-spacing: -0.01em;
  text-decoration: none; white-space: nowrap; transition: transform 0.2s var(--ease), background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sun { --bg: var(--sun); --fg: var(--ink); }
.btn-sun:hover { --bg: #ffc247; box-shadow: 0 10px 30px -10px rgba(255, 178, 30, 0.8); }
.btn-ink { --bg: var(--ink); --fg: var(--white); }
.btn-ink:hover { --bg: var(--cobalt); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.btn-ghost-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.45); }
.btn-ghost-light:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); }
.btn-lg { min-height: 58px; padding: 0 30px; font-size: 1.0625rem; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 0.9rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-loading { opacity: 0.7; pointer-events: none; }
.btn.is-loading::after { content: ''; width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.ico { width: 24px; height: 24px; flex: none; }
.ico-sm { width: 18px; height: 18px; }
.round-btn { width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--ink); background: transparent; display: grid; place-items: center; transition: background 0.2s, color 0.2s; }
.round-btn:hover { background: var(--ink); color: var(--white); }
.text-btn { background: none; border: 0; padding: 0; text-decoration: underline; font-weight: 600; }

/* ── Logo ───────────────────────────────────────────────── */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 38px; height: 38px; }
.logo-word { font-weight: 750; font-size: 1.28rem; letter-spacing: -0.025em; font-variation-settings: 'opsz' 48, 'wdth' 85; }
.logo-labs { font-weight: 400; margin-left: 4px; opacity: 0.7; }
.logo-light { color: var(--white); }

/* ── Header ─────────────────────────────────────────────── */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; color: var(--ink); pointer-events: none; transition: transform 0.45s var(--ease), padding 0.35s var(--ease), color 0.3s; view-transition-name: site-header; }
.site-header > * { pointer-events: auto; }
[data-header-theme='dark'] .site-header:not(.is-solid) { color: var(--white); }
.site-header.is-solid, [data-header-theme='light'] .site-header { padding-top: 10px; }
.site-header.is-hidden { transform: translateY(-130%); }
.header-inner { position: relative; display: flex; align-items: center; gap: 28px; height: var(--header-h); border: 1px solid transparent; border-radius: 999px; transition: background-color 0.35s, box-shadow 0.35s, border-color 0.35s, max-width 0.5s var(--ease), height 0.35s var(--ease), padding 0.35s var(--ease); }
.site-header.is-solid .header-inner, [data-header-theme='light'] .site-header .header-inner { width: calc(100% - 24px); max-width: 1180px; height: 64px; padding: 0 10px 0 22px; background: rgba(255, 255, 255, 0.8); backdrop-filter: saturate(1.7) blur(20px); -webkit-backdrop-filter: saturate(1.7) blur(20px); border-color: rgba(23, 19, 74, 0.08); box-shadow: 0 14px 44px -14px rgba(23, 19, 74, 0.28); }
.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; gap: 4px; align-items: center; }
.nav-link { display: inline-flex; align-items: center; gap: 4px; background: none; border: 0; padding: 10px 14px; border-radius: 999px; font-weight: 550; font-size: 0.98rem; text-decoration: none; transition: background-color 0.2s; }
.nav-link:hover, .nav-link[aria-expanded='true'] { background: rgba(127, 127, 170, 0.14); }
.nav-link[aria-current='page'], .nav-link[data-current] { text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.nav-link .ico { transition: transform 0.25s; }
.nav-link[aria-expanded='true'] .ico { transform: rotate(180deg); }
.header-cta { display: flex; align-items: center; gap: 14px; }
.header-phone { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-weight: 550; font-size: 0.95rem; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid currentColor; background: transparent; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: currentColor; transition: transform 0.3s var(--ease), top 0.3s; }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded='true'] span:first-child { top: 21.5px; transform: rotate(45deg); }
.burger[aria-expanded='true'] span:last-child { top: 21.5px; transform: rotate(-45deg); }

/* Mega menu */
.has-mega { position: static; }
.mega { position: absolute; left: 0; right: 0; top: calc(100% + 10px); background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: 30px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(23, 19, 74, 0.45); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 0.25s, transform 0.25s var(--ease), visibility 0.25s; }
.mega.is-open { opacity: 1; visibility: visible; transform: none; }
.mega-inner { display: grid; grid-template-columns: 280px 1fr; gap: 40px; padding: 28px; }
.mega-intro { background: var(--ink); color: var(--white); border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.mega-title { font-size: 1.6rem; font-weight: 700; line-height: 1.05; letter-spacing: -0.03em; font-variation-settings: 'opsz' 72, 'wdth' 85; }
.mega-intro p:not(.mega-title) { color: var(--muted-l); font-size: var(--fs-sm); }
.mega-intro .btn { margin-top: auto; }
.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 32px; }
.mega-cat { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.1rem; text-decoration: none; margin-bottom: 8px; letter-spacing: -0.015em; }
.mega-cat:hover { color: var(--cobalt); }
.mega-col ul { display: grid; gap: 2px; padding-left: 22px; }
.mega-col li a { display: block; padding: 3px 0; text-decoration: none; color: var(--muted); font-size: var(--fs-sm); }
.mega-col li a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--sun); text-underline-offset: 4px; }
.mega-short { color: var(--muted); font-size: var(--fs-sm); padding-left: 22px; line-height: 1.45; }
.dot { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.dot-cobalt { background: var(--cobalt); } .dot-saffron { background: var(--sun); } .dot-mint { background: var(--mint); } .dot-coral { background: var(--coral); }

/* Mobile menu */
.mobile-menu { position: fixed; inset: 0; z-index: -1; background: var(--ink); color: var(--white); overflow-y: auto; overscroll-behavior: contain; padding: calc(var(--header-h) + 20px) 0 48px; animation: menuIn 0.4s var(--ease) both; }
@keyframes menuIn { from { opacity: 0; clip-path: inset(0 0 100% 0); } to { opacity: 1; clip-path: inset(0); } }
.mobile-menu nav > * { animation: fadeUp 0.55s var(--ease) both; }
.mobile-menu nav > :nth-child(1) { animation-delay: 0.125s; }
.mobile-menu nav > :nth-child(2) { animation-delay: 0.170s; }
.mobile-menu nav > :nth-child(3) { animation-delay: 0.215s; }
.mobile-menu nav > :nth-child(4) { animation-delay: 0.260s; }
.mobile-menu nav > :nth-child(5) { animation-delay: 0.305s; }
.mobile-menu nav > :nth-child(6) { animation-delay: 0.350s; }
.mobile-menu nav > :nth-child(7) { animation-delay: 0.395s; }
.mobile-menu nav > :nth-child(8) { animation-delay: 0.440s; }
.mobile-menu nav { display: grid; margin-bottom: 28px; }
.mobile-menu nav > a, .m-group > summary { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; font-size: 1.7rem; font-weight: 650; letter-spacing: -0.03em; text-decoration: none; border-bottom: 1px solid var(--line-l); cursor: pointer; list-style: none; font-variation-settings: 'opsz' 48, 'wdth' 88; }
.m-group > summary::-webkit-details-marker { display: none; }
.m-group[open] > summary .ico { transform: rotate(180deg); }
.m-svcs { padding: 10px 0 14px; display: grid; gap: 10px; }
.m-svcs > li > a { font-weight: 650; text-decoration: none; font-size: 1.1rem; }
.m-svcs ul { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 6px 0 4px; }
.m-svcs ul a { color: var(--muted-l); text-decoration: none; font-size: var(--fs-sm); }
.m-contact { margin-top: 24px; color: var(--muted-l); line-height: 2; }
.m-contact a { text-decoration: none; }
body.menu-open { overflow: hidden; }
body.menu-open .site-header { color: var(--white) !important; padding-top: 0; }
body.menu-open .site-header .header-inner { background: transparent; border-color: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; width: 100%; max-width: var(--wrap); height: var(--header-h); padding: 0 var(--gutter); }

/* ── Hero (home) ─────────────────────────────────────────── */
.hero { position: relative; background: var(--ink); color: var(--white); padding-top: calc(var(--header-h) + clamp(40px, 8vh, 96px)); overflow: hidden; isolation: isolate; }
.hero-copy { position: relative; z-index: 2; }
.hero-title { font-size: var(--fs-hero); line-height: 0.92; letter-spacing: -0.03em; font-variation-settings: 'opsz' 96, 'wdth' 82; font-weight: 720; max-width: 14ch; }
.ht-line { display: block; }
.hero-sub { display: grid; grid-template-columns: minmax(0, 46ch) auto; gap: 28px 48px; align-items: end; margin-top: clamp(28px, 4vw, 48px); }
.hero-sub p { font-size: var(--fs-lead); color: var(--muted-l); line-height: 1.45; }
.hero-sub .btn-row { margin-top: 0; justify-content: flex-end; }
.hero-chart { position: relative; height: clamp(240px, 34vw, 460px); margin-top: clamp(-40px, -3vw, -10px); }
.hero-curve { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-grid line { stroke: rgba(255, 255, 255, 0.06); stroke-width: 1; vector-effect: non-scaling-stroke; }
.hero-area { opacity: 0; animation: fadeIn 1.2s 1.6s var(--ease) forwards; }
.hero-path { fill: none; stroke: var(--sun); stroke-width: 4; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.2s 0.35s cubic-bezier(0.55, 0.05, 0.25, 1) forwards; }
.hero-sun { position: absolute; right: calc(56 / 1440 * 100%); top: calc(70 / 460 * 100%); width: clamp(22px, 2.4vw, 36px); aspect-ratio: 1; background: var(--sun); border-radius: 50%; transform: translate(50%, -50%) scale(0); animation: sunrise 0.8s 2.4s var(--ease) forwards; box-shadow: 0 0 0 10px rgba(255, 178, 30, 0.18), 0 0 0 26px rgba(255, 178, 30, 0.08); }
.htag { position: absolute; left: var(--x); top: var(--y); width: 0; height: 0; opacity: 0; animation: tagIn 0.5s calc(0.75s + var(--i) * 0.42s) var(--ease) forwards; }
.htag-dot { position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%; background: var(--ink); border: 3px solid var(--sun); }
.htag-box { position: absolute; left: 4px; top: 22px; display: grid; background: rgba(255, 255, 255, 0.07); border: 1px solid var(--line-l); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); padding: 8px 14px; border-radius: 12px; font-size: 0.82rem; color: var(--muted-l); line-height: 1.3; white-space: nowrap; }
.htag-up .htag-box { top: auto; bottom: 22px; left: auto; right: 4px; }
.htag-box strong { color: var(--white); font-size: 0.95rem; font-weight: 650; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes sunrise { to { transform: translate(50%, -50%) scale(1); } }
@keyframes tagIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ── Platforms strip ─────────────────────────────────────── */

/* ── Sections ────────────────────────────────────────────── */
.section { padding: clamp(72px, 10vw, 140px) 0; }
.section-head { margin-bottom: clamp(36px, 5vw, 64px); max-width: 860px; }
.section-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; max-width: none; flex-wrap: wrap; }

/* Process */
.process-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.process-head { position: sticky; top: calc(var(--header-h) + 40px); }

/* Services index */
.svc-index-section { background: var(--white); }
.svc-index { border-top: 1.5px solid var(--ink); }
.svc-row { border-bottom: 1.5px solid var(--ink); position: relative; }
.svc-row-link { display: grid; grid-template-columns: 56px minmax(0, 1.15fr) minmax(0, 1fr) 56px; gap: 24px; align-items: center; padding: 28px 20px 18px; text-decoration: none; position: relative; z-index: 1; }
.svc-row::before { content: ''; position: absolute; inset: 0; background: var(--fill, var(--cobalt)); transform: scaleY(0); transform-origin: bottom; transition: transform 0.45s var(--ease); z-index: 0; }
.svc-cobalt { --fill: var(--cobalt); --on: var(--white); } .svc-saffron { --fill: var(--sun); --on: var(--ink); } .svc-mint { --fill: var(--mint); --on: var(--ink); } .svc-coral { --fill: var(--coral); --on: var(--ink); }
.svc-row:hover::before, .svc-row:focus-within::before { transform: scaleY(1); }
.svc-row:hover, .svc-row:focus-within { color: var(--on); }
.svc-ico { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--fill); color: var(--on); transition: background 0.3s, color 0.3s; }
.svc-row:hover .svc-ico, .svc-row:focus-within .svc-ico { background: var(--on); color: var(--fill); }
.svc-name { font-size: clamp(1.7rem, 1.1rem + 2.2vw, 3.2rem); font-weight: 700; letter-spacing: -0.025em; line-height: 1; font-variation-settings: 'opsz' 96, 'wdth' 80; }
.svc-short { color: inherit; opacity: 0.75; font-size: var(--fs-sm); line-height: 1.5; max-width: 46ch; }
.svc-go { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid currentColor; display: grid; place-items: center; transition: transform 0.35s var(--ease); }
.svc-row:hover .svc-go { transform: rotate(-45deg); }
.svc-subs { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 8px; padding: 0 20px 26px calc(56px + 24px + 20px); }
.svc-subs a { display: inline-block; padding: 6px 14px; border-radius: 999px; border: 1px solid currentColor; font-size: 0.875rem; text-decoration: none; opacity: 0.8; transition: background 0.2s, color 0.2s, opacity 0.2s; }
.svc-subs a:hover { opacity: 1; background: var(--on, var(--ink)); color: var(--fill, var(--white)); }

/* Commitments band */
.commit-title { font-size: var(--fs-h2); max-width: 14ch; margin-bottom: clamp(36px, 5vw, 60px); }

/* Case cards */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case-grid-2 { grid-template-columns: repeat(2, 1fr); }
.case-card { --c: var(--cobalt); --on: var(--white); border-radius: var(--r-lg); background: var(--c); color: var(--on); overflow: hidden; transition: transform 0.35s var(--ease); }
.case-saffron { --c: var(--sun); --on: var(--ink); } .case-mint { --c: var(--mint); --on: var(--ink); } .case-coral { --c: var(--coral); --on: var(--ink); }
.case-card:hover { transform: translateY(-6px) rotate(-0.4deg); }
.case-link { display: flex; flex-direction: column; height: 100%; padding: 30px; text-decoration: none; min-height: 420px; }
.case-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.case-industry { font-weight: 600; font-size: var(--fs-sm); }
.case-title { font-size: 1.6rem; font-weight: 700; line-height: 1.1; letter-spacing: -0.03em; margin-top: 18px; font-variation-settings: 'opsz' 60, 'wdth' 88; }
.case-metric { margin-top: auto; padding-top: 40px; display: grid; font-size: var(--fs-sm); }
.case-metric span { font-size: clamp(3.4rem, 2.6rem + 2.4vw, 5rem); font-weight: 750; line-height: 0.95; letter-spacing: -0.03em; font-variation-settings: 'opsz' 96, 'wdth' 80; }
.case-services { font-size: 0.85rem; margin-top: 18px; padding-top: 14px; border-top: 1px solid currentColor; }
.case-more { margin-top: 12px; font-weight: 650; text-decoration: underline; text-underline-offset: 4px; }
.sample-tag { display: inline-block; font-size: 0.75rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: transparent; border: 1px solid currentColor; white-space: nowrap; letter-spacing: 0; }

/* Industries */
.industries-section { background: var(--ink); color: var(--white); }
.industries-section .lead-sm { color: var(--muted-l); }
.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-l); border-left: 1px solid var(--line-l); }
.ind-grid li { padding: 28px 24px 32px; border-right: 1px solid var(--line-l); border-bottom: 1px solid var(--line-l); transition: background 0.25s; }
.ind-grid li:hover { background: var(--ink-2); }
.ind-grid h3 { font-size: 1.25rem; font-weight: 650; letter-spacing: -0.02em; margin-bottom: 8px; }
.ind-grid p { color: var(--muted-l); font-size: var(--fs-sm); line-height: 1.5; }
.area-list { display: flex; flex-wrap: wrap; gap: 10px; }
.area-list li { padding: 10px 18px; border: 1px solid var(--line-l); border-radius: 999px; font-weight: 550; }

/* Quotes */
.quotes-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; }
.slider-ctrl { display: flex; gap: 10px; }
.quote-track { display: grid; grid-auto-flow: column; grid-auto-columns: min(780px, 86%); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.quote-track::-webkit-scrollbar { display: none; }
.quote { scroll-snap-align: start; background: var(--white); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; justify-content: space-between; gap: 36px; border: 1px solid var(--line); }
.quote blockquote p { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2.15rem); line-height: 1.18; letter-spacing: -0.025em; font-weight: 550; font-variation-settings: 'opsz' 60; text-wrap: pretty; }
.quote blockquote p::before { content: '“'; color: var(--sun); }
.quote blockquote p::after { content: '”'; color: var(--sun); }
.quote figcaption { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; color: var(--muted); }
.quote figcaption strong { color: var(--ink); font-weight: 600; }
.quote .sample-tag { background: var(--mist); border-color: transparent; color: var(--muted); }

/* Posts */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post-card a { display: flex; flex-direction: column; gap: 12px; height: 100%; text-decoration: none; }
.post-art { border-radius: var(--r); background: var(--ink); color: var(--sun); aspect-ratio: 16 / 9; display: flex; align-items: flex-end; padding: 18px; overflow: hidden; transition: transform 0.35s var(--ease); }
.post-cobalt .post-art { background: var(--cobalt); color: var(--white); }
.post-mint .post-art { background: var(--mint); color: var(--ink); }
.post-art svg { width: 100%; height: 70%; }
.post-card a:hover .post-art { transform: scale(0.98); }
.post-card h3 { font-size: 1.45rem; font-weight: 700; line-height: 1.12; letter-spacing: -0.025em; }
.post-card a:hover h3 { text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.post-card p:last-child { color: var(--muted); font-size: var(--fs-sm); }
.post-meta { font-size: 0.875rem; color: var(--muted); font-weight: 500; }

/* ── Footer CTA & footer ─────────────────────────────────── */
.footer-cta { background: var(--cobalt); color: var(--white); padding: clamp(72px, 10vw, 140px) 0 0; overflow: hidden; }
.fcta-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px 64px; align-items: end; }
.fcta-title { font-size: clamp(2.6rem, 1.2rem + 5vw, 6.4rem); line-height: 0.92; letter-spacing: -0.03em; font-variation-settings: 'opsz' 96, 'wdth' 80; }
.fcta-side p { font-size: var(--fs-lead); line-height: 1.45; margin-bottom: 28px; color: rgba(255, 255, 255, 0.85); }
.fcta-horizon { width: 100%; height: clamp(60px, 9vw, 120px); margin-top: clamp(40px, 6vw, 80px); }
.site-footer { background: var(--ink); color: var(--white); padding: clamp(56px, 7vw, 96px) 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 48px; }
.footer-brand > p { color: var(--muted-l); margin: 18px 0 28px; max-width: 34ch; }
.footer-h { font-weight: 700; margin-bottom: 14px; }
.footer-col ul { display: grid; gap: 8px; }
.footer-col a { color: var(--muted-l); text-decoration: none; }
.footer-col a:hover { color: var(--white); text-decoration: underline; text-decoration-color: var(--sun); text-underline-offset: 4px; }
.footer-contact li { color: var(--muted-l); line-height: 1.5; }
.social, .footer-col .social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-l); display: grid; place-items: center; transition: background 0.2s, color 0.2s; }
.social a:hover { background: var(--sun); color: var(--ink); border-color: var(--sun); }
.social svg { width: 20px; height: 20px; }
.social-dark a { border-color: var(--line); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line-l); color: var(--muted-l); font-size: 0.875rem; }
.footer-bottom ul { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--white); }
.newsletter label { display: block; font-weight: 600; margin-bottom: 10px; font-size: var(--fs-sm); }
.nl-row { display: flex; gap: 8px; max-width: 440px; }
.nl-row input { flex: 1; min-width: 0; height: 48px; border-radius: 999px; border: 1px solid var(--line-l); background: rgba(255, 255, 255, 0.06); padding: 0 20px; color: var(--white); }
.nl-row input::placeholder { color: var(--muted-l); }
.newsletter .form-status { margin-top: 10px; }

/* ── Page hero ───────────────────────────────────────────── */
.phero { --accent: var(--cobalt); position: relative; background: var(--ink); color: var(--white); padding: calc(var(--header-h) + clamp(40px, 6vw, 80px)) 0 clamp(80px, 10vw, 140px); overflow: hidden; }
.phero-saffron { --accent: var(--sun); } .phero-mint { --accent: var(--mint); } .phero-coral { --accent: var(--coral); }
.phero::after { content: ''; position: absolute; right: -6vw; top: calc(var(--header-h) + 48px); width: clamp(240px, 34vw, 560px); aspect-ratio: 1; border-radius: 50%; background: var(--accent); opacity: 0.95; clip-path: inset(0 0 50% 0); z-index: 0; }
.phero .wrap { position: relative; z-index: 1; }
.phero-line { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 90px; color: var(--accent); opacity: 0.7; z-index: 1; }
.phero-grid { display: grid; gap: 48px; }
.phero-grid.has-aside { grid-template-columns: minmax(0, 1fr) 300px; align-items: end; }
.phero .h1 { max-width: 16ch; }
.phero-intro { font-size: var(--fs-lead); line-height: 1.45; color: var(--muted-l); margin-top: 24px; max-width: 54ch; }
.phero-aside { position: relative; background: var(--ink-2); border: 1px solid var(--line-l); border-radius: var(--r); padding: 24px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.5); }
.phero-aside .aside-h { font-weight: 700; margin: 0 0 6px; }
.phero-aside .aside-h:not(:first-child) { margin-top: 16px; }
.phero-aside p { color: var(--muted-l); font-size: var(--fs-sm); }
.phero-aside ul { display: grid; gap: 2px; }
.phero-aside li a { display: block; padding: 7px 0; color: var(--muted-l); text-decoration: none; border-bottom: 1px solid var(--line-l); }
.phero-aside li:last-child a { border-bottom: 0; }
.phero-aside li a:hover, .phero-aside .aside-h a { color: var(--white); }
.phero-aside .btn { margin-top: 18px; width: 100%; }
.phero-aside .sample-tag { margin-top: 16px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.875rem; margin-bottom: 28px; color: var(--muted-l); }
.crumbs li + li::before { content: '/'; margin-right: 6px; opacity: 0.5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--white); text-decoration: underline; }
.legal .crumbs ol, .article .crumbs ol { color: var(--muted); }
.legal .crumbs a:hover, .article .crumbs a:hover { color: var(--ink); }

/* Included */
.included-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.check-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 32px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; padding: 18px 0; border-top: 1px solid var(--line); line-height: 1.45; }
.check-list .ico { color: var(--white); background: var(--cobalt); border-radius: 50%; padding: 4px; width: 26px; height: 26px; margin-top: -1px; }
.check-list-tight { grid-template-columns: 1fr; margin-top: 28px; }
.x-list { display: grid; margin-top: 28px; }
.x-list li { padding: 16px 0 16px 34px; border-top: 1px solid var(--line-l); position: relative; }
.x-list li::before { content: ''; position: absolute; left: 4px; top: 27px; width: 16px; height: 2px; background: var(--coral); }

/* Sub cards */
.subs-section { background: var(--white); }
.sub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sub-grid:has(> li:nth-child(2):last-child), .sub-grid:has(> li:nth-child(4):last-child) { grid-template-columns: repeat(2, 1fr); }
.sub-grid:has(> li:only-child) { grid-template-columns: minmax(0, 560px); }
.sub-card { --c: var(--cobalt); display: flex; flex-direction: column; gap: 12px; height: 100%; padding: 28px; border-radius: var(--r); border: 1.5px solid var(--ink); text-decoration: none; transition: background 0.25s, color 0.25s, transform 0.3s var(--ease); }
.sub-saffron { --c: var(--sun); } .sub-mint { --c: var(--mint); } .sub-coral { --c: var(--coral); }
.sub-card:hover { background: var(--c); border-color: var(--c); color: var(--ink); transform: translateY(-4px); }
.sub-cobalt:hover { color: var(--white); }
.sub-card h3 { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.sub-card p { font-size: var(--fs-sm); opacity: 0.8; }
.sub-go { margin-top: auto; padding-top: 12px; font-weight: 650; display: inline-flex; align-items: center; gap: 8px; }

/* Outcomes */
.outcomes { --c: var(--cobalt); --on: var(--white); background: var(--c); color: var(--on); }
.outcomes-saffron { --c: var(--sun); --on: var(--ink); } .outcomes-mint { --c: var(--mint); --on: var(--ink); } .outcomes-coral { --c: var(--coral); --on: var(--ink); }
.outcomes .h2 { max-width: 16ch; margin-bottom: 48px; }
.outcome-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1.5px solid currentColor; }
.outcome { padding: 28px 28px 0 0; }
.outcome + .outcome { padding-left: 28px; border-left: 1.5px solid currentColor; }
.outcome h3 { font-size: 1.6rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 12px; }
.outcome p { opacity: 0.85; }

/* FAQ */
.faq-section { background: var(--paper); }
.faq-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faqs { border-top: 1.5px solid var(--ink); }
.faq { border-bottom: 1.5px solid var(--ink); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; cursor: pointer; list-style: none; font-size: 1.25rem; font-weight: 650; letter-spacing: -0.02em; line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq-ico { width: 34px; height: 34px; padding: 6px; border-radius: 50%; border: 1.5px solid var(--ink); transition: transform 0.3s var(--ease), background 0.2s, color 0.2s; flex: none; }
.faq[open] .faq-ico { transform: rotate(45deg); background: var(--ink); color: var(--white); }
.faq-a { padding: 0 60px 26px 0; color: var(--muted); max-width: 64ch; }

/* CTA band */
.cta-band { background: var(--white); padding: clamp(56px, 7vw, 96px) 0; border-top: 1px solid var(--line); }
.cta-band-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-band .h2 { max-width: 20ch; }
.cta-band p { color: var(--muted); margin-top: 12px; font-size: var(--fs-lead); }

/* Timeline */
.timeline { display: grid; gap: 0; }
.tl-item { display: grid; grid-template-columns: 140px 1fr; gap: 32px; padding: 32px 0; border-top: 1.5px solid var(--ink); }
.tl-item:last-child { border-bottom: 1.5px solid var(--ink); }
.tl-n { font-size: clamp(2.8rem, 2rem + 2.4vw, 4.6rem); font-weight: 750; letter-spacing: -0.03em; line-height: 0.9; color: var(--cobalt); font-variation-settings: 'opsz' 96, 'wdth' 80; }
.tl-when { font-weight: 600; color: var(--muted); font-size: var(--fs-sm); margin-bottom: 6px; }
.tl-body h3 { font-size: var(--fs-h3); font-weight: 700; letter-spacing: -0.025em; margin-bottom: 8px; }
.tl-body p:last-child { color: var(--muted); max-width: 64ch; }

/* Report mock */
.report-section { background: var(--white); }
.report-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.report-mock { background: var(--ink); color: var(--white); border-radius: var(--r-lg); padding: 28px; transform: rotate(1.2deg); box-shadow: 0 40px 80px -40px rgba(23, 19, 74, 0.6); }
.rm-head { display: flex; align-items: center; gap: 6px; margin-bottom: 22px; }
.rm-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line-l); }
.rm-title { margin-left: 10px; font-weight: 600; font-size: var(--fs-sm); color: var(--muted-l); }
.rm-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.rm-kpis div { background: var(--ink-2); border-radius: 12px; padding: 14px; display: grid; }
.rm-kpis small { color: var(--muted-l); font-size: 0.78rem; }
.rm-kpis b { font-size: 1.35rem; letter-spacing: -0.03em; }
.rm-chart { width: 100%; margin: 20px 0; }
.rm-note { font-size: var(--fs-sm); color: var(--muted-l); padding: 10px 0; border-top: 1px solid var(--line-l); }
.rm-note b { color: var(--sun); font-weight: 650; }
.rm-sample { font-size: 0.75rem; color: var(--muted-l); opacity: 0.7; margin-top: 8px; }

/* Story / values */
.story-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); }
.prose { font-size: 1.125rem; line-height: 1.7; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); font-weight: 700; letter-spacing: -0.025em; line-height: 1.15; margin-top: 1.8em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { list-style: none; display: grid; gap: 10px; }
.prose ul li { position: relative; padding-left: 26px; }
.prose ul li::before { content: ''; position: absolute; left: 2px; top: 0.62em; width: 12px; height: 12px; border-radius: 50%; border: 3px solid var(--cobalt); }
.prose a { text-decoration-color: var(--cobalt); text-decoration-thickness: 2px; text-underline-offset: 3px; font-weight: 600; }
.prose a:hover { color: var(--cobalt); }
.prose em { color: var(--muted); }
.values-section { background: var(--white); }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.value { padding: 28px; border-radius: var(--r); background: var(--paper); }
.value h3 { font-size: 1.4rem; font-weight: 700; letter-spacing: -0.025em; line-height: 1.1; margin-bottom: 10px; }
.value p { color: var(--muted); font-size: var(--fs-sm); }
.value:nth-child(1) { border-top: 6px solid var(--cobalt); } .value:nth-child(2) { border-top: 6px solid var(--sun); } .value:nth-child(3) { border-top: 6px solid var(--mint); } .value:nth-child(4) { border-top: 6px solid var(--coral); }

/* Split CTA */
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.split-card { display: flex; flex-direction: column; gap: 12px; padding: clamp(32px, 5vw, 56px); border-radius: var(--r-lg); text-decoration: none; min-height: 300px; transition: transform 0.35s var(--ease); }
.split-card:hover { transform: translateY(-6px); }
.split-card .text-link { margin-top: auto; }
.split-cobalt { background: var(--cobalt); color: var(--white); }
.split-sun { background: var(--sun); color: var(--ink); }
.split-card .h3 { font-size: var(--fs-h2); }

/* Fit */
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.fit { padding: clamp(28px, 4vw, 48px); border-radius: var(--r-lg); }
.fit-yes { background: var(--white); border: 1px solid var(--line); }
.fit-no { background: var(--ink); color: var(--white); }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filter { padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--ink); background: transparent; font-weight: 550; font-size: var(--fs-sm); transition: background 0.2s, color 0.2s; }
.filter:hover { background: var(--mist); }
.filter.is-active { background: var(--ink); color: var(--white); }
.filter-empty { margin-top: 24px; color: var(--muted); }
.case-card.is-hidden { display: none; }

/* Case study body */
.metrics-band { --c: var(--cobalt); --on: var(--white); background: var(--c); color: var(--on); padding: clamp(40px, 5vw, 64px) 0; }
.metrics-saffron { --c: var(--sun); --on: var(--ink); } .metrics-mint { --c: var(--mint); --on: var(--ink); } .metrics-coral { --c: var(--coral); --on: var(--ink); }
.metrics-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.metric + .metric { border-left: 1.5px solid currentColor; padding-left: 28px; }
.metric-v { font-size: clamp(3rem, 2rem + 3.6vw, 5.6rem); font-weight: 750; letter-spacing: -0.03em; line-height: 0.95; font-variation-settings: 'opsz' 96, 'wdth' 80; }
.metric-l { margin-top: 8px; font-weight: 550; }
.cs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.cs-block h2 { margin-bottom: 16px; }
.cs-block > p { color: var(--muted); font-size: 1.08rem; }
.cs-steps { counter-reset: c; display: grid; gap: 14px; }
.cs-steps li { counter-increment: c; display: grid; grid-template-columns: 34px 1fr; gap: 10px; color: var(--muted); }
.cs-steps li::before { content: counter(c); width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--white); display: grid; place-items: center; font-size: 0.8rem; font-weight: 700; }
.cs-result { background: var(--white); border-radius: var(--r); padding: 28px; border: 1px solid var(--line); }

/* Jobs */
.jobs-section { background: var(--white); }
.job-list { border-top: 1.5px solid var(--ink); }
.job-row { display: grid; grid-template-columns: 2fr 1fr 1.4fr 1fr 52px; gap: 20px; align-items: center; padding: 26px 0; border-bottom: 1.5px solid var(--ink); text-decoration: none; transition: padding 0.3s var(--ease), background 0.25s; }
.job-row:hover { background: var(--paper); padding-left: 16px; padding-right: 16px; }
.job-title { font-size: 1.6rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.job-meta { color: var(--muted); font-size: var(--fs-sm); }
.job-go { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--ink); display: grid; place-items: center; }
.job-body { max-width: 860px; }
.apply-section { background: var(--paper); }
.apply-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.apply-grid > div:first-child { position: sticky; top: calc(var(--header-h) + 40px); }
.note { margin-top: 24px; font-size: var(--fs-sm); color: var(--muted); padding: 16px 18px; border-left: 4px solid var(--sun); background: var(--white); border-radius: 0 10px 10px 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.info-list { display: grid; }
.info-list li { display: flex; gap: 16px; padding: 22px 0; border-top: 1px solid var(--line); }
.info-list .ico { color: var(--cobalt); margin-top: 2px; }
.info-h { font-weight: 700; margin-bottom: 2px; }
.info-list a { text-decoration: none; font-size: 1.15rem; }
.info-list a:hover { color: var(--cobalt); }
.info-list p:not(.info-h) { color: var(--muted); }
.contact-alt { margin-top: 20px; padding: 26px; border-radius: var(--r); background: var(--ink); color: var(--white); }
.contact-alt p:not(.info-h) { color: var(--muted-l); margin: 4px 0 18px; }
.map-section iframe { width: 100%; height: 420px; border: 0; filter: grayscale(0.85) contrast(1.05); }

/* ── Forms ───────────────────────────────────────────────── */
.form-card { background: var(--white); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 48px); border: 1px solid var(--line); display: grid; gap: 22px; position: relative; }
.form-card .h3 { margin-bottom: 4px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.field { display: grid; gap: 7px; align-content: start; }
.field-full { grid-column: 1 / -1; }
.field label, .group-label { font-weight: 600; font-size: 0.95rem; }
.group-label { margin: 6px 0 10px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 12px; border: 1.5px solid #c9cde2; background: var(--paper);
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s; font-size: 1rem;
}
.field textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317134A' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #9aa0c4; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cobalt); background: var(--white); box-shadow: 0 0 0 4px rgba(75, 59, 255, 0.15); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--error); background: #fff5f7; }
.field-error { color: var(--error); font-size: 0.85rem; font-weight: 550; min-height: 0; }
.field-error:empty { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 42px; padding: 8px 16px; border-radius: 999px; border: 1.5px solid #c9cde2; background: var(--paper); font-size: 0.93rem; font-weight: 550; transition: background 0.15s, border-color 0.15s, color 0.15s; }
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); color: var(--white); border-color: var(--ink); }
.chip input:checked + span::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--sun); margin-right: 8px; }
.chip input:focus-visible + span { outline: 3px solid var(--sun); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 0.9rem; color: var(--muted); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--cobalt); flex: none; }
.consent a { color: var(--ink); font-weight: 600; }
.form-status { font-weight: 600; font-size: 0.95rem; }
.form-status:empty { display: none; }
.form-status.is-error { color: #b31c40; background: #fff0f3; padding: 12px 16px; border-radius: 10px; }
.form-status.is-ok { color: #0d7d5b; }
.newsletter .form-status.is-error { background: rgba(214, 41, 80, 0.15); color: #ffb3c3; }
.newsletter .form-status.is-ok { color: var(--sun); }
.file-input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-drop { display: flex !important; align-items: center; gap: 14px; padding: 22px; border: 2px dashed #c9cde2; border-radius: 14px; background: var(--paper); cursor: pointer; font-weight: 500 !important; color: var(--muted); transition: border-color 0.2s, background 0.2s; }
.file-drop:hover, .file-input:focus-visible + .file-drop { border-color: var(--cobalt); background: var(--white); }
.file-drop.has-file { border-style: solid; border-color: var(--cobalt); color: var(--ink); }
.field.has-error .file-drop { border-color: var(--error); }
.form-success { text-align: left; display: grid; gap: 10px; justify-items: start; padding: 8px 0; }
.form-card.is-done > *:not(.form-success) { display: none !important; }
.done-sun { width: 64px; height: 64px; border-radius: 50%; background: var(--sun); clip-path: inset(0 0 50% 0); position: relative; margin-bottom: 4px; animation: sunUp 0.7s var(--ease) both; }
@keyframes sunUp { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.step-title { font-size: 1.9rem; font-weight: 700; letter-spacing: -0.022em; line-height: 1.05; font-variation-settings: 'opsz' 72, 'wdth' 85; }

/* Multistep lead form */
.lead-form { display: grid; gap: 18px; }
.steps-bar { height: 6px; border-radius: 999px; background: var(--mist); overflow: hidden; }
.steps-bar span { display: block; height: 100%; width: 33.33%; background: var(--cobalt); border-radius: inherit; transition: width 0.45s var(--ease); }
.step-count { font-size: var(--fs-sm); color: var(--muted); font-weight: 550; }
.lead-form .step { display: grid; gap: 14px; }
.js .lead-form .step:not(.is-active) { display: none; }
.lead-form .step-title { margin-bottom: 6px; }
.step-help { color: var(--muted); font-size: var(--fs-sm); margin-top: -8px; }
.step-nav { display: flex; justify-content: space-between; gap: 12px; padding-top: 6px; }
.step-nav [data-next], .step-nav [data-submit] { margin-left: auto; }
.step-done { justify-items: start; }
.step-done p { color: var(--muted); max-width: 46ch; }
.lead-form.is-done .steps-bar, .lead-form.is-done .step-count, .lead-form.is-done .step-nav { display: none; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 20px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(23, 19, 74, 0.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fadeIn 0.25s forwards; opacity: 0; }
.modal-panel { position: relative; width: min(1040px, 100%); max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); overflow: auto; background: var(--white); border-radius: var(--r-lg); display: grid; grid-template-columns: 340px 1fr; animation: panelIn 0.4s var(--ease) both; overscroll-behavior: contain; }
@keyframes panelIn { from { opacity: 0; transform: translateY(24px) scale(0.98); } to { opacity: 1; transform: none; } }
.modal-aside { background: var(--ink); color: var(--white); padding: 40px 32px; display: flex; flex-direction: column; gap: 16px; border-radius: var(--r-lg) 0 0 var(--r-lg); }
.modal-aside .logo-mark { width: 48px; height: 48px; }
.modal-aside h2 { font-size: 2.4rem; font-weight: 750; letter-spacing: -0.028em; line-height: 0.95; font-variation-settings: 'opsz' 96, 'wdth' 78; margin-top: 12px; }
.modal-aside p { color: var(--muted-l); }
.aside-list { display: grid; gap: 10px; margin-top: auto; padding-top: 24px; }
.aside-list li { display: flex; gap: 10px; align-items: center; font-size: var(--fs-sm); }
.aside-list .ico { color: var(--sun); }
.modal-body { padding: 44px 40px 36px; }
.modal-close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--paper); display: grid; place-items: center; z-index: 2; transition: background 0.2s; }
.modal-close:hover { background: var(--mist); }
body.modal-open { overflow: hidden; }

/* Cookie */
.cookie { position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 250; max-width: 560px; background: var(--ink); color: var(--white); border-radius: var(--r); padding: 20px 22px; display: grid; gap: 14px; box-shadow: 0 30px 60px -20px rgba(23, 19, 74, 0.6); animation: panelIn 0.4s var(--ease) both; }
.cookie p { font-size: 0.92rem; color: var(--muted-l); }
.cookie a { color: var(--white); }
.cookie div { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.cookie .btn-ghost { color: var(--white); border-color: var(--line-l); }

/* Article */
.article { padding-top: calc(var(--header-h) + clamp(32px, 5vw, 64px)); }
.article-head { padding-bottom: 40px; border-bottom: 1.5px solid var(--ink); margin-bottom: 48px; }
.article-title { margin-top: 12px; }
.article .phero-intro { color: var(--muted); }
.article-cta { margin-top: 64px; margin-bottom: 32px; }
.article-cta > * { background: transparent; }
.article-cta { background: var(--ink); color: var(--white); border-radius: var(--r-lg); padding: 40px; max-width: calc(820px - 2 * var(--gutter)); display: grid; gap: 12px; justify-items: start; }
.article-cta p { color: var(--muted-l); }
.legal { padding: calc(var(--header-h) + clamp(32px, 5vw, 64px)) 0 clamp(64px, 8vw, 120px); }
.legal .h1 { margin-bottom: 12px; }
.legal .prose { margin-top: 40px; }

/* 404 */
.nf { min-height: 80vh; display: flex; align-items: center; }
.nf-code { font-size: clamp(6rem, 3rem + 14vw, 16rem); font-weight: 800; line-height: 0.8; letter-spacing: -0.06em; color: var(--sun); font-variation-settings: 'opsz' 96, 'wdth' 75; margin-bottom: 24px; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1180px) {
  .header-phone span { display: none; }
  .header-phone { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid currentColor; justify-content: center; }
  .mega-grid { grid-template-columns: repeat(2, 1fr); }
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1024px) {
  .main-nav, .header-phone { display: none; }
  .burger { display: block; }
  .header-cta { margin-left: auto; }
  .hero-sub { grid-template-columns: 1fr; }
  .hero-sub .btn-row { justify-content: flex-start; }
  .process-grid, .included-grid, .faq-grid, .story-grid, .apply-grid, .contact-grid, .report-grid, .fcta-grid { grid-template-columns: 1fr; }
  .process-head, .apply-grid > div:first-child { position: static; }
  .case-grid { grid-template-columns: 1fr 1fr; }
  .sub-grid, .sub-grid:has(> li:nth-child(2):last-child) { grid-template-columns: 1fr 1fr; }
  .post-grid { grid-template-columns: 1fr 1fr; }
  .cs-grid { grid-template-columns: 1fr; }
  .phero-grid.has-aside { grid-template-columns: 1fr; }
  .phero-aside { max-width: 480px; }
  .modal-panel { grid-template-columns: 1fr; }
  .modal-aside { border-radius: var(--r-lg) var(--r-lg) 0 0; padding: 28px 24px; }
  .modal-aside .aside-list, .modal-aside > p { display: none; }
  .modal-aside h2 { font-size: 1.9rem; margin-top: 0; }
  .modal-aside .logo-mark { display: none; }
  .job-row { grid-template-columns: 1fr auto; }
  .job-row .job-meta { display: none; }
  .svc-row-link { grid-template-columns: 52px 1fr 52px; }
  .svc-short { grid-column: 2 / 3; grid-row: 2; }
  .svc-go { grid-column: 3; grid-row: 1 / 3; }
  .svc-subs { padding-left: 96px; }
}
@media (max-width: 720px) {
  :root { --header-h: 66px; }
  .header-cta .btn-sun { min-height: 42px; padding: 0 16px; font-size: 0.92rem; }
  .logo-word { font-size: 1.1rem; }
  .logo-labs { display: none; }
  .htag-box { display: none; }
  .htag:nth-child(4) .htag-box { display: grid; }
  .svc-row-link { grid-template-columns: 1fr 44px; padding: 22px 8px 14px; gap: 12px; }
  .svc-ico { display: none; }
  .svc-name { grid-column: 1; }
  .svc-short { grid-column: 1 / -1; grid-row: 2; }
  .svc-go { grid-column: 2; grid-row: 1; width: 44px; height: 44px; }
  .svc-subs { padding: 0 8px 22px; }
  .case-grid, .case-grid-2, .post-grid, .split-grid, .fit-grid, .sub-grid, .sub-grid:has(> li:nth-child(2):last-child), .sub-grid:has(> li:nth-child(4):last-child) { grid-template-columns: 1fr; }
  .case-link { min-height: 360px; }
  .ind-grid, .values-grid { grid-template-columns: 1fr; }
  .check-list { grid-template-columns: 1fr; }
  .outcome-grid, .metrics-grid { grid-template-columns: 1fr; }
  .outcome, .outcome + .outcome, .metric + .metric { border-left: 0; padding-left: 0; padding-right: 0; }
  .outcome + .outcome, .metric + .metric { border-top: 1.5px solid currentColor; padding-top: 24px; margin-top: 24px; }
  .outcome { padding-bottom: 8px; }
  .quotes-head { flex-direction: column; align-items: flex-start; }
  .quote-track { grid-auto-columns: 92%; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .field-grid { grid-template-columns: 1fr; }
  .tl-item { grid-template-columns: 1fr; gap: 8px; }
  .modal { padding: 0; align-items: end; }
  .modal-panel { max-height: 94vh; max-height: 94dvh; border-radius: var(--r-lg) var(--r-lg) 0 0; }
  .modal-body { padding: 28px 20px 24px; }
  .step-nav { position: sticky; bottom: -24px; background: var(--white); padding: 12px 0 20px; margin-bottom: -20px; }
  .faq summary { font-size: 1.1rem; }
  .faq-a { padding-right: 0; }
  .phero::after { width: 40vw; right: 8vw; top: auto; bottom: -20vw; opacity: 1; }
  .report-mock { transform: none; }
  .rm-kpis { grid-template-columns: 1fr 1fr; }
  .cookie { left: 12px; right: 12px; bottom: 12px; }
  .nl-row { flex-direction: column; }
  .nl-row input { flex: none; width: 100%; }
  .nl-row .btn { width: 100%; }
  .map-section iframe { height: 300px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .hero-path { stroke-dashoffset: 0; }
}
@media print {
  .site-header, .footer-cta, .modal, .cookie, .site-footer { display: none !important; }
}
.modal-body .steps-bar { margin-right: 52px; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.timeline-section .h2 { margin-bottom: clamp(32px, 4vw, 56px); }
.preview-note { font-size: 0.85rem; padding: 10px 14px; border-radius: 10px; background: var(--mist); color: var(--ink); margin-top: 8px; display: block !important; }
.form-card.is-done > .preview-note { display: block !important; }

/* ==========================================================================
   v2 — motion, depth and interaction
   ========================================================================== */
:root { --r-xl: clamp(26px, 3.6vw, 48px); }

/* Cross-page transitions (browsers without support just navigate normally) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vtOut 0.26s var(--ease) both; }
::view-transition-new(root) { animation: vtIn 0.5s var(--ease) both; }
@keyframes vtOut { to { opacity: 0; transform: translateY(-12px); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(20px); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes lineUp { to { transform: none; } }

/* Shader canvas behind dark heroes */
.shader { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: 0; transition: opacity 1.4s ease; pointer-events: none; }
.shader.is-on { opacity: 1; }
.hero { background: radial-gradient(90% 70% at 85% 80%, #2b22a8 0%, rgba(43, 34, 168, 0) 60%), var(--ink); padding-bottom: var(--r-xl); }
.hero-chart { z-index: 1; }

/* Hero headline: masked line reveal */
.ht-line { display: block; overflow: hidden; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.ht-line > span { display: block; transform: translateY(112%); animation: lineUp 1.1s var(--ease) forwards; }
.ht-line:nth-child(2) > span { animation-delay: 0.12s; }
.hero-sub { animation: fadeUp 0.9s 0.5s var(--ease) both; }

/* Rotating badge */
.spin-badge { position: absolute; right: var(--gutter); top: 0; width: clamp(128px, 11vw, 172px); aspect-ratio: 1; display: grid; place-items: center; color: var(--white); text-decoration: none; animation: fadeUp 0.9s 0.9s var(--ease) both; }
.spin-badge > svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 20s linear infinite; }
.spin-badge text { font-size: 16.5px; font-weight: 600; letter-spacing: 0.02em; fill: currentColor; }
.spin-badge > span { width: 42%; aspect-ratio: 1; border-radius: 50%; background: var(--sun); color: var(--ink); display: grid; place-items: center; transition: transform 0.35s var(--ease); }
.spin-badge:hover > span { transform: rotate(-45deg) scale(1.1); }

/* Sheets: sections slide over the hero with rounded shoulders */
.marquee-band, .phero + section, .phero + .section { position: relative; z-index: 3; border-radius: var(--r-xl) var(--r-xl) 0 0; margin-top: calc(var(--r-xl) * -1); }
:where(.phero + section) { background-color: var(--paper); }
.phero { padding-bottom: calc(clamp(80px, 10vw, 140px) + var(--r-xl)); }
.phero-line { bottom: var(--r-xl); }
.phero .h1 { animation: fadeUp 0.9s 0.05s var(--ease) both; }
.phero-intro, .phero .btn-row, .phero-aside { animation: fadeUp 0.9s 0.22s var(--ease) both; }
.phero::after { animation: sunRise 1.3s 0.15s var(--ease) both; }
@keyframes sunRise { from { opacity: 0; transform: translateY(26%); } }
.footer-cta { position: relative; z-index: 2; border-radius: var(--r-xl) var(--r-xl) 0 0; margin-top: calc(var(--r-xl) * -1); padding-bottom: var(--r-xl); }
.site-footer { position: relative; z-index: 2; border-radius: var(--r-xl) var(--r-xl) 0 0; margin-top: calc(var(--r-xl) * -1); overflow: hidden; }
.industries-section, .outcomes { border-radius: var(--r-xl); margin-inline: clamp(8px, 1.2vw, 20px); }

/* Marquees */
.marquee-band { background: var(--paper); padding: clamp(26px, 3.6vw, 52px) 0 clamp(18px, 2.6vw, 36px); overflow: hidden; }
.marquee { display: flex; overflow: hidden; user-select: none; -webkit-user-select: none; }
.marquee-track { display: flex; flex: none; align-items: center; min-width: 100%; justify-content: space-around; animation: marquee var(--mq, 44s) linear infinite; }
@keyframes marquee { to { transform: translateX(-100%); } }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
.marquee-xl { transform: skewX(calc(var(--skew, 0) * 1deg)); transition: transform 0.4s var(--ease); }
.marquee-xl li { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 44px); padding-right: clamp(18px, 2.6vw, 44px); font-size: clamp(3.2rem, 1.4rem + 8.4vw, 9.4rem); font-weight: 750; letter-spacing: -0.03em; line-height: 1.02; font-variation-settings: 'opsz' 96, 'wdth' 78; white-space: nowrap; }
.marquee-xl a { text-decoration: none; transition: color 0.25s; }
.marquee-xl a:hover { color: var(--cobalt); }
.mq-outline a { color: var(--cobalt); }
.mq-outline a:hover { color: var(--ink); }
.mq-star { width: 0.4em; height: 0.4em; color: var(--sun); flex: none; animation: spin 9s linear infinite; }
.platforms { background: var(--paper); border-block: 1px solid var(--line); padding: 26px 0 28px; display: grid; gap: 14px; overflow: hidden; }
.platforms-label { font-weight: 600; font-size: var(--fs-sm); color: var(--muted); }
.marquee-sm .marquee-track { --mq: 38s; }
.marquee-sm li { padding: 0 clamp(18px, 2.4vw, 34px); font-weight: 700; font-size: clamp(1.15rem, 1rem + 0.6vw, 1.5rem); letter-spacing: -0.02em; color: var(--muted); white-space: nowrap; font-variation-settings: 'opsz' 36, 'wdth' 82; }

/* Manifesto: words light up as you scroll */
.manifesto { background: var(--paper); padding: clamp(72px, 11vw, 170px) 0 clamp(56px, 8vw, 120px); }
.manifesto-text { font-size: clamp(1.9rem, 0.9rem + 4.4vw, 4.8rem); font-weight: 650; line-height: 1.05; letter-spacing: -0.03em; font-variation-settings: 'opsz' 96, 'wdth' 84; max-width: 22em; text-wrap: pretty; }
.manifesto-text .w { opacity: 0.13; transition: opacity 0.35s linear; }
.manifesto-text .w.on { opacity: 1; }
.manifesto-foot { margin-top: clamp(20px, 3vw, 40px); }

/* Process: stacking cards */
.pstack { display: flex; flex-direction: column; gap: 20px; }
.pcard { position: sticky; top: calc(var(--header-h) + 28px + var(--i) * 22px); display: flex; flex-direction: column; min-height: clamp(300px, 30vw, 380px); padding: clamp(24px, 3.2vw, 44px); border-radius: var(--r-lg); background: var(--white); border: 1.5px solid var(--ink); box-shadow: 0 -20px 44px -30px rgba(23, 19, 74, 0.4); }
.pcard-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: auto; padding-bottom: 28px; }
.pcard-n { font-size: clamp(3.6rem, 2.4rem + 3.4vw, 6.4rem); font-weight: 750; line-height: 0.82; letter-spacing: -0.03em; font-variation-settings: 'opsz' 96, 'wdth' 78; color: var(--cobalt); }
.pcard-art { width: clamp(120px, 14vw, 210px); color: var(--cobalt); flex: none; }
.pcard h3 { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.5rem); font-weight: 700; letter-spacing: -0.025em; line-height: 1.04; margin-bottom: 10px; }
.pcard p { max-width: 54ch; opacity: 0.82; }
.pcard-2 { background: var(--cobalt); color: var(--white); border-color: var(--cobalt); }
.pcard-3 { background: var(--ink); color: var(--white); border-color: var(--ink); }
.pcard-2 .pcard-n, .pcard-2 .pcard-art, .pcard-3 .pcard-n, .pcard-3 .pcard-art { color: var(--sun); }

/* Services: floating preview that follows the pointer */
.svc-preview { position: fixed; left: 0; top: 0; z-index: 60; width: 230px; height: 280px; margin: -140px 0 0 28px; border-radius: 28px; overflow: hidden; background: var(--ink); box-shadow: 0 40px 80px -28px rgba(23, 19, 74, 0.65); pointer-events: none; opacity: 0; transition: opacity 0.25s; will-change: transform; display: none; }
html.has-cursor .svc-preview { display: block; }
.svc-preview.is-on { opacity: 1; }
.svc-pv { --c: var(--cobalt); position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; color: var(--c); opacity: 0; transform: scale(0.9); transition: opacity 0.3s, transform 0.5s var(--ease); }
.svc-pv.on { opacity: 1; transform: none; }
.svc-pv svg { width: 62%; }
.svc-pv span { color: var(--white); font-weight: 650; font-size: 0.95rem; }
.svc-pv-cobalt { --c: #8c82ff; } .svc-pv-saffron { --c: var(--sun); } .svc-pv-mint { --c: var(--mint); } .svc-pv-coral { --c: var(--coral); }
.art-blink { animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* Bento: how we work */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(260px, auto); gap: 16px; }
.tile { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; padding: 26px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); }
.tile-a { grid-column: span 2; grid-row: span 2; padding: clamp(26px, 3.2vw, 44px); background: var(--cobalt); color: var(--white); border-color: transparent; }
.tile-b { background: var(--sun); border-color: transparent; }
.tile-c { background: var(--ink); color: var(--white); border-color: transparent; }
.tile-e { background: var(--mint); border-color: transparent; }
.tile-num { display: flex; align-items: baseline; gap: 6px; margin-bottom: auto; padding-bottom: 22px; font-size: clamp(3.6rem, 2.4rem + 3.2vw, 5.8rem); font-weight: 750; line-height: 0.85; letter-spacing: -0.04em; font-variation-settings: 'opsz' 96, 'wdth' 78; font-variant-numeric: tabular-nums; }
.tile-a .tile-num { font-size: clamp(6rem, 2.6rem + 11vw, 13.5rem); }
.tile-num small { font-size: 0.26em; font-weight: 650; letter-spacing: -0.01em; }
.tile-c .tile-num { color: var(--sun); }
.tile h3 { font-size: 1.35rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 8px; }
.tile-a h3 { font-size: var(--fs-h3); }
.tile > p:last-of-type { font-size: var(--fs-sm); line-height: 1.5; max-width: 40ch; }
.tile-a > p:last-of-type { font-size: 1.05rem; }
.tile-art { position: absolute; right: 0; top: 0; width: 62%; height: 56%; color: var(--sun); z-index: -1; }
[data-spot]::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.26), transparent 62%); opacity: 0; transition: opacity 0.35s; pointer-events: none; }
[data-spot]:hover::before { opacity: 1; }

/* Work: horizontal gallery (pinned on desktop, swipe on touch) */
.hwork { position: relative; background: var(--white); padding: clamp(72px, 10vw, 140px) 0; }
.hwork-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 48px); }
.hwork-view { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.hwork-view::-webkit-scrollbar { display: none; }
.hwork-track { display: flex; gap: 20px; width: max-content; padding: 10px max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); }
.hwork-track .case-card { flex: none; width: min(80vw, 470px); scroll-snap-align: center; }
.hwork-end { flex: none; width: min(64vw, 320px); display: flex; flex-direction: column; justify-content: space-between; padding: 30px; border-radius: var(--r-lg); border: 1.5px solid var(--ink); text-decoration: none; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); font-weight: 700; line-height: 1.04; letter-spacing: -0.03em; scroll-snap-align: center; transition: background 0.3s, color 0.3s; }
.hwork-end:hover { background: var(--ink); color: var(--white); }
.hwork-end .ico { width: 44px; height: 44px; align-self: flex-end; }
.hwork-bar { height: 4px; margin-top: clamp(24px, 3vw, 40px); border-radius: 99px; background: var(--mist); overflow: hidden; }
.hwork-bar span { display: block; height: 100%; background: var(--cobalt); border-radius: inherit; transform-origin: left; transform: scaleX(var(--p, 0.08)); }
.hwork.is-pinned { height: var(--hh); padding: 0; }
.hwork.is-pinned .hwork-sticky { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding-top: 24px; }
.hwork.is-pinned .hwork-view { overflow: visible; }
.hwork.is-pinned .hwork-track { will-change: transform; }
.hwork.is-pinned .case-link { min-height: min(54vh, 460px); }

/* Tilt on case cards (pointer devices) */
.case-card { transform-style: preserve-3d; }
html.has-cursor .case-card:hover { transform: none; }
html.has-cursor .case-card { transition: transform 0.25s var(--ease); }

/* Footer wordmark */
.footer-mark { margin: clamp(36px, 5vw, 72px) calc(var(--gutter) * -1) 0; text-align: center; white-space: nowrap; overflow: hidden; font-size: 21vw; font-weight: 780; line-height: 0.8; letter-spacing: -0.02em; font-variation-settings: 'opsz' 96, 'wdth' 78; color: transparent; background: linear-gradient(180deg, #3a33a0 0%, rgba(46, 40, 120, 0.15) 88%); -webkit-background-clip: text; background-clip: text; user-select: none; -webkit-user-select: none; }
.footer-bottom { margin-top: 0; border-top: 0; position: relative; }

/* Pointer follower */
.cursor { position: fixed; left: 0; top: 0; z-index: 500; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; border: 1.5px solid #fff; mix-blend-mode: difference; pointer-events: none; opacity: 0; display: none; place-items: center; transition: opacity 0.3s, width 0.35s var(--ease), height 0.35s var(--ease), margin 0.35s var(--ease), background-color 0.3s, border-color 0.3s; will-change: transform; }
html.has-cursor .cursor { display: grid; }
.cursor.is-on { opacity: 1; }
.cursor.is-link { width: 68px; height: 68px; margin: -34px 0 0 -34px; border-width: 1px; }
.cursor.is-label { width: 88px; height: 88px; margin: -44px 0 0 -44px; background: var(--sun); border-color: var(--sun); mix-blend-mode: normal; }
.cursor span { font-size: 0.85rem; font-weight: 700; color: var(--ink); opacity: 0; transition: opacity 0.2s; }
.cursor.is-label span { opacity: 1; }

/* Scroll reveals (classes are added by JS only to elements below the fold) */
.rv { opacity: 0; transform: translateY(34px); }
.rv.in { opacity: 1; transform: none; transition: opacity 0.8s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
.wd { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.wd > span { display: inline-block; transform: translateY(112%); transition: transform 0.95s var(--ease); transition-delay: calc(var(--w, 0) * 45ms); }
.split.in .wd > span { transform: none; }

/* Phone: thumb-reach action bar */
.mbar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 90; display: none; align-items: center; gap: 8px; padding: 8px; border-radius: 999px; background: rgba(23, 19, 74, 0.88); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px); color: var(--white); border: 1px solid var(--line-l); box-shadow: 0 22px 44px -16px rgba(23, 19, 74, 0.65); transform: translateY(160%); transition: transform 0.5s var(--ease); }
.mbar.is-on { transform: none; }
.mbar-call { flex: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-l); display: grid; place-items: center; }
.mbar-link { flex: 1; text-align: center; font-weight: 600; font-size: 0.97rem; text-decoration: none; padding: 12px 4px; }
.mbar .btn { flex: none; min-height: 48px; }

@media (max-width: 1100px) {
  .spin-badge { display: none; }
}
@media (max-width: 1024px) {
  .pcard { top: calc(var(--header-h) + 14px + var(--i) * 14px); }
  .bento { grid-auto-rows: minmax(230px, auto); }
  .tile { padding: 22px; }
}
@media (max-width: 720px) {
  .mbar { display: flex; }
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; gap: 10px; }
  .tile { padding: 18px; min-height: 210px; border-radius: 22px; }
  .tile-a { grid-row: auto; min-height: 300px; padding: 24px; }
  .tile h3 { font-size: 1.1rem; }
  .tile > p:last-of-type { font-size: 0.86rem; line-height: 1.4; }
  .tile-a > p:last-of-type { font-size: 0.98rem; }
  .pcard { min-height: 290px; }
  .pcard-art { width: 110px; }
  .phero::after { bottom: calc(var(--r-xl) - 20vw); }
  .site-header.is-solid .header-inner, [data-header-theme='light'] .site-header .header-inner { height: 58px; padding: 0 8px 0 16px; width: calc(100% - 16px); }
  .site-footer { padding-bottom: 96px; }
  .industries-section, .outcomes { margin-inline: 6px; }
  .cookie { bottom: 12px; z-index: 260; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track, .spin-badge > svg, .mq-star { animation: none !important; }
  .ht-line > span { transform: none; }
  .rv, .wd > span { opacity: 1 !important; transform: none !important; }
  .manifesto-text .w { opacity: 1; }
}
/* Film grain over the dark heroes */
.hero::before, .phero::before { display: none; content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0.22; mix-blend-mode: soft-light; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ==========================================================================
   v3 — service pages: hero with product mock, answer block, why grid,
   problems and fixes, tabbed formats, operating numbers, comparison, personas
   ========================================================================== */
.shero { padding-bottom: calc(clamp(56px, 7vw, 100px) + var(--r-xl)); }
.shero::after { display: none; }
.shero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.shero .h1 { font-size: clamp(2.3rem, 1.1rem + 3.5vw, 4.5rem); max-width: 17ch; line-height: 1; }
.shero-bullets { display: grid; gap: 10px; margin-top: 26px; animation: fadeUp 0.9s 0.3s var(--ease) both; }
.shero-bullets li { display: flex; gap: 12px; align-items: flex-start; font-weight: 550; line-height: 1.4; }
.shero-bullets .ico { flex: none; width: 22px; height: 22px; padding: 3px; margin-top: 1px; border-radius: 50%; background: var(--accent); color: var(--ink); stroke-width: 2.6; }
.phero-cobalt .shero-bullets .ico { color: #fff; }
.shero-visual { position: relative; display: grid; place-items: center; min-height: 420px; animation: fadeUp 1s 0.35s var(--ease) both; }
.shero-visual::before { content: ''; position: absolute; left: 50%; top: 4%; width: min(118%, 520px); aspect-ratio: 1; margin-left: calc(min(118%, 520px) / -2); border-radius: 50%; background: var(--accent); clip-path: inset(0 0 50% 0); }

/* Mock primitives */
.mock { position: relative; z-index: 1; width: min(100%, 410px); color: var(--ink); font-size: 13px; line-height: 1.35; animation: floaty 7s ease-in-out infinite; }
@keyframes floaty { 50% { transform: translateY(-10px); } }
.mock-phone { width: min(78%, 286px); }
.mock-browser { width: min(100%, 440px); }
.sk { display: block; height: 8px; border-radius: 99px; background: #c9cde2; }
.sk-dim { background: var(--mist); }
.mk-chip { position: absolute; z-index: 4; display: grid; padding: 9px 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.97); color: var(--muted); font-size: 11.5px; white-space: nowrap; box-shadow: 0 18px 40px -14px rgba(0, 0, 0, 0.55); animation: floaty 6s ease-in-out infinite reverse; }
.mk-chip b { color: var(--ink); font-size: 12.5px; }
.mk-chip-a { right: -9%; top: -5%; }
.mk-chip-b { left: -11%; bottom: -4%; animation-delay: -3s; }
.mock-phone .mk-chip-a { right: auto; left: -44%; top: 14%; }
.mock-phone .mk-chip-b { left: auto; right: -42%; bottom: 13%; }
.mk-phone { position: relative; aspect-ratio: 9 / 18.4; display: flex; flex-direction: column; gap: 10px; padding: 36px 11px 11px; border-radius: 42px; border: 8px solid #0d0a33; background: #fff; overflow: hidden; box-shadow: 0 50px 90px -30px rgba(0, 0, 0, 0.65), 0 0 0 1.5px rgba(255, 255, 255, 0.16); }
.mk-notch { position: absolute; top: 9px; left: 50%; z-index: 3; width: 80px; height: 20px; margin-left: -40px; border-radius: 99px; background: #0d0a33; }
.mk-post { display: grid; gap: 9px; padding: 10px; border-radius: 16px; background: var(--paper); }
.mk-post-head { display: flex; align-items: center; gap: 8px; }
.mk-post-head b { display: block; font-size: 12.5px; }
.mk-post-head small { color: var(--muted); font-size: 10.5px; }
.mk-av { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--cobalt); }
.mk-av-2 { background: var(--mint); }
.mk-lines { flex: 1; display: grid; gap: 5px; }
.mk-media { aspect-ratio: 6 / 5; border-radius: 12px; overflow: hidden; }
.mk-media svg { width: 100%; height: 100%; }
.mk-media-dim { aspect-ratio: 6 / 3; background: var(--mist); }
.mk-post-cta { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 600; line-height: 1.25; }
.mk-post-cta em { font-style: normal; padding: 6px 10px; border-radius: 99px; background: var(--ink); color: #fff; font-size: 11px; white-space: nowrap; }
.mk-react { display: flex; gap: 8px; }
.mk-react i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #c9cde2; }
.mk-react i:first-child { background: var(--coral); border-color: var(--coral); }
.mk-phone-video { padding: 0; background: #000; }
.mk-video { position: absolute; inset: 0; width: 100%; height: 100%; }
.mk-tag { position: absolute; top: 40px; left: 14px; padding: 4px 9px; border-radius: 99px; background: rgba(0, 0, 0, 0.45); color: #fff; font-size: 10.5px; font-weight: 600; }
.mk-side { position: absolute; right: 10px; bottom: 100px; display: grid; gap: 12px; }
.mk-side i { width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, 0.88); }
.mk-side i:first-child { background: var(--coral); }
.mk-caption { position: absolute; left: 14px; right: 54px; bottom: 22px; display: grid; gap: 5px; color: #fff; font-size: 11.5px; }
.mk-caption em { justify-self: start; margin-top: 4px; padding: 6px 12px; border-radius: 8px; background: var(--sun); color: var(--ink); font-style: normal; font-weight: 700; }
.mk-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255, 255, 255, 0.25); }
.mk-progress i { display: block; width: 0; height: 100%; background: #fff; animation: prog 6s linear infinite; }
@keyframes prog { to { width: 100%; } }
.mk-browser, .mk-card { border-radius: 22px; background: #fff; overflow: hidden; box-shadow: 0 50px 90px -30px rgba(0, 0, 0, 0.65); }
.mk-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; background: var(--paper); border-bottom: 1px solid #e3e5f0; }
.mk-bar i { width: 9px; height: 9px; border-radius: 50%; background: #c9cde2; }
.mk-url { flex: 1; height: 16px; margin-left: 8px; border-radius: 99px; background: #fff; border: 1px solid #e3e5f0; }
.mk-browser > :not(.mk-bar) { margin: 12px 14px; }
.mk-search { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 99px; border: 1.5px solid #c9cde2; font-weight: 550; }
.mk-search svg { flex: none; width: 16px; height: 16px; fill: none; stroke: var(--muted); stroke-width: 2; }
.mk-type { display: inline-block; max-width: 0; overflow: hidden; white-space: nowrap; border-right: 2px solid var(--cobalt); padding-right: 2px; animation: typing 2.2s steps(34) 0.7s forwards; }
@keyframes typing { to { max-width: 100%; } }
.mk-result { display: grid; gap: 6px; padding: 12px; border-radius: 14px; }
.mk-result small { font-size: 10.5px; font-weight: 700; color: var(--muted); }
.mk-result b { font-size: 14px; color: var(--cobalt); }
.mk-result.is-you { background: color-mix(in srgb, var(--accent) 15%, #fff); outline: 2px solid var(--accent); outline-offset: -2px; }
.mk-ai { display: grid; gap: 6px; padding: 12px; border-radius: 14px; background: var(--paper); }
.mk-ai small { font-size: 10.5px; font-weight: 700; color: var(--cobalt); }
.mk-cites { display: flex; gap: 6px; margin-top: 4px; }
.mk-cites em { display: grid; place-items: center; min-width: 54px; height: 20px; padding: 0 9px; border-radius: 99px; background: var(--mist); font-style: normal; font-size: 10.5px; font-weight: 700; }
.mk-cites em.is-you { background: var(--accent); color: var(--ink); }
.mk-shop { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.mk-prod { display: grid; gap: 5px; padding: 6px; border-radius: 10px; border: 1px solid #e3e5f0; }
.mk-prod i { aspect-ratio: 1; border-radius: 7px; background: var(--mist); }
.mk-prod.is-you { outline: 2px solid var(--accent); border-color: transparent; }
.mk-prod.is-you i { background: var(--accent); }
.mk-card { display: grid; gap: 12px; padding: 18px; }
.mk-card-flush { padding: 0; gap: 0; }
.mk-title { font-size: 14px; font-weight: 700; }
.mk-title-2 { margin-top: 6px; }
.mk-foot { color: var(--muted); font-size: 11.5px; }
.mk-steps { display: grid; }
.mk-steps li { position: relative; display: flex; align-items: center; gap: 12px; padding: 9px 0; font-weight: 550; animation: fadeUp 0.5s calc(0.5s + var(--i) * 0.3s) both; }
.mk-steps li i { position: relative; z-index: 1; flex: none; width: 14px; height: 14px; border-radius: 50%; border: 3px solid #c9cde2; background: #fff; }
.mk-steps li:not(:last-child)::after { content: ''; position: absolute; left: 6px; top: 50%; height: 100%; border-left: 2px dashed #c9cde2; }
.mk-steps .is-off { color: var(--muted); }
.mk-steps .is-you i { border-color: var(--accent); background: var(--accent); }
.mk-steps .is-done i { border-color: var(--mint); background: var(--mint); }
.mk-page { display: grid; gap: 10px; }
.mk-cols { display: grid; grid-template-columns: 1fr 70px; gap: 10px; }
.mk-article { display: grid; gap: 7px; align-content: start; }
.mk-slot { display: grid; place-items: center; border-radius: 8px; background: color-mix(in srgb, var(--accent) 22%, #fff); outline: 2px dashed var(--accent); outline-offset: -2px; font-size: 10.5px; font-weight: 700; }
.mk-slot-top { height: 38px; }
.mk-slot-box { width: 62%; height: 96px; margin: 4px 0; }
.mk-slot-side { min-height: 236px; }
.mk-slot-side span { writing-mode: vertical-rl; }
.mk-mapbox { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.mk-mapbox-tall { aspect-ratio: 4 / 3.3; }
.mk-roads { position: absolute; inset: 0; width: 100%; height: 100%; }
.mk-pin { position: absolute; width: 18px; height: 18px; margin: -18px 0 0 -9px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: #fff; border: 5px solid var(--muted-l); }
.mk-pin.is-you { width: 22px; height: 22px; margin: -22px 0 0 -11px; background: var(--ink); border-color: var(--sun); }
.mk-fence { position: absolute; width: var(--s); height: var(--s); margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2); border-radius: 50%; border: 2px dashed var(--sun); background: rgba(255, 178, 30, 0.16); animation: pulse 3s ease-in-out infinite; }
.mk-fence-2 { border-color: #fff; background: rgba(255, 255, 255, 0.12); animation-delay: -1.5s; }
@keyframes pulse { 50% { transform: scale(1.08); } }
.mk-dot { position: absolute; width: 8px; height: 8px; margin: -4px; border-radius: 50%; background: var(--sun); animation: blip 3s calc(var(--i) * 0.5s) infinite; }
@keyframes blip { 0%, 100% { opacity: 0.15; } 30%, 70% { opacity: 1; } }
.mk-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 11px; font-weight: 550; color: var(--muted); }
.mk-card-flush .mk-legend { padding: 12px 16px; }
.mk-legend span { display: flex; align-items: center; gap: 6px; }
.mk-legend i { width: 10px; height: 10px; border-radius: 50%; }
.lg-you { background: var(--ink); outline: 2px solid var(--sun); }
.lg-fence { border: 2px dashed var(--sun-d); }
.lg-dot, .lg-c { background: var(--sun); }
.lg-a { background: var(--cobalt); }
.lg-b { background: var(--mint); }
.mk-pack li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 16px; border-top: 1px solid #eceef6; }
.mk-pack b { display: block; font-size: 13px; }
.mk-pack span { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: 11px; }
.mk-pack em { padding: 5px 12px; border-radius: 99px; border: 1.5px solid #c9cde2; font-style: normal; font-size: 11px; font-weight: 700; }
.mk-pack .is-you { background: color-mix(in srgb, var(--accent) 14%, #fff); }
.mk-pack .is-you em { background: var(--ink); border-color: var(--ink); color: #fff; }
.mk-stars { display: inline-flex; gap: 1px; }
.mk-stars svg { width: 11px; height: 11px; fill: var(--sun); }
.mk-mig-head, .mk-mig li { display: grid; grid-template-columns: 1fr 40px 1fr 20px; align-items: center; }
.mk-mig-head { font-size: 12px; font-weight: 700; color: var(--muted); }
.mk-mig-head span:last-child { grid-column: 3; }
.mk-mig { display: grid; gap: 8px; }
.mk-mig li { animation: fadeUp 0.5s calc(0.5s + var(--i) * 0.28s) both; }
.mk-mig code { font-family: inherit; font-size: 10.5px; padding: 7px 8px; border-radius: 8px; background: var(--paper); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mk-mig code:nth-of-type(2) { background: color-mix(in srgb, var(--accent) 18%, #fff); font-weight: 600; }
.mk-mig em { font-style: normal; font-size: 10px; font-weight: 700; text-align: center; color: var(--cobalt); }
.mk-mig svg { width: 16px; height: 16px; margin-left: 4px; fill: none; stroke: #0d9c70; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.mk-rating { display: flex; align-items: center; gap: 12px; }
.mk-rating b { font-size: 40px; font-weight: 750; line-height: 1; letter-spacing: -0.03em; }
.mk-rating small { display: block; color: var(--muted); font-size: 10.5px; }
.mk-rating .mk-stars svg { width: 16px; height: 16px; }
.mk-review { display: grid; gap: 7px; padding: 12px; border-radius: 14px; background: var(--paper); }
.mk-review .mk-post-head > .mk-stars { margin-left: auto; }
.mk-review-dim { opacity: 0.75; }
.mk-reply { display: grid; gap: 6px; margin-top: 4px; padding: 10px; border-radius: 10px; background: #fff; border-left: 3px solid var(--accent); }
.mk-reply b { font-size: 11px; }
.mk-flow { display: grid; gap: 8px; justify-items: center; }
.mk-flow li { display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 100%; padding: 9px 12px; border-radius: 12px; background: var(--paper); animation: fadeUp 0.5s calc(0.4s + var(--i) * 0.22s) both; }
.mk-flow b { font-size: 12.5px; }
.mk-flow small { color: var(--muted); font-size: 10.5px; }
.mk-flow .is-trigger { background: var(--ink); color: #fff; }
.mk-flow .is-trigger small { color: var(--muted-l); }
.mk-flow .is-wait, .mk-flow .is-split { width: auto; padding: 5px 14px; border-radius: 99px; background: #fff; border: 1.5px dashed #c9cde2; }
.mk-flow .is-wait b, .mk-flow .is-split b { font-size: 11px; font-weight: 600; color: var(--muted); }
.mk-flow .is-split small { display: none; }
.mk-flow .is-you { background: var(--accent); }
.mk-flow .is-you small { color: var(--ink); }
.mk-form { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 6px 6px 6px 14px; border-radius: 99px; border: 1.5px solid #c9cde2; color: var(--muted); }
.mk-form em { padding: 8px 14px; border-radius: 99px; background: var(--ink); color: #fff; font-style: normal; font-size: 11.5px; font-weight: 700; }
.mk-segs { display: grid; gap: 9px; }
.mk-segs li { display: grid; grid-template-columns: 112px 1fr; align-items: center; gap: 10px; font-size: 11.5px; font-weight: 550; }
.mk-segs-tight li { grid-template-columns: 126px 1fr; }
.mk-segs li i { width: var(--w); height: 12px; border-radius: 99px; background: #c9cde2; transform-origin: left; animation: grow 0.9s calc(0.4s + var(--i) * 0.15s) var(--ease) both; }
@keyframes grow { from { transform: scaleX(0); } }
.mk-segs .is-you i { background: var(--accent); }
.mk-segs .is-off { color: var(--muted); }
.mk-segs .is-off i { background: var(--mist); }
.mk-cal-head { display: flex; justify-content: space-between; align-items: baseline; }
.mk-cal-head span { font-size: 11px; font-weight: 550; color: var(--muted); }
.mk-cal-days, .mk-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.mk-cal-days span { text-align: center; font-size: 10.5px; font-weight: 600; color: var(--muted); }
.mk-cal i { aspect-ratio: 1; border-radius: 8px; background: var(--paper); }
.mk-cal i.has { animation: pop 0.4s calc(0.3s + var(--i) * 0.03s) var(--ease) both; }
@keyframes pop { from { transform: scale(0.4); opacity: 0; } }
.mk-cal .is-a { background: var(--cobalt); }
.mk-cal .is-b { background: var(--mint); }
.mk-cal .is-c { background: var(--sun); }
.mk-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mk-kpis div { display: grid; gap: 2px; padding: 10px; border-radius: 12px; background: var(--paper); }
.mk-kpis small { font-size: 10px; color: var(--muted); }
.mk-kpis b { font-size: 18px; letter-spacing: -0.02em; }
.mk-chart { width: 100%; height: 84px; }

/* Answer block */
.answer-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.answer-text { margin-top: 22px; max-width: 34em; font-size: clamp(1.2rem, 1rem + 0.8vw, 1.6rem); line-height: 1.45; }
.updated { margin-top: 20px; font-size: var(--fs-sm); color: var(--muted); }
.facts { display: grid; margin: 0; border-top: 1.5px solid var(--ink); }
.facts > div { display: grid; gap: 4px; padding: 18px 0; border-bottom: 1.5px solid var(--ink); }
.facts dt { font-size: var(--fs-sm); font-weight: 550; color: var(--muted); }
.facts dd { margin: 0; font-size: 1.3rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }

/* Why grid */
.why { background: var(--white); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.why-card { --c: var(--cobalt); position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; gap: 10px; min-height: 270px; padding: 26px; border-radius: var(--r-lg); background: var(--paper); transition: background-color 0.3s, color 0.3s, transform 0.35s var(--ease); }
.why-saffron { --c: var(--sun); } .why-mint { --c: var(--mint); } .why-coral { --c: var(--coral); }
.why-ico { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: auto; border-radius: 50%; background: var(--c); color: var(--ink); }
.why-cobalt .why-ico { color: #fff; }
.why-card h3 { margin-top: 28px; font-size: 1.35rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; }
.why-card p { font-size: var(--fs-sm); line-height: 1.5; color: var(--muted); transition: color 0.3s; }
.why-card:hover { background: var(--ink); color: #fff; transform: translateY(-4px); }
.why-card:hover p { color: var(--muted-l); }

/* Problems and fixes */
.detox-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.detox-pains { position: sticky; top: calc(var(--header-h) + 32px); padding: clamp(26px, 3.4vw, 44px); border-radius: var(--r-lg); background: var(--ink); color: #fff; }
.detox-pains .h3 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); }
.detox-pains .x-list li { font-size: 1.08rem; line-height: 1.4; }
.detox-note { margin-top: 22px; font-size: var(--fs-sm); color: var(--muted-l); }
.fix-list { margin: 32px 0 36px; border-top: 1.5px solid var(--ink); }
.fix-list li { display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: baseline; padding: 22px 0; border-bottom: 1.5px solid var(--ink); }
.fix-n { font-size: 1.9rem; font-weight: 750; letter-spacing: -0.03em; color: var(--cobalt); font-variation-settings: 'opsz' 96, 'wdth' 78; }
.fix-list h3 { margin-bottom: 4px; font-size: 1.4rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.fix-list p { color: var(--muted); }

/* Tabbed formats */
.formats { --c: var(--cobalt); --on: #fff; margin-inline: clamp(8px, 1.2vw, 20px); border-radius: var(--r-xl); background: var(--ink); color: #fff; }
.formats-saffron { --c: var(--sun); --on: var(--ink); } .formats-mint { --c: var(--mint); --on: var(--ink); } .formats-coral { --c: var(--coral); --on: var(--ink); }
.formats .lead-sm { color: var(--muted-l); }
.tabs { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(20px, 4vw, 64px); align-items: start; }
.tab-list { display: grid; border-top: 1px solid var(--line-l); }
.tab-btn { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 4px; border: 0; border-bottom: 1px solid var(--line-l); background: none; color: var(--muted-l); text-align: left; font-size: clamp(1.2rem, 1rem + 0.8vw, 1.7rem); font-weight: 650; letter-spacing: -0.02em; line-height: 1.15; transition: color 0.2s, padding 0.3s var(--ease); }
.tab-btn::after { content: ''; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--c); transform: scale(0); transition: transform 0.3s var(--ease); }
.tab-btn:hover { color: #fff; }
.tab-btn.is-active { color: #fff; padding-left: 14px; }
.tab-btn.is-active::after { transform: none; }
.tab-panels { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 12px; }
.tab-panel { display: flex; flex-direction: column; gap: 14px; min-height: 320px; padding: clamp(26px, 3.6vw, 48px); border-radius: var(--r-lg); background: var(--c); color: var(--on); }
.js .tabs .tab-panel:not(.is-active) { display: none; }
.js .tab-panel.is-active { animation: fadeUp 0.45s var(--ease); }
.tab-panel h3 { font-size: clamp(1.8rem, 1.3rem + 1.8vw, 3rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1; font-variation-settings: 'opsz' 96, 'wdth' 82; }
.tab-panel > p:not(.tab-best) { max-width: 40ch; font-size: 1.15rem; line-height: 1.5; }
.tab-best { display: grid; gap: 2px; margin-top: auto; padding-top: 20px; border-top: 1.5px solid currentColor; font-size: 1.15rem; font-weight: 700; }
.tab-best span { font-size: var(--fs-sm); font-weight: 550; }

/* Operating numbers */
.ops { --c: var(--cobalt); --on: #fff; margin-inline: clamp(8px, 1.2vw, 20px); padding: clamp(40px, 5vw, 72px) 0; border-radius: var(--r-xl); background: var(--c); color: var(--on); }
.ops-saffron { --c: var(--sun); --on: var(--ink); } .ops-mint { --c: var(--mint); --on: var(--ink); } .ops-coral { --c: var(--coral); --on: var(--ink); }
.ops-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.op { padding: 0 24px; }
.op:first-child { padding-left: 0; }
.op + .op { border-left: 1.5px solid currentColor; }
.op-n { font-size: clamp(3rem, 1.8rem + 4vw, 6rem); font-weight: 750; line-height: 0.9; letter-spacing: -0.04em; font-variation-settings: 'opsz' 96, 'wdth' 78; }
.op-l { max-width: 18ch; margin-top: 10px; font-weight: 550; line-height: 1.3; }
.included .lead-sm { max-width: 30ch; }

/* Comparison table */
.compare { background: var(--white); }
.cmp { width: 100%; border-collapse: separate; border-spacing: 0; }
.cmp th, .cmp td { padding: 20px 22px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.cmp thead th { font-size: var(--fs-sm); font-weight: 600; color: var(--muted); border-bottom: 1.5px solid var(--ink); }
.cmp thead th:last-child { border-radius: var(--r) var(--r) 0 0; background: var(--ink); color: #fff; font-size: 1.05rem; font-weight: 700; }
.cmp tbody th { width: 24%; font-size: 1.1rem; font-weight: 700; letter-spacing: -0.015em; }
.cmp td { width: 38%; color: var(--muted); }
.cmp td:last-child { background: var(--paper); color: var(--ink); font-weight: 600; }
.cmp td:last-child .ico { float: left; width: 22px; height: 22px; padding: 3px; margin: 1px 10px 0 0; border-radius: 50%; background: var(--cobalt); color: #fff; stroke-width: 2.6; }
.cmp td:last-child span { display: block; overflow: hidden; }
.cmp tbody tr:last-child td:last-child { border-radius: 0 0 var(--r) var(--r); border-bottom: 0; }

/* Personas */
.persona-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.persona-grid li { display: flex; flex-direction: column; gap: 10px; min-height: 220px; padding: 26px; border-radius: var(--r-lg); border: 1.5px solid var(--ink); transition: background-color 0.3s, color 0.3s; }
.persona-grid h3 { font-size: var(--fs-sm); font-weight: 650; color: var(--muted); transition: color 0.3s; }
.persona-grid p { margin-top: auto; font-size: 1.3rem; font-weight: 650; letter-spacing: -0.02em; line-height: 1.2; }
.persona-grid li:hover { background: var(--ink); color: #fff; }
.persona-grid li:hover h3 { color: var(--muted-l); }
.related-section { background: var(--paper); }

@media (max-width: 1180px) {
  .why-grid, .persona-grid { grid-template-columns: repeat(2, 1fr); }
  .mk-chip-a { right: -3%; }
  .mk-chip-b { left: -3%; }
  .mock-phone .mk-chip-a { left: -30%; }
  .mock-phone .mk-chip-b { right: -30%; }
}
@media (max-width: 1024px) {
  .shero-grid, .answer-grid, .detox-grid, .tabs { grid-template-columns: 1fr; }
  .shero-visual { min-height: 0; padding: 24px 0 8px; }
  .detox-pains, .tab-panels { position: static; }
  .tab-list { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; border: 0; scrollbar-width: none; }
  .tab-list::-webkit-scrollbar { display: none; }
  .tab-btn { flex: none; padding: 10px 16px; border: 1.5px solid var(--line-l); border-radius: 99px; font-size: 1rem; }
  .tab-btn::after { display: none; }
  .tab-btn.is-active { padding-left: 16px; background: var(--c); border-color: var(--c); color: var(--on); }
  .tab-panel { min-height: 260px; }
}
@media (max-width: 720px) {
  .why-grid, .persona-grid { grid-template-columns: 1fr; }
  .why-card { min-height: 0; }
  .why-card h3 { margin-top: 18px; }
  .persona-grid li { min-height: 0; }
  .persona-grid p { margin-top: 6px; }
  .ops-grid { grid-template-columns: 1fr 1fr; gap: 28px 0; }
  .op { padding: 0 16px; }
  .op:nth-child(odd) { padding-left: 0; border-left: 0; }
  .fix-list li { grid-template-columns: 44px 1fr; gap: 10px; }
  .fix-n { font-size: 1.5rem; }
  .formats, .ops { margin-inline: 6px; }
  .mk-chip { font-size: 10.5px; padding: 7px 11px; }
  .mk-chip-a { right: -2%; top: -4%; }
  .mk-chip-b { left: -2%; bottom: -3%; }
  .mock-phone .mk-chip-a { left: -24%; top: 36%; }
  .mock-phone .mk-chip-b { right: -24%; bottom: 10%; }
  .mock-phone { width: min(70%, 260px); }
  .cmp thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  .cmp, .cmp tbody, .cmp tr, .cmp th, .cmp td { display: block; width: auto; }
  .cmp tbody th { width: auto; }
  .cmp tr { padding: 18px 0; border-bottom: 1.5px solid var(--ink); }
  .cmp th, .cmp td { padding: 6px 0; border: 0; }
  .cmp td::before { content: attr(data-label); display: block; margin-bottom: 2px; font-size: 0.8rem; font-weight: 600; color: var(--muted); }
  .cmp td:last-child, .cmp tbody tr:last-child td:last-child { margin-top: 8px; padding: 14px; border-radius: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-iteration-count: 1 !important; }
  .mk-type { max-width: 100%; }
  .mk-dot { opacity: 1; }
}

/* Home headline kicker (carries the search phrase inside the h1) */
.hero-kicker { display: flex; align-items: center; gap: 10px; margin-bottom: clamp(14px, 1.6vw, 22px); font-size: clamp(0.95rem, 0.85rem + 0.4vw, 1.2rem); font-weight: 600; letter-spacing: 0; line-height: 1.3; font-variation-settings: 'opsz' 14, 'wdth' 100; color: var(--muted-l); animation: fadeUp 0.8s var(--ease) both; }
.hero-kicker::before { content: ''; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--sun); }

/* FAQ page, glossary, HTML sitemap */
.faq-alt { background: var(--white); }
.az { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: clamp(32px, 4vw, 56px); }
.az a { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 99px; border: 1.5px solid var(--ink); font-weight: 650; text-decoration: none; transition: background-color 0.2s, color 0.2s; }
.az a:hover { background: var(--ink); color: #fff; }
.gl-group { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 28px 0; border-top: 1.5px solid var(--ink); scroll-margin-top: calc(var(--header-h) + 24px); }
.gl-letter { font-size: clamp(3rem, 2rem + 3vw, 5rem); font-weight: 750; line-height: 0.85; letter-spacing: -0.03em; color: var(--cobalt); font-variation-settings: 'opsz' 96, 'wdth' 78; }
.gl-list { display: grid; gap: 22px; margin: 0; }
.gl-term { scroll-margin-top: calc(var(--header-h) + 24px); }
.gl-term dt { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.gl-term dd { margin: 4px 0 0; max-width: 70ch; color: var(--muted); }
.gl-term dd a { color: var(--ink); font-weight: 600; text-decoration-color: var(--sun); text-decoration-thickness: 2px; text-underline-offset: 3px; white-space: nowrap; }
.gl-term:target dt { color: var(--cobalt); }
.smap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 32px; }
.smap .h3 { margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1.5px solid var(--ink); }
.smap ul { display: grid; gap: 8px; }
.smap a { text-decoration: none; color: var(--muted); }
.smap a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.article-cta a:not(.btn) { color: #fff; font-weight: 600; text-decoration-color: var(--sun); text-decoration-thickness: 2px; text-underline-offset: 3px; }
@media (max-width: 720px) {
  .gl-group { grid-template-columns: 1fr; gap: 12px; }
  .smap { grid-template-columns: 1fr; }
}
.link-row { padding: clamp(32px, 4vw, 56px) 0; background: var(--white); border-top: 1px solid var(--line); }
.link-row .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.link-row-h { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.015em; }
.link-row ul { display: flex; flex-wrap: wrap; gap: 8px; }
.link-row a { display: inline-block; padding: 9px 18px; border-radius: 99px; border: 1.5px solid var(--ink); text-decoration: none; font-weight: 550; font-size: var(--fs-sm); transition: background-color 0.2s, color 0.2s; }
.link-row a:hover { background: var(--ink); color: #fff; }
.values-grid-3 { grid-template-columns: repeat(3, 1fr); }
.value a { color: var(--ink); font-weight: 600; text-decoration-color: var(--sun); text-decoration-thickness: 2px; text-underline-offset: 3px; }
@media (max-width: 1180px) { .values-grid-3 { grid-template-columns: 1fr; } }

/* ==========================================================================
   v4 — Website Design: section nav, plans, calculator, process, report, checkup
   ========================================================================== */
.wd-nav { position: relative; z-index: 3; margin-top: calc(var(--r-xl) * -1); padding: 18px 0; border-radius: var(--r-xl) var(--r-xl) 0 0; background: var(--paper); border-bottom: 1px solid var(--line); }
.wd-nav + section, .wd-nav + .section { margin-top: 0; border-radius: 0; }
.wd-nav ul { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.wd-nav ul::-webkit-scrollbar { display: none; }
.wd-nav a { display: block; padding: 9px 18px; border-radius: 99px; border: 1.5px solid var(--ink); font-size: var(--fs-sm); font-weight: 600; text-decoration: none; white-space: nowrap; transition: background-color 0.2s, color 0.2s; }
.wd-nav a:hover { background: var(--mist); }
.wd-nav a[aria-current='page'] { background: var(--ink); color: #fff; }

/* Hero mock: a small-business site with a speed gauge */
.mk-site { display: grid; gap: 12px; }
.mk-site-nav { display: flex; align-items: center; gap: 10px; }
.mk-site-nav .mk-av { width: 22px; height: 22px; background: var(--accent); }
.mk-site-nav em { margin-left: auto; padding: 6px 12px; border-radius: 99px; background: var(--ink); color: #fff; font-style: normal; font-size: 11px; font-weight: 700; }
.mk-site-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 12px; align-items: center; padding: 14px; border-radius: 14px; background: var(--paper); }
.mk-site-hero > div:first-child { display: grid; gap: 7px; }
.mk-site-hero .sk:nth-child(-n + 2) { height: 12px; background: var(--ink); }
.mk-btn { justify-self: start; margin-top: 4px; padding: 7px 14px; border-radius: 99px; background: var(--accent); font-size: 11px; font-weight: 700; }
.mk-site-img { aspect-ratio: 1; border-radius: 12px; background: linear-gradient(135deg, var(--accent), var(--sun)); }
.mk-site-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mk-site-row > div { display: grid; gap: 6px; padding: 10px; border-radius: 12px; border: 1px solid #e3e5f0; }
.mk-gauge { position: absolute; z-index: 4; left: -9%; bottom: -8%; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 20px; background: #fff; box-shadow: 0 22px 44px -16px rgba(0, 0, 0, 0.55); animation: floaty 6s ease-in-out infinite reverse; }
.mk-gauge svg { width: 62px; height: 62px; transform: rotate(-90deg); }
.mk-gauge circle { fill: none; stroke-width: 8; stroke-linecap: round; }
.mk-gauge .g-bg { stroke: var(--mist); }
.mk-gauge .g-fg { stroke: #0d9c70; }
.mk-gauge b { position: absolute; left: 12px; width: 62px; text-align: center; font-size: 20px; font-weight: 750; letter-spacing: -0.02em; }
.mk-gauge small { font-size: 11px; font-weight: 600; color: var(--muted); line-height: 1.3; }

/* Plans */
.wd-plans-section { background: var(--white); }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 28px 24px 24px; border-radius: var(--r-lg); background: var(--paper); border: 1.5px solid transparent; transition: border-color 0.25s, transform 0.35s var(--ease), box-shadow 0.3s; }
.plan:hover { transform: translateY(-4px); }
.plan.is-picked { border-color: var(--ink); }
.plan-best { background: var(--ink); color: #fff; box-shadow: 0 40px 70px -40px rgba(23, 19, 74, 0.7); }
.plan-flag { position: absolute; top: -13px; left: 24px; padding: 5px 12px; border-radius: 99px; background: var(--sun); color: var(--ink); font-size: 0.78rem; font-weight: 700; }
.plan-name { font-size: 1.7rem; font-weight: 750; letter-spacing: -0.03em; line-height: 1; font-variation-settings: 'opsz' 72, 'wdth' 82; }
.plan-fit { min-height: 2.9em; font-size: var(--fs-sm); line-height: 1.4; color: var(--muted); }
.plan-best .plan-fit, .plan-best .plan-then { color: var(--muted-l); }
.plan-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 6px; margin-top: 14px; }
.plan-price b { font-size: clamp(2.6rem, 2rem + 1.6vw, 3.6rem); font-weight: 750; line-height: 0.95; letter-spacing: -0.04em; font-variation-settings: 'opsz' 96, 'wdth' 78; }
.plan-price span { font-size: var(--fs-sm); font-weight: 600; }
.plan-from:empty { display: none; }
.plan-then { font-size: 0.875rem; color: var(--muted); }
.plan-pages { margin-top: 12px; font-weight: 600; }
.plan-list { display: grid; gap: 9px; margin: 18px 0 8px; padding-top: 18px; border-top: 1px solid var(--line); font-size: var(--fs-sm); line-height: 1.4; }
.plan-best .plan-list { border-color: var(--line-l); }
.plan-list li { display: flex; gap: 9px; align-items: flex-start; }
.plan-list .ico { flex: none; margin-top: 2px; color: var(--cobalt); stroke-width: 2.6; }
.plan-best .plan-list .ico { color: var(--sun); }
.plan .btn { margin-top: auto; align-self: stretch; }
.plan .btn { margin-top: 18px; }
.plan > .btn:last-child { margin-top: auto; }
.plan-list + .btn, .plan-pages + .btn { margin-top: 18px; }
.plan-best .btn-ink { --bg: #fff; --fg: var(--ink); }
.plan-note { margin-top: 22px; font-size: var(--fs-sm); color: var(--muted); }
.pay-toggle { display: inline-flex; padding: 4px; border-radius: 99px; background: var(--paper); border: 1.5px solid var(--ink); }
.pay-toggle button { padding: 9px 18px; border: 0; border-radius: 99px; background: none; font-weight: 600; font-size: var(--fs-sm); transition: background-color 0.2s, color 0.2s; }
.pay-toggle button.is-active { background: var(--ink); color: #fff; }

/* Calculator */
.wd-build { background: var(--paper); scroll-margin-top: var(--header-h); }
.builder { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(320px, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.builder-main { display: grid; gap: 16px; }
.b-step { padding: clamp(20px, 2.6vw, 32px); border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); }
.b-step legend { display: flex; align-items: center; gap: 12px; float: left; width: 100%; margin-bottom: 18px; padding: 0; font-size: 1.35rem; font-weight: 700; letter-spacing: -0.02em; }
.b-step legend + * { clear: both; }
.b-n { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 0.95rem; }
.b-plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.b-pay { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.b-plan { position: relative; cursor: pointer; }
.b-plan input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.b-plan > span { display: grid; gap: 3px; height: 100%; padding: 16px; border-radius: 16px; border: 1.5px solid #c9cde2; background: var(--paper); transition: border-color 0.15s, background-color 0.15s, color 0.15s; }
.b-plan b { font-size: 1.15rem; letter-spacing: -0.015em; }
.b-plan em { font-style: normal; font-size: 0.85rem; color: var(--muted); line-height: 1.35; }
.b-plan i { margin-top: 6px; font-style: normal; font-weight: 700; }
.b-plan:hover > span { border-color: var(--ink); }
.b-plan input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.b-plan input:checked + span em { color: var(--muted-l); }
.b-plan input:focus-visible + span { outline: 3px solid var(--sun); outline-offset: 2px; }
.b-addons { display: grid; }
.b-addons li { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 16px 0; border-top: 1px solid var(--line); }
.b-addons li:first-child { border-top: 0; padding-top: 0; }
.b-addon-name { font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; }
.b-addon-help { font-size: var(--fs-sm); color: var(--muted); line-height: 1.4; }
.b-addon-price { margin-top: 4px; font-size: 0.875rem; font-weight: 600; }
.b-included { color: #0d7d5b; }
.b-addons li.is-included .b-qty, .b-addons li.is-included .b-switch { opacity: 0.35; }
.b-qty { display: flex; align-items: center; flex: none; border-radius: 99px; border: 1.5px solid var(--ink); }
.b-qty button { display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: none; }
.b-qty button:hover { background: var(--mist); }
.b-qty input { width: 44px; height: 42px; padding: 0; border: 0; background: none; text-align: center; font-weight: 700; -moz-appearance: textfield; appearance: textfield; }
.b-qty input::-webkit-outer-spin-button, .b-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.b-switch { position: relative; flex: none; display: block; width: 58px; height: 34px; cursor: pointer; }
.b-switch input { position: absolute; inset: 0; opacity: 0; cursor: pointer; z-index: 1; }
.b-switch span { position: absolute; inset: 0; border-radius: 99px; background: #c9cde2; font-size: 0; transition: background-color 0.2s; }
.b-switch span::after { content: ''; position: absolute; left: 4px; top: 4px; width: 26px; height: 26px; border-radius: 50%; background: #fff; transition: transform 0.25s var(--ease); }
.b-switch input:checked + span { background: var(--cobalt); }
.b-switch input:checked + span::after { transform: translateX(24px); }
.b-switch input:focus-visible + span { outline: 3px solid var(--sun); outline-offset: 2px; }
.b-more { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); font-size: var(--fs-sm); color: var(--muted); }
.builder-side { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 16px; }
.b-sum { padding: 26px; border-radius: var(--r-lg); background: var(--ink); color: #fff; }
.b-sum-h { margin-bottom: 14px; font-size: 1.2rem; font-weight: 700; letter-spacing: -0.02em; }
.b-lines { display: grid; gap: 8px; padding-bottom: 16px; border-bottom: 1px solid var(--line-l); font-size: var(--fs-sm); }
.b-lines li { display: flex; justify-content: space-between; gap: 14px; }
.b-lines span { color: var(--muted-l); }
.b-lines b { white-space: nowrap; font-weight: 600; }
.b-total { padding: 16px 0 12px; }
.b-total p:first-child, .b-after p:first-child { font-size: var(--fs-sm); color: var(--muted-l); }
.b-total-v { font-size: clamp(3rem, 2.2rem + 2.4vw, 4.4rem); font-weight: 750; line-height: 0.95; letter-spacing: -0.04em; color: var(--sun); font-variation-settings: 'opsz' 96, 'wdth' 78; font-variant-numeric: tabular-nums; }
.b-total-v span { font-size: 0.3em; letter-spacing: 0; margin-left: 4px; }
.b-after { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line-l); }
.b-after p:last-child { font-weight: 700; font-size: 1.15rem; white-space: nowrap; }
.b-sum-note { font-size: 0.85rem; color: var(--muted); line-height: 1.45; }
.b-sum .b-sum-note { color: var(--muted-l); }
.b-brief { display: grid; gap: 16px; }
.b-brief-h { display: flex; align-items: center; gap: 12px; font-size: 1.35rem; font-weight: 700; letter-spacing: -0.02em; }
.b-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.b-fields .field:last-child { grid-column: 1 / -1; }
.b-brief .btn { justify-self: start; min-width: 240px; }
.b-plan i small { font-size: 0.8em; font-weight: 600; }
.builder .form-success { padding: clamp(20px, 2.6vw, 32px); border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); }
.builder.is-done .b-brief { display: none; }

/* Care, guarantees, steps */
.care-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1.5px solid var(--ink); border-left: 1px solid var(--line); }
.care-grid li { padding: 24px 22px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.care-grid h3 { margin-bottom: 6px; font-size: 1.2rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.care-grid p { font-size: var(--fs-sm); color: var(--muted); line-height: 1.5; }
.wd-care-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.wd-guarantee-section { background: var(--white); }
.wd-guarantees { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.wd-guarantees li { display: flex; flex-direction: column; gap: 8px; padding: 26px; border-radius: var(--r-lg); background: var(--paper); }
.wd-guarantees .why-ico { --c: var(--coral); margin-bottom: 14px; }
.wd-guarantees h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; }
.wd-guarantees p { font-size: var(--fs-sm); color: var(--muted); line-height: 1.5; }
.wd-steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1.5px solid var(--ink); }
.wd-steps-3 { grid-template-columns: repeat(3, 1fr); }
.wd-steps li { display: flex; flex-direction: column; gap: 6px; padding: 26px 24px 8px 0; }
.wd-steps li + li { padding-left: 24px; border-left: 1.5px solid var(--ink); }
.wd-step-n { font-size: clamp(2.6rem, 2rem + 2vw, 4rem); font-weight: 750; line-height: 0.9; letter-spacing: -0.03em; color: var(--cobalt); font-variation-settings: 'opsz' 96, 'wdth' 78; }
.wd-step-when { margin-top: 10px; font-size: var(--fs-sm); font-weight: 600; color: var(--muted); }
.wd-steps h3 { font-size: 1.45rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.wd-steps-3 h3 { margin-top: 12px; }
.wd-steps li > p:last-child { color: var(--muted); font-size: var(--fs-sm); line-height: 1.5; }
.wd-flow { display: grid; gap: 20px; }
.wd-stage { display: grid; grid-template-columns: 300px 1fr; gap: clamp(20px, 4vw, 56px); padding: clamp(24px, 3.4vw, 44px); border-radius: var(--r-lg); background: var(--white); border: 1.5px solid var(--ink); }
.wd-stage:nth-child(2) { background: var(--cobalt); border-color: var(--cobalt); color: #fff; }
.wd-stage:nth-child(4) { background: var(--ink); border-color: var(--ink); color: #fff; }
.wd-stage-head { display: flex; gap: 18px; align-items: flex-start; }
.wd-stage-n { font-size: clamp(3.4rem, 2.4rem + 3vw, 5.6rem); font-weight: 750; line-height: 0.82; letter-spacing: -0.03em; color: var(--cobalt); font-variation-settings: 'opsz' 96, 'wdth' 78; }
.wd-stage:nth-child(2) .wd-stage-n, .wd-stage:nth-child(4) .wd-stage-n { color: var(--sun); }
.wd-stage-head h3 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); font-weight: 700; letter-spacing: -0.025em; line-height: 1.02; }
.wd-stage .wd-step-when { margin: 0 0 4px; }
.wd-stage:nth-child(2) .wd-step-when, .wd-stage:nth-child(4) .wd-step-when { color: #fff; }
.wd-stage-title { margin-bottom: 20px; font-size: clamp(1.2rem, 1rem + 0.7vw, 1.55rem); font-weight: 650; letter-spacing: -0.02em; line-height: 1.2; }
.wd-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.wd-cols h4 { margin: 0 0 10px; padding-bottom: 10px; border-bottom: 1.5px solid currentColor; font-size: var(--fs-sm); font-weight: 700; }
.wd-cols ul { display: grid; gap: 9px; font-size: var(--fs-sm); line-height: 1.45; }
.wd-cols li { position: relative; padding-left: 18px; }
.wd-cols li::before { content: ''; position: absolute; left: 0; top: 0.55em; width: 8px; height: 8px; border-radius: 50%; background: var(--sun); }
.wd-stage:nth-child(odd) .wd-cols li::before { background: var(--cobalt); }
.wd-stage:nth-child(4) .wd-cols li::before { background: var(--sun); }

/* Monthly report */
.wd-report-teaser, .wd-report { background: var(--white); }
.wd-report-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.wd-report-grid .btn { margin-top: 26px; }
.wd-report-full { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.wd-report-intro { position: sticky; top: calc(var(--header-h) + 32px); }
.rep { display: grid; gap: 14px; padding: clamp(18px, 2.4vw, 30px); border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); box-shadow: 0 40px 80px -50px rgba(23, 19, 74, 0.5); }
.rep-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.rep-title { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; }
.rep-sub { font-size: var(--fs-sm); color: var(--muted); }
.rep-tag { display: inline-block; padding: 4px 10px; border-radius: 99px; background: var(--mist); color: var(--muted); font-size: 0.75rem; font-weight: 600; white-space: nowrap; }
.rep-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.rep-stats li { display: grid; gap: 2px; align-content: start; padding: 14px; border-radius: 16px; background: var(--white); }
.rep-l { font-size: 0.8rem; font-weight: 600; color: var(--muted); }
.rep-v { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; font-size: clamp(1.6rem, 1.3rem + 0.9vw, 2.2rem); font-weight: 750; line-height: 1; letter-spacing: -0.03em; font-variation-settings: 'opsz' 72, 'wdth' 80; }
.rep-v em { padding: 2px 7px; border-radius: 99px; background: #d7f5ea; color: #0a6b4d; font-style: normal; font-size: 0.75rem; font-weight: 700; letter-spacing: 0; }
.rep-n { font-size: 0.75rem; color: var(--muted); line-height: 1.3; }
.rep-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rep-box { padding: 18px; border-radius: 16px; background: var(--white); }
.rep-box h3, .rep-next h3 { margin-bottom: 12px; font-size: 1rem; font-weight: 700; letter-spacing: -0.01em; }
.rep-bars { display: grid; gap: 9px; }
.rep-bars li { display: grid; grid-template-columns: 116px 1fr 40px; align-items: center; gap: 10px; font-size: 0.85rem; }
.rep-bars i { width: var(--w); min-width: 6px; height: 12px; border-radius: 99px; background: var(--cobalt); }
.rep-bars b { text-align: right; }
.rep-work { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; font-size: 0.85rem; line-height: 1.4; }
.rep-work li { display: flex; gap: 10px; }
.rep-work .ico { flex: none; width: 20px; height: 20px; padding: 3px; margin-top: 1px; border-radius: 50%; background: var(--mint); color: var(--ink); stroke-width: 2.8; }
.rep-work p + p { color: var(--muted); }
.rep-next { padding: 18px; border-radius: 16px; background: var(--sun); }
.rep-next p { font-weight: 550; line-height: 1.45; }
.wd-scenarios { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.wd-scenarios li { padding: 26px; border-radius: var(--r-lg); border: 1.5px solid var(--ink); }
.wd-scenarios h3 { margin-bottom: 8px; font-size: 1.4rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.wd-scenarios p { color: var(--muted); font-size: var(--fs-sm); line-height: 1.55; }
.wd-scenarios a { color: var(--ink); font-weight: 600; text-decoration-color: var(--sun); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.op-n small { margin-left: 4px; font-size: 0.3em; letter-spacing: 0; }

/* Checkup: call-to-action band, form, progress and results */
.wd-check { padding: clamp(48px, 6vw, 88px) 0; margin-inline: clamp(8px, 1.2vw, 20px); border-radius: var(--r-xl); background: var(--sun); color: var(--ink); }
.wd-check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.wd-check p { margin-top: 12px; max-width: 46ch; line-height: 1.5; }
.wd-urlform label, .scan-label { display: block; margin-bottom: 8px; font-weight: 700; }
.wd-urlrow { display: flex; gap: 8px; padding: 6px; border-radius: 99px; background: #fff; border: 1.5px solid var(--ink); }
.wd-urlrow input { flex: 1; min-width: 0; height: 58px; padding: 0 20px; border: 0; border-radius: 99px; background: none; font-size: 1.1rem; }
.wd-urlrow input:focus { outline: none; }
.wd-urlrow:focus-within { box-shadow: 0 0 0 4px rgba(75, 59, 255, 0.25); }
.checkup { padding-top: clamp(40px, 5vw, 72px); }
.scan { max-width: 780px; }
.scan-label { font-size: 1.35rem; letter-spacing: -0.02em; }
.scan-help { margin-top: 10px; font-size: var(--fs-sm); color: var(--muted); }
.scan .form-status { margin-top: 10px; }
.scan-hero { margin-top: clamp(24px, 3vw, 36px); max-width: 640px; animation: fadeUp 0.9s 0.3s var(--ease) both; }
.scan-hero .scan-label { font-size: 1.05rem; letter-spacing: 0; }
.scan-hero .wd-urlrow { border-color: #fff; }
.scan-hero .wd-urlrow input { color: var(--ink); }
.scan-hero .scan-help, .phero noscript .scan-help { color: var(--muted-l); }
.scan-hero .form-status.is-error { background: rgba(214, 41, 80, 0.2); color: #ffc2cf; }
.phero:has(.scan-hero) { padding-bottom: calc(clamp(64px, 7vw, 88px) + var(--r-xl)); }
@media (max-width: 1024px) { .phero:has(.scan-hero)::after { display: none; } }
.checkup[hidden] { display: none; }
.scan-progress { display: flex; align-items: center; gap: 20px; max-width: 780px; margin-top: 28px; padding: 24px; border-radius: var(--r-lg); background: var(--ink); color: #fff; }
.scan-ring { flex: none; width: 52px; height: 52px; border-radius: 50%; border: 5px solid var(--line-l); border-top-color: var(--sun); animation: spin 0.9s linear infinite; }
.scan-step { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.015em; }
.scan-sub { font-size: var(--fs-sm); color: var(--muted-l); }
.scan-results { display: grid; gap: 20px; margin-top: 36px; scroll-margin-top: calc(var(--header-h) + 20px); }
.scan-results:focus { outline: none; }
.scan-results h3 { font-size: 1.45rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.res-top { display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); padding: clamp(24px, 3.4vw, 44px); border-radius: var(--r-lg); background: var(--ink); color: #fff; }
.res-gauge { position: relative; flex: none; display: grid; place-items: center; width: 84px; height: 84px; --g: var(--muted); }
.res-gauge.is-good { --g: #19c48f; } .res-gauge.is-ok { --g: var(--sun); } .res-gauge.is-poor { --g: var(--coral); }
.res-gauge svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.res-gauge circle { fill: none; stroke-width: 10; stroke-linecap: round; }
.res-gauge .g-bg { stroke: rgba(127, 127, 170, 0.25); }
.res-gauge .g-fg { stroke: var(--g); animation: gaugeIn 1.2s var(--ease) both; }
@keyframes gaugeIn { from { stroke-dasharray: 0 100; } }
.res-gauge b { position: relative; font-size: 1.6rem; font-weight: 750; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.res-gauge-lg { width: clamp(130px, 16vw, 190px); height: clamp(130px, 16vw, 190px); }
.res-gauge-lg b { font-size: clamp(3rem, 2.2rem + 2.6vw, 4.6rem); font-variation-settings: 'opsz' 96, 'wdth' 78; }
.res-host { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; color: var(--muted-l); font-weight: 600; word-break: break-all; }
.res-top .res-verdict { margin: 4px 0 10px; font-size: clamp(1.9rem, 1.3rem + 2.2vw, 3.4rem); letter-spacing: -0.03em; line-height: 1; font-variation-settings: 'opsz' 96, 'wdth' 82; }
.res-sum { max-width: 52ch; color: var(--muted-l); line-height: 1.5; }
.res-sum a { color: #fff; }
.res-fixes { padding: clamp(22px, 3vw, 36px); border-radius: var(--r-lg); background: var(--sun); }
.res-fixes ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; counter-reset: f; }
.res-fixes li { counter-increment: f; display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: 18px; background: #fff; }
.res-fix-area { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; font-weight: 700; color: var(--muted); }
.res-fix-area::before { content: counter(f); display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: #fff; }
.res-fix-t { font-size: 1.08rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; }
.res-fix-d { font-size: 0.85rem; color: var(--muted); line-height: 1.4; }
.res-google, .res-areas, .res-cta { padding: clamp(22px, 3vw, 36px); border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); }
.res-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 20px 0; }
.res-cats li { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 16px; background: var(--paper); font-weight: 650; }
.res-cats .res-gauge { width: 64px; height: 64px; }
.res-cats .res-gauge b { font-size: 1.25rem; }
.res-metrics { display: grid; }
.res-metrics li { display: grid; grid-template-columns: 1fr auto 110px; align-items: center; gap: 16px; padding: 13px 0; border-top: 1px solid var(--line); }
.res-metrics b { font-variant-numeric: tabular-nums; }
.res-metrics em { justify-self: end; padding: 4px 12px; border-radius: 99px; font-style: normal; font-size: 0.8rem; font-weight: 700; }
.res-metrics .is-good em { background: #d7f5ea; color: #0a6b4d; } .res-metrics .is-ok em { background: #ffecc4; color: #7a4d00; } .res-metrics .is-poor em { background: #ffdbe3; color: #a1183a; }
.res-src { margin-top: 12px; font-size: 0.8rem; color: var(--muted); }
.res-areas h3 { margin-bottom: 14px; }
.res-area { border-top: 1.5px solid var(--ink); }
.res-area:last-child { border-bottom: 1.5px solid var(--ink); }
.res-area summary { display: grid; grid-template-columns: 56px 1fr auto 24px; align-items: center; gap: 14px; padding: 16px 0; cursor: pointer; list-style: none; }
.res-area summary::-webkit-details-marker { display: none; }
.res-area summary::after { content: ''; width: 10px; height: 10px; border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(45deg); transition: transform 0.25s; justify-self: center; }
.res-area[open] summary::after { transform: rotate(225deg); }
.res-area-score { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; font-weight: 750; font-size: 1.1rem; background: var(--mist); }
.res-area-score.is-good { background: #19c48f; } .res-area-score.is-ok { background: var(--sun); } .res-area-score.is-poor { background: var(--coral); }
.res-area-name { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.02em; }
.res-area-count { font-size: var(--fs-sm); font-weight: 600; color: var(--muted); }
.res-checks { display: grid; gap: 4px; padding: 0 0 18px 70px; }
.res-checks li { display: flex; gap: 12px; padding: 10px 0; }
.res-checks .ico { flex: none; width: 22px; height: 22px; padding: 4px; margin-top: 1px; border-radius: 50%; }
.res-checks .is-pass .ico { background: #19c48f; color: var(--ink); } .res-checks .is-fail .ico { background: var(--coral); color: var(--ink); } .res-checks .is-na .ico { background: var(--mist); color: var(--muted); }
.res-checks p { line-height: 1.4; }
.res-checks li > div > p:first-child { font-weight: 650; }
.res-detail { font-size: 0.875rem; color: var(--muted); }
.res-fixline { margin-top: 4px; font-size: 0.875rem; }
.res-cta { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; background: var(--paper); }
.res-cta p { margin-top: 6px; color: var(--muted); }
.res-cta .btn-row { margin-top: 0; }
.res-follow { margin-top: 20px; }
.res-follow-p { color: var(--muted); margin-top: -10px; }
.wd-areas { background: var(--white); }
.why-grid-3 { grid-template-columns: repeat(3, 1fr); }
.why-grid-3 .why-card { min-height: 230px; }

@media (max-width: 1180px) {
  .plans { grid-template-columns: repeat(2, 1fr); gap: 22px 16px; }
  .b-plans { grid-template-columns: repeat(2, 1fr); }
  .res-cats { grid-template-columns: repeat(2, 1fr); }
  .mk-gauge { left: -3%; }
}
@media (max-width: 1024px) {
  .builder, .wd-care-grid, .wd-report-grid, .wd-report-full, .wd-check-grid { grid-template-columns: 1fr; }
  .builder-side, .wd-report-intro { position: static; }
  .builder-main { display: contents; }
  .builder-main > .b-step { order: 1; }
  .builder-side { order: 2; }
  .builder-main > .b-brief, .builder .form-success { order: 3; }
  .wd-stage { grid-template-columns: 1fr; }
  .wd-steps { grid-template-columns: repeat(2, 1fr); }
  .wd-steps li:nth-child(3) { padding-left: 0; border-left: 0; }
  .wd-steps li:nth-child(n + 3) { border-top: 1.5px solid var(--ink); }
  .wd-steps-3 { grid-template-columns: 1fr; }
  .wd-steps-3 li, .wd-steps-3 li + li { padding-left: 0; border-left: 0; border-top: 1.5px solid var(--ink); }
  .wd-steps-3 li:first-child { border-top: 0; }
  .care-grid, .wd-guarantees, .wd-scenarios, .why-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .res-fixes ol { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .plans, .care-grid, .wd-guarantees, .wd-scenarios, .why-grid-3, .wd-cols, .rep-cols, .rep-work, .b-pay { grid-template-columns: 1fr; }
  .b-plans, .b-fields { grid-template-columns: 1fr 1fr; }
  .b-fields .field { grid-column: 1 / -1; }
  .b-brief .btn { justify-self: stretch; }
  .plan-fit { min-height: 0; }
  .wd-steps { grid-template-columns: 1fr; }
  .wd-steps li, .wd-steps li + li { padding: 22px 0 14px; border-left: 0; border-top: 1.5px solid var(--ink); }
  .wd-steps li:first-child { border-top: 0; }
  .rep-stats { grid-template-columns: 1fr 1fr; }
  .rep-bars li { grid-template-columns: 96px 1fr 36px; }
  .wd-urlrow { flex-direction: column; padding: 8px; border-radius: 26px; }
  .wd-urlrow input { height: 52px; }
  .wd-urlrow .btn { width: 100%; }
  .wd-check { margin-inline: 6px; }
  .res-top { flex-direction: column; align-items: flex-start; }
  .res-cats { grid-template-columns: 1fr 1fr; gap: 8px; }
  .res-cats li { flex-direction: column; align-items: flex-start; gap: 8px; font-size: var(--fs-sm); }
  .res-metrics li { grid-template-columns: 1fr auto auto; gap: 10px; font-size: var(--fs-sm); }
  .res-metrics em { padding: 3px 9px; white-space: nowrap; }
  .res-area summary { grid-template-columns: 46px 1fr 20px; }
  .res-area-score { width: 44px; height: 44px; font-size: 1rem; }
  .res-area-count { grid-column: 2; grid-row: 2; margin-top: -12px; }
  .res-area summary::after { grid-column: 3; grid-row: 1; }
  .res-checks { padding-left: 0; }
  .b-addons li { align-items: flex-start; }
  .pay-toggle { width: 100%; }
  .pay-toggle button { flex: 1; padding: 9px 10px; }
  .mk-gauge { left: -2%; bottom: -10%; padding: 9px 14px 9px 9px; }
  .scan-progress { align-items: flex-start; }
}

/* ==========================================================================
   v5 — AI Chatbot: scripted demo, billing explainer, estimator, add-ons
   ========================================================================== */
.cb-visual { min-height: 0; align-items: stretch; }
.cb-visual::before { top: -6%; }
.cb-demo { position: relative; z-index: 1; display: flex; flex-direction: column; width: min(100%, 420px); height: 540px; border-radius: 28px; background: #fff; color: var(--ink); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6); overflow: hidden; }
.cb-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: var(--ink); color: #fff; }
.cb-av { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--mint); color: var(--ink); }
.cb-av .ico { width: 20px; height: 20px; }
.cb-name { font-weight: 700; line-height: 1.2; }
.cb-sub { font-size: 0.8rem; color: var(--muted-l); }
.cb-tag { margin-left: auto; padding: 4px 10px; border-radius: 99px; border: 1px solid var(--line-l); font-size: 0.72rem; font-weight: 600; white-space: nowrap; }
.cb-log { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 18px; overflow-y: auto; overscroll-behavior: contain; scroll-behavior: smooth; background: var(--paper); }
.cb-log:focus-visible { outline: 3px solid var(--sun); outline-offset: -3px; }
.cb-msg { max-width: 86%; padding: 10px 14px; border-radius: 18px; font-size: 0.925rem; line-height: 1.4; animation: cbIn 0.3s var(--ease) both; }
@keyframes cbIn { from { opacity: 0; transform: translateY(8px); } }
.cb-bot { align-self: flex-start; background: #fff; border-bottom-left-radius: 6px; box-shadow: 0 1px 0 rgba(23, 19, 74, 0.08); }
.cb-user { align-self: flex-end; background: var(--cobalt); color: #fff; border-bottom-right-radius: 6px; }
.cb-note { align-self: stretch; max-width: none; padding: 9px 12px 9px 34px; border-radius: 12px; background: #d7f5ea; color: #0a5a41; font-size: 0.8rem; font-weight: 600; position: relative; }
.cb-note::before { content: ''; position: absolute; left: 12px; top: 50%; width: 12px; height: 7px; margin-top: -6px; border-left: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: rotate(-45deg); }
.cb-typing { display: flex; gap: 4px; padding: 14px; }
.cb-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: cbDot 1s infinite; }
.cb-typing i:nth-child(2) { animation-delay: 0.15s; } .cb-typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes cbDot { 0%, 60%, 100% { opacity: 0.3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
.cb-chips { display: flex; flex-wrap: wrap; gap: 8px; min-height: 58px; padding: 12px 18px 4px; background: #fff; border-top: 1px solid #e3e5f0; }
.cb-chip { padding: 8px 14px; border-radius: 99px; border: 1.5px solid var(--cobalt); background: #fff; color: var(--cobalt); font-size: 0.875rem; font-weight: 600; line-height: 1.2; text-align: left; transition: background-color 0.15s, color 0.15s; }
.cb-chip:hover { background: var(--cobalt); color: #fff; }
.cb-chip-reset { border-color: #c9cde2; color: var(--muted); }
.cb-chip-reset:hover { background: var(--mist); color: var(--ink); }
.cb-meter { padding: 8px 18px 14px; background: #fff; font-size: 0.8rem; font-weight: 600; color: var(--muted); }
html.js .cb-static { display: none; }
html:not(.js) .cb-chips { display: none; }

.cb-billing { background: var(--white); }
.cb-count-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cb-count { padding: clamp(22px, 2.6vw, 32px); border-radius: var(--r-lg); background: var(--paper); }
.cb-count h3 { margin-bottom: 16px; font-size: 1.35rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.cb-count ul { display: grid; gap: 12px; }
.cb-count li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.4; }
.cb-count .ico { flex: none; width: 22px; height: 22px; padding: 4px; margin-top: 1px; border-radius: 50%; stroke-width: 2.8; }
.cb-yes .ico { background: var(--mint); color: var(--ink); }
.cb-no .ico { background: var(--mist); color: var(--muted); }
.cb-example { background: var(--ink); color: #fff; }
.cb-example p { line-height: 1.5; color: var(--muted-l); }
.cb-example p + p { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line-l); }
.cb-example b { color: var(--sun); }

.plan-usage { display: grid; gap: 8px; margin-top: 16px; padding: 14px; border-radius: 14px; background: var(--white); }
.plan-best .plan-usage { background: rgba(255, 255, 255, 0.09); }
.plan-usage div { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 0.875rem; }
.plan-usage dt { color: var(--muted); }
.plan-best .plan-usage dt { color: var(--muted-l); }
.plan-usage dd { font-weight: 700; white-space: nowrap; }

.cb-range { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 0 20px; }
.cb-range input[type='range'] { --fill: 7%; flex: 1; min-width: 0; height: 36px; margin: 0; background: none; -webkit-appearance: none; appearance: none; cursor: pointer; }
.cb-range input[type='range']::-webkit-slider-runnable-track { height: 10px; border-radius: 99px; background: linear-gradient(to right, var(--cobalt) var(--fill), #d5d8ea var(--fill)); }
.cb-range input[type='range']::-moz-range-track { height: 10px; border-radius: 99px; background: #d5d8ea; }
.cb-range input[type='range']::-moz-range-progress { height: 10px; border-radius: 99px; background: var(--cobalt); }
.cb-range input[type='range']::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -10px; border-radius: 50%; border: 4px solid #fff; background: var(--ink); box-shadow: 0 4px 12px rgba(23, 19, 74, 0.35); }
.cb-range input[type='range']::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; border: 4px solid #fff; background: var(--ink); box-shadow: 0 4px 12px rgba(23, 19, 74, 0.35); }
.cb-range input[type='range']:focus-visible { outline: 3px solid var(--sun); outline-offset: 4px; border-radius: 99px; }
.cb-range-out { flex: none; min-width: 3.2em; text-align: right; font-size: clamp(2rem, 1.6rem + 1.4vw, 2.8rem); font-weight: 750; line-height: 1; letter-spacing: -0.03em; font-variation-settings: 'opsz' 96, 'wdth' 80; font-variant-numeric: tabular-nums; }
.cb-range-scale { grid-column: 1; display: flex; justify-content: space-between; margin: 2px 2px 0; font-size: 0.78rem; font-weight: 600; color: var(--muted); }
.b-total-v small { font-size: 0.3em; letter-spacing: 0; color: var(--muted-l); }
.b-sum .b-after + .b-after { border-top: 1px solid var(--line-l); }

.cb-steps-head { margin-top: clamp(56px, 7vw, 96px); }
.cb-addons { background: var(--white); }
.cb-addon-list { display: grid; border-top: 1.5px solid var(--ink); }
.cb-addon-list li { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.cb-addon-list h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.02em; }
.cb-addon-list p { font-size: var(--fs-sm); color: var(--muted); line-height: 1.5; max-width: 52ch; }
.cb-addon-list .cb-addon-price { flex: none; color: var(--ink); white-space: nowrap; }
.cb-addon-price b { font-size: 1.5rem; font-weight: 750; letter-spacing: -0.03em; font-variation-settings: 'opsz' 72, 'wdth' 80; }
.cb-connect-grid { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(24px, 4vw, 64px); }
.cb-connect-grid h3 { margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1.5px solid var(--ink); font-size: 1.1rem; font-weight: 700; }
.cb-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.cb-pills li { padding: 9px 16px; border-radius: 99px; background: var(--white); border: 1px solid var(--line); font-weight: 600; font-size: var(--fs-sm); }
.cb-guard { background: var(--white); }
.cb-guard-grid .why-ico { --c: var(--mint); }
.rep-work-1 { grid-template-columns: 1fr; }
.persona-grid:has(li:nth-child(6):last-child) { grid-template-columns: repeat(3, 1fr); }
.persona-grid:has(li:nth-child(6):last-child) li { min-height: 170px; }

@media (max-width: 1024px) {
  .cb-count-grid { grid-template-columns: 1fr 1fr; }
  .cb-example { grid-column: 1 / -1; }
  .cb-demo { height: 500px; }
  .persona-grid:has(li:nth-child(6):last-child) { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .cb-count-grid, .cb-connect-grid { grid-template-columns: 1fr; }
  .cb-demo { width: 100%; height: 480px; }
  .cb-addon-list li { flex-direction: column; gap: 8px; }
  .cb-range { grid-template-columns: 1fr; }
  .cb-range-out { grid-row: 1; text-align: left; }
  .persona-grid:has(li:nth-child(6):last-child) { grid-template-columns: 1fr; }
  .persona-grid:has(li:nth-child(6):last-child) li { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) { .cb-msg, .cb-typing i { animation: none; } .cb-log { scroll-behavior: auto; } }

/* ==========================================================================
   v6 — Customer accounts, checkout, orders and invoices
   ========================================================================== */
.header-account { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid currentColor; transition: background-color 0.2s, color 0.2s; }
.header-account:hover { background: var(--sun); border-color: var(--sun); color: var(--ink); }
.header-account .ico { width: 20px; height: 20px; }
@media (max-width: 1024px) { .header-account { display: none; } }

.acct-hero { padding: calc(var(--header-h) + clamp(28px, 4vw, 56px)) 0 calc(clamp(36px, 5vw, 64px) + var(--r-xl)); }
.acct-hero::after { display: none; }
.acct-hero .h1 { font-size: var(--fs-h2); max-width: 22ch; }
.acct-hero .phero-intro { margin-top: 10px; }
.acct-page .acct-hero + .section { position: relative; z-index: 3; margin-top: calc(var(--r-xl) * -1); border-radius: var(--r-xl) var(--r-xl) 0 0; background: var(--paper); }
.acct { padding: clamp(32px, 4.5vw, 64px) 0 clamp(64px, 8vw, 112px); min-height: 46vh; }
.acct-nav ul { align-items: center; }
.acct-nav .acct-out { margin-left: auto; }
.acct-nav button { padding: 9px 18px; border-radius: 99px; border: 1.5px solid transparent; background: none; font-size: var(--fs-sm); font-weight: 600; color: var(--muted); white-space: nowrap; }
.acct-nav button:hover { color: var(--ink); border-color: var(--ink); }

/* Sign in, register, reset */
.auth-wrap { max-width: 560px; }
.auth-card { gap: 20px; }
.auth-form { display: grid; gap: 18px; }
.auth-intro, .co-lead { color: var(--muted); line-height: 1.5; margin-top: 6px; }
.co-lead a, .auth-foot a, .auth-link a, .acct-empty a, .notice a, .acct-head a, .sum-edit a, .acct-fine a { color: var(--ink); font-weight: 600; text-decoration-color: var(--sun); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.auth-foot, .auth-link { text-align: center; color: var(--muted); }
.auth-foot { margin-top: 22px; }
.field-help { font-size: 0.85rem; color: var(--muted); }
.notice { padding: 14px 18px; border-radius: 14px; font-weight: 550; line-height: 1.45; margin-bottom: 20px; }
.form-card > .notice { margin-bottom: 0; }
.form-card > .notice:empty { display: none; }
.notice-ok { background: #d7f5ea; color: #0a5a41; }
.notice-error { background: #ffe3e9; color: #96163a; }
.notice-wait { background: #ffecc4; color: #6b4300; }
.notice a { color: inherit; text-decoration-color: currentColor; }

/* Badges */
.badge { display: inline-block; padding: 4px 11px; border-radius: 99px; font-size: 0.78rem; font-weight: 700; white-space: nowrap; line-height: 1.3; }
.badge-good { background: #d7f5ea; color: #0a5a41; }
.badge-wait { background: #ffecc4; color: #6b4300; }
.badge-bad { background: #ffe3e9; color: #96163a; }
.badge-off { background: var(--mist); color: #4a4975; }

/* Overview */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat-row li { display: grid; gap: 4px; align-content: start; padding: 22px; border-radius: var(--r-md, 22px); background: var(--white); border: 1px solid var(--line); }
.stat-row p { font-size: var(--fs-sm); font-weight: 600; color: var(--muted); }
.stat-row b { font-size: clamp(1.9rem, 1.5rem + 1.4vw, 2.7rem); font-weight: 750; line-height: 1; letter-spacing: -0.03em; font-variation-settings: 'opsz' 96, 'wdth' 80; font-variant-numeric: tabular-nums; }
.stat-row small { font-size: 0.85rem; color: var(--muted); }
.acct-block { margin-top: clamp(36px, 4.5vw, 60px); }
.acct-block > .h3, .acct-head { margin-bottom: 18px; }
.acct-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.acct-head .h3 { margin: 0; }
.acct-empty { color: var(--muted); line-height: 1.55; max-width: 62ch; }
.acct-more { margin-top: 28px; }
.acct-fine { font-size: 0.85rem; color: var(--muted); line-height: 1.5; }
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.svc-card, .acct-card { display: grid; gap: 16px; align-content: start; padding: 24px; border-radius: 22px; background: var(--white); border: 1px solid var(--line); }
.svc-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.svc-top h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.kv { display: grid; gap: 0; }
.kv dd, .inv-meta dd, .plan-usage dd { margin: 0; }
.kv div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); font-size: var(--fs-sm); }
.kv dt { color: var(--muted); }
.kv dd { font-weight: 650; text-align: right; }
.kv-stack div { display: grid; gap: 2px; }
.kv-stack dd { text-align: left; font-weight: 500; white-space: pre-line; overflow-wrap: anywhere; }
.svc-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; font-size: var(--fs-sm); text-decoration: none; color: var(--cobalt); }
.svc-link:hover { text-decoration: underline; }
.start-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 20px 0; }
.start-card { display: grid; gap: 8px; height: 100%; padding: 26px; border-radius: 22px; border: 1.5px solid var(--ink); text-decoration: none; transition: background-color 0.2s, color 0.2s; }
.start-card h3 { font-size: 1.45rem; font-weight: 700; letter-spacing: -0.02em; }
.start-card p { color: var(--muted); line-height: 1.5; }
.start-card span { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-weight: 650; }
.start-card:hover { background: var(--ink); color: #fff; }
.start-card:hover p { color: var(--muted-l); }

/* Tables */
.tbl-wrap { border-radius: 22px; background: var(--white); border: 1px solid var(--line); overflow: hidden; }
.acct-table, .line-table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.acct-table th, .acct-table td, .line-table th, .line-table td { padding: 15px 20px; text-align: left; vertical-align: middle; border-top: 1px solid var(--line); }
.acct-table thead th, .line-table thead th { border-top: 0; font-size: 0.8rem; font-weight: 650; color: var(--muted); background: #fafbfe; }
.acct-table tbody th { font-weight: 650; white-space: nowrap; }
.acct-table tbody th a { color: var(--cobalt); text-decoration: none; }
.acct-table tbody th a:hover, .acct-actions a:hover { text-decoration: underline; }
.acct-actions a { color: var(--cobalt); font-weight: 650; text-decoration: none; }
.line-table { margin: 4px 0; }
.line-table th, .line-table td { padding: 13px 0; }
.line-table thead th { background: none; padding-top: 0; }
.line-table tbody th { font-weight: 600; padding-right: 16px; }
.line-table td { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.line-table th + td, .line-table thead th + th { text-align: right; }
.line-table small { color: var(--muted); font-size: 0.85em; }
.line-table tfoot th { font-weight: 600; text-align: right; padding-right: 20px; color: var(--muted); }
.line-table tfoot td { font-weight: 700; }
.line-table tfoot tr:first-child th, .line-table tfoot tr:first-child td { border-top: 1.5px solid var(--ink); }

/* Order page */
.track { display: grid; grid-template-columns: repeat(4, 1fr); margin: 4px 0 clamp(28px, 4vw, 44px); counter-reset: t; }
.track li { position: relative; display: grid; gap: 4px; justify-items: start; padding-top: 44px; font-size: var(--fs-sm); }
.track li::before { content: ''; position: absolute; left: 0; right: 0; top: 15px; height: 3px; background: #d5d8ea; }
.track li.is-done::before { background: var(--mint); }
.track li > span { position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--paper); border: 3px solid #d5d8ea; color: var(--ink); }
.track li.is-done > span { background: var(--mint); border-color: var(--mint); }
.track p { font-weight: 650; }
.track li:not(.is-done) p { color: var(--muted); }
.track small { color: var(--muted); }
.order-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); gap: 16px; align-items: start; }
.order-side { display: grid; gap: 16px; }
.pay-box, .pay-method { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.pay-box { padding: clamp(22px, 3vw, 32px); margin-bottom: clamp(28px, 4vw, 44px); border-radius: 22px; background: var(--ink); color: #fff; }
.pay-box p { margin-top: 6px; color: var(--muted-l); max-width: 52ch; line-height: 1.5; }
.pay-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.pay-box .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.pay-box .btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }
.pay-method { padding: 24px; border-radius: 22px; background: var(--white); border: 1px solid var(--line); }
.pay-method .h3 { margin-bottom: 6px; }
.next-list { display: grid; gap: 12px; margin-bottom: 20px; counter-reset: n; max-width: 62ch; }
.next-list li { counter-increment: n; position: relative; padding-left: 44px; line-height: 1.5; }
.next-list li::before { content: counter(n); position: absolute; left: 0; top: -2px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; font-size: 0.85rem; }

/* Invoice */
.inv-actions { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; margin-bottom: 20px; }
.inv-actions > a { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; text-decoration: none; }
.inv-actions .btn-row { margin-top: 0; }
.ico-back { transform: rotate(180deg); }
.invoice { display: grid; gap: clamp(24px, 3vw, 40px); max-width: 880px; padding: clamp(24px, 4.5vw, 56px); border-radius: 22px; background: var(--white); border: 1px solid var(--line); }
.inv-head { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.inv-brand { font-size: 1.5rem; font-weight: 750; letter-spacing: -0.02em; margin-bottom: 6px; }
.inv-head p, .inv-to p { color: var(--muted); line-height: 1.5; font-size: var(--fs-sm); }
.inv-head .inv-brand { color: var(--ink); }
.inv-meta h2 { font-size: clamp(2rem, 1.6rem + 1.4vw, 2.8rem); font-weight: 750; letter-spacing: -0.03em; line-height: 1; margin-bottom: 12px; font-variation-settings: 'opsz' 96, 'wdth' 80; }
.inv-meta dl { display: grid; gap: 6px; font-size: var(--fs-sm); }
.inv-meta dl div { display: flex; justify-content: space-between; gap: 28px; }
.inv-meta dt { color: var(--muted); }
.inv-meta dd { font-weight: 650; }
.inv-to h3 { font-size: 0.8rem; font-weight: 650; color: var(--muted); margin-bottom: 4px; }
.inv-to p { color: var(--ink); }
.inv-total th, .inv-total td { font-size: 1.15rem; color: var(--ink) !important; }

/* Profile */
.profile-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.profile-grid .btn { justify-self: start; }

/* Checkout */
.co-steps { display: flex; gap: 8px 22px; flex-wrap: wrap; margin-bottom: clamp(22px, 3vw, 34px); font-size: var(--fs-sm); font-weight: 650; color: var(--muted); }
.co-steps li { display: flex; align-items: center; gap: 8px; }
.co-steps span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid #b7bcd6; font-size: 0.85rem; }
.co-steps [aria-current] { color: var(--ink); }
.co-steps [aria-current] span { background: var(--ink); border-color: var(--ink); color: #fff; }
.co-steps .is-done span { background: var(--mint); border-color: var(--mint); color: var(--ink); }
.co-grid .b-brief .btn { justify-self: stretch; }
.co-secure { display: flex; gap: 8px; align-items: flex-start; }
.co-secure .ico { flex: none; margin-top: 2px; }
.sum-items { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); margin-bottom: 4px; }
.sum-items th { text-align: left; font-weight: 500; color: var(--muted-l); padding: 6px 12px 6px 0; }
.sum-items td { text-align: right; font-weight: 650; white-space: nowrap; padding: 6px 0; vertical-align: top; }
.sum-items small { display: block; font-weight: 500; font-size: 0.78rem; color: var(--muted-l); }
.sum-items .qty { color: #fff; }
.b-sum .sum-items + .b-total { border-top: 1px solid var(--line-l); margin-top: 10px; }
.sum-edit { text-align: center; font-size: var(--fs-sm); }
.b-buy { display: grid; gap: 10px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line-l); }
.b-buy .btn:disabled { opacity: 0.45; cursor: not-allowed; }

@media (max-width: 1024px) {
  .stat-row { grid-template-columns: 1fr 1fr; }
  .order-grid, .profile-grid { grid-template-columns: 1fr; }
  .co-grid .builder-side { order: 0; }
  .co-grid .builder-main > .b-step { order: 1; }
}
@media (max-width: 720px) {
  .start-grid { grid-template-columns: 1fr; }
  .stat-row li { padding: 16px; }
  .acct-nav .acct-out { margin-left: 0; }
  .track { grid-template-columns: 1fr; gap: 0; margin-bottom: 28px; }
  .track li { padding: 0 0 22px 46px; min-height: 54px; }
  .track li::before { left: 15px; right: auto; top: 0; bottom: 0; width: 3px; height: auto; }
  .track li:last-child::before { display: none; }
  .track li:last-child { padding-bottom: 0; min-height: 32px; }
  /* Tables turn into stacked cards */
  .acct-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  .acct-table tr { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 16px 18px; border-top: 1px solid var(--line); }
  .acct-table tbody tr:first-child { border-top: 0; }
  .acct-table th, .acct-table td { padding: 0; border: 0; }
  .acct-table tbody th { grid-column: 1; font-size: 1.05rem; }
  .acct-table td[data-label='Status'] { grid-column: 2; grid-row: 1; justify-self: end; }
  .acct-table td { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 16px; color: var(--ink); }
  .acct-table td::before { content: attr(data-label); color: var(--muted); }
  .acct-table td[data-label='Status']::before { content: none; }
  .acct-table td:empty { display: none; }
  .acct-table, .acct-table tbody, .line-table, .line-table tbody, .line-table tfoot { display: block; }
  .line-table tfoot tr { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); }
  .line-table tfoot tr:first-child { border-top: 1.5px solid var(--ink); }
  .line-table tfoot th, .line-table tfoot td { border: 0 !important; padding: 11px 0; text-align: left; }
  .line-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  .line-table tbody tr { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px 0; border-top: 1px solid var(--line); }
  .line-table tbody th, .line-table tbody td { padding: 0; border: 0; }
  .line-table tbody th { grid-column: 1 / -1; }
  .line-table tbody td { grid-column: 1 / -1; display: flex; gap: 6px; align-items: baseline; color: var(--muted); }
  .line-table tbody td::before { content: attr(data-label); margin-right: auto; }
  .line-table tbody td:last-child { color: var(--ink); font-weight: 650; }
  .line-table tfoot th { padding-right: 12px; }
  .pay-actions, .pay-actions form, .pay-actions .btn, .pay-method form, .pay-method .btn { width: 100%; }
  .inv-meta dl div { justify-content: flex-start; }
  .inv-actions .btn-row, .inv-actions .btn { width: 100%; }
}
@media print {
  .site-header, .site-footer, footer, .acct-nav, .acct-hero, .inv-actions, .mbar, .cookie, .cursor, .skip, .modal { display: none !important; }
  body, .acct-page .acct-hero + .section, .acct { background: #fff !important; margin: 0 !important; padding: 0 !important; }
  .invoice { border: 0; padding: 0; max-width: none; }
  .badge { border: 1px solid #999; }
}

.preview-bar { margin: 0; padding: 12px var(--gutter); background: var(--sun); color: var(--ink); font-size: var(--fs-sm); font-weight: 600; text-align: center; position: relative; z-index: 4; }
.acct-page .wd-nav + .preview-bar + .section { margin-top: 0; border-radius: 0; }
.acct-page .acct-hero + .preview-bar { margin-top: calc(var(--r-xl) * -1); padding-top: calc(var(--r-xl) + 12px); border-radius: 0; }
.acct-page .acct-hero + .preview-bar + .section { margin-top: 0; border-radius: 0; background: var(--paper); }

/* ==========================================================================
   v7 — Conversion pass: landing-page heroes with a short form, trust row,
   three ways to start, slim cookie notice
   ========================================================================== */
/* Short lead form */
.qform { gap: 16px; padding: clamp(22px, 2.6vw, 34px); box-shadow: 0 40px 80px -36px rgba(0, 0, 0, 0.55); color: var(--ink); }
.qform-h { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 750; letter-spacing: -0.03em; line-height: 1.05; font-variation-settings: 'opsz' 72, 'wdth' 82; }
.qform-sub { margin-top: 8px; color: var(--muted); font-size: var(--fs-sm); line-height: 1.45; }
.qform .field input, .qform .field select { height: 52px; }
.qform-fine { display: flex; gap: 8px; align-items: flex-start; font-size: 0.82rem; color: var(--muted); line-height: 1.4; }
.qform-fine .ico { flex: none; margin-top: 1px; }
.qform-fine a { color: inherit; }
.qnext { display: grid; gap: 10px; counter-reset: q; margin: 4px 0 8px; }
.qnext li { counter-increment: q; position: relative; padding-left: 38px; line-height: 1.45; }
.qnext li::before { content: counter(q); position: absolute; left: 0; top: -1px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 0.8rem; font-weight: 700; }
.modal-body .qform { border: 0; box-shadow: none; padding: 0; background: none; }
.thanks-wrap { max-width: 720px; }
.thanks-wrap .btn-row { margin-top: 24px; }

/* Landing-page hero: copy on the left, form on the right */
.shero-form { position: relative; z-index: 2; animation: fadeUp 1s 0.3s var(--ease) both; scroll-margin-top: calc(var(--header-h) + 16px); }
.shero:has(.shero-form) .shero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr); align-items: start; }
.shero:has(.shero-form) .h1 { font-size: clamp(2.2rem, 1.1rem + 3vw, 4rem); }
.shero-jump { display: none; }
.shero .btn-row + .shero-bullets { margin-top: 28px; }
.hero-trust { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(36px, 5vw, 64px); border-top: 1px solid var(--line-l); }
.hero-trust li { display: grid; gap: 2px; align-content: start; padding: 18px 20px 0 0; }
.hero-trust li + li { padding-left: 20px; border-left: 1px solid var(--line-l); }
.hero-trust b { font-size: 1.2rem; font-weight: 750; letter-spacing: -0.02em; color: #fff; font-variation-settings: 'opsz' 48, 'wdth' 84; }
.hero-trust span { font-size: 0.85rem; color: var(--muted-l); line-height: 1.35; }

/* Home: three ways to start */
.start-section { background: var(--white); scroll-margin-top: var(--header-h); }
.start3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.start3-card { display: flex; flex-direction: column; gap: 10px; padding: clamp(24px, 2.6vw, 34px); border-radius: var(--r-lg); background: var(--paper); border: 1.5px solid transparent; }
.start3-free { background: var(--ink); color: #fff; }
.start3-tag { align-self: flex-start; padding: 4px 11px; border-radius: 99px; background: var(--mist); font-size: 0.78rem; font-weight: 700; }
.start3-free .start3-tag { background: var(--sun); color: var(--ink); }
.start3-card h3 { font-size: clamp(1.7rem, 1.4rem + 1vw, 2.2rem); font-weight: 750; letter-spacing: -0.03em; line-height: 1; font-variation-settings: 'opsz' 72, 'wdth' 82; }
.start3-card > p:not([class]) { color: var(--muted); line-height: 1.5; }
.start3-free > p:not([class]) { color: var(--muted-l); }
.start3-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 8px; margin-top: auto; padding-top: 14px; }
.start3-price b { font-size: clamp(2.6rem, 2rem + 1.8vw, 3.6rem); font-weight: 750; line-height: 0.95; letter-spacing: -0.04em; font-variation-settings: 'opsz' 96, 'wdth' 78; }
.start3-price span { font-size: var(--fs-sm); font-weight: 600; }
.start3-card .btn { align-self: flex-start; }
.start3-card .btn-row { align-items: center; gap: 12px 18px; margin-top: 0; }
.start3-card .text-link { font-size: var(--fs-sm); }

/* Slim cookie notice (US): information, never a wall */
.cookie-slim { left: 16px; right: auto; bottom: 16px; max-width: 430px; display: flex; align-items: center; gap: 14px; padding: 12px 12px 12px 18px; border-radius: 18px; }
.cookie-slim p { font-size: 0.85rem; line-height: 1.35; }
.cookie-slim div { flex: none; flex-wrap: nowrap; align-items: center; gap: 4px; }
.cookie-opt { padding: 8px 10px; border: 0; background: none; color: var(--muted-l); font-size: 0.82rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.cookie-opt:hover { color: #fff; }
.mbar a.btn { text-decoration: none; display: inline-flex; align-items: center; }

@media (max-width: 1024px) {
  .shero:has(.shero-form) .shero-grid { grid-template-columns: 1fr; }
  .shero-jump { display: flex; }
  .shero-form { max-width: 560px; }
  .hero-trust { grid-template-columns: 1fr 1fr; }
  .hero-trust li:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero-trust li:nth-child(n + 3) { margin-top: 14px; }
  .start3 { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  /* on a phone the headline and the button must share the first screen */
  .shero .crumbs { display: none; }
  .shero { padding-top: calc(var(--header-h) + 18px); }
  .shero .h1 { font-size: clamp(2rem, 8.6vw, 2.5rem); }
  .shero .phero-intro { margin-top: 14px; font-size: 1.02rem; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
  .shero .btn-row { margin-top: 18px; }
  .shero .btn-row .btn { flex: 1 1 auto; justify-content: center; }
  .shero-bullets li:nth-child(n + 4) { display: none; }
  .hero-trust li { padding-right: 12px; }
  .hero-trust li + li { padding-left: 12px; }
  .hero-trust li:nth-child(3) { padding-left: 0; }
  .cookie-slim { left: 10px; right: 10px; bottom: 10px; max-width: none; }
  .start3-card .btn { align-self: stretch; }
  .start3-card .btn-row .btn { flex: 1 1 100%; }
}

/* Free audit page: the steps after the form */
.audit-steps { list-style: none; counter-reset: st; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0 0 28px; padding: 0; }
.audit-steps li { counter-increment: st; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.audit-steps li::before { content: counter(st); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; margin-bottom: 14px; }
.audit-steps p { margin: 6px 0 0; color: var(--muted); }
@media (max-width: 900px) { .audit-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .audit-steps { grid-template-columns: 1fr; gap: 12px; } .audit-steps li { padding: 18px; } }
.form-success:focus, .form-success:focus-visible { outline: none; } /* focus is moved here by script so screen readers announce it; no ring needed */
