/* Q-517 — hanavi.vn v4: the Zenox layout, block for block, in HANAVI's colours. Near-black ground, white headings
   in Inter, mono uppercase labels, dark pill buttons with a white arrow chip, cut corners on cards, a dotted grid,
   sticky stacks and sliders. The light ribbon (js/ribbon-v4.js) is drawn inside the sections that carry one. */
@font-face { font-family: "Inter"; src: url("/fonts/InterVariable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --ink: #050507;
  --panel: #0A0A0F;
  --panel-2: #0E0E14;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #FFFFFF;
  --soft: #A3A8B3;
  --muted: #7D8393;
  --blue: #315BFF;
  --blue-text: #8FB8FF;
  --violet: #6C3BFF;
  --violet-text: #B39BFF;
  --radius: 14px;
  --wrap: 1240px;
  --gutter: 48px;
  --mono: "Cascadia Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  color-scheme: dark;
  --shadow: rgba(0,0,0,.9);
  --on-accent: #FFFFFF;
  --credit-text: #7D8393;
  --grid-dots: rgba(255, 255, 255, .11);
  --mask-solid: #000;
  --button-surface: #121218;
  --button-border: #1E1E27;
  --shadow-deep: rgba(0, 0, 0, .9);
  --button-border-hover: #2D2D3A;
  --pill-surface: #1A1A22;
  --header-surface: rgba(5, 5, 7, .72);
  --blue-glow-strong: rgba(49, 91, 255, .55);
  --violet-glow-strong: rgba(108, 59, 255, .55);
  --feature-surface: #0B0B14;
  --progress-track: #2A2A36;
  --laptop-border: #1A1B22;
  --shadow-heavy: rgba(0, 0, 0, .95);
  --screen-inset: rgba(255, 255, 255, .05);
  --camera-surface: #2A2C38;
  --laptop-metal-top: #2C2E3A;
  --laptop-metal-mid: #14151C;
  --laptop-metal-bottom: #0B0B10;
  --laptop-notch: #0A0B10;
  --display-gradient-top: #F2F3F7;
  --display-gradient-mid: #B9BDC8;
  --display-gradient-bottom: #3A3D4A;
  --violet-glow-bright: rgba(108, 59, 255, .7);
  --blue-glow-soft: rgba(49, 91, 255, .25);
  --blue-glow-medium: rgba(49, 91, 255, .5);
  --violet-glow-medium: rgba(108, 59, 255, .6);
  --stage-surface: #08080D;
  --stage-dots: rgba(255, 255, 255, .1);
  --workspace-surface: #0F1016;
  --footer-box-top: #0E0E14;
  --floating-surface: rgba(10, 10, 15, .92);
  --quote-surface: rgba(10, 10, 15, .94);
  --video-label-surface: rgba(5, 5, 7, .7);
  --video-switch-surface: rgba(5, 5, 7, .78);
  --marquee-text: #4A4F5C;
  --image-caption-surface: rgba(5, 5, 7, .92);
  --image-caption-line: rgba(255, 255, 255, .22);
  --blue-glow-bright: rgba(49, 91, 255, .7);
  --card-dots: rgba(255, 255, 255, .12);
  --stat-gradient-top: var(--text);
  --stat-gradient-bottom: rgba(255, 255, 255, .35);
  --pro-surface: #0A0A14;
  --plan-box-surface: rgba(5, 5, 7, .45);
  --pro-box-surface: rgba(5, 5, 7, .35);
  --footer-surface: rgba(10, 10, 14, .74);
  --blue-glow-faint: rgba(49, 91, 255, .3);
  --brand-white: #FFFFFF;
  --blue-glow-vivid: rgba(49, 91, 255, .6);
  --dialog-backdrop: rgba(5, 5, 7, .74);
  --menu-surface: rgba(5, 5, 7, .97);
  --ribbon-blue-halo: rgba(49,91,255,.035);
  --ribbon-violet-halo: rgba(108,59,255,.02);
  --tip-surface: rgba(16, 185, 129, 0.12);
  --tip-line: #34d399;
  --note-surface: rgba(245, 158, 11, 0.12);
  --note-line: #fbbf24;
  --lightbox-backdrop: rgba(8, 12, 22, 0.82);
  --toc-backdrop: rgba(8, 12, 22, 0.62);
  --legal-text-fallback: var(--text);
  --legal-ground-fallback: var(--ink);
  --legal-line-fallback: rgba(148,163,184,.25);
  --legal-surface-fallback: rgba(15,23,42,.72);
  --legal-accent: #7c93ff;
  --legal-muted-fallback: var(--soft);

  --image-caption-text: #A3A8B3;
  --image-caption-dark: rgba(5,5,7,.92);
  --image-caption-border: rgba(255,255,255,.22);

}

:root[data-theme="light"] {
  --page-top: #F7F8FD; --page-bottom: #EEF1FA;
  --page-blue: rgba(49,91,255,.08); --page-violet: rgba(108,59,255,.06);
  --page-bg: radial-gradient(ellipse at top right, var(--page-blue), transparent 55%), radial-gradient(ellipse at bottom left, var(--page-violet), transparent 55%), linear-gradient(180deg, var(--page-top), var(--page-bottom));
  --card-border: rgba(16,24,64,.08);
  --card-shadow: 0 20px 60px -30px rgba(31,47,120,.28);
  --band-alt: #F2F4FA;
  --switch-off: #E3E7F3; --switch-border: rgba(16,24,64,.12);
  --knob-shadow: 0 2px 6px rgba(31,47,120,.24);

  color-scheme: light;
  --ink: #F4F5F9; --panel: #FFFFFF; --panel-2: #FFFFFF;
  --line: rgba(10,10,15,.08); --line-2: rgba(10,10,15,.14);
  --text: #0B0C12; --soft: #252A37; --muted: #4B5265;
  --blue: #315BFF; --blue-text: #2140B8; --violet: #6C3BFF; --violet-text: #5B2FE0;
  --shadow: rgba(10,10,15,.12);
  --credit-text: #4B5265;
  --grid-dots: rgba(10,10,15,.10);
  --mask-solid: #000;
  --button-surface: #FFFFFF;
  --button-border: #E2E5EF;
  --shadow-deep: rgba(10,10,15,0.16);
  --button-border-hover: #E2E5EF;
  --pill-surface: #E2E5EF;
  --header-surface: rgba(244,245,249,0.72);
  --blue-glow-strong: rgba(49,91,255,0.1375);
  --violet-glow-strong: rgba(108,59,255,0.1375);
  --feature-surface: #FFFFFF;
  --progress-track: #E2E5EF;
  --laptop-border: #E2E5EF;
  --shadow-heavy: rgba(10,10,15,0.16);
  --screen-inset: rgba(10,10,15,0.05);
  --camera-surface: #E2E5EF;
  --laptop-metal-top: #E2E5EF;
  --laptop-metal-mid: #FFFFFF;
  --laptop-metal-bottom: #FFFFFF;
  --laptop-notch: #FFFFFF;
  --display-gradient-top: #0B0C12;
  --display-gradient-mid: #4B5265;
  --display-gradient-bottom: #777E90;
  --violet-glow-bright: rgba(108,59,255,0.175);
  --blue-glow-soft: rgba(49,91,255,0.0625);
  --blue-glow-medium: rgba(49,91,255,0.125);
  --violet-glow-medium: rgba(108,59,255,0.15);
  --stage-surface: #FFFFFF;
  --stage-dots: rgba(10,10,15,0.1);
  --workspace-surface: #FFFFFF;
  --footer-box-top: #FFFFFF;
  --floating-surface: rgba(244,245,249,0.92);
  --quote-surface: rgba(244,245,249,0.94);
  --video-label-surface: rgba(244,245,249,0.7);
  --video-switch-surface: rgba(244,245,249,0.78);
  --marquee-text: #4B5265;
  --image-caption-surface: rgba(244,245,249,0.92);
  --image-caption-line: rgba(10,10,15,0.22);
  --blue-glow-bright: rgba(49,91,255,0.175);
  --card-dots: rgba(10,10,15,0.12);
  --stat-gradient-top: var(--text);
  --stat-gradient-bottom: rgba(10,10,15,0.35);
  --pro-surface: #FFFFFF;
  --plan-box-surface: rgba(244,245,249,0.45);
  --pro-box-surface: rgba(244,245,249,0.35);
  --footer-surface: var(--panel);
  --blue-glow-faint: rgba(49,91,255,0.075);
  --brand-white: #FFFFFF;
  --blue-glow-vivid: rgba(49,91,255,0.15);
  --dialog-backdrop: rgba(244,245,249,0.74);
  --menu-surface: rgba(244,245,249,0.97);
  --hero-text-halo: rgba(247,248,253,.88);
  --hero-text-shadow: 0 0 12px #FFFFFF, 0 0 2px #FFFFFF;
  --ribbon-blue-halo: rgba(157,180,255,.30);
  --ribbon-violet-halo: rgba(199,182,255,.22);
  --tip-surface: rgba(16, 185, 129, 0.12);
  --tip-line: #34d399;
  --note-surface: rgba(245, 158, 11, 0.12);
  --note-line: #fbbf24;
  --lightbox-backdrop: rgba(10,10,15,0.16);
  --toc-backdrop: rgba(10,10,15,0.16);
  --legal-text-fallback: var(--text);
  --legal-ground-fallback: var(--ink);
  --legal-line-fallback: rgba(148,163,184,.25);
  --legal-surface-fallback: var(--panel);
  --legal-accent: #2140B8;
  --legal-muted-fallback: var(--soft);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body.v4-body { margin: 0; background: var(--ink); color: var(--text); font: 400 16px/1.55 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
figure { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }
a, button, summary, input, select, textarea, label { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
[id], h1, h2, h3 { scroll-margin-top: 96px; }   /* anchors land under the sticky bar, not behind it */
.metric-n, .plan2-price, .compare-price, .case-stat-n, .listen-tc, .float-n, .team-n, .fact strong { font-variant-numeric: tabular-nums; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; display: inline-flex; align-items: center; min-height: 44px; background: var(--text); color: var(--ink); padding: 0 14px; border-radius: 8px; }
.skip:focus { left: 16px; }
:focus-visible { outline: 2px solid var(--blue-text); outline-offset: 3px; border-radius: 6px; }
.mono { font-family: var(--mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; font-weight: 500; }
.kicker { margin: 0 0 14px; color: var(--soft); font-weight: 400; }
.eyebrow { margin: 0 0 22px; font-family: var(--mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--soft); font-weight: 400; }
.eyebrow b { font-weight: 500; color: var(--blue-text); margin-right: 6px; }
.eyebrow-final b { color: var(--blue-text); }
h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -.03em; line-height: 1.08; text-wrap: balance; }
.h1 { font-size: clamp(40px, 5vw, 64px); }
.h2 { font-size: clamp(30px, 3.2vw, 42px); }
.h3 { font-size: clamp(28px, 3vw, 38px); }
.h5 { font-size: clamp(22px, 2.3vw, 30px); letter-spacing: -.02em; }
h3 { font-size: 22px; letter-spacing: -.015em; }
p { margin: 0; }
.lead { color: var(--soft); max-width: 520px; margin-top: 22px; font-size: 15px; }
.note { color: var(--muted); font-size: 13.5px; margin-top: 18px; max-width: 820px; }
.credit { color: var(--credit-text); font-size: 12.5px; margin-top: 20px; }
.link { display: inline-flex; align-items: center; min-height: 44px; color: var(--blue-text); text-decoration: none; font-weight: 500; }
.link:hover { text-decoration: underline; }
.num { margin: 0 0 12px; color: var(--blue-text); }
.center-link { text-align: center; margin-top: 28px; }

/* the dotted grid behind heroes */
.dots { position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: radial-gradient(var(--grid-dots) 1px, transparent 1.4px); background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(60% 70% at 62% 30%, var(--mask-solid) 10%, transparent 72%); mask-image: radial-gradient(60% 70% at 62% 30%, var(--mask-solid) 10%, transparent 72%); }

/* the light ribbon lives inside the section that carries it, under the content, and may flow past the section's edge */
.has-ribbon { position: relative; isolation: isolate; overflow: visible; }
.has-ribbon > .wrap, .has-ribbon > .platform-scene, .has-ribbon > .final-inner { position: relative; z-index: 1; }
.ribbon { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: -1;
  -webkit-mask-image: linear-gradient(180deg, transparent, var(--mask-solid) 10%, var(--mask-solid) 90%, transparent); mask-image: linear-gradient(180deg, transparent, var(--mask-solid) 10%, var(--mask-solid) 90%, transparent); }
.ribbon canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero .ribbon-hero { inset: -8% 0 -36% 0; }
.hero .ribbon-section { inset: auto 0 -520px 0; height: 820px; }
/* every later section paints above the ribbons of the one before it, so a ribbon flows on under the next block's text */
.band, .final, .foot { position: relative; z-index: 1; }
.hero { z-index: 0; }
.insights .ribbon-low { inset: 10% 0 -6% 0; }
.quote .ribbon-quote { inset: 10% 0 -12% 0; }
.final .ribbon-final { inset: 18% 0 -620px 0; }
.hero-page .ribbon-page { inset: -10% 0 -36% 0; }
.hero-about .ribbon-about { inset: 0 0 -24% 0; }

/* ===== Button standard (Q-517, PO 01/10): four kinds, all 50 px tall with a 10 px radius and the same chip.
   .btn-pill: dark body, mono label, white chip; the ordinary action. .btn-pill-white: the one main action of a block.
   .btn-ghost: outlined, secondary. Icon buttons (.arrows button, .chip-btn): 50 x 50, or the 40 px chip alone.
   Labels never wrap. Below 860 px every pill stretches to the content width with the label left and the chip right,
   so a long label and a short one make the same rectangle. ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 14px; text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-pill { min-height: 50px; padding: 0 5px 0 24px; border-radius: 10px; background: var(--button-surface); border-color: var(--button-border); color: var(--text); box-shadow: 0 12px 34px -16px var(--shadow-deep); }
.btn-pill:hover { border-color: var(--button-border-hover); }
.btn-pill .mono { font-size: 13px; white-space: nowrap; }
.chip { position: relative; display: inline-block; width: 40px; height: 40px; border-radius: 8px; background: var(--text); flex: none;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%); transition: transform .2s ease; }
.chip::before { content: ""; position: absolute; left: 13px; top: 19px; width: 13px; height: 2px; background: var(--ink); border-radius: 2px; }
.chip::after { content: ""; position: absolute; right: 14px; top: 15px; width: 7px; height: 7px; border: solid var(--ink); border-width: 2px 2px 0 0; transform: rotate(45deg); }
.btn-pill:hover .chip { transform: translateX(3px); }
.btn-pill-white { background: var(--text); color: var(--ink); border-color: var(--text); }
.btn-pill-white .chip { background: var(--ink); }
.btn-pill-white .chip::before { background: var(--text); }
.btn-pill-white .chip::after { border-color: var(--text); }
.btn-block { width: 100%; justify-content: space-between; }
.btn-ghost { min-height: 50px; padding: 0 20px; border-radius: 10px; background: transparent; border-color: var(--line-2); color: var(--soft); font-size: 14px; white-space: nowrap; }
.btn-ghost:hover { color: var(--text); border-color: var(--text); }
.chip-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0; border: 0; background: transparent; }
.chip-btn:hover .chip { transform: translateX(3px); }
.arrows { display: inline-flex; gap: 8px; }
.arrows button { position: relative; width: 50px; height: 50px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--button-surface); cursor: pointer; transition: border-color .18s ease, background .18s ease; }
.arrows button:hover { border-color: var(--text); background: var(--pill-surface); }
.arrows button::after { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; border: solid var(--text); border-width: 2px 2px 0 0; transform: translate(-30%, -50%) rotate(45deg); }
.arrows [data-prev]::after, .arrows [data-track-prev]::after { transform: translate(-70%, -50%) rotate(-135deg); }

/* small pieces */
.gline { display: block; width: 40px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--blue), var(--violet)); margin-bottom: 26px; }
.gline-short { width: 40px; }
.corner { position: absolute; right: 0; top: 0; width: 0; height: 0; pointer-events: none;
  border-top: 22px solid var(--ink); border-left: 22px solid transparent; }
.corner::after { content: ""; position: absolute; right: 0; top: -22px; width: 22px; height: 22px; background: linear-gradient(225deg, var(--ink) 50%, transparent 50%); }
.corner-bottom { top: auto; bottom: 0; transform: scaleY(-1); }
.icon-box { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 10px; background: var(--button-surface); border: 1px solid var(--line); }
.icon-box::before { content: ""; position: absolute; left: -1px; top: 14px; width: 2px; height: 32px; border-radius: 2px; background: linear-gradient(180deg, var(--blue), var(--violet)); }
.ic { position: relative; width: 24px; height: 18px; border: 2px solid var(--text); border-radius: 3px; }
.ic::after { content: ""; position: absolute; left: 50%; bottom: -7px; width: 12px; height: 2px; background: var(--text); transform: translateX(-50%); }
.ic-2 { border-radius: 50%; width: 20px; height: 20px; }
.ic-2::after { width: 0; height: 0; left: 6px; bottom: 4px; border-left: 7px solid var(--text); border-top: 4px solid transparent; border-bottom: 4px solid transparent; transform: none; background: transparent; }
.ic-3 { border-color: transparent; border-top-color: var(--text); border-bottom-color: var(--text); border-radius: 0; }
.ic-3::after { bottom: 6px; width: 24px; }
.ic-4 { width: 20px; height: 20px; border-radius: 5px; transform: rotate(45deg); }
.ic-4::after { display: none; }
.pill-tag { display: inline-block; padding: 7px 14px; border-radius: 999px; background: var(--pill-surface); border: 1px solid var(--line); color: var(--text); font-size: 12px; }
.chip-tag { display: inline-block; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text); font-size: 11.5px; background: transparent; white-space: nowrap; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 18px; }
.avatars { display: flex; align-items: center; margin-top: 16px; }
.avatars img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 2px solid var(--ink); margin-right: -10px; background: var(--pill-surface); }
.avatar-chip { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 8px; border-radius: 999px; background: var(--pill-surface); border: 2px solid var(--ink); font-size: 10px; color: var(--text); }
.side-head { margin: 0 0 6px; color: var(--text); }
.side-sub { margin: 0; color: var(--soft); font-weight: 400; }
.side-text { margin: 0; color: var(--text); font-weight: 500; line-height: 1.6; max-width: 26ch; }
.head-center { text-align: center; }
.head-center .h2 { margin: 0 auto; max-width: 18ch; }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.head-row .h2 { max-width: 16ch; }
.caps-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 32px; align-items: end; }
.caps-head .eyebrow, .caps-head .h2 { grid-column: 1; }
.caps-head .h2 { max-width: 18ch; }
.caps-btn { grid-column: 2; grid-row: 1 / span 2; align-self: end; justify-self: end; }
.band { padding-top: clamp(96px, 11vw, 150px); }
.band-tight { padding-top: 40px; }

