/* =====================================================================
   KIHBBA — bespoke apps, built with AI, for small business
   Bright, calm studio look: off-white, ink navy, Kihbba blue.
   ===================================================================== */
:root {
  --bg: #F6F8FB;
  --paper: #FFFFFF;
  --ink: #0B1220;
  --ink-2: #26324A;
  --muted: #535E73;
  --faint: #6F7A8E;
  /* see-through navy lines blend with any background (white, tinted or off-white) */
  --line: rgba(16, 42, 86, .12);
  --line-2: rgba(16, 42, 86, .07);
  --blue: #07A0F7;
  --blue-d: #0A6FD6;
  --blue-dd: #0757A8;
  --blue-50: #EAF6FE;
  --blue-100: #D2ECFD;
  --green: #0E9F62;
  --green-d: #0B7F4F;
  --green-50: #E3F6EE;
  --amber: #B7740A;
  --amber-50: #FDF2DC;
  --night: #0B1220;
  --f-head: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1220px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-out: cubic-bezier(.23, 1, .32, 1);      /* entrances, responses */
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);  /* moving from one spot to another */
  /* layered shadows: several faint layers read as real light */
  --sh-1: 0 1px 1px rgba(11, 18, 32, .04), 0 2px 4px rgba(11, 18, 32, .04);
  --sh-2: 0 1px 2px rgba(11, 18, 32, .04), 0 2px 4px rgba(11, 18, 32, .04), 0 8px 16px rgba(11, 18, 32, .05), 0 20px 40px -16px rgba(11, 18, 32, .16);
  --sh-3: 0 2px 4px rgba(11, 18, 32, .04), 0 40px 80px -36px rgba(10, 111, 214, .38), 0 18px 36px -22px rgba(11, 18, 32, .28);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  font: 400 16px/1.6 var(--f-body);
  color: var(--ink);
  background-color: var(--bg);
  background-image: radial-gradient(rgba(11, 18, 32, .065) 1px, transparent 1.2px);
  background-size: 24px 24px;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
p, li, dd { text-wrap: pretty; }
h1, h2, h3, summary { text-wrap: balance; }
a { color: var(--blue-d); text-decoration-thickness: 1px; text-underline-offset: 3px; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid rgba(10, 111, 214, .45); outline-offset: 2px; border-radius: 6px; }
.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--ink); color: #fff; border-radius: 10px; }
.skip:focus { top: 12px; }

