/* =========================================================
   StructuredIQ — Healthcare Operations Intelligence
   Design tokens
   ========================================================= */
:root {
  /* Palette taken from the StructuredIQ logo: deep navy + teal/cyan */
  --paper: #F4F8FA;
  --paper-2: #E8F0F4;
  --card: #FFFFFF;
  --ink: #0A2352;        /* logo navy */
  --ink-2: #283F63;
  --muted: #546682;
  --line: #DAE4EC;
  --line-2: #C3D2DE;

  --night: #061631;
  --night-2: #0C2347;
  --night-line: rgba(255,255,255,.12);
  --on-night: #EAF3F8;
  --on-night-2: #A3B6CC;

  --blue: #0C8C88;       /* teal, dark enough for text on light */
  --sky: #22D3CF;        /* logo cyan, for dark backgrounds */
  --teal: #14B8B3;       /* logo teal */
  --teal-soft: #D4F4F2;
  --care: #E06A4E;       /* used sparingly: friction / problems */
  --care-soft: #FBE6DF;
  --grad: linear-gradient(100deg, #0C8C88 0%, #14B8B3 55%, #22D3CF 100%);
  --grad-night: linear-gradient(100deg, #22D3CF 0%, #7EEBE7 100%);

  --display: "Outfit", "Plus Jakarta Sans", system-ui, sans-serif;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;
  --shadow: 0 1px 2px rgba(10,35,82,.04), 0 12px 32px -12px rgba(10,35,82,.14);
  --ease: cubic-bezier(.2,.7,.2,1);
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2.5px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.dark { background: var(--night); color: var(--on-night); }
.muted { color: var(--muted); }
.dark .muted { color: var(--on-night-2); }
.narrow { max-width: 640px; }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 22px;
}
.eyebrow--light { color: var(--sky); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 0 rgba(20,184,179,.5); animation: ping 2.4s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(20,184,179,.45); } 70%,100% { box-shadow: 0 0 0 10px rgba(20,184,179,0); } }

.display, .h2 { font-family: var(--display); letter-spacing: -.035em; font-weight: 600; }
.display { font-size: clamp(42px, 5.2vw, 68px); line-height: 1.04; }
.h2 { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.06; }
.display em, .h2 em, .belief__big em, .vq--yes {
  font-style: normal; color: var(--blue);
  background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.dark .h2 em, .dark .vq--yes { color: var(--sky); background-image: var(--grad-night); }
.lead { font-size: clamp(18px, 1.5vw, 20px); color: var(--ink-2); max-width: 560px; margin-top: 28px; }
.body-lg { font-size: clamp(17px, 1.35vw, 19px); color: var(--ink-2); line-height: 1.65; }
.body-lg--light { color: var(--on-night-2); }

.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(48px, 6vw, 72px); }
.split .h2 { margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 24px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 16px; text-decoration: none; line-height: 1;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn span { transition: transform .25s var(--ease); }
.btn:hover span { transform: translateX(4px); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--blue); box-shadow: 0 10px 24px -10px rgba(12,140,136,.6); }
.btn--ghost { border-color: var(--line-2); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--sm { padding: 11px 18px; font-size: 14px; }
.btn--block { width: 100%; }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s, box-shadow .3s, backdrop-filter .3s; }
.nav.is-scrolled { background: rgba(245,248,250,.86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo img { height: 40px; width: auto; }
.footer__logo { height: 44px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a:not(.btn) { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink-2); position: relative; }
.nav__links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1.5px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav__links a:not(.btn):hover::after { transform: scaleX(1); }
.nav__cta { margin-left: 6px; }
.nav__toggle { display: none; width: 44px; height: 44px; border: 0; background: none; position: relative; }
.nav__toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 25px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  padding: clamp(130px, 16vw, 180px) 0 clamp(70px, 9vw, 120px);
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(34,211,207,.16), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(20,184,179,.08), transparent 60%),
    var(--paper);
  overflow: hidden;
}
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }

.journey { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 22px 18px; box-shadow: var(--shadow); position: relative; }
.journey__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.journey__title { font-weight: 700; font-size: 15px; }
.journey__tag { font-size: 12px; font-weight: 600; color: var(--muted); padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; }
.journey__svg { width: 100%; height: auto; margin: 6px 0 4px; overflow: visible; }
.journey__track { fill: none; stroke: var(--paper-2); stroke-width: 10; stroke-linecap: round; stroke-linejoin: round; }
.journey__path { fill: none; stroke: url(#pathGrad); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.journey__dot { fill: var(--ink); filter: drop-shadow(0 0 6px rgba(34,211,207,.9)); }
.node__halo { fill: var(--paper-2); transition: fill .5s, transform .5s var(--ease); transform-box: fill-box; transform-origin: center; }
.node__core { fill: var(--line-2); stroke: var(--card); stroke-width: 3; transition: fill .5s; }
.node.is-lit .node__halo { fill: var(--teal-soft); transform: scale(1.15); }
.node.is-lit .node__core { fill: var(--teal); }
.lbl__t { font: 700 14px var(--sans); fill: var(--ink); }
.lbl__s { font: 500 11.5px var(--sans); fill: var(--muted); }
.lbl__care { fill: var(--care); font-weight: 600; }
.journey__foot { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; }
.journey__foot span, .legend span { display: inline-flex; align-items: center; gap: 8px; }
.sw { display: inline-block; width: 10px; height: 10px; border-radius: 3px; flex: none; }
.sw--care { background: var(--care); } .sw--sky { background: var(--sky); } .sw--teal { background: var(--teal); }
.sw--ink { background: var(--ink); } .sw--muted { background: var(--line-2); }

/* ---------- Problem ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips i { font-style: normal; font-size: 12.5px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); }

.worries { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 96px); margin-top: clamp(80px, 10vw, 130px); align-items: start; }
.pull { margin: 0; position: sticky; top: 120px; }
.pull p { font-family: var(--display); font-size: clamp(28px, 3.2vw, 40px); line-height: 1.15; letter-spacing: -.015em; }
.pull em { color: var(--care); }
.pull footer { margin-top: 20px; color: var(--muted); font-weight: 600; }
.worry-list { border-top: 1px solid var(--line); }
.worry-list li { display: flex; align-items: baseline; gap: 22px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: clamp(19px, 1.8vw, 23px); font-weight: 500; letter-spacing: -.01em; transition: padding .3s var(--ease), color .3s; }
.worry-list li span { font-size: 13px; font-weight: 700; color: var(--care); min-width: 22px; }
.worry-list li:hover { padding-left: 10px; color: var(--blue); }
.note { grid-column: 2; margin-top: 28px; font-weight: 600; color: var(--ink); padding: 18px 22px; background: var(--care-soft); border-radius: var(--r-sm); border-left: 3px solid var(--care); }

/* ---------- Shift ---------- */
.shift { overflow: hidden; }
.shift::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 400px at 100% 0%, rgba(34,211,207,.14), transparent 60%); pointer-events: none; }
.shift .h2 { margin-bottom: 24px; }
.shift .body-lg { max-width: 640px; }
.compare { margin-top: 56px; background: var(--night-2); border: 1px solid var(--night-line); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 36px); position: relative; }
.compare__switch { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; background: rgba(255,255,255,.06); border-radius: 999px; padding: 5px; margin-bottom: 32px; }
.compare__switch button { position: relative; z-index: 1; border: 0; background: none; padding: 11px 22px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--on-night-2); transition: color .3s; white-space: nowrap; }
.compare__switch button[aria-selected="true"] { color: var(--night); }
.compare__pill { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px; background: var(--on-night); transition: transform .4s var(--ease), background .3s; }
.compare[data-mode="ours"] .compare__pill { transform: translateX(100%); background: var(--sky); }
.steps { display: grid; gap: 12px; counter-reset: s; }
.steps--usual { grid-template-columns: repeat(4, 1fr); }
.steps--ours { grid-template-columns: repeat(6, 1fr); }
.steps li { counter-increment: s; position: relative; padding: 20px 18px 22px; border-radius: var(--r); background: rgba(255,255,255,.04); border: 1px solid var(--night-line); font-size: 15.5px; color: var(--on-night-2); min-height: 132px; animation: stepIn .5s var(--ease) both; }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--on-night-2); margin-bottom: 18px; opacity: .7; }
.steps li b { display: block; color: var(--on-night); font-size: 19px; font-weight: 600; margin-bottom: 4px; }
.steps--ours li { border-color: rgba(34,211,207,.28); }
.steps--ours li::before { color: var(--sky); opacity: 1; }
.steps--ours li:nth-child(5) { background: rgba(34,211,207,.12); }
.steps--ours li:nth-child(6) { background: rgba(20,184,179,.2); border-color: rgba(20,184,179,.5); }
.steps li:nth-child(2) { animation-delay: .06s; } .steps li:nth-child(3) { animation-delay: .12s; }
.steps li:nth-child(4) { animation-delay: .18s; } .steps li:nth-child(5) { animation-delay: .24s; } .steps li:nth-child(6) { animation-delay: .3s; }
@keyframes stepIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.compare__result { margin-top: 22px; padding: 16px 20px; border-radius: var(--r-sm); font-weight: 500; }
.compare__result--bad { background: rgba(221,100,71,.14); color: #F6C7B9; border-left: 3px solid var(--care); }
.compare__result--good { background: rgba(20,184,179,.18); color: #BDF2EF; border-left: 3px solid var(--teal); }

.swaps { margin-top: 56px; display: grid; gap: 0; border-top: 1px solid var(--night-line); }
.swap { display: grid; grid-template-columns: 1fr auto 1.4fr; align-items: center; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--night-line); }
.swap__from { color: var(--on-night-2); text-decoration: line-through; text-decoration-color: rgba(221,100,71,.7); text-decoration-thickness: 1.5px; font-size: 18px; }
.swap__arrow { color: var(--sky); font-size: 22px; }
.swap__to { font-family: var(--display); font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -.01em; }

/* ---------- Pillars ---------- */
.pillars .h2 { margin-bottom: clamp(44px, 6vw, 72px); }
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px 30px 36px; position: relative; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s; }
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--line-2); }
.pillar__n { position: absolute; top: 28px; right: 30px; font-family: var(--display); font-size: 15px; color: var(--muted); }
.pillar__icon { width: 56px; height: 56px; border-radius: 16px; background: var(--paper-2); display: grid; place-items: center; margin-bottom: 44px; }
.pillar__icon svg { width: 30px; height: 30px; fill: none; stroke: var(--blue); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.pillar:nth-child(2) .pillar__icon svg { stroke: var(--care); }
.pillar:nth-child(3) .pillar__icon svg { stroke: var(--teal); }
.pillar h3 { font-family: var(--display); font-size: 27px; line-height: 1.15; letter-spacing: -.01em; margin-bottom: 14px; }
.pillar p { color: var(--ink-2); }

/* ---------- Intelligence ---------- */
.intel { background: var(--paper-2); }
.intel__ui { display: grid; grid-template-columns: 300px 1fr; gap: 20px; }
.intel__tabs { display: flex; flex-direction: column; gap: 6px; }
.intel__tabs button { text-align: left; border: 1px solid transparent; background: transparent; padding: 16px 20px; border-radius: 14px; font-weight: 600; font-size: 16px; color: var(--ink-2); display: flex; justify-content: space-between; align-items: center; transition: background .25s, color .25s, border-color .25s; }
.intel__tabs button::after { content: "→"; opacity: 0; transform: translateX(-6px); transition: opacity .25s, transform .25s var(--ease); }
.intel__tabs button:hover { background: rgba(255,255,255,.5); }
.intel__tabs button[aria-selected="true"] { background: var(--card); border-color: var(--line); color: var(--ink); box-shadow: var(--shadow); }
.intel__tabs button[aria-selected="true"]::after { opacity: 1; transform: none; color: var(--blue); }
.intel__panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3.4vw, 44px); display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px 40px; box-shadow: var(--shadow); min-height: 340px; }
.intel__panel.is-swapping > * { animation: fadeUp .45s var(--ease) both; }
.intel__panel.is-swapping > *:nth-child(2) { animation-delay: .05s; }
.intel__panel.is-swapping > *:nth-child(3) { animation-delay: .1s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; margin-bottom: 18px; }
.tag--care { background: var(--care-soft); color: #A5402A; }
.tag--teal { background: var(--teal-soft); color: #0A6F6B; }
.intel__before { font-family: var(--display); font-size: clamp(21px, 2vw, 26px); line-height: 1.3; color: var(--ink-2); }
.intel__after li { position: relative; padding: 14px 0 14px 34px; border-bottom: 1px solid var(--line); font-weight: 500; }
.intel__after li:last-child { border-bottom: 0; }
.intel__after li::before { content: ""; position: absolute; left: 0; top: 17px; width: 20px; height: 20px; border-radius: 50%; background: var(--teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.5L14 7.5' fill='none' stroke='%230C8C88' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; }
.intel__metric { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding-top: 22px; border-top: 1px dashed var(--line-2); }
.intel__metric-k { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.intel__metric-v { font-weight: 700; color: var(--blue); }

/* ---------- Outcomes ---------- */
.outcomes .h2 { margin-bottom: 22px; }
.q-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; margin-top: clamp(44px, 6vw, 64px); }
.q { background: var(--card); padding: 30px 28px 32px; transition: background .3s; }
.q:hover { background: #fff; }
.q h3 { font-family: var(--display); font-size: 23px; line-height: 1.2; letter-spacing: -.01em; margin-bottom: 10px; }
.q p { color: var(--muted); font-size: 15px; margin-bottom: 26px; }
.q__bar { display: grid; gap: 7px; }
.q__bar span { display: block; height: 8px; border-radius: 4px; background: var(--line-2); width: calc(var(--w) * 100%); transform-origin: left; transform: scaleX(0); transition: transform 1.1s var(--ease); }
.q__bar span:last-child { background: var(--teal); transition-delay: .25s; }
.q.is-in .q__bar span { transform: scaleX(1); }
.legend { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 20px; font-size: 14px; color: var(--muted); }
.legend__note { margin-left: auto; font-style: italic; }

/* ---------- Method ---------- */
.method { overflow: hidden; }
.loop { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: none; }
.loop li { position: relative; padding: 28px 26px 30px; border-radius: var(--r-lg); background: var(--night-2); border: 1px solid var(--night-line); transition: border-color .3s, transform .4s var(--ease); }
.loop li:hover { border-color: rgba(34,211,207,.45); transform: translateY(-4px); }
.loop__n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--sky); color: var(--sky); font-weight: 700; margin-bottom: 26px; }
.loop h3 { font-family: var(--display); font-size: 24px; letter-spacing: -.01em; margin-bottom: 8px; }
.loop p { color: var(--on-night-2); font-size: 15.5px; }
.loop__last { background: linear-gradient(160deg, rgba(20,184,179,.32), rgba(20,184,179,.08)) !important; border-color: rgba(20,184,179,.55) !important; }
.loop__last .loop__n { border-color: var(--teal); background: var(--teal); color: #fff; }
.loop__back { display: inline-block; margin-top: 18px; font-size: 13px; font-weight: 700; color: #8FEAE6; letter-spacing: .04em; }

/* ---------- Platform ---------- */
.hub svg { width: 100%; max-width: 460px; margin: 0 auto; overflow: visible; }
.hub__ring { fill: none; stroke: var(--line-2); stroke-dasharray: 3 6; }
.hub__ring--in { stroke: var(--line); stroke-dasharray: none; }
.hub__spokes line { stroke: var(--line-2); stroke-width: 1.5; }
.hub__core { fill: var(--ink); }
.hub__t { fill: #fff; font: 700 15px var(--sans); }
.hub__nodes circle { fill: var(--card); stroke: var(--line-2); stroke-width: 1.5; transition: stroke .3s, fill .3s; }
.hub__nodes text { font: 700 11px var(--sans); fill: var(--ink); text-anchor: middle; }
.hub__nodes g:hover circle { stroke: var(--blue); fill: #fff; }
.hub__pulse { fill: var(--sky); filter: drop-shadow(0 0 4px rgba(34,211,207,.9)); }

/* ---------- Belief ---------- */
.belief { background: var(--paper); border-top: 1px solid var(--line); }
.belief__inner { max-width: 980px; text-align: center; }
.copyable { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; margin: 10px 0 40px; }
.copyable li { font-size: clamp(18px, 2vw, 22px); color: var(--muted); position: relative; font-weight: 500; }
.copyable li::after { content: ""; position: absolute; left: -4px; right: -4px; top: 55%; height: 2px; background: var(--care); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease) .5s; }
.copyable li.is-in::after { transform: scaleX(1); }
.belief__big { font-family: var(--display); font-size: clamp(30px, 4.2vw, 54px); line-height: 1.12; letter-spacing: -.03em; font-weight: 500; }
.belief__big em { font-weight: 600; }
.belief__sig { margin-top: 52px; display: inline-flex; flex-direction: column; gap: 8px; padding: 26px 36px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); }
.belief__sig p:first-child { font-size: 19px; }
.belief__sig strong { color: var(--teal); }

/* ---------- Public ---------- */
.public { background: var(--paper-2); }
.public__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 80px); }
.public .h2 { margin-bottom: 24px; }
.chips--std { margin-top: 30px; }
.chips--std i { background: var(--card); border: 1px solid var(--line); font-size: 13.5px; padding: 7px 13px; }
.public__lists { display: grid; gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 28px 30px; }
.card h3 { font-family: var(--display); font-size: 24px; margin-bottom: 16px; }
.card--soft { background: transparent; border-style: dashed; border-color: var(--line-2); }
.ticks li { position: relative; padding: 10px 0 10px 28px; border-top: 1px solid var(--line); font-size: 15.5px; }
.ticks li:first-child { border-top: 0; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 18px; width: 12px; height: 7px; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg); }
.ticks--plain li::before { width: 7px; height: 7px; border: 0; border-radius: 50%; background: var(--blue); transform: none; top: 19px; }
.fine { margin-top: 14px; font-size: 13px; color: var(--muted); }

/* ---------- Trust ---------- */
.trust__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.trust__grid li { padding: 26px 24px; border-radius: var(--r); border: 1px solid var(--line); background: var(--card); position: relative; padding-left: 64px; }
.trust__grid li::before { content: ""; position: absolute; left: 22px; top: 26px; width: 26px; height: 26px; border-radius: 8px; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3l7 3v5c0 4.5-3 8.2-7 10-4-1.8-7-5.5-7-10V6l7-3z' fill='none' stroke='%2322D3CF' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.trust__grid b { display: block; font-size: 17px; margin-bottom: 4px; }
.trust__grid span { color: var(--muted); font-size: 15px; }

/* ---------- Vision ---------- */
.vision { text-align: center; overflow: hidden; }
.vision::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 360px at 50% 60%, rgba(20,184,179,.2), transparent 70%); pointer-events: none; }
.vision__inner { position: relative; max-width: 960px; }
.vision__inner .body-lg { margin: 0 auto; }
.vision__quotes { display: grid; gap: 22px; margin: 56px 0; }
.vq { font-family: var(--display); line-height: 1.12; letter-spacing: -.02em; }
.vq--no { font-size: clamp(24px, 2.8vw, 34px); color: var(--on-night-2); opacity: .55; text-decoration: line-through; text-decoration-color: rgba(221,100,71,.75); text-decoration-thickness: 2px; }
.vq--yes { font-size: clamp(34px, 5vw, 64px); font-weight: 600; letter-spacing: -.035em; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact .h2 { margin-bottom: 24px; }
.contact__details { margin-top: 40px; border-top: 1px solid var(--line); }
.contact__details li { display: grid; grid-template-columns: 90px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.contact__details span { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
.contact__details a { text-decoration: none; color: var(--blue); word-break: break-word; }
.contact__details a:hover { text-decoration: underline; }
.form { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow); display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 7px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.form input, .form textarea { font: inherit; font-size: 16px; font-weight: 500; color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 14px; transition: border-color .2s, background .2s, box-shadow .2s; width: 100%; }
.form textarea { resize: vertical; min-height: 110px; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(12,140,136,.12); }
.form input.is-invalid { border-color: var(--care); }
.form__topics { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.form__topics legend { font-size: 14px; font-weight: 600; color: var(--ink-2); margin-bottom: 10px; padding: 0; }
.pick { display: inline-flex !important; cursor: pointer; }
.pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pick span { padding: 9px 14px; border-radius: 999px; border: 1.5px solid var(--line); font-size: 14px; font-weight: 600; transition: all .2s; user-select: none; }
.pick:hover span { border-color: var(--line-2); }
.pick input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.pick input:focus-visible + span { outline: 2.5px solid var(--blue); outline-offset: 2px; }
.form__status { font-size: 14px; color: var(--muted); min-height: 1.2em; text-align: center; }
.form__status.is-ok { color: var(--teal); font-weight: 600; }
.form__status.is-err { color: var(--care); font-weight: 600; }

/* ---------- Footer ---------- */
.footer { padding: 64px 0 48px; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer__brand p { margin-top: 10px; color: var(--on-night); }
.footer__brand .muted { max-width: 340px; font-size: 15px; }
.footer__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; align-content: start; }
.footer__nav a { text-decoration: none; color: var(--on-night-2); font-size: 15px; }
.footer__nav a:hover { color: #fff; }
.footer__legal { color: var(--on-night-2); font-size: 14px; display: grid; gap: 6px; align-content: start; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .steps--ours { grid-template-columns: repeat(3, 1fr); }
  }

@media (max-width: 960px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 24px;
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .3s var(--ease);
    box-shadow: 0 20px 40px -20px rgba(10,35,82,.25);
  }
  .nav__links.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav__links a:not(.btn) { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav__links a:not(.btn)::after { display: none; }
  .nav__cta { margin: 18px 0 0; }
  .nav.menu-open { background: var(--paper); }

  .hero__grid, .split, .worries, .public__grid, .contact__grid { grid-template-columns: 1fr; }
  .split { align-items: start; }
  .pull, .hub { position: static; }
  .note { grid-column: auto; }
      .pillar-grid, .q-grid, .trust__grid { grid-template-columns: 1fr 1fr; }
  .intel__ui { grid-template-columns: 1fr; }
  .intel__tabs { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; margin: 0 calc(var(--gutter) * -1); padding-left: var(--gutter); padding-right: var(--gutter); scrollbar-width: none; }
  .intel__tabs::-webkit-scrollbar { display: none; }
  .intel__tabs button { flex: none; scroll-snap-align: start; padding: 12px 16px; font-size: 15px; white-space: nowrap; background: rgba(255,255,255,.4); }
  .intel__tabs button::after { display: none; }
  .loop { grid-template-columns: 1fr 1fr; }
  .hub svg { max-width: 380px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero__ctas .btn { width: 100%; }
  .journey { padding: 16px 14px 14px; border-radius: 22px; }
      .pillar-grid, .q-grid, .trust__grid, .loop, .form__row { grid-template-columns: 1fr; }
  .steps--usual, .steps--ours { grid-template-columns: 1fr 1fr; }
  .steps li { min-height: 0; padding: 16px 14px; font-size: 14.5px; }
  .steps li b { font-size: 17px; }
  .compare__switch { display: grid; width: 100%; }
  .compare__switch button { padding: 11px 10px; font-size: 14px; }
  .swap { grid-template-columns: 1fr; gap: 4px; }
  .swap__arrow { display: none; }
  .intel__panel { grid-template-columns: 1fr; gap: 24px; }
  .legend__note { margin-left: 0; width: 100%; }
  .copyable { flex-direction: column; align-items: center; gap: 8px; }
  .belief__sig { padding: 22px; }
  .contact__details li { grid-template-columns: 1fr; gap: 2px; }
  .footer__inner { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hub__pulse { display: none; }
}

/* =========================================================
   v2 — creative pass
   ========================================================= */

/* ---------- Hero floating insight cards ---------- */
.float { position: absolute; display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px 18px 12px 12px; box-shadow: 0 22px 44px -18px rgba(10,35,82,.4); animation: floaty 6s ease-in-out infinite; z-index: 2; }
.float b { display: block; font-size: 14px; color: var(--ink); line-height: 1.3; }
.float div span { display: block; font-size: 12.5px; color: var(--muted); }
.float__icon { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--care-soft); color: var(--care); font-weight: 800; font-size: 17px; }
.float__icon--teal { background: var(--teal-soft); color: var(--blue); }
.float--a { top: -46px; right: -26px; }
.float--b { top: 118px; left: -44px; animation-delay: -3s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- Outcome band (marquee) ---------- */
.band { background: var(--ink); color: #fff; overflow: hidden; padding: 24px 0; }
.band__track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.band:hover .band__track { animation-play-state: paused; }
.band__list { display: flex; }
.band__list li { display: flex; align-items: center; font-family: var(--display); font-size: clamp(20px, 2.2vw, 28px); font-weight: 500; letter-spacing: -.015em; white-space: nowrap; padding-right: 30px; }
.band__list li::before { content: "✦"; color: var(--sky); font-size: .6em; margin-right: 30px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Problem: the 7:42 AM phone ---------- */
.worries { grid-template-columns: 1fr 1fr; align-items: center; }
.worries .pull { position: static; }
.worries .note { grid-column: auto; }
.worry-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.worry-tags li { padding: 8px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-weight: 600; font-size: 14.5px; color: var(--ink-2); display: inline-flex; align-items: center; gap: 8px; }
.worry-tags li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--care); }
.phone { justify-self: center; width: min(100%, 380px); padding: 11px; border-radius: 50px; background: linear-gradient(160deg, #1B3A6E, #061631 60%); box-shadow: 0 50px 90px -34px rgba(10,35,82,.6), inset 0 0 0 1.5px rgba(255,255,255,.1); transform: rotate(-2.5deg); transition: transform .8s var(--ease); }
.phone:hover { transform: rotate(0); }
.phone__screen { position: relative; overflow: hidden; border-radius: 40px; padding: 14px 14px 40px; min-height: 610px; color: #fff;
  background: radial-gradient(380px 300px at 15% 0%, rgba(34,211,207,.38), transparent 60%), radial-gradient(380px 380px at 100% 100%, rgba(224,106,78,.32), transparent 60%), linear-gradient(180deg, #0F2A55, #081B3A); }
.phone__bar { display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 700; padding: 4px 14px 0; opacity: .9; }
.phone__notch { width: 96px; height: 26px; border-radius: 999px; background: #000; }
.phone__time { font-family: var(--display); font-size: 76px; font-weight: 500; text-align: center; line-height: 1; margin-top: 28px; letter-spacing: -.04em; }
.phone__date { text-align: center; font-size: 13px; opacity: .78; margin: 8px 0 24px; }
.notifs { display: grid; gap: 8px; }
.notif { display: grid; grid-template-columns: 34px 1fr auto; gap: 11px; align-items: start; padding: 12px; border-radius: 18px; background: rgba(255,255,255,.13); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.1); opacity: 0; transform: translateY(-16px) scale(.96); transition: opacity .5s var(--ease), transform .7s var(--ease); }
.phone.is-in .notif { opacity: 1; transform: none; }
.phone.is-in .notif:nth-child(2) { transition-delay: .45s; }
.phone.is-in .notif:nth-child(3) { transition-delay: .9s; }
.phone.is-in .notif:nth-child(4) { transition-delay: 1.35s; }
.phone.is-in .notif:nth-child(5) { transition-delay: 1.8s; }
.no-js .notif { opacity: 1; transform: none; }
.notif__app { width: 34px; height: 34px; border-radius: 10px; background: #fff; color: var(--ink); display: grid; place-items: center; font-size: 11px; font-weight: 800; }
.notif:first-child .notif__app { background: var(--care); color: #fff; }
.notif b { display: block; font-size: 13.5px; line-height: 1.3; font-weight: 700; }
.notif div span { display: block; font-size: 12px; opacity: .72; margin-top: 2px; }
.notif time { font-size: 11px; opacity: .6; }
.phone__tag { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; font-size: 10.5px; opacity: .5; letter-spacing: .12em; text-transform: uppercase; }

/* ---------- Pillar visuals ---------- */
.viz { height: 132px; margin: 4px 0 30px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); padding: 14px; position: relative; overflow: hidden; }
.viz--flow svg { width: 100%; height: 100%; }
.viz__messy { fill: none; stroke: var(--care); stroke-width: 2.5; stroke-dasharray: 5 6; opacity: .5; }
.viz__clean { fill: none; stroke: var(--teal); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 240; stroke-dashoffset: 240; transition: stroke-dashoffset 1.5s var(--ease) .3s; }
.pillar.is-in .viz__clean { stroke-dashoffset: 0; }
.viz__dots circle { fill: #fff; stroke: var(--ink); stroke-width: 2.5; }
.viz__lbl { font: 600 12px var(--sans); fill: var(--muted); }
.viz__lbl--teal { fill: var(--blue); }
.viz--rows { display: grid; gap: 7px; align-content: center; }
.viz--rows span { display: flex; justify-content: space-between; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 7px 10px; font-size: 13px; }
.viz--rows i { font-style: normal; font-weight: 600; color: var(--ink-2); }
.viz--rows em { font-style: normal; font-weight: 700; font-size: 11.5px; color: var(--blue); background: var(--teal-soft); padding: 3px 8px; border-radius: 999px; white-space: nowrap; opacity: 0; transform: translateX(10px); transition: opacity .5s, transform .6s var(--ease); }
.pillar.is-in .viz--rows em { opacity: 1; transform: none; }
.pillar.is-in .viz--rows span:nth-child(1) em { transition-delay: .5s; }
.pillar.is-in .viz--rows span:nth-child(2) em { transition-delay: 1s; }
.pillar.is-in .viz--rows span:nth-child(3) em { transition-delay: 1.5s; }
.viz--bars { display: flex; align-items: flex-end; gap: 8px; padding: 20px 16px 14px; }
.viz--bars span { flex: 1; height: calc(var(--h) * 100%); border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, var(--sky), var(--teal)); transform-origin: bottom; transform: scaleY(.12); transition: transform 1s var(--ease); }
.viz--bars span:nth-child(-n+3) { background: var(--line-2); }
.pillar.is-in .viz--bars span { transform: none; }
.viz--bars span:nth-child(2) { transition-delay: .08s; } .viz--bars span:nth-child(3) { transition-delay: .16s; } .viz--bars span:nth-child(4) { transition-delay: .24s; }
.viz--bars span:nth-child(5) { transition-delay: .32s; } .viz--bars span:nth-child(6) { transition-delay: .4s; } .viz--bars span:nth-child(7) { transition-delay: .48s; }
.viz__base { position: absolute; left: 12px; right: 12px; top: 20px; border-top: 1.5px dashed var(--care); font-style: normal; font-size: 11px; font-weight: 700; color: var(--care); padding-top: 3px; text-align: right; }

/* ---------- Outcomes scorecard ---------- */
.scorecard { margin-top: clamp(44px, 6vw, 64px); background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.scorecard__head { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; padding: 15px 24px; background: var(--ink); color: #fff; font-size: 14px; }
.scorecard__dots { display: flex; gap: 6px; }
.scorecard__dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.25); }
.scorecard__title { font-weight: 700; }
.scorecard__chips { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--on-night-2); font-size: 13px; }
.scorecard__chips .sw--muted { background: rgba(255,255,255,.35); }
.scorecard .q-grid { margin: 0; border: 0; border-radius: 0; }
.q { position: relative; }
.q h3 { padding-right: 44px; }
.q__dir { position: absolute; top: 26px; right: 24px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--teal-soft); color: var(--blue); font-weight: 800; }
.scorecard__foot { padding: 14px 24px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); font-style: italic; }

/* ---------- Who it's for ---------- */
.roles { background: var(--paper-2); }
.role-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.role { position: relative; overflow: hidden; padding: 30px 28px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s, border-color .4s; }
.role::after { content: ""; position: absolute; right: -80px; bottom: -80px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(34,211,207,.25), transparent 70%); opacity: 0; transition: opacity .5s; pointer-events: none; }
.role:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--line-2); }
.role:hover::after { opacity: 1; }
.role__av { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 17px; background: var(--grad); color: #fff; font-family: var(--display); font-weight: 700; font-size: 16px; margin-bottom: 30px; box-shadow: 0 10px 22px -10px rgba(20,184,179,.7); }
.role h3 { font-family: var(--display); font-size: 22px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 10px; }
.role p { color: var(--ink-2); font-size: 15.5px; }
.role__gain { display: inline-block; margin-top: 22px; font-size: 12.5px; font-weight: 700; letter-spacing: .03em; color: var(--blue); background: var(--teal-soft); padding: 6px 12px; border-radius: 999px; }
.role--patient { background: var(--ink); border-color: var(--ink); color: #fff; }
.role--patient p { color: var(--on-night-2); }
.role--patient .role__av { background: var(--care); box-shadow: 0 10px 22px -10px rgba(224,106,78,.8); }
.role--patient .role__gain { background: rgba(224,106,78,.2); color: #FFC9BA; }

/* ---------- Belief: giant outlined word ---------- */
.belief { overflow: hidden; }
.belief__inner { position: relative; z-index: 1; }
.belief__word { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-family: var(--display); font-weight: 700; font-size: clamp(110px, 21vw, 320px); letter-spacing: -.06em; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(20,184,179,.2); white-space: nowrap; pointer-events: none; user-select: none; }

/* ---------- Public sector, dark ---------- */
.public.dark { background: radial-gradient(700px 420px at 0% 0%, rgba(34,211,207,.14), transparent 60%), var(--night); }
.public.dark .card { background: var(--night-2); border-color: var(--night-line); }
.public.dark .card h3 { color: #fff; }
.public.dark .card--soft { background: transparent; border-color: rgba(255,255,255,.2); }
.public.dark .ticks li { border-color: var(--night-line); color: var(--on-night); }
.public.dark .ticks li::before { border-color: var(--sky); }
.public.dark .ticks--plain li::before { background: var(--sky); }
.public.dark .fine { color: var(--on-night-2); }
.stds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 36px; }
.stds li { padding: 16px 16px 18px; border-radius: 16px; border: 1px solid var(--night-line); background: rgba(255,255,255,.04); transition: border-color .3s, background .3s, transform .4s var(--ease); }
.stds li:hover { border-color: rgba(34,211,207,.5); background: rgba(34,211,207,.08); transform: translateY(-3px); }
.stds b { display: block; font-family: var(--display); font-size: 25px; font-weight: 600; color: var(--sky); letter-spacing: -.02em; }
.stds span { font-size: 12.5px; color: var(--on-night-2); line-height: 1.35; display: block; margin-top: 2px; }

/* ---------- Trust icons ---------- */
.trust__grid li { padding-left: 24px; transition: transform .4s var(--ease), box-shadow .4s, border-color .4s; }
.trust__grid li::before { display: none; }
.trust__grid li:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-2); }
.ti { display: block; width: 46px; height: 46px; padding: 11px; border-radius: 14px; background: var(--teal-soft); fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 18px; }

/* ---------- v2 responsive ---------- */
@media (max-width: 960px) {
  .worries { grid-template-columns: 1fr; }
  .phone { transform: none; margin-top: 12px; }
  .role-grid { grid-template-columns: 1fr 1fr; }
  .float--a { right: -8px; }
  .float--b { left: -8px; }
}
@media (max-width: 640px) {
  .role-grid { grid-template-columns: 1fr; }
  .stds { grid-template-columns: 1fr 1fr; }
  .float--b { display: none; }
  .float--a { top: -24px; right: -4px; padding: 10px 14px 10px 10px; }
  .phone__screen { min-height: 560px; }
  .phone__time { font-size: 62px; }
  .scorecard__chips { margin-left: 0; }
  .band { padding: 18px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .band__track { animation: none; }
  .float { animation: none; }
}
.pillar__n { position: static; display: block; margin-bottom: 14px; font-family: var(--sans); font-size: 12.5px; font-weight: 700; letter-spacing: .12em; color: var(--blue); }
.viz { height: 150px; }
.viz--rows { padding: 10px; gap: 6px; }
.pull em { font-style: normal; }

/* =========================================================
   v3 — owner review pass
   ========================================================= */

/* ---------- Hero proof ---------- */
.hero__proof { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.hero__years { display: flex; align-items: center; gap: 12px; }
.hero__years b { font-family: var(--display); font-size: 40px; font-weight: 600; letter-spacing: -.04em; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero__years span { font-size: 13.5px; line-height: 1.35; color: var(--muted); font-weight: 600; }
.hero__proof ul { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.hero__proof ul li { font-size: 14px; font-weight: 600; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.hero__proof ul li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sky); }

/* ---------- Sameness matrix (replaces vendor brochures) ---------- */
.same { display: grid; grid-template-columns: 1.55fr 1fr; gap: 20px; align-items: stretch; }
.mx { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 10px 28px 14px; box-shadow: var(--shadow); }
.mx__row { display: grid; grid-template-columns: 1fr repeat(3, 84px); align-items: center; min-height: 54px; border-bottom: 1px solid var(--line); font-size: 16px; font-weight: 500; color: var(--ink-2); }
.mx__row > span:not(:first-child) { text-align: center; }
.mx__row--head { min-height: 50px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.mx .y { display: inline-grid; place-items: center; justify-self: center; width: 26px; height: 26px; border-radius: 50%; background: var(--paper-2); color: var(--muted); font-size: 13px; font-weight: 800; }
.mx__row--gap { border-bottom: 0; margin-top: 6px; padding: 4px 14px; margin-inline: -14px; border-radius: 14px; background: var(--care-soft); color: var(--ink); font-weight: 600; }
.mx__row--gap b { color: var(--care); }
.mx .n { color: var(--care); font-size: 22px; font-weight: 700; }
.same__q { background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 32px 30px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; position: relative; overflow: hidden; }
.same__q::after { content: ""; position: absolute; right: -90px; bottom: -90px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(34,211,207,.3), transparent 70%); }
.same__k { font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sky); }
.same__q p { font-family: var(--display); font-size: clamp(24px, 2.3vw, 30px); line-height: 1.2; font-weight: 500; letter-spacing: -.02em; }
.same__a { position: relative; z-index: 1; font-weight: 600; color: var(--sky); display: inline-flex; align-items: center; gap: 8px; }
.same__a::before { content: "↳"; }

/* ---------- KANAAD suite ---------- */
.suite { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.prod { grid-column: span 1; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 24px 24px; transition: transform .4s var(--ease), box-shadow .4s, border-color .4s; }
.prod:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--line-2); }
.prod__icon { width: 46px; height: 46px; border-radius: 14px; background: var(--grad); display: grid; place-items: center; margin-bottom: 22px; box-shadow: 0 10px 22px -10px rgba(20,184,179,.7); }
.prod__icon svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.prod__kicker { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: 8px; }
.prod h3 { font-family: var(--display); font-size: 22px; line-height: 1.2; font-weight: 600; letter-spacing: -.02em; margin-bottom: 10px; }
.prod p { color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.prod__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 20px; }
.prod__tags li { font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: var(--teal-soft); color: #0A6F6B; }

.prod--feature { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(26px, 3.4vw, 44px); background: var(--night); border-color: var(--night); color: var(--on-night); }
.prod--feature:hover { transform: none; }
.prod--feature .prod__kicker { color: var(--sky); }
.prod--feature h3 { color: #fff; font-size: clamp(26px, 2.8vw, 36px); line-height: 1.12; }
.prod--feature p { color: var(--on-night-2); font-size: 16.5px; }
.prod__list { margin-top: 22px; display: grid; gap: 4px; }
.prod__list li { position: relative; padding: 9px 0 9px 30px; border-top: 1px solid var(--night-line); font-size: 15.5px; color: var(--on-night); }
.prod__list li::before { content: ""; position: absolute; left: 0; top: 12px; width: 18px; height: 18px; border-radius: 50%; background: rgba(34,211,207,.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.5L14 7.5' fill='none' stroke='%2322D3CF' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }

.mock { background: linear-gradient(180deg, #0F2A55, #0A1F42); border: 1px solid rgba(255,255,255,.1); border-radius: 22px; padding: 18px; display: grid; gap: 10px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.mock__head { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: #fff; }
.mock__rec { width: 9px; height: 9px; border-radius: 50%; background: var(--care); box-shadow: 0 0 0 4px rgba(224,106,78,.25); animation: ping 2s infinite; }
.mock__tag { margin-left: auto; font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--on-night-2); border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: 3px 9px; }
.mock__line { background: rgba(255,255,255,.06); border-radius: 14px; padding: 12px 14px; font-size: 14px; color: var(--on-night); line-height: 1.45; }
.mock__line b { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--sky); margin-bottom: 3px; }
.mock__wave { display: flex; align-items: center; gap: 3px; height: 30px; padding: 0 4px; }
.mock__wave i { flex: 1; border-radius: 2px; background: var(--sky); opacity: .75; height: 30%; animation: wave 1.2s ease-in-out infinite; }
.mock__wave i:nth-child(3n) { animation-delay: -.3s; } .mock__wave i:nth-child(3n+1) { animation-delay: -.6s; } .mock__wave i:nth-child(4n) { animation-delay: -.9s; }
@keyframes wave { 0%, 100% { height: 20%; } 50% { height: 100%; } }
.mock__alert { display: grid; gap: 2px; padding: 11px 14px; border-radius: 14px; background: rgba(34,211,207,.1); border-left: 3px solid var(--sky); }
.mock__alert b { font-size: 13.5px; color: #fff; }
.mock__alert span { font-size: 12.5px; color: var(--on-night-2); }
.mock__alert--crit { background: rgba(224,106,78,.14); border-left-color: var(--care); }
.mock__progress { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; font-size: 12.5px; color: var(--on-night-2); padding-top: 4px; }
.mock__progress i { height: 6px; border-radius: 3px; background: rgba(255,255,255,.12); overflow: hidden; }
.mock__progress i b { display: block; height: 100%; width: 94%; border-radius: 3px; background: var(--grad-night); }
.mock__progress em { font-style: normal; font-weight: 700; color: var(--sky); }

/* ---------- Foundation ---------- */
.found { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; margin-top: clamp(64px, 8vw, 104px); }
.found .hub { position: static; }
.found__h { font-family: var(--display); font-size: clamp(28px, 3vw, 38px); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; margin-bottom: 16px; }
.found__list { margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.found__list li { padding: 18px 18px 20px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.found__list b { display: block; font-size: 16px; margin-bottom: 4px; }
.found__list span { color: var(--muted); font-size: 14px; line-height: 1.5; }

/* ---------- Intel product label ---------- */
.intel__prod { margin-left: auto; font-size: 12.5px; font-weight: 700; color: #0A6F6B; background: var(--teal-soft); padding: 6px 12px; border-radius: 999px; }
.intel__prod[hidden] { display: none; }

/* ---------- Contact offers ---------- */
.offer { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.offer li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--teal-soft); color: #0A6F6B; font-weight: 700; font-size: 13.5px; }
.offer li::before { content: "✓"; }

/* ---------- v3 responsive: tablet ---------- */
@media (max-width: 1080px) {
  .suite { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .same { grid-template-columns: 1fr; }
  .same__q { gap: 18px; }
  .prod--feature { grid-template-columns: 1fr; }
  .found { grid-template-columns: 1fr; }
  .found .hub svg { max-width: 340px; }
  .intel__prod { margin-left: 0; }
}
/* ---------- v3 responsive: phone ---------- */
@media (max-width: 640px) {
  .mx { padding: 6px 16px 12px; }
  .mx__row { grid-template-columns: 1fr repeat(3, 40px); font-size: 14.5px; min-height: 50px; gap: 6px; }
  .mx__row--head { font-size: 10px; letter-spacing: .06em; }
  .mx__row--head span:not(:first-child) { font-size: 0; }
  .mx__row--head span:nth-child(2)::after { content: "A"; font-size: 11px; }
  .mx__row--head span:nth-child(3)::after { content: "B"; font-size: 11px; }
  .mx__row--head span:nth-child(4)::after { content: "C"; font-size: 11px; }
  .mx .y { width: 24px; height: 24px; }
  .mx__row--gap { margin-inline: -8px; padding: 6px 8px; }
  .same__q { padding: 26px 22px; }
  .suite { grid-template-columns: 1fr; }
  .found__list { grid-template-columns: 1fr; }
  .hero__years b { font-size: 34px; }
  .mock { padding: 14px; }
}

/* ---------- Tablet refinements ---------- */
@media (min-width: 641px) and (max-width: 960px) {
  .pillar-grid { grid-template-columns: 1fr; }
  .pillar { display: grid; grid-template-columns: 240px 1fr; grid-template-rows: auto auto 1fr; column-gap: 28px; align-items: start; }
  .pillar .viz { grid-column: 1; grid-row: 1 / span 3; margin: 0; height: 100%; min-height: 150px; }
  .pillar__n, .pillar h3, .pillar p { grid-column: 2; }
  .hero__proof { margin-bottom: 28px; }
  .float--a { top: -38px; }
}

/* ---------- Phone refinements (owner review) ---------- */
@media (max-width: 640px) {
  .section { padding: 68px 0; }
  .split { margin-bottom: 36px; }

  /* Hero journey: fewer, larger labels; badges off */
  .float { display: none !important; }
  .journey .lbl__s, .lbl__care { display: none; }
  .journey .lbl__t { font-size: 22px; }
  .journey__foot { font-size: 12px; gap: 6px 12px; }

  /* Approach toggle */
  .compare__switch button { font-size: 13px; padding: 10px 6px; white-space: normal; line-height: 1.2; }
  .swaps { margin-top: 36px; }
  .swap { padding: 16px 0; }

  /* Commitments: visual beside text, shorter */
  .pillar { padding: 22px; }
  .viz { height: 116px; margin-bottom: 20px; }
  .pillar h3 { font-size: 23px; }

  /* Outcomes: tighter cards */
  .q { padding: 20px 20px 22px; }
  .q h3 { font-size: 19px; }
  .q p { margin-bottom: 16px; font-size: 14px; }
  .q__dir { top: 18px; right: 18px; width: 28px; height: 28px; }

  /* Roles: avatar inline with title */
  .role { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; padding: 20px; }
  .role__av { width: 44px; height: 44px; border-radius: 13px; font-size: 13px; margin: 0; grid-row: 1 / span 2; }
  .role h3 { font-size: 19px; align-self: center; margin: 0; }
  .role p, .role__gain { grid-column: 1 / -1; }
  .role p { margin-top: 12px; }
  .role__gain { justify-self: start; margin-top: 14px; }

  /* Delivery loop: number inline */
  .loop { gap: 10px; }
  .loop li { display: grid; grid-template-columns: 36px 1fr; column-gap: 14px; padding: 18px; }
  .loop__n { width: 36px; height: 36px; margin: 0; grid-row: 1 / span 2; }
  .loop h3 { font-size: 20px; align-self: center; margin: 0; }
  .loop p, .loop__back { grid-column: 2; }
  .loop p { margin-top: 4px; font-size: 14.5px; }

  /* Product cards */
  .prod { padding: 22px 20px; }
  .prod__icon { margin-bottom: 16px; }
  .prod--feature h3 { font-size: 25px; }

  /* Trust + public */
  .trust__grid li { padding: 20px; }
  .stds b { font-size: 21px; }
  .card { padding: 22px 20px; }

  /* Phone mock in problem section */
  .phone { width: min(100%, 340px); }
  .phone__screen { min-height: 0; }
}

/* ---------- Page ending ---------- */
/* Overscroll bounce at the bottom shows the dark footer colour, not a light gap. */
html { background: var(--night); overscroll-behavior-y: none; }
/* Contact: shorter tail, and the left column stays in view beside the taller form. */
.contact { padding-bottom: clamp(64px, 7vw, 96px); }
@media (min-width: 961px) {
  .contact__grid > div:first-child { position: sticky; top: 110px; }
}
.footer { padding: 64px 0 0; }
.footer__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 48px; padding-top: 22px; padding-bottom: 26px; border-top: 1px solid var(--night-line); font-size: 13.5px; color: var(--on-night-2); }
.footer__top { color: var(--on-night); text-decoration: none; font-weight: 600; }
.footer__top:hover { color: var(--sky); }
.footer__bar { border-top: 0; background: linear-gradient(var(--night-line), var(--night-line)) top center / calc(100% - 2 * var(--gutter)) 1px no-repeat; }

/* Spam honeypot: hidden from people, visible to bots */
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