/* the top bar after v2: a full-width sticky bar that blurs the page under it; the v4 download button on the right */
.top { position: sticky; top: 0; z-index: 40; background: var(--header-surface); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.top.is-scrolled { border-bottom-color: var(--line); }
.top-row { display: flex; align-items: center; gap: 28px; height: 76px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand img { height: 52px; width: auto; }
.top-nav { display: flex; align-items: center; gap: 26px; margin-left: auto; font-size: 15px; }
.top-nav > a { display: inline-flex; align-items: center; min-height: 44px; color: var(--soft); text-decoration: none; }
.top-nav > a:hover, .top-nav > a[aria-current="page"] { color: var(--text); }
.lang { display: inline-flex; border: 1px solid var(--line-2); border-radius: 999px; padding: 2px; }
.lang a { display: inline-flex; align-items: center; min-height: 32px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--muted); text-decoration: none; }
.lang a[aria-current] { background: var(--pill-surface); color: var(--text); }
.top-cta { min-height: 44px; padding-left: 18px; }
.top-cta .chip { width: 34px; height: 34px; }
.top-cta .chip::before { left: 10px; top: 16px; width: 12px; }
.top-cta .chip::after { right: 11px; top: 12px; width: 6px; height: 6px; }
.menu { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 12px; background: transparent; padding: 12px 10px; cursor: pointer; }
.menu i { display: block; height: 2px; background: var(--text); border-radius: 2px; margin: 4px 0; }

/* hero: the side column, the headline on the right half, then the expertise list beside the feature card */
.hero { position: relative; padding: 90px 0 0; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 40% minmax(0, 1fr); gap: 32px; align-items: start; padding-top: 10px; }
.hero-side { padding-top: 8px; }
.hero-main { max-width: 640px; }
.hero-title { font-size: clamp(38px, 4.9vw, 64px); font-weight: 500; letter-spacing: -.035em; line-height: 1.04; }
.hero-sub { color: var(--soft); max-width: 420px; margin-top: 26px; font-size: 16px; }
.hero-cta { margin-top: 64px; }
.hero-low { position: relative; z-index: 1; display: grid; grid-template-columns: 30% minmax(0, 1fr); gap: 32px; align-items: end; margin-top: 150px; }
.expertise { padding-bottom: 8px; }
.exp-list { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.exp-item { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 2px 0; border: 0; background: transparent; color: var(--text); cursor: pointer; text-align: left; }
.exp-item .chev { display: none; width: 7px; height: 7px; border: solid currentColor; border-width: 2px 2px 0 0; transform: rotate(45deg); }
.exp-item.is-on { color: var(--blue-text); }
.exp-item.is-on .chev { display: inline-block; }
.feature-card { position: relative; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); padding: 30px 30px 24px; box-shadow: 0 40px 120px -50px var(--shadow-deep); }
.fc-slide { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 32px; align-items: center; }
.fc-slides { display: grid; }
.fc-slide { grid-area: 1 / 1; min-width: 0; }
.fc-slide[hidden] { display: grid; visibility: hidden; opacity: 0; pointer-events: none; }
.fc-visual { position: relative; border-radius: 10px; padding: 24px 18px 20px; background: radial-gradient(120% 90% at 20% 0%, var(--blue-glow-strong), transparent 60%), radial-gradient(90% 80% at 90% 100%, var(--violet-glow-strong), transparent 60%), var(--feature-surface); overflow: hidden; }
.fc-text { padding-right: 20px; }
.fc-text .icon-box { width: 44px; height: 44px; margin-bottom: 22px; }
.fc-text .icon-box::before { top: 9px; height: 24px; }
.fc-text h2 { font-size: clamp(22px, 2.3vw, 30px); font-weight: 500; letter-spacing: -.02em; }
.fc-text p { color: var(--soft); margin-top: 14px; font-size: 14.5px; max-width: 46ch; }
.fc-progress { display: flex; gap: 6px; margin: 6px 0 0 auto; width: 420px; max-width: 100%; justify-content: flex-end; }
.fc-progress button { flex: 1 1 0; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 0; position: relative; }
.fc-progress button::before { content: ""; position: absolute; left: 0; right: 0; top: 21px; height: 2px; border-radius: 2px; background: var(--progress-track); }
.fc-progress button::after { content: ""; position: absolute; left: 0; right: 0; top: 21px; height: 2px; border-radius: 2px; background: var(--text); transform: scaleX(0); transform-origin: left; }
.fc-progress button[aria-selected="true"]::after { transform: scaleX(1); transition: transform 7s linear; }
.fc-progress button.is-done::after { transform: scaleX(1); transition: none; }

/* the laptop that stands where Zenox holds a phone: a screen with a thin bezel on a slim base */
.laptop { position: relative; width: 100%; }
.laptop-screen { position: relative; aspect-ratio: 16 / 10; background: var(--mask-solid); border: 5px solid var(--laptop-border); border-bottom-width: 12px; border-radius: 12px 12px 3px 3px; overflow: hidden;
  box-shadow: 0 30px 80px -30px var(--shadow-heavy), inset 0 0 0 1px var(--screen-inset); }
.laptop-screen::before { content: ""; position: absolute; left: 50%; top: 3px; width: 4px; height: 4px; border-radius: 50%; background: var(--camera-surface); transform: translateX(-50%); z-index: 2; }
.laptop-screen > img, .laptop-screen > picture > img, .laptop-screen > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.laptop-base { position: relative; height: 14px; margin: 0 -4%; border-radius: 0 0 12px 12px; background: linear-gradient(180deg, var(--laptop-metal-top), var(--laptop-metal-mid) 70%, var(--laptop-metal-bottom)); box-shadow: 0 10px 30px -10px var(--shadow-deep); }
.laptop-base::before { content: ""; position: absolute; left: 50%; top: 0; width: 16%; height: 5px; transform: translateX(-50%); background: var(--laptop-notch); border-radius: 0 0 6px 6px; }
.laptop-lg .laptop-screen { border-width: 7px; border-bottom-width: 16px; border-radius: 16px 16px 4px 4px; }
.laptop-lg .laptop-base { height: 18px; }

/* 02 the platform: a sticky stage with the laptop over the giant word, the steps scrolling beside it */
.platform-scene { margin-top: 70px; }
.platform-grid { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 60px; align-items: start; }
.platform-stage { position: sticky; top: 100px; height: calc(100vh - 130px); min-height: 520px; max-height: 760px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.giant-word { position: absolute; left: 50%; bottom: 6%; transform: translateX(-50%); white-space: nowrap; user-select: none; font-weight: 700; font-size: clamp(110px, 16.5vw, 250px); line-height: .9; letter-spacing: -.05em;
  background: linear-gradient(180deg, var(--display-gradient-top) 0%, var(--display-gradient-mid) 40%, var(--display-gradient-bottom) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stage-glow { position: absolute; left: 50%; bottom: -10%; width: 80%; height: 60%; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(50% 60% at 50% 100%, var(--violet-glow-bright), var(--blue-glow-soft) 50%, transparent 75%); }
.platform-stage .laptop { position: relative; width: min(58%, 620px); z-index: 1; }
.step-img { opacity: 0; transition: opacity .5s ease; }
.step-img.is-on { opacity: 1; }
.platform-steps { list-style: none; margin: 0; padding: 0; }
.pstep { min-height: 72vh; display: flex; align-items: center; }
.pstep:first-child { min-height: 60vh; }
.pstep-inner { position: relative; padding-left: 32px; color: var(--muted); transition: color .3s ease; }
.pstep-inner::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--line-2); }
.pstep-inner::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 0; background: linear-gradient(180deg, var(--blue), var(--violet)); transition: height .6s ease; }
.pstep.is-on .pstep-inner { color: var(--text); }
.pstep.is-on .pstep-inner::after { height: 100%; }
.pstep h3 { font-size: 22px; margin: 10px 0 18px; }
.pstep p { font-size: 14px; color: inherit; max-width: 28ch; }
.pstep.is-on p { color: var(--soft); }
.pstep-inline { display: none; margin-top: 18px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.pstep-inline img, .scard-visual img, .cap-visual img, .wcard-visual img, .tm figure img, .svc-card figure img { height: auto; }
.cap-visual img, .svc-card figure img, .tm figure img, .scard-visual img { height: 100%; }

/* 01 the workspaces: a lit stage on the left, the accordion on the right */
.services-grid { display: grid; grid-template-columns: minmax(0, 654fr) minmax(0, 534fr); gap: 72px; align-items: center; }
.svc-stage { position: relative; display: grid; padding: 56px 60px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  background: radial-gradient(70% 60% at 10% 100%, var(--blue-glow-medium), transparent 60%), radial-gradient(60% 60% at 95% 100%, var(--violet-glow-medium), transparent 60%), var(--stage-surface); }
.svc-stage::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(var(--stage-dots) 1px, transparent 1.4px); background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(50% 50% at 85% 40%, var(--mask-solid), transparent); mask-image: radial-gradient(50% 50% at 85% 40%, var(--mask-solid), transparent); pointer-events: none; }
.svc-card { grid-area: 1 / 1; position: relative; display: flex; flex-direction: column; padding: 26px 32px 30px; border-radius: 12px; background: var(--workspace-surface); border: 1px solid var(--line-2);
  box-shadow: 0 40px 100px -40px var(--shadow-deep); opacity: 0; transform: translateY(14px); transition: opacity .45s ease, transform .45s ease; z-index: 1; }
.svc-card:not(.is-on) { visibility: hidden; pointer-events: none; }
.svc-card.is-on { visibility: visible; opacity: 1; transform: none; z-index: 2; }
.svc-card figure { flex: none; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; margin-bottom: 22px; background: var(--mask-solid); }
.svc-card figure img { width: 100%; height: 100%; object-fit: cover; }
.svc-card p:not(.num) { color: var(--soft); font-size: 14px; margin-top: 12px; max-width: 42ch; }
.svc-card .gline { margin: 22px 0 0; }
.svc-text .h2 { max-width: 14ch; }
.svc-list { display: flex; flex-direction: column; gap: 10px; margin-top: 60px; }
.svc-item { display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 10px 24px 10px 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); cursor: pointer; text-align: left; color: var(--muted);
  transition: color .25s ease, border-color .25s ease; }
