@property --k { syntax: '<number>'; inherits: true; initial-value: 1; }
/* customMBSE landing page. Tokens follow the visitor system light/dark setting. */
:root {
  --bg: #ffffff; --fg: #0f1b2d; --mut: #556074; --line: #0f1b2d1a;
  --acc: #0a9fb0;            /* rings, lines (graphic) */
  --acc-text: #0a7f8e;       /* small text on light: a little darker for contrast */
  --aqua: #2ee6f0;
  --btn: #0f1b2d; --btnfg: #ffffff; --fieldbg: #f6f8fa;
  --edge: 0 0 0 1px #0f1b2d1a, inset 0 1px 0 #fff;
  --navbg: #ffffffe8; --navshadow: 0 1px 14px #0f1b2d0f;
  --softbtn-bg: #0f1b2d0d; --softbtn-fg: #0f1b2dcc;
  --nodebg: linear-gradient(180deg, #ffffffee, #f3f5f8cc);
  --nodeedge: inset 0 1px 0 #fff, 0 0 0 1px #0f1b2d1a, 0 6px 16px #0f1b2d14;
  --disc: radial-gradient(circle at 32% 28%, #ffffffb3, #ffffff26 55%, #ffffff66 100%);
  --discedge: inset 0 1px 1px #fff, inset 0 -8px 20px #0f1b2d08, 0 0 0 1px #0f1b2d1f, 0 8px 24px #0f1b2d10;
  --wash: #e6eaf0cc; --glowmix: 22%;
  --band: color-mix(in srgb, var(--acc) 5%, color-mix(in srgb, var(--fg) 2%, var(--bg)));   /* soft tinted band behind a scene */
  --panel: color-mix(in srgb, var(--fg) 3.2%, var(--bg));                                   /* the one calm panel tone (tiles, form) */
  --tool: #ffffff; --toolbar: color-mix(in srgb, var(--fg) 2.6%, #ffffff);                                   /* the surface of the opened tool */
  --field: color-mix(in srgb, var(--fg) 18%, transparent);
  --ring-glow: 0 0 6px color-mix(in srgb, var(--aqua) 70%, transparent), inset 0 0 3px color-mix(in srgb, var(--aqua) 60%, transparent);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease2: cubic-bezier(.65, 0, .2, 1);
  --gutter: clamp(20px, 5vw, 64px);
  --navh: 64px;
  --room: clamp(72px, 9vw, 140px);
  --lineh: #0f1b2d2e; --tint: #0a9fb01a; --tintedge: #0a9fb0; --frame: linear-gradient(180deg, #ffffffcc, #f4f7faaa); --frameedge: inset 0 1px 0 #fff, 0 0 0 1px #0f1b2d1a, 0 24px 60px #0f1b2d14;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1b2d; --fg: #eef2f8; --mut: #a9b5c8; --line: #ffffff1a;
    --acc: #2ee6f0; --acc-text: #2ee6f0;
    --btn: #eef2f8; --btnfg: #0f1b2d; --fieldbg: #ffffff0d;
    --edge: 0 0 0 1px #ffffff1f, inset 0 1px 0 #ffffff26;
    --navbg: #0f1b2de8; --navshadow: 0 1px 14px #00000040;
    --softbtn-bg: #ffffff14; --softbtn-fg: #eef2f8;
    --nodebg: linear-gradient(180deg, #ffffff1f, #ffffff08);
    --nodeedge: inset 0 1px 0 #ffffff33, 0 0 0 1px #ffffff1f, 0 6px 18px #0006;
    --disc: radial-gradient(circle at 32% 28%, #ffffff1f, #ffffff05 55%, #ffffff0d 100%);
    --discedge: inset 0 1px 1px #ffffff55, inset 0 -8px 20px #ffffff0a, 0 0 0 1px #ffffff2e;
    --wash: #34507a55;
    --band: color-mix(in srgb, #4a76b8 12%, #0f1b2d); --panel: color-mix(in srgb, #fff 6%, #0f1b2d); --tool: color-mix(in srgb, #fff 6.5%, #0f1b2d); --toolbar: color-mix(in srgb, #fff 3.5%, color-mix(in srgb, #fff 6.5%, #0f1b2d));
    --lineh: #ffffff30; --tint: #2ee6f01c; --tintedge: #2ee6f0; --frame: linear-gradient(180deg, #ffffff12, #ffffff06); --frameedge: inset 0 1px 0 #ffffff26, 0 0 0 1px #ffffff1f, 0 28px 70px #0007;
  }
}
:root[data-theme="dark"] {
    --bg: #0f1b2d; --fg: #eef2f8; --mut: #a9b5c8; --line: #ffffff1a;
    --acc: #2ee6f0; --acc-text: #2ee6f0;
    --btn: #eef2f8; --btnfg: #0f1b2d; --fieldbg: #ffffff0d;
    --edge: 0 0 0 1px #ffffff1f, inset 0 1px 0 #ffffff26;
    --navbg: #0f1b2de8; --navshadow: 0 1px 14px #00000040;
    --softbtn-bg: #ffffff14; --softbtn-fg: #eef2f8;
    --nodebg: linear-gradient(180deg, #ffffff1f, #ffffff08);
    --nodeedge: inset 0 1px 0 #ffffff33, 0 0 0 1px #ffffff1f, 0 6px 18px #0006;
    --disc: radial-gradient(circle at 32% 28%, #ffffff1f, #ffffff05 55%, #ffffff0d 100%);
    --discedge: inset 0 1px 1px #ffffff55, inset 0 -8px 20px #ffffff0a, 0 0 0 1px #ffffff2e;
    --wash: #34507a55;
    --band: color-mix(in srgb, #4a76b8 12%, #0f1b2d); --panel: color-mix(in srgb, #fff 6%, #0f1b2d); --tool: color-mix(in srgb, #fff 6.5%, #0f1b2d); --toolbar: color-mix(in srgb, #fff 3.5%, color-mix(in srgb, #fff 6.5%, #0f1b2d));
    --lineh: #ffffff30; --tint: #2ee6f01c; --tintedge: #2ee6f0; --frame: linear-gradient(180deg, #ffffff12, #ffffff06); --frameedge: inset 0 1px 0 #ffffff26, 0 0 0 1px #ffffff1f, 0 28px 70px #0007;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--bg); scrollbar-gutter: stable; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: 'Inter', system-ui, sans-serif; font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { text-wrap: balance; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }

/* ---------- Lockup ---------- */
.lk { display: inline-flex; align-items: center; gap: .07em; font-family: 'Outfit', sans-serif; font-weight: 500; letter-spacing: -.012em; font-size: clamp(17px, 1.5vw, 22px); text-decoration: none; white-space: nowrap; color: inherit; }
/* lockup = lab 02 round 9 option 5, tuned by Anh in lab 05 (26 Nov): Outfit, mark 2.18x text, gap 0.07, up 0.04, line 3.4, weight 500 */
.lk-mk { width: 2.18em; height: 2.18em; overflow: visible; transform: translateY(-.04em); flex: none; }
.lk-a, .lk-b { stroke-width: 3.4; }
/* Lockup sizes (Anh, 26 Nov): small (header, up to ~32px) = weight 500, line 3.4 (above); large uses (~48px+) = weight 400, line 2.9 */
.lk.lk-lg { font-weight: 400; } .lk.lk-lg .lk-a, .lk.lk-lg .lk-b { stroke-width: 2.9; }
.lk-a { stroke: currentColor; } .lk-b { stroke: var(--aqua); } /* same bright aqua in light and dark (light used to be flat teal); glow only in dark */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .lk-b { filter: drop-shadow(0 0 3px color-mix(in srgb, var(--aqua) 60%, transparent)); } }
:root[data-theme="dark"] .lk-b { filter: drop-shadow(0 0 3px color-mix(in srgb, var(--aqua) 60%, transparent)); }

/* ---------- Buttons ---------- */
.bt { display: inline-flex; align-items: center; gap: .55em; border-radius: 99px; text-decoration: none; font: 600 clamp(14px, 1.1vw, 16px)/1 'Inter', sans-serif; white-space: nowrap; padding: .85em 1.6em; border: 0; cursor: pointer; transition: transform .5s var(--ease), box-shadow .5s var(--ease), background-color .5s var(--ease), opacity .5s var(--ease); }
.bt-main { background: var(--btn); color: var(--btnfg); }
.bt-main:hover { transform: translateY(-2px); box-shadow: 0 8px 22px color-mix(in srgb, var(--aqua) 28%, transparent); }
.bt-main .ar { display: inline-block; transition: transform .5s var(--ease); }
.bt-main:hover .ar { transform: translateX(4px); }
.bt-soft { background: var(--softbtn-bg); color: var(--softbtn-fg); font-size: clamp(13px, 1vw, 15px); padding: .65em 1.35em; }
.bt-soft:hover { transform: translateY(-1px); background: color-mix(in srgb, var(--softbtn-bg) 70%, var(--aqua) 18%); }
.bt-lg { font-size: clamp(15px, 1.25vw, 18px); padding: .85em 1.7em; }
.bt-sm { font-size: clamp(13px, 1vw, 15px); padding: .7em 1.4em; }

/* ---------- Sticky nav ---------- */
.sn { position: fixed; z-index: 50; top: 0; left: 0; right: 0; height: var(--navh); background: var(--navbg); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: var(--navshadow); transform: translateY(-101%); visibility: hidden; transition: transform .7s var(--ease), visibility 0s .7s; }
.sn.sn-show { transform: none; visibility: visible; transition-delay: 0s; }
.sn-in { max-width: 1280px; height: 100%; margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.sn-links { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 40px); margin: 0 0 0 auto; padding: 0; list-style: none; }
.sn-links a { white-space: nowrap; text-decoration: none; font-size: 15px; font-weight: 500; color: var(--mut); padding: 6px 0; border-bottom: 2px solid transparent; transition: color .4s var(--ease), border-color .4s var(--ease); }
.sn-links a:hover { color: var(--fg); }
.sn-links a[aria-current="true"] { color: var(--fg); border-bottom-color: var(--acc); }
.sn .bt { flex: none; }

/* ---------- Hero ---------- */
.hx { position: relative; overflow: hidden; height: clamp(640px, 100svh, 1100px); background: var(--bg); color: var(--fg); isolation: isolate; }
.hx::before { content: ""; position: absolute; left: 68%; top: 86%; width: 62vw; height: 42vw; max-width: 1100px; max-height: 760px; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--aqua) var(--glowmix), transparent), transparent); z-index: 0; pointer-events: none; }
.hx::after { content: ""; position: absolute; left: 50%; top: 74%; width: min(125vw, 1800px); height: min(70vw, 1000px); transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, var(--wash), transparent); z-index: 0; pointer-events: none; }
.hx-bar { position: relative; z-index: 6; max-width: 1680px; margin: 0 auto; padding: clamp(16px, 2.6vw, 36px) var(--gutter) 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.hx-main { position: relative; z-index: 5; text-align: center; max-width: 1080px; margin: clamp(64px, 14vh, 170px) auto 0; padding: 0 var(--gutter); }
.hx h1 { margin: 0 auto; max-width: 11em; font-family: 'Inter Tight', sans-serif; font-weight: 500; font-size: clamp(40px, 6vw, 92px); line-height: 1.02; letter-spacing: -.04em; }
.hx-sub { margin: clamp(14px, 1.6vw, 24px) auto 0; font-size: clamp(17px, 1.5vw, 22px); line-height: 1.45; color: var(--mut); text-wrap: balance; max-width: 30em; }
.hx-cta { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 14px clamp(16px, 1.8vw, 28px); margin-top: clamp(22px, 2.6vw, 40px); }
.cp-wrap { position: relative; display: inline-flex; align-items: center; }
.cp { position: absolute; left: 100%; top: 50%; transform: translateY(-50%); margin-left: 8px; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; border: 0; padding: 4px 9px 4px 7px; border-radius: 99px; background: var(--softbtn-bg); color: var(--softbtn-fg); font: 600 12px/1 'Inter', sans-serif; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .35s var(--ease), background-color .35s var(--ease); }
.cp svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cp::before { content: ""; position: absolute; top: -6px; bottom: -6px; left: -12px; right: -4px; }   /* hover bridge across the gap to the email */
.cp-wrap.cp-on .cp, .cp-wrap:has(:focus-visible) .cp, .cp.cp-done { opacity: 1; pointer-events: auto; }   /* keyboard focus shows it; a mouse click does not keep it up */
.cp:hover { background: color-mix(in srgb, var(--softbtn-bg) 70%, var(--aqua) 22%); }
@media (hover: none) { .cp { opacity: .85; pointer-events: auto; padding: 5px; } .cp .cp-t { display: none; } .cp.cp-done .cp-t { display: inline; } .cp.cp-done { padding: 4px 9px 4px 7px; } }
.hx-paths { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; color: var(--fg); }
.hx-core { position: absolute; left: 50%; top: 74%; transform: translate(-50%, -50%); z-index: 3; width: clamp(104px, 12.5vw, 184px); aspect-ratio: 1; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: var(--disc); box-shadow: var(--discedge); -webkit-backdrop-filter: blur(2px) saturate(1.25); backdrop-filter: blur(2px) saturate(1.25); }
.hx-core::before { content: ""; position: absolute; inset: -12%; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--aqua) 45%, transparent); box-shadow: 0 0 30px color-mix(in srgb, var(--aqua) 25%, transparent); animation: hx-halo 5s ease-in-out infinite; }
@keyframes hx-halo { 0%, 100% { transform: scale(.94); opacity: .55; } 50% { transform: scale(1.04); opacity: 1; } }
.hx-core b { display: block; font-size: clamp(14px, 1.25vw, 19px); font-weight: 600; line-height: 1.15; }
.hx-core span { display: block; font-size: clamp(10.5px, .85vw, 13px); opacity: .65; line-height: 1.2; margin-top: 2px; }
.hx-node { position: absolute; left: 0; top: 0; opacity: 0; font-size: clamp(11px, 1vw, 15px); font-weight: 600; padding: .55em 1.3em .55em 1em; border-radius: 99px; white-space: nowrap; will-change: transform, opacity; background: var(--nodebg); box-shadow: var(--nodeedge); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); display: inline-flex; align-items: center; }
.hx-node i { width: .6em; height: .6em; border-radius: 50%; margin-right: .6em; border: 1.5px solid var(--acc); box-shadow: var(--ring-glow); flex: none; }
.hx-node.hx-ai { background: var(--aqua); color: #0f1b2d; box-shadow: 0 0 24px color-mix(in srgb, var(--aqua) 55%, transparent); -webkit-backdrop-filter: none; backdrop-filter: none; }
.hx-node.hx-ai i { border-color: #0f1b2d; box-shadow: none; opacity: .8; }
/* the hero model is playful: the disc beats when clicked, the pills can be grabbed and flicked; --en (0..1.6, set in site.js) is how lit up it is */
.hx { --en: 0; }
.hx-core { cursor: pointer; -webkit-tap-highlight-color: transparent; box-shadow: var(--discedge), 0 0 calc(var(--en) * 46px) color-mix(in srgb, var(--aqua) calc(var(--en) * 40%), transparent); }
.hx-core:focus-visible { outline: 2px solid var(--acc); outline-offset: 6px; }
.hx-node { cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; }
.hx-node.drag { cursor: grabbing; }
.hx-node i { box-shadow: var(--ring-glow), 0 0 calc(var(--en) * 9px) color-mix(in srgb, var(--aqua) calc(var(--en) * 50%), transparent); }
.hx-paths { color: color-mix(in srgb, var(--aqua) calc(min(var(--en), 1) * 60%), var(--fg)); }
/* Hero: soft fade at the bottom (no hard cut) */
.hx-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 22%; background: linear-gradient(to bottom, transparent, var(--bg)); z-index: 2; pointer-events: none; }
/* Hero at mid widths: text sits lower, orbit bigger (orbit radii are scaled in site.js) */
@media (min-width: 700px) and (max-width: 1100px) {
  .hx-main { margin-top: clamp(120px, 20vh, 260px); }
  .hx-core { width: clamp(130px, 17vw, 190px); }
  .hx-core b { font-size: clamp(16px, 1.9vw, 20px); }
  .hx-core span { font-size: clamp(12px, 1.35vw, 14px); }
  .hx-node { font-size: clamp(13px, 1.7vw, 16px); }
}
@media (max-width: 699px) { .hx-core { width: 104px; } .hx-node { font-size: 12px; } }

/* ---------- Sections ---------- */
.wrap { width: min(1280px, 100% - 2 * var(--gutter)); margin: 0 auto; }
.sec { padding-top: clamp(72px, 11vw, 140px); position: relative; }
.lbl { font-size: clamp(12px, .95vw, 14px); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--acc-text); margin: 0 0 clamp(14px, 1.4vw, 20px); }
.sec h2 { margin: 0; font-family: 'Inter Tight', sans-serif; font-weight: 500; font-size: clamp(30px, 3.7vw, 54px); line-height: 1.05; letter-spacing: -.035em; }
.ring { flex: none; display: inline-block; width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid var(--acc); box-shadow: var(--ring-glow); }
.soft-band { background: linear-gradient(180deg, transparent 0, var(--band) clamp(36px, 5vw, 80px), var(--band) calc(100% - clamp(56px, 8vw, 120px)), transparent 100%); }

/* ---------- Icons: thin hairline circle, ink line icon, a small aqua detail (.ac) ---------- */
.ic { width: 1em; height: 1em; display: block; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.ic .ac { stroke: var(--acc); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ic .ac { filter: drop-shadow(0 0 2.5px color-mix(in srgb, var(--aqua) 65%, transparent)); } }
:root[data-theme="dark"] .ic .ac { filter: drop-shadow(0 0 2.5px color-mix(in srgb, var(--aqua) 65%, transparent)); }
.ico { --ico: clamp(46px, 3.9vw, 56px); flex: none; display: inline-flex; align-items: center; justify-content: center; width: var(--ico); height: var(--ico); font-size: calc(var(--ico) * .5); border-radius: 50%; color: var(--fg); background: var(--bg); box-shadow: 0 0 0 1px color-mix(in srgb, var(--fg) 20%, transparent); }

/* ---------- Problem: text + quiet broken orbit ---------- */
/* Rings sit on the optical centre of the first line (x-height centre), worked out from font size and line height */
.pb-list { --fs: clamp(16px, 1.35vw, 19px); --lh: 1.45; max-width: 820px; list-style: none; margin: clamp(32px, 4vw, 56px) 0 0; padding: 0; border-top: 1px solid var(--line); }
.pb-list li { display: flex; gap: clamp(14px, 1.6vw, 22px); align-items: flex-start; padding: clamp(16px, 1.9vw, 26px) 0; border-bottom: 1px solid var(--line); font-size: var(--fs); line-height: var(--lh); }
.pb-list .ring { margin-top: calc(var(--fs) * ((var(--lh) - 1.21) / 2 + .969 - .273) - 5.5px); }
.pbv-grid { display: grid; grid-template-columns: minmax(0, 57fr) minmax(0, 43fr); gap: clamp(40px, 7vw, 112px); align-items: center; }
.pbv-intro { margin: clamp(18px, 2vw, 28px) 0 0; font-size: clamp(17px, 1.45vw, 20px); line-height: 1.5; max-width: 34em; text-wrap: pretty; }
.pbv-list { max-width: none; margin-top: clamp(24px, 2.8vw, 40px); }
.pbv-vis { min-width: 0; }
.pbv-svg { display: block; width: 100%; height: auto; overflow: visible; }
.pbv-orb { fill: none; stroke: var(--mut); stroke-width: 1.4; opacity: .35; }
.pbv-gp { fill: var(--bg); stroke: color-mix(in srgb, var(--fg) 20%, transparent); stroke-width: 1.4; }
.pbv-pl text { font: 500 21px 'Inter', sans-serif; fill: var(--fg); }
.pbv-rg { fill: none; stroke: var(--acc); stroke-width: 2.2; stroke-dasharray: 3.6 2.68; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pbv-rg { filter: drop-shadow(0 0 2.5px color-mix(in srgb, var(--aqua) 55%, transparent)); } }
:root[data-theme="dark"] .pbv-rg { filter: drop-shadow(0 0 2.5px color-mix(in srgb, var(--aqua) 55%, transparent)); }
@media (max-width: 900px) { .pbv-grid { grid-template-columns: 1fr; gap: clamp(32px, 6vw, 48px); } .pbv-vis { max-width: 440px; width: 100%; } .pbv-pl text { font-size: 24px; } }
/* The model floats: each orbit (and its marker) wobbles a little on its own, slowly; amplitudes are small enough that they never cross */
.pbv-o { transform-box: view-box; }
.pbv-o.o1 { transform-origin: 300px 90px; animation: pbv-w1 13s ease-in-out infinite; }
.pbv-o.o2 { transform-origin: 300px 235px; animation: pbv-w2 17s ease-in-out infinite; }
.pbv-o.o3 { transform-origin: 300px 395px; animation: pbv-w3 11s ease-in-out infinite; }
@keyframes pbv-w1 { 0%, 100% { transform: translate(0, 0) rotate(0deg); } 35% { transform: translate(-7px, -3px) rotate(-1.1deg); } 70% { transform: translate(6px, 1.5px) rotate(.8deg); } }
@keyframes pbv-w2 { 0%, 100% { transform: translate(0, 0) rotate(0deg); } 30% { transform: translate(8px, 2.5px) rotate(.9deg); } 65% { transform: translate(-6px, -1.5px) rotate(-.8deg); } }
@keyframes pbv-w3 { 0%, 100% { transform: translate(0, 0) rotate(0deg); } 40% { transform: translate(-6px, 4px) rotate(1.3deg); } 75% { transform: translate(7px, -2.5px) rotate(-1deg); } }
.pbv-svg { animation: pbv-bob 9s ease-in-out infinite; }
@keyframes pbv-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
/* while the reader scrolls on, the model floats with them (site.js fixes it in place), then flies into the tool */
.pbv-fl.float { position: fixed; z-index: 40; pointer-events: none; will-change: transform, opacity; }
.nr .pbv-o, .nr .pbv-svg { animation: none; }
@media (prefers-reduced-motion: reduce) { .pbv-o, .pbv-svg { animation: none; } }

/* ---------- The act: the problem's closing sentence stays pinned as the headline while the tool plays below it ---------- */
#problem { padding-bottom: clamp(24px, 3vw, 48px); }
.act { position: relative; }
.pb-bridge { margin: clamp(32px, 4vw, 56px) 0 0 max(var(--gutter), calc((100% - 1280px) / 2)); max-width: min(34em, 100% - 2 * var(--gutter)); font-family: 'Inter Tight', sans-serif; font-weight: 600; font-size: clamp(19px, 1.8vw, 26px); line-height: 1.4; letter-spacing: -.015em; text-wrap: balance; }
.pb-bridge .b2 { display: inline-block; }   /* (on a phone the completion wraps as one piece: never "one / process") */
.pb-bridge.live .b2 { transition: opacity .7s ease; }
.pb-bridge.live:not(.go) .b2 { opacity: 0; }
.act.away .pb-bridge { opacity: 0 !important; transform: translateY(-10px) !important; transition: opacity .35s ease, transform .35s ease !important; }
.act.live.was-away .pb-bridge { transition-delay: 0s; }   /* after stepping aside once, it comes back without the reveal delay */   /* it steps aside when What you get takes the stage */
@media (min-width: 721px) { .act.live .pb-bridge { position: sticky; top: 25vh; top: 25svh; z-index: 5; } }   /* pinned a quarter down the screen; the tool opens below it */

/* ---------- The storyboard: ONE tool window on one pinned stage.
   Scene 2: three pills fly into "Your tool"; it zooms in and its qualities switch on. Scene 3: the same window expands and shows How it works.
   Scene 4: How it works fades out, the window shrinks to the model's size, What you get fades in above it and the model inside (the trace plays).
   The default CSS is the FINAL state, stacked, no pinning; site.js adds .live and plays the scenes one after the other as you scroll. ---------- */
.win-sh, .win-trace { display: none; }
/* the engine layer: pills, trails, the light, its glow and burst (fixed, above the pinned stage, below the nav) */
.eng { position: fixed; inset: 0; z-index: 42; pointer-events: none; }
.eng svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.eng .streak, .eng .sarc { fill: none; stroke: var(--acc); stroke-linecap: round; }
.eng .beam { stroke: var(--acc); stroke-width: 1.5; stroke-linecap: round; }
.eng .fp { display: inline-flex; overflow: hidden; opacity: 0; }
.eng.run .fp, .eng.run .eglow { will-change: transform, opacity; }   /* (layers only while the scene runs) */
.edot { position: absolute; left: 0; top: 0; width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid var(--acc); box-sizing: border-box; opacity: 0; will-change: transform, opacity, width, height; }
.eglow { position: absolute; left: 0; top: 0; width: 120px; height: 120px; margin: -60px 0 0 -60px; border-radius: 50%; opacity: 0; background: radial-gradient(closest-side, color-mix(in srgb, var(--aqua) 60%, transparent), transparent); }
.fp { --s: 1; position: absolute; left: 0; top: 0; display: none; align-items: center; border-radius: 99px; background: var(--bg); color: var(--fg); will-change: transform, opacity;
  box-shadow: 0 0 0 calc(1.4px * var(--s)) color-mix(in srgb, var(--fg) 20%, transparent); font: 500 calc(21px * var(--s)) / 1 'Inter', sans-serif; white-space: nowrap; }
.fp i { flex: none; box-sizing: border-box; width: calc(18.2px * var(--s)); height: calc(18.2px * var(--s)); margin: 0 calc(10.9px * var(--s)) 0 calc(21.9px * var(--s)); border-radius: 50%; border: calc(2.2px * var(--s)) dashed var(--acc); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .fp i { filter: drop-shadow(0 0 2.5px color-mix(in srgb, var(--aqua) 55%, transparent)); } }
:root[data-theme="dark"] .fp i { filter: drop-shadow(0 0 2.5px color-mix(in srgb, var(--aqua) 55%, transparent)); }

.story { padding: 0; margin-top: clamp(24px, 3vw, 48px); }
.win { position: relative; width: 100%; background: var(--tool); box-shadow: 0 -1px 0 var(--line), 0 1px 0 var(--line); }
.win-bar { display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 clamp(18px, 2.4vw, 26px); background: var(--toolbar); border-bottom: 1px solid var(--line); font: 600 15px/1 'Inter Tight', sans-serif; letter-spacing: -.01em; }
.layer { padding: clamp(48px, 6vw, 96px) 0; }
.layer + .layer { border-top: 1px solid var(--line); }
.lay-in { width: min(1280px, 100% - 2 * var(--gutter)); margin: 0 auto; transform-origin: 50% 50%; }
.win .hw-steps li::before, .win .ico { background: var(--tool); }
/* the tool's qualities: lean rows with a small status light (thin ring when off, a lit dot with a soft glow when on) */
/* the qualities scene: a small app screen (sidebar, toolbar, faint trace graph) with the three qualities as status rows */
.app { --sk: color-mix(in srgb, var(--fg) 9%, transparent); display: grid; grid-template-columns: clamp(132px, 14vw, 172px) minmax(0, 1fr); width: min(860px, 100% - 2 * var(--gutter)); margin: 0 auto; min-height: 300px; border-radius: 16px; overflow: hidden; background: var(--tool); box-shadow: 0 0 0 1px var(--line), 0 18px 44px -20px color-mix(in srgb, var(--fg) 20%, transparent); }
.app-side { display: flex; flex-direction: column; gap: 4px; padding: 16px 10px; background: color-mix(in srgb, var(--fg) 2.2%, var(--tool)); border-right: 1px solid var(--line); }
.app-nv { display: flex; align-items: center; gap: 10px; height: 30px; padding: 0 10px; border-radius: 8px; }
.app-nv i { flex: none; width: 12px; height: 12px; border-radius: 4px; box-shadow: inset 0 0 0 1.5px var(--sk); }
.app-nv b { display: block; height: 6px; width: var(--w, 50%); border-radius: 3px; background: var(--sk); }
.app-nv.on { background: var(--tint); }
.app-nv.on i { box-shadow: inset 0 0 0 1.5px var(--acc); }
.app-nv.on b { background: color-mix(in srgb, var(--acc) 45%, transparent); }
.app-nv-end { margin-top: auto; }
.app-main { position: relative; display: flex; flex-direction: column; min-width: 0; }
.app-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 42px; padding: 0 18px; border-bottom: 1px solid var(--line); }
.app-crumb { display: inline-flex; align-items: center; gap: 8px; }
.app-crumb b { display: block; width: var(--w); height: 6px; border-radius: 3px; background: var(--sk); }
.app-crumb b + em + b { background: color-mix(in srgb, var(--fg) 16%, transparent); }
.app-crumb em { width: 5px; height: 5px; border-top: 1.5px solid var(--sk); border-right: 1.5px solid var(--sk); transform: rotate(45deg); }
.app-av { display: inline-flex; }
.app-av i { width: 20px; height: 20px; border-radius: 50%; margin-left: -6px; background: color-mix(in srgb, var(--fg) 7%, var(--tool)); box-shadow: 0 0 0 2px var(--tool); }
.app-av i:first-child { background: color-mix(in srgb, var(--acc) 30%, var(--tool)); }
.app-graph { position: absolute; right: 18px; top: 52px; width: min(30%, 170px); height: auto; pointer-events: none; opacity: .55; }
.app-graph path { fill: none; stroke: color-mix(in srgb, var(--acc) 30%, transparent); stroke-width: 1.2; stroke-dasharray: 3 4; }
.app-graph circle { fill: var(--tool); stroke: color-mix(in srgb, var(--acc) 40%, transparent); stroke-width: 1.2; }
.app-body { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: 18px clamp(16px, 2.4vw, 28px) 22px; }
.app-h { display: flex; flex-direction: column; gap: 7px; }
.app-h b { display: block; width: 132px; height: 9px; border-radius: 5px; background: color-mix(in srgb, var(--fg) 18%, transparent); }
.app-h i { display: block; width: 210px; max-width: 70%; height: 6px; border-radius: 3px; background: var(--sk); }
.win-q { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; width: 100%; max-width: 560px; }
.win-q li { --k: 1; display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; border-radius: 12px; font-size: clamp(15px, 1.3vw, 18px); font-weight: 500; line-height: 1.3; letter-spacing: -.005em; transition: --k .7s ease;
  background: color-mix(in srgb, var(--tool) 88%, transparent);
  color: color-mix(in srgb, var(--fg) calc(var(--k) * 100%), var(--mut));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--acc) calc(var(--k) * 22%), var(--line)), 0 4px 14px -8px color-mix(in srgb, var(--fg) calc(var(--k) * 18%), transparent); }
