/* ==========================================================================
   Scale Point Group — design system + site styles
   Tokens mirror the brand board: deep navy grounds, electric blue accent,
   silver gradients, white editorial sections, wide-tracked labels.
   Contrast ratios are documented in /styleguide.
   ========================================================================== */

:root {
  /* Colour: navy scale */
  --navy-950: #070F24;
  --navy-900: #0A1530;   /* primary dark ground */
  --navy-800: #111C3D;   /* raised dark surface */
  --navy-700: #1A2752;
  --navy-600: #2A3A70;
  /* Colour: electric blue */
  --blue-600: #1747D6;   /* hover / pressed on light */
  --blue-500: #1F5BFF;   /* brand accent */
  --blue-400: #4F7DFF;
  --blue-300: #7EA1FF;   /* blue text on dark (7.3:1 on navy-900) */
  --blue-100: #E9EFFF;
  --blue-050: #F3F6FF;
  /* Colour: silver + neutrals (blue-biased) */
  --silver-300: #C9CFE3;
  --silver-200: #E3E8F3;
  --silver-100: #F4F6FB;
  --white: #FFFFFF;
  --ink: #0A1530;        /* text on light: 18.1:1 */
  --ink-2: #4A5573;      /* secondary text on light: 7.4:1 */
  --ink-3: #6B7591;      /* meta text on light: 4.6:1 */
  --mist: #A9B4D0;       /* secondary text on dark: 8.7:1 */
  --line: #DCE2EF;
  --line-dark: rgba(255,255,255,.10);
  /* Semantic */
  --success: #0E7A50;
  --error: #C42B2B;
  --error-dark: #FF9C9C;
  --warn-bg: #FFF4E8;
  --warn-ink: #9A4A08;

  /* Typography */
  --font-display: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --fs-display: clamp(2.6rem, 1.55rem + 4.4vw, 5rem);
  --fs-h1: clamp(2.25rem, 1.55rem + 2.9vw, 3.75rem);
  --fs-h2: clamp(1.875rem, 1.4rem + 2vw, 3rem);
  --fs-h3: clamp(1.2rem, 1.1rem + .45vw, 1.45rem);
  --fs-h4: 1.0625rem;
  --fs-lead: clamp(1.0625rem, 1rem + .3vw, 1.25rem);
  --fs-body: 1rem;
  --fs-small: .875rem;
  --fs-label: .75rem;
  --track-label: .22em;

  /* Spacing (4px base) */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;
  --section-y: clamp(72px, 9vw, 128px);
  --gutter: clamp(20px, 4vw, 40px);
  --container: 1200px;

  /* Shape */
  --r-sm: 6px; --r-md: 10px; --r-lg: 16px; --r-xl: 24px; --r-pill: 999px;
  --shadow-1: 0 1px 2px rgba(10,21,48,.06), 0 4px 14px rgba(10,21,48,.06);
  --shadow-2: 0 18px 50px -18px rgba(10,21,48,.35);
  --glow: 0 0 0 1px rgba(31,91,255,.45), 0 12px 32px -10px rgba(31,91,255,.65);
  --glass-bg: rgba(255,255,255,.045);
  --glass-line: rgba(255,255,255,.11);

  /* Motion */
  --dur-1: 120ms;   /* colour, opacity on hover */
  --dur-2: 200ms;   /* button lift, focus */
  --dur-3: 320ms;   /* cards, panels, tab content */
  --dur-4: 640ms;   /* section reveals */
  --dur-5: 1400ms;  /* counters, hero ascent route */
  --ease-out: cubic-bezier(.16, 1, .3, 1);     /* "ascent": fast start, soft landing */
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);

  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font: 400 var(--fs-body)/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; text-wrap: balance; color: inherit; }
h1 { font-size: var(--fs-h1); font-weight: 800; line-height: 1.05; letter-spacing: -.03em; }
h2 { font-size: var(--fs-h2); font-weight: 800; line-height: 1.1; letter-spacing: -.025em; }
h3 { font-size: var(--fs-h3); font-weight: 700; line-height: 1.25; letter-spacing: -.012em; }
h4 { font-size: var(--fs-h4); font-weight: 700; line-height: 1.35; }
p { margin: 0; }
a { color: var(--blue-600); text-underline-offset: 3px; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 3px; border-radius: 4px; }
.dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--blue-300); }
::selection { background: var(--blue-500); color: #fff; }
.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; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--blue-500); color: #fff; padding: 10px 16px; border-radius: var(--r-md); font-weight: 600; text-decoration: none; transition: top var(--dur-2); }
.skip-link:focus { top: 12px; }

[id] { scroll-margin-top: 110px; }
.svc-head { display: flex; flex-wrap: wrap; gap: 6px; }
.svc-detail { gap: var(--s-4); }
.svc-detail .text-link { margin-top: var(--s-2); }
.pain-list { list-style: none; display: grid; gap: 12px; }
.pain-list li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; align-items: start; padding: 16px 18px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); }
.pain-list li::before { content: "?"; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-100); color: var(--blue-600); font: 800 .9rem/1 var(--font-display); }
.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(780px + var(--gutter) * 2); }
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--tint { background: var(--silver-100); }
.dark { background: var(--navy-900); color: #fff; }
.dark .lead, .dark .muted { color: var(--mist); }
.section.dark { background: radial-gradient(1000px 520px at 85% 0%, rgba(31,91,255,.18), transparent 60%), linear-gradient(170deg, var(--navy-900), var(--navy-800)); isolation: isolate; overflow: hidden; }
.stack { display: grid; gap: var(--s-4); align-content: start; }
.stack-lg { display: grid; gap: var(--s-6); align-content: start; }
.grid { display: grid; gap: var(--s-5); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.split--top { align-items: start; }
.section-head { display: grid; gap: var(--s-4); max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head--row { max-width: none; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: var(--s-5); }
.mt-0 { margin-top: 0; } .mt-4 { margin-top: var(--s-4); } .mt-5 { margin-top: var(--s-5); } .mt-6 { margin-top: var(--s-6); } .mt-7 { margin-top: var(--s-7); }

/* ---------- Type helpers ---------- */
.display { font-size: var(--fs-display); font-weight: 800; line-height: 1.02; letter-spacing: -.035em; }
.hl { color: var(--blue-500); }
.dark .hl { color: var(--blue-400); } /* 4.9:1 on navy-900 */
.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--ink-2); max-width: 62ch; }
.muted { color: var(--ink-2); }
.small { font-size: var(--fs-small); }
.label { font: 600 var(--fs-label)/1.3 var(--font-body); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--ink-2); }
.dark .label { color: var(--mist); }
.eyebrow { display: inline-flex; align-items: center; gap: 14px; font: 600 var(--fs-label)/1.3 var(--font-body); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--blue-600); }
.eyebrow::before { content: ""; width: 40px; height: 3px; border-radius: 2px; background: var(--blue-500); flex: none; }
.dark .eyebrow { color: var(--blue-300); }
.side-stack { font: 600 .7rem/2.1 var(--font-body); letter-spacing: .32em; color: var(--mist); text-transform: uppercase; }
.side-stack::after { content: ""; display: block; width: 28px; height: 2px; background: currentColor; margin-top: 8px; opacity: .7; }
.prose { display: grid; gap: var(--s-4); max-width: 70ch; }
.prose h2 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem); margin-top: var(--s-5); }
.prose h3 { margin-top: var(--s-4); }
.prose ul, .prose ol { padding-left: 1.3em; display: grid; gap: 6px; }
.tnum { font-variant-numeric: tabular-nums; }