.svc-item .icon-box::before { opacity: 0; }
.svc-item .ic { border-color: var(--muted); }
.svc-item .ic::after { background: var(--muted); }
.svc-item.is-on { color: var(--text); border-color: var(--line-2); }
.svc-item.is-on .icon-box::before { opacity: 1; }
.svc-item.is-on .ic { border-color: var(--text); }
.svc-item.is-on .ic::after { background: var(--text); }
.svc-item.is-on .svc-no { color: var(--blue-text); }
.svc-name { font-size: 22px; letter-spacing: -.015em; font-weight: 500; }
.svc-no { color: inherit; }

/* 03 the benefit slider: wide cards, one centred, the neighbours dimmed */
.benefit .head-center { margin-bottom: 70px; }
.bslider { position: relative; overflow: hidden; padding: 10px 0 0; }
.btrack { display: flex; gap: 24px; width: 100%; transition: transform .65s cubic-bezier(.2, .8, .2, 1); }
.bcard { position: relative; flex: 0 0 100%; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 36px; padding: 34px 36px 36px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); opacity: .32; transition: opacity .5s ease; }
.bcard.is-on { opacity: 1; }
.bcard-text { display: flex; flex-direction: column; }
.bcard-text .gline { width: 100%; height: 1px; background: linear-gradient(90deg, var(--blue), var(--violet) 40%, var(--line-2) 40%); margin-bottom: 30px; }
.bcard-label { color: var(--soft); margin-bottom: 20px; font-weight: 400; }
.bcard h3 { font-size: 24px; }
.bcard-sub { margin-top: auto; padding-top: 48px; font-weight: 600; font-size: 15px; }
.bcard-p { color: var(--soft); font-size: 14px; margin: 8px 0 24px; max-width: 40ch; }
.bcard-visual { position: relative; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--mask-solid); align-self: center; aspect-ratio: 16 / 9; }
.bcard-visual img { width: 100%; height: 100%; object-fit: cover; }
.slider-bar { display: flex; justify-content: center; align-items: center; gap: 26px; margin-top: 30px; }
.dots-bar { display: flex; gap: 6px; }
.dots-bar button { position: relative; width: 48px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 0; }
.dots-bar button::after { content: ""; position: absolute; left: 0; right: 0; top: 21px; height: 2px; border-radius: 2px; background: var(--progress-track); }
.dots-bar button[aria-selected="true"]::after { background: var(--text); }
.float-icons { display: none; }
.float-icons span { width: 64px; height: 64px; border-radius: 12px; background: var(--footer-box-top); border: 1px solid var(--line); opacity: .7; }
.float-icons span:nth-child(2) { transform: translateX(-20px); }
.float-icons span:nth-child(3) { transform: translateX(-36px); }

