/* Reset, type, scrollbar, buttons, chips, fields, cursor, reveals */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); font-weight: var(--w-reg); font-size: var(--fs-16); line-height: 1.5; color: var(--c-ink); background: var(--c-bg); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg, canvas { display: block; max-width: 100%; }
[hidden] { display: none !important; }
picture { display: contents; }
img { height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
b, strong { font-weight: var(--w-med); }
h1, h2, h3, h4, h5 { font-weight: var(--w-light); line-height: 1.08; letter-spacing: var(--ls-tight); text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: var(--c-tint); color: var(--c-deep); }

/* Scrollbar: every scroll container, never arrow buttons */
::-webkit-scrollbar { width: 8px; height: 8px; background: transparent; }
::-webkit-scrollbar-button, ::-webkit-scrollbar-button:single-button, ::-webkit-scrollbar-button:double-button, ::-webkit-scrollbar-button:start, ::-webkit-scrollbar-button:end, ::-webkit-scrollbar-button:vertical:decrement, ::-webkit-scrollbar-button:vertical:increment { display: none; width: 0; height: 0; background: none; }
::-webkit-scrollbar-track, ::-webkit-scrollbar-corner { background: transparent; }
::-webkit-scrollbar-thumb { background: color-mix(in oklab, var(--c-brand) 38%, transparent); border-radius: var(--r-pill); border: 2px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background: var(--c-brand); background-clip: padding-box; }
@supports not selector(::-webkit-scrollbar) { * { scrollbar-width: thin; scrollbar-color: color-mix(in oklab, var(--c-brand) 38%, transparent) transparent; } }

:focus { outline: none; }
:focus-visible { box-shadow: var(--focus-ring); border-radius: var(--r-8); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; top: 12px; left: 12px; z-index: var(--z-cursor); padding: 12px 16px; border-radius: var(--r-12); background: var(--c-ink); color: var(--c-white); transform: translateY(-160%); }
.skip:focus-visible { transform: none; }
.wrap { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { position: relative; padding-block: var(--section-y); }
.noselect { -webkit-user-select: none; user-select: none; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: var(--fs-12); font-weight: var(--w-med); letter-spacing: var(--ls-caps); text-transform: uppercase; color: var(--c-ink-2); }
.eyebrow i { width: 6px; height: 6px; border-radius: 50%; background: var(--c-brand); box-shadow: 0 0 0 4px var(--c-brand-08); }
.h2 { font-size: var(--fs-h2); font-weight: var(--w-thin); letter-spacing: var(--ls-display); line-height: 1; }
.h2 b, h1 b { font-weight: var(--w-reg); letter-spacing: -0.035em; }
.lede { font-size: clamp(var(--fs-16), 0.92rem + 0.3vw, var(--fs-18)); font-weight: var(--w-light); color: var(--c-ink-2); max-width: 46ch; }
.num { font-variant-numeric: tabular-nums; }
.ph { color: var(--c-ink-3); }
.head { display: grid; gap: 20px; margin-bottom: clamp(36px, 4.5vw, 72px); }
.head .h2 { margin-top: 16px; }
@media (min-width: 1024px) { .head { grid-template-columns: 1.35fr 1fr; align-items: end; gap: 64px; } }

/* Chips, flag, live dot */
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 30px; padding: 4px 12px; border-radius: var(--r-pill); font-size: var(--fs-13); color: var(--c-ink-2); background: var(--c-glass-2); box-shadow: inset 0 0 0 1px var(--c-line); white-space: nowrap; }
.chip--sm { font-size: var(--fs-11); min-height: 24px; padding: 2px 10px; letter-spacing: 0.02em; }
.flag { width: 20px; height: 11px; border-radius: 2px; flex: none; box-shadow: 0 0 0 1px var(--c-line); }
.fl-w { fill: var(--c-flag-white); } .fl-r { fill: var(--c-flag-red); } .fl-b { fill: var(--c-flag-blue); }
.live { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--c-brand); flex: none; }
.live::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--c-brand); animation: live 1.8s var(--ease-out) infinite; }
@keyframes live { from { transform: scale(1); opacity: 0.5; } to { transform: scale(3); opacity: 0; } }
.badge { display: inline-flex; align-items: center; gap: 6px; min-height: 24px; padding: 2px 10px; border-radius: var(--r-pill); font-size: var(--fs-12); font-weight: var(--w-med); background: color-mix(in oklab, var(--c-ok) 12%, var(--c-white)); color: var(--c-ok); white-space: nowrap; }
.badge--wait { background: var(--c-warn-bg); color: var(--c-warn); }
.badge--muted { background: var(--c-bg-2); color: var(--c-ink-2); }