.kicker { display: inline-flex; align-items: center; gap: 10px; font: 500 12px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--blue-d); }
.kicker::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--blue); }
.kicker--light { color: #6CCBFF; }
.h2 { margin-top: 14px; font: 600 clamp(30px, 3.6vw, 46px)/1.06 var(--f-head); letter-spacing: -.025em; text-wrap: balance; }
.h2--light { color: #fff; }
.sec { padding: clamp(80px, 12vh, 128px) 0; }
.sec-head { max-width: 760px; }
.sec-head--split { max-width: none; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 20px clamp(32px, 5vw, 80px); align-items: end; }
.sec-lede { margin-top: 18px; font-size: clamp(16px, 1.2vw, 18px); line-height: 1.65; color: var(--muted); max-width: 36em; }
.sec-head--split .sec-lede { margin-top: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 22px;
  font: 600 15px/1 var(--f-body);
  border-radius: 999px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease, transform .25s var(--ease);
}
.btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(2px); }
.btn:active { transform: scale(.97); transition-duration: .1s; }
.btn--primary { background: var(--blue-d); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 8px 20px -10px rgba(10, 111, 214, .8); }
.btn--primary:hover { background: var(--blue-dd); }
.btn--ghost { background: var(--paper); color: var(--ink); border-color: var(--line); box-shadow: var(--sh-1); }
.btn--ghost:hover { border-color: rgba(16, 42, 86, .22); }
.btn--sm { height: 40px; padding: 0 16px; font-size: 14px; }
.btn:disabled { opacity: .7; cursor: progress; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 40; background: rgba(246, 248, 251, .82); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s ease, background .3s ease; }
.nav.is-scrolled { border-bottom-color: var(--line); background: rgba(255, 255, 255, .9); }
.nav__in { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; height: 68px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand__mark { width: auto; height: 34px; }
.brand__word { font: 700 19px/1 var(--f-head); letter-spacing: .14em; text-transform: uppercase; }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a { padding: 10px 0; font: 500 14px/1 var(--f-body); color: var(--ink-2); text-decoration: none; }
.nav__links a:hover { color: var(--blue-d); }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(56px, 11vh, 120px) 0 clamp(48px, 8vh, 84px); }
.hero::before {
  content: ""; position: absolute; inset: -10% 0 0 40%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(7, 160, 247, .14), transparent 72%);
}
.hero__in { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border: 1px solid var(--blue-100); background: var(--paper); border-radius: 999px; font: 500 12.5px/1.2 var(--f-mono); letter-spacing: .04em; color: var(--blue-d); box-shadow: var(--sh-1); }
.eyebrow__dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px var(--blue-100); }
.hero__title { margin-top: 26px; font: 600 clamp(42px, 5.6vw, 76px)/1.01 var(--f-head); letter-spacing: -.035em; text-wrap: balance; }
.hl { position: relative; color: var(--blue-d); white-space: nowrap; }
.hl::after {
  content: ""; position: absolute; left: 0; right: .1em; bottom: .02em; height: .14em; border-radius: 4px;
  background: linear-gradient(90deg, var(--blue), rgba(7, 160, 247, .2));
  transform-origin: left; transform: scaleX(0); transition: transform 1s var(--ease) .5s;
}
.is-ready .hl::after { transform: none; }
.hero__lede { margin-top: 24px; max-width: 35em; font-size: clamp(16px, 1.25vw, 18.5px); line-height: 1.65; color: var(--muted); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__trust { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; font-size: 14px; color: var(--muted); }
.hero__trust li { display: inline-flex; align-items: center; gap: 6px; }
.hero__trust b { font: 600 15px/1 var(--f-head); color: var(--ink); }
.hero__trust span { color: var(--green); font-weight: 700; }

/* where do you need progress */
.progress { padding: 26px 16px 12px; border-radius: 22px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--sh-3); }
.progress__t { padding: 0 12px 14px; font: 600 18px/1.25 var(--f-head); letter-spacing: -.01em; border-bottom: 1px solid var(--line-2); }
.progress__list { list-style: none; }
.progress__list li + li { border-top: 1px solid var(--line-2); }
.progress__list a {
  position: relative; display: grid; grid-template-columns: 30px minmax(0, 1fr) 16px; gap: 12px; align-items: start;
  padding: 16px 12px; color: inherit; text-decoration: none; border-radius: 12px;
  transition: background .2s ease;
}
.progress__list a:hover, .progress__list a:focus-visible { background: var(--blue-50); }
.progress__n { font: 500 12px/1.9 var(--f-mono); color: var(--faint); }
/* the text nudges over with a transform, so nothing reflows on hover */
.progress__body { display: grid; gap: 4px; transition: transform .25s var(--ease-out); }
.progress__list a:hover .progress__body, .progress__list a:focus-visible .progress__body { transform: translateX(3px); }
.progress__body b { font: 600 16px/1.3 var(--f-head); color: var(--ink); }
.progress__body span { font-size: 14px; line-height: 1.5; color: var(--muted); }
.progress__list svg { width: 16px; height: 16px; margin-top: 4px; fill: none; stroke: var(--faint); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease), stroke .3s ease; }
.progress__list a:hover svg, .progress__list a:focus-visible svg { stroke: var(--blue-d); transform: translateX(3px); }
.progress__list a:hover .progress__n { color: var(--blue-d); }