/* Placeholder marker: content still to be supplied by Scale Point Group */
.ph { display: inline; font: 600 .78em/1.4 ui-monospace, "Cascadia Code", Consolas, monospace; color: var(--warn-ink); background: var(--warn-bg); border: 1px dashed currentColor; border-radius: 4px; padding: 0 5px; letter-spacing: 0; text-transform: none; }
.dark .ph { color: #FFC488; background: rgba(255,170,90,.12); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--blue-500); --btn-fg: #fff; --btn-line: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: var(--r-md);
  background: var(--btn-bg); color: var(--btn-fg); border: 1.5px solid var(--btn-line);
  font: 700 .95rem/1.2 var(--font-display); letter-spacing: -.005em; text-decoration: none; cursor: pointer;
  transition: transform var(--dur-2) var(--ease-out), background-color var(--dur-1), box-shadow var(--dur-2) var(--ease-out), border-color var(--dur-1), color var(--dur-1);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform var(--dur-2) var(--ease-out); }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg.arrow { transform: translateX(4px); }
.btn:active { transform: translateY(0); }
.btn--primary:hover { background: var(--blue-600); box-shadow: var(--glow); }
.dark .btn--primary:hover, .site-header .btn--primary:hover { background: var(--blue-400); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--ink); --btn-line: var(--line); }
.btn--outline:hover { --btn-line: var(--blue-500); --btn-fg: var(--blue-600); }
.btn--ghost { --btn-bg: rgba(255,255,255,.04); --btn-fg: #fff; --btn-line: rgba(255,255,255,.28); }
.btn--ghost:hover { --btn-line: var(--blue-300); --btn-bg: rgba(126,161,255,.10); }
.btn--lg { min-height: 56px; padding: 16px 28px; font-size: 1.02rem; }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: .88rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--blue-600); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size var(--dur-3) var(--ease-out); padding-bottom: 2px; }
.text-link:hover { background-size: 100% 1.5px; }
.text-link svg { width: 16px; height: 16px; transition: transform var(--dur-2) var(--ease-out); }
.text-link:hover svg { transform: translateX(3px); }
.dark .text-link { color: var(--blue-300); }
.reassure { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: var(--fs-small); color: var(--ink-2); }
.dark .reassure { color: var(--mist); }
.reassure span { display: inline-flex; align-items: center; gap: 7px; }
.reassure svg { width: 16px; height: 16px; color: var(--blue-500); flex: none; }
.dark .reassure svg { color: var(--blue-300); }