.q-ic { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 9px; font-size: 17px; color: var(--fg); background: color-mix(in srgb, var(--acc) calc(var(--k) * 10%), color-mix(in srgb, var(--fg) 4%, var(--tool))); }
.q-ic .ic { opacity: calc(.45 + .55 * var(--k)); }
.q-t { flex: 1; min-width: 0; }
.q-bar { flex: none; width: clamp(36px, 5vw, 64px); height: 3px; border-radius: 2px; background: var(--sk); overflow: hidden; }
.q-bar i { display: block; height: 100%; width: calc(var(--k) * 100%); border-radius: inherit; background: var(--acc); }
@media (max-width: 560px) { .app { grid-template-columns: 1fr; } .app-side, .app-graph, .q-bar { display: none; } }
.win-q .k { position: relative; flex: none; width: 7px; height: 7px; border-radius: 50%;
  background: color-mix(in srgb, var(--acc) calc(var(--k) * 100%), transparent);
  box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--acc) calc(var(--k) * 100%), var(--lineh)), 0 0 calc(var(--k) * 8px) color-mix(in srgb, var(--aqua) calc(var(--k) * 70%), transparent); }
.win-q .k::after { content: ""; position: absolute; inset: -1.5px; border-radius: 50%; box-shadow: 0 0 0 1px var(--acc); opacity: 0; pointer-events: none; }
@keyframes press { 0% { transform: scale(1); } 35% { transform: scale(.985); } 100% { transform: scale(1); } }
@keyframes ping { 0% { opacity: .75; transform: scale(1); } 100% { opacity: 0; transform: scale(3.4); } }
.story.live .win-q li:not(.on) { --k: 0; }
.story.live .win-q li.on { animation: press .6s var(--ease); }
.story.live .win-q li.on .k::after { animation: ping 1s var(--ease) .15s; }
.story.nt, .story.nt * { transition: none !important; animation: none !important; }