/* 04 the numbers: text on the left, a card with a big figure and progress bars on the right */
.insights-grid { display: grid; grid-template-columns: minmax(0, 1fr) 436px; gap: 60px; align-items: center; }
.insights-text .h2 { max-width: 12ch; }
.insights-btn { margin-top: 80px; }
.metric-card { position: relative; min-height: 560px; display: flex; flex-direction: column; padding: 30px 32px 34px; border-radius: var(--radius); background: var(--floating-surface); border: 1px solid var(--line); box-shadow: 0 40px 100px -40px var(--shadow-deep); }
.metric-head { display: flex; align-items: center; gap: 12px; }
.metric-head .icon-box { width: 42px; height: 42px; }
.metric-head .icon-box::before { display: none; }
.metric-title { font-weight: 500; }
.metric-head .pill-tag { margin-left: auto; }
.more { position: relative; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); }
.more::before { content: "···"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 16px; letter-spacing: 1px; color: var(--text); }
.metric-body { flex: 1 1 auto; display: flex; align-items: center; }
.metric-body { display: grid; align-items: center; }
.metric { grid-area: 1 / 1; min-width: 0; }
.metric[hidden] { display: block; visibility: hidden; opacity: 0; pointer-events: none; }
.metric-n { font-size: clamp(56px, 6vw, 80px); font-weight: 500; letter-spacing: -.04em; line-height: 1; display: flex; align-items: flex-start; gap: 8px; }
.trend { position: relative; width: 26px; height: 18px; margin-top: 4px; }
.trend::before { content: ""; position: absolute; left: 0; bottom: 4px; width: 22px; height: 2px; background: var(--text); transform: rotate(-30deg); transform-origin: left bottom; }
.trend::after { content: ""; position: absolute; right: 2px; top: 0; width: 7px; height: 7px; border: solid var(--text); border-width: 2px 2px 0 0; }
.metric h3 { margin-top: 42px; font-size: 20px; }
.metric p:not(.metric-n) { color: var(--soft); margin-top: 12px; font-size: 15px; }
.metric-bars { display: flex; gap: 6px; margin-top: 6px; }
.metric-bars button { flex: 1; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 0; position: relative; }
.metric-bars button::before { content: ""; position: absolute; left: 0; right: 0; top: 20px; height: 3px; border-radius: 3px; background: var(--progress-track); }
.metric-bars button::after { content: ""; position: absolute; left: 0; right: 0; top: 20px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--blue), var(--violet)); transform: scaleX(0); transform-origin: left; }
.metric-bars button[aria-selected="true"]::after { transform: scaleX(1); transition: transform 5s linear; }
.metric-bars button.is-done::after { transform: scaleX(1); transition: none; }

/* 05 the capability rows: each row stacks over the previous one while scrolling */
.caps-stack { margin-top: 90px; }
.cap { position: sticky; top: calc(96px + var(--i) * 20px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; padding: 32px 0 56px; border-top: 1px solid var(--line-2); background: var(--ink); }
.cap-text { display: flex; flex-direction: column; align-items: flex-start; }
.cap-text h3 { margin-top: 26px; }
.cap-text p { color: var(--soft); margin-top: 14px; font-size: 15px; max-width: 44ch; }
.cap-visual { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--mask-solid); aspect-ratio: 16 / 9; }
.cap-visual img { width: 100%; height: 100%; object-fit: cover; }

/* 05 the sample film in the testimonial frame: side column, the player card, a frame of the film */
.quote .caps-head { align-items: start; }
.quote-card { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 36px; align-items: center; margin-top: 70px; padding: 28px 32px 28px; border-radius: var(--radius); background: var(--quote-surface); border: 1px solid var(--line); box-shadow: 0 40px 100px -40px var(--shadow-deep); }
.listen-screen { position: relative; }
.listen-frame { position: relative; border-radius: 10px; overflow: hidden; background: var(--mask-solid); border: 1px solid var(--line); aspect-ratio: 16 / 9; }
.listen-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.listen-video[hidden] { display: block; visibility: hidden; }
.listen-tc { position: absolute; top: 12px; left: 14px; padding: 5px 9px; border-radius: 6px; background: var(--image-caption-dark); color: var(--image-caption-text); border: 1px solid var(--image-caption-border); font-size: 11.5px; }
/* Q-539 (PO 02/10): no control over the film — the subtitles live there; the switch sits under the frame at every size */
.switch { position: static; display: inline-flex; margin-top: 12px; padding: 3px; border-radius: 8px; background: var(--video-switch-surface); border: 1px solid var(--line-2); }
.switch button { min-height: 44px; border: 0; background: transparent; color: var(--soft); font-size: 13px; font-weight: 500; padding: 8px 14px; border-radius: 6px; cursor: pointer; transition: background .2s ease, color .2s ease; }
.switch button[aria-checked="true"] { background: var(--text); color: var(--ink); }
.quote-body { display: flex; flex-direction: column; }
.quote-body .avatars { margin-top: 14px; }
.quote-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-top: 30px; }
.quote-name { font-weight: 500; }
.quote-role { color: var(--soft); font-size: 13.5px; margin-top: 2px; }
.quote-actions { display: flex; align-items: center; gap: 12px; }
.quote-progress { height: 1px; margin-top: 18px; background: var(--line-2); position: relative; }
.quote-progress span { position: absolute; left: 0; top: -1px; height: 3px; width: 50%; background: linear-gradient(90deg, var(--blue), var(--violet)); border-radius: 3px; }
.quote-credit { margin-top: 16px; }

/* 06 the showcase: heading beside a running line of words, the image slider beside a lit figure card, tabs */
.cases-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: end; }
.cases-head .h2 { max-width: 16ch; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, var(--mask-solid) 12%, var(--mask-solid) 88%, transparent); mask-image: linear-gradient(90deg, transparent, var(--mask-solid) 12%, var(--mask-solid) 88%, transparent); padding-bottom: 8px; }
.marquee-track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.marquee-track span { white-space: nowrap; font-size: 22px; font-weight: 600; color: var(--marquee-text); letter-spacing: -.01em; padding-right: 10px; }
@keyframes marquee { to { transform: translateX(-50%); } }
.cases-grid { display: grid; grid-template-columns: minmax(0, 860fr) minmax(0, 424fr); gap: 12px; margin-top: 60px; align-items: stretch; }
.case-slider { position: relative; }
.case-track { position: relative; display: grid; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--mask-solid); border: 1px solid var(--line); }
.case-card { grid-area: 1 / 1; position: relative; opacity: 0; transition: opacity .6s ease; }
.case-card:not(.is-on) { visibility: hidden; pointer-events: none; }
.case-card.is-on { visibility: visible; opacity: 1; }
.case-card img { width: 100%; height: 100%; object-fit: cover; }
.case-text { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 36px 32px; background: linear-gradient(180deg, transparent, var(--image-caption-surface)); }
.case-text h3 { font-size: 22px; padding-bottom: 14px; border-bottom: 1px solid var(--image-caption-line); margin-bottom: 14px; max-width: 24ch; }
.case-text p { color: var(--soft); font-size: 14px; max-width: 54ch; }
.case-arrows { position: absolute; right: 36px; bottom: 32px; z-index: 2; }
.case-tabs { display: flex; gap: 12px; margin-top: 20px; }
.case-tabs button { flex: 1; min-height: 44px; padding: 16px 0 0; border: 0; background: transparent; color: var(--text); text-align: left; cursor: pointer; position: relative; }
.case-tabs .bar { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--progress-track); border-radius: 2px; }
.case-tabs button[aria-selected="true"] .bar { background: linear-gradient(90deg, var(--blue), var(--violet)); }
.case-stat { position: relative; display: flex; flex-direction: column; padding: 36px 36px 28px; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden;
  background: radial-gradient(70% 60% at 0% 100%, var(--blue-glow-bright), transparent 60%), radial-gradient(60% 50% at 70% 100%, var(--violet-glow-medium), transparent 60%), var(--stage-surface); }
.case-stat::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(var(--card-dots) 1px, transparent 1.4px); background-size: 20px 20px;
  -webkit-mask-image: radial-gradient(60% 60% at 80% 80%, var(--mask-solid), transparent); mask-image: radial-gradient(60% 60% at 80% 80%, var(--mask-solid), transparent); pointer-events: none; }
.case-stat-kicker { font-size: 15px; font-weight: 500; max-width: 16ch; }
.case-stat-n { margin-top: auto; font-size: clamp(96px, 11vw, 150px); font-weight: 500; letter-spacing: -.05em; line-height: 1;
  background: linear-gradient(180deg, var(--stat-gradient-top), var(--stat-gradient-bottom)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.case-stat-t { font-size: 15px; color: var(--text); margin-top: 6px; }

/* 07 Q&A */
.faq .head-center { margin-bottom: 60px; }
.qa-list { width: 100%; display: flex; flex-direction: column; gap: 14px; }
.qa-item { border-radius: 12px; background: var(--panel-2); border: 1px solid var(--line); padding: 0 36px; }
.qa-item summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font-weight: 600; font-size: 17px; }
.qa-item summary::-webkit-details-marker { display: none; }
.plus { position: relative; width: 18px; height: 18px; flex: none; }
.plus::before, .plus::after { content: ""; position: absolute; background: var(--text); border-radius: 2px; transition: transform .2s ease; }
.plus::before { left: 0; top: 8px; width: 18px; height: 2px; }
.plus::after { left: 8px; top: 0; width: 2px; height: 18px; }
.qa-item[open] .plus::after { transform: scaleY(0); }
.qa-item p { color: var(--soft); padding: 0 0 24px; font-size: 15px; max-width: 70ch; }
.faq-more { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 44px; font-size: 15px; }
.faq-more > span { display: flex; flex-direction: column; padding-left: 16px; border-left: 1px solid var(--line-2); }
.faq-more-q { color: var(--soft); }
.faq-more a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text); text-decoration: none; font-weight: 500; }
.faq-more a:hover { text-decoration: underline; }
.globe { position: relative; width: 38px; height: 38px; border: 2px solid var(--text); border-radius: 50%; flex: none; }
.globe::before { content: ""; position: absolute; left: 50%; top: -2px; bottom: -2px; width: 46%; border: 2px solid var(--text); border-radius: 50%; transform: translateX(-50%); }
.globe::after { content: ""; position: absolute; left: -2px; right: -2px; top: 50%; height: 2px; background: var(--text); transform: translateY(-50%); }