/* ---------- Badges, chips, pills ---------- */
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: var(--r-pill); font-size: .86rem; font-weight: 500; text-decoration: none; background: rgba(31,91,255,.14); border: 1px solid rgba(126,161,255,.35); color: #fff; transition: border-color var(--dur-1), background-color var(--dur-1); }
.badge b { background: var(--blue-500); color: #fff; border-radius: var(--r-pill); padding: 3px 10px; font: 700 .7rem/1.4 var(--font-body); letter-spacing: .12em; text-transform: uppercase; }
.badge:hover { border-color: var(--blue-300); background: rgba(31,91,255,.22); }
.badge svg { width: 14px; height: 14px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 16px; border-radius: var(--r-pill); border: 1.5px solid var(--line); background: #fff; color: var(--ink); font: 600 .9rem/1.2 var(--font-body); cursor: pointer; transition: border-color var(--dur-1), background-color var(--dur-1), color var(--dur-1); }
.chip:hover { border-color: var(--blue-400); }
.chip[aria-pressed="true"] { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.pill { display: inline-block; font: 600 .72rem/1.5 var(--font-body); padding: 2px 10px; border-radius: var(--r-pill); white-space: nowrap; }
.pill--adv { background: #E6EEFF; color: #1A44C2; }
.pill--os  { background: #E3F3F6; color: #0B6474; }
.pill--org { background: #F1EAFB; color: #5B2FA0; }
.pill--imp { background: #E8F4E7; color: #256B22; }
.tag { display: inline-block; font: 600 .7rem/1.5 var(--font-body); letter-spacing: .1em; text-transform: uppercase; padding: 3px 10px; border-radius: var(--r-pill); background: var(--blue-100); color: var(--blue-600); }
.dark .tag { background: rgba(126,161,255,.14); color: var(--blue-300); }

/* ---------- Cards ---------- */
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 2.4vw, 32px); display: grid; gap: var(--s-3); align-content: start; min-width: 0; transition: border-color var(--dur-3) var(--ease-out), box-shadow var(--dur-3) var(--ease-out), transform var(--dur-3) var(--ease-out); }
.card p, .card li { color: var(--ink-2); }
.card--link { text-decoration: none; color: inherit; }
.card--link:hover, .card--hover:hover { border-color: rgba(31,91,255,.45); box-shadow: var(--shadow-2); transform: translateY(-4px); }
.card--link .text-link { margin-top: auto; }
.card--tint { background: var(--silver-100); border-color: transparent; }
.cta-card { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--s-5); }
@media (max-width: 640px) { .cta-card { grid-template-columns: minmax(0, 1fr); } }
.card--glass { background: var(--glass-bg); border: 1px solid var(--glass-line); color: #fff; -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); }
.card--glass p, .card--glass li { color: var(--mist); }
.card--glass.card--link:hover, .card--glass.card--hover:hover { border-color: rgba(126,161,255,.5); box-shadow: 0 20px 50px -20px rgba(0,0,0,.6); }
.icon-ring { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-100); color: var(--blue-500); flex: none; }
.icon-ring svg { width: 24px; height: 24px; }
.dark .icon-ring, .card--glass .icon-ring { background: rgba(31,91,255,.16); color: var(--blue-300); }
.card .num-label { font: 700 .78rem/1 var(--font-display); color: var(--blue-500); letter-spacing: .06em; }
.check-list { list-style: none; display: grid; gap: 10px; }
.check-list li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start; }
.check-list li::before { content: ""; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: var(--blue-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.5L14 7.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }

/* ---------- Offer bar + header ---------- */
.offer-bar { background: var(--blue-500); color: #fff; font-size: .86rem; position: relative; z-index: 61; }
.offer-bar .container { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 40px; padding-block: 6px; text-align: center; }
.offer-bar a { color: #fff; font-weight: 700; text-underline-offset: 3px; white-space: nowrap; }
.offer-bar .ob-less { display: none; }
@media (max-width: 640px) { .offer-bar .ob-more { display: none; } .offer-bar .ob-less { display: inline; } }
.offer-bar .x { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: #fff; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.offer-bar .x:hover { background: rgba(255,255,255,.15); }
.offer-bar .x svg { width: 16px; height: 16px; }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 60; background: var(--navy-950); color: #fff; border-bottom: 1px solid transparent; -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%); transition: background-color var(--dur-3), border-color var(--dur-3); }
.site-header.is-scrolled { background: rgba(7,15,36,.88); border-bottom-color: var(--line-dark); }
.nav { display: flex; align-items: center; gap: var(--s-5); min-height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; flex: none; }
.logo svg { width: 40px; height: 40px; }
.logo__word { font: 800 1.2rem/1 var(--font-display); letter-spacing: -.02em; white-space: nowrap; }
.logo__word .s { background: linear-gradient(180deg, #fff 30%, var(--silver-300)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo__word .p { color: var(--blue-400); }
.logo__desc { display: block; font: 600 .56rem/1 var(--font-body); letter-spacing: .3em; color: var(--mist); margin-top: 6px; }
.nav__primary { margin-left: auto; }
.nav__links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav__links > li { position: relative; }
.nav__link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: var(--r-md); color: #E3E8F3; text-decoration: none; font-weight: 500; font-size: .95rem; background: none; border: 0; cursor: pointer; transition: color var(--dur-1), background-color var(--dur-1); }
.nav__link:hover { color: #fff; background: rgba(255,255,255,.06); }
.nav__link[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--blue-400); border-radius: var(--r-md) var(--r-md) 0 0; }
.nav__link svg { width: 14px; height: 14px; transition: transform var(--dur-2); }
.nav__link[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav__cta { margin-left: var(--s-3); }
.mega { position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%); width: min(720px, 90vw); background: var(--navy-800); border: 1px solid var(--line-dark); border-radius: var(--r-lg); padding: var(--s-4); box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
.mega[hidden] { display: none; }
.mega a { display: grid; gap: 2px; padding: 12px 14px; border-radius: var(--r-md); text-decoration: none; color: #fff; transition: background-color var(--dur-1); }
.mega a:hover { background: rgba(255,255,255,.06); }
.mega a b { font: 700 .95rem/1.3 var(--font-display); }
.mega a span { color: var(--mist); font-size: .84rem; line-height: 1.45; }
.mega a.mega__all { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line-dark); border-radius: 0 0 var(--r-md) var(--r-md); margin-top: 6px; color: var(--blue-300); font-weight: 600; }
.nav__toggle { display: none; margin-left: auto; width: 48px; height: 48px; border-radius: var(--r-md); border: 1px solid var(--line-dark); background: rgba(255,255,255,.04); color: #fff; cursor: pointer; place-items: center; }
.nav__toggle svg { width: 22px; height: 22px; }
.mobile-menu { display: none; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; color: #fff; background: radial-gradient(900px 600px at 78% 18%, rgba(31,91,255,.30), transparent 62%), linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 55%, var(--navy-800) 100%); }
.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: var(--s-6); padding-block: clamp(56px, 8vw, 112px) clamp(96px, 12vw, 160px); min-height: min(820px, 92vh); align-items: center; }
.hero__copy { display: grid; gap: var(--s-5); align-content: center; max-width: 640px; }
.hero h1 { font-size: var(--fs-display); line-height: 1.02; letter-spacing: -.038em; }
.hero h1 .hl { color: var(--blue-400); }
.hero .lead { color: var(--mist); max-width: 54ch; }
.hero__side { position: absolute; right: var(--gutter); top: clamp(32px, 5vw, 64px); z-index: 3; }
.hero__art { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero__art svg { position: absolute; right: -4%; bottom: 0; width: min(1180px, 92vw); height: auto; overflow: visible; }
.hero__art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy-950) 0%, rgba(7,15,36,.82) 32%, rgba(7,15,36,0) 62%); }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 140px; background: linear-gradient(180deg, transparent, var(--navy-800)); z-index: 1; pointer-events: none; }
.route { stroke-dasharray: 1; stroke-dashoffset: 0; }
.js-motion .route { stroke-dashoffset: 1; animation: draw var(--dur-5) var(--ease-out) .35s forwards; }
.js-motion .waypoint { opacity: 0; transform-box: fill-box; transform-origin: center; animation: pop 500ms var(--ease-out) forwards; }
.js-motion .wp1 { animation-delay: .55s; } .js-motion .wp2 { animation-delay: .85s; } .js-motion .wp3 { animation-delay: 1.15s; } .js-motion .wp4 { animation-delay: 1.45s; }
.js-motion .summit-ring { opacity: 0; animation: pop 600ms var(--ease-out) 1.6s forwards; transform-box: fill-box; transform-origin: center; }
.summit-pulse { transform-box: fill-box; transform-origin: center; }
.js-motion .summit-pulse { animation: pulse 2.8s var(--ease-in-out) 2.1s infinite; opacity: 0; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: scale(1); } }
@keyframes pulse { 0% { opacity: .7; transform: scale(1); } 80%, 100% { opacity: 0; transform: scale(2.6); } }

/* Hero proof strip */
.proof { position: relative; z-index: 3; margin-top: calc(clamp(56px, 8vw, 96px) * -1); }
.proof__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-radius: var(--r-xl); overflow: hidden; background: linear-gradient(160deg, #16224A, var(--navy-900) 70%); border: 1px solid var(--glass-line); box-shadow: 0 30px 60px -28px rgba(7,15,36,.55); }
.proof__item { padding: clamp(20px, 2.6vw, 32px); display: grid; gap: 6px; align-content: start; border-left: 1px solid var(--glass-line); }
.proof__item:first-child { border-left: 0; }
.proof__num { font: 800 clamp(2rem, 1.5rem + 1.8vw, 2.9rem)/1 var(--font-display); letter-spacing: -.03em; color: #fff; font-variant-numeric: tabular-nums; }
.proof__num .unit { color: var(--blue-400); }
.proof__label { color: var(--mist); font-size: .92rem; }
.proof--light .proof__grid { background: #fff; border-color: var(--line); box-shadow: var(--shadow-2); }
.proof--light .proof__item { border-color: var(--line); }
.proof--light .proof__num { color: var(--ink); }
.proof--light .proof__num .unit { color: var(--blue-500); }
.proof--light .proof__label { color: var(--ink-2); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; isolation: isolate; color: #fff; background: radial-gradient(800px 420px at 90% 0%, rgba(31,91,255,.28), transparent 60%), linear-gradient(175deg, var(--navy-950), var(--navy-900) 70%, var(--navy-800)); padding-block: clamp(48px, 7vw, 96px) clamp(56px, 8vw, 104px); }
.page-hero__inner { position: relative; z-index: 2; display: grid; gap: var(--s-5); max-width: 820px; }
.page-hero h1 .hl { color: var(--blue-400); }
.page-hero .lead { color: var(--mist); }
.page-hero__peak { position: absolute; right: -40px; bottom: -2px; width: min(620px, 70vw); z-index: 1; opacity: .9; pointer-events: none; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; font-size: .85rem; color: var(--mist); }
.crumbs a { color: var(--mist); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }

/* ---------- Services overview ---------- */
.filter-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: var(--s-6); }
.filter-row .label { margin-right: 6px; }
.svc-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--s-5); }
.svc-grid > * { grid-column: span 2; }
.svc-grid > :nth-child(4), .svc-grid > :nth-child(5) { grid-column: span 3; }
.svc-card { gap: var(--s-4); }
.svc-card header { display: flex; justify-content: space-between; align-items: start; gap: var(--s-3); }
.svc-card ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.svc-card ul li { font-size: .84rem; padding: 4px 10px; border-radius: var(--r-pill); background: var(--silver-100); color: var(--ink-2); }
.svc-card.is-dim { opacity: .38; transform: scale(.985); }
.svc-card.is-match { border-color: var(--blue-500); box-shadow: var(--glow); }
.svc-card { transition: opacity var(--dur-3) var(--ease-out), transform var(--dur-3) var(--ease-out), border-color var(--dur-3), box-shadow var(--dur-3); }

/* ---------- Capability diagram ---------- */
.capdiag { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.capdiag__wheel { position: relative; aspect-ratio: 1; max-width: 520px; width: 100%; margin-inline: auto; }
.capdiag__wheel svg.rings { position: absolute; inset: 0; width: 100%; height: 100%; }
.capdiag__center { position: absolute; inset: 34%; border-radius: 50%; display: grid; place-items: center; text-align: center; background: radial-gradient(circle at 50% 35%, var(--navy-700), var(--navy-900)); border: 1px solid var(--glass-line); padding: 8px; }
.capdiag__center span { font: 800 clamp(.8rem, .6rem + .6vw, 1.05rem)/1.2 var(--font-display); }
.capdiag__center small { display: block; font: 600 .6rem/1.3 var(--font-body); letter-spacing: .2em; color: var(--mist); margin-top: 4px; }
.capdiag__tabs { position: absolute; inset: 0; list-style: none; }
.cap-btn { position: absolute; width: 42%; min-height: 64px; padding: 12px 14px; border-radius: var(--r-lg); background: var(--glass-bg); border: 1px solid var(--glass-line); color: #fff; cursor: pointer; text-align: left; display: grid; gap: 2px; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: border-color var(--dur-2), background-color var(--dur-2), transform var(--dur-3) var(--ease-out), box-shadow var(--dur-3); }
.cap-btn b { font: 800 1rem/1.2 var(--font-display); }
.cap-btn span { font-size: .78rem; color: var(--mist); line-height: 1.35; }
.cap-btn:hover { border-color: rgba(126,161,255,.55); transform: translateY(-2px); }
.cap-btn[aria-selected="true"] { background: var(--blue-500); border-color: var(--blue-500); box-shadow: var(--glow); }
.cap-btn[aria-selected="true"] span { color: #E9EFFF; }
.cap-btn--n { top: 0; left: 0; } .cap-btn--e { top: 0; right: 0; } .cap-btn--s { bottom: 0; left: 0; } .cap-btn--w { bottom: 0; right: 0; }
.capdiag__panel { display: grid; gap: var(--s-4); min-height: 360px; align-content: start; }
.capdiag__panel[hidden] { display: none; }
.capdiag__panel .svc-links { list-style: none; display: grid; gap: 8px; }
.capdiag__panel .svc-links a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border-radius: var(--r-md); background: var(--glass-bg); border: 1px solid var(--glass-line); color: #fff; text-decoration: none; font-weight: 500; transition: border-color var(--dur-1), background-color var(--dur-1); }
.capdiag__panel .svc-links a:hover { border-color: var(--blue-300); background: rgba(126,161,255,.08); }
.capdiag__panel .svc-links a small { color: var(--mist); font-weight: 400; }
.js-motion .capdiag__panel:not([hidden]) { animation: fadeUp var(--dur-3) var(--ease-out); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Growth journey ---------- */
.journey { position: relative; }
.journey__track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-5); position: relative; align-items: end; }
.journey__line { position: absolute; left: 0; right: 0; top: 0; height: 100%; width: 100%; pointer-events: none; overflow: visible; }
.journey__line path { stroke-dasharray: 1; stroke-dashoffset: 0; }
.js-motion .journey:not(.is-in) .journey__line path.draw { stroke-dashoffset: 1; }
.js-motion .journey.is-in .journey__line path.draw { transition: stroke-dashoffset 1.6s var(--ease-out); stroke-dashoffset: 0; }
.jstep { position: relative; z-index: 1; display: grid; gap: var(--s-3); padding: var(--s-5); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); min-width: 0; }
.jstep:nth-child(2) { margin-bottom: 40px; } .jstep:nth-child(3) { margin-bottom: 80px; } .jstep:nth-child(4) { margin-bottom: 120px; }
.jstep__dot { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid var(--blue-500); box-shadow: 0 0 0 6px rgba(31,91,255,.12); }
.jstep:last-child .jstep__dot { background: var(--blue-500); box-shadow: 0 0 0 6px rgba(31,91,255,.2), 0 0 24px rgba(31,91,255,.7); }
.jstep__n { font: 700 .75rem/1 var(--font-display); letter-spacing: .14em; color: var(--blue-600); }
.js-motion .journey .jstep { opacity: 0; transform: translateY(18px); transition: opacity var(--dur-4) var(--ease-out), transform var(--dur-4) var(--ease-out); }
.js-motion .journey.is-in .jstep { opacity: 1; transform: none; }
.js-motion .journey.is-in .jstep:nth-child(2) { transition-delay: .25s; } .js-motion .journey.is-in .jstep:nth-child(3) { transition-delay: .5s; } .js-motion .journey.is-in .jstep:nth-child(4) { transition-delay: .75s; }

/* ---------- Compare table ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; }
.dark .table-wrap { border-color: var(--glass-line); background: var(--glass-bg); }
table.compare { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .95rem; }
.compare th, .compare td { padding: 16px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.dark .compare th, .dark .compare td { border-color: var(--glass-line); }
.compare thead th { font: 600 .72rem/1.3 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.dark .compare thead th { color: var(--mist); }
.compare tbody th { font-weight: 600; }
.compare tr:last-child td, .compare tr:last-child th { border-bottom: 0; }
.compare .us { background: rgba(31,91,255,.07); }
.dark .compare .us { background: rgba(31,91,255,.16); }
.compare thead .us { color: var(--blue-600); }
.dark .compare thead .us { color: var(--blue-300); }
.yes, .no, .part { display: inline-flex; align-items: center; gap: 8px; }
.yes svg, .no svg, .part svg { width: 18px; height: 18px; flex: none; }
.yes svg { color: var(--blue-500); } .dark .yes svg { color: var(--blue-300); }
.no svg { color: var(--ink-3); } .dark .no svg { color: var(--mist); }

/* ---------- Case study / browser frame ---------- */
.browser { border-radius: var(--r-lg); overflow: hidden; background: #0b0c0e; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 40px 80px -30px rgba(7,15,36,.6); }
.browser__bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: #16181c; }
.browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a3d44; }
.browser__url { margin-left: 10px; flex: 1; font-size: .74rem; color: #9aa0ab; background: #0b0c0e; border-radius: 6px; padding: 4px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser__screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.browser__screen img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.browser:hover .browser__screen img { transform: scale(1.03); }
.browser__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,12,14,.88) 0%, rgba(11,12,14,.55) 55%, rgba(11,12,14,.1)); display: grid; align-content: center; gap: 10px; padding: 8%; color: #fff; }
.browser__overlay .ps-logo { width: 34%; max-width: 180px; filter: brightness(0) invert(1); opacity: .95; }
.browser__overlay strong { font: 800 clamp(1rem, .7rem + 1.4vw, 1.7rem)/1.1 var(--font-display); max-width: 14ch; }
.browser__overlay em { font-style: normal; color: #b4cdee; font-weight: 500; font-size: clamp(.75rem, .6rem + .6vw, 1rem); }
.browser__overlay .fake-btn { justify-self: start; background: linear-gradient(135deg, #6b9fe0, #3f74bd); border-radius: 8px; padding: 6px 12px; font-size: clamp(.6rem, .5rem + .4vw, .8rem); font-weight: 600; }
.case { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.case__meta { display: flex; flex-wrap: wrap; gap: 8px; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.facts > div { background: #fff; padding: 16px 18px; display: grid; gap: 4px; }
.facts dt { font: 600 .7rem/1.3 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.facts dd { margin: 0; font-weight: 600; }

/* ---------- Testimonials ---------- */
.quote { display: flex; flex-direction: column; gap: var(--s-4); margin: 0; padding: clamp(24px, 2.6vw, 34px); border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-1); min-width: 0; }
.quote blockquote { margin: 0; flex: 1; font: 600 clamp(1.02rem, .95rem + .3vw, 1.15rem)/1.55 var(--font-display); letter-spacing: -.005em; color: var(--ink); }
.quote--lg blockquote { font-size: clamp(1.2rem, 1rem + .8vw, 1.6rem); }
.stars { color: #F5B301; font-size: 1.05rem; letter-spacing: .12em; line-height: 1; }
.quote figcaption { display: flex; align-items: center; gap: 14px; color: var(--ink-2); font-size: .92rem; }
.quote .avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--silver-200); display: grid; place-items: center; font: 800 1rem/1 var(--font-display); color: var(--ink-3); flex: none; }
.quote .qmark { width: 36px; height: 36px; color: var(--blue-500); }

/* ---------- Process ---------- */
.process { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s-4); counter-reset: step; }
.process--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.process li { position: relative; display: grid; gap: var(--s-3); align-content: start; padding-top: var(--s-6); }
.process li::before { counter-increment: step; content: "0" counter(step); font: 800 1.6rem/1 var(--font-display); color: var(--blue-500); letter-spacing: -.02em; }
.process li::after { content: ""; position: absolute; top: 0; left: 0; right: calc(var(--s-4) * -1); height: 2px; background: linear-gradient(90deg, var(--blue-500), rgba(31,91,255,.15)); }
.process li:last-child::after { right: 0; background: var(--blue-500); }
.dark .process li::before { color: var(--blue-300); }
.process p { color: var(--ink-2); font-size: .95rem; }
.dark .process p { color: var(--mist); }

/* ---------- Pricing ---------- */
.offer-banner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s-5); align-items: center; padding: clamp(24px, 3.5vw, 44px); border-radius: var(--r-xl); color: #fff; background: radial-gradient(600px 300px at 100% 0%, rgba(126,161,255,.35), transparent 60%), linear-gradient(135deg, var(--blue-600), var(--blue-500) 60%, #3B6DFF); position: relative; overflow: hidden; }
.offer-banner .price-big { font: 800 clamp(2.6rem, 2rem + 2.4vw, 4rem)/1 var(--font-display); letter-spacing: -.04em; }
.offer-banner .price-big small { font-size: .38em; font-weight: 700; letter-spacing: 0; opacity: .85; margin-right: 6px; vertical-align: .9em; }
.offer-banner p { color: #E9EFFF; }
.offer-banner .btn--primary { --btn-bg: #fff; --btn-fg: var(--blue-600); }
.offer-banner .btn--primary:hover { --btn-bg: var(--navy-900); --btn-fg: #fff; box-shadow: none; }
.spots { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: .92rem; }
.spots i { width: 10px; height: 10px; border-radius: 50%; background: #9CF5C8; box-shadow: 0 0 0 4px rgba(156,245,200,.25); }
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); align-items: stretch; }
.price > .btn { margin-top: auto; }
.price { display: flex; flex-direction: column; gap: var(--s-4); padding: clamp(24px, 2.6vw, 34px); border-radius: var(--r-xl); border: 1px solid var(--line); background: #fff; position: relative; min-width: 0; }
.price--feature { border: 2px solid var(--blue-500); box-shadow: var(--shadow-2); }
.price--feature .ribbon { position: absolute; top: -13px; left: 24px; background: var(--blue-500); color: #fff; font: 700 .7rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; padding: 7px 12px; border-radius: var(--r-pill); }
.price__amt { font: 800 2.4rem/1 var(--font-display); letter-spacing: -.035em; }
.price__amt small { font: 600 .9rem/1 var(--font-body); color: var(--ink-2); letter-spacing: 0; }
.price__amt .from { display: block; font: 600 .72rem/1.4 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 6px; }
.price .check-list { font-size: .94rem; }
.note { font-size: .86rem; color: var(--ink-2); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; transition: border-color var(--dur-2); }
.faq details[open] { border-color: rgba(31,91,255,.4); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 22px; display: flex; justify-content: space-between; gap: 16px; align-items: center; font: 700 1.02rem/1.4 var(--font-display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 12px; height: 12px; flex: none; border-right: 2px solid var(--blue-500); border-bottom: 2px solid var(--blue-500); transform: rotate(45deg) translateY(-3px); transition: transform var(--dur-2) var(--ease-out); }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq .answer { padding: 0 22px 22px; color: var(--ink-2); display: grid; gap: 10px; max-width: 72ch; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; isolation: isolate; color: #fff; background: radial-gradient(700px 380px at 80% 100%, rgba(31,91,255,.35), transparent 60%), linear-gradient(160deg, var(--navy-900), var(--navy-950)); padding-block: clamp(72px, 9vw, 120px); }
.cta-band__inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: var(--s-7); align-items: center; }
.cta-band h2 .hl { color: var(--blue-400); }
.cta-band__peak { position: absolute; right: -60px; bottom: -4px; width: min(700px, 80vw); z-index: 1; opacity: .55; pointer-events: none; }
.contact-list { list-style: none; display: grid; gap: 12px; }
.contact-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: center; }
.contact-list .icon-ring { width: 44px; height: 44px; }
.contact-list .icon-ring svg { width: 20px; height: 20px; }
.contact-list small { display: block; color: var(--mist); font-size: .8rem; }
.contact-list a, .contact-list b { color: #fff; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { text-decoration: underline; }

/* ---------- Forms ---------- */
.form { display: grid; gap: var(--s-5); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5); }
.field { display: grid; gap: 8px; min-width: 0; }
.field label, .field legend { font: 600 .9rem/1.3 var(--font-body); color: var(--ink); padding: 0; }
.field .opt { font-weight: 400; color: var(--ink-2); }
.field .hint { font-size: .84rem; color: var(--ink-2); }
.input, .select, .textarea { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: var(--r-md); border: 1.5px solid #C5CDE0; background: #fff; color: var(--ink); transition: border-color var(--dur-1), box-shadow var(--dur-2); }
.textarea { min-height: 130px; resize: vertical; line-height: 1.55; }
.select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 8l5 5 5-5' fill='none' stroke='%234A5573' stroke-width='2'/%3E%3C/svg%3E") right 14px center / 18px no-repeat; padding-right: 44px; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--ink-3); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(31,91,255,.18); }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: var(--error); }
.field .err { display: none; color: var(--error); font-size: .86rem; font-weight: 500; align-items: center; gap: 6px; }
.field.has-error .err { display: flex; }
.err svg { width: 16px; height: 16px; flex: none; }
.check { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; font-size: .92rem; color: var(--ink-2); cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--blue-500); }
.error-summary { border: 2px solid var(--error); border-radius: var(--r-lg); padding: 16px 20px; background: #FFF5F5; display: grid; gap: 8px; }
.error-summary[hidden] { display: none; }
.error-summary h3 { font-size: 1rem; color: var(--error); }
.error-summary ul { padding-left: 1.2em; }
.error-summary a { color: var(--error); font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { border-radius: var(--r-lg); padding: 20px; background: #EAF7F0; color: #0B5A3B; display: grid; gap: 6px; }
.form-status[hidden] { display: none; }

/* Option cards (radio) */
.options { display: grid; gap: var(--s-3); border: 0; margin: 0; padding: 0; min-width: 0; }
.options legend { margin-bottom: var(--s-3); }
.options--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.options--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.opt-card { position: relative; display: grid; gap: 6px; padding: 18px 18px 18px 54px; border-radius: var(--r-lg); border: 1.5px solid var(--line); background: #fff; cursor: pointer; transition: border-color var(--dur-1), box-shadow var(--dur-2), background-color var(--dur-1); min-width: 0; }
.opt-card:hover { border-color: var(--blue-400); }
.opt-card input { position: absolute; opacity: 0; pointer-events: none; }
.opt-card::before { content: ""; position: absolute; left: 18px; top: 20px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #9AA4BE; background: #fff; transition: border-color var(--dur-1), box-shadow var(--dur-1); }
.opt-card:has(input:checked) { border-color: var(--blue-500); background: var(--blue-050); box-shadow: 0 0 0 1px var(--blue-500); }
.opt-card:has(input:checked)::before { border-color: var(--blue-500); box-shadow: inset 0 0 0 5px #fff; background: var(--blue-500); }
.opt-card:has(input:focus-visible) { outline: 3px solid var(--blue-500); outline-offset: 3px; }
.opt-card b { font: 700 1rem/1.3 var(--font-display); }
.opt-card span { color: var(--ink-2); font-size: .88rem; line-height: 1.45; }
.opt-card .tag { justify-self: start; }
.opt-card .opt-top { display: flex; justify-content: space-between; gap: 10px; align-items: start; }

/* ---------- Booking ---------- */
.bk { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(24px, 4vw, 48px); align-items: start; }
.bk.is-done { grid-template-columns: minmax(0, 1fr); max-width: 820px; margin-inline: auto; }
.bk__main { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(20px, 3.4vw, 44px); box-shadow: var(--shadow-1); min-width: 0; }
.bk__aside { position: sticky; top: 100px; display: grid; gap: var(--s-4); }
.progress { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin-bottom: clamp(24px, 3vw, 36px); counter-reset: p; }
.progress li { counter-increment: p; }
.progress button { width: 100%; display: grid; gap: 8px; padding: 0; border: 0; background: none; text-align: left; cursor: default; color: var(--ink-3); font: 600 .78rem/1.3 var(--font-body); }
.progress button::before { content: ""; height: 4px; border-radius: 4px; background: var(--silver-200); transition: background-color var(--dur-3); }
.progress button span::before { content: counter(p) ". "; }
.progress li.is-done button { cursor: pointer; color: var(--ink-2); }
.progress li.is-done button::before { background: var(--blue-400); }
.progress li.is-done button:hover { color: var(--blue-600); }
.progress li.is-current button { color: var(--ink); }
.progress li.is-current button::before { background: var(--blue-500); }
.bk-step { display: grid; gap: var(--s-5); }
.bk-step[hidden] { display: none; }
.js-motion .bk-step:not([hidden]) { animation: fadeUp var(--dur-3) var(--ease-out); }
.bk-step h2 { font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); }
.bk-step h2:focus { outline: none; }
.bk-nav { display: flex; justify-content: space-between; gap: var(--s-3); padding-top: var(--s-5); border-top: 1px solid var(--line); flex-wrap: wrap; }
.bk-nav .btn--outline { margin-right: auto; }
.sub-list[hidden] { display: none; }
.tzbar { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; padding: 14px 16px; border-radius: var(--r-md); background: var(--silver-100); font-size: .9rem; }
.tzbar label { font-weight: 600; }
.tzbar .select { min-height: 42px; width: auto; max-width: 100%; padding-block: 8px; }
.cal-wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: var(--s-5); align-items: start; }
.cal { border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-4); min-width: 0; }
.cal__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--s-3); }
.cal__head h3 { font-size: 1.05rem; }
.cal__nav { display: flex; gap: 6px; }
.icon-btn { width: 40px; height: 40px; border-radius: var(--r-md); border: 1px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.icon-btn:hover:not([disabled]) { border-color: var(--blue-500); color: var(--blue-600); }
.icon-btn[disabled] { opacity: .35; cursor: not-allowed; }
.icon-btn svg { width: 18px; height: 18px; }
.cal table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.cal th { font: 600 .72rem/1 var(--font-body); color: var(--ink-3); padding: 6px 0 10px; letter-spacing: .06em; }
.cal td { padding: 2px; text-align: center; }
.day { width: 100%; aspect-ratio: 1; max-height: 48px; border-radius: var(--r-md); border: 1.5px solid transparent; background: none; font: 600 .92rem/1 var(--font-body); color: var(--ink-3); cursor: default; position: relative; }
.day.is-avail { color: var(--ink); background: var(--blue-050); cursor: pointer; }
.day.is-avail::after { content: ""; position: absolute; left: 50%; bottom: 6px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--blue-500); }
.day.is-avail:hover { border-color: var(--blue-400); }
.day[aria-pressed="true"] { background: var(--blue-500); color: #fff; }
.day[aria-pressed="true"]::after { background: #fff; }
.day.is-today { box-shadow: inset 0 0 0 1.5px var(--silver-300); }
.slots { display: grid; gap: var(--s-3); align-content: start; min-width: 0; }
.slots__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; max-height: 420px; overflow-y: auto; padding: 2px; }
.slot { display: grid; gap: 2px; padding: 10px 12px; border-radius: var(--r-md); border: 1.5px solid var(--line); background: #fff; cursor: pointer; text-align: left; transition: border-color var(--dur-1), background-color var(--dur-1); }
.slot b { font: 700 1rem/1.2 var(--font-display); }
.slot small { color: var(--ink-2); font-size: .78rem; }
.slot:hover { border-color: var(--blue-400); }
.slot[aria-pressed="true"] { border-color: var(--blue-500); background: var(--blue-500); color: #fff; }
.slot[aria-pressed="true"] small { color: #E9EFFF; }
.empty { padding: 20px; border-radius: var(--r-md); background: var(--silver-100); color: var(--ink-2); font-size: .92rem; }
.summary { list-style: none; display: grid; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.summary li { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); align-items: start; }
.summary li:last-child { border-bottom: 0; }
.summary dt, .summary .k { font-size: .84rem; color: var(--ink-2); font-weight: 600; }
.summary .v { font-weight: 600; overflow-wrap: anywhere; }
.summary .v small { display: block; font-weight: 400; color: var(--ink-2); }
.edit { background: none; border: 0; color: var(--blue-600); font-weight: 600; cursor: pointer; padding: 2px 4px; border-radius: 4px; font-size: .88rem; }
.edit:hover { text-decoration: underline; }
.aside-card { border-radius: var(--r-xl); padding: var(--s-5); display: grid; gap: var(--s-4); }
.aside-card.dark { background: linear-gradient(160deg, var(--navy-900), var(--navy-800)); }
.aside-card dl { margin: 0; display: grid; gap: 12px; }
.aside-card dt { font: 600 .68rem/1.3 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--mist); }
.aside-card dd { margin: 2px 0 0; font-weight: 600; }
.aside-card dd small { display: block; font-weight: 400; color: var(--mist); }
.aside-card dd.unset { color: var(--mist); font-weight: 400; }
.done { text-align: center; display: grid; gap: var(--s-4); justify-items: center; padding-block: var(--s-4); }
.done__mark { width: 96px; height: 96px; }
.ref { font: 600 .9rem/1 ui-monospace, Consolas, monospace; background: var(--silver-100); padding: 8px 12px; border-radius: var(--r-md); }
.next-steps { list-style: none; display: grid; gap: 12px; text-align: left; counter-reset: n; max-width: 520px; width: 100%; }
.next-steps li { counter-increment: n; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: start; }
.next-steps li::before { content: counter(n); width: 34px; height: 34px; border-radius: 50%; background: var(--blue-100); color: var(--blue-600); display: grid; place-items: center; font: 800 .9rem/1 var(--font-display); }
.demo-note { font-size: .82rem; color: var(--warn-ink); background: var(--warn-bg); border-radius: var(--r-md); padding: 10px 14px; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Work / filters ---------- */
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-6); }
.work-card { display: grid; gap: var(--s-4); text-decoration: none; color: inherit; }
.work-card[hidden] { display: none; }
.work-card h3 { transition: color var(--dur-1); }
.work-card:hover h3 { color: var(--blue-600); }
.mono-panel { aspect-ratio: 16 / 10; border-radius: var(--r-lg); display: grid; place-items: center; background: radial-gradient(420px 260px at 75% 15%, rgba(31,91,255,.4), transparent 60%), linear-gradient(160deg, var(--navy-900), var(--navy-800)); border: 1px solid rgba(255,255,255,.08); overflow: hidden; }
.mono-panel span { font: 800 clamp(3rem, 2rem + 4vw, 5.5rem)/1 var(--font-display); letter-spacing: -.04em; background: linear-gradient(180deg, #fff 30%, var(--silver-300)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mini-quote { margin: 0; padding-left: 16px; border-left: 3px solid var(--blue-500); display: grid; gap: 4px; }
.mini-quote p { font: 600 1.05rem/1.45 var(--font-display); color: var(--ink); }
.mini-quote cite { font-style: normal; font-size: var(--fs-small); color: var(--ink-2); }
.slot-card { display: grid; place-items: center; text-align: center; gap: var(--s-3); padding: var(--s-7) var(--s-5); border-radius: var(--r-lg); border: 1.5px dashed var(--silver-300); background: var(--silver-100); min-height: 100%; }
.before-after { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); }
.ba-box { border-radius: var(--r-lg); border: 1.5px dashed var(--silver-300); min-height: 220px; display: grid; place-items: center; text-align: center; padding: var(--s-5); background: var(--silver-100); color: var(--ink-2); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #fff; padding-block: clamp(56px, 7vw, 88px) 32px; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: var(--s-6); }
.footer__brand { display: grid; gap: var(--s-4); align-content: start; }
.footer__brand p { color: var(--mist); max-width: 34ch; }
.site-footer h2 { font: 600 .72rem/1.3 var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--mist); margin-bottom: var(--s-4); }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: #E3E8F3; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer__base { margin-top: var(--s-8); padding-top: var(--s-5); border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--mist); font-size: .85rem; }
.footer__base a { color: var(--mist); }

/* Mobile sticky CTA bar */
.mbar { display: none; }

/* ---------- Reveal on scroll ---------- */
.js-motion [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity var(--dur-4) var(--ease-out), transform var(--dur-4) var(--ease-out); }
.js-motion [data-reveal].is-in { opacity: 1; transform: none; }
.js-motion [data-reveal="2"] { transition-delay: 90ms; }
.js-motion [data-reveal="3"] { transition-delay: 180ms; }
.js-motion [data-reveal="4"] { transition-delay: 270ms; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: grid; }
  .mobile-menu { display: block; position: fixed; inset: 0; z-index: 70; background: var(--navy-950); color: #fff; padding: calc(env(safe-area-inset-top, 0px) + 16px) var(--gutter) 32px; overflow-y: auto; }
  .mobile-menu[hidden] { display: none; }
  .mobile-menu__top { display: flex; justify-content: space-between; align-items: center; min-height: 60px; }
  .mobile-menu nav { display: grid; gap: 4px; margin-top: var(--s-5); }
  .mobile-menu nav a { display: block; padding: 14px 4px; color: #fff; text-decoration: none; font: 700 1.3rem/1.2 var(--font-display); border-bottom: 1px solid var(--line-dark); }
  .mobile-menu nav a.sub { font: 500 1rem/1.3 var(--font-body); color: var(--mist); padding: 10px 4px 10px 18px; }
  .mobile-menu .btn { margin-top: var(--s-6); width: 100%; }
  .hero__inner { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-bottom: clamp(260px, 52vw, 420px); }
  .hero__art svg { right: -18%; width: 135vw; }
  .hero__art::after { background: linear-gradient(180deg, var(--navy-950) 0%, rgba(7,15,36,.85) 45%, rgba(7,15,36,0) 72%); }
  .hero .wp-label { display: none; }
  .hero__side { display: none; }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-grid > *, .svc-grid > :nth-child(4), .svc-grid > :nth-child(5) { grid-column: auto; }
  .svc-grid > :nth-child(5) { grid-column: 1 / -1; }
  .capdiag { grid-template-columns: minmax(0, 1fr); }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--s-6); }
  .process li::after { right: 0; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
  .bk { grid-template-columns: minmax(0, 1fr); }
  .bk__aside { position: static; order: -1; }
  .bk__aside .hide-sm { display: none; }
  .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .case, .cta-band__inner { grid-template-columns: minmax(0, 1fr); }
  .proof__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof__item:nth-child(3) { border-left: 0; }
  .proof__item:nth-child(n+3) { border-top: 1px solid var(--glass-line); }
  .proof--light .proof__item:nth-child(n+3) { border-top-color: var(--line); }
  .journey__track { grid-template-columns: minmax(0, 1fr); gap: var(--s-4); }
  .jstep:nth-child(n) { margin-bottom: 0; margin-left: calc((var(--n, 1) - 1) * 18px); }
  .jstep:nth-child(2) { --n: 2; } .jstep:nth-child(3) { --n: 3; } .jstep:nth-child(4) { --n: 4; }
  .journey__line { display: none; }
  .cal-wrap { grid-template-columns: minmax(0, 1fr); }
  .work-grid { grid-template-columns: minmax(0, 1fr); }
  .section-head--row { grid-template-columns: minmax(0, 1fr); }
  .offer-banner { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4, .form-row, .options--2, .options--3, .price-grid, .before-after, .facts { grid-template-columns: minmax(0, 1fr); }
  .svc-grid { grid-template-columns: minmax(0, 1fr); }
  .svc-grid > :nth-child(5) { grid-column: auto; }
  .process { grid-template-columns: minmax(0, 1fr); }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .capdiag__wheel { aspect-ratio: auto; display: grid; gap: 10px; }
  .capdiag__wheel svg.rings, .capdiag__center { display: none; }
  .capdiag__tabs { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cap-btn { position: static; width: 100%; }
  .summary li { grid-template-columns: minmax(0, 1fr) auto; }
  .summary li .k { grid-column: 1 / -1; }
  .progress button span { font-size: 0; }
  .progress button span::before { font-size: .78rem; content: counter(p); }
  .progress li.is-current button span { font-size: .78rem; }
  .progress li.is-current button span::before { content: counter(p) ". "; }
  .offer-bar .container { padding-right: 52px; justify-content: flex-start; text-align: left; }
  .logo__word { font-size: 1.05rem; }
  .logo__desc { display: none; }
  .mbar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(7,15,36,.94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--line-dark); transform: translateY(110%); transition: transform var(--dur-3) var(--ease-out); }
  .mbar.is-on { transform: none; }
  .mbar .btn { min-height: 48px; padding-inline: 12px; }
  body.has-mbar { padding-bottom: 76px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .summit-pulse { display: none; }
}