@media (min-width: 721px) {
  /* pinned stretch: scene 2 at 0, scene 3 at .65 screens, scene 4 at 1.3 screens, then a short .6 screen before it lets go (site.js target()) */
  .story.live { height: 290vh; height: 290svh; }
  .story.live .story-stage { position: sticky; top: 0; z-index: 41; height: 100vh; height: 100svh; overflow: hidden; }
  /* The tool window assembles round the status light (outline trace, header down, body up), then the SAME window grows into the tool.
     site.js plays it frame by frame; .built is the assembled end state (also used for jumps). The trace stays as the window's border. */
  .story.live { --h0: min(330px, 100vh - var(--et, 220px) - 24px); --h0: min(330px, 100svh - var(--et, 220px) - 24px); }
  .story.live .win { position: absolute; left: calc(50% - min(270px, 50% - var(--gutter))); top: var(--wy0, calc((100% + var(--et, 220px) - 24px - var(--h0)) / 2)); width: min(540px, 100% - 2 * var(--gutter)); height: var(--wh0, var(--h0));
    border-radius: 24px; overflow: hidden; opacity: 0; background: transparent; box-shadow: none;
    transition: left 1.1s var(--ease2), top 1.1s var(--ease2), width 1.1s var(--ease2), height 1.1s var(--ease2); }
  /* (no contain: layout on .win: it would make the window the containing block of the fixed "What you get" heading, which then sits outside the window and is clipped away) */
  .story.live.asm .win { overflow: visible; }                                   /* (while the header and body glide in from outside) */
  .story.live .win-sh { display: block; position: absolute; inset: 0; border-radius: 24px; pointer-events: none; box-shadow: 0 24px 60px color-mix(in srgb, var(--fg) 10%, transparent); }
  .story.live .win-bar { position: relative; z-index: 2; border-radius: 24px 24px 0 0; }
  .story.live .win-bar b { white-space: nowrap; }
  .story.live .win-trace { display: block; position: absolute; z-index: 3; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
  .story.live .win-trace rect { width: calc(100% - 1.5px); height: calc(100% - 1.5px); fill: none; stroke: var(--acc); stroke-width: 1.5; stroke-dasharray: 1 1; stroke-dashoffset: 1; opacity: 0; }
  .story.live:not(.built) .win-bar, .story.live:not(.built) .win-body, .story.live:not(.built) .win-sh, .story.live:not(.built) .win-bar .ring { opacity: 0; }
  .story.live.built .win-trace rect { stroke-dashoffset: 0; opacity: 1; stroke: var(--line); stroke-width: 1px; }
  .story.live .win-q { max-width: 460px; }                                      /* compact cards: the bar and light stay near the words */
  .story.live.box .win { opacity: 1; }
  .story.live.zoom .win { left: calc(50% - min(350px, 50% - var(--gutter))); top: var(--wy1, max(var(--et, 220px), calc((100% + var(--et, 220px) - 24px - 420px) / 2))); width: min(700px, 100% - 2 * var(--gutter)); height: var(--wh1, min(420px, 100% - var(--et, 220px) - 24px)); }   /* a gentle step up; --wy0/--wh0, --wy1/--wh1: site.js fit() centres the window under the pinned headline */
  .story.live.expand .win { left: calc(50% - min(680px, 50% - var(--gutter))); top: var(--et3, 92px); width: min(1360px, 100% - 2 * var(--gutter)); height: calc(100% - var(--et3, 92px) - 24px); }
  .story.live .win-body { position: absolute; left: 0; right: 0; top: 56px; bottom: 0; background: var(--tool); border-radius: 0 0 24px 24px; }
  .story.live .layer { position: absolute; inset: 0; padding: 0; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; border: 0; transition: opacity .8s ease; }
  .story.live .lay-in { transform: scale(var(--sc, 1)); }
  .story.live.rows-on .l-q { opacity: 1; }                                                         /* only once the window has finished zooming in */
  .story.live.expand .l-q { opacity: 0; }
  .story.live .l-q { align-items: stretch; justify-content: stretch; }
  .story.live .l-q .app { width: 100%; min-height: 0; border-radius: 0; box-shadow: none; }
  .story.live.how-on .l-how { opacity: 1; transition-delay: .3s; pointer-events: auto; }
  .story.live.g1 .l-how { opacity: 0; transition-delay: 0s; pointer-events: none; }                 /* scene 4 (a): How it works fades out */
  .story.live.g2 .win { left: calc(50% - min(640px, 50% - var(--gutter))); top: var(--wt, 120px); width: min(1280px, 100% - 2 * var(--gutter)); height: var(--wh, 540px); transition-duration: .8s; }   /* (b): the window shrinks to the model's size */
  .story.live.g2 .l-get { opacity: 1; transition-delay: 0s; pointer-events: auto; }
  .story.live .l-get .lay-in { width: 100%; opacity: 0; transition: opacity .7s ease; }
  .story.live.g4 .l-get .lay-in { opacity: 1; }                                                      /* (d): the model appears inside the window */
  .story.live .l-get .gst-head { position: fixed; left: 0; right: 0; bottom: calc(100vh - var(--wt, 120px) + 34px + var(--out, 0px)); bottom: calc(100svh - var(--wt, 120px) + 34px + var(--out, 0px)); margin: 0 auto; opacity: 0; transform: translateY(10px); transition: opacity .6s ease, transform .6s var(--ease); }
  .story.live.g3 .l-get .gst-head { opacity: 1; transform: none; }                                   /* (c): heading and line fade in above the window */
  .story.live .win-tag { opacity: 0; transition: opacity .6s ease; }
  .story.live.g4 .win-tag { opacity: 1; }

  .story.live .l-how .lbl, .story.live .l-how h2, .story.live .hw-close { transition: opacity .9s ease, transform .9s var(--ease); }
  .story.live .l-how h2 { transition-delay: .2s; }
  .story.live:not(.show) .l-how .lbl, .story.live:not(.show) .l-how h2 { opacity: 0; transform: translateY(16px); }
  .story.live:not(.tail) .hw-close { opacity: 0; transform: translateY(16px); }
}
@media (max-width: 720px) {
  .story.live .layer { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform .9s var(--ease); }
  .story.live .layer.in { opacity: 1; transform: none; }
  .story.live .hw-close { transition: opacity .9s ease, transform .9s var(--ease); }
  .story.live:not(.tail) .hw-close { opacity: 0; transform: translateY(16px); }   /* the closing note comes in last, after the three steps */
}

/* ---------- How it works: three stations on one hairline (inside the opened tool) ---------- */
.hw-steps { position: relative; list-style: none; margin: clamp(44px, 5.5vw, 84px) 0 0; padding: 52px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4.4vw, 72px); }
.hw-steps::before { content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 1px; background: var(--lineh); -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); mask-image: linear-gradient(90deg, #000 82%, transparent); }
.hw-steps li { position: relative; }
.js .hw-steps::before { transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.7s var(--ease2); }
.js .hw-steps.in::before { transform: none; }
.js .hw-steps li::before { transform: scale(0); transition: transform .7s var(--ease) var(--dd, 0s); }
.js .hw-steps.in li::before { transform: none; }
.js .hw-steps li > * { opacity: 0; transform: translateY(16px); transition: opacity .9s var(--ease) calc(var(--dd, 0s) + .3s), transform .9s var(--ease) calc(var(--dd, 0s) + .3s); }
.js .hw-steps.in li > * { opacity: 1; transform: none; }
.hw-steps li:nth-child(1) { --dd: .1s; } .hw-steps li:nth-child(2) { --dd: .85s; } .hw-steps li:nth-child(3) { --dd: 1.5s; }
.hw-steps li::before { content: ""; position: absolute; left: 0; top: -52px; width: 17px; height: 17px; border-radius: 50%; border: 1.5px solid var(--acc); box-shadow: var(--ring-glow); background: var(--bg); }
.hw-top { display: flex; align-items: center; gap: clamp(14px, 1.4vw, 20px); margin-bottom: clamp(16px, 1.6vw, 22px); }
.hw-top .ico { --ico: clamp(52px, 4.6vw, 68px); }
.hw-n { font-family: 'Inter Tight', sans-serif; font-weight: 500; font-size: clamp(14px, 1.2vw, 17px); color: var(--acc-text); letter-spacing: .04em; }
.hw-steps b { display: block; font-family: 'Inter Tight', sans-serif; font-weight: 500; font-size: clamp(20px, 1.75vw, 25px); letter-spacing: -.025em; line-height: 1.15; margin: 10px 0; }
.hw-steps p { margin: 0; color: var(--mut); font-size: clamp(15px, 1.05vw, 16px); line-height: 1.55; text-wrap: pretty; }
@media (max-width: 900px) {
  .hw-steps { grid-template-columns: 1fr; padding: 0 0 0 44px; gap: 34px; }
  .hw-steps::before { left: 8px; right: auto; top: 6px; bottom: 6px; width: 1px; height: auto; -webkit-mask-image: none; mask-image: none; }
  .hw-steps li::before { top: 6px; left: -44px; }
  .js .hw-steps::before { transform: scaleY(0); transform-origin: 50% 0; }
  .js .hw-steps.in::before { transform: none; }
  .hw-steps li:nth-child(2) { --dd: .6s; } .hw-steps li:nth-child(3) { --dd: 1.1s; }
}

.hw-close { margin: clamp(36px, 4.5vw, 64px) 0 0; max-width: 46em; padding: 2px 0 2px 16px; border-left: 2px solid color-mix(in srgb, var(--acc) 60%, transparent); text-align: left; color: var(--mut); font-size: clamp(15.5px, 1.2vw, 17.5px); text-wrap: pretty; } /* closing note: same quiet left-rule style as the Pick note, aligned with the steps */

/* ---------- What you get (the last scene) ---------- */
.gst-head { text-align: center; }
.gst-head h2 { font-size: clamp(34px, 4.6vw, 68px); }
.mv-sub { margin: 14px auto 0; max-width: 36em; font-size: clamp(16px, 1.35vw, 19px); line-height: 1.45; color: var(--mut); text-wrap: balance; }
.l-get .gst-head { width: min(1280px, 100% - 2 * var(--gutter)); margin: 0 auto clamp(36px, 4.6vw, 68px); }
.win-tag { margin-left: auto; }

/* ---------- Pick what you need: the outcomes as a calm grid of icons and lines, then the process note ---------- */
#pick { padding-top: clamp(48px, 5.4vw, 84px); }
#pick h2 { font-size: clamp(28px, 2.9vw, 42px); }   /* comes in soon after the stage lets go */
.pk-head { max-width: 1000px; }
.pk-intro { margin: clamp(14px, 1.4vw, 20px) 0 0; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.5; color: var(--mut); max-width: 34em; text-wrap: pretty; }
/* the section reads as an L: heading on top, the six cards down the left two thirds, the note beside them at the bottom right */
.pk-body { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 0 clamp(40px, 5vw, 80px); align-items: end; margin: clamp(28px, 3.2vw, 44px) 0 0; }
.pk-list { --pkcg: clamp(22px, 2.4vw, 36px); list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(22px, 2.2vw, 32px) var(--pkcg); }
.pk-list li { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding-top: clamp(14px, 1.3vw, 18px); border-top: 1px solid var(--line); }
.pk-list .ico { --ico: 38px; }
.pk-list p { margin: 0; color: var(--mut); font-size: clamp(14.5px, 1vw, 15px); line-height: 1.5; text-wrap: pretty; }
.pk-list b { color: var(--fg); font-weight: 600; }
.pk-note { margin: 0 0 4px; max-width: 26em; padding-left: 16px; border-left: 2px solid color-mix(in srgb, var(--acc) 60%, transparent); color: color-mix(in srgb, var(--fg) 82%, var(--bg)); font-size: clamp(15px, 1.1vw, 16.5px); line-height: 1.5; text-wrap: pretty; }
@media (max-width: 1000px) { .pk-body { grid-template-columns: 1fr; } .pk-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pk-note { margin: clamp(30px, 4vw, 44px) 0 0 calc(50% + clamp(22px, 2.4vw, 36px) / 2); max-width: 40em; } }   /* two columns: the note sits in the right one, under the last row */
@media (max-width: 560px) { .pk-note { margin-left: 0; } .pk-list { grid-template-columns: 1fr; gap: 0; } .pk-list li { flex-direction: row; gap: 16px; padding: 18px 0; } .pk-list li:last-child { border-bottom: 1px solid var(--line); } .pk-list .ico { --ico: 38px; } .pk-list p { font-size: 15px; } }

/* ---------- What you own: heading stays a while, four calm tiles ---------- */
.ow-close { margin: clamp(28px, 3vw, 44px) 0 0; max-width: 36em; padding-left: 16px; border-left: 2px solid color-mix(in srgb, var(--acc) 60%, transparent); color: color-mix(in srgb, var(--fg) 82%, var(--bg)); font-size: clamp(15px, 1.1vw, 16.5px); line-height: 1.5; text-wrap: pretty; }   /* the same quiet closing note as .pk-note / .hw-close, on the tiles' left edge */
#own { padding-top: clamp(96px, 14vw, 176px); }   /* (a little more room before it than the other sections) */
#own .wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 100px); align-items: start; }
#own .wrap > div:first-child { position: sticky; top: calc(var(--navh) + 40px); }
#own h2 { font-size: clamp(34px, 4.2vw, 62px); }
.ow-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 1.6vw, 22px); }
.ow-list li { display: flex; flex-direction: column; gap: 22px; padding: clamp(24px, 2.6vw, 38px); border-radius: 26px; background: var(--panel); box-shadow: 0 0 0 1px var(--line); }
.ow-list .ico { --ico: 58px; }
.ow-list b { display: block; font-family: 'Inter Tight', sans-serif; font-weight: 500; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.25; letter-spacing: -.02em; margin-bottom: 8px; }
.ow-t { display: block; color: var(--mut); font-size: clamp(15px, 1.05vw, 16px); line-height: 1.55; text-wrap: pretty; }
@media (max-width: 1000px) { #own .wrap { grid-template-columns: 1fr; } #own .wrap > div:first-child { position: static; } }
@media (max-width: 560px) { .ow-list { grid-template-columns: 1fr; } }

/* ---------- Who it's for: the sentence and the sector icons on one calm band ---------- */
#who { margin-top: clamp(50px, 8vw, 98px); padding: clamp(66px, 9vw, 112px) 0 clamp(120px, 15vw, 200px); }
.wf-t { margin: 0; font-family: 'Inter Tight', sans-serif; font-size: clamp(22px, 2.55vw, 37px); line-height: 1.3; letter-spacing: -.025em; max-width: 28em; text-wrap: balance; }
.wf-t span { color: var(--mut); }
.wf-std { margin: clamp(18px, 2vw, 28px) 0 0; max-width: 46em; color: var(--mut); font-size: clamp(15.5px, 1.15vw, 17px); line-height: 1.5; text-wrap: pretty; }
.wf-sx { list-style: none; margin: clamp(36px, 4.6vw, 68px) 0 0; padding: clamp(28px, 3.4vw, 48px) 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(20px, 2.4vw, 36px) clamp(12px, 1.6vw, 24px); }
.wf-sx li { display: flex; flex-direction: column; align-items: center; gap: clamp(12px, 1.2vw, 18px); text-align: center; font-size: clamp(14px, 1.1vw, 16px); font-weight: 500; line-height: 1.3; text-wrap: balance; }
.wf-sx .ico { --ico: clamp(52px, 4.4vw, 64px); }
@media (max-width: 720px) { .wf-sx { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 430px) { .wf-sx { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Who I am: portrait left, text right, numbers band below ---------- */
.wh-top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 110px); align-items: center; }
.wh-top > div:last-child { padding-block: clamp(8px, 2vw, 32px); }
.wh-ph { position: relative; justify-self: center; width: min(100%, 460px); aspect-ratio: 4 / 5.5; }
.wh-ph::before { content: ""; position: absolute; inset: -6% -8%; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--aqua) var(--glowmix), transparent), transparent); z-index: 0; }
.wh-ph::after { content: ""; position: absolute; inset: -12px; border-radius: 40px; border: 1px solid color-mix(in srgb, var(--aqua) 45%, transparent); box-shadow: 0 0 30px color-mix(in srgb, var(--aqua) 18%, transparent); z-index: 1; pointer-events: none; animation: hx-halo 5s ease-in-out infinite; }
.wh-ph img { position: relative; z-index: 2; display: block; width: 100%; height: 100%; box-sizing: border-box; padding-top: 13%; object-fit: contain; object-position: 50% 100%; border-radius: 28px; background: #eceff3; box-shadow: 0 0 0 1px var(--line); }   /* contain: the whole head is always there, with a little room above it */
.wh-hi { margin: 0; display: inline-flex; align-items: center; gap: 10px; font-size: clamp(14px, 1.1vw, 16px); font-weight: 600; letter-spacing: .02em; color: var(--acc-text); }
.wh-hi::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--acc); box-shadow: var(--ring-glow); }
.wh-nm { margin: 0; font-family: 'Inter Tight', sans-serif; font-weight: 500; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.15; letter-spacing: -.02em; }
.wh-nm a { text-decoration: none; }
.wh-ti { display: block; margin-top: 4px; font-size: clamp(14.5px, 1.15vw, 16.5px); color: var(--mut); }
.wh-li { display: inline-block; margin-top: 8px; font-size: clamp(13.5px, 1vw, 15px); font-weight: 500; color: var(--acc-text); text-decoration: none; border-bottom: 1px solid color-mix(in srgb, var(--acc) 55%, transparent); }
.wh-li:hover { border-bottom-color: var(--acc); }
.wh-lead { margin: clamp(18px, 2vw, 28px) 0 0; max-width: 17em; font-family: 'Inter Tight', sans-serif; font-weight: 500; font-size: clamp(28px, 3vw, 46px); line-height: 1.12; letter-spacing: -.035em; text-wrap: balance; }
.wh-beat { margin: clamp(16px, 1.6vw, 22px) 0 0; max-width: 26em; font-size: clamp(17px, 1.45vw, 21px); line-height: 1.5; letter-spacing: -.01em; color: color-mix(in srgb, var(--fg) 86%, var(--bg)); text-wrap: pretty; }
.wh-cred { margin: clamp(18px, 2vw, 26px) 0 0; max-width: 36em; font-size: clamp(14.5px, 1.05vw, 15.5px); line-height: 1.6; color: var(--mut); text-wrap: pretty; }
.wh-sig { margin-top: clamp(34px, 3.8vw, 56px); padding-left: 18px; border-left: 2px solid color-mix(in srgb, var(--acc) 60%, transparent); }
.wh-band { margin-top: clamp(88px, 11vw, 170px); padding-top: clamp(32px, 4vw, 56px); border-top: 1px solid var(--line); }
.wh-nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wh-stat { padding: 0 clamp(16px, 3vw, 56px); border-left: 1px solid var(--line); }
.wh-stat:first-child { padding-left: 0; border-left: 0; }
.wh-stat b { display: block; font-family: 'Inter Tight', sans-serif; font-weight: 500; letter-spacing: -.04em; line-height: 1; font-size: clamp(40px, 5vw, 72px); }
.wh-stat span { display: block; margin-top: 10px; color: var(--mut); line-height: 1.35; font-size: clamp(14px, 1vw, 15px); max-width: 14em; text-wrap: balance; }
@media (max-width: 900px) { .wh-top { grid-template-columns: 1fr; } .wh-ph { width: min(100%, 360px); justify-self: start; } }
@media (max-width: 640px) {
  .wh-nums { grid-template-columns: 1fr; }
  .wh-stat { padding: 18px 0; border-left: 0; border-top: 1px solid var(--line); }
  .wh-stat:first-child { border-top: 0; padding-top: 0; }
  .wh-stat b { font-size: 44px; }
}