/* pricing cards */
.plan2-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; width: 100%; }
.plan2 { position: relative; display: flex; flex-direction: column; padding: 40px 28px 28px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); overflow: hidden; }
.plan2-pro { background: radial-gradient(70% 60% at 30% 100%, var(--violet-glow-strong), transparent 60%), radial-gradient(60% 60% at 100% 40%, var(--blue-glow-medium), transparent 60%), var(--pro-surface); }
.plan2-pro::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(var(--card-dots) 1px, transparent 1.4px); background-size: 20px 20px;
  -webkit-mask-image: radial-gradient(50% 50% at 80% 30%, var(--mask-solid), transparent); mask-image: radial-gradient(50% 50% at 80% 30%, var(--mask-solid), transparent); pointer-events: none; }
.plan2 > * { position: relative; }
.plan2 > .corner { position: absolute; }   /* the cut corner is not a flex item, so every card's button sits on the same line */
.plan2 .gline { margin: 0 0 30px; }
.plan2-name { font-size: 18px; letter-spacing: .04em; }
.plan2-sub { color: var(--soft); margin-top: 10px; font-size: 15px; }
.plan2-price { margin-top: 24px; display: flex; align-items: baseline; gap: 2px; }
.plan2-price strong { font-size: clamp(40px, 3.6vw, 52px); font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.plan2-price small { font-size: 22px; color: var(--soft); }
.plan2-box { flex: 1; display: flex; flex-direction: column; margin-top: 30px; border-radius: 10px; background: var(--plan-box-surface); border: 1px solid var(--line); padding: 0 22px 22px; }
.plan2-box ul { flex: 1; }
.plan2-box .btn { margin-top: auto; }
.plan2-box .pill-tag { margin: 22px 0 18px; }
.plan2-box ul { list-style: none; margin: 0; padding: 22px 0 0; border-top: 1px solid var(--line); }
.plan2-box li { position: relative; padding-left: 24px; margin: 10px 0; font-size: 14px; }
.plan2-box li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 10px; height: 5px; border-left: 1.5px solid var(--soft); border-bottom: 1.5px solid var(--soft); transform: rotate(-45deg); }
.plan2-note { display: flex; align-items: center; gap: 8px; color: var(--soft); font-size: 12.5px; margin: 14px 0 16px; }
.info { position: relative; width: 14px; height: 14px; border: 1.5px solid var(--soft); border-radius: 50%; flex: none; }
.info::after { content: "i"; position: absolute; inset: 0; display: grid; place-items: center; font: 600 9px/1 "Inter", sans-serif; }
.plan2-pro .plan2-box { background: var(--pro-box-surface); }

/* final */
.final { position: relative; text-align: center; padding: clamp(120px, 14vw, 190px) 0 clamp(170px, 20vw, 260px); }
.final-inner .h1 { margin: 0 auto; max-width: 14ch; }
.final-sub { color: var(--soft); max-width: 560px; margin: 22px auto 36px; font-size: 15.5px; }

/* footer: a rounded panel with the big logo beside the download box, four columns, the legal line */
.foot { position: relative; z-index: 1; margin-top: -40px; }
.foot-panel { background: var(--footer-surface); border-radius: 28px 28px 0 0; padding: 70px var(--gutter) 36px; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1fr) 472px; gap: 40px; align-items: center; width: min(var(--wrap), 100%); margin: 0 auto; }
.foot-brand img { height: 80px; width: auto; }
.foot-box { border-radius: 10px; background: linear-gradient(180deg, var(--footer-box-top), var(--laptop-metal-bottom)); border: 1px solid var(--line); padding: 22px 28px 24px; position: relative; overflow: hidden; }
.foot-box::after { content: ""; position: absolute; left: 10%; bottom: -40px; width: 60%; height: 60px; background: radial-gradient(50% 50% at 50% 50%, var(--violet-glow-strong), transparent 70%); }
.foot-box-kicker { margin: 0 0 14px; color: var(--text); }
.foot-box-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line-2); }
.foot-box-text { color: var(--soft); font-size: 15px; }
.foot-cols { display: grid; grid-template-columns: 1.1fr 1fr 1fr .9fr; gap: 40px; width: min(var(--wrap), 100%); margin: 60px auto 0; padding-left: 76px; }
.foot-side { display: flex; flex-direction: column; gap: 28px; }
.foot-side-block, .side-block { display: flex; flex-direction: column; gap: 0; padding-left: 16px; border-left: 1px solid var(--line-2); }
.foot-head { margin: 0 0 6px; color: var(--soft); font-weight: 400; }
.foot-side a, .foot-col a, .side-block a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text); text-decoration: none; font-size: 15.5px; }
.foot-col a { font-size: 18px; font-weight: 500; }
.foot-col a:hover, .foot-side a:hover, .side-block a:hover { color: var(--blue-text); }
.foot-col { display: flex; flex-direction: column; gap: 0; }
.is-still .marquee-track { animation: none; }
.is-still .fc-progress button[aria-selected="true"]::after, .is-still .metric-bars button[aria-selected="true"]::after { transition: none; }
.foot-line { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; width: min(var(--wrap), 100%); margin: 48px auto 0; padding-top: 28px; border-top: 1px solid var(--line-2); color: var(--soft); font-size: 14px; }
.foot-top-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--text); text-decoration: none; }

/* inner pages */
.hero-page { padding: 100px 0 0; }
.hero-page-inner { position: relative; z-index: 1; max-width: 760px; }
.hero-page .hero-sub { margin-top: 24px; max-width: 560px; }
.hero-center { text-align: center; }
.hero-center .hero-page-inner { margin: 0 auto; }
.hero-center .hero-sub { margin-inline: auto; }
.hero-page + .band { padding-top: clamp(70px, 8vw, 110px); }
.gallery-line { position: relative; z-index: 1; display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 32px; align-items: center; margin-top: 110px; }
.gallery-line .kicker { margin: 0; }

/* stacked cards (features: service cards; showcase: gallery cards) */
.stack .scard, .stack .gcard { position: sticky; top: calc(96px + var(--i) * 18px); }
.scard { position: relative; padding: 40px 36px 36px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); margin-bottom: 40px; }
.scard .h5 { margin-top: 30px; }
.scard > p { color: var(--soft); max-width: 70ch; font-size: 15px; }
.scard-visual { margin-top: 30px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 9; background: var(--mask-solid); }
.scard-visual img { width: 100%; height: 100%; object-fit: cover; }
.gcard { position: relative; aspect-ratio: 16 / 9; max-width: none; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--mask-solid); margin-bottom: 40px; }
.gcard img { width: 100%; height: 100%; object-fit: cover; }
.gcard .case-text h2 { font-size: 22px; padding-bottom: 14px; border-bottom: 1px solid var(--image-caption-line); margin-bottom: 14px; }

/* Q536-WEB-1 (PO 02/10: the pricing page lacked the light effect under the plans): a low ribbon after the plans,
   in a text-free strip so it never paints over prices or the comparison. The hero ribbon stays as it was. */
.pricing-ribbon-low { height: clamp(160px, 20vw, 260px); overflow: hidden; background: var(--ink); }
.pricing-ribbon-low .ribbon-low { inset: 0; }