/* ---------- tools strip ---------- */
.tools { padding: 34px 0 40px; border-block: 1px solid var(--line); background: rgba(255, 255, 255, .7); }
.tools__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px; margin-bottom: 22px; }
.tools__t { font: 600 16px/1.3 var(--f-head); color: var(--ink); }
.tools__sub { font: 500 12px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee__track { list-style: none; display: flex; gap: 12px; width: max-content; }
.js .marquee__track.is-moving { animation: marquee 80s linear infinite; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 6px)); } }
.tool {
  display: inline-flex; align-items: center; gap: 10px; flex: none;
  height: 48px; padding: 0 18px 0 14px;
  border-radius: 999px; background: var(--paper); border: 1px solid var(--line);
  font: 600 15px/1 var(--f-head); color: var(--ink-2); white-space: nowrap;
  transition: color .3s ease, border-color .3s ease, box-shadow .3s ease, transform .3s var(--ease);
}
.tool__ic { width: 20px; height: 20px; flex: none; fill: #8B95A7; transition: fill .3s ease; }
.tool__mono { width: 22px; height: 22px; flex: none; display: grid; place-items: center; border-radius: 7px; background: #8B95A7; color: #fff; font: 700 13px/1 var(--f-head); font-style: normal; transition: background .3s ease; }
.tool em { font: 500 10.5px/1 var(--f-mono); font-style: normal; letter-spacing: .06em; text-transform: uppercase; padding: 5px 7px; border-radius: 6px; background: var(--green-50); color: var(--green-d); }
.tool:hover { color: var(--ink); border-color: color-mix(in srgb, var(--c) 40%, var(--line)); box-shadow: var(--sh-2); transform: translateY(-2px); }
.tool:hover .tool__ic { fill: var(--c); }
.tool:hover .tool__mono, .tool--partner .tool__mono { background: var(--c); }

/* ---------- why now: renting vs. an app built for you ---------- */
.why { padding: clamp(84px, 13vh, 136px) 0 clamp(70px, 10vh, 110px); }
.versus { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-top: 46px; }
.vs { padding: clamp(22px, 3vw, 32px); border-radius: 22px; border: 1px solid var(--line); }
.vs--rent { background: var(--line-2); }
.vs--own { background: var(--paper); border-color: var(--blue-100); box-shadow: var(--sh-3); }
.vs__k { font: 500 11.5px/1.3 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.vs--own .vs__k { color: var(--blue-d); }
.vs h3 { margin-top: 10px; font: 600 clamp(22px, 2vw, 26px)/1.2 var(--f-head); letter-spacing: -.015em; text-wrap: balance; }
.vs--rent h3 { color: var(--ink-2); }
.vs ul { list-style: none; display: grid; gap: 12px; margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(11, 18, 32, .08); }
.vs li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }
.vs li::before { content: "✕"; display: grid; place-items: center; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: rgba(11, 18, 32, .07); color: var(--faint); font-size: 10.5px; font-weight: 700; }
.vs--rent li { color: var(--muted); }
.vs--own li::before { content: "✓"; background: var(--green-50); color: var(--green); font-size: 12px; }
.shift { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 10px clamp(20px, 3vw, 40px); align-items: baseline; margin-top: 16px; padding: clamp(20px, 2.6vw, 28px) clamp(22px, 3vw, 32px); border-radius: 22px; background: var(--night); color: #C7D1E2; background-image: radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1.2px); background-size: 24px 24px; }
.shift__k { font: 500 12px/1.3 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: #6CCBFF; }
.shift__p { font-size: 16.5px; line-height: 1.65; max-width: 36em; }
.shift__p b { color: #fff; font-weight: 600; }

/* ---------- what we build ---------- */
.build { padding: clamp(84px, 13vh, 136px) 0; background: var(--paper); border-block: 1px solid var(--line); }
.build .outcome { background: var(--bg); border-color: var(--line-2); box-shadow: none; scroll-margin-top: 20px; }
.build .outcome:hover { background: var(--paper); }
.build .outcome:target { background: var(--paper); border-color: var(--blue-100); box-shadow: 0 0 0 3px rgba(10, 111, 214, .28), var(--sh-2); }

/* ---------- how we measure ---------- */
.measure { padding: clamp(84px, 13vh, 136px) 0 clamp(70px, 10vh, 110px); }
.outcomes { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 46px; }
.outcomes--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
/* cards aren't links, so hover only tints the border: no lift that suggests a click */
.outcome { display: flex; flex-direction: column; padding: 24px 22px; border-radius: 20px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--sh-1); transition: border-color .25s ease, background .25s ease; }
.outcome:hover { border-color: var(--blue-100); }
.outcome__ic { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 13px; background: var(--blue-50); color: var(--blue-d); }
.outcome__ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.outcome h3 { margin-top: 20px; font: 600 20px/1.2 var(--f-head); letter-spacing: -.01em; text-wrap: balance; }
.outcome p { margin-top: 8px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.outcome__track { margin-top: auto !important; padding-top: 18px; font: 400 12.5px/1.6 var(--f-mono) !important; color: var(--ink-2) !important; }
.outcome__track span { display: block; margin-bottom: 4px; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-d); }

/* scorecard */
.score { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 56px); align-items: center; margin-top: 26px; padding: clamp(22px, 3vw, 36px); border-radius: 24px; background: var(--night); color: #C7D1E2; background-image: radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1.2px); background-size: 24px 24px; }
.score__t { font: 600 22px/1.2 var(--f-head); color: #fff; letter-spacing: -.01em; }
.score__p { margin-top: 10px; font-size: 15px; line-height: 1.6; }
.score__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.score__tabs button { padding: 10px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); background: transparent; color: #C7D1E2; font: 500 13.5px/1 var(--f-body); cursor: pointer; transition: background .15s ease, border-color .15s ease, color .15s ease, transform .1s ease; }
.score__tabs button:active { transform: scale(.97); }
.score__tabs button:hover { border-color: rgba(108, 203, 255, .6); color: #fff; }
.score__tabs button[aria-selected="true"] { background: #fff; border-color: #fff; color: var(--ink); }
.score__card { padding: 22px 22px 18px; border-radius: 18px; background: #0E1729; border: 1px solid rgba(255, 255, 255, .08); }
.score__metric { display: grid; gap: 4px; }
.score__metric b { font: 600 18px/1.2 var(--f-head); color: #fff; }
.score__metric span { font-size: 14px; color: #9FB0C9; }
.score__scale { --b: 87%; --t: 13%; --r: 12%; position: relative; height: 92px; margin: 18px 6px 6px; }
.score__axis { position: absolute; left: 0; right: 0; top: 46px; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .08); }
.score__gain { position: absolute; top: 46px; height: 6px; border-radius: 6px; left: min(var(--r), var(--b)); width: calc(max(var(--r), var(--b)) - min(var(--r), var(--b))); background: linear-gradient(90deg, #22C58B, rgba(34, 197, 139, .25)); transition: left .45s var(--ease-in-out), width .45s var(--ease-in-out); }
.score__mk { position: absolute; top: 0; bottom: 0; left: var(--x); width: 0; transition: left .45s var(--ease-in-out); }
.score__mk i { position: absolute; left: -8px; top: 41px; width: 16px; height: 16px; border-radius: 50%; }
.score__mk em { position: absolute; transform: translateX(-50%); font: 500 10.5px/1 var(--f-mono); font-style: normal; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.score__mk--base { --x: var(--b); }
.score__mk--base i { background: #8796B0; box-shadow: 0 0 0 4px rgba(135, 150, 176, .18); }
.score__mk--base em { top: 6px; color: #9FB0C9; }
.score__mk--target { --x: var(--t); }
.score__mk--target i { border: 2px dashed #6CCBFF; background: #0E1729; }
.score__mk--target em { bottom: 4px; color: #6CCBFF; }
.score__mk--target::before { content: ""; position: absolute; left: -1px; top: 24px; height: 50px; border-left: 2px dashed rgba(108, 203, 255, .45); }
.score__mk--result { --x: var(--r); }
.score__mk--result i { background: #22C58B; box-shadow: 0 0 0 5px rgba(34, 197, 139, .22); }
.score__mk--result em { top: 6px; color: #5BE0AE; }
.score__vals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.score__vals div { padding: 12px 12px 10px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .06); }
.score__vals dt { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: 13px; color: #C7D1E2; }
.score__vals dt small { width: 100%; font-size: 11.5px; color: #8796B0; }
.score__vals dd { margin-top: 6px; font: 600 clamp(20px, 2vw, 26px)/1 var(--f-head); color: #fff; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sw { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.sw--base { background: #8796B0; }
.sw--target { border: 2px dashed #6CCBFF; }
.sw--result { background: #22C58B; }
.score__note { margin-top: 14px; font-size: 12.5px; color: #8796B0; }

/* ---------- tech checkup ---------- */
.checkup { padding: clamp(80px, 12vh, 128px) 0; background: var(--paper); border-block: 1px solid var(--line); }
.checkup__in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.checkup__facts { list-style: none; display: grid; gap: 10px; margin-top: 26px; font-size: 15px; color: var(--ink-2); }
.checkup__facts li { display: flex; align-items: center; gap: 10px; }
.checkup__facts li::before { content: "✓"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--green-50); color: var(--green); font-size: 12px; font-weight: 700; flex: none; }
.quiz { position: relative; min-height: 430px; padding: clamp(22px, 3vw, 34px); border-radius: 24px; background: var(--bg); border: 1px solid var(--line); box-shadow: var(--sh-2); }
.quiz__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.quiz__count { font: 500 12px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.quiz__back { min-height: 36px; padding: 6px 12px; border: 0; border-radius: 8px; background: transparent; color: var(--blue-d); font: 600 14px/1 var(--f-body); cursor: pointer; }
.quiz__back:hover { background: var(--blue-50); }
.quiz__bar { height: 6px; margin-top: 14px; border-radius: 6px; background: var(--line); overflow: hidden; }
.quiz__bar span { display: block; height: 100%; width: 0; border-radius: 6px; background: linear-gradient(90deg, var(--blue-d), var(--blue)); transition: width .5s var(--ease); }
.quiz__q { margin-top: 26px; font: 600 clamp(22px, 2.2vw, 28px)/1.2 var(--f-head); letter-spacing: -.02em; outline: none; text-wrap: balance; }
.quiz__opts { display: grid; gap: 10px; margin-top: 22px; }
.quiz__opt {
  display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; align-items: center;
  width: 100%; padding: 15px 16px; text-align: left; cursor: pointer;
  border-radius: 14px; border: 1px solid var(--line); background: var(--paper);
  font: 500 15.5px/1.4 var(--f-body); color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease, transform .25s var(--ease), background .2s ease;
}
.quiz__opt:hover { border-color: var(--blue-d); box-shadow: 0 0 0 4px rgba(10, 111, 214, .1); transform: translateX(3px); }
.quiz__opt:active { transform: scale(.985); transition-duration: .1s; }
.quiz__opt i { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; background: var(--line-2); font: 600 12px/1 var(--f-mono); font-style: normal; color: var(--muted); transition: background .2s ease, color .2s ease; }
.quiz__opt:hover i { background: var(--blue-d); color: #fff; }
.quiz__opt.is-picked { border-color: var(--blue-d); background: var(--blue-50); }
/* picked answers show a check, not just a color change */
.quiz__opt.is-picked i { background: var(--blue-d); color: #fff; font-size: 0; }
.quiz__opt.is-picked i::after { content: "✓"; font-size: 13px; }
.quiz__run.is-in .quiz__q, .quiz__run.is-in .quiz__opt { animation: q-in .45s var(--ease) both; }
.quiz__run.is-in .quiz__opt:nth-child(2) { animation-delay: .05s; }
.quiz__run.is-in .quiz__opt:nth-child(3) { animation-delay: .1s; }
@keyframes q-in { from { opacity: 0; transform: translateY(8px); } }
.quiz__nojs { margin-top: 16px; color: var(--muted); }
.quiz__done[hidden], .quiz__run[hidden] { display: none; }
.quiz__done { animation: q-in .5s var(--ease) both; }
.quiz__lbl { font: 500 12px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.quiz__lbl + .quiz__tips { margin-top: 12px; }
.quiz__stage { margin-top: 10px; font: 600 clamp(28px, 3vw, 38px)/1.05 var(--f-head); letter-spacing: -.025em; color: var(--blue-d); outline: none; }
.quiz__meter { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 16px; }
.quiz__meter span { height: 8px; border-radius: 6px; background: var(--line); transition: background .4s ease; }
.quiz__meter span.on { background: linear-gradient(90deg, var(--blue-d), var(--blue)); }
.quiz__score { margin-top: 8px; font: 500 12.5px/1 var(--f-mono); color: var(--faint); }
.quiz__desc { margin: 16px 0 22px; font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }
.quiz__tips { list-style: none; display: grid; gap: 10px; counter-reset: tip; }
.quiz__tips li { counter-increment: tip; display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.quiz__tips li::before { content: counter(tip); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--blue-50); color: var(--blue-d); font: 600 12px/1 var(--f-mono); }
.quiz__tips b { display: block; margin-bottom: 2px; font: 600 15px/1.3 var(--f-head); color: var(--ink); }
.quiz__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

/* ---------- services ---------- */
.services { padding: clamp(84px, 13vh, 136px) 0; }
.svcs { list-style: none; position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 46px; }
.svcs::before { content: ""; position: absolute; left: 30px; right: 30px; top: 74px; border-top: 1.5px dashed #C9D5E5; z-index: 0; }
.svc { position: relative; z-index: 1; padding: 22px 22px 26px; border-radius: 20px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--sh-1); scroll-margin-top: 100px; transition: box-shadow .35s ease, border-color .35s ease; }
.svc:hover, .svc:target { box-shadow: var(--sh-2); border-color: var(--blue-100); }
.svc:target { box-shadow: 0 0 0 3px rgba(10, 111, 214, .28), var(--sh-2); }
.svc__n { font: 500 12px/1 var(--f-mono); color: var(--faint); letter-spacing: .08em; }
.svc__ic { display: grid; place-items: center; width: 48px; height: 48px; margin: 14px 0 18px; border-radius: 14px; background: var(--blue-d); color: #fff; box-shadow: 0 10px 22px -12px rgba(10, 111, 214, .8); }
.svc__ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.svc h3 { font: 600 21px/1.2 var(--f-head); letter-spacing: -.01em; }
.svc__lede { margin-top: 6px; font-size: 15px; color: var(--blue-d); font-weight: 500; }
.svc ul { list-style: none; display: grid; gap: 9px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line-2); }
.svc ul li { position: relative; padding-left: 18px; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.svc ul li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 2px; background: var(--blue); }

/* ---------- who we serve ---------- */
.serve { padding: clamp(80px, 12vh, 124px) 0; background: var(--paper); border-block: 1px solid var(--line); }
.sectors { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 42px; }
.sector { position: relative; display: grid; gap: 6px; padding: 20px 46px 20px 20px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line-2); transition: background .25s ease, border-color .25s ease; }
.sector::after { content: ""; position: absolute; right: 18px; top: 22px; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--blue-100); transition: background .25s ease, border-color .25s ease; }
.sector:hover { background: var(--blue-50); border-color: var(--blue-100); }
.sector:hover::after { background: var(--blue); border-color: var(--blue); }
.sector b { font: 600 17px/1.25 var(--f-head); }
.sector span { font-size: 14.5px; line-height: 1.5; color: var(--muted); }

/* ---------- results ---------- */
.results { padding: clamp(84px, 13vh, 136px) 0; }
.stories { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 46px; }
.story { display: flex; flex-direction: column; padding: 26px 24px 24px; border-radius: 22px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--sh-1); }
.story__tag { align-self: flex-start; padding: 6px 10px; border-radius: 999px; background: var(--blue-50); color: var(--blue-d); font: 500 11px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; }
.story__big { margin-top: 18px; font: 600 23px/1.18 var(--f-head); letter-spacing: -.02em; text-wrap: balance; }
.story__num { display: inline-block; margin-right: 2px; font-size: 1.9em; line-height: .9; color: var(--blue-d); vertical-align: -.08em; }
.story__pwr { display: grid; gap: 10px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line-2); }
.story__pwr div { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 10px; }
.story__pwr dt { font: 500 11px/1.9 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.story__pwr dd { font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.story__q { margin-top: 20px; padding: 16px 18px; border-radius: 3px 14px 14px 3px; background: var(--bg); border-left: 3px solid var(--blue); font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.story__who { margin-top: auto; padding-top: 18px; display: grid; gap: 2px; font-size: 13.5px; color: var(--faint); }
.story__who b { font: 600 15px/1.3 var(--f-head); color: var(--ink); }
/* one featured story: details on the left, the quote on the right */
.stories.stories--one { grid-template-columns: minmax(0, 1fr); max-width: none; }
.story--feature { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 24px clamp(28px, 4vw, 60px); padding: clamp(26px, 3.2vw, 40px); }
.story--feature .story__big { font-size: clamp(26px, 2.6vw, 34px); }
.story--feature .story__side { display: flex; flex-direction: column; }
.story--feature .story__q { margin-top: 0; padding: 20px 22px; font-size: 16.5px; line-height: 1.65; }
.story--feature .story__q p + p { margin-top: 12px; }

/* ---------- proof / where we come from ---------- */
.roots { padding: clamp(84px, 13vh, 140px) 0; background: var(--night); color: #C7D1E2; background-image: radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1.2px); background-size: 24px 24px; }
.roots__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 90px); align-items: center; }
.roots__lede { margin-top: 22px; font-size: 17px; line-height: 1.7; max-width: 34em; }
.roots__lede strong { color: #fff; font-weight: 600; }
.roots__chip { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(108, 203, 255, .35); color: #fff; font: 500 13px/1 var(--f-body); }
.roots__chip span { color: #6CCBFF; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .1); border-radius: 20px; overflow: hidden; }
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 10px; padding: 26px 24px; background: #0E1729; }
.stat dd { font: 600 clamp(34px, 3.6vw, 48px)/1 var(--f-head); letter-spacing: -.03em; color: #fff; font-variant-numeric: tabular-nums; }
.stat dd span { color: #6CCBFF; }
.stat dt { font-size: 14px; color: #9FB0C9; }
.stat__src { display: block; margin-top: 4px; font-size: 12px; color: #6F82A0; }

/* ---------- faq ---------- */
.faq { padding: clamp(84px, 13vh, 136px) 0; }
.faq__in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq__list { display: grid; gap: 10px; }
.faq details { border-radius: 16px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--sh-1); transition: border-color .3s ease, box-shadow .3s ease; }
.faq details[open] { border-color: var(--blue-100); box-shadow: var(--sh-2); }
.faq summary { position: relative; list-style: none; padding: 20px 56px 20px 22px; font: 600 17px/1.35 var(--f-head); cursor: pointer; border-radius: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M7 11h8M11 7v8' stroke='%230A6FD6' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center/22px no-repeat; transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--blue-d); }
.faq details p { max-width: 37em; padding: 0 22px 20px; font-size: 15.5px; line-height: 1.65; color: var(--muted); }

/* ---------- brief ---------- */
.brief { padding: clamp(84px, 13vh, 140px) 0; background: var(--paper); border-top: 1px solid var(--line); }
.brief__in { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.brief__lede { margin-top: 18px; font-size: 17px; line-height: 1.65; color: var(--muted); max-width: 30em; }
.talk { display: flex; align-items: center; gap: 16px; margin-top: 34px; padding: 18px 20px; border-radius: 18px; background: var(--bg); border: 1px solid var(--line); box-shadow: var(--sh-1); max-width: 380px; }
.talk img { width: 44px; height: auto; flex: none; }
.talk__t { font: 600 16px/1.3 var(--f-head); }
.talk__link { display: inline-block; margin-top: 4px; font-weight: 600; font-size: 15px; }
.brief__card { position: relative; padding: clamp(22px, 3vw, 36px); border-radius: 24px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--sh-2); }
.brief__card.is-flash { animation: flash 1.4s ease-out; }
@keyframes flash { 0% { box-shadow: 0 0 0 4px rgba(10, 111, 214, .35), var(--sh-2); } 100% { box-shadow: 0 0 0 0 rgba(10, 111, 214, 0), var(--sh-2); } }
.bform { display: grid; gap: 18px; }
.bform__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.fld { display: grid; gap: 8px; border: 0; min-width: 0; }
.fld__l { font: 600 14px/1.3 var(--f-body); color: var(--ink); padding: 0; }
.fld__l em { font-style: normal; font-weight: 400; color: var(--faint); margin-left: 4px; }
.fld input[type="text"], .fld input[type="email"], .fld textarea {
  width: 100%; padding: 12px 14px;
  font: 400 16px/1.45 var(--f-body); color: var(--ink);
  background: #FBFCFE; border: 1px solid var(--line); border-radius: 12px;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.fld textarea { resize: vertical; min-height: 54px; }
.fld input::placeholder, .fld textarea::placeholder { color: #A1A9B8; }
.fld input:focus, .fld textarea:focus { outline: none; background: #fff; border-color: var(--blue-d); box-shadow: 0 0 0 4px rgba(10, 111, 214, .14); }
.fld .is-bad { border-color: #D93A42 !important; box-shadow: 0 0 0 4px rgba(217, 58, 66, .1); }
/* each problem is explained right under its own field */
.fld__err { display: flex; gap: 6px; font-size: 13.5px; line-height: 1.4; color: #C42F37; }
.fld__err::before { content: "!"; display: grid; place-items: center; width: 16px; height: 16px; flex: none; margin-top: 1px; border-radius: 50%; background: #C42F37; color: #fff; font: 700 11px/1 var(--f-body); }
.fld__err[hidden] { display: none; }
.radios { display: flex; flex-wrap: wrap; gap: 8px; }
.radios label { position: relative; }
.radios input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.radios span { display: block; padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line); background: #FBFCFE; font: 500 14px/1 var(--f-body); color: var(--ink-2); transition: background .15s ease, border-color .15s ease, color .15s ease; }
.radios input:checked + span { background: var(--blue-50); border-color: var(--blue-d); color: var(--blue-dd); }
/* the chosen option gets a check, not just a color */
.radios input:checked + span::before { content: "✓"; margin-right: 6px; font-weight: 700; }
.radios input:focus-visible + span { outline: 3px solid rgba(10, 111, 214, .45); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.bform__err { min-height: 0; font-size: 14px; color: #C42F37; }
.bform__err:empty { display: none; }
.bform__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.bform__fallback { display: grid; gap: 12px; justify-items: start; padding: 16px 18px; border-radius: 14px; background: var(--amber-50); color: #6B4405; font-size: 14px; line-height: 1.55; }
.bform__fallback[hidden], .bdone[hidden] { display: none; }
.bdone { display: grid; justify-items: center; text-align: center; gap: 12px; padding: 36px 8px; }
.bdone__avatar { width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-50); border: 1px solid var(--blue-100); box-shadow: 0 0 0 10px rgba(7, 160, 247, .07); }
.bdone__avatar img { height: 66px; width: auto; }
.bdone__t { font: 600 clamp(24px, 2.6vw, 32px)/1.15 var(--f-head); letter-spacing: -.02em; outline: none; }
.bdone__p { color: var(--muted); }
.bdone__p b { color: var(--ink); word-break: break-all; }

/* ---------- footer ---------- */
.foot { padding: 46px 0 40px; background: var(--bg); border-top: 1px solid var(--line); }
.foot__in { display: grid; grid-template-columns: auto 1fr; gap: 20px 40px; align-items: center; }
.foot__brand { display: flex; align-items: center; gap: 16px; }
.foot__brand img { width: 86px; height: auto; }
.foot__brand p { font: 500 14px/1.3 var(--f-head); color: var(--muted); max-width: 22em; }
.foot__links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 22px; }
.foot__links a { font-size: 14px; color: var(--ink-2); text-decoration: none; }
.foot__links a:hover { color: var(--blue-d); }
.foot__ssi { grid-column: 1 / -1; padding-top: 18px; border-top: 1px solid var(--line-2); font-size: 13px; color: var(--faint); }
.foot__ssi a { color: var(--ink-2); font-weight: 600; text-decoration: none; }
.foot__ssi a:hover { color: var(--blue-d); }

/* ---------- reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .55s ease-out var(--d, 0s), transform .65s var(--ease-out) var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1120px) {
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
  .outcomes, .svcs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svcs::before { display: none; }
  .stories { grid-template-columns: minmax(0, 1fr); max-width: 720px; }
}
@media (max-width: 940px) {
  .hero__in, .checkup__in, .roots__in, .brief__in, .faq__in, .score { grid-template-columns: minmax(0, 1fr); }
  .hero::before { inset: -6% 0 55% 20%; }
  .sec-head--split { grid-template-columns: minmax(0, 1fr); }
  .sectors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .versus, .shift, .story--feature { grid-template-columns: minmax(0, 1fr); }
  .quiz { min-height: 0; }
}
@media (max-width: 640px) {
  /* keep the main action in the sticky header on phones, just more compact */
  .nav__cta { padding: 0 14px; font-size: 13.5px; gap: 8px; }
  .brand__mark { height: 30px; }
  .brand__word { font-size: 17px; }
  .hero { padding-top: 40px; }
  .eyebrow { font-size: 11.5px; }
  .progress { padding: 20px 8px 6px; }
  .outcomes, .svcs, .sectors { grid-template-columns: minmax(0, 1fr); }
  .score__vals { grid-template-columns: minmax(0, 1fr); }
  .score__vals div { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .score__vals dt small { width: auto; }
  .score__vals dd { margin-top: 0; }
  .bform__row { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: minmax(0, 1fr); }
  .story__pwr div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .foot__in { grid-template-columns: minmax(0, 1fr); }
  .foot__links { justify-content: flex-start; }
  .tool { height: 42px; font-size: 14px; }
}

/* touch screens: every tap target at least 44px tall */
@media (pointer: coarse) {
  .btn--sm { height: 44px; }
  .radios span { padding-block: 14px; }
  .score__tabs button, .quiz__back { min-height: 44px; }
  .foot__links a, .foot__ssi a, .talk__link { display: inline-flex; align-items: center; min-height: 44px; }
  .foot__links { row-gap: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee__track { flex-wrap: wrap; width: auto; }
}