/* ---------- Pricing: one calm line glides gently upward across the four steps (a soft S, low gradient), with a dot at each step.
   The text columns share one top; only the line and its dots carry the rise. site.js fits the curve to the width and plays it in reading order;
   the default (no JS, ?nr, reduced motion) is the finished line. ---------- */
#pricing { padding-top: clamp(96px, 13.5vw, 170px); }
.pr-wrap { --lh: 70px; --gap: 16px; position: relative; margin: clamp(40px, 5vw, 72px) 0 0; padding-top: calc(var(--lh) + var(--gap)); }
.pr-line { position: absolute; left: 0; top: 0; width: 100%; height: var(--lh); overflow: visible; }
.pr-line path { fill: none; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset .9s cubic-bezier(.45, 0, .25, 1); }
.pr-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start; }
.pr-steps li { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 0 clamp(18px, 2.6vw, 44px) 0 0; }
.pr-dot { position: absolute; left: 0; top: calc(var(--y) * 1px - var(--lh) - var(--gap) - 7px); width: 14px; height: 14px; border-radius: 50%; background: var(--acc);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--acc) 16%, transparent), 0 0 12px color-mix(in srgb, var(--aqua) 40%, transparent); }
.pr-n { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--acc-text); }
.pr-steps b { display: block; margin: 8px 0 0; font-family: 'Inter Tight', sans-serif; font-weight: 500; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.2; letter-spacing: -.02em; }
.pr-steps .pr-price { margin: clamp(14px, 1.4vw, 20px) 0 0; color: var(--fg); font-family: 'Inter Tight', sans-serif; font-weight: 500; font-size: clamp(36px, 3.6vw, 54px); line-height: 1; letter-spacing: -.04em; }
.pr-price span { font-family: 'Inter', sans-serif; font-size: 13.5px; font-weight: 500; letter-spacing: 0; color: var(--mut); white-space: nowrap; }
.pr-price .pr-pre { display: block; margin-bottom: 6px; }
.pr-steps .pr-d { margin: clamp(14px, 1.4vw, 18px) 0 0; color: var(--mut); font-size: 15px; line-height: 1.55; text-wrap: pretty; }
.pr-bt { margin-top: 20px; }
.pr-close { margin: clamp(40px, 4.6vw, 64px) 0 0; max-width: 46em; color: var(--mut); font-size: clamp(15.5px, 1.15vw, 17px); line-height: 1.55; text-wrap: pretty; }
/* the reveal (only when site.js plays it): step 1, then the line draws on to the next dot and that step appears, and so on */
.pr-wrap.pr-anim .pr-line path { stroke-dashoffset: var(--off, 1); }
.pr-wrap.pr-anim .pr-steps li > * { opacity: 0; transform: translateY(12px); transition: opacity .7s ease, transform .7s var(--ease); }
.pr-wrap.pr-anim .pr-steps li > .pr-dot { transform: scale(0); transition: transform .5s var(--ease), opacity .3s ease; }
.pr-wrap.pr-anim .pr-steps li.on > * { opacity: 1; transform: none; }
.pr-wrap.pr-anim .pr-steps li.on > :nth-child(n + 3) { transition-delay: .12s; }
@media (max-width: 1000px) {   /* phone and tablet: the same line runs straight down the left edge, a dot per step, every step on one left edge */
  .pr-wrap { padding: 0 0 0 34px; max-width: 640px; }
  .pr-line { display: none; }
  .pr-wrap::before { content: ""; position: absolute; left: 6px; top: 7px; bottom: 0; width: 2px; border-radius: 2px; transform-origin: 50% 0; transform: scaleY(var(--pv, 1)); transition: transform .9s cubic-bezier(.45, 0, .25, 1);
    background: linear-gradient(180deg, color-mix(in srgb, var(--acc) 40%, transparent), var(--acc) 80%, transparent); }
  .pr-wrap.pr-anim::before { transform: scaleY(var(--pv, 0)); }
  .pr-steps { grid-template-columns: 1fr; gap: 36px; }
  .pr-steps li { padding: 0; }
  .pr-dot { left: -34px; top: 1px; }
  .pr-steps .pr-price { font-size: 38px; }
}