/* pricing page: comparison and credits */
.compare-head { display: grid; grid-template-columns: minmax(0, 2fr) 1fr 1fr; gap: 24px; align-items: start; }
.toggle { display: inline-flex; margin-top: 22px; padding: 4px; border-radius: 999px; background: var(--button-surface); border: 1px solid var(--line); }
.toggle button { min-height: 44px; border: 0; background: transparent; color: var(--soft); padding: 8px 18px; border-radius: 999px; cursor: pointer; font-weight: 500; }
.toggle button[aria-pressed="true"] { background: var(--text); color: var(--ink); }
.toggle small { font-family: var(--mono); font-size: 11px; color: var(--blue-text); margin-left: 4px; }
.toggle button[aria-pressed="true"] small { color: var(--blue); }
.compare-name { font-size: 18px; }
.compare-sub { color: var(--soft); font-size: 14.5px; margin-top: 8px; }
.compare-price { font-size: clamp(36px, 4vw, 56px); font-weight: 500; letter-spacing: -.04em; line-height: 1; margin-top: 22px; }
.compare-price small { font-size: 16px; color: var(--soft); letter-spacing: 0; }
.group-title { margin: 70px 0 0; padding-bottom: 20px; border-bottom: 1px solid var(--line-2); font-size: 18px; color: var(--violet-text); }
.compare-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare-table th, .compare-table td { text-align: left; padding: 16px 0; font-weight: 400; vertical-align: top; }
.compare-table th[scope="row"] { color: var(--soft); width: 50%; }
.compare-table td { color: var(--text); width: 25%; padding-right: 12px; }
.check { position: relative; display: inline-block; width: 16px; height: 10px; border-left: 2px solid var(--text); border-bottom: 2px solid var(--text); transform: rotate(-45deg); margin-top: 3px; }
.credit-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 40px; }
.credit-card { display: flex; flex-direction: column; padding: 30px 24px 24px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.credit-card .plan2-price { margin-top: 10px; }
.credit-card .plan2-price strong { font-size: 32px; }
.credit-card .chip-tag { align-self: flex-start; margin-top: 14px; }
.credit-card ul { list-style: none; padding: 0; margin: 18px 0 22px; flex: 1; color: var(--soft); font-size: 14px; }
.credit-card li { margin: 6px 0; }

/* about page */
.hero-about { padding-top: 90px; }
.about-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) 560px; gap: 48px; align-items: end; }
.about-hero-text .hero-cta { margin-top: 56px; }
.about-hero-media { position: relative; padding: 0 0 110px 60px; }
.about-photo { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--mask-solid); aspect-ratio: 16 / 9; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.float-card { position: absolute; left: 0; bottom: 0; width: 250px; padding: 18px 16px 10px; border-radius: 12px; background: var(--floating-surface); border: 1px solid var(--line-2); box-shadow: 0 30px 80px -30px var(--shadow-heavy); backdrop-filter: blur(10px); }
.float-head { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text); }
.spark { width: 14px; height: 14px; background: linear-gradient(135deg, var(--blue-text), var(--violet-text)); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
.float-n { font-size: 34px; font-weight: 500; letter-spacing: -.03em; margin-top: 22px; }
.float-label { color: var(--soft); font-size: 12px; margin-top: 2px; }
.float-card ul { list-style: none; margin: 16px 0 0; padding: 0; }
.float-card li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 12px; }
.float-card li span:last-child { color: var(--soft); text-align: right; }
.mission-text { font-size: clamp(30px, 4.2vw, 56px); font-weight: 500; letter-spacing: -.03em; line-height: 1.12; max-width: 24ch; }
.mission-text .w { color: var(--muted); transition: color .4s ease; }
.mission-text .w.is-on { color: var(--text); }
.why-stack { margin-top: 50px; }
.wcard { position: sticky; top: calc(96px + var(--i) * 16px); position: relative; margin-bottom: 24px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); overflow: hidden; padding: 0 0 32px; }
.wcard { position: sticky; }
.wcard-visual { height: 420px; background: radial-gradient(60% 60% at 70% 30%, var(--blue-glow-faint), transparent 60%), var(--stage-surface); display: grid; place-items: center; }
.wcard-visual img { width: min(620px, 80%); border-radius: 10px; border: 1px solid var(--line-2); box-shadow: 0 40px 100px -40px var(--violet-glow-bright); }
.wcard-text { padding: 26px 32px 0; }
.wcard-text h3 { font-size: 22px; }
.wcard-text p { color: var(--soft); margin-top: 12px; font-size: 15px; max-width: 90ch; }
.people-sub { max-width: 60ch; margin-top: 24px; color: var(--soft); }
.people-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.pp { min-width: 0; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.pp figure { aspect-ratio: 301 / 342; margin: 0 0 24px; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: var(--brand-white); }
.pp figure img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pp .tm-name { font-size: 22px; line-height: 1.3; overflow-wrap: anywhere; }
.pp .tm-role { margin-top: 8px; overflow-wrap: anywhere; }
.pp-logo { grid-column: 1 / -1; display: flex; align-items: center; gap: 24px; }
.pp-logo figure { flex: 0 0 360px; aspect-ratio: 3 / 1; display: flex; align-items: center; margin: 0; padding: 24px; border: 0; background: var(--panel); }   /* Fable 02/10: the logo reads at 312 px on a full-width row (was 192) */
.pp-logo figure img { object-fit: contain; }
.people-note { margin-top: 24px; }
@media (max-width: 860px) {
  .people-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
  .pp { padding: 16px; }
  .pp-logo { flex-direction: column; gap: 16px; align-items: stretch; }
  .pp-logo figure { flex: none; aspect-ratio: 2 / 1; margin-bottom: 0; }
  .pp figure { margin-bottom: 16px; }
}

.team-head { display: grid; grid-template-columns: 260px minmax(0, 1fr) auto; gap: 32px; align-items: start; padding-bottom: 50px; border-bottom: 1px solid var(--line-2); }
.team-head .h3 { max-width: 14ch; }
.team-n { font-size: clamp(60px, 7vw, 96px); font-weight: 500; letter-spacing: -.05em; line-height: 1; color: var(--muted); }
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 50px; }
.tm figure { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--mask-solid); aspect-ratio: 16 / 9; }
.tm figure img { width: 100%; height: 100%; object-fit: cover; }
.tm-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0 0; }
.tm-name { font-weight: 500; }
.tm-role { color: var(--soft); font-size: 14px; margin-top: 2px; }
.tm-join { display: flex; flex-direction: column; align-items: flex-start; padding: 34px; border-radius: var(--radius); border: 1px solid var(--line);
  background: radial-gradient(70% 60% at 0% 100%, var(--blue-glow-vivid), transparent 60%), radial-gradient(60% 60% at 100% 100%, var(--violet-glow-medium), transparent 60%), var(--stage-surface); }
.tm-join h3 { font-size: 28px; max-width: 16ch; }
.tm-join p { color: var(--soft); margin: 14px 0 80px; font-size: 14.5px; }

/* contact page */
.hero-contact { padding-top: 110px; }
.h1-xl { font-size: clamp(56px, 9vw, 120px); letter-spacing: -.045em; }
.h1-md { font-size: clamp(36px, 4.6vw, 60px); }
.contact-email { display: inline-block; margin-top: 22px; min-height: 44px; font-size: clamp(22px, 2.6vw, 34px); text-decoration: none; letter-spacing: -.02em; }
.contact-email:hover { color: var(--blue-text); }
.contact-form { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 26px; padding: 40px 40px 36px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); margin-top: 40px; }
.contact-form label { display: flex; flex-direction: column; gap: 12px; width: 100%; font-size: 20px; font-weight: 500; letter-spacing: -.01em; }
.contact-form input, .contact-form textarea { width: 100%; min-height: 44px; border: 0; border-bottom: 1px solid var(--line-2); background: transparent; color: var(--text); font: 400 16px/1.5 "Inter", sans-serif; padding: 6px 0 12px; resize: vertical; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--muted); }
.contact-form input:focus, .contact-form textarea:focus { outline: 0; border-bottom-color: var(--blue-text); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; width: 100%; }
.contact-form .note { margin-top: -10px; }
/* Q-533: Google allows hiding the badge when its notice is shown with the form (.recaptcha-note). */
.grecaptcha-badge { visibility: hidden; }
.contact-form .recaptcha-note { margin-top: -16px; }
/* 44 px tap area on phones without spreading the lines: padding grows the box, the negative margin gives it back. */
.recaptcha-note a { display: inline-block; padding: 13px 0; margin: -13px 0; color: var(--soft); text-decoration: underline; text-underline-offset: 2px; }
.recaptcha-note a:hover { color: var(--blue-text); }
.contact-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-honeypot input { width: 0; height: 0; padding: 0; border: 0; }   /* off-screen trap: not a tap target for the 44 px check */
.contact-form button:disabled { opacity: .6; cursor: wait; }
.contact-error { margin: -10px 0 0; color: var(--violet-text); font-size: 16px; line-height: 1.55; overflow-wrap: anywhere; }
.contact-error[hidden] { display: none; }
.contact-error a { display: inline-flex; align-items: center; min-height: 44px; color: var(--blue-text); }
.contact-success { width: 100%; margin-top: 40px; }
.contact-success:focus { outline: 2px solid var(--blue-text); outline-offset: 4px; }
.contact-blocks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 40px; }
.side-block p:not(.foot-head) { color: var(--soft); font-size: 14px; margin-top: 4px; }
.contact-image { margin-top: 40px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--mask-solid); aspect-ratio: 16 / 9; }
.contact-image img { width: 100%; height: 100%; object-fit: cover; }

