/* Heartland. Mercury system as built for Heemio: onyx surfaces, ivory type, cobalt as the single action, glass where UI meets a painting */
:root {
  --onyx-rgb: 23, 23, 33;
  --cobalt-rgb: 82, 102, 235;
  --ivory-rgb: 237, 237, 243;
  --onyx: #171721;
  --graphite: #1e1e2a;
  --obsidian: #272735;
  --slate: #70707d;
  --mist: #e2e3ed;
  --ash: #c3c3cc;
  --ivory: #ededf3;
  --cobalt: #5266eb;
  --white: #ffffff;
  --green: #4cc38a;
  --hairline: rgba(226, 227, 237, 0.12);
  --veil: rgba(var(--ivory-rgb), 0.08);

  --glass: rgba(26, 26, 38, 0.42);
  --glass-strong: rgba(var(--onyx-rgb), 0.66);
  --glass-edge: rgba(var(--ivory-rgb), 0.16);
  --glass-sheen: linear-gradient(135deg, rgba(var(--ivory-rgb),.14) 0%, rgba(var(--ivory-rgb),.03) 40%, rgba(var(--ivory-rgb),0) 60%, rgba(var(--ivory-rgb),.05) 100%);

  --display-stretch: 112%;
  --btn-radius: 32px;
  --round: 40px;
  --on-accent: #ffffff;
  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--onyx);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ivory); outline-offset: 3px; }
img { max-width: 100%; display: block; }
svg.i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.num { font-variant-numeric: tabular-nums; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 480; font-stretch: var(--display-stretch); margin: 0; text-wrap: balance; }
h2 { font-size: clamp(32px, 4.2vw, 49px); line-height: 1.12; letter-spacing: .01em; }
h3 { font-size: 21px; line-height: 1.25; letter-spacing: .015em; }
p { margin: 0; }
.lead { font-size: 18px; line-height: 1.45; color: var(--ash); max-width: 560px; }
.muted { color: var(--ash); }
.small { font-size: 14px; }
.tag { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 12px; border-radius: var(--round, 40px); font-size: 12px; letter-spacing: .01em; background: var(--veil); color: var(--ash); }

/* ---------- Glass ---------- */
.glass {
  position: relative;
  background: var(--glass);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  box-shadow: inset 0 0 0 1px var(--glass-edge), inset 0 1px 0 rgba(255,255,255,.08);
}
.glass::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: var(--glass-sheen); }
.glass > * { position: relative; }
.card { background: var(--graphite); border-radius: 12px; padding: 32px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 22px; border-radius: var(--btn-radius); border: 0; font-size: 16px; cursor: pointer; white-space: nowrap; transition: filter .2s, background-color .2s, transform .2s var(--ease); }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--cobalt); color: var(--on-accent); }
.btn-primary:hover { filter: brightness(1.12); }
.btn-ghost { background: rgba(255,255,255,.2); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%); color: var(--white); box-shadow: inset 0 0 0 1px rgba(255,255,255,.55), inset 0 1px 0 rgba(255,255,255,.35), 0 8px 24px -12px rgba(20,30,80,.45); border-radius: var(--btn-radius); }
.btn-ghost:hover { background: rgba(255,255,255,.3); }
.btn-sm { height: 34px; padding: 0 14px; font-size: 14px; }
.more { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: var(--round, 40px); color: var(--ivory); font-size: 15px; box-shadow: inset 0 0 0 1px var(--ivory); transition: background-color .2s, gap .2s var(--ease); white-space: nowrap; }
.more:hover { background: var(--veil); gap: 12px; }
.more svg.i { width: 15px; height: 15px; }

/* ---------- Nav: spread out at the top, one floating glass pill once you scroll ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 40; padding: 14px var(--gutter); pointer-events: none; }
.nav-inner { pointer-events: auto; position: relative; max-width: var(--max); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px; border-radius: var(--round, 40px); background: transparent; box-shadow: inset 0 0 0 1px transparent;
  transition: max-width .6s var(--ease), background-color .4s var(--ease), box-shadow .4s var(--ease), backdrop-filter .4s; }
.nav.scrolled .nav-inner { max-width: 760px; background: rgba(var(--onyx-rgb), 0.62); backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4); box-shadow: inset 0 0 0 1px var(--glass-edge), 0 18px 40px -18px rgba(0,0,0,.6); }
.brand { display: flex; align-items: center; gap: 10px; padding: 0 10px; font-family: var(--font-display); font-stretch: var(--display-stretch); font-weight: 480; font-size: 16px; letter-spacing: .01em; white-space: nowrap; }
.brand-mark { width: 26px; height: 26px; flex: none; }
.links { display: flex; gap: 2px; }
.links a { border-radius: var(--round, 40px); padding: 7px 14px; font-size: 15px; color: var(--ash); transition: background-color .2s, color .2s; }
.links a:hover { color: var(--ivory); }
.links a.on { background: var(--veil); color: var(--ivory); }
.menu-btn { display: none; width: 34px; height: 34px; border-radius: 50%; border: 0; background: transparent; place-items: center; cursor: pointer; }
.menu-btn:hover { background: var(--veil); }
.menu-sheet { display: none; position: absolute; left: 0; right: 0; top: calc(100% + 8px); padding: 6px; border-radius: 20px; background: rgba(var(--onyx-rgb), 0.9); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: inset 0 0 0 1px var(--glass-edge), 0 18px 40px -18px rgba(0,0,0,.6); }
.menu-sheet a { display: block; padding: 12px 16px; border-radius: 14px; font-size: 16px; }
.menu-sheet a:hover { background: var(--veil); }
.nav-right { display: flex; align-items: center; gap: 4px; }
@media (max-width: 860px) {
  .links { display: none; }
  .menu-btn { display: grid; }
  .nav-right > .btn { display: none; }
  .nav.open .menu-sheet { display: block; }
  .nav.scrolled .nav-inner { max-width: var(--max); }
}

/* ---------- Hero: copy left, data cube right ---------- */
.hero { position: relative; min-height: max(720px, 100vh); overflow: hidden; isolation: isolate; display: grid; }
.hero-sky { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; z-index: -2; will-change: transform; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(var(--ivory-rgb),0) 0%, rgba(var(--ivory-rgb),0.000) 54.0%, rgba(var(--ivory-rgb),0.003) 57.3%, rgba(var(--ivory-rgb),0.014) 60.6%, rgba(var(--ivory-rgb),0.034) 63.9%, rgba(var(--ivory-rgb),0.064) 67.1%, rgba(var(--ivory-rgb),0.104) 70.4%, rgba(var(--ivory-rgb),0.155) 73.7%, rgba(var(--ivory-rgb),0.218) 77.0%, rgba(var(--ivory-rgb),0.292) 80.3%, rgba(var(--ivory-rgb),0.378) 83.6%, rgba(var(--ivory-rgb),0.477) 86.9%, rgba(var(--ivory-rgb),0.588) 90.1%, rgba(var(--ivory-rgb),0.712) 93.4%, rgba(var(--ivory-rgb),0.850) 96.7%, rgba(var(--ivory-rgb),1.000) 100.0%), linear-gradient(90deg, rgba(30,40,90,.32) 0%, rgba(30,40,90,.12) 45%, rgba(30,40,90,0) 70%), linear-gradient(180deg, rgba(var(--onyx-rgb),.25) 0%, rgba(var(--onyx-rgb),0) 18%); }
.hero-inner { max-width: var(--max); width: 100%; margin: 0 auto; display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; padding: 120px var(--gutter) 80px; }
.hero-copy { display: grid; justify-items: start; gap: 22px; will-change: transform, opacity; }
.hero h1 { font-size: clamp(34px, 3.9vw, 58px); line-height: 1.08; color: var(--white); font-weight: 530; letter-spacing: .005em; text-shadow: 0 2px 24px rgba(30,40,90,.35); }
.hero h1 .ln { display: block; overflow: hidden; padding-bottom: .04em; white-space: nowrap; }
.hero h1 .ln span { display: inline-block; animation: rise 1.1s var(--ease) both; }
.hero h1 .ln:nth-child(2) span { animation-delay: .12s; }
@keyframes underline { from { transform: scaleX(0); } }
.hero-copy p { max-width: 460px; font-size: 18px; font-weight: 420; line-height: 1.45; color: var(--white); text-shadow: 0 1px 14px rgba(30,40,90,.45); animation: fade 1s .35s var(--ease) both; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; animation: fade 1s .5s var(--ease) both; }
.cube-wrap { position: relative; height: min(640px, 72vh); animation: fade 1.4s .3s var(--ease) both; }
.cube-wrap canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
@keyframes rise { from { transform: translateY(105%); } }
@keyframes fade { from { opacity: 0; transform: translateY(12px); } }
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 112px; gap: 8px; }
  .cube-wrap { height: 360px; }
  .hero h1 { font-size: min(8.2vw, 52px); }
}