/* ---------- FAQ: heading left, accordion right ---------- */
#faq { padding-top: clamp(96px, 13.5vw, 170px); }
#faq .wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 100px); align-items: start; }
#faq .wrap > div:first-child { position: sticky; top: calc(var(--navh) + 40px); }
#faq h2 { font-size: clamp(34px, 4.2vw, 62px); }
.fq { border-top: 1px solid var(--line); }
.fq details { position: relative; border-bottom: 1px solid var(--line); }
.fq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: clamp(16px, 1.5vw, 20px) 0; font-size: clamp(16px, 1.15vw, 17.5px); font-weight: 500; text-wrap: pretty; }
.fq summary::-webkit-details-marker { display: none; }
.fq-q { min-width: 0; }   /* (the question is ONE flex item: inline markup inside it never spreads out) */
.fq summary::after { content: ""; flex: none; width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid var(--acc); box-shadow: var(--ring-glow); transition: background .4s var(--ease); }
.fq details[open] summary::after { background: var(--acc); }
.fq details[open] summary { padding-bottom: 4px; }
.fq details p { margin: 0 0 clamp(18px, 1.7vw, 24px); color: var(--mut); font-size: 15px; line-height: 1.6; max-width: 40em; text-wrap: pretty; }
.fqj summary::after { opacity: 0; }   /* (kept as a spacer; the travelling dot replaces it) */
.fqj p { padding-right: 34px; transition: opacity .35s ease .12s; }
.fqj:not(.on) p { opacity: 0; transition-delay: 0s; }
.fq-tr { --h: 0; position: absolute; right: 0; top: var(--t, 24px); width: 11px; height: 0; pointer-events: none; }
.fq-ln { position: absolute; left: 5px; top: 5.5px; width: 1px; height: calc(var(--h) * 1px); background: linear-gradient(180deg, var(--acc), color-mix(in srgb, var(--acc) 35%, transparent)); transform: scaleY(0); transform-origin: 50% 0; opacity: .7; transition: transform .45s var(--ease2); }
.fq-dt { position: absolute; left: 0; top: 0; width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid var(--acc); box-shadow: var(--ring-glow); background: transparent; transition: transform .45s var(--ease2), background-color .3s ease, box-shadow .3s ease; }
.fqj.on .fq-ln { transform: none; }
.fqj.on .fq-dt { transform: translateY(calc(var(--h) * 1px)); background: var(--acc); box-shadow: var(--ring-glow), 0 0 10px color-mix(in srgb, var(--aqua) 55%, transparent); }
@media (prefers-reduced-motion: reduce) { .fq-ln, .fq-dt, .fqj p { transition: none; } }
@media (max-width: 1000px) { #faq .wrap { grid-template-columns: 1fr; } #faq .wrap > div:first-child { position: static; } .fq { margin-top: 8px; } }

/* ---------- Closing: a full-width navy band in BOTH themes (the dark tokens live inside it): contact and footer in one calm block ---------- */
.end { --bg: #0f1b2d; --fg: #eef2f8; --mut: #a9b5c8; --line: #ffffff1a; --lineh: #ffffff30; --acc: #2ee6f0; --acc-text: #2ee6f0; --btn: #eef2f8; --btnfg: #0f1b2d; --fieldbg: #ffffff0d;
  --edge: 0 0 0 1px #ffffff1f, inset 0 1px 0 #ffffff26; --softbtn-bg: #ffffff14; --softbtn-fg: #eef2f8; --panel: color-mix(in srgb, #fff 6%, #0f1b2d); --field: color-mix(in srgb, #fff 20%, transparent);
  position: relative; isolation: isolate; overflow: hidden; margin-top: var(--room); color: var(--fg); color-scheme: dark;
  background-color: #0f1b2d;   /* a lifted, slightly warmer navy at the top, soft aqua light behind the form, settling into the brand navy at the foot */
  background-image: radial-gradient(ellipse 55% 60% at 78% 34%, color-mix(in srgb, #2ee6f0 12%, transparent), transparent 72%),
    radial-gradient(ellipse 70% 55% at 12% 6%, color-mix(in srgb, #6d7fd8 20%, transparent), transparent 70%),
    linear-gradient(180deg, #182a4c 0%, #132341 45%, #0f1b2d 100%); }
.end-orbit { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.end-orbit ellipse { fill: none; stroke: #fff; stroke-opacity: .07; stroke-width: 1.2; }
.end-orbit ellipse + ellipse { stroke: #2ee6f0; stroke-opacity: .09; }
#contact { padding-top: clamp(112px, 15.5vw, 200px); }
.end h2 { margin: 0; font-family: 'Inter Tight', sans-serif; font-weight: 500; line-height: 1.05; letter-spacing: -.035em; }
.ct { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.ct h2 { font-size: clamp(34px, 4.2vw, 62px); }
.ct-line { margin: clamp(18px, 2vw, 28px) 0 0; font-size: clamp(17px, 1.45vw, 20px); line-height: 1.5; color: var(--mut); max-width: 26em; text-wrap: pretty; }
.ct-note { margin: 12px 0 0; font-size: clamp(15px, 1.2vw, 17px); color: var(--mut); }
.ct-alt { margin: clamp(18px, 2vw, 28px) 0 0; font-size: 16px; color: var(--mut); }
.ct-alt a { color: var(--fg); text-decoration: none; border-bottom: 2px solid var(--acc); opacity: .85; transition: opacity .4s var(--ease); }
.ct-alt a:hover { opacity: 1; }
.ct form { display: grid; gap: 18px; padding: clamp(24px, 3.2vw, 44px); border-radius: 30px; background: linear-gradient(180deg, #ffffff0f, #ffffff05); box-shadow: inset 0 1px 0 #ffffff17, 0 0 0 1px #ffffff10, 0 40px 90px -40px color-mix(in srgb, #2ee6f0 30%, transparent); }
.ct-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ct label { display: block; font-size: 13px; font-weight: 600; color: var(--mut); margin-bottom: 6px; }
.ct input, .ct textarea { width: 100%; font: inherit; font-size: 16px; color: var(--fg); background: #0f1b2d8c; border: 0; border-radius: 16px; padding: 14px 18px; box-shadow: 0 0 0 1px var(--field); outline: none; transition: box-shadow .4s var(--ease); }
.ct textarea { min-height: 130px; max-height: 320px; resize: none; overflow-y: hidden; scrollbar-width: thin; scrollbar-color: #ffffff2e transparent; }
.ct textarea.ct-full { overflow-y: auto; }
.ct textarea::-webkit-scrollbar { width: 8px; }
.ct textarea::-webkit-scrollbar-track { background: transparent; margin: 10px 0; }
.ct textarea::-webkit-scrollbar-thumb { background: #ffffff2e; border-radius: 8px; border: 2px solid transparent; background-clip: padding-box; }
.ct textarea::-webkit-scrollbar-thumb:hover { background-color: #2ee6f066; }
.ct textarea::-webkit-resizer { display: none; }
.ct textarea::placeholder { color: var(--mut); opacity: .6; }
/* privacy note under the email */
.ct-pv { flex: 0 1 34ch; max-width: 34ch; text-wrap: balance; margin: 0; font-size: 12.5px; line-height: 1.45; color: var(--mut); opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .6s ease, transform .6s var(--ease), visibility 0s .6s; }
.ct-pv.on { opacity: .85; visibility: visible; transform: none; transition-delay: 0s; }
@media (max-width: 720px) { .ct-pv { flex-basis: 100%; order: 3; } }
.ct-pv a { color: var(--fg); text-decoration: none; border-bottom: 1px solid color-mix(in srgb, var(--acc) 60%, transparent); }
.ct-pv a:hover { border-bottom-color: var(--acc); }
.ct input:focus, .ct textarea:focus { box-shadow: 0 0 0 1.5px var(--acc); }
.ct-act { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 24px; margin-top: 4px; }
.ct-ok { margin: 0; font-size: 16px; }
.ct-ok::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 10px; border-radius: 50%; border: 1.5px solid var(--acc); box-shadow: var(--ring-glow); }
.ct-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ct-err { margin: 0; font-size: 14px; color: var(--mut); }
.ct-err a { color: var(--acc-text); }
.cf-turnstile { margin-top: -18px; line-height: 0; font-size: 0; }   /* (invisible unless it needs the visitor: no empty gap above Send; its iframe has its own size) */
@media (max-width: 900px) { .ct { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .ct-row { grid-template-columns: 1fr; } }
.ct-row { align-items: start; }

/* ---------- Footer ---------- */
.ft { margin-top: clamp(96px, 11vw, 160px); padding-bottom: 36px; }
.ft-in { width: min(1280px, 100% - 2 * var(--gutter)); margin: 0 auto; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--mut); display: grid; grid-template-columns: 1fr auto auto; gap: 12px 28px; align-items: center; }
.ft-links { display: flex; gap: 22px; }
.ft-links a { text-decoration: none; border-bottom: 1px solid var(--line); white-space: nowrap; }
.ft-links a:hover { color: var(--fg); }
/* Theme switch (footer): Auto · Light · Dark */
.ft-theme { display: inline-flex; gap: 2px; padding: 3px; border-radius: 99px; background: var(--softbtn-bg); }
.ft-theme button { border: 0; background: none; color: var(--mut); font: 500 12.5px 'Inter', sans-serif; padding: 5px 11px; border-radius: 99px; cursor: pointer; transition: background .4s var(--ease), color .4s var(--ease); }
.ft-theme button[aria-pressed="true"] { background: var(--bg); color: var(--fg); box-shadow: var(--edge); }
@media (max-width: 720px) { .ft-in { grid-template-columns: 1fr; } .ft-theme { justify-self: start; width: max-content; } }

/* Legal pages */
.lg-page main { width: min(760px, 100% - 2 * var(--gutter)); margin: 0 auto; padding: clamp(48px, 8vw, 110px) 0 0; min-height: 60svh; }
.lg-page h1 { margin: 0 0 20px; font-family: 'Inter Tight', sans-serif; font-weight: 500; font-size: clamp(32px, 4vw, 56px); letter-spacing: -.035em; line-height: 1.05; }
.lg-bar { width: min(1280px, 100% - 2 * var(--gutter)); margin: 0 auto; padding: 22px 0 0; }
.lg-back { display: inline-block; margin-top: 28px; text-decoration: none; border-bottom: 2px solid var(--acc); }

/* ---------- What you get: model view ---------- */
.mv-fr { position: relative; }   /* the window is the frame */
.mv-tag { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 3px 10px; border-radius: 99px; color: var(--mut); box-shadow: 0 0 0 1px var(--lineh); white-space: nowrap; }
.mv-chg { display: flex; align-items: center; gap: 14px; height: 40px; margin: 12px clamp(16px, 2.8vw, 32px) 0; padding: 0 8px 0 14px; border-radius: 10px; font-size: 13.5px; background: color-mix(in srgb, var(--fg) 2.4%, var(--tool)); box-shadow: 0 0 0 1px var(--line); }
.mv-what { min-width: 0; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--mut); animation: mv-flip .5s ease; }
.mv-what::before { content: ""; flex: none; width: 7px; height: 7px; margin-right: 4px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 6px color-mix(in srgb, var(--aqua) 60%, transparent); }
.mv-fr.mv-up .mv-what::before { background: #e0644a; box-shadow: 0 0 6px #e0644a88; }
@keyframes mv-flip { from { opacity: 0; transform: translateY(3px); } }
.mv-cnt { flex: none; }
.mv-what b { color: var(--fg); font-weight: 600; }
.mv-what .mv-val { font-weight: 600; white-space: nowrap; color: var(--fg); }
.mv-what .mv-val s { color: var(--mut); font-weight: 500; text-decoration-thickness: 1px; }
.mv-what .mv-val em { font-style: normal; color: var(--acc-text); }
.mv-cnt { margin-left: auto; font-size: 12.5px; font-weight: 600; color: var(--acc-text); padding: 4px 12px 4px 10px; border-radius: 99px; background: var(--tint); box-shadow: 0 0 0 1px color-mix(in srgb, var(--acc) 45%, transparent); display: inline-flex; align-items: center; gap: 8px; opacity: 0; transition: opacity .8s; }
.mv-fr.mv-oncnt .mv-cnt { opacity: 1; }
.mv-gr { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(32px, 6vw, 100px); align-items: start; padding: clamp(28px, 3.4vw, 44px) clamp(16px, 2.8vw, 32px) clamp(30px, 3.4vw, 48px); }
.mv-ln { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 0; }
.mv-ln path { fill: none; stroke-linecap: round; }
.mv-ln .b { stroke: var(--lineh); stroke-opacity: .55; stroke-width: 1; }
.mv-ln .l { stroke: var(--acc); stroke-width: 1.7; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; transition: stroke-dashoffset 1.1s var(--ease), opacity .5s, stroke .5s; }
.mv-ln.rev .l { stroke-dashoffset: -1; }
.mv-ln.nt .l { transition: none; }
.mv-ln .l.lit { stroke-dashoffset: 0; opacity: 1; }
.mv-fr.mv-fade .mv-ln .l { transition: opacity 1.1s, stroke-dashoffset 0s 1.1s; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .mv-ln .l { filter: drop-shadow(0 0 2.5px color-mix(in srgb, var(--aqua) 55%, transparent)); } }
:root[data-theme="dark"] .mv-ln .l { filter: drop-shadow(0 0 2.5px color-mix(in srgb, var(--aqua) 55%, transparent)); }
.mv-col { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 22px; justify-content: flex-start; }
.mv-cl { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--mut); margin: 0 0 4px 2px; padding-bottom: 2px; opacity: .75; }
.mv-n { position: relative; z-index: 1; isolation: isolate; display: flex; align-items: flex-start; gap: 11px; padding: 11px 15px 11px 13px; border-radius: 14px; background: var(--nodebg); box-shadow: var(--nodeedge); min-width: 0; opacity: .5; transition: opacity 1s var(--ease); }
.mv-n::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--tint); box-shadow: inset 0 0 0 1.5px var(--tintedge), 0 0 20px color-mix(in srgb, var(--aqua) 26%, transparent); opacity: 0; transition: opacity 1s var(--ease); }
.mv-n .ring { margin-top: 5px; border-color: var(--lineh); box-shadow: none; transition: border-color 1s, box-shadow 1s; }
.mv-n small { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: .04em; color: var(--mut); line-height: 1.3; transition: color 1s; }
.mv-n b { display: block; font-weight: 500; font-size: 14.5px; line-height: 1.3; }
.mv-n b u { text-decoration: none; white-space: nowrap; transition: color 1s, box-shadow 1s; }
.mv-n.lit { opacity: 1; }
.mv-n.lit::before { opacity: 1; }
.mv-n.lit .ring { border-color: var(--acc); box-shadow: var(--ring-glow); }
.mv-n.lit small { color: var(--acc-text); }
.mv-n.lit b u { color: var(--acc-text); box-shadow: inset 0 -2px 0 color-mix(in srgb, var(--acc) 55%, transparent); }
.mv-fr.mv-fade .mv-n, .mv-fr.mv-fade .mv-n::before, .mv-fr.mv-fade .mv-n .ring { transition-duration: 1.2s; }
.mv-n.mv-new { animation: mv-pop .75s var(--ease) backwards; }
.mv-col.mv-dense { gap: 10px; }
.mv-col.mv-dense .mv-n { padding: 7px 13px 7px 11px; border-radius: 12px; }
.mv-col.mv-dense .mv-n .ring { margin-top: 3px; }
@keyframes mv-pop { from { opacity: 0; transform: translateY(10px) scale(.9); } }
/* the control panel: a small card in the tool look; visitors add blocks, recolour the model and run the trace */
/* "Adapted to you": three groups, each pointer sits by the control that proves it (brand: the colours, needs: the + Add buttons, team: the trace) */
.mv-ctl { display: grid; grid-template-columns: minmax(0, 1fr) max-content minmax(0, 1fr); position: relative; z-index: 2; margin: 0 clamp(16px, 2.8vw, 32px) clamp(18px, 2.2vw, 26px); border-radius: 14px; background: var(--tool); box-shadow: 0 0 0 1px var(--line), 0 12px 30px -14px color-mix(in srgb, var(--fg) 22%, transparent); }
.mv-adapt { position: absolute; left: 4px; bottom: calc(100% + 9px); font: 600 10.5px/1.2 'Inter', sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--mut); white-space: nowrap; }
.mv-ctl-g { display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 16px 20px 15px; }
.mv-ctl-g + .mv-ctl-g { border-left: 1px solid var(--line); }
.mv-pt { margin: 0; max-width: 34em; font-size: 12.5px; line-height: 1.38; color: var(--mut); text-wrap: pretty; }
.mv-pt b { display: block; margin-bottom: 4px; font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--acc-text); }
.mv-ctl-r { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-height: 31px; margin-top: auto; }
.mv-ctl .mv-b.mv-b-go { margin-left: 0; }
.mv-ctl-g:nth-of-type(2) .mv-ctl-r { flex-wrap: nowrap; }   /* (the + Add buttons stay on one row: their column takes their width) */
.mv-ctl-g:nth-of-type(2) .mv-pt { max-width: 30em; }
@media (min-width: 761px) and (max-width: 1100px) { .mv-ctl { grid-template-columns: 1fr 1fr; } .mv-ctl-g:nth-of-type(2) { grid-column: 1 / -1; order: 3; border-left: 0; border-top: 1px solid var(--line); } .mv-ctl-g:nth-of-type(3) { order: 2; } }
@media (max-width: 760px) { .mv-ctl { grid-template-columns: 1fr; margin-top: 28px; } .mv-ctl-g:nth-of-type(2) .mv-ctl-r { flex-wrap: wrap; } .mv-ctl-g + .mv-ctl-g { border-left: 0; border-top: 1px solid var(--line); } .mv-ctl-g { padding-top: 16px; } }
.mv-sw { display: inline-flex; align-items: center; gap: 9px; padding-left: 2px; }
.mv-sw button { --c: #0a9fb0; flex: none; width: 15px; height: 15px; padding: 0; border: 0; border-radius: 50%; cursor: pointer; background: var(--c); box-shadow: 0 0 0 1px color-mix(in srgb, var(--fg) 14%, transparent); transition: transform .3s var(--ease), box-shadow .3s ease; }
.mv-sw button:hover { transform: scale(1.15); }
.mv-sw button[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--tool), 0 0 0 3.5px var(--c); }
.mv-sw [data-hue="blue"] { --c: #2f6fdf; } .mv-sw [data-hue="violet"] { --c: #7b5cf0; } .mv-sw [data-hue="coral"] { --c: #e0644a; } .mv-sw [data-hue="green"] { --c: #2f9e63; }
.mv-rst { margin-left: 6px; padding: 4px 6px; border: 0; background: none; cursor: pointer; color: var(--mut); font: 500 12.5px/1 'Inter', sans-serif; text-decoration: underline; text-decoration-color: var(--lineh); text-underline-offset: 3px; transition: color .3s ease; }
.mv-rst:hover { color: var(--fg); }
.mv-b { border: 0; cursor: pointer; font: 500 13.5px/1 'Inter', sans-serif; color: var(--fg); background: var(--tool); padding: 9px 14px; border-radius: 99px; white-space: nowrap; box-shadow: 0 0 0 1px var(--lineh); transition: box-shadow .3s ease, background-color .3s ease, transform .3s var(--ease), opacity .3s ease; }
.mv-b:hover:not(:disabled):not([aria-disabled="true"]) { background: var(--tint); box-shadow: 0 0 0 1px var(--acc); transform: translateY(-1px); }
.mv-b:disabled, .mv-b[aria-disabled="true"] { opacity: .4; cursor: default; }
.mv-b.mv-b-go { margin-left: auto; background: var(--btn); color: var(--btnfg); box-shadow: none; }
.mv-b.mv-b-go:hover { background: var(--btn); box-shadow: 0 6px 16px color-mix(in srgb, var(--aqua) 32%, transparent); }
@media (max-width: 560px) { .mv-b.mv-b-go { margin-left: 0; } }
/* model colours (light; dark variants after) */
.mv-fr[data-hue] { --tint: color-mix(in srgb, var(--acc) 11%, transparent); --tintedge: var(--acc); --ring-glow: 0 0 6px color-mix(in srgb, var(--aqua) 70%, transparent), inset 0 0 3px color-mix(in srgb, var(--aqua) 60%, transparent); }
.mv-fr[data-hue="blue"] { --acc: #2f6fdf; --acc-text: #2459c2; --aqua: #6f9bff; }
.mv-fr[data-hue="violet"] { --acc: #7b5cf0; --acc-text: #6446d6; --aqua: #a48bff; }
.mv-fr[data-hue="coral"] { --acc: #e0644a; --acc-text: #c24e36; --aqua: #ff9a80; }
.mv-fr[data-hue="green"] { --acc: #2f9e63; --acc-text: #23804f; --aqua: #5fd39a; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .mv-fr[data-hue="blue"] { --acc: #7aa5ff; --acc-text: #8fb4ff; --aqua: #7aa5ff; }
  :root:not([data-theme="light"]) .mv-fr[data-hue="violet"] { --acc: #b39dff; --acc-text: #c2b0ff; --aqua: #b39dff; }
  :root:not([data-theme="light"]) .mv-fr[data-hue="coral"] { --acc: #ff9a80; --acc-text: #ffab95; --aqua: #ff9a80; }
  :root:not([data-theme="light"]) .mv-fr[data-hue="green"] { --acc: #5fd39a; --acc-text: #74ddaa; --aqua: #5fd39a; }
  :root:not([data-theme="light"]) .mv-sw button { --c: #2ee6f0; }
  :root:not([data-theme="light"]) .mv-sw [data-hue="blue"] { --c: #7aa5ff; } :root:not([data-theme="light"]) .mv-sw [data-hue="violet"] { --c: #b39dff; }
  :root:not([data-theme="light"]) .mv-sw [data-hue="coral"] { --c: #ff9a80; } :root:not([data-theme="light"]) .mv-sw [data-hue="green"] { --c: #5fd39a; }
}
:root[data-theme="dark"] .mv-fr[data-hue="blue"] { --acc: #7aa5ff; --acc-text: #8fb4ff; --aqua: #7aa5ff; }
:root[data-theme="dark"] .mv-fr[data-hue="violet"] { --acc: #b39dff; --acc-text: #c2b0ff; --aqua: #b39dff; }
:root[data-theme="dark"] .mv-fr[data-hue="coral"] { --acc: #ff9a80; --acc-text: #ffab95; --aqua: #ff9a80; }
:root[data-theme="dark"] .mv-fr[data-hue="green"] { --acc: #5fd39a; --acc-text: #74ddaa; --aqua: #5fd39a; }
:root[data-theme="dark"] .mv-sw button { --c: #2ee6f0; }
:root[data-theme="dark"] .mv-sw [data-hue="blue"] { --c: #7aa5ff; } :root[data-theme="dark"] .mv-sw [data-hue="violet"] { --c: #b39dff; }
:root[data-theme="dark"] .mv-sw [data-hue="coral"] { --c: #ff9a80; } :root[data-theme="dark"] .mv-sw [data-hue="green"] { --c: #5fd39a; }
@media (max-width: 760px) {
  .mv-gr { grid-template-columns: 1fr; gap: 30px; }
  .mv-col.mv-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .mv-col.mv-two .mv-cl { grid-column: 1 / -1; }
  .mv-x { display: none; }
}

/* ---------- Reveals (only when JS runs; elements already in view are shown at once) ---------- */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .95s var(--ease) var(--d, 0s), transform .95s var(--ease) var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }
.nr .rv { transition: none !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) { .sn-links { gap: 20px; } .sn-links a { font-size: 14px; } }
@media (max-width: 940px) { .sn-links { display: none; } .sn .bt { margin-left: auto; } }
@media (max-width: 720px) { .hx h1 { max-width: 9em; } }

/* Reduced motion, targeted: the design stays; glide, orbit drift and the scenes are switched off in site.js (final states), and the halos stop breathing */
@media (prefers-reduced-motion: reduce) { .hx-core::before, .wh-ph::after { animation: none; } }
@media (prefers-reduced-motion: reduce) { .js .hw-steps::before, .js .hw-steps li::before, .js .hw-steps li > * { transform: none; opacity: 1; transition: none; } .cp { transition: none; } }
.nr .hw-steps::before, .nr .hw-steps li::before, .nr .hw-steps li > * { transition: none !important; }

/* Legal notice and privacy: headings, lists and definition lists */
.lg-page h1 { font-family: 'Inter Tight', sans-serif; font-weight: 500; letter-spacing: -.03em; font-size: clamp(32px, 4vw, 48px); line-height: 1.1; margin: 0 0 12px; }
.lg-page h2 { font-family: 'Inter Tight', sans-serif; font-weight: 500; letter-spacing: -.02em; font-size: clamp(19px, 1.6vw, 23px); margin: 40px 0 10px; }
.lg-page p, .lg-page li, .lg-page dd { color: var(--mut); line-height: 1.65; }
.lg-page ul { margin: 0 0 16px; padding-left: 20px; }
.lg-page li { margin: 4px 0; }
.lg-page dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; margin: 0 0 16px; }
.lg-page dt { font-weight: 600; color: var(--fg); }
.lg-page dd { margin: 0; }
.lg-page a { color: var(--acc-text); }
.lg-page .lk { color: var(--fg); }   /* the wordmark keeps the text colour, not the link colour */
@media (max-width: 560px) { .lg-page dl { grid-template-columns: 1fr; gap: 2px; } .lg-page dd { margin-bottom: 10px; } }

/* Short screens: the What you get heading takes less height, so the model (and what visitors add to it) gets more */
@media (min-width: 721px) and (max-height: 800px) {
  .gst-head h2 { font-size: clamp(28px, 3.4vw, 46px); }
  .mv-sub { margin-top: 8px; font-size: clamp(15px, 1.25vw, 18px); }
  .mv-gr { padding-top: 22px; padding-bottom: 22px; }
}

/* hero: the outermost pill (Your team) runs off small screens, so it is left out there */
@media (max-width: 700px) { .hx-node[data-n="5"] { display: none; } }

/* pricing footnote (Anh, 26 Nov): sits under step 4, linked by the asterisk after "a year of support" */
.pr-ast { color: var(--acc-text, var(--acc)); font-weight: 600; }
sup.pr-ast { font-size: .8em; margin-left: 1px; line-height: 0; vertical-align: baseline; position: relative; top: -.45em; } /* raised without stretching the line */
.pr-steps .pr-fn { margin: clamp(18px, 2vw, 26px) 0 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: color-mix(in srgb, var(--acc) 5%, transparent); color: var(--mut); font-size: 13.5px; line-height: 1.5; text-wrap: pretty; }

/* pricing: "After the first year" as a small opener instead of a box (Anh, 26 Nov) */
.pr-steps .pr-more { margin: 12px 0 0; font-size: 13.5px; color: var(--mut); }
.pr-steps .pr-more summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; line-height: 1.2; color: var(--acc-text, var(--acc)); font-weight: 500; }
.pr-steps .pr-more summary::-webkit-details-marker { display: none; }
.pr-steps .pr-more summary::before { content: ""; flex: none; width: 15px; height: 15px; box-sizing: border-box; border-radius: 50%; border: 1px solid currentColor; background: linear-gradient(currentColor, currentColor) center / 7px 1.2px no-repeat, linear-gradient(currentColor, currentColor) center / 1.2px 7px no-repeat; transition: transform .3s var(--ease); } /* plus drawn with two bars so it sits dead centre */
.pr-steps .pr-more[open] summary::before { transform: rotate(45deg); }
.pr-steps .pr-more p { margin: 6px 0 0; line-height: 1.5; }