/* reveal on scroll */
[data-rise] { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
[data-rise].is-in { opacity: 1; transform: none; }

/* Q-523: the phone notice. On a phone or tablet every download button opens it instead of the installer (js/v4.js):
   a sheet at the bottom of the screen, a centred card from 861 px up (a desktop browser that only looks narrow). */
.phone-dl { position: fixed; inset: 0; z-index: 50; display: flex; align-items: flex-end; justify-content: center; padding: var(--gutter); }
.phone-dl[hidden] { display: none; }   /* display: flex above would otherwise beat the hidden attribute */
.phone-dl-back { position: absolute; inset: 0; background: var(--dialog-backdrop); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.phone-dl-box { position: relative; width: min(100%, 480px); padding: 26px 24px 24px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line-2); box-shadow: 0 40px 100px -40px var(--shadow-deep); }
.phone-dl-title { margin: 0 0 12px; font-size: clamp(22px, 2.3vw, 30px); font-weight: 500; line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
.phone-dl-text { margin: 0 0 14px; color: var(--soft); font-size: 15px; line-height: 1.55; }
.phone-dl-url { margin: 0 0 20px; color: var(--blue-text); font-size: 13px; text-transform: none; letter-spacing: 0; }
.phone-dl-actions { display: flex; flex-direction: column; gap: 10px; }
.phone-dl-actions .btn-pill { width: 100%; justify-content: space-between; }
.phone-dl-actions .btn-ghost { width: 100%; }
html.has-dialog, html.has-dialog body { overflow: hidden; }
@media (min-width: 861px) { .phone-dl { align-items: center; } }

@media (max-width: 1180px) {
  .services-grid { gap: 48px; }
  .foot-cols { padding-left: 0; }
}
@media (max-width: 1024px) {
  .hero-grid, .hero-low { grid-template-columns: 1fr; }
  .hero-low { margin-top: 90px; }
  .exp-list { flex-direction: row; flex-wrap: wrap; gap: 8px 22px; }
  .platform-grid { grid-template-columns: 1fr; gap: 24px; }
  .platform-stage { position: relative; top: 0; height: auto; min-height: 0; max-height: none; padding: 60px 0 40px; }
  .platform-stage .laptop { width: min(70%, 620px); }
  .pstep, .pstep:first-child { min-height: 0; margin-top: 48px; }
  .pstep-inner { color: var(--text); }
  .pstep p { color: var(--soft); max-width: none; }
  .pstep-inner::after { height: 100%; }
  .pstep-inline { display: block; }
  .platform-stage .laptop-screen .step-img { position: absolute; }
  .services-grid { grid-template-columns: 1fr; gap: 40px; }
  .svc-stage { display: none; }
  .svc-list { margin-top: 36px; }
  .insights-grid { grid-template-columns: minmax(0, 1fr); }   /* PM 02/10 (Q-566): 1fr took the min-content of the nowrap button label: English home 17 px wider than 360 */
  .metric-card { min-height: 0; }
  .caps-head, .team-head { grid-template-columns: 1fr; gap: 18px; }
  .caps-btn { grid-column: 1; grid-row: auto; justify-self: stretch; }
  .caps-btn .btn { width: 100%; justify-content: space-between; }
  .cap { grid-template-columns: 1fr; gap: 24px; top: calc(90px + var(--i) * 14px); padding: 32px 24px; }
  .platform-stage { flex-direction: column; gap: 24px; }
  .platform-stage .giant-word { position: relative; left: auto; bottom: auto; transform: none; font-size: 24vw; order: -1; flex: none; }
  .quote-card { grid-template-columns: 1fr; }
  .cases-head, .cases-grid, .team-grid { grid-template-columns: 1fr; }
  .plan2-grid { grid-template-columns: 1fr; }
  .case-stat { min-height: 300px; }
  .credit-grid { grid-template-columns: 1fr 1fr; }
  .foot-top { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .about-hero-grid { grid-template-columns: 1fr; }
  .about-hero-media { padding: 0; }
  .float-card { position: relative; bottom: auto; width: 100%; margin: 16px 0 0; }
  .contact-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-form button:disabled { opacity: .6; cursor: wait; }
.contact-error { margin: -10px 0 0; color: var(--violet-text); font-size: 16px; line-height: 1.55; overflow-wrap: anywhere; }
.contact-error[hidden] { display: none; }
.contact-error a { display: inline-flex; align-items: center; min-height: 44px; color: var(--blue-text); }
.contact-success { width: 100%; margin-top: 40px; }
.contact-success:focus { outline: 2px solid var(--blue-text); outline-offset: 4px; }
.contact-blocks { grid-template-columns: 1fr; }
  .bslider, .btrack, .bcard-text { min-width: 0; }
  .bcard { grid-template-columns: minmax(0, 1fr); min-width: 0; }
  .bcard-visual { min-width: 0; width: 100%; max-width: 100%; }
  .bcard-sub { padding-top: 30px; }
  .bcard-visual { min-height: 220px; }
  .float-icons { display: none; }
}
@media (max-width: 860px) {
  :root { --gutter: 20px; }
  .top-row { height: 64px; gap: 12px; }
  .brand img { height: 44px; }
  .top-nav { display: none; position: absolute; top: 64px; left: 0; right: 0; z-index: 5; flex-direction: column; align-items: flex-start; gap: 16px; padding: 20px 20px 24px; background: var(--menu-surface); border-bottom: 1px solid var(--line); }
  .top-nav.is-open { display: flex; }
  .menu { display: block; }
  .top-cta { display: none; }
  .top-nav > a { width: 100%; }
  .hero { padding-top: 56px; }
  .hero-cta { margin-top: 36px; }
  /* buttons: every pill is the content width, label left, chip right */
  .btn-pill { width: 100%; justify-content: space-between; }
  .top-nav .btn-pill { width: auto; }
  .head-row { flex-direction: column; align-items: stretch; gap: 22px; }
  .head-row .h2 { max-width: none; }
  /* one rhythm between blocks */
  .band { padding-top: 88px; }
  .platform-scene { margin-top: 40px; }
  .svc-list { margin-top: 28px; }
  .benefit .head-center, .faq .head-center { margin-bottom: 40px; }
  .caps-stack { margin-top: 44px; }
  .quote-card { margin-top: 40px; }
  .cases-grid { margin-top: 36px; }
  .center-link { margin-top: 24px; }
  /* the platform stage: the word fits the screen, the laptop fills it */
  .giant-word { font-size: 24vw; }
  .platform-stage { padding: 40px 0 30px; }
  .platform-stage .laptop { width: 88%; }
  /* the sample film: words, then the controls on one line */
  .quote-card { padding: 12px 12px 22px; }
  .quote-body { padding: 0 8px; }
  .switch { position: static; display: flex; width: 100%; margin-top: 12px; }
  .switch button { flex: 1; min-height: 44px; }
  .quote-foot { flex-direction: column; align-items: stretch; gap: 16px; }
  .quote-actions { justify-content: space-between; }
  .quote-actions .btn-ghost { flex: 1; }
  /* showcase cards: the words under the picture, never over it */
  .case-track { aspect-ratio: auto; background: transparent; border: 0; border-radius: 0; overflow: visible; }
  .case-card img, .gcard img { height: auto; }   /* the card grows with its words; a 100 % height would keep it at the picture's height */
  .case-card img { aspect-ratio: 16 / 9; border-radius: var(--radius); border: 1px solid var(--line); }
  .case-text { position: static; padding: 16px 0 0; background: none; }
  .case-text h3 { max-width: none; }
  .case-arrows { position: static; display: flex; justify-content: flex-end; margin-top: 16px; }
  .case-tabs { gap: 8px; }
  .case-tabs button { font-size: 11px; padding-top: 12px; }
  .gcard { aspect-ratio: auto; border: 0; background: transparent; overflow: visible; }
  .gcard img { aspect-ratio: 16 / 9; border-radius: var(--radius); border: 1px solid var(--line); }
  .gcard .case-text { position: static; padding: 14px 0 0; background: none; }
  /* about: the two workspace cards and their chips */
  .tm-foot { flex-direction: column; align-items: flex-start; gap: 10px; }
  .tm-join p { margin-bottom: 40px; }
  /* the comparison */
  .compare-table { font-size: 14px; }
  .compare-table th[scope="row"] { width: 40%; }
  .compare-table td { width: 30%; }
  .fc-slide { grid-template-columns: 1fr; }
  .fc-progress { width: 100%; }
  .feature-card { padding: 20px 20px 18px; }
  .svc-item { grid-template-columns: 48px minmax(0, 1fr) auto; }
  .svc-item .icon-box { width: 48px; height: 48px; }
  .svc-name { font-size: 18px; }
  .bcard { padding: 24px; }
  .plan2-price { flex-wrap: wrap; row-gap: 8px; }
  .plan2-price small { max-width: 100%; overflow-wrap: anywhere; }
  .compare-price small { display: block; margin-top: 8px; overflow-wrap: anywhere; }
  .insights-btn { margin-top: 36px; }
  .qa-item { padding: 0 20px; }
  .final { padding: 96px 0 150px; }
  .foot-panel { padding: 48px var(--gutter) 28px; }
  .foot-brand img { height: 56px; }
  .foot-cols { grid-template-columns: 1fr; gap: 28px; }
  .compare-head { grid-template-columns: 1fr; }
  .compare-table th[scope="row"] { width: 40%; }
  .credit-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 24px 20px; }
  .gallery-line { grid-template-columns: 1fr; margin-top: 60px; }
  .h1-xl { font-size: clamp(48px, 14vw, 80px); }
  .btn-pill .mono { font-size: 12px; letter-spacing: .05em; }
  .wcard-visual { height: 260px; }
  .tm-join { max-width: none; }
  .stack .scard, .stack .gcard, .wcard, .cap { position: relative; top: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-rise] { opacity: 1; transform: none; transition: none; }
  .btrack, .case-card, .svc-card, .step-img, .chip, .btn { transition: none; }
  .marquee-track { animation: none; }
  .fc-progress button[aria-selected="true"]::after, .metric-bars button[aria-selected="true"]::after { transition: none; }
}

/* Q536-4: static outer light and a zero-canvas fallback on constrained devices. */
.ribbon-live, .ribbon-static { background: radial-gradient(ellipse at 55% 48%, var(--ribbon-blue-halo), var(--ribbon-violet-halo) 40%, transparent 72%); }
.ribbon-static { background-image: var(--ribbon-static-image); background-size: 100% 100%; background-repeat: no-repeat; }
.ribbon canvas[hidden] { display: none; }
/* Q-539: the play button sits under the laptop, never on the film */
.video-play { display: flex; align-items: center; justify-content: center; width: max-content; margin: 12px auto 0; padding: 0 18px; min-width: 44px; min-height: 44px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--panel); color: var(--text); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.video-play[hidden] { display: none; }
/* Exact remembered block size avoids anchor shifts after the first layout. Sticky bands are excluded. */
.band:not(.platform):not(.caps):not(.stack):not(.has-ribbon) { content-visibility: auto; contain-intrinsic-size: auto 900px; }

picture { display: contents; }

/* Q536 ticket 2: persistent controls and mobile navigation. */
.site-controls { display: flex; gap: 4px; background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 4px; box-shadow: 0 4px 16px var(--shadow); }
.desktop-controls { position: fixed; right: 16px; top: 33vh; bottom: auto; transform: none; z-index: 30; flex-direction: column; box-sizing: border-box; width: 62px; height: auto; padding: 0; background: transparent; border: 0; box-shadow: none; gap: 8px; }
.header-motion, .mobile-nav { display: none; }
.motion-button { align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 12px; border: 0; border-radius: 999px; background: var(--panel); color: var(--soft); font: inherit; white-space: nowrap; cursor: pointer; touch-action: manipulation; }
.desktop-motion { display: flex; width: 52px; padding: 0; }
.motion-label { position: absolute; right: calc(100% + 8px); top: 50%; transform: translateY(-50%); display: flex; align-items: center; height: 34px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); color: var(--soft); font-size: 13.5px; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .2s ease; }
.desktop-motion:hover + .motion-label, .desktop-motion:focus-visible + .motion-label, .desktop-controls.is-telling .motion-label:not(.theme-label) { opacity: 1; }
.motion-track { display: block; flex: none; box-sizing: border-box; width: 52px; height: 28px; padding: 2px; border-radius: 999px; background: var(--line-2); }
.motion-knob { display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: var(--text); color: var(--panel); transition: transform .2s ease; }
.motion-button .motion-knob svg { width: 20px; height: 20px; }
html:not(.is-still) .motion-track { background: var(--blue); }
html:not(.is-still) .motion-knob { transform: translateX(24px); }
.motion-button:hover { color: var(--text); }
.motion-button svg { width: 24px; height: 24px; flex: none; }
html.is-still .motion-lines { display: none; }
.site-switch { display: flex; align-items: center; justify-content: center; gap: 12px; min-width: 52px; min-height: 44px; padding: 0 4px; border: 0; background: transparent; color: var(--soft); cursor: pointer; touch-action: manipulation; }
.site-switch[hidden] { display: none; }
.switch-track { display: block; flex: none; box-sizing: border-box; width: 52px; height: 28px; padding: 2px; border-radius: 999px; background: var(--line-2); }
.switch-knob { display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: var(--text); color: var(--panel); transition: transform .2s ease; }
.switch-knob svg { width: 20px; height: 20px; flex: none; }
.site-switch[aria-checked="true"] .switch-track { background: var(--blue); }
.site-switch[aria-checked="true"] .switch-knob { transform: translateX(24px); }
.motion-button:focus-visible, .site-switch:focus-visible, .mobile-nav-item:focus-visible { outline: 2px solid var(--blue-text); outline-offset: 2px; }
@media (max-width: 860px) {
  body.v4-body { padding-bottom: calc(65px + env(safe-area-inset-bottom, 0px)); }
  .desktop-controls { display: none; }
  .top-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 4px; }
  .top-row .brand { grid-column: 2; grid-row: 1; justify-self: center; }
  .top-row .menu { grid-column: 3; grid-row: 1; margin-left: 0; justify-self: end; }
  .header-motion { display: flex; grid-column: 1; grid-row: 1; width: 44px; height: 44px; min-width: 44px; padding: 0; border: 1px solid var(--line-2); border-radius: 12px; background: transparent; }
  .top-nav { max-height: calc(100dvh - 64px - 65px - env(safe-area-inset-bottom, 0px)); overflow-y: auto; }
  .mobile-nav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 35; display: flex; justify-content: space-around; align-items: stretch; padding-bottom: env(safe-area-inset-bottom, 0px); background: var(--panel); border-top: 1px solid var(--line); box-shadow: 0 -4px 16px var(--shadow); }
  .mobile-nav-item { position: relative; display: flex; flex: 1; min-width: 0; min-height: 64px; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 4px 2px; color: var(--muted); font-size: 10px; font-weight: 600; text-decoration: none; touch-action: manipulation; }
  .mobile-nav-item > span:first-child { display: flex; }
  .mobile-nav-item[aria-current="page"], .mobile-nav-item:hover { color: var(--blue-text); }
  .mobile-nav-item[aria-current="page"]::after { content: ''; position: absolute; bottom: 0; left: 25%; right: 25%; height: 3px; border-radius: 3px 3px 0 0; background: var(--blue-text); }
  .mobile-nav-fab { width: 44px; height: 44px; margin-top: -8px; border-radius: 50%; align-items: center; justify-content: center; background: var(--blue); color: var(--text); box-shadow: 0 4px 16px var(--shadow); }
  .phone-dl { padding-bottom: calc(85px + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) { .switch-knob, .motion-knob, .motion-label { transition: none; } }
@media print {
  .site-controls, .header-motion, .mobile-nav { display: none !important; }
  body.v4-body { padding-bottom: 0; }
}

/* Q536 / Q-542: two independent pills and theme-specific artwork. */
.theme-logo-light { display: none; }
:root[data-theme="light"] .theme-logo-dark { display: none; }
:root[data-theme="light"] .theme-logo-light { display: block; }
.theme-moon { display: block; }
.theme-sun { display: none; }
.site-switch :is(.theme-moon, .theme-sun) svg { display: block; }
:root[data-theme="light"] .theme-moon { display: none; }
:root[data-theme="light"] .theme-sun { display: block; }
.desktop-motion, .desktop-theme { width: 62px; height: 44px; padding: 0 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); box-shadow: 0 4px 16px var(--shadow); }
.desktop-controls .motion-label { top: 22px; }
.desktop-controls .theme-label { top: 74px; }
.desktop-theme:hover + .theme-label, .desktop-theme:focus-visible + .theme-label, .desktop-controls.is-theme-telling .theme-label { opacity: 1; }
.header-controls { display: none; }
.nav-preferences { display: flex; align-items: center; }
.menu-theme { display: none; }
:root[data-theme="light"] .fc-visual img, :root[data-theme="light"] .laptop-screen, :root[data-theme="light"] .docs-figure, :root[data-theme="light"] .scard-visual, :root[data-theme="light"] .bcard-visual, :root[data-theme="light"] .cap-visual, :root[data-theme="light"] .svc-card figure, :root[data-theme="light"] .wcard-visual img { border: 1px solid var(--line-2); box-shadow: 0 8px 24px var(--shadow); }
.mobile-nav-fab { color: var(--on-accent); }