/* ---------- Drifting gradient for the light sections ---------- */
.mesh { position: absolute; inset: 0; overflow: hidden; z-index: -1; pointer-events: none; }
.mesh i { position: absolute; width: 52vw; height: 52vw; max-width: 760px; max-height: 760px; border-radius: 50%; filter: blur(90px); animation: meshDrift 24s ease-in-out infinite alternate; }
.mesh i:nth-child(1) { background: #5266eb; opacity: .22; top: -14%; left: -10%; }
.mesh i:nth-child(2) { background: #b8b2f2; opacity: .5; top: 24%; right: -12%; animation-duration: 28s; animation-delay: -6s; }
.mesh i:nth-child(3) { background: #f2c6ae; opacity: .42; bottom: -18%; left: 28%; animation-duration: 32s; animation-delay: -12s; }
@keyframes meshDrift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(6vw, 4vh) scale(1.08); } 100% { transform: translate(-4vw, -3vh) scale(.94); } }

/* ---------- Light theme overrides ---------- */
.light .muted, .light .small.muted { color: #55556a; }
.light .tag { background: rgba(var(--onyx-rgb),.06); color: #55556a; }
.light .more { color: var(--onyx); box-shadow: inset 0 0 0 1px var(--onyx); }
.light .more:hover { background: rgba(var(--onyx-rgb),.05); }
.tlink { color: var(--ash); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(195,195,204,.5); font-size: 15px; transition: color .2s; }
.tlink:hover { color: var(--ivory); }

/* ---------- Sections ---------- */
section.block { padding: 128px var(--gutter) 72px; scroll-margin-top: 40px; }
.wrap { max-width: var(--max); margin: 0 auto; }
.head { display: grid; gap: 18px; margin-bottom: 56px; }
.head .more { justify-self: start; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Light section: What we do ---------- */
.light { background: var(--ivory); color: var(--onyx); }

/* ---------- What we do: blue, pinned, a stepper drives the diagram ---------- */
#what { position: relative; height: 200vh; }
.what-pin { position: sticky; top: 0; height: 100vh; display: grid; align-items: center; padding: 88px var(--gutter) 40px; overflow: hidden; isolation: isolate; }
.what-grid { width: 100%; display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.what-left h2 { color: var(--onyx); }
#what .mesh { -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.35) 18%, #000 45%); mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.35) 18%, #000 45%); }
.what-left .lead { color: #55556a; margin-top: 16px; }
.stepper { position: relative; list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 26px; }
.stepper .rail { position: absolute; left: 17px; top: 18px; bottom: 18px; width: 2px; background: rgba(var(--onyx-rgb),.12); border-radius: 2px; }
.stepper .rail i { position: absolute; left: 0; top: 0; width: 100%; height: 0; background: var(--obsidian); border-radius: 2px; transition: height .8s var(--ease); }
.stepper li { position: relative; display: grid; grid-template-columns: 36px 1fr; gap: 18px; align-items: start; opacity: .5; transition: opacity .4s var(--ease); }
.stepper li.on, .stepper li.done { opacity: 1; }
.stepper .n { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; background: var(--ivory); color: #55556a; box-shadow: inset 0 0 0 1.5px rgba(var(--onyx-rgb),.18); transition: background-color .4s, color .4s, box-shadow .4s; }
.stepper li.on .n, .stepper li.done .n { background: var(--obsidian); color: var(--white); box-shadow: 0 6px 16px -6px rgba(var(--onyx-rgb),.5); }
.stepper h3 { font-size: 21px; color: var(--onyx); padding-top: 5px; }
.stepper p { color: #55556a; font-size: 15px; line-height: 1.5; margin-top: 4px; max-height: 0; overflow: hidden; transition: max-height .5s var(--ease); }
.stepper li.on p { max-height: 90px; }
@media (max-width: 960px) { .what-grid { grid-template-columns: 1fr; } }
.light .lead { color: #55556a; }
.glass-light { background: rgba(255,255,255,.55); backdrop-filter: blur(24px) saturate(140%); -webkit-backdrop-filter: blur(24px) saturate(140%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.75), 0 30px 80px -40px rgba(var(--onyx-rgb),.45); }
.hub { position: relative; width: 100%; background: rgba(255,255,255,.94); box-shadow: inset 0 0 0 1px rgba(255,255,255,.9), 0 40px 90px -40px rgba(var(--onyx-rgb),.35); color: var(--onyx); border-radius: 20px; padding: clamp(20px, 3vw, 28px) clamp(14px, 2vw, 22px); display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(20px, 3.5vw, 44px); align-items: center; }
.hub-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.what-chars { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.what-pin > .wrap { position: relative; z-index: 1; }
@media (max-width: 560px) { .what-chars { display: none; } .side.right { gap: 8px; padding-top: 0; } .side.right .side-h { margin-bottom: 0; } .bid { position: static; order: 3; margin-left: 6px; } }
.hub-lines path { fill: none; stroke: rgba(var(--onyx-rgb),.2); stroke-width: 1.2; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.5s var(--ease), stroke .6s, stroke-width .6s; }
.hub-lines path.m { stroke: var(--onyx); stroke-width: 1.8; }
.side { position: relative; display: grid; gap: 10px; }
.side:last-child { justify-items: end; }
.side-h { font-size: 12px; color: #55556a; margin-bottom: 4px; letter-spacing: .01em; }
.chip { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 6px; border-radius: var(--round, 40px); background: rgba(255,255,255,.85); color: var(--onyx); font-size: 14px; white-space: nowrap; box-shadow: 0 6px 16px -10px rgba(var(--onyx-rgb),.4), inset 0 0 0 1px rgba(var(--onyx-rgb),.06); width: max-content; }
.side:last-child .chip { flex-direction: row-reverse; padding: 0 6px 0 14px; }
.chip .ci { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #ececf2; }
.chip .ci svg.i { width: 14px; height: 14px; }
.chip.match { background: var(--white); box-shadow: 0 8px 20px -8px rgba(var(--onyx-rgb),.45), inset 0 0 0 1.5px var(--onyx); }
.core { position: relative; display: grid; justify-items: center; text-align: center; gap: 10px; }
.core .circle { width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; background: var(--cobalt); color: var(--white); box-shadow: 0 0 0 12px rgba(var(--cobalt-rgb),.16), 0 16px 36px -12px rgba(var(--cobalt-rgb),.6); margin-bottom: 6px; }
.core .circle svg.i { width: 32px; height: 32px; stroke-width: 1.4; }
.core .circle .hub-mark { width: 46px; height: 46px; }
.core h3 { font-size: 18px; color: var(--onyx); white-space: nowrap; }
.core p { font-size: 13px; color: #55556a; max-width: 150px; }
@media (max-width: 560px) {
  .hub { grid-template-columns: 1fr; gap: 30px; padding: 22px 14px; }
  .side, .side:last-child { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
  .side-h { width: 100%; text-align: center; }
  .side:last-child .chip { flex-direction: row; padding: 0 10px 0 6px; }
  .chip { font-size: 12px; height: 34px; padding-right: 10px; }
  .side:last-child .chip { padding-left: 10px; }
  .chip .ci { width: 24px; height: 24px; }
  .core .circle { width: 64px; height: 64px; box-shadow: 0 0 0 8px rgba(var(--cobalt-rgb),.16); }
  .core .circle svg.i { width: 24px; height: 24px; }
  .core .circle .hub-mark { width: 32px; height: 32px; }
  .core h3 { font-size: 14px; white-space: normal; }
  .core p { display: none; }
  .side-h { font-size: 11px; }
}

.hub .side .chip, .hub .side-h { transition: opacity .8s var(--ease), transform .8s var(--ease), box-shadow .6s; }
.hub .core .circle { transition: transform .8s var(--ease), box-shadow .8s, background-color .6s; }
.hub.s1 .side.right .chip, .hub.s1 .side.right .side-h, .hub.s2 .side.right .chip, .hub.s2 .side.right .side-h { opacity: .25; transform: translateX(10px); }
.hub.s1 .core .circle { background: #c9cbe0; box-shadow: none; transform: scale(.9); }
.hub.s1 .chip.match, .hub.s2 .chip.match { box-shadow: 0 6px 16px -10px rgba(var(--onyx-rgb),.4), inset 0 0 0 1px rgba(var(--onyx-rgb),.06); background: rgba(255,255,255,.85); }
.hub.s1 .side.left .chip { box-shadow: 0 10px 24px -10px rgba(var(--onyx-rgb),.45), inset 0 0 0 1.5px var(--onyx); }
.hub.s2 .core .circle { transform: scale(1.06); }
.hub-lines path.on { stroke-dashoffset: 0; }
.bid { position: absolute; right: 4px; bottom: calc(100% + 6px); white-space: nowrap; font-size: 12px; line-height: 1; padding: 5px 10px; border-radius: 20px; background: rgba(var(--onyx-rgb),.06); color: #55556a; font-variant-numeric: tabular-nums; opacity: 0; transform: translateY(5px); transition: opacity .5s var(--ease), transform .5s var(--ease); pointer-events: none; }
.bid.best { background: var(--cobalt); color: var(--white); font-weight: 480; box-shadow: 0 8px 20px -8px rgba(var(--cobalt-rgb),.7); }
.hub.s3 .bid { opacity: 1; transform: none; }
.hub.s3 .chip:nth-of-type(2) .bid { transition-delay: 1.8s; }
.hub.s3 .chip:nth-of-type(3) .bid { transition-delay: 2.3s; }
.hub.s3 .chip:nth-of-type(4) .bid { transition-delay: 3s; }
.side.right { gap: 34px; padding-top: 18px; }
.side.right .side-h { margin-bottom: 0; }
.offer-pill { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px 0 12px; border-radius: var(--round, 40px); background: var(--onyx); color: var(--white); font-size: 14px; opacity: 0; transform: translateY(8px) scale(.96); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.offer-pill svg.i { width: 15px; height: 15px; color: #b9bfff; }
.offer-pill b { font-weight: 480; }
.hub.s3 .offer-pill { opacity: 1; transform: none; transition-delay: 3.4s; }
@media (max-width: 960px) {
  #what { height: auto; }
  .what-pin { position: static; height: auto; padding: 112px var(--gutter); }
  .stepper li { opacity: 1; }
  .stepper li p { max-height: none; }
  .stepper .n { background: var(--obsidian); color: var(--white); }
  .stepper .rail i { height: 100%; }
}

/* ---------- What buyers pay for: illustrated cards ---------- */
.buy-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.dcards { overflow: hidden; margin-inline: calc(-1 * var(--gutter)); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.track { display: flex; gap: 20px; width: max-content; padding: 4px 0 12px; animation: marquee 60s linear infinite; }
.dcards { cursor: pointer; }
.dcards.paused .track { animation-play-state: paused; }
.track > .dcard { flex: 0 0 clamp(290px, 34vw, 440px); }
@keyframes marquee { to { transform: translateX(calc(-50% - 10px)); } }
@media (max-width: 560px) { .track > .dcard { flex-basis: 80vw; } .track { animation-duration: 45s; } }
.dcard { display: grid; gap: 6px; align-content: start; }
.dcard h3 { font-size: 20px; margin-top: 14px; }
.dcard p { color: var(--ash); font-size: 16px; line-height: 1.5; max-width: 480px; }
.art { position: relative; height: clamp(260px, 26vw, 360px); border-radius: 16px; overflow: hidden; display: grid; place-items: center; background: radial-gradient(90% 80% at 50% 35%, #34364f 0%, #252636 55%, #1e1e2a 100%); box-shadow: inset 0 0 0 1px rgba(var(--ivory-rgb),.06); }
.art .win { width: 60%; }
/* stacked: one sharp thing in front of blurred copies */
.stack { position: relative; width: 62%; isolation: isolate; }
.stack::before, .stack::after { content: ""; position: absolute; left: 8%; right: 8%; height: 60px; top: -26px; border-radius: 12px; background: #8f8fb8; opacity: .35; filter: blur(9px); z-index: -1; }
.stack::after { left: 16%; right: 16%; top: -50px; opacity: .22; filter: blur(12px); }
.stack > .win { width: 100%; }
/* pills: a soft, blurred document with sharp labels floating on it */
.blurdoc { width: 66%; filter: blur(2.5px); opacity: .8; transform: scale(1.04); }
.pill { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 9px; height: 46px; padding: 0 20px 0 16px; border-radius: var(--round, 40px); background: var(--white); color: var(--onyx); font-size: 15px; white-space: nowrap; box-shadow: 0 16px 36px -12px rgba(0,0,0,.55); animation: bob 6s ease-in-out infinite alternate; }
.pill svg.i { width: 17px; height: 17px; color: #8a86c9; stroke-width: 1.5; }
.pill:nth-of-type(2) { animation-delay: -2s; }
.pill:nth-of-type(3) { animation-delay: -4s; }
@keyframes bob { from { transform: translateY(-4px); } to { transform: translateY(4px); } }
@media (max-width: 560px) { .pill { height: 38px; font-size: 13px; padding: 0 14px 0 12px; } }
/* dark deal card, the CRM one */
.deal-card { position: relative; width: 62%; aspect-ratio: 1.6; border-radius: 14px; padding: 20px 22px; background: linear-gradient(160deg, #4a4a60, #33334a); color: var(--ivory); display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 30px 50px -24px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.12); }
.deal-card .st { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.deal-card .st i { width: 9px; height: 9px; border-radius: 50%; background: var(--green); }
.deal-card .nm { font-size: 14px; color: var(--ash); }
.deal-card .amt { font-family: var(--font-display); font-stretch: var(--display-stretch); font-size: clamp(22px, 2.4vw, 30px); font-weight: 480; color: var(--white); }
.deal-card .lg { position: absolute; top: 18px; right: 22px; font-family: var(--font-display); font-stretch: var(--display-stretch); font-size: 15px; color: var(--ash); }
.win { position: relative; width: 78%; border-radius: 8px; background: #f4f4f8; box-shadow: 0 16px 30px -14px rgba(0,0,0,.6); padding: 14px; display: grid; gap: 7px; }
.sk { display: block; height: 6px; border-radius: 3px; background: #d8d8e2; }
.sk.dk { background: #a9a9ba; }
.sk.hl { background: #c9cdf3; }
.dots { display: flex; gap: 4px; margin-bottom: 4px; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: #d0d0da; }
.av { width: 22px; height: 22px; border-radius: 50%; background: #c4c4d2; flex: none; }
/* chat bubbles pop in, loop */
.chat { gap: 8px; }
.bub { display: grid; gap: 5px; padding: 9px 11px; border-radius: 12px; width: max-content; max-width: 90%; opacity: 0; animation: pop 6s var(--ease) infinite; }
.bub.l { background: #e4e4ec; border-bottom-left-radius: 4px; }
.bub.r { background: #2b2b3b; justify-self: end; border-bottom-right-radius: 4px; animation-delay: .7s; }
.bub.r .sk { background: #6b6b80; }
.bub:nth-child(3) { animation-delay: 1.4s; }
@keyframes pop { 0% { opacity: 0; transform: translateY(6px) scale(.96); } 8%, 86% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: none; } }
/* email */
.mh { display: flex; gap: 10px; align-items: center; padding-bottom: 8px; margin-bottom: 2px; border-bottom: 1px solid #e3e3ea; }
.mh > div { display: grid; gap: 5px; }
.reply { justify-self: start; margin-top: 4px; font-size: 10px; color: #55556a; padding: 3px 10px; border-radius: 20px; box-shadow: inset 0 0 0 1px #c9c9d6; }
/* document */
.page2 { width: 62%; padding: 18px 16px; gap: 8px; }
/* board: a ticket moves to done, loop */
.board { padding: 12px; }
.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.cols > div { display: grid; gap: 6px; align-content: start; background: #e9e9f0; border-radius: 6px; padding: 7px; min-height: 92px; }
.cols .sk { width: 60%; height: 5px; margin-bottom: 2px; }
.cols i { display: block; height: 20px; border-radius: 4px; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.mover { position: absolute; top: 58px; left: 19px; width: calc((100% - 24px - 16px) / 3 - 14px); height: 20px; border-radius: 4px; background: #fff; box-shadow: 0 6px 14px -4px rgba(var(--onyx-rgb),.35), inset 0 0 0 1.5px #8c95e6; animation: move 7s var(--ease) infinite; }
@keyframes move { 0%, 18% { transform: translateX(0); } 38%, 56% { transform: translateX(calc(100% + 22px)); } 76%, 94% { transform: translateX(calc(200% + 44px)); opacity: 1; } 99% { opacity: 0; transform: translateX(calc(200% + 44px)); } 100% { opacity: 0; transform: translateX(0); } }
/* code editor: dark window, tinted syntax */
.editor { background: #0e0e15; box-shadow: 0 16px 30px -14px rgba(0,0,0,.7), inset 0 0 0 1px rgba(255,255,255,.08); font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 10.5px; line-height: 1.75; color: #c9c9d6; gap: 0; }
.editor .dots i { background: #3a3a4a; }
.editor > div:not(.dots) { display: grid; grid-template-columns: 14px 1fr; gap: 10px; white-space: pre; }
.editor > div > span:first-child { color: #55556a; text-align: right; }
.editor em { font-style: normal; color: #a9b2f5; }
.editor u { text-decoration: none; color: #e2c08d; }

/* ---------- What never leaves: looping documents ---------- */
.on-paint { position: relative; overflow: hidden; isolation: isolate; padding: 144px var(--gutter); }
.on-paint > img.bg { position: absolute; inset: -12% 0; width: 100%; height: 124%; object-fit: cover; z-index: -2; will-change: transform; }
.on-paint::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(var(--onyx-rgb),.78) 0%, rgba(var(--onyx-rgb),.55) 35%, rgba(var(--onyx-rgb),.1) 62%, rgba(var(--onyx-rgb),0) 100%), linear-gradient(180deg, rgba(var(--onyx-rgb),1.000) 0.0%, rgba(var(--onyx-rgb),0.826) 3.2%, rgba(var(--onyx-rgb),0.670) 6.3%, rgba(var(--onyx-rgb),0.531) 9.5%, rgba(var(--onyx-rgb),0.410) 12.7%, rgba(var(--onyx-rgb),0.306) 15.8%, rgba(var(--onyx-rgb),0.218) 19.0%, rgba(var(--onyx-rgb),0.146) 22.2%, rgba(var(--onyx-rgb),0.089) 25.3%, rgba(var(--onyx-rgb),0.047) 28.5%, rgba(var(--onyx-rgb),0.019) 31.7%, rgba(var(--onyx-rgb),0.004) 34.8%, rgba(var(--onyx-rgb),0.000) 38.0%), linear-gradient(180deg, rgba(var(--onyx-rgb),0.000) 62.0%, rgba(var(--onyx-rgb),0.004) 65.2%, rgba(var(--onyx-rgb),0.019) 68.3%, rgba(var(--onyx-rgb),0.047) 71.5%, rgba(var(--onyx-rgb),0.089) 74.7%, rgba(var(--onyx-rgb),0.146) 77.8%, rgba(var(--onyx-rgb),0.218) 81.0%, rgba(var(--onyx-rgb),0.306) 84.2%, rgba(var(--onyx-rgb),0.410) 87.3%, rgba(var(--onyx-rgb),0.531) 90.5%, rgba(var(--onyx-rgb),0.670) 93.7%, rgba(var(--onyx-rgb),0.826) 96.8%, rgba(var(--onyx-rgb),1.000) 100.0%); }
.private { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
@media (max-width: 860px) { .private { grid-template-columns: 1fr; } .on-paint::after { background: rgba(var(--onyx-rgb),.7); } }
.keep { display: grid; margin-top: 32px; }
.keep div { display: flex; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--hairline); }
.keep div:last-child { border-bottom: 0; }
.keep svg.i { color: var(--ash); }
.docs { display: grid; }
.doc { grid-area: 1 / 1; border-radius: 16px; padding: clamp(24px, 4vw, 36px); font-size: 15px; line-height: 1.7; opacity: 0; transform: translateY(14px) scale(.985); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.doc.show { opacity: 1; transform: none; }
.doc-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--hairline); }
.doc-top b { font-weight: 420; }
.doc-meta { display: grid; grid-template-columns: 64px 1fr; gap: 4px 12px; font-size: 14px; margin-bottom: 16px; }
.doc-meta > span:nth-child(odd) { color: var(--ash); }
.doc-body p + p { margin-top: 10px; }
.x { position: relative; display: inline-block; white-space: nowrap; }
.x .o { display: inline-block; transition: filter .6s var(--ease), opacity .6s var(--ease); }
.x .n { position: absolute; left: 0; top: 2px; opacity: 0; padding: 0 8px; margin-left: -2px; border-radius: 20px; background: var(--obsidian); box-shadow: inset 0 0 0 1px var(--glass-edge); font-size: 14px; line-height: 1.6; transition: opacity .5s var(--ease); }
.x.go.bl .o { filter: blur(6px); opacity: .7; }
.x.go.sw .o { opacity: 0; }
.x.go.sw .n { opacity: 1; }
.doc-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--hairline); font-size: 13px; color: var(--ash); }
.doc-legend .sw-k { display: inline-block; width: 22px; height: 12px; border-radius: 10px; background: var(--obsidian); box-shadow: inset 0 0 0 1px var(--glass-edge); margin-right: 8px; vertical-align: middle; }
.doc-legend .bl-k { display: inline-block; filter: blur(3px); margin-right: 8px; color: var(--ivory); }

/* ---------- What is your data worth: simulator ---------- */
#worth { position: relative; isolation: isolate; overflow: hidden; padding: 128px var(--gutter); }
#worth > .wrap { position: relative; z-index: 1; }
.ex { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 10px; }
@media (max-width: 860px) { .ex { grid-template-columns: 1fr; } }
.ex-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (max-width: 480px) { .ex-cards { grid-template-columns: 1fr; } }
.ex-cards button { display: grid; grid-template-columns: 36px 1fr; grid-template-rows: auto auto; gap: 0 12px; align-items: center; text-align: left; padding: 11px 14px; border: 0; border-radius: 16px; cursor: pointer; background: rgba(255,255,255,.34); backdrop-filter: blur(22px) saturate(150%); -webkit-backdrop-filter: blur(22px) saturate(150%); color: var(--onyx); box-shadow: none; transition: background-color .35s var(--ease), color .35s, transform .35s var(--ease), box-shadow .35s; }
.ex-cards button:hover { transform: translateY(-2px); }
.ex-cards .ci { grid-row: 1 / 3; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.45); transition: background-color .35s; }
.ex-cards b { font-weight: 480; font-size: 15px; }
.ex-cards button > span:last-child { font-size: 13px; color: #3a3a4c; transition: color .35s; }
.ex-cards button[aria-checked="true"] { background: rgba(var(--onyx-rgb),.42); color: var(--white); box-shadow: 0 14px 32px -16px rgba(var(--onyx-rgb),.5); }
.ex-cards button[aria-checked="true"] .ci { background: rgba(255,255,255,.12); }
.ex-cards button[aria-checked="true"] > span:last-child { color: var(--ash); }
.ex-out { position: relative; border-radius: 18px; padding: clamp(20px, 2.6vw, 30px); background: rgba(var(--onyx-rgb),.42); backdrop-filter: blur(24px) saturate(150%); -webkit-backdrop-filter: blur(24px) saturate(150%); color: var(--ivory); display: grid; align-content: center; gap: 10px; box-shadow: 0 30px 80px -40px rgba(var(--onyx-rgb),.5); }
.ex-out::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: var(--glass-sheen); }
.ex-out > * { position: relative; }
.ex-out .btn { justify-self: start; margin-top: 8px; }
.so-num.swap { animation: swap .5s var(--ease); }
@keyframes swap { from { opacity: 0; transform: translateY(10px); } }
.so-label { font-size: 14px; color: var(--ash); }
.so-num { font-family: var(--font-display); font-stretch: var(--display-stretch); font-weight: 530; white-space: nowrap; font-size: clamp(28px, 3vw, 42px); line-height: 1.05; letter-spacing: .005em; color: var(--white); min-height: 1.05em; }
.ex-out .so-sub { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: none; }
.so-sub { color: var(--ivory); font-size: 15px; max-width: 380px; }

/* Each section takes the full screen height, content centred */
section.block, .on-paint, #worth, .cta { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; }
section.block { padding-top: 112px; padding-bottom: 112px; }
section.block > .wrap, .on-paint > .wrap, #worth > .wrap, .cta > .cta-inner { width: 100%; }
#who { padding-bottom: 112px; }

/* Sections land below the floating menu when reached from a link */
section[id], header[id] { scroll-margin-top: 72px; }
#how, #what { scroll-margin-top: 0; }

/* ---------- How it works: pinned 3D ---------- */
.how { position: relative; height: 220vh; scroll-margin-top: 0; }
.how-sticky { position: sticky; top: 0; height: 100vh; display: grid; align-items: center; padding: 80px var(--gutter) 40px; overflow: hidden; }
.how-grid { position: relative; z-index: 1; max-width: var(--max); margin: 0 auto; width: 100%; display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.how-grid h2 { color: var(--onyx); }
.how-grid .lead { margin-top: 16px; }
.how-grid .stepper { margin-bottom: 28px; }
.steps { display: grid; gap: 6px; margin: 36px 0 28px; }
.step { display: grid; grid-template-columns: 40px 1fr; gap: 6px 14px; padding: 16px 18px; border-radius: 12px; transition: background-color .4s var(--ease), opacity .4s; opacity: .45; }
.step.on { background: var(--graphite); opacity: 1; }
.step .n { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; background: var(--obsidian); transition: background-color .4s; }
.step.on .n { background: var(--cobalt); color: var(--white); }
.step h3 { align-self: center; }
.step p { grid-column: 2; color: var(--ash); font-size: 15px; line-height: 1.45; max-height: 0; overflow: hidden; transition: max-height .5s var(--ease); }
.step.on p { max-height: 120px; }
.fee { display: flex; gap: 10px; align-items: center; font-size: 15px; color: var(--ash); margin-bottom: 18px; }
.fee b { color: var(--ivory); font-weight: 420; }

.stage { position: relative; height: 480px; perspective: 1400px; perspective-origin: 50% 30%; }
.stage-inner { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
.stage-bg { display: none; }
.pcard { position: absolute; left: 50%; top: 50%; width: min(420px, 100%); margin-left: max(-210px, -50%); margin-top: -200px; border-radius: 16px; padding: 24px; background: rgba(30,30,42,.92); box-shadow: inset 0 0 0 1px var(--glass-edge), 0 40px 80px -30px rgba(0,0,0,.6); transform-origin: 50% 100%; will-change: transform, opacity; }
.pc-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.pc-head h3 { font-size: 18px; }
.rows { display: grid; gap: 4px; }
.row { display: grid; grid-template-columns: 30px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--hairline); font-size: 14px; }
.row:last-child { border-bottom: 0; }
.row .ic { width: 30px; height: 30px; border-radius: 8px; background: var(--veil); display: grid; place-items: center; }
.row .ic svg.i { width: 15px; height: 15px; }
.row .v { color: var(--ash); }
.tick { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: rgba(var(--ivory-rgb),.12); }
.tick svg.i { width: 12px; height: 12px; stroke-width: 2.4; }
.result { margin-top: 16px; padding: 16px; border-radius: 12px; background: var(--obsidian); display: flex; justify-content: space-between; align-items: center; }
.result .r { font-family: var(--font-display); font-stretch: var(--display-stretch); font-size: 22px; font-weight: 480; }
.bar { height: 4px; border-radius: 4px; background: var(--veil); overflow: hidden; width: 90px; }
.bar i { display: block; height: 100%; background: var(--ivory); border-radius: 4px; }
.offer { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 10px; font-size: 14px; }
.offer + .offer { margin-top: 6px; }
.offer .price { font-size: 16px; color: var(--white); }
.offer.best { background: rgba(var(--cobalt-rgb),.14); box-shadow: inset 0 0 0 1px rgba(var(--cobalt-rgb),.55); }
.offer .meta { font-size: 12px; color: var(--ash); }
@media (max-width: 960px) {
  .how { height: auto; }
  .how-sticky { position: static; height: auto; padding: 96px var(--gutter) 56px; }
  .how-grid { grid-template-columns: 1fr; }
  .step { opacity: 1; background: var(--graphite); }
  .step p { max-height: none; }
  .step .n { background: var(--cobalt); color: var(--white); }
}

/* How it works, light version */
.how-sticky { isolation: isolate; }
.light .step.on { background: rgba(255,255,255,.75); box-shadow: 0 10px 30px -18px rgba(var(--onyx-rgb),.35); }
.light .step p { color: #55556a; }
.light .step .n { background: #e2e3ed; color: var(--onyx); }
.light .step.on .n { background: var(--cobalt); color: var(--white); }
.light .fee { color: #55556a; }
.light .fee b { color: var(--onyx); }
.light .pcard { background: #fff; color: var(--onyx); box-shadow: inset 0 0 0 1px rgba(var(--onyx-rgb),.06), 0 40px 80px -30px rgba(var(--onyx-rgb),.35); }
.light .row { border-color: rgba(var(--onyx-rgb),.08); }
.light .row .ic { background: #ececf2; }
.light .row .v, .light .offer .meta { color: #55556a; }
.light .result { background: #f1f1f6; }
.light .result .muted { color: #55556a; }
.light .bar { background: #e2e3ed; }
.light .bar i { background: var(--onyx); }
.light .tick { background: rgba(var(--onyx-rgb),.08); }
.light .offer .price { color: var(--onyx); }
@media (max-width: 860px) { .light .step { background: rgba(255,255,255,.75); } }

/* ---------- Why us: chart ---------- */
.why { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 16px; }
@media (max-width: 860px) { .why { grid-template-columns: 1fr; } }
.chart { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 4vw, 40px); align-items: end; height: 300px; margin-top: 32px; position: relative; padding-top: 40px; }
.col { display: grid; gap: 10px; height: 100%; align-content: end; text-align: center; }
.col .b { height: 0; border-radius: 8px 8px 2px 2px; background: var(--obsidian); transition: height 1.2s var(--ease); }
.col.top .b { background: var(--cobalt); }
.col .val { font-size: 21px; font-family: var(--font-display); font-stretch: var(--display-stretch); font-weight: 480; opacity: 0; transition: opacity .6s .9s; }
.col .who { font-size: 13px; color: var(--ash); }
.in .c1 .b { height: 120px; }
.in .c2 .b { height: 160px; transition-delay: .12s; }
.in .c3 .b { height: 200px; transition-delay: .24s; }
.in .col .val { opacity: 1; }
.chart .gap { position: absolute; right: 0; top: 0; font-size: 13px; color: var(--ivory); display: flex; align-items: center; gap: 8px; opacity: 0; transition: opacity .6s 1.3s; }
.in .gap { opacity: 1; }
.why > .card { display: flex; flex-direction: column; }
.points { flex: 1; display: grid; align-content: space-evenly; }
.point { display: grid; grid-template-columns: 36px 1fr; gap: 14px; padding: 22px 0; border-bottom: 1px solid var(--hairline); }
.point:last-of-type { border-bottom: 0; }
.point .ic { width: 36px; height: 36px; border-radius: 50%; background: var(--veil); display: grid; place-items: center; }
.point p { color: var(--ash); font-size: 15px; margin-top: 4px; }

/* ---------- Who it's for ---------- */
#who { padding-bottom: 144px; }
.who-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 16px; }
@media (max-width: 860px) { .who-grid { grid-template-columns: 1fr; } }
.qual { display: grid; gap: 4px; margin-top: 8px; }
.q { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--hairline); }
.q .tick { opacity: .25; transform: scale(.7); transition: all .5s var(--ease); }
.in .q .tick { opacity: 1; transform: none; background: rgba(76,195,138,.18); color: var(--green); }
.in .q:nth-child(2) .tick { transition-delay: .25s; }
.in .q:nth-child(3) .tick { transition-delay: .5s; }
.in .q:nth-child(4) .tick { transition-delay: .75s; }
.qual-ok { margin-top: 20px; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: var(--round, 40px); background: rgba(76,195,138,.16); color: var(--green); font-size: 14px; opacity: 0; transform: translateY(8px); transition: all .6s var(--ease) 1.1s; }
.in .qual-ok { opacity: 1; transform: none; }
.who-grid > .card { display: flex; flex-direction: column; }
.kinds { flex: 1; display: grid; align-content: space-evenly; gap: 0; }
.kind { padding: 18px 0; border-bottom: 1px solid var(--hairline); }
.kind:last-child { border-bottom: 0; }
.kind { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: center; }
.kind .ic { width: 44px; height: 44px; border-radius: 50%; background: var(--obsidian); display: grid; place-items: center; }
.kind p { color: var(--ash); margin-top: 4px; }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; isolation: isolate; padding: 160px var(--gutter); margin-top: 72px; }
.cta > img.bg { position: absolute; inset: -12% 0; width: 100%; height: 124%; object-fit: cover; z-index: -2; will-change: transform; }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(var(--onyx-rgb),1.000) 0.0%, rgba(var(--onyx-rgb),0.826) 3.2%, rgba(var(--onyx-rgb),0.670) 6.3%, rgba(var(--onyx-rgb),0.531) 9.5%, rgba(var(--onyx-rgb),0.410) 12.7%, rgba(var(--onyx-rgb),0.306) 15.8%, rgba(var(--onyx-rgb),0.218) 19.0%, rgba(var(--onyx-rgb),0.146) 22.2%, rgba(var(--onyx-rgb),0.089) 25.3%, rgba(var(--onyx-rgb),0.047) 28.5%, rgba(var(--onyx-rgb),0.019) 31.7%, rgba(var(--onyx-rgb),0.004) 34.8%, rgba(var(--onyx-rgb),0.000) 38.0%), linear-gradient(180deg, rgba(var(--onyx-rgb),0.000) 62.0%, rgba(var(--onyx-rgb),0.004) 65.2%, rgba(var(--onyx-rgb),0.019) 68.3%, rgba(var(--onyx-rgb),0.047) 71.5%, rgba(var(--onyx-rgb),0.089) 74.7%, rgba(var(--onyx-rgb),0.146) 77.8%, rgba(var(--onyx-rgb),0.218) 81.0%, rgba(var(--onyx-rgb),0.306) 84.2%, rgba(var(--onyx-rgb),0.410) 87.3%, rgba(var(--onyx-rgb),0.531) 90.5%, rgba(var(--onyx-rgb),0.670) 93.7%, rgba(var(--onyx-rgb),0.826) 96.8%, rgba(var(--onyx-rgb),1.000) 100.0%); }
.cta-inner { max-width: 720px; margin: 0 auto; text-align: center; display: grid; justify-items: center; }
.cta h2 { color: var(--white); }
.cta .lead { margin-left: auto; margin-right: auto; }
.cta .btns { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 28px; }
/* ---------- About us ---------- */
.about { position: relative; overflow: hidden; isolation: isolate; border-radius: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; padding: clamp(28px, 6vw, 72px); min-height: 560px; }
.about > img.bg { position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; z-index: -2; will-change: transform; }
.about::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(var(--onyx-rgb),.7) 0%, rgba(var(--onyx-rgb),.5) 40%, rgba(var(--onyx-rgb),.12) 70%, rgba(var(--onyx-rgb),.05) 100%); }

.about h2 { color: var(--white); }
.about .story { color: var(--ivory); margin-top: 20px; max-width: 460px; display: grid; gap: 14px; font-size: 17px; line-height: 1.55; }
.team { display: grid; gap: 14px; }
.person { border-radius: 16px; padding: 22px; display: grid; grid-template-columns: 64px 1fr; gap: 18px; align-items: center; }
.ph { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #5d5d78, #2d2d3e); font-family: var(--font-display); font-stretch: var(--display-stretch); font-size: 20px; color: var(--ivory); box-shadow: inset 0 0 0 1px var(--glass-edge); }
.person .role { font-size: 13px; color: var(--ash); }
.person p { color: var(--ash); font-size: 14px; margin-top: 4px; line-height: 1.45; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } .about::after { background: rgba(var(--onyx-rgb),.6); } }

/* ---------- Footer ---------- */
footer { padding: 88px var(--gutter) 40px; border-top: 1px solid var(--hairline); }
.foot { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.fbrand { display: grid; gap: 10px; align-content: start; }
.fbrand .brand { margin-bottom: 6px; padding: 0; }
.fbrand p { color: var(--ash); font-size: 14px; max-width: 280px; }
.fcol { display: grid; gap: 12px; align-content: start; font-size: 15px; }
.fcol h4 { margin: 0 0 6px; font-size: 13px; font-weight: 420; color: var(--slate); letter-spacing: .01em; }
.fcol a { color: var(--ash); transition: color .2s; justify-self: start; }
.fcol a:hover { color: var(--ivory); }
.fbottom { grid-column: 1 / -1; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--hairline); font-size: 13px; color: var(--slate); }
.legal { display: flex; gap: 22px; flex-wrap: wrap; }
.legal a:hover { color: var(--ivory); }
@media (max-width: 860px) { .foot { grid-template-columns: 1fr 1fr; } .fbrand { grid-column: 1 / -1; } }

.proto { position: fixed; right: 12px; bottom: 12px; z-index: 50; font-size: 11px; padding: 6px 10px; border-radius: 20px; background: rgba(var(--onyx-rgb),.8); color: var(--ash); box-shadow: inset 0 0 0 1px var(--hairline); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =================== Inner pages =================== */
.page-hero { position: relative; min-height: 64vh; display: grid; align-items: end; overflow: hidden; isolation: isolate; padding: 160px var(--gutter) 72px; }
.page-hero > img.bg { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; z-index: -2; will-change: transform; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(var(--onyx-rgb),.55) 0%, rgba(var(--onyx-rgb),.2) 55%, rgba(var(--onyx-rgb),0) 100%), linear-gradient(180deg, rgba(var(--onyx-rgb),.35) 0%, rgba(var(--onyx-rgb),0) 30%, rgba(var(--onyx-rgb),.25) 70%, var(--onyx) 100%); }
.page-hero .wrap { width: 100%; }
.page-hero h1 { font-size: clamp(40px, 6vw, 65px); line-height: 1.06; color: var(--white); font-weight: 530; text-shadow: 0 2px 24px rgba(20,30,80,.3); }
.page-hero .lead { color: var(--white); margin-top: 18px; max-width: 620px; text-shadow: 0 1px 14px rgba(20,30,80,.4); }
.page-hero .btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.crumb { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: rgba(255,255,255,.85); margin-bottom: 18px; }
.crumb:hover { color: var(--white); }
.crumb svg.i { width: 14px; height: 14px; transform: scaleX(-1); }

.sec { padding: 96px var(--gutter); }
.sec + .sec { padding-top: 24px; }
.sec h2 { margin-bottom: 14px; }
.sec .lead { margin-bottom: 40px; }
.sec .lead:last-child { margin-bottom: 0; }
.prose { max-width: 720px; display: grid; gap: 16px; color: var(--ash); font-size: 17px; line-height: 1.6; }
.prose strong { color: var(--ivory); font-weight: 480; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 960px) { .grid3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .grid2, .grid3 { grid-template-columns: 1fr; } }
.box { background: var(--graphite); border-radius: 16px; padding: 28px; display: grid; gap: 10px; align-content: start; }
.box h3 { font-size: 19px; }
.box p, .box li { color: var(--ash); font-size: 15px; line-height: 1.55; }
.box .big-n { font-family: var(--font-display); font-stretch: var(--display-stretch); font-size: clamp(28px, 3vw, 38px); font-weight: 480; color: var(--white); line-height: 1.1; }
.box .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--obsidian); display: grid; place-items: center; margin-bottom: 4px; }
.box .n { width: 32px; height: 32px; border-radius: 50%; background: var(--obsidian); display: grid; place-items: center; font-size: 13px; color: var(--ivory); margin-bottom: 4px; }
.list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.list li { position: relative; padding-left: 26px; color: var(--ash); font-size: 15px; line-height: 1.55; }
.list li::before { content: ""; position: absolute; left: 4px; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--ivory); opacity: .7; }
.list.no li::before { width: 7px; height: 7px; top: 9px; border-radius: 50%; }
.note { margin-top: 6px; padding: 14px 16px; border-radius: 12px; background: rgba(var(--ivory-rgb),.05); color: var(--ash); font-size: 14px; line-height: 1.5; }
.note b { color: var(--ivory); font-weight: 480; }
.youget { margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--hairline); font-size: 14px; color: var(--ivory); }
.youget span { color: var(--ash); }
.confirm { display: inline-block; padding: 1px 8px; border-radius: 6px; background: rgba(242,198,174,.16); color: #f2c6ae; font-size: .85em; font-weight: 420; }
.small-print { font-size: 13px; color: var(--slate); max-width: 720px; }

/* steps on a page: a numbered vertical list */
.steps-v { display: grid; gap: 16px; }
.step-v { display: grid; grid-template-columns: 64px 1fr; gap: 24px; background: var(--graphite); border-radius: 16px; padding: 32px; }
.step-v .num { width: 52px; height: 52px; border-radius: 50%; background: var(--cobalt); color: var(--white); display: grid; place-items: center; font-family: var(--font-display); font-stretch: var(--display-stretch); font-size: 21px; }
.step-v h3 { font-size: 24px; margin-bottom: 12px; }
@media (max-width: 680px) { .step-v { grid-template-columns: 1fr; padding: 24px; } }

/* FAQ accordion */
.faq-group { margin-bottom: 48px; }
.faq-group > h2 { font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 16px; }
.faq details { border-bottom: 1px solid var(--hairline); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-size: 18px; color: var(--ivory); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg.i { flex: none; transition: transform .3s var(--ease); color: var(--ash); }
.faq details[open] summary svg.i { transform: rotate(45deg); }
.faq details p { color: var(--ash); font-size: 16px; line-height: 1.6; padding: 0 0 24px; max-width: 760px; }

/* closing band on inner pages */
.band { padding: 40px var(--gutter) 112px; }
.band-card { max-width: var(--max); margin: 0 auto; position: relative; overflow: hidden; isolation: isolate; border-radius: 24px; padding: clamp(36px, 6vw, 72px); display: grid; justify-items: start; gap: 14px; }
.band-card > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.band-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(var(--onyx-rgb),.6) 0%, rgba(var(--onyx-rgb),.15) 70%); }
.band-card h2 { color: var(--white); }
.band-card p { color: var(--ivory); }
.band-card .btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }

/* forms */
.form { display: grid; gap: 14px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form .row2 { grid-template-columns: 1fr; } }
.fld { display: grid; gap: 6px; }
.fld label { font-size: 14px; color: var(--ash); }
.fld input, .fld select { width: 100%; height: 50px; padding: 0 18px; border-radius: var(--round, 32px); border: 0; background: rgba(var(--ivory-rgb),.07); color: var(--ivory); font: inherit; font-size: 16px; box-shadow: inset 0 0 0 1px var(--glass-edge); transition: box-shadow .2s, background-color .2s; }
.fld input::placeholder { color: var(--slate); }
.fld input:focus, .fld select:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--ivory); background: rgba(var(--ivory-rgb),.1); }
.fld.bad input { box-shadow: inset 0 0 0 1.5px #f2a3a3; }
.fld .err { font-size: 13px; color: #f2a3a3; display: none; }
.fld.bad .err { display: block; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: var(--ash); line-height: 1.5; }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--cobalt); flex: none; }
.consent.bad { color: #f2a3a3; }
.consent a { text-decoration: underline; text-underline-offset: 3px; }
.panel { border-radius: 20px; padding: clamp(24px, 4vw, 40px); background: rgba(var(--onyx-rgb),.5); backdrop-filter: blur(24px) saturate(150%); -webkit-backdrop-filter: blur(24px) saturate(150%); box-shadow: inset 0 0 0 1px var(--glass-edge); }

/* assessment */
.assess { min-height: 100vh; position: relative; isolation: isolate; display: grid; place-items: center; padding: 120px var(--gutter) 80px; }
.assess > img.bg { position: fixed; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.assess::after { content: ""; position: fixed; inset: 0; z-index: -1; background: rgba(var(--onyx-rgb),.35); }
.quiz { width: min(720px, 100%); }
.quiz .progress { display: flex; justify-content: space-between; font-size: 13px; color: var(--ash); margin-bottom: 10px; }
.quiz .qbar { height: 4px; border-radius: 4px; background: rgba(var(--ivory-rgb),.12); overflow: hidden; margin-bottom: 28px; }
.quiz .qbar i { display: block; height: 100%; width: 0; background: var(--ivory); border-radius: 4px; transition: width .5s var(--ease); }
.quiz h1 { font-size: clamp(30px, 4vw, 44px); line-height: 1.12; color: var(--white); }
.quiz h2 { font-size: clamp(24px, 3vw, 32px); color: var(--white); }
.quiz .q-help { color: var(--ash); margin-top: 10px; font-size: 16px; }
.screen { display: none; }
.screen.on { display: grid; gap: 22px; animation: fade .5s var(--ease) both; }
.opts { display: grid; gap: 8px; }
.opts.two { grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .opts.two { grid-template-columns: 1fr; } }
.opt { text-align: left; padding: 14px 18px; border-radius: 14px; border: 0; cursor: pointer; background: rgba(var(--ivory-rgb),.07); color: var(--ivory); box-shadow: inset 0 0 0 1px var(--glass-edge); display: grid; gap: 2px; transition: background-color .2s, box-shadow .2s; font-size: 16px; }
.opt small { color: var(--ash); font-size: 13px; }
.opt:hover { background: rgba(var(--ivory-rgb),.12); }
.opt[aria-pressed="true"] { background: var(--ivory); color: var(--onyx); box-shadow: none; }
.opt[aria-pressed="true"] small { color: #55556a; }
.sys-group { display: grid; gap: 8px; }
.sys-group h3 { font-size: 14px; color: var(--ash); font-family: var(--font-body); font-weight: 420; }
.chips2 { display: flex; flex-wrap: wrap; gap: 8px; }
.chip2 { height: 38px; padding: 0 16px; border-radius: var(--round, 40px); border: 0; cursor: pointer; background: rgba(var(--ivory-rgb),.07); color: var(--ivory); box-shadow: inset 0 0 0 1px var(--glass-edge); font-size: 14px; transition: background-color .2s; }
.chip2[aria-pressed="true"] { background: var(--ivory); color: var(--onyx); box-shadow: none; }
.quiz .nav-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 6px; }
.quiz .back { background: none; border: 0; color: var(--ash); cursor: pointer; font-size: 15px; display: inline-flex; gap: 6px; align-items: center; }
.quiz .back:hover { color: var(--ivory); }
.quiz .back svg.i { width: 15px; height: 15px; transform: scaleX(-1); }
.quiz .hint { font-size: 13px; color: #f2c6ae; min-height: 18px; }
.hc-val { font-family: var(--font-display); font-stretch: var(--display-stretch); font-size: 40px; color: var(--white); }
.quiz input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; --p: 0%; }
.quiz input[type=range]::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--ivory) var(--p), rgba(var(--ivory-rgb),.15) var(--p)); }
.quiz input[type=range]::-moz-range-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--ivory) var(--p), rgba(var(--ivory-rgb),.15) var(--p)); }
.quiz input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -10px; border-radius: 50%; background: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,.4); }
.quiz input[type=range]::-moz-range-thumb { width: 26px; height: 26px; border: 0; border-radius: 50%; background: var(--white); }
.hc-ticks { display: flex; justify-content: space-between; font-size: 12px; color: var(--slate); }
.meta-row { display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; color: var(--ash); }
.meta-row span { display: inline-flex; align-items: center; gap: 8px; }
.summary { display: grid; gap: 8px; font-size: 15px; }
.summary div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--hairline); }
.summary span:first-child { color: var(--ash); }
.summary span:last-child { text-align: right; }

/* Phones: comfortable tap targets for the small links */
@media (max-width: 860px) {
  .nav .brand { min-height: 44px; }
  .crumb { min-height: 44px; }
  .tlink[style*="inline-block"], .sec > .wrap > .tlink { padding-block: 10px; }
  .legal a, .fcol a { display: inline-block; padding-block: 6px; }
  .consent input { width: 22px; height: 22px; flex: none; }
}

/* What is your data worth: light, like What we do */
#worth .ex-cards button { background: rgba(255,255,255,.6); box-shadow: inset 0 0 0 1px rgba(255,255,255,.8), 0 10px 30px -22px rgba(var(--onyx-rgb),.35); }
#worth .ex-cards .ci { background: rgba(var(--onyx-rgb),.05); }
#worth .ex-cards button > span:last-child { color: #55556a; }
#worth .ex-cards button[aria-checked="true"] { background: #fff; color: var(--onyx); box-shadow: inset 0 0 0 1.5px var(--cobalt), 0 14px 32px -18px rgba(var(--cobalt-rgb),.45); }
#worth .ex-cards button[aria-checked="true"] .ci { background: rgba(var(--cobalt-rgb),.12); color: var(--cobalt); }
#worth .ex-cards button[aria-checked="true"] > span:last-child { color: #55556a; }
#worth .ex-out { background: #fff; color: var(--onyx); box-shadow: inset 0 0 0 1px rgba(var(--onyx-rgb),.06), 0 40px 90px -40px rgba(var(--onyx-rgb),.35); }
#worth .ex-out::before { display: none; }
#worth .so-label, #worth .so-sub { color: #55556a; }
#worth .so-num { color: var(--onyx); }

/* ---------- Phones ---------- */
@media (max-width: 860px) {
  /* sections size to their content instead of a full screen, so no empty bands */
  section.block, .on-paint, #worth, .cta { min-height: 0; }
  #worth { padding: 96px var(--gutter); }
  /* the estimate sits above the examples so it's visible while picking */
  #worth .ex-out { order: -1; }
}
@media (max-width: 960px) {
  .result .r { white-space: nowrap; font-size: 20px; }
}
@media (max-width: 480px) {
  #worth .ex-cards { grid-template-columns: 1fr 1fr; }
  #worth .ex-cards button { grid-template-columns: 1fr; padding: 12px; gap: 6px; }
  #worth .ex-cards .ci { grid-row: auto; width: 30px; height: 30px; }
  #worth .ex-cards b { font-size: 14px; line-height: 1.25; }
  #worth .ex-cards button > span:last-child { font-size: 12px; }
  #worth .ex-out .so-sub { white-space: normal; }
  .cta .btns { flex-direction: column; align-items: stretch; width: 100%; max-width: 340px; margin-inline: auto; }
  .cta .btns .btn { justify-content: center; }
  .proto { display: none; }
}

/* The estimate: monospace characters that decode into the value */
#worth .so-num { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-stretch: normal; font-weight: 600; letter-spacing: -.02em; font-size: clamp(26px, 2.6vw, 36px); white-space: pre; }
#worth .so-num i { font-style: normal; color: var(--cobalt); opacity: .55; }
/* Tooltip next to "Estimated range" */
.so-label { display: inline-flex; align-items: center; gap: 6px; }
.tip { position: relative; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; color: #8a8a99; cursor: help; outline: none; }
.tip svg.i { width: 16px; height: 16px; }
.tip:hover, .tip:focus-visible { color: var(--onyx); }
.tip-box { position: absolute; left: 50%; bottom: calc(100% + 10px); transform: translate(-50%, 4px); width: 240px; padding: 10px 12px; border-radius: 10px; background: var(--onyx); color: var(--ivory); font-size: 13px; line-height: 1.45; opacity: 0; pointer-events: none; transition: opacity .2s var(--ease), transform .2s var(--ease); z-index: 5; box-shadow: 0 12px 30px -12px rgba(var(--onyx-rgb),.5); }
.tip:hover .tip-box, .tip:focus .tip-box { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 560px) { .tip-box { left: auto; right: -60px; transform: translateY(4px); } .tip:hover .tip-box, .tip:focus .tip-box { transform: none; } }

/* Stepper sections: no scroll pinning, every step fully shown */
#what, .how { height: auto; }
.what-pin, .how-sticky { position: relative; height: auto; min-height: 100vh; min-height: 100svh; }
.stepper li { opacity: 1; }
.stepper li p { max-height: none; }
.stepper .n { background: var(--obsidian); color: var(--white); box-shadow: 0 6px 16px -6px rgba(var(--onyx-rgb),.5); }
/* How it works: the active step is the one whose card shows */
#howStepper li { cursor: pointer; opacity: 1; }
#howStepper h3, #howStepper p { transition: color .35s var(--ease); }
#howStepper li:not(.on) h3 { color: #8a8a9c; }
#howStepper li:not(.on) p { color: #a0a0b0; }
#howStepper li:hover h3 { color: var(--onyx); }
#howStepper li:hover p { color: #55556a; }
#howStepper li .n { background: var(--ivory); color: #55556a; box-shadow: inset 0 0 0 1.5px rgba(var(--onyx-rgb),.18); }
#howStepper li.on .n, #howStepper li.done .n { background: var(--obsidian); color: var(--white); box-shadow: 0 6px 16px -6px rgba(var(--onyx-rgb),.5); }

/* What never leaves: the record cards are white frosted glass, dark text, so they read over the night sky */
#private .doc { background: rgba(255,255,255,.8); backdrop-filter: blur(28px) saturate(160%); -webkit-backdrop-filter: blur(28px) saturate(160%); color: var(--onyx); box-shadow: inset 0 0 0 1px rgba(255,255,255,.9), 0 40px 90px -40px rgba(0,0,0,.6); }
#private .doc::before { display: none; }
#private .doc-top, #private .doc-legend { border-color: rgba(var(--onyx-rgb),.1); }
#private .doc-meta > span:nth-child(odd), #private .doc-legend { color: #55556a; }
#private .doc .tag { background: rgba(var(--onyx-rgb),.06); color: #55556a; }
#private .x .n { background: var(--onyx); color: var(--white); box-shadow: none; }
#private .doc-legend .sw-k { background: var(--onyx); box-shadow: none; }
#private .doc-legend .bl-k { color: var(--onyx); }

/* circles sit solid on top of the rail */
.stepper .n { position: relative; z-index: 1; }

/* How it works runs as a process: the line fills as it goes, the active step pulses */
#howRail { transition: height .2s linear; }
#howStepper li.on .n::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(var(--cobalt-rgb),.45); animation: stepPulse 1.8s var(--ease) infinite; pointer-events: none; }
@keyframes stepPulse { 0% { transform: scale(.85); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { #howStepper li.on .n::after { animation: none; opacity: 0; } }


/* =================== Inner pages =================== */
/* Hero: full screen sky, everything centred, fading into the first section */
.ip-hero { position: relative; min-height: max(640px, 100vh); min-height: max(640px, 100svh); overflow: hidden; isolation: isolate; display: grid; place-items: center; text-align: center; padding: 120px var(--gutter) 120px; }
.ip-hero.short { min-height: max(520px, 72vh); }
.ip-hero > img.bg { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; z-index: -2; will-change: transform; }
.ip-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(60% 50% at 50% 48%, rgba(30,40,90,.28), rgba(30,40,90,0) 70%), linear-gradient(180deg, rgba(var(--onyx-rgb),.28) 0%, rgba(var(--onyx-rgb),0) 20%); }
.ip-hero.to-light::before, .ip-hero.to-dark::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.ip-hero.to-light::before { background: linear-gradient(180deg, rgba(var(--ivory-rgb),0.000) 55.0%, rgba(var(--ivory-rgb),0.002) 57.8%, rgba(var(--ivory-rgb),0.010) 60.6%, rgba(var(--ivory-rgb),0.025) 63.4%, rgba(var(--ivory-rgb),0.047) 66.2%, rgba(var(--ivory-rgb),0.077) 69.1%, rgba(var(--ivory-rgb),0.116) 71.9%, rgba(var(--ivory-rgb),0.162) 74.7%, rgba(var(--ivory-rgb),0.218) 77.5%, rgba(var(--ivory-rgb),0.282) 80.3%, rgba(var(--ivory-rgb),0.356) 83.1%, rgba(var(--ivory-rgb),0.439) 85.9%, rgba(var(--ivory-rgb),0.531) 88.8%, rgba(var(--ivory-rgb),0.633) 91.6%, rgba(var(--ivory-rgb),0.745) 94.4%, rgba(var(--ivory-rgb),0.868) 97.2%, rgba(var(--ivory-rgb),1.000) 100.0%); }
.ip-hero.to-dark::before { background: linear-gradient(180deg, rgba(var(--onyx-rgb),0.000) 55.0%, rgba(var(--onyx-rgb),0.002) 57.8%, rgba(var(--onyx-rgb),0.010) 60.6%, rgba(var(--onyx-rgb),0.025) 63.4%, rgba(var(--onyx-rgb),0.047) 66.2%, rgba(var(--onyx-rgb),0.077) 69.1%, rgba(var(--onyx-rgb),0.116) 71.9%, rgba(var(--onyx-rgb),0.162) 74.7%, rgba(var(--onyx-rgb),0.218) 77.5%, rgba(var(--onyx-rgb),0.282) 80.3%, rgba(var(--onyx-rgb),0.356) 83.1%, rgba(var(--onyx-rgb),0.439) 85.9%, rgba(var(--onyx-rgb),0.531) 88.8%, rgba(var(--onyx-rgb),0.633) 91.6%, rgba(var(--onyx-rgb),0.745) 94.4%, rgba(var(--onyx-rgb),0.868) 97.2%, rgba(var(--onyx-rgb),1.000) 100.0%); }
.ip-hero-inner { max-width: 860px; display: grid; justify-items: center; gap: 24px; }
.ip-hero h1 { font-size: clamp(44px, 6.4vw, 88px); line-height: 1.04; color: var(--white); font-weight: 530; letter-spacing: .005em; text-shadow: 0 2px 30px rgba(30,40,90,.35); animation: rise 1.1s var(--ease) both; }
.ip-hero p { max-width: 620px; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.45; color: var(--white); text-shadow: 0 1px 16px rgba(30,40,90,.5); animation: fade 1s .3s var(--ease) both; }
.ip-hero .btns { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; animation: fade 1s .45s var(--ease) both; }

/* Sections */
.ip-sec { position: relative; overflow: hidden; isolation: isolate; padding: 120px var(--gutter); }
.ip-sec.dark { background: var(--onyx); color: var(--ivory); }
.ip-sec.light { background: var(--ivory); color: var(--onyx); }
.ip-sec.ip-top { padding-top: 168px; min-height: 80vh; }
.ip-sec > .wrap { position: relative; z-index: 1; }
.ip-sec .mesh { -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.4) 20%, #000 50%); mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.4) 20%, #000 50%); }
.ip-chars { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.ip-head { text-align: center; max-width: 720px; margin: 0 auto 48px; display: grid; justify-items: center; gap: 14px; }
.ip-head .lead { margin: 0; }
.ip-center { text-align: center; margin: 28px auto 0; }
.light h2, .light h3 { color: var(--onyx); }
.light .small, .light .small-print { color: #6a6a7c; }

/* Cards on light sections: white, solid, soft shadow */
.light .box, .light .tile, .panel-light, .light .person { background: #fff; box-shadow: inset 0 0 0 1px rgba(var(--onyx-rgb),.06), 0 24px 60px -36px rgba(var(--onyx-rgb),.35); }
.light .box p, .light .box li, .light .tile p { color: #55556a; }
.light .box .ic, .light .tile .ic { background: rgba(var(--cobalt-rgb),.1); color: var(--cobalt); }
.light .box .big-n { color: var(--onyx); }
.light .list li::before { background: var(--onyx); opacity: .55; }
.light .tlink { color: var(--onyx); text-decoration-color: rgba(var(--onyx-rgb),.35); }

/* Number facts */
.ip-facts { max-width: 980px; margin: 0 auto; }
.fact { text-align: left; }
.fact .big-n { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-stretch: normal; font-weight: 600; letter-spacing: -.02em; white-space: nowrap; }
.fact .big-n i { font-style: normal; color: var(--cobalt); opacity: .6; }

/* How it works page */
.ip-how { grid-template-columns: .85fr 1.15fr; }
.ip-how h2 { color: var(--onyx); }
.ip-how .lead { margin-top: 14px; }

/* Who it's for: industry tiles */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 1040px; margin: 0 auto; }
.tile { border-radius: 16px; padding: 18px 20px; display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: center; }
.tile .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; }
.tile h3 { font-size: 17px; }
.tile p { font-size: 14px; line-height: 1.45; margin-top: 2px; }

/* Is this real: the catches */
.catches { max-width: 760px; margin: 0 auto; display: grid; }
.catch { display: grid; grid-template-columns: 36px 1fr; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--hairline); }
.catch:first-child { border-top: 1px solid var(--hairline); }
.catch .n { width: 32px; height: 32px; border-radius: 50%; background: var(--obsidian); display: grid; place-items: center; font-size: 13px; }
.catch h3 { font-size: 19px; }
.catch p { color: var(--ash); font-size: 15px; margin-top: 4px; }
.catch-answer { max-width: 760px; margin: 32px auto 0; padding: 22px 26px; border-radius: 16px; background: rgba(var(--cobalt-rgb),.14); box-shadow: inset 0 0 0 1px rgba(var(--cobalt-rgb),.4); font-size: 16px; line-height: 1.5; }
.catch-answer b { font-weight: 480; color: var(--white); }

/* Privacy: approvals next to the record example */
.ip-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.ip-split h2 { color: var(--onyx); }
.ip-split .lead { margin-top: 14px; }
.light .docs .doc { background: #fff; color: var(--onyx); box-shadow: inset 0 0 0 1px rgba(var(--onyx-rgb),.06), 0 40px 90px -40px rgba(var(--onyx-rgb),.35); }
.light .doc-top, .light .doc-legend { border-color: rgba(var(--onyx-rgb),.1); }
.light .doc-meta > span:nth-child(odd), .light .doc-legend { color: #55556a; }
.light .doc .tag { background: rgba(var(--onyx-rgb),.06); color: #55556a; }
.light .x .n { background: var(--onyx); color: var(--white); box-shadow: none; }
.light .doc-legend .sw-k { background: var(--onyx); box-shadow: none; }
.light .doc-legend .bl-k { color: var(--onyx); }

/* FAQ on light */
.ip-faq { max-width: 820px; margin: 0 auto; }
.ip-faq .faq-group > h3 { font-size: 14px; color: #6a6a7c; font-family: var(--font-body); font-weight: 420; margin-bottom: 4px; }
.light .faq details { border-color: rgba(var(--onyx-rgb),.1); }
.light .faq summary { color: var(--onyx); }
.light .faq summary svg.i { color: #6a6a7c; }
.light .faq details p { color: #55556a; }

/* Talk to us on light */
.ip-talk { gap: clamp(24px, 5vw, 64px); }
.panel-light { border-radius: 20px; padding: clamp(24px, 4vw, 40px); }
.panel-light h2, .ip-people h2 { font-size: clamp(26px, 3vw, 34px); }
.panel-light .lead, .ip-people .lead { margin: 8px 0 24px; font-size: 16px; }
.ip-people { display: grid; gap: 14px; align-content: start; }
.ip-people .lead { margin-bottom: 8px; }
.light .person .role, .light .person p { color: #55556a; }
.light .person .ph { background: rgba(var(--cobalt-rgb),.12); color: var(--cobalt); box-shadow: none; }
.light .fld label { color: #55556a; }
.light .fld input, .light .fld select { background: #f4f4f8; color: var(--onyx); box-shadow: inset 0 0 0 1px rgba(var(--onyx-rgb),.1); }
.light .fld input::placeholder { color: #9a9aaa; }
.light .fld input:focus { background: #fff; box-shadow: inset 0 0 0 1.5px var(--cobalt); }
.light .consent { color: #55556a; }
.light .consent a { color: var(--onyx); }

/* Legal */
.ip-legal { max-width: 820px; margin: 0 auto; display: grid; gap: 16px; }

/* Closing after a light section fades from ivory instead of onyx */
.cta.from-light::after { background: linear-gradient(180deg, rgba(var(--ivory-rgb),1.000) 0.0%, rgba(var(--ivory-rgb),0.998) 2.4%, rgba(var(--ivory-rgb),0.990) 4.8%, rgba(var(--ivory-rgb),0.975) 7.1%, rgba(var(--ivory-rgb),0.953) 9.5%, rgba(var(--ivory-rgb),0.923) 11.9%, rgba(var(--ivory-rgb),0.884) 14.2%, rgba(var(--ivory-rgb),0.838) 16.6%, rgba(var(--ivory-rgb),0.782) 19.0%, rgba(var(--ivory-rgb),0.718) 21.4%, rgba(var(--ivory-rgb),0.644) 23.8%, rgba(var(--ivory-rgb),0.561) 26.1%, rgba(var(--ivory-rgb),0.469) 28.5%, rgba(var(--ivory-rgb),0.367) 30.9%, rgba(var(--ivory-rgb),0.255) 33.2%, rgba(var(--ivory-rgb),0.132) 35.6%, rgba(var(--ivory-rgb),0.000) 38.0%), linear-gradient(180deg, rgba(var(--onyx-rgb),0) 62%, rgba(var(--onyx-rgb),1) 100%); }

@media (max-width: 960px) {
  .ip-how, .ip-split { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .ip-sec { padding: 88px var(--gutter); }
  .ip-hero { min-height: 82svh; }
}
@media (max-width: 560px) {
  .tiles { grid-template-columns: 1fr; }
  .ip-chars { display: none; }
  .fact .big-n { white-space: normal; }
}
.ip-sec + .cta { margin-top: 0; }
.ip-people-cards { display: grid; gap: 14px; }

/* =================== Blog: one centred reading column, like a notebook =================== */
.post-col { max-width: 760px; margin: 0 auto; }
.ip-sec.blog-index, .ip-sec.post { padding-top: 150px; overflow: clip; }
.blog-head { display: grid; gap: 16px; margin-bottom: 32px; }
.blog-head h1 { font-size: clamp(40px, 5vw, 64px); line-height: 1.05; color: var(--onyx); }
.blog-head .lead { margin: 0; max-width: 620px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.chip-f { height: 36px; padding: 0 14px; border: 0; border-radius: var(--round, 40px); background: rgba(255,255,255,.7); color: var(--onyx); font: inherit; font-size: 14px; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(var(--onyx-rgb),.08); transition: background-color .2s, box-shadow .2s; }
.chip-f span { color: #8a8a99; font-size: 12px; margin-left: 4px; }
.chip-f:hover { background: #fff; }
.chip-f[aria-pressed="true"] { background: #fff; box-shadow: inset 0 0 0 1.5px var(--cobalt); }
.chip-f[aria-pressed="true"] span { color: var(--cobalt); }

/* The list */
.post-list { border-top: 1px solid rgba(var(--onyx-rgb),.1); margin-top: 24px; }
.post-row { display: grid; grid-template-columns: 148px 1fr 40px; gap: 22px; align-items: center; padding: 20px 0; border-bottom: 1px solid rgba(var(--onyx-rgb),.1); color: var(--onyx); }
.post-row[hidden] { display: none; }
.pr-img { aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: #dfe0ea; }
.pr-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-row:hover .pr-img img { transform: scale(1.05); }
.pr-body { display: grid; gap: 10px; }
.pr-body h3 { font-size: 19px; line-height: 1.3; transition: color .2s; }
.post-row:hover h3 { color: var(--cobalt); }
.pr-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 13px; color: #8a8a99; }
.pc-cat { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 20px; background: rgba(var(--cobalt-rgb),.1); color: var(--cobalt); font-size: 12px; }
.pr-go { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: inset 0 0 0 1px rgba(var(--onyx-rgb),.08); transition: background-color .25s, color .25s, transform .25s var(--ease); }
.pr-go svg.i { width: 16px; height: 16px; transform: rotate(-45deg); }
.post-row:hover .pr-go { background: var(--cobalt); color: var(--white); transform: translateX(2px); }
.post-empty { color: #6a6a7c; margin-top: 24px; }

/* A post */
.post-back { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: #6a6a7c; margin-bottom: 20px; }
.post-back svg.i { width: 14px; height: 14px; transform: scaleX(-1); }
.post-back:hover { color: var(--onyx); }
.post-cover { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 9; display: flex; align-items: flex-end; isolation: isolate; box-shadow: 0 40px 90px -50px rgba(var(--onyx-rgb),.5); }
.post-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.post-cover::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(var(--onyx-rgb),0) 35%, rgba(var(--onyx-rgb),.72) 100%); }
.post-cover h1 { padding: clamp(20px, 4vw, 36px); font-size: clamp(28px, 3.6vw, 44px); line-height: 1.12; color: var(--white); text-shadow: 0 2px 20px rgba(0,0,0,.3); }
.post-meta { margin-top: 18px; }
.post-layout { position: relative; max-width: 760px; margin: 36px auto 0; }
.post-body { color: #2c2c3a; font-size: 18px; line-height: 1.7; }
.post-body > * + * { margin-top: 1.1em; }
.post-body h2 { font-size: clamp(26px, 2.6vw, 32px); line-height: 1.2; margin-top: 2em; scroll-margin-top: 100px; color: var(--onyx); }
.post-body h3 { font-size: 21px; line-height: 1.3; margin-top: 1.6em; scroll-margin-top: 100px; color: var(--onyx); }
.post-body h2 + *, .post-body h3 + * { margin-top: .6em; }
.post-body ul, .post-body ol { padding-left: 1.3em; display: grid; gap: .4em; }
.post-body li::marker { color: var(--cobalt); }
.post-body strong { font-weight: 560; color: var(--onyx); }
.post-body code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .88em; padding: 2px 6px; border-radius: 6px; background: rgba(var(--onyx-rgb),.06); }
.post-body blockquote { margin: 1.6em 0; padding: 4px 0 4px 28px; position: relative; font-family: var(--font-display); font-stretch: var(--display-stretch); font-size: 23px; line-height: 1.4; color: var(--onyx); }
.post-body blockquote::before { content: "\201C"; position: absolute; left: 0; top: -6px; font-size: 44px; color: var(--cobalt); line-height: 1; }
.post-body blockquote p { margin: 0; }
.post-body hr { border: 0; height: 1px; background: rgba(var(--onyx-rgb),.1); margin: 2.4em 0; }
.post-body figure { margin: 2em 0; }
.post-body figure img { border-radius: 16px; width: 100%; }
.post-body figcaption { font-size: 14px; color: #8a8a99; margin-top: 10px; text-align: center; }
.table-wrap { overflow-x: auto; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px rgba(var(--onyx-rgb),.08); }
.post-body table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.post-body th, .post-body td { text-align: left; padding: 12px 16px; border-bottom: 1px solid rgba(var(--onyx-rgb),.07); }
.post-body th { font-weight: 480; color: var(--onyx); background: rgba(var(--onyx-rgb),.03); }
.post-body tr:last-child td { border-bottom: 0; }
.post-cta { margin: 2.2em 0; padding: 26px 28px; border-radius: 18px; background: var(--onyx); color: var(--ivory); display: grid; grid-template-columns: 1fr auto; gap: 16px 24px; align-items: center; position: relative; overflow: hidden; isolation: isolate; }
.post-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 120% at 100% 0%, rgba(var(--cobalt-rgb),.45), transparent 60%); }
.post-cta h3 { color: var(--white); font-size: 21px; margin: 0; }
.post-cta p { color: var(--ash); font-size: 15px; margin: 4px 0 0; }
.post-cta .btns { display: flex; gap: 8px; flex-wrap: wrap; }
.btn-quiet { background: rgba(255,255,255,.1); color: var(--white); }
.btn-quiet:hover { background: rgba(255,255,255,.16); }
.post-more { margin-top: 80px; }
.post-more h2 { font-size: 26px; color: var(--onyx); }

/* Table of contents: in the right margin, beside the column; above the text on smaller screens */
/* .toc holds .toc-in */
.toc-h { font-size: 13px; color: #8a8a99; margin-bottom: 8px; }
.toc a { position: relative; display: block; padding: 6px 0 6px 16px; font-size: 14px; line-height: 1.35; color: #6a6a7c; transition: color .2s; }
.toc a::before { content: ""; position: absolute; left: 0; top: 13px; width: 6px; height: 6px; border-radius: 50%; background: rgba(var(--onyx-rgb),.15); transition: background-color .2s, transform .2s; }
.toc a.lv3 { padding-left: 30px; font-size: 13px; }
.toc a.lv3::before { left: 14px; width: 4px; height: 4px; }
.toc a:hover { color: var(--onyx); }
.toc a.on { color: var(--onyx); font-weight: 480; }
.toc a.on::before { background: var(--cobalt); transform: scale(1.3); }
.toc-progress { margin-top: 14px; height: 3px; border-radius: 3px; background: rgba(var(--onyx-rgb),.08); overflow: hidden; }
.toc-progress i { display: block; height: 100%; width: 0; background: var(--cobalt); border-radius: 3px; }
.toc-in { display: grid; gap: 2px; }
@media (min-width: 1240px) {
  .toc { position: absolute; top: 0; bottom: 0; left: calc(100% + 40px); width: 190px; }
  .toc-in { position: sticky; top: 110px; }
}
@media (max-width: 1239px) {
  .post-layout { display: flex; flex-direction: column; }
  .toc { order: -1; margin-bottom: 28px; padding: 18px 20px; border-radius: 16px; background: rgba(255,255,255,.7); box-shadow: inset 0 0 0 1px rgba(var(--onyx-rgb),.06); }
  .toc-progress { display: none; }
}
@media (max-width: 960px) { .post-cta { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .post-row { grid-template-columns: 96px 1fr; gap: 14px; }
  .pr-go { display: none; }
  .pr-body h3 { font-size: 17px; }
  .post-body { font-size: 17px; }
  .post-cover { aspect-ratio: 4 / 3; }
}

/* Admin */
.admin-grid { max-width: 1040px; margin: 0 auto; }
.admin-card { color: var(--onyx); transition: transform .3s var(--ease), box-shadow .3s; }
.admin-card:hover { transform: translateY(-3px); }
.admin-card h3 { display: flex; align-items: center; gap: 8px; }
.admin-card h3 svg.i { width: 16px; height: 16px; color: var(--cobalt); }
.admin-how { max-width: 1040px; margin: 16px auto 0; }
.admin-how code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 14px; padding: 2px 8px; border-radius: 6px; background: rgba(var(--onyx-rgb),.06); color: var(--onyx); }
.post-head .pc-cat { justify-self: center; }
.ip-sec.post { overflow: clip; }

/* Closing after a light section: light, centred, record characters around it */
.cta-light { padding: 140px var(--gutter) 160px; }
.cta-l { max-width: 640px; margin: 0 auto; text-align: center; display: grid; justify-items: center; gap: 16px; }
.cta-l .lead { margin: 0; }
.cta-l .btns { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 12px; }
.btn-outline { background: transparent; color: var(--onyx); box-shadow: inset 0 0 0 1px rgba(var(--onyx-rgb),.35); }
.btn-outline:hover { background: rgba(var(--onyx-rgb),.05); }
.cta-l .tlink { margin-top: 8px; }

/* Generated cover art */
canvas.art { display: block; width: 100%; height: 100%; }
.pr-img { background: var(--onyx); }
.post-cover canvas.art { position: absolute; inset: 0; z-index: -2; }
.post-cover::after { background: linear-gradient(90deg, rgba(var(--onyx-rgb),.55) 0%, rgba(var(--onyx-rgb),0) 60%), linear-gradient(180deg, rgba(var(--onyx-rgb),0) 45%, rgba(var(--onyx-rgb),.6) 100%); }
/* Character blob confined to a zone around the blog title or the post cover */
.blob-zone { position: relative; }
.blob-zone > .ip-chars { position: absolute; left: -50vw; top: -60px; width: calc(100% + 100vw); height: calc(100% + 120px); z-index: -1; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 70%, transparent 100%); }
.blog-head.blob-zone { isolation: isolate; }
.head-art { position: absolute; right: -200px; top: -40px; width: 320px; height: 240px; pointer-events: none; }
.blog-head .lead { max-width: 520px; }
.post .blob-zone { isolation: isolate; }
@media (max-width: 760px) { .head-art { display: none; } }

/* =================== Home: How it works, steps side by side with the card below =================== */
.how-flow { position: relative; z-index: 1; max-width: 1000px; margin: 0 auto; width: 100%; display: grid; justify-items: center; gap: 30px; }
.how-head { text-align: center; display: grid; gap: 14px; justify-items: center; }
.how-head h2 { color: var(--onyx); }
.how-head .lead { margin: 0; }
.hsteps { position: relative; list-style: none; margin: 0; padding: 0; width: 100%; display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); gap: 16px; }
.hrail { position: absolute; top: 17px; left: calc(50% / var(--n, 3)); right: calc(50% / var(--n, 3)); height: 2px; border-radius: 2px; background: rgba(var(--onyx-rgb),.12); }
.hrail i { position: absolute; left: 0; top: 0; height: 100%; width: 0; border-radius: 2px; background: var(--obsidian); transition: width .2s linear; }
.hsteps li { display: grid; justify-items: center; align-content: start; text-align: center; gap: 6px; cursor: pointer; }
.hsteps .n { position: relative; z-index: 1; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; }
.hsteps h3 { font-size: 17px; line-height: 1.2; margin-top: 8px; transition: color .35s var(--ease); }
.hsteps p { font-size: 14px; line-height: 1.4; max-width: 280px; color: #55556a; transition: color .35s var(--ease); }
.hs-text { display: none; }
.hs-text b { display: block; font-family: var(--font-display); font-weight: 480; font-size: 20px; color: var(--onyx); margin-bottom: 4px; }
.how-flow .stage { width: min(440px, 100%); height: 430px; perspective: 1400px; }
.how-flow .pcard { width: 100%; margin-left: -50%; }
.how-foot { display: flex; gap: 14px 24px; align-items: center; justify-content: center; flex-wrap: wrap; }
.how-foot .fee { margin: 0; }
@media (max-width: 960px) { .how { height: auto; } .how-sticky { position: relative; height: auto; } }
@media (max-width: 700px) {
  .hsteps { gap: 4px; }
  .hsteps p, .hsteps h3 { display: none; }
  .hs-text { display: block; text-align: center; color: #55556a; font-size: 16px; line-height: 1.45; max-width: 420px; min-height: 3.6em; margin: -6px 0 -6px; }
  .how-flow .stage { height: 410px; }
}

/* What we do: the steps follow the diagram, like a process */
#stepper li { cursor: pointer; }
#stepper h3, #stepper p { transition: color .35s var(--ease); }
#stepper li:not(.on) h3 { color: #8a8a9c; }
#stepper li:not(.on) p { color: #a0a0b0; }
#stepper li .n { background: var(--ivory); color: #55556a; box-shadow: inset 0 0 0 1.5px rgba(var(--onyx-rgb),.18); }
#stepper li.on .n, #stepper li.done .n { background: var(--obsidian); color: var(--white); box-shadow: 0 6px 16px -6px rgba(var(--onyx-rgb),.5); }
#stepper li.on .n::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(var(--cobalt-rgb),.45); animation: stepPulse 1.8s var(--ease) infinite; pointer-events: none; }
#railFill { transition: height .2s linear; }

/* Seamless light sections: the colour mesh and the record characters fade to plain ivory at both edges,
   so any section meets its neighbour (or the hero's fade) on the same flat colour */
.light .mesh, #what .mesh, #worth .mesh, .how .mesh, .ip-sec .mesh {
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
}
.what-chars, .ip-sec > .ip-chars {
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
}

/* Closing on a light page: a rounded sky card, record characters around it */
.cta-light { padding: 96px var(--gutter) 120px; }
.cta-card { position: relative; max-width: 980px; margin: 0 auto; border-radius: 28px; overflow: hidden; isolation: isolate; padding: clamp(56px, 8vw, 104px) clamp(24px, 5vw, 64px); text-align: center; display: grid; justify-items: center; gap: 16px; box-shadow: 0 50px 100px -50px rgba(var(--onyx-rgb),.55); }
.cta-card > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 70% at 50% 50%, rgba(var(--onyx-rgb),.45), rgba(var(--onyx-rgb),.15)); }
.cta-card h2 { color: var(--white); max-width: 640px; }
.cta-card .lead { margin: 0; color: var(--ivory); }
.cta-card .btns { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }
.cta-card .tlink { color: var(--ivory); text-decoration-color: rgba(var(--ivory-rgb),.5); margin-top: 6px; }
@media (max-width: 480px) { .cta-card .btns { flex-direction: column; align-items: stretch; width: 100%; } }
/* keep the whole How section on one screen */
.how-flow { gap: 20px; }
.how .how-sticky { padding-top: 76px; padding-bottom: 32px; }
.how-flow .stage { height: 360px; }
.how-flow .stage-inner { transform: scale(.84); transform-origin: 50% 0; }
.how-flow .pcard { top: 0; margin-top: 0; }
.how-head h2 { font-size: clamp(30px, 3.6vw, 44px); }
@media (max-width: 700px) { .how-flow .stage { height: 380px; } .how-flow .stage-inner { transform: scale(.9); } }
#howChars { -webkit-mask-image: linear-gradient(180deg, transparent 0%, transparent 40%, #000 55%, #000 86%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, transparent 40%, #000 55%, #000 86%, transparent 100%); }
.how-flow .stage { height: 330px; }
.how-flow .stage-inner { transform: scale(.8); }

/* Scroll cue at the bottom of each inner hero */
.scroll-cue { position: absolute; left: 50%; bottom: 34px; width: 44px; height: 44px; margin-left: -22px; border-radius: 50%; display: grid; place-items: center; color: var(--white); background: rgba(255,255,255,.16); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.45); animation: cue 2.2s var(--ease) infinite; z-index: 1; }
.scroll-cue svg.i { width: 18px; height: 18px; }
.scroll-cue:hover { background: rgba(255,255,255,.26); }
.ip-hero.to-light .scroll-cue { color: var(--onyx); background: rgba(255,255,255,.55); box-shadow: inset 0 0 0 1px rgba(var(--onyx-rgb),.1); }
@keyframes cue { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(7px); } }
@media (prefers-reduced-motion: reduce) { .scroll-cue { animation: none; } }
.ip-hero.short .scroll-cue { display: none; }

/* FAQ: each question in its own white card */
.ip-faq .faq-group { margin-bottom: 36px; }
.ip-faq .faq-group > h3 { margin: 0 0 12px 4px; }
.light .ip-faq details { background: #fff; border: 0; border-radius: 16px; padding: 0 24px; margin-bottom: 10px; box-shadow: inset 0 0 0 1px rgba(var(--onyx-rgb),.06), 0 18px 44px -32px rgba(var(--onyx-rgb),.35); transition: box-shadow .25s; }
.light .ip-faq details[open] { box-shadow: inset 0 0 0 1.5px rgba(var(--cobalt-rgb),.45), 0 22px 50px -30px rgba(var(--onyx-rgb),.35); }
.light .ip-faq summary { padding: 20px 0; font-size: 17px; font-weight: 450; }
.light .ip-faq details p { padding: 0 0 22px; font-size: 16px; }

/* Hero: the second action stays on the page, an underlined link that scrolls down */
.ip-hero .btns { align-items: center; gap: 22px; }
.jump { display: inline-flex; align-items: center; gap: 8px; color: var(--white); font-size: 16px; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: rgba(255,255,255,.55); text-shadow: 0 1px 12px rgba(30,40,90,.45); transition: text-decoration-color .2s; }
.jump svg.i { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.jump:hover { text-decoration-color: var(--white); }
.jump:hover svg.i { transform: translateY(3px); }
#catches { scroll-margin-top: 0; }

/* Hero proof strip: three facts in a glass bar */
.proof { display: flex; margin-top: 18px; border-radius: 20px; background: rgba(30,40,95,.26); backdrop-filter: blur(20px) saturate(150%); -webkit-backdrop-filter: blur(20px) saturate(150%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.4), 0 20px 50px -30px rgba(20,30,80,.5); animation: fade 1s .6s var(--ease) both; }
.pf { display: grid; justify-items: center; gap: 4px; padding: 16px 28px; min-width: 150px; }
.pf + .pf { box-shadow: inset 1px 0 0 rgba(255,255,255,.28); }
.pf-n { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-weight: 600; font-size: 24px; letter-spacing: -.02em; color: var(--white); white-space: nowrap; text-shadow: 0 1px 14px rgba(30,40,90,.4); }
.pf-n i { font-style: normal; color: #c3cbff; }
.pf-l { font-size: 13px; color: rgba(255,255,255,.88); white-space: nowrap; text-shadow: 0 1px 10px rgba(30,40,90,.45); }
.ip-hero.short .proof { margin-top: 6px; }
@media (max-width: 640px) {
  .proof { width: 100%; }
  .pf { flex: 1; min-width: 0; padding: 12px 8px; }
  .pf { align-content: start; }
  .pf-n { font-size: 16px; white-space: normal; text-align: center; text-wrap: balance; line-height: 1.2; }
  .pf-l { font-size: 11px; white-space: normal; text-align: center; }
}

/* =================== Guides (internal): how-tos with samples, checklists and diagrams =================== */
.g-internal { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; padding: 10px 14px; border-radius: 12px; background: rgba(255,255,255,.75); box-shadow: inset 0 0 0 1px rgba(var(--onyx-rgb),.08); font-size: 13.5px; color: #55556a; }
.g-internal span { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 11.5px; padding: 3px 9px; border-radius: 20px; background: var(--onyx); color: var(--white); }
.g-head { display: grid; gap: 14px; isolation: isolate; }
.g-head h1 { font-size: clamp(34px, 4.4vw, 54px); line-height: 1.08; color: var(--onyx); }
.g-head .lead { margin: 0; max-width: 620px; }
.g-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin-top: 10px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px rgba(var(--onyx-rgb),.07), 0 30px 60px -40px rgba(var(--onyx-rgb),.3); overflow: hidden; }
.g-facts div { display: grid; gap: 4px; padding: 16px 18px; border-left: 1px solid rgba(var(--onyx-rgb),.07); }
.g-facts div:first-child { border-left: 0; }
.g-facts span { font-size: 12px; color: #8a8a99; font-family: ui-monospace, "SF Mono", Menlo, monospace; }
.g-facts b { font-weight: 480; font-size: 15px; line-height: 1.35; color: var(--onyx); }
.g-status { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 20px; font-size: 12px; background: rgba(var(--onyx-rgb),.06); color: #55556a; }
.g-status.s-proposed { background: transparent; box-shadow: inset 0 0 0 1.2px var(--cobalt); color: var(--cobalt); }
.g-status.s-check-in-a-live-account { background: var(--onyx); color: var(--white); }
.g-mono { display: grid; place-items: center; background: var(--onyx); background-image: radial-gradient(80% 120% at 80% 10%, rgba(var(--cobalt-rgb),.55), transparent 60%); }
.g-mono span { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-weight: 600; font-size: 22px; letter-spacing: .04em; color: var(--white); }
.g-h { font-size: clamp(24px, 2.6vw, 30px); color: var(--onyx); margin-top: 56px; }
.g-sub { color: #6a6a7c; margin: 8px 0 0; }
.g-picture { display: grid; gap: 28px; margin-bottom: 24px; }
.g-picture .dg { width: 100%; max-width: 1040px; margin: 0 auto; }
/* numbered lists in a guide are steps */
.guide .post-body ol { list-style: none; padding-left: 0; counter-reset: st; gap: 12px; }
.guide .post-body ol > li { counter-increment: st; position: relative; padding: 14px 18px 14px 58px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px rgba(var(--onyx-rgb),.07); font-size: 16.5px; line-height: 1.6; }
.guide .post-body ol > li::before { content: counter(st); position: absolute; left: 16px; top: 14px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--cobalt); color: #fff; font: 600 13px ui-monospace, "SF Mono", Menlo, monospace; }
/* sample files */
.sample { border-radius: 16px; overflow: hidden; background: var(--onyx); box-shadow: 0 40px 80px -50px rgba(var(--onyx-rgb),.6); }
.sm-bar { display: flex; align-items: center; gap: 12px; padding: 10px 16px; background: var(--graphite); border-bottom: 1px solid rgba(255,255,255,.06); }
.sm-dots { display: flex; gap: 6px; }
.sm-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(var(--ivory-rgb),.18); }
.sm-name { font: 500 13px ui-monospace, "SF Mono", Menlo, monospace; color: var(--ivory); }
.sm-lang { margin-left: auto; font: 11px ui-monospace, "SF Mono", Menlo, monospace; color: #9a9ab8; padding: 2px 8px; border-radius: 10px; background: rgba(var(--cobalt-rgb),.22); }
.sample pre { margin: 0; padding: 18px 20px; overflow-x: auto; }
.post-body .sample code { background: none; padding: 0; color: #d6d8f5; font-size: 13.5px; line-height: 1.65; white-space: pre; }
/* checklist */
.g-check { list-style: none; padding: 6px !important; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px rgba(var(--onyx-rgb),.07); gap: 0 !important; }
.g-check li { border-bottom: 1px solid rgba(var(--onyx-rgb),.06); }
.g-check li:last-child { border-bottom: 0; }
.g-check label { display: flex; gap: 14px; align-items: flex-start; padding: 12px 14px; cursor: pointer; font-size: 16.5px; line-height: 1.5; border-radius: 10px; }
.g-check label:hover { background: rgba(var(--cobalt-rgb),.05); }
.g-check input { appearance: none; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 7px; box-shadow: inset 0 0 0 1.5px rgba(var(--onyx-rgb),.25); display: grid; place-items: center; cursor: pointer; transition: background-color .2s, box-shadow .2s; }
.g-check input:checked { background: var(--cobalt); box-shadow: none; }
.g-check input:checked::after { content: ""; width: 10px; height: 5px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: translateY(-1px) rotate(-45deg); }
.g-check input:checked + span { color: #8a8a99; text-decoration: line-through; text-decoration-color: rgba(var(--onyx-rgb),.25); }
/* note */
.g-note { display: flex; gap: 14px; padding: 18px 20px; border-radius: 16px; background: rgba(var(--cobalt-rgb),.07); box-shadow: inset 0 0 0 1px rgba(var(--cobalt-rgb),.2); }
.g-note-i { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--cobalt); color: #fff; }
.g-note-i svg.i { width: 16px; height: 16px; }
.g-note b { display: block; font-weight: 520; color: var(--onyx); font-size: 16px; }
.g-note p { margin: 4px 0 0; font-size: 15.5px; line-height: 1.55; color: #3a3a4a; }
/* diagrams */
.dg { margin: 2em 0; border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1px rgba(var(--onyx-rgb),.07), 0 40px 90px -50px rgba(var(--onyx-rgb),.35); overflow: hidden; }
.dg-bar { display: flex; align-items: center; gap: 12px; padding: 12px 14px 12px 20px; border-bottom: 1px solid rgba(var(--onyx-rgb),.06); }
.dg-t { font-family: var(--font-display); font-stretch: var(--display-stretch); font-size: 16px; color: var(--onyx); }
.dg-acts { margin-left: auto; display: flex; gap: 6px; }
.dg-btn { height: 30px; padding: 0 12px; border: 0; border-radius: 20px; font: inherit; font-size: 13px; color: var(--onyx); background: rgba(var(--onyx-rgb),.05); cursor: pointer; transition: background-color .2s, color .2s; }
.dg-btn:hover { background: var(--cobalt); color: #fff; }
.dg-btn.done { background: var(--cobalt); color: #fff; }
.dg-scroll { overflow-x: auto; padding: 18px 18px 8px; background-image: radial-gradient(rgba(var(--onyx-rgb),.07) 1px, transparent 1px); background-size: 18px 18px; }
.dg-scroll svg { display: block; width: 100%; min-width: 760px; height: auto; }
.post-body .dg figcaption { margin: 0; padding: 12px 20px 16px; text-align: left; font-size: 14px; line-height: 1.5; color: #6a6a7c; }
.g-picture .dg figcaption { padding: 12px 20px 16px; font-size: 14px; line-height: 1.5; color: #6a6a7c; }
@media (prefers-reduced-motion: reduce) { .dg .tok { display: none; } }
@media (min-width: 1240px) { .post-body .dg { margin-left: -220px; } }
.g-pn { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 3em !important; }
.g-pn a { display: grid; gap: 4px; padding: 16px 18px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px rgba(var(--onyx-rgb),.07); font-size: 15px; line-height: 1.4; color: var(--onyx); transition: box-shadow .2s; }
.g-pn a span { font-size: 12px; color: #8a8a99; font-family: ui-monospace, "SF Mono", Menlo, monospace; }
.g-pn a.nx { text-align: right; grid-column: 2; }
.g-pn a:hover { box-shadow: inset 0 0 0 1.5px var(--cobalt); }
.guide .docs { margin: 2em 0; }
@media (max-width: 600px) { .g-pn { grid-template-columns: 1fr; } .g-pn a.nx { grid-column: 1; text-align: left; } .dg-acts .dg-btn[data-act="png"] { display: none; } }
/* Guides: alignment pass. The list page runs on one wide column so headings, diagrams and rows share an edge;
   guide pages run from the menu's left edge (diagrams) to its right edge (contents) */
.guides-index .post-col { max-width: 1040px; width: 100%; }
.guides-index .blog-head .lead { max-width: 560px; }
.g-picture .dg, .guides-index .dg { max-width: none; }
.sample pre { font-size: 13.5px; line-height: 1.65; }
.post-body .sample code { line-height: inherit; }
@media (min-width: 1240px) { .guide .toc { width: 180px; } }
.guides-index .g-picture .dg { max-width: 1040px; width: 100%; }
.dg-swipe { display: none; padding: 8px 20px 0; font: 12px ui-monospace, "SF Mono", Menlo, monospace; color: var(--cobalt); }
@media (max-width: 800px) { .dg-swipe { display: block; } }
@media (max-width: 600px) {
  .g-facts { grid-template-columns: 1fr; }
  .g-facts div { border-left: 0; border-top: 1px solid rgba(var(--onyx-rgb),.07); display: grid; grid-template-columns: 56px 1fr; align-items: baseline; padding: 12px 16px; }
  .g-facts div:first-child { border-top: 0; }
  .g-facts b { font-size: 14.5px; }
}
/* Guide tiles: the system's logo over a ring of flickering digits */
.g-mono { position: relative; background: var(--onyx); }
.g-mono canvas.art { position: absolute; inset: 0; }
.g-mono .g-logo { position: relative; width: 30%; height: auto; fill: #fff; filter: drop-shadow(0 4px 14px rgba(var(--cobalt-rgb),.6)); }
.g-mono span { position: relative; text-shadow: 0 4px 14px rgba(var(--cobalt-rgb),.6); }
.g-h + .filters { margin-top: 20px; }
.g-mono svg.g-ico { position: relative; width: 30%; height: auto; aspect-ratio: 1; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 4px 14px rgba(var(--cobalt-rgb),.6)); }
/* Inner pages: the menu is Home, a way back to the list, and Book a call */
.nav-back { display: inline-flex; align-items: center; gap: 4px; }
.nav-back svg.i { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.menu-sheet .nav-back svg.i { width: 18px; height: 18px; }
/* Hero digits: the canvas reaches 160px past its box so characters near the edge are never cut; the words stay on top */
.cube-wrap canvas { inset: -160px; width: calc(100% + 320px); height: calc(100% + 320px); pointer-events: none; }
.hero-copy { position: relative; z-index: 2; }
/* Inner pages carry only a link or two, so the bar hugs its content instead of stretching across */
@media (min-width: 861px) {
  .nav-compact .nav-inner, .nav-compact.scrolled .nav-inner { width: fit-content; max-width: 100%; gap: 14px; }
  .nav-compact .links { gap: 4px; }
}

/* LinkedIn images (kit, brand page, business card page): white cards with a preview and a download */
.lk-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.lk-grid.lk-wide { grid-template-columns: 1fr; }
.lk-img { margin: 0; padding: 14px; border-radius: 18px; background: #fff; color: var(--onyx); box-shadow: inset 0 0 0 1px rgba(var(--onyx-rgb),.07), 0 30px 60px -45px rgba(var(--onyx-rgb),.4); }
.lk-frame { border-radius: 10px; overflow: hidden; background: #dfe0ea; line-height: 0; }
.lk-frame canvas { width: 100%; height: auto; display: block; }
.lk-frame.lk-round { border-radius: 50%; }
.lk-img figcaption { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; }
.lk-img figcaption div { display: grid; gap: 2px; }
.lk-img figcaption b { font-weight: 500; font-size: 15px; }
.lk-img figcaption span { white-space: nowrap; font: 12px ui-monospace, "SF Mono", Menlo, monospace; color: #8a8a99; }
.lk-note { margin: 8px 0 0; font-size: 13.5px; line-height: 1.45; color: #6a6a7c; }
.li-logos { grid-template-columns: repeat(2, minmax(0, 280px)); }
.li-sec { padding: 40px var(--gutter) 120px; }
.li-sec h2 { color: var(--white); }
.li-photo { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 22px 0 18px; }
.li-person { display: grid; grid-template-columns: minmax(0, 300px) 1fr; gap: 18px; align-items: start; }
.li-banners { display: grid; gap: 18px; }
.li-headline { margin-top: 18px; padding: 14px 16px; border-radius: 16px; background: #fff; color: var(--onyx); }
.li-headline .lk-fh { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.li-headline .lk-count { font: 12px ui-monospace, "SF Mono", Menlo, monospace; color: #8a8a99; }
.li-headline .lk-copy { margin-left: auto; height: 30px; padding: 0 12px; border: 0; border-radius: 20px; font: inherit; font-size: 13px; background: rgba(var(--onyx-rgb),.06); color: var(--onyx); cursor: pointer; }
.li-headline .lk-copy:hover { background: var(--cobalt); color: #fff; }
.li-headline .lk-val { width: 100%; box-sizing: border-box; border: 0; border-radius: 10px; background: rgba(var(--onyx-rgb),.035); padding: 10px 12px; font: inherit; font-size: 15px; color: #2c2c3a; }
@media (max-width: 900px) { .lk-grid { grid-template-columns: repeat(2, 1fr); } .lk-grid.lk-wide { grid-template-columns: 1fr; } .li-person { grid-template-columns: 1fr; } .li-person > .lk-img { max-width: 300px; } }
@media (max-width: 520px) { .lk-grid, .li-logos { grid-template-columns: 1fr; } }

/* =================== Small screens: headings centred, What we do as a compact process =================== */
.ws-text { display: none; }
@media (max-width: 960px) {
  .hero-copy { justify-items: center; text-align: center; }
  .hero-cta { justify-content: center; }
  .what-left { text-align: center; }
  .what-left .lead { margin-left: auto; margin-right: auto; }
  .head { justify-items: center; text-align: center; }
  .head .more { justify-self: center; }
  .buy-head { flex-direction: column; align-items: center; text-align: center; }
  .private > .reveal > h2, .private > .reveal > .lead { text-align: center; margin-left: auto; margin-right: auto; }
  /* the three steps sit side by side with the line running across; the active step's sentence shows below */
  #stepper { grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 30px; }
  #stepper .rail { left: 16.667%; right: 16.667%; top: 17px; bottom: auto !important; width: auto; height: 2px; }
  #stepper .rail i { height: 100% !important; width: var(--fill, 0%); transition: width .2s linear; }
  #stepper li { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 8px; opacity: 1; }
  #stepper li p { display: none; }
  #stepper h3 { font-size: 15px; line-height: 1.25; padding-top: 2px; }
  #stepper li:not(.on):not(.done) .n { background: var(--ivory); color: #55556a; box-shadow: inset 0 0 0 1.5px rgba(var(--onyx-rgb),.18); }
  .ws-text { display: block; text-align: center; color: #55556a; font-size: 16px; line-height: 1.45; max-width: 420px; min-height: 4.4em; margin: 16px auto 0; }
}

/* Home: the closing section is the assessment, in a glass card over the dusk sky */
.cta .fit-quiz { max-width: 760px; text-align: left; justify-items: stretch; }
.fit-quiz .quiz { width: 100%; }
.fit-quiz .q-title { color: var(--white); }
.fit-faq { justify-self: center; margin-top: 22px; }
#fit { scroll-margin-top: 0; padding-top: 120px; padding-bottom: 120px; }
/* Phones: each side of the What we do diagram sits in one row, so the lines run cleanly down to Heartland and on to the buyers;
   the buyers' label and their bids sit under the chips, out of the lines' way */
@media (max-width: 560px) {
  .hub .side, .hub .side:last-child { flex-wrap: wrap; justify-content: center; gap: 6px; }
  .hub .chip, .hub .side:last-child .chip { font-size: 11.5px; height: 32px; gap: 6px; padding: 0 9px 0 4px; }
  .hub .chip .ci { width: 22px; height: 22px; }
  .hub .chip .ci svg.i { width: 12px; height: 12px; }
  .hub .side.right { gap: 6px; padding-top: 0; }
  .hub .side.right .side-h { order: 9; margin-top: 34px; }
  .hub .bid { position: absolute; order: 0; margin: 0; top: calc(100% + 6px); bottom: auto; right: auto; left: 50%; translate: -50% 0; font-size: 11px; }
  .hub .side.right .chip:last-of-type .bid { left: auto; right: 0; translate: none; }
}

/* What we do, step 4: the delivered state under Heartland */
.deliver-pill { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; height: 30px; padding: 0 12px; border-radius: var(--round, 30px); background: var(--onyx); color: var(--white); font-size: 13px; white-space: nowrap; opacity: 0; transform: translateY(6px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.deliver-pill svg.i { width: 14px; height: 14px; color: #9fe2bf; }
.hub.s4 .deliver-pill { opacity: 1; transform: none; transition-delay: .4s; }
.core { display: grid; justify-items: center; }
@media (max-width: 960px) {
  #stepper { grid-template-columns: repeat(4, 1fr); gap: 4px; }
  #stepper .rail { left: 12.5%; right: 12.5%; }
  #stepper h3 { font-size: 13.5px; }
}

/* Record examples: a replaced name takes its own space (no overlap with the text beside it),
   and personal details are removed rather than blurred */
.x.sw, .x.bl { display: inline-grid; vertical-align: baseline; }
.x.sw > .o, .x.sw > .n { grid-area: 1 / 1; }
.x .n { position: static; justify-self: start; align-self: center; top: auto; margin-left: 0; }
.x.bl::after { content: "removed"; grid-area: 1 / 1; justify-self: start; align-self: center; padding: 0 8px; border-radius: 20px; font-size: 12px; line-height: 1.7; background: rgba(var(--onyx-rgb), .08); color: #6a6a7c; opacity: 0; transition: opacity .5s var(--ease); }
.dark .x.bl::after, #private .x.bl::after { background: rgba(var(--onyx-rgb), .08); }
.x.bl > .o { grid-area: 1 / 1; }
.x.go.bl .o { filter: none; opacity: 0; }
.x.go.bl::after { opacity: 1; }
.bl-k { filter: none !important; font-size: 11px; padding: 0 6px; border-radius: 12px; background: rgba(var(--onyx-rgb), .08); color: #6a6a7c; }

/* Check your fit, nine steps: language split, the software catalogue and data sizes */
.opts.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 560px) { .opts.four { grid-template-columns: 1fr 1fr; } }
.lang { display: grid; gap: 8px; }
.lang-row { display: grid; grid-template-columns: 1fr 90px 20px; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: rgba(var(--ivory-rgb),.06); box-shadow: inset 0 0 0 1px var(--glass-edge); color: var(--ivory); }
.lang-row span { display: grid; gap: 2px; }
.lang-row small { font-size: 12.5px; color: var(--ash); }
.lang-row input, .lang-row output { height: 40px; border: 0; border-radius: 10px; background: rgba(var(--ivory-rgb),.08); color: var(--white); font: inherit; font-size: 16px; text-align: right; padding: 0 10px; display: grid; align-items: center; }
.lang-row output { line-height: 40px; }
.sw { display: grid; gap: 12px; }
.sw-h { display: block; width: 100%; font-size: 13px; color: var(--ash); }
.sw-mine { display: grid; gap: 6px; padding: 12px; border-radius: 14px; background: rgba(var(--ivory-rgb),.05); box-shadow: inset 0 0 0 1px var(--glass-edge); }
.sw-none { font-size: 14px; color: var(--ash); }
.sw-search, .sw-own input { height: 44px; border: 0; border-radius: var(--round, 40px); padding: 0 18px; background: rgba(var(--ivory-rgb),.08); color: var(--ivory); font: inherit; font-size: 15px; box-shadow: inset 0 0 0 1px var(--glass-edge); }
.sw-search::placeholder, .sw-own input::placeholder { color: var(--ash); }
.sw-cats { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.cat { flex: none; height: 32px; padding: 0 12px; border: 0; border-radius: var(--round, 30px); background: rgba(var(--ivory-rgb),.06); color: var(--ash); font: inherit; font-size: 13px; cursor: pointer; white-space: nowrap; }
.cat[aria-pressed="true"] { background: var(--ivory); color: var(--onyx); }
#swList { max-height: 240px; overflow-y: auto; }
.sw-own { display: flex; gap: 8px; }
.sw-own input { flex: 1; min-width: 0; }
.sizes { display: grid; gap: 8px; max-height: 360px; overflow-y: auto; }
.size-row { display: grid; grid-template-columns: 1fr 180px; gap: 10px; align-items: center; padding: 8px 8px 8px 14px; border-radius: 14px; background: rgba(var(--ivory-rgb),.05); color: var(--ivory); font-size: 15px; }
.size-row select { height: 38px; border: 0; border-radius: 10px; padding: 0 10px; background: rgba(var(--ivory-rgb),.1); color: var(--ivory); font: inherit; font-size: 14px; }
.size-row select option, .fld select option { color: #171721; }
.sum-h { font-size: 15px; color: var(--ash); font-family: var(--font-body); font-weight: 420; margin: 0; }
@media (max-width: 560px) { .size-row { grid-template-columns: 1fr; } }

/* The menu bar follows the button shape, so a square button never sits in a round bar */
.nav .nav-inner, .nav.scrolled .nav-inner, .nav-compact .nav-inner { border-radius: var(--bar-radius, 40px); }
.links a { border-radius: var(--btn-radius); }

/* Look switcher on the brand pages: opens the page in another look without saving it */
.look-switch { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 22px; }
.look-switch .ls-h { font-size: 13px; color: var(--ash); margin-right: 4px; }
.look-switch .ls-a { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: var(--btn-radius); background: rgba(255,255,255,.12); color: var(--white); font-size: 14px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.look-switch .ls-a small { font-size: 11px; opacity: .7; }
.look-switch .ls-a:hover { background: rgba(255,255,255,.2); }
.look-switch .ls-a[aria-current="true"] { background: var(--white); color: var(--onyx); box-shadow: none; }
.lk .look-switch .ls-h { color: #6a6a7c; }
.lk .look-switch .ls-a { background: #fff; color: var(--onyx); box-shadow: inset 0 0 0 1px rgba(var(--onyx-rgb),.12); }
.lk .look-switch .ls-a[aria-current="true"] { background: var(--onyx); color: #fff; }
/* "20 to 50 people? We can still review it." under the qualify list */
.qual-note { margin: 10px 0 0; font-size: 13.5px; color: var(--ash); }
.light .qual-note { color: #6a6a7c; }

/* Case studies: our deals as write-ups, Spirit's bids, and the industry listings */
.light .confirm { background: rgba(var(--cobalt-rgb),.08); color: var(--cobalt); }
.case-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.case dl, .spirit-dl { margin: 6px 0 0; display: grid; gap: 0; }
.case dl > div, .spirit-dl > div { display: grid; gap: 2px; padding: 12px 0; border-top: 1px solid rgba(var(--onyx-rgb),.08); }
.case dt, .spirit-dl dt { font-size: 13px; color: #6a6a7c; }
.case dd, .spirit-dl dd { margin: 0; font-size: 15px; line-height: 1.55; color: #3a3a4c; }
.spirit { align-items: center; gap: 48px; }
.spirit > div > p { color: var(--ash); margin-top: 12px; }
.spirit-dl > div { border-color: rgba(255,255,255,.1); }
.spirit-dl dt { color: var(--ash); }
.spirit-dl dd { color: var(--ivory); }
.spirit-bids { gap: 16px; }
.sbid { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 12px; font-size: 14px; color: var(--ash); }
.sbid i { height: 10px; border-radius: var(--bar-radius, 6px); background: rgba(255,255,255,.14); width: var(--w); }
.sbid.top i { background: var(--cobalt); }
.sbid b { color: var(--white); font-weight: 500; }
.ind-filters { justify-content: center; margin-bottom: 28px; }
.ind { gap: 12px; }
.ind[hidden] { display: none; }
.ind-top { display: grid; gap: 4px; }
.ind-top h3 { font-size: 18px; }
.ind-n { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-weight: 600; font-size: 17px; color: var(--cobalt); }
.ind .list { gap: 6px; }
.ind .list li { font-size: 14px; }
.home-cases .box { gap: 8px; }
.home-cases .row2 { display: grid; grid-template-columns: 1.1fr 1fr; gap: 16px; margin-top: 16px; }
.home-cases .ind-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.08); font-size: 15px; color: var(--ash); }
.home-cases .ind-row b { color: var(--white); font-weight: 500; font-family: ui-monospace, "SF Mono", Menlo, monospace; }
@media (max-width: 860px) { .spirit, .home-cases .row2 { grid-template-columns: 1fr; } }
.ph.ph-img, .light .person .ph.ph-img { display: block; object-fit: cover; background: none; padding: 0; flex: none; }

/* fit check headcount: the boxes show once they say whether the company is still operating */
.hc-fields { display: grid; gap: 14px; }
.hc-fields[hidden], .hc-fields .fld[hidden] { display: none; }
.hc-fields .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hc-fields.closed .row2 { grid-template-columns: 1fr; }
@media (max-width: 560px) { .hc-fields .row2 { grid-template-columns: 1fr; } }

/* fit check: Next steps after a qualified check is confirmed */
.next-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.next-steps li { display: flex; gap: 16px; align-items: flex-start; padding: 18px; border: 1px solid var(--hairline); background: rgba(var(--ivory-rgb),.04); }
.next-steps .ns-n { flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--cobalt); color: var(--on-accent); font-weight: 600; font-size: 15px; }
.next-steps h3 { margin: 4px 0 6px; font-size: 18px; color: var(--white); }
.next-steps p { margin: 0 0 12px; font-size: 15px; color: var(--ash); line-height: 1.5; }
.next-steps li > div > :last-child { margin-bottom: 0; }
#inviteSubj { color: var(--white); }