/* Rest is Deep Blue. Hover fills with the Wellness violet. The arrow sits in a purple circle. */
.btn {
  --bg: var(--c-ink); --fg: var(--c-white); --fill: var(--c-brand-2); --fg-h: var(--c-white); --ic-bg: var(--c-electric); --ic-fg: var(--c-white); --ic-bg-h: var(--c-white); --ic-fg-h: var(--c-brand-2);
  position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 6px 6px 6px 22px; border-radius: var(--r-pill); background: var(--bg); color: var(--fg);
  font-size: var(--fs-15); font-weight: var(--w-med); white-space: nowrap; letter-spacing: -0.005em;
  box-shadow: inset 0 1px 0 color-mix(in oklab, var(--c-white) 18%, transparent), 0 10px 24px -16px color-mix(in oklab, var(--c-ink) 70%, transparent);
  transition: color 420ms var(--ease-out), transform 240ms var(--ease-out), box-shadow 420ms var(--ease-out);
}
.btn::before { content: ""; position: absolute; left: var(--mx, 50%); top: var(--my, 50%); width: 260%; aspect-ratio: 1; border-radius: 50%; background: var(--fill); transform: translate(-50%, -50%) scale(0); transition: transform 620ms var(--ease-expo); z-index: -1; }
.btn:hover::before, .btn:focus-visible::before { transform: translate(-50%, -50%) scale(1); }
.btn:hover, .btn:focus-visible { color: var(--fg-h); box-shadow: 0 10px 24px -16px color-mix(in oklab, var(--c-black) 55%, transparent); }
.btn:active { transform: scale(0.97); }
.btn__l { display: inline-grid; overflow: hidden; line-height: 1.3; }
.btn__l > span { grid-area: 1 / 1; transition: transform 560ms var(--ease-expo); }
.btn__l > span + span { transform: translateY(110%); }
.btn:hover .btn__l > span:first-child, .btn:focus-visible .btn__l > span:first-child { transform: translateY(-110%); }
.btn:hover .btn__l > span + span, .btn:focus-visible .btn__l > span + span { transform: none; }
.btn__i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ic-bg); color: var(--ic-fg); flex: none; transition: transform 560ms var(--ease-expo), background 420ms, color 420ms; }
.btn__i svg { width: 14px; height: 14px; }
.btn:hover .btn__i, .btn:focus-visible .btn__i { transform: rotate(45deg); background: var(--ic-bg-h); color: var(--ic-fg-h); }
.btn--plain { padding: 6px 22px; }
.btn--line { --bg: transparent; --fg: var(--c-ink); --ic-bg: var(--c-brand); box-shadow: inset 0 0 0 1px var(--c-line-2); }
.btn--white { --bg: var(--c-white); --fg: var(--c-ink); --ic-bg: var(--c-brand); box-shadow: var(--sh-1); }
.btn--sm { min-height: 44px; font-size: var(--fs-14); padding: 4px 4px 4px 18px; }
.btn--sm.btn--plain { padding: 4px 18px; }
.btn--sm .btn__i { width: 36px; height: 36px; }
.btn--block { width: 100%; justify-content: space-between; }
.btn[aria-busy="true"] { pointer-events: none; }
/* Loading: the circle shows the i-spin ring. The button's own icon is hidden, so it never turns. */
.btn[aria-busy="true"] .btn__i > * { display: none; }
.btn[aria-busy="true"] .btn__i::after { content: ""; width: 14px; height: 14px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 3a7 7 0 1 1-7 7' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 3a7 7 0 1 1-7 7' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.link { display: inline-flex; gap: 8px; align-items: center; border-bottom: 1px solid var(--c-line-2); padding-bottom: 2px; font-weight: var(--w-med); transition: border-color 220ms, color 220ms; }
.link:hover { border-color: currentColor; color: var(--c-brand-ink); }
.tlink { display: inline-flex; align-items: center; gap: 8px; font-weight: var(--w-med); font-size: var(--fs-15); color: var(--c-ink); }
.tlink svg { width: 12px; height: 12px; transition: transform 420ms var(--ease-expo); }
.tlink:hover { color: var(--c-brand-ink); }
.tlink:hover svg { transform: translate(2px, -2px); }

/* Fields */
.field { display: grid; gap: 8px; }
.label { font-size: var(--fs-13); font-weight: var(--w-med); color: var(--c-ink-2); }
.input { width: 100%; min-height: 52px; padding: 12px 16px; border-radius: var(--r-16); border: 1px solid var(--c-line-2); background: var(--c-surface); font-size: var(--fs-16); color: var(--c-ink); transition: border-color 220ms, box-shadow 220ms; }
.input::placeholder { color: var(--c-ink-3); }
.input:hover { border-color: var(--c-ink-3); }
.input:focus-visible { border-color: var(--c-brand); box-shadow: 0 0 0 4px var(--c-brand-08); border-radius: var(--r-16); }
.input[aria-invalid="true"] { border-color: var(--c-err); }
.err { font-size: var(--fs-13); color: var(--c-err); }
.err:empty { display: none; }

/* Cursor: arrow only, no ring. Zooms on interactive targets. */
/* v12: custom cursor removed from the sign-in page (client). Rules kept inert; nothing adds .has-cursor any more. */
.cursor { position: fixed; left: 0; top: 0; z-index: var(--z-cursor); pointer-events: none; display: none; opacity: 0; transition: opacity 200ms; }
@media (pointer: fine) { .has-cursor, .has-cursor * { cursor: none !important; } .has-cursor input:not([type=checkbox]):not([type=radio]):not([type=file]), .has-cursor textarea { cursor: text !important; } .has-cursor .cursor { display: block; } }
.cursor__a { width: 22px; height: 22px; transform-origin: 2px 2px; transition: transform 460ms var(--ease-expo); filter: drop-shadow(0 2px 3px color-mix(in oklab, var(--c-ink) 18%, transparent)); }
.cursor__a path { fill: var(--c-ink); stroke: var(--c-white); transition: fill 220ms; }
.cursor.is-link .cursor__a { transform: scale(1.35); }
.cursor.is-link .cursor__a path { fill: var(--c-brand); }
.cursor.is-down .cursor__a { transform: scale(1.1); }
/* Over text fields the native I-beam shows and the custom arrow hides */
.cursor.is-text .cursor__a { opacity: 0; transition: opacity 120ms; }

/* Liquid reveals: rise and settle with a soft overshoot */
.ln { display: block; overflow: hidden; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.ln > span { display: inline-block; transform: translateY(110%) skewY(4deg); transform-origin: 0 100%; transition: transform 1250ms var(--ease-expo); transition-delay: calc(var(--i, 0) * 90ms); }
.is-in .ln > span, .ln.is-in > span { transform: none; }
[data-reveal] { opacity: 0; transform: translate3d(0, 46px, 0) scale(0.985); transition: opacity 900ms var(--ease-out), transform 1300ms var(--ease-liquid); transition-delay: calc(var(--i, 0) * 85ms); }
[data-reveal].is-in { opacity: 1; transform: none; }
html:not(.js) [data-reveal], html:not(.js) .ln > span { opacity: 1; transform: none; filter: none; }
/* Word assemble: words drift in from scattered positions and lock into the line */
.w { display: inline-block; }
.js [data-words] .w, .js [data-wordson] .w { opacity: 0; transform: translate(var(--dx, 0), var(--dy, 18px)) rotate(var(--dr, 0deg)); }
.js [data-words].is-in .w, .on [data-wordson] .w { animation: shard-in 820ms var(--ease-liquid) forwards; animation-delay: calc(60ms + var(--w) * 14ms); }
@keyframes shard-in { to { opacity: 1; transform: none; } }
/* Sections off screen pause their loops */
.is-off *, .is-off *::before, .is-off *::after { animation-play-state: paused !important; }

.net { position: fixed; top: 90px; left: 50%; z-index: var(--z-banner); display: flex; gap: 8px; align-items: center; padding: 8px 16px; border-radius: var(--r-pill); background: var(--c-ink); color: var(--c-white); font-size: var(--fs-13); transform: translate(-50%, -400%); opacity: 0; transition: transform 360ms var(--ease-out), opacity 200ms; }
.net.is-shown { transform: translate(-50%, 0); opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
  [data-reveal], .ln > span, .js [data-words] .w, .js [data-wordson] .w { opacity: 1; transform: none; filter: none; }
}
#gl-bg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.nf #gl-bg, body > #gl-bg { position: fixed; }

/* Assets are locked: no dragging, no selection; context menu blocked on media in core.js */
img, svg, canvas, video, picture { -webkit-user-drag: none; user-drag: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }

/* Image placeholders: photo frames show a soft brand wash until the photo paints (no blank boxes, no layout shift).
   Cut-outs with transparency (devices, body, orb, tablet hands) never get one. Every <img> keeps width/height attributes. */
.about__img, .qimg, .qmc img, .bx--img, .ac__m, .auth__imgs, .mk--vid img, .tl--consult { background: var(--g-skeleton); }
.btn:disabled:not(:where([aria-busy="true"])) { opacity: 0.45; pointer-events: none; }