@media (max-width: 860px) {
  .header-controls { display: flex; gap: 4px; grid-column: 1; grid-row: 1; }
  .nav-preferences { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: nowrap; width: 100%; }
  .nav-preferences .lang, .nav-preferences .menu-theme { height: 44px; min-height: 44px; min-width: 120px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14px; }
  .nav-preferences .lang { flex: none; padding: 0; align-items: stretch; }
  .nav-preferences .lang a { flex: 1; min-height: 0; justify-content: center; font-size: inherit; }
  /* the selected half keeps --pill-surface (line ~323): --panel-2 equals the menu panel on light, so the choice was invisible */
  .menu-theme { display: flex; flex: none; align-items: center; justify-content: center; gap: 8px; padding: 0 12px; background: var(--panel); white-space: nowrap; }
  .top-row .brand { width: min(100%, 156px); }
  .top-row .brand img { width: 100%; height: auto; }
  .top-nav { position: fixed; top: 64px; bottom: auto; height: calc(100dvh - 64px - 65px - env(safe-area-inset-bottom, 0px)); background: var(--panel); max-height: none; overflow-y: auto; }
}
@media (prefers-reduced-motion: reduce) { .switch-knob, .theme-label { transition: none; } }
@media print { .header-controls { display: none !important; } }

/* Q562: use the image palette only while captions actually overlay media. */
@media (min-width: 1025px) {
  .float-card { --text: var(--on-accent); --soft: var(--image-caption-text); --line: var(--image-caption-border); color: var(--image-caption-text); background: var(--image-caption-dark); border-color: var(--image-caption-border); }
}
@media (max-width: 1024px) {
  .float-card { color: var(--text); background: var(--panel); border-color: var(--line); }
}
@media (min-width: 861px) {
  .case-text { --text: var(--on-accent); --soft: var(--image-caption-text); --image-caption-surface: var(--image-caption-dark); --image-caption-line: var(--image-caption-border); color: var(--text); }
  .case-arrows { --text: var(--on-accent); --line-2: var(--image-caption-border); --button-surface: var(--image-caption-dark); --pill-surface: var(--image-caption-dark); }
}
@media (max-width: 860px) {
  /* min-width:0 prevents the max-content animated track expanding its grid cell. */
  .cases-head { min-width: 0; }
  .marquee { min-width: 0; width: 100%; max-width: 100%; box-sizing: border-box; -webkit-mask-image: linear-gradient(90deg, transparent, #000 36px, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(90deg, transparent, #000 36px, #000 calc(100% - 36px), transparent); }
  .marquee-track span { font-size: 18px; }
  .case-text, .gcard .case-text { color: var(--text); background: transparent; --image-caption-line: var(--line); }
}
@media (min-width: 861px) and (max-width: 1024px) {
  /* Reserve space only while a label is visible; the first label cannot sit behind the second pill. */
  .desktop-controls:has(.desktop-motion:hover, .desktop-motion:focus-visible, .desktop-theme:hover, .desktop-theme:focus-visible),
  .desktop-controls.is-telling, .desktop-controls.is-theme-telling { gap: 80px; }
  .desktop-controls .motion-label { top: 52px; right: 0; left: auto; transform: none; box-sizing: border-box; width: max-content; max-width: 62px; height: auto; padding: 6px 4px; white-space: normal; overflow-wrap: anywhere; text-align: right; justify-content: flex-end; border-radius: 10px; }
  .desktop-controls .theme-label { top: calc(100% + 8px); }
}

/* Q-544: light depth, with the still image above the two broad halos. */
:root[data-theme="light"] body.v4-body { background: var(--page-bg); }
/* Q-547 (PO 02/10 15:26): sections stay transparent in the light theme too, so a ribbon flows on through every section. */
:root[data-theme="light"] .pricing-ribbon-low { background: transparent; }
:root[data-theme="light"] :is(.feature-card, .plan2, .bcard, .scard, .tm, .pp, .credit-card, .metric-card, .quote-card, .svc-card, .wcard, .contact-form, .legal-article, .docs-figure) { background: var(--panel); border: 1px solid var(--card-border); box-shadow: var(--card-shadow); }
:root[data-theme="light"] :is(.ribbon-live, .ribbon-static) { background-image: radial-gradient(ellipse at 60% 40%, var(--ribbon-blue-halo), transparent 72%), radial-gradient(ellipse at 35% 65%, var(--ribbon-violet-halo), transparent 75%); }
/* Soft light-only box edges; ribbon geometry moves into the opaque plateau. */
:root[data-theme="light"] .ribbon {
  -webkit-mask-image: linear-gradient(180deg, transparent, var(--mask-solid) max(24px, 8%), var(--mask-solid) calc(100% - max(24px, 8%)), transparent);
  mask-image: linear-gradient(180deg, transparent, var(--mask-solid) max(24px, 8%), var(--mask-solid) calc(100% - max(24px, 8%)), transparent);
}
:root[data-theme="light"] :is(.hero p, .hero-page p, .hero-about p, .hero-contact p, .has-ribbon .hero-sub) { text-shadow: var(--hero-text-shadow); }
:root[data-theme="light"] .ribbon-static { background-image: var(--ribbon-static-image), radial-gradient(ellipse at 60% 40%, var(--ribbon-blue-halo), transparent 72%), radial-gradient(ellipse at 35% 65%, var(--ribbon-violet-halo), transparent 75%); }
:root[data-theme="light"] :is(.switch-track, .motion-track) { background: var(--switch-off); box-shadow: inset 0 0 0 1px var(--switch-border); }
:root[data-theme="light"] :is(.switch-knob, .motion-knob) { background: var(--panel); color: var(--blue-text); box-shadow: var(--knob-shadow); }
:root[data-theme="light"] .site-switch[aria-checked="true"] .switch-track,
:root[data-theme="light"]:not(.is-still) .motion-track { background: var(--blue); }
:root[data-theme="light"] :is(.desktop-motion, .desktop-theme) { box-shadow: var(--card-shadow); border-color: var(--card-border); }
.menu-theme > :is(.theme-moon, .theme-sun) { width: 20px; height: 20px; }
.menu-theme svg { width: 20px; height: 20px; flex: none; }

/* Q-550: local light behind text, above the continuous ribbon, without a panel edge.
   Keep media outside the halos on the home/about grids. No layout or motion changes. */
:root[data-theme="light"] :is(.hero-main, .hero-side, .hero-low .expertise, .hero-page-inner, .about-hero-text, .hero-contact > .wrap) {
  position: relative;
  isolation: isolate;
}
:root[data-theme="light"] :is(.hero-main, .hero-side, .hero-low .expertise, .hero-page-inner, .about-hero-text, .hero-contact > .wrap)::before {
  content: "";
  position: absolute;
  inset: -100px 0;   /* vertical spread only: a horizontal one widened the page on phones and at 1366 (contact) */
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse closest-side, var(--hero-text-halo) 85%, transparent 100%);
  filter: blur(40px);
}
/* PM 02/10 (Q-566): on very narrow phones the pill label may wrap instead of widening its column */
@media (max-width: 400px) { .btn-pill .mono { white-space: normal; text-align: left; } }
/* PM 02/10 (Q-566): the phone tab bar keeps its first and last labels 16 px from the screen edge */
@media (max-width: 860px) { .mobile-nav { padding-left: 6px; padding-right: 6px; } }
