/* PlayAIO site. Tokens first; everything below reads from them. */

@font-face { font-family: "Bricolage"; src: url("/assets/fonts/bricolage.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Source Sans"; src: url("/assets/fonts/source-sans.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }

:root {
  --ink: #0c2b29;
  --ink-2: #103936;
  --ink-3: #18504b;
  --teal: #2a9d94;
  --teal-dk: #1f7a72;
  --teal-deep: #186058;
  --teal-btn: #3fb5ab;
  --mint: #8fe3d9;
  --paper: #f7faf9;
  --tint: #eaf4f2;
  --text: #1b2928;
  --muted: #4b5b59;
  --muted-d: #a9c7c3;
  --line: #d3e0de;
  --line-d: #25504c;
  --focus: #1f7a72;
  --display: "Bricolage", "Segoe UI", system-ui, sans-serif;
  --body: "Source Sans", Calibri, "Segoe UI", system-ui, sans-serif;
  --w: 1180px;
  --gut: clamp(20px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); font-size: 1.125rem; line-height: 1.6; color: var(--text); background: var(--paper); }
img, svg { max-width: 100%; }
a { color: var(--teal-dk); text-underline-offset: 3px; }
a:hover { color: var(--teal-deep); }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; margin: 0; letter-spacing: -0.015em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
.band-dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible, .consent :focus-visible { outline-color: var(--mint); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: #fff; color: var(--ink); padding: 10px 14px; z-index: 100; border-radius: 4px; }
.skip:focus { top: 12px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.wrap { max-width: var(--w); margin: 0 auto; padding: 0 var(--gut); }
.narrow { max-width: 780px; }

/* ---------- Buttons ---------- */
.btn { display: inline-block; font: 700 1rem/1 var(--display); letter-spacing: 0; text-decoration: none; background: var(--teal-dk); color: #fff; padding: 15px 24px; border-radius: 999px; border: 2px solid var(--teal-dk); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn:hover { background: var(--teal-deep); border-color: var(--teal-deep); color: #fff; }
.btn-sm { padding: 10px 18px; font-size: .95rem; }
.btn-ghost { background: transparent; color: var(--teal-dk); }
.btn-ghost:hover { background: var(--teal-dk); color: #fff; }
.band-dark .btn, .site-header .btn, .site-footer .btn, .consent .btn { background: var(--teal-btn); border-color: var(--teal-btn); color: var(--ink); }
.band-dark .btn:hover, .site-header .btn:hover, .site-footer .btn:hover, .consent .btn:hover { background: var(--mint); border-color: var(--mint); color: var(--ink); }
.band-dark .btn-ghost, .site-footer .btn-ghost, .consent .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.band-dark .btn-ghost:hover, .consent .btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; margin-left: 14px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ink); color: #fff; border-bottom: 1px solid var(--line-d); }
.bar { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.brand:hover { color: #fff; }
.mark { width: 38px; height: 38px; fill: var(--teal); flex: none; }
.wordmark { font: 800 1.45rem/1 var(--display); letter-spacing: -0.01em; display: inline-flex; align-items: center; }
.wordmark .o { display: inline-block; width: .86em; height: .86em; margin-left: .04em; }
.wordmark .o svg { display: block; width: 100%; height: 100%; }
.wordmark .o circle { fill: var(--teal); }
.wordmark .o path { fill: #fff; }
#nav { display: flex; align-items: center; gap: 28px; }
.phone-only { display: none; }
#nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
#nav ul a { color: #fff; text-decoration: none; font: 600 .98rem var(--display); padding: 8px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
#nav ul a:hover, #nav ul a[aria-current] { border-bottom-color: var(--teal-btn); color: #fff; }
.nav-toggle { display: none; background: none; border: 1.5px solid var(--line-d); border-radius: 8px; width: 46px; height: 46px; cursor: pointer; position: relative; }
.nav-toggle i { position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; transition: transform .2s, top .2s; }
.nav-toggle i:first-of-type { top: 17px; } .nav-toggle i:last-of-type { top: 26px; }
.nav-toggle[aria-expanded="true"] i:first-of-type { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] i:last-of-type { top: 21px; transform: rotate(-45deg); }
/* The dropdown, two links and the button need about 760px; below that the header uses the menu button. */
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  #nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--ink); flex-direction: column; align-items: flex-start; padding: 8px var(--gut) 28px; border-bottom: 1px solid var(--line-d); gap: 18px; }
  #nav.open { display: flex; }
  .phone-only { display: block; }
  /* A backdrop behind the open menu; tapping it closes the menu (main.js). */
  .nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(12, 43, 41, .62); z-index: 40; }
  #nav ul { flex-direction: column; gap: 4px; width: 100%; }
  #nav ul a { display: block; padding: 12px 0; font-size: 1.1rem; }
}

/* ---------- Bands ---------- */
/* A faint dot grid on every dark band: the brand's dots as texture. */
.band-dark { background-color: var(--ink); background-image: radial-gradient(rgba(255,255,255,.05) 1.2px, transparent 1.7px); background-size: 24px 24px; color: #fff; }
.band-dark a:not(.btn) { color: var(--mint); }
.sec-h { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 700; margin-bottom: 18px; }
.sec-p { max-width: 64ch; color: var(--muted); font-size: 1.2rem; }
.band-dark .sec-p { color: var(--muted-d); }
section { padding: clamp(48px, 6vw, 80px) 0; }
.tint { background: var(--tint); }
.fine { font-size: .92rem; color: var(--muted); max-width: 64ch; }

/* ---------- Home hero: the three circles are the hero image ---------- */
.hero { padding: clamp(56px, 7vw, 104px) 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-h1 { font-size: clamp(2.1rem, 4.6vw, 3.9rem); font-weight: 800; line-height: 1; letter-spacing: -0.025em; }
.hero-what { font: 700 clamp(1.25rem, 2.1vw, 1.55rem)/1.35 var(--display); color: var(--mint); margin: 22px 0 0; letter-spacing: -0.01em; }
.book-note { font-size: .95rem; color: var(--muted-d); margin: 14px 0 0; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- The three circles: one identity each, used everywhere ---------- */
/* Market intelligence = solid mint (light). Reporting = solid teal (mid), with their shared
   lens a mid tone between the two. Machine learning and AI = the brand's dot texture: light dots
   on ink, ink dots where it crosses the solid circles. Lightness and texture both differ, so
   colour is never the only cue. ML fills come from per-graphic patterns set as attributes, so no
   rule here sets an ML fill. Text takes a colour that contrasts with the fill behind it, not a halo. */
:root { --c-iq: #8fe3d9; --c-rep: #2a9d94; --c-mid: #5cc0b6; --c-ml: #f7faf9; }
.hero-circles { display: grid; justify-items: center; gap: 18px; }
.circles { width: min(100%, 500px); height: auto; overflow: visible; }
.ci { transform-box: fill-box; transform-origin: center; }
.ci-iq { fill: var(--c-iq); }
.ci-reporting { fill: var(--c-rep); }
.ci-ml { stroke: var(--c-ml); stroke-width: 2; }
.ci-lens { fill: var(--c-mid); }
.ci-ml-edge { fill: none; stroke: var(--c-ml); stroke-width: 2; stroke-opacity: .9; }
.pat-ml circle { fill: var(--c-ml); fill-opacity: .5; }
.pat-ml-ink circle { fill: var(--ink); fill-opacity: .4; }
.ci-name { font: 800 26px var(--display); letter-spacing: -0.015em; }
.n-iq { fill: var(--ink); }
/* "intelligence" is the widest word; this size keeps it inside the part of its circle the others do not cover. */
.circles text.nm-iq { font-size: 24px; }
.n-reporting, .n-ml { fill: #fff; }
.ci-pair { font: 600 16px var(--body); }
.on-mid, .on-mint { fill: var(--ink); }
.on-teal { fill: #fff; }
.ci-disc { fill: var(--ink); stroke: var(--c-iq); stroke-width: 2.5; }

.ci-mid { font: 800 18px var(--display); fill: #fff; letter-spacing: -0.01em; }
/* Product pages: their own circle keeps its treatment, the other two are outlines. */
.ci.ci-out { fill: none; stroke-width: 2; stroke-opacity: .5; }
.ci-out.ci-iq { stroke: var(--c-iq); }
.ci-out.ci-reporting { stroke: var(--c-rep); }
.ci-out.ci-ml { stroke: var(--c-ml); }
.ci-name.dim { fill: #d6efeb; }
.ph-circles .circles { width: min(100%, 400px); }
@media (max-width: 560px) { .ci-pair { display: none; } }
/* The one motion on these pages: the circles drift in and come to overlap, then the
   overlaps and the centre settle in once they meet. */
.ci { animation: converge 1.1s .15s cubic-bezier(.16, 1, .3, 1) backwards; }
.ci-iq { --cx: -36px; --cy: -26px; } .ci-reporting { --cx: 36px; --cy: -26px; } .ci-ml { --cx: 0px; --cy: 40px; }
@keyframes converge { from { transform: translate(var(--cx), var(--cy)); } }
.ci-after { animation: settle .45s .95s ease-out backwards; }
@keyframes settle { from { opacity: 0; } }
/* The key carries the same three treatments as the circles. */
.ci-key { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; width: min(100%, 460px); }
.ci-key a { display: block; color: var(--muted-d); text-decoration: none; font-size: .98rem; line-height: 1.4; padding-left: 36px; position: relative; min-height: 26px; }
.ci-key a:hover { color: #fff; }
.ci-key b { color: #fff; font: 700 1rem var(--display); margin-right: 4px; }
/* Key chips: each circle's icon on its own fill, so the key mirrors the graphic. */
.k-ico { position: absolute; left: 0; top: -1px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid; }
.k-ico .ci-icon { width: 16px; height: 16px; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.k-iq .k-ico { background: var(--c-iq); border-color: var(--c-iq); } .k-iq .ci-icon { stroke: var(--ink); } .k-iq .ic-fill { fill: var(--ink); stroke: none; }
.k-reporting .k-ico { background: var(--c-rep); border-color: var(--c-rep); } .k-reporting .ci-icon { stroke: #fff; }
.k-ml .k-ico { background: var(--ink-2); border-color: var(--c-ml); } .k-ml .ci-icon { stroke: var(--c-iq); } .k-ml .ic-node { fill: var(--ink-2); }
/* Narrow screens: headline first, then a compact graphic, with its key and overlap meanings
   written out underneath rather than hidden. */
@media (max-width: 860px) {
  .hero-circles { justify-items: start; gap: 16px; margin-top: 8px; }
  .hero-circles .circles { width: min(88%, 320px); justify-self: center; }
}
/* The overlap labels live inside the graphic on wide screens; on phones they are too small
   there, so the same three meanings appear as a list. */
.ci-pairs { display: none; }
@media (max-width: 560px) {
  .ci-pairs { display: grid; gap: 10px; list-style: none; margin: 4px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line-d); width: 100%; }
  .ci-pairs li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted-d); font-size: .95rem; line-height: 1.4; }
  .ci-pairs b { display: block; color: #fff; font: 700 .92rem var(--display); }
}
.pair-sw { display: inline-flex; flex: none; margin-top: 3px; }
.pair-sw i { width: 16px; height: 16px; border-radius: 50%; border: 2px solid; }
.pair-sw i + i { margin-left: -6px; }
.sw-iq { background: var(--c-iq); border-color: var(--c-iq); }
.sw-reporting { background: var(--c-rep); border-color: var(--c-rep); }
.sw-ml { border-color: var(--c-ml); background: radial-gradient(var(--c-ml) 1px, transparent 1.4px) 0 0 / 4px 4px; }

/* ---------- Small circle markers (use cases, product pages), same three treatments ---------- */
.circles-mini { width: 64px; height: 56px; }
.cm { stroke: #9fc4bf; stroke-width: 1.5; }
.cm:not([fill]) { fill: none; }
.cm-iq.on { fill: var(--c-iq); stroke: var(--teal-dk); }
.cm-reporting.on { fill: var(--c-rep); stroke: var(--teal-dk); }
.cm-ml.on { stroke: var(--ink); }
.pat-cm circle { fill: var(--ink); }
/* Named tags beside each marker, so the reader never has to decode positions. */
.case-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.case-tags li { font: 600 .8rem/1.2 var(--display); color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px 4px 24px; position: relative; }
.case-tags li::before { content: ""; position: absolute; left: 8px; top: 50%; transform: translateY(-50%); width: 10px; height: 10px; border-radius: 50%; border: 1px solid var(--teal-dk); }
.t-iq::before { background: var(--c-iq); }
.t-reporting::before { background: var(--c-rep); }
.t-ml::before { border-color: var(--ink); background: radial-gradient(var(--ink) .8px, transparent 1.1px) 0 0 / 3px 3px; }

/* ---------- Where this circle meets the other two (product pages) ---------- */
.meets-list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
.meets-list li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 18px; align-items: start; border-top: 1px solid var(--text); padding-top: 20px; }
.meets-list h3 { font-size: 1.35rem; margin-bottom: 6px; }
.meets-list h3 a { color: var(--teal-dk); }
.meets-list p { color: var(--muted); margin: 0; max-width: 46ch; }
@media (max-width: 760px) { .meets-list { grid-template-columns: minmax(0, 1fr); } }
.layers h3 a { color: var(--teal-dk); text-underline-offset: 4px; }

/* ---------- Uncover, validate, act ---------- */
.beats { list-style: none; counter-reset: b; margin: clamp(32px, 4vw, 52px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 44px); }
.beats li { counter-increment: b; border-top: 1px solid var(--text); padding-top: 18px; }
.beats li::before { content: counter(b); display: block; font: 800 1rem var(--display); color: var(--teal-dk); margin-bottom: 10px; }
.beats h3 { font-size: clamp(1.6rem, 2.6vw, 2rem); letter-spacing: -0.02em; margin-bottom: 8px; }
.beats p { color: var(--muted); margin: 0; max-width: 40ch; }
@media (max-width: 860px) { .beats { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Use cases: the obvious move, struck through by the full picture ---------- */
.case-list { list-style: none; margin: 36px 0 18px; padding: 0; }
.case { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); padding: 34px 0; border-top: 1px solid var(--line); }
.case:last-child { border-bottom: 1px solid var(--line); }
.case-head { display: grid; gap: 14px; align-content: start; }
.case-head h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); letter-spacing: -0.02em; text-wrap: balance; }
.case-steps { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 32px); }
.case-steps dt { font: 700 .82rem var(--display); color: var(--muted); margin-bottom: 6px; }
.case-steps dd { margin: 0; color: var(--text); line-height: 1.5; }
.case-steps .alone dd { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(75, 91, 89, .45); }
.case-steps .act dt { color: var(--teal-dk); }
.case-steps .act dd { font: 700 1.05rem/1.4 var(--display); color: var(--ink); }
@media (max-width: 960px) { .case { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 700px) { .case-steps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Each circle, on its own ---------- */
.three-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 32px); margin-top: 36px; align-items: start; }
.three-grid h3 { font-size: 1.5rem; margin-bottom: 8px; }
.three-grid h3 a { color: var(--text); text-decoration: none; } .three-grid h3 a:hover { color: var(--teal-dk); text-decoration: underline; }
.three-grid h3 a::after { content: " \2192"; color: var(--teal-dk); }
.three-grid > article > p { color: var(--muted); min-height: 4.8em; }
/* Line the three columns up row by row: headings, intro text and cards each start level. */
@supports (grid-template-rows: subgrid) { @media (min-width: 1001px) {
  .three-grid { row-gap: 0; }
  .three-grid > article { display: grid; grid-template-rows: subgrid; grid-row: span 3; align-content: start; }
  .three-grid > article > p { min-height: 0; }
  .three-grid > article > .viz { align-self: stretch; display: flex; flex-direction: column; }
  .three-grid > article > .viz .viz-cap { margin-top: auto; padding-top: 12px; }
} }
/* A third of the page is too narrow for the factor bars: show the gap to the benchmark instead. */
.three-grid .viz .mh-bar { display: none; }
.three-grid .viz-thumb .mh-gap { display: block; }
@media (max-width: 1000px) { .three-grid { grid-template-columns: minmax(0, 1fr); max-width: 520px; } .three-grid > article > p { min-height: 0; } }
/* ---------- Dot field: the logo, split by product. Flat, exactly like the mark. ---------- */
.ph-art { display: flex; justify-content: center; }
svg.field { width: min(100%, 340px); height: auto; overflow: visible; margin: 0; }
.field .grp circle { fill: var(--teal); transition: fill .3s; }
.field .grp { --tx: 0px; --ty: 0px; transform: translate(var(--tx), var(--ty)); transition: transform .5s cubic-bezier(.2,.7,.2,1), opacity .3s; animation: split 1.3s .5s cubic-bezier(.2,.7,.2,1) backwards; }
.field .grp-iq { --tx: -20px; --ty: -14px; }
.field .grp-reporting { --tx: 22px; --ty: -8px; }
.field .grp-ml { --tx: 0px; --ty: 24px; }
@keyframes split { from { transform: translate(0, 0); } }
.field[data-active] .grp { opacity: .22; }
.field[data-active="iq"] .grp-iq, .field[data-active="reporting"] .grp-reporting, .field[data-active="ml"] .grp-ml { opacity: 1; transform: translate(calc(var(--tx) * 1.7), calc(var(--ty) * 1.7)); }
.field[data-active="iq"] .grp-iq circle, .field[data-active="reporting"] .grp-reporting circle, .field[data-active="ml"] .grp-ml circle { fill: var(--mint); }

/* ---------- Retention-led home ---------- */
.hero-one { font-size: clamp(2.8rem, 4.6vw, 3.9rem); line-height: .95; letter-spacing: -0.035em; text-wrap: balance; }
@media (min-width: 861px) { .hero-one { white-space: nowrap; } }
.hero-sub { margin: 26px 0 0; max-width: 46ch; color: var(--muted-d); font-size: 1.3rem; line-height: 1.5; }
.who-grid.four { grid-template-columns: repeat(4, 1fr); gap: 32px; }
@media (max-width: 1000px) { .who-grid.four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .who-grid.four { grid-template-columns: 1fr; } }
.defs dd strong { display: block; color: var(--text); font: 700 1.1rem var(--display); margin-bottom: 4px; }
/* Models page: each family's question and the line it moves. */
.families .lever { font: 600 .98rem var(--display); color: var(--teal-dk); margin: 10px 0 0; }
.families .lever span { font: 700 .74rem var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-right: 6px; }
.families .q { font: 600 1.2rem/1.4 var(--display); color: var(--text); margin-bottom: 8px; }
@media (max-width: 760px) { .families .lever { margin-left: 0; } }
/* About: the founding story. */
.story-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.story .sec-h { font-size: clamp(1.8rem, 3.4vw, 2.7rem); margin: 0; }
.story p { color: var(--muted); font-size: 1.2rem; }
@media (max-width: 860px) { .story-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; } }

/* ---------- Home: one oversized statement, the problem in three plain points ---------- */
.sec-xl { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.02; max-width: 18ch; text-wrap: balance; }
.problem .sec-p { font: 600 clamp(1.2rem, 2vw, 1.45rem)/1.35 var(--display); color: var(--teal-dk); margin-top: 8px; }
.points { list-style: none; margin: clamp(32px, 4vw, 52px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 44px); }
.points li { border-top: 1px solid var(--text); padding-top: 18px; }
.points h3 { font-size: 1.3rem; margin-bottom: 8px; }
.points p { color: var(--muted); margin: 0; max-width: 40ch; }
@media (max-width: 860px) { .points { grid-template-columns: minmax(0, 1fr); } }
/* The claims: two sentences set large, not a big-number stat band. */
.claims { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 88px); }
.claim-h { font-size: clamp(1.9rem, 3.8vw, 3rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.04; color: var(--mint); margin-bottom: 18px; text-wrap: balance; }
.claim p { color: #c9dedb; margin: 0; max-width: 46ch; }
/* The proof ledger: the evidence behind the claims, set as large as the claims themselves. */
.ledger { margin-top: clamp(48px, 6vw, 80px); margin-bottom: 0; }
.ledger > div { display: grid; grid-template-columns: minmax(150px, 220px) minmax(0, 1fr); gap: 24px; align-items: baseline; padding: 22px 0; border-top: 1px solid var(--line-d); }
.ledger > div:last-child { border-bottom: 1px solid var(--line-d); }
.ledger dt { font: 600 .95rem var(--display); color: var(--muted-d); }
.ledger dd { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 32px; font: 800 clamp(1.4rem, 2.6vw, 2.1rem)/1.15 var(--display); letter-spacing: -0.02em; }
.band-dark .ledger a { color: #fff; text-decoration: none; }
.band-dark .ledger a:hover { color: var(--mint); text-decoration: underline; text-decoration-thickness: 2px; }
/* Each name carries its own dot, so a wrapped row never leaves a stray separator. */
.ledger dd a::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); margin-right: .45em; transform: translateY(-.2em); }
/* Partner logos: flat white marks, sized by eye so the two read at the same weight. */
.ledger > div:has(> dd.logos) { align-items: center; }
.ledger dd.logos { align-items: center; flex-wrap: nowrap; gap: clamp(24px, 4vw, 48px); }
.ledger dd.logos a { display: block; }
.ledger dd.logos a::before { content: none; }
.ledger dd.logos img { display: block; width: auto; opacity: .92; }
.ledger dd.logos a:hover img { opacity: 1; }
.logo-kambi { height: clamp(18px, 2vw, 24px); }
.logo-strive { height: clamp(24px, 2.6vw, 32px); }
.logo-vyking { height: clamp(22px, 2.4vw, 30px); }
/* Logos never shrink or squash; on small phones the label sits above the three logos. */
.ledger dd.logos > a, .ledger dd.logos > img { flex: none; }
@media (max-width: 560px) { .ledger > div:has(> dd.logos) { grid-template-columns: minmax(0, 1fr); gap: 12px; } .ledger dd.logos { gap: 22px; } }
@media (max-width: 700px) { .ledger > div { grid-template-columns: minmax(0, 1fr); gap: 6px; } }
@media (max-width: 860px) { .claims { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Browser surfaces carry the palette too ---------- */
::selection { background: var(--mint); color: var(--ink); }
.band-dark ::selection, .site-header ::selection, .site-footer ::selection { background: var(--teal-btn); color: var(--ink); }
html { scrollbar-color: var(--teal-dk) var(--tint); accent-color: var(--teal-dk); }
input, textarea { caret-color: var(--teal-dk); }
.mh-val, .mh-gap, .viz-big b, .calc-out, .gauge .big { font-variant-numeric: tabular-nums; }

/* ---------- Forms: say what is optional, and what the calculator did ---------- */
.opt { font: 400 .85rem var(--body); color: var(--muted); margin-left: 4px; }
.calc-hint { font-size: .88rem; color: var(--muted); margin: -6px 0 0; }
.calc-hint.warn { color: #9a5f00; }
.calc input[aria-invalid="true"] { border-color: var(--watch); }

/* ---------- Charts stay readable on a phone ---------- */
.viz .v-lab, .viz .v-num { font-size: 15px; }
@media (max-width: 560px) { .viz .v-lab, .viz .v-num { font-size: 16px; } }
.products h3 { font-size: clamp(1.8rem, 3vw, 2.3rem); letter-spacing: -0.02em; }
.site-footer .brand .mark { width: 40px; height: 40px; }

/* ---------- Pillar rows (home) ---------- */
.row-kind { font: 600 1rem var(--display); color: var(--teal-dk); margin: 6px 0 12px; }

/* ---------- Fit line ---------- */

/* ---------- IQ market health (status colours are semantic, apart from brand teal) ---------- */
:root { --ok: #2a9d94; --watch: #d48a12; --behind: #d14343; }
.s-ok { fill: var(--ok); background: var(--ok); } .s-watch { fill: var(--watch); background: var(--watch); } .s-behind { fill: var(--behind); background: var(--behind); }
.v-bench { stroke: var(--text); stroke-width: 2.5; stroke-linecap: round; }
.v-hint { font-weight: 400; fill: var(--muted); }
.viz-legend .lg-bench::before { width: 3px; height: 14px; background: var(--text); }
.viz-big { margin: 0 0 16px; font: 400 .95rem var(--body); color: var(--muted); }
.viz-big b { font: 800 2.2rem/1 var(--display); color: var(--text); letter-spacing: -0.02em; margin-right: 2px; }
.viz-big span { display: block; margin-top: 4px; }
.health-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: 56px; align-items: center; }
@media (max-width: 960px) { .health-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
.mh-head { display: flex; align-items: center; gap: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.mh-ring { position: relative; width: 92px; height: 92px; flex: none; display: grid; place-items: center; }
.mh-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.mh-ring .g-track, .mh-ring .g-arc { stroke-width: 9; }
.mh-ring span { position: relative; font: 600 .8rem var(--display); color: var(--muted); }
.mh-ring b { font: 800 1.7rem var(--display); color: var(--text); }
.mh-title { font: 800 1.3rem var(--display); margin: 0; }
.mh-sub { margin: 2px 0 8px; color: var(--muted); font-size: .92rem; }
.mh-key { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0; font: 600 .78rem var(--display); color: var(--muted); }
.mh-key span::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; }
.k-ok::before { background: var(--ok); } .k-watch::before { background: var(--watch); } .k-behind::before { background: var(--behind); }
.mh-rows { list-style: none; margin: 0; padding: 0; }
.mh-row { display: grid; grid-template-columns: 12px minmax(0, 1fr) 64px minmax(80px, 150px) 92px; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.mh-dot { width: 10px; height: 10px; border-radius: 50%; }
.mh-name { font: 700 .92rem/1.25 var(--display); color: var(--text); min-width: 0; }
.mh-tag { display: block; font: 600 .75rem var(--body); color: var(--teal-dk); letter-spacing: .02em; margin-top: 2px; }
.mh-hint { font: 400 .75rem var(--body); color: var(--muted); }
.mh-val { font: 800 1rem var(--display); text-align: right; }
.mh-bar { width: 100%; height: 18px; display: block; }
.mh-gap { font: 700 .82rem var(--display); text-align: right; }
.mh-bench { display: block; font: 400 .75rem var(--body); color: var(--muted); }
.gap-ok { color: var(--teal-dk); } .gap-watch { color: #9a5f00; } .gap-behind { color: #b42318; }
@media (max-width: 560px) { .mh-row { grid-template-columns: 12px minmax(0, 1fr) 60px 72px; gap: 10px; } .viz .mh-bar { display: none; } }
/* Compact scorecard on the home page: no product tags. */
/* Reporting: two scored panels side by side, same anatomy as market health. */
.viz-ops { margin-top: 32px; }
.mh-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px clamp(32px, 4vw, 56px); }
@media (max-width: 1080px) { .mh-pair { grid-template-columns: minmax(0, 1fr); } .mh-pair > div + div { margin-top: 24px; } }
.viz-thumb .mh-tag, .viz-thumb .mh-gap, .viz-thumb .mh-hint { display: none; }
/* Home thumbnail of the Reporting scorecard: the two panels stack inside the narrow card. */
.viz-thumb .mh-pair { grid-template-columns: minmax(0, 1fr); gap: 18px; }
.viz-thumb.viz-ops { margin-top: 0; }
.viz-thumb .mh-pair > div + div { margin-top: 0; }
.viz-thumb.viz-ops .mh-sub, .viz-thumb.viz-ops .mh-pair > div + div .mh-key { display: none; }
.viz-thumb.viz-ops .mh-key { margin-top: 6px; }
.ml-player { margin: 2px 0 0; color: var(--muted); font: 600 .85rem var(--display); }
.viz-thumb .mh-row { padding: 8px 0; grid-template-columns: 10px minmax(0, 1fr) 58px minmax(70px, 120px); gap: 10px; }
/* Too narrow for bars on a phone: show the gap to the benchmark instead. */
@media (max-width: 560px) { .viz-thumb .mh-gap { display: block; } }



/* ---------- Proof ---------- */

/* ---------- Columns of text ---------- */
.who-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 40px; }
.who-grid.two { grid-template-columns: repeat(2, 1fr); }
.who-grid > div { border-top: 2px solid var(--teal); padding-top: 22px; }
.who-grid h3 { font-size: 1.45rem; margin-bottom: 10px; }
.who-grid p { color: var(--muted); }
@media (max-width: 860px) { .who-grid, .who-grid.two { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Sub-page hero ---------- */
.page-hero { padding: clamp(48px, 7vw, 88px) 0 clamp(48px, 7vw, 84px); }
.ph { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.ph-art { display: flex; justify-content: center; }
.ph-field { width: min(100%, 340px); }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 800; letter-spacing: -0.025em; }
.lead { font: 600 clamp(1.3rem, 2.4vw, 1.75rem)/1.36 var(--display); color: var(--mint); margin: 18px 0 0; max-width: 28ch; }
.page-hero .sub { color: var(--muted-d); max-width: 58ch; margin: 16px 0 0; font-size: 1.2rem; }
@media (max-width: 760px) {
  .ph { grid-template-columns: 1fr; gap: 28px; }
  .ph-art:not(.ph-circles) { display: none; }
  /* Product pages keep a compact lit circle under the hero text on phones. */
  .ph-circles { justify-content: flex-start; }
  .ph-circles .circles { width: min(72%, 240px); }
}

/* ---------- Rank IQ ---------- */
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 860px) { .split-grid { grid-template-columns: 1fr; gap: 36px; } }
.defs { margin: 28px 0 0; }
.defs > div { display: grid; grid-template-columns: 210px 1fr; gap: 24px; padding: 20px 0; border-top: 1px solid var(--line); }
.defs dt { font: 700 1.15rem var(--display); }
.defs dd { margin: 0; color: var(--muted); max-width: 66ch; }
.defs.wide > div { grid-template-columns: minmax(200px, 300px) 1fr; padding: 26px 0; }
.defs.wide dt { font-size: 1.35rem; }
@media (max-width: 700px) { .defs > div, .defs.wide > div { grid-template-columns: 1fr; gap: 6px; } }
.tick { list-style: none; padding: 0; margin: 20px 0 0; }
.tick li { padding: 8px 0 8px 30px; position: relative; font-size: 1.15rem; }
.tick li::before { content: ""; position: absolute; left: 4px; top: 1em; width: 12px; height: 12px; border-radius: 50%; background: var(--teal); }

/* ---------- Data reporting ---------- */
.recon { background: #fff; border-bottom: 1px solid var(--line); }
.recon-grid { display: grid; grid-template-columns: auto 1fr; gap: 64px; align-items: center; }
.recon-fig .big { display: block; font: 800 clamp(4.5rem, 12vw, 9rem)/.9 var(--display); color: var(--teal-dk); letter-spacing: -0.04em; }
.recon-fig .cap { display: block; margin-top: 10px; font: 600 1.05rem var(--display); color: var(--muted); }
.gauge { position: relative; width: clamp(220px, 26vw, 300px); aspect-ratio: 1; max-width: 100%; display: grid; place-items: center; }
.gauge svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.g-track { fill: none; stroke: var(--tint); stroke-width: 10; }
.g-arc { fill: none; stroke: var(--teal); stroke-width: 10; stroke-linecap: round; }
.recon-fig .gauge .big { position: relative; font-size: clamp(2.8rem, 5vw, 4.2rem); }
.recon-fig .cap { text-align: center; max-width: clamp(220px, 26vw, 300px); }
@media (max-width: 860px) { .recon-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- ML ---------- */
.models { list-style: none; margin: 36px 0 0; padding: 0; }
.models > li { display: grid; grid-template-columns: minmax(220px, 360px) 1fr; gap: 32px; padding: 28px 0; border-top: 1px solid var(--line); }
.models > li:last-child { border-bottom: 1px solid var(--line); }
.models h3 { font-size: 1.6rem; } .models p { margin: 0; color: var(--muted); max-width: 62ch; }
@media (max-width: 760px) { .models > li { grid-template-columns: 1fr; gap: 8px; } }
/* IQ products reuse the model rows; each row is a redirect target (/rank-iq -> /iq/#rank-iq). */
.products > li { scroll-margin-top: 96px; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 48px; align-items: center; padding: 40px 0; }
.products .prod-text p:not(.row-kind) { margin-top: 12px; }
@media (max-width: 860px) { .products > li { grid-template-columns: minmax(0, 1fr); gap: 20px; } }
.viz-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 10px 0 0; font: 700 .85rem var(--display); color: var(--muted); }
.viz-legend span::before { content: ""; display: inline-block; width: 18px; height: 3px; border-radius: 2px; vertical-align: middle; margin-right: 7px; background: #9fc4bf; }
.products li:target h3 { color: var(--teal-dk); }
.models .row-kind { margin-top: 6px; color: var(--teal-dk); }
.why-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.why .sec-h { font-size: clamp(2rem, 4.2vw, 3.3rem); margin: 0 0 24px; max-width: 14ch; }
.why p { color: var(--muted-d); font-size: 1.2rem; }
@media (max-width: 860px) { .why-grid { grid-template-columns: 1fr; gap: 24px; } }
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 860px) { .calc-grid { grid-template-columns: 1fr; gap: 28px; } }
.calc { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 28px; }
.calc-out { font: 800 clamp(1.5rem, 3vw, 2rem)/1.32 var(--display); margin: 8px -28px 16px; padding: 20px 28px; background: var(--tint); border-block: 1px solid var(--line); }
.calc-out [data-calc-result] { color: var(--teal-dk); }
.calc-out .soft { display: block; font: 400 1rem/1.5 var(--body); color: var(--muted); margin-top: 4px; }

/* ---------- Illustrative product visuals (src/visuals.mjs) ---------- */
.viz { margin: 0; background: #fff; border: 0; border-radius: 16px; padding: 22px 22px 16px; box-shadow: inset 0 3px 0 var(--teal), 0 1px 2px rgba(12,43,41,.06), 0 14px 24px -16px rgba(12,43,41,.3); min-width: 0; }
.viz svg { display: block; width: 100%; height: auto; overflow: visible; }
.viz-title { font: 700 .95rem var(--display); color: var(--text); margin: 0 0 14px; }
.viz-cap { font-size: .78rem; color: var(--muted); margin-top: 14px; letter-spacing: .01em; }
.viz-wide { margin: 32px 0 8px; max-width: 560px; }
/* Reconciliation scorecard: no bars (every feed sits near 100%), so the row is dot, feed, rate, note. */
.recon-rows .mh-row { grid-template-columns: 12px minmax(0, 1fr) 64px 104px; }
@media (max-width: 560px) { .recon-rows .mh-row { grid-template-columns: 12px minmax(0, 1fr) 58px 84px; } }
.viz-recon .mh-ring span { font-size: .85rem; }
.viz-recon .mh-ring b { font-size: 1.3rem; letter-spacing: -0.02em; }
.viz-recon.viz-wide { max-width: none; }
/* Full width on desktop: ring and title on the left, the feeds on the right. */
@media (min-width: 861px) {
  .viz-recon { display: grid; grid-template-columns: minmax(240px, 320px) minmax(0, 1fr); grid-template-areas: "head rows" "cap rows"; column-gap: clamp(28px, 4vw, 56px); align-items: start; padding: 28px 32px 22px; }
  .viz-recon .mh-head { grid-area: head; flex-direction: column; align-items: flex-start; border-bottom: 0; padding-bottom: 0; }
  .viz-recon .mh-ring { width: 112px; height: 112px; }
  .viz-recon .mh-ring b { font-size: 1.6rem; }
  .viz-recon .recon-rows { grid-area: rows; border-top: 1px solid var(--line); }
  .viz-recon .viz-cap { grid-area: cap; align-self: end; }
}
.viz text { font-family: var(--body); }
.v-lab { font-size: 13px; fill: var(--muted); }
.v-num { font: 700 13px var(--display); fill: var(--muted); }
.v-strong { fill: var(--text); font-weight: 700; }
.v-track { fill: var(--tint); }
.v-you { fill: var(--teal); }
.v-them { fill: #9fc4bf; }
.v-line { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.v-line-you { stroke: var(--teal); }
.v-alert { fill: #c2410c; }
.viz-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; }
.viz-chips li { font-size: .82rem; color: var(--text); background: var(--tint); border: 1px solid var(--line); border-radius: 999px; padding: 4px 11px; }
.viz-chips b { font: 700 .76rem var(--display); color: var(--teal-dk); margin-right: 4px; }
.ac-top { display: flex; align-items: center; gap: 8px; font: 700 .82rem var(--display); color: #c2410c; text-transform: uppercase; letter-spacing: .06em; margin: 0 0 6px; }
.ac-dot { width: 8px; height: 8px; border-radius: 50%; background: #c2410c; }
.ac-h { font: 700 1.15rem/1.3 var(--display); margin: 0 0 12px; }
.ac-meta { font-size: .88rem; color: var(--muted); margin: 10px 0 0; }
.dc-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font: 600 .95rem var(--display); color: var(--muted); padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.dc-head strong { font-size: 1.5rem; color: var(--text); margin-left: 4px; }
.dc-why { font: 700 .78rem var(--display); text-transform: uppercase; letter-spacing: .08em; color: var(--teal-dk); margin: 14px 0 10px; }
.viz-thumb { padding: 16px 18px 12px; }
.stack { display: grid; gap: 28px; margin-top: 28px; }
.stack > div { border-top: 2px solid var(--teal); padding-top: 18px; }
.stack h3 { font-size: 1.45rem; margin-bottom: 8px; } .stack p { color: var(--muted); margin: 0; }
/* The driver card sits on the dark "score versus reason" band. */
.band-dark .viz { background: var(--ink-2); border-color: var(--line-d); box-shadow: none; }
.band-dark .viz-title, .band-dark .dc-head strong, .band-dark .v-strong { color: #fff; fill: #fff; }
.band-dark .viz-cap { color: var(--muted-d); border-top-color: var(--line-d); }
.band-dark .dc-head { color: var(--muted-d); border-bottom-color: var(--line-d); }
.band-dark .dc-why { color: var(--mint); }
.band-dark .v-lab, .band-dark .v-num { fill: var(--muted-d); }
.band-dark .v-track { fill: var(--ink-3); }
.band-dark .v-you { fill: var(--teal-btn); }

/* ---------- Forms ---------- */
.field { margin: 0 0 20px; }
label, legend { display: block; font: 600 .98rem var(--display); margin-bottom: 6px; padding: 0; }
input:not([type=checkbox]), select, textarea { width: 100%; font: inherit; color: var(--text); background: #fff; border: 1.5px solid #9fb4b1; border-radius: 10px; padding: 12px 14px; min-height: 48px; }
textarea { min-height: 130px; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--focus); }
.field.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .field.two { grid-template-columns: 1fr; } }
fieldset.field { border: 0; padding: 0; margin: 0 0 20px; }
.chk { display: flex; gap: 10px; align-items: center; font: 400 1.05rem var(--body); margin: 0 0 8px; }
.chk input { width: 20px; height: 20px; accent-color: var(--teal-dk); }
.with-cur { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: center; }
.with-cur .cur { font: 800 1.2rem var(--display); }
.form-msg { margin: 14px 0 0; min-height: 1.5em; font-weight: 600; }
.form-msg.ok { color: var(--teal-dk); } .form-msg.err { color: #b3261e; }
input[aria-invalid="true"] { border-color: #b3261e; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 64px; }
.alt { border-left: 2px solid var(--teal); padding-left: 32px; align-self: start; }
.alt h2 { font-size: 1.6rem; margin-bottom: 16px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } .alt { border-left: 0; padding-left: 0; border-top: 2px solid var(--teal); padding-top: 28px; } }

/* ---------- How it works ---------- */
.layers { list-style: none; counter-reset: l; padding: 0; margin: 36px 0 0; }
.layers li { counter-increment: l; display: grid; grid-template-columns: 72px 1fr; gap: 6px 24px; padding: 28px 0; border-top: 1px solid var(--line); }
.layers li::before { content: counter(l); font: 800 2.6rem/1 var(--display); color: var(--teal); grid-row: span 2; }
.layers li:last-child { border-bottom: 1px solid var(--line); }
.layers li > h3, .layers li > p { grid-column: 2; }
.layers h3 { font-size: 1.6rem; margin-bottom: 6px; } .layers p { margin: 0; color: var(--muted); max-width: 62ch; }
.weeks { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.weeks li { border-top: 2px solid var(--teal-btn); padding-top: 30px; position: relative; }
.weeks li::before { content: ""; position: absolute; left: 0; top: 0; transform: translateY(-50%); border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 5px var(--ink); }
.weeks li:nth-child(1)::before { width: 12px; height: 12px; } .weeks li:nth-child(2)::before { width: 18px; height: 18px; } .weeks li:nth-child(3)::before { width: 26px; height: 26px; box-shadow: 0 0 0 5px var(--ink); }
.wk { display: block; font: 700 1rem var(--display); color: var(--mint); margin-bottom: 6px; }
.weeks h3 { font-size: 2rem; margin-bottom: 6px; } .weeks p { color: var(--muted-d); margin: 0; }
@media (max-width: 760px) { .weeks { grid-template-columns: 1fr; gap: 28px; } }
.faq { max-width: 860px; }
.faq details { border-top: 1px solid var(--line); padding: 4px 0; }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font: 700 1.2rem var(--display); padding: 18px 40px 18px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 400 1.8rem var(--display); color: var(--teal-dk); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 18px; color: var(--muted); max-width: 62ch; }

/* ---------- About / news / prose ---------- */
.person { display: grid; grid-template-columns: 140px 1fr; gap: 40px; align-items: start; max-width: 900px; }
.avatar { width: 140px; height: 140px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; }
.avatar .avatar-mark { width: 58%; height: 58%; fill: var(--mint); }
.role { font: 600 1.15rem var(--display); color: var(--teal-dk); margin: -4px 0 18px; }
@media (max-width: 700px) { .person { grid-template-columns: 1fr; gap: 20px; } .avatar { width: 96px; height: 96px; font-size: 1.9rem; } }
.news { list-style: none; padding: 0; margin: 0; }
.news li { padding: 30px 0; border-top: 1px solid var(--line); } .news li:last-child { border-bottom: 1px solid var(--line); }
.news time { font: 600 .98rem var(--display); color: var(--teal-dk); }
.news h2 { font-size: 1.6rem; margin: 6px 0 8px; } .news p { margin: 0; color: var(--muted); }
.prose h2 { font-size: 1.5rem; margin: 36px 0 10px; } .prose p { color: var(--muted); }

/* ---------- CTA ---------- */
.cta { padding: clamp(56px, 7vw, 88px) 0; border-top: 1px solid var(--line-d); position: relative; overflow: hidden; }
.cta-mark { position: absolute; width: 560px; height: 560px; right: -140px; top: 50%; transform: translateY(-50%); fill: var(--teal); opacity: .09; pointer-events: none; }
.cta-in { position: relative; display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; align-items: center; }
.cta h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 800; max-width: 20ch; }
.cta p { color: var(--muted-d); max-width: 52ch; margin: 12px 0 0; font-size: 1.15rem; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-2); color: #dcebe8; padding: 64px 0 0; }
.site-footer a { color: #dcebe8; text-decoration: none; }
.site-footer a:hover { color: var(--mint); text-decoration: underline; }
.foot { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 48px; }
.foot-brand .mark { width: 54px; height: 54px; }
.foot-line { margin: 16px 0 24px; max-width: 38ch; color: var(--muted-d); }
.foot-h { font: 700 1rem var(--display); color: #fff; margin: 0 0 14px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; } .foot-col li { margin: 0 0 10px; }
.subscribe label { font-weight: 600; color: #fff; }
.sub-row { display: flex; gap: 10px; flex-wrap: wrap; } .sub-row input:not(.hp) { flex: 1 1 200px; width: auto; }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 22px; padding-bottom: 28px; border-top: 1px solid var(--line-d); font-size: .92rem; color: var(--muted-d); }
.legal p { margin: 0; }
@media (max-width: 860px) { .foot { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* ---------- Consent ---------- */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80; max-width: 760px; margin: 0 auto; background: var(--ink); color: #fff; border: 1px solid var(--line-d); border-radius: 14px; padding: 18px 20px; display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; box-shadow: 0 10px 40px rgba(0,0,0,.35); }
.consent[hidden] { display: none; }
.consent p { margin: 0; flex: 1 1 320px; font-size: 1rem; } .consent a { color: var(--mint); }
.consent-btns { display: flex; gap: 10px; }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- News: slim homepage banner, latest section (src/news.mjs, main.js) ---------- */
.news-banner { background: var(--ink-2); border-bottom: 1px solid var(--line-d); color: #fff; }
.nb-in { display: flex; align-items: center; gap: 14px; min-height: 48px; font-size: .95rem; }
.nb-in time { flex: none; color: var(--mint); font: 600 .85rem var(--display); }
.nb-title { flex: 1 1 auto; min-width: 0; color: #fff; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.nb-title:hover { text-decoration: underline; color: #fff; }
.news-banner .nb-read { flex: none; color: var(--mint); font: 700 .9rem var(--display); }
.nb-close { flex: none; width: 44px; height: 44px; margin-right: -12px; border: 0; background: none; cursor: pointer; position: relative; }
.nb-close::before, .nb-close::after { content: ""; position: absolute; left: 14px; right: 14px; top: 21px; height: 2px; background: var(--muted-d); }
.nb-close::before { transform: rotate(45deg); } .nb-close::after { transform: rotate(-45deg); }
.nb-close:hover::before, .nb-close:hover::after { background: #fff; }
html.nb-hidden .news-banner { display: none; }
@media (max-width: 560px) {
  .nb-in time, .news-banner .nb-read { display: none; }
  /* Phones: wrap to two lines rather than cut the headline mid-word. */
  .nb-title { white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; line-height: 1.35; }
}
.news-latest { list-style: none; margin: 32px 0 24px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 44px); }
.news-latest li { border-top: 1px solid var(--text); padding-top: 16px; }
.news-latest time { font: 600 .9rem var(--display); color: var(--teal-dk); }
.news-latest h3 { font-size: 1.3rem; margin: 6px 0 8px; text-wrap: balance; }
.news-latest p { color: var(--muted); margin: 0 0 10px; }
.news-more, .news-all { font: 700 .95rem var(--display); }
.news-all::after { content: " \2192"; }
.news .news-more { margin-top: 10px; }
@media (max-width: 860px) { .news-latest { grid-template-columns: minmax(0, 1fr); } }

/* ---------- IQ market snapshot (src/assets/js/insights.js): insight cards, four numbered panels, CTA ---------- */
.insights { border-top: 1px solid var(--line); }
.ins { margin-top: 32px; }
.ins-cards { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ins-cards li { background: var(--ink); color: #fff; border-radius: 16px; padding: 20px 22px 22px; }
.ins-label { margin: 0; font: 600 .78rem var(--display); letter-spacing: .06em; text-transform: uppercase; color: var(--mint); }
.ins-fig { margin: 6px 0 4px; font: 800 clamp(2rem, 3.4vw, 2.6rem)/1 var(--display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.ins-txt { margin: 0; color: var(--muted-d); font-size: .95rem; line-height: 1.45; }
.ins-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.ins-panel { background: #fff; border-radius: 16px; padding: 20px 22px 14px; display: flex; flex-direction: column; box-shadow: 0 1px 2px rgba(12,43,41,.06), 0 14px 24px -16px rgba(12,43,41,.3); min-width: 0; }
.ins-panel h3 { display: flex; align-items: baseline; gap: 10px; margin: 0; font: 800 1.12rem/1.25 var(--display); }
.ins-n { color: var(--teal-dk); font-size: 1.2rem; }
.ins-sub { margin: 4px 0 12px; color: var(--muted); font-size: .9rem; }
.ins-t { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: .9rem; font-variant-numeric: tabular-nums; }
.ins-t th, .ins-t td { padding: 8px 6px; text-align: left; vertical-align: middle; border-top: 1px solid var(--line); }
.ins-t thead th { border-top: 0; padding-top: 0; font: 600 .74rem var(--display); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.ins-t tbody th { font: 700 .9rem/1.3 var(--display); color: var(--text); overflow-wrap: break-word; }
.ins-t-reviews th:first-child, .ins-t-seo th:first-child { width: 28%; }
.ins-t-sentiment th:first-child { width: 22%; }
.ins-t-providers th:first-child { width: 2.4em; }
.ins-t-providers thead th:nth-child(2), .ins-t-providers tbody th { width: auto; }
.ins-t-providers td:last-child, .ins-t-providers thead th:last-child { width: 46%; }
.ins-rank { color: var(--muted); font-weight: 600; }
.ins-score { white-space: nowrap; }
.ins-v { display: inline-block; min-width: 3.1em; font-weight: 700; }
.ins-bar { display: inline-block; vertical-align: middle; width: calc(100% - 3.6em); max-width: 120px; height: 6px; }
.ins-bar2 { display: block; width: 100%; max-width: 140px; height: 14px; margin-top: 4px; }
.ins-pair { white-space: nowrap; }
.ins-pair b { font: 800 .95rem var(--display); }
.ins-vs { color: var(--muted); font-size: .8rem; }
.ins-top5 { fill: var(--teal); } .ins-all { fill: var(--muted-d); }
.s-none { fill: transparent; }
.ins-theme { display: block; line-height: 1.3; }
.ins-share { font: 700 .8rem var(--display); }
.s-txt-ok { color: var(--teal-dk); } .s-txt-behind { color: #b42318; }
.ins-num { font-weight: 700; }
.ins-more { margin-top: auto; padding-top: 2px; }
.ins-more summary { cursor: pointer; padding: 10px 6px 4px; font: 700 .85rem var(--display); color: var(--teal-dk); list-style-position: inside; }
.ins-more summary:hover { text-decoration: underline; }
/* Rows 6+ show when "Show all" is open. Browsers without :has() simply show every row. */
@supports selector(:has(a)) {
  .ins-rest { display: none; }
  .ins-panel:has(.ins-more[open]) .ins-rest { display: table-row-group; }
}
.ins-empty { margin: 8px 0 12px; color: var(--muted); }
.ins-src { margin: 16px 0 0; color: var(--muted); font-size: .85rem; }
.ins-cta { margin-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; background: var(--teal-deep); color: #fff; border-radius: 16px; padding: clamp(22px, 3vw, 32px) clamp(22px, 3.4vw, 40px); }
.ins-cta h3 { margin: 0 0 4px; font: 800 clamp(1.35rem, 2.4vw, 1.75rem)/1.2 var(--display); color: #fff; }
.ins-cta p { margin: 0; color: #d6efeb; font-size: 1.05rem; }
.ins-cta .btn { flex: none; background: var(--mint); color: var(--ink); }
.ins-cta .btn:hover, .ins-cta .btn:focus-visible { background: #fff; color: var(--ink); }
.home-cta { margin-top: clamp(32px, 4vw, 48px); }
.home-cta p { max-width: 62ch; }
@media (max-width: 960px) { .ins-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 700px) {
  .ins-cards { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .ins-cards li { padding: 16px 18px 18px; }
  .ins-panel { padding: 18px 14px 10px; }
  .ins-t { font-size: .85rem; }
  .ins-bar { display: none; }
  .ins-bar2 { max-width: 90px; }
  .ins-t-reviews th:first-child, .ins-t-seo th:first-child { width: 30%; }
  .ins-t-sentiment th:first-child { width: 28%; }
  .ins-t { table-layout: auto; }
  .ins-t tbody th { font-size: .8rem; overflow-wrap: normal; }
  .ins-t th, .ins-t td { padding-left: 4px; padding-right: 4px; }
}
@media (max-width: 440px) { .ins-bar2 { display: none; } .ins-pair .ins-vs { display: block; } .ins-t thead th { font-size: .75rem; letter-spacing: 0; } .ins-panel { padding: 16px 8px 8px; overflow-x: auto; } .ins-t { font-size: .78rem; } .ins-t th, .ins-t td { padding-left: 2px; padding-right: 2px; } .ins-pair b { font-size: .85rem; } }

/* ---------- Home after feedback (16 Oct 2026): worked example, problems, how it fits, integration ---------- */
/* Hero: a worked example card that steps in, in place of the circles. */
.hero-ex { display: grid; justify-items: end; }
.ex-card { margin: 0; width: min(100%, 470px); background: #fff; color: var(--text); border-radius: 18px; padding: 22px 24px 16px; box-shadow: 0 24px 48px -24px rgba(0, 0, 0, .55); }
.ex-eyebrow { margin: 0 0 12px; font: 700 .78rem var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--teal-dk); }
.ex-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.ex-s { position: relative; padding: 14px 0 14px 22px; border-top: 1px solid var(--line); animation: ex-in .5s cubic-bezier(.16, 1, .3, 1) backwards; }
.ex-s::before { content: ""; position: absolute; left: 0; top: 19px; width: 10px; height: 10px; border-radius: 50%; background: var(--c-rep); }
.ex-s:nth-child(1) { animation-delay: .35s; } .ex-s:nth-child(2) { animation-delay: 1.25s; } .ex-s:nth-child(3) { animation-delay: 2.15s; }
.ex-s:nth-child(1)::before { background: #d14343; }
.ex-do::before { background: var(--ink); box-shadow: 0 0 0 3px var(--c-iq); }
@keyframes ex-in { from { opacity: 0; transform: translateY(10px); } }
.ex-k { display: block; font: 700 .8rem var(--display); color: var(--muted); margin-bottom: 4px; }
.ex-s p { margin: 0; line-height: 1.45; }
.ex-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.ex-big { font: 800 1.3rem/1.2 var(--display); letter-spacing: -0.01em; color: var(--ink); }
.ex-spark { flex: none; width: 110px; height: 34px; }
.ex-spark polyline { fill: none; stroke: #d14343; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.ex-spark circle { fill: #d14343; }
.ex-do p:not(.ex-src) { font: 700 1.05rem/1.4 var(--display); color: var(--ink); }
.ex-src { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px !important; }
.ex-src span { font: 600 .8rem/1.2 var(--display); color: var(--ink); background: var(--tint); border-radius: 999px; padding: 4px 10px 4px 22px; position: relative; }
.ex-src span::before { content: ""; position: absolute; left: 8px; top: 50%; transform: translateY(-50%); width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--teal-dk); }
.ex-cap { margin-top: 6px; font-size: .78rem; color: var(--muted); }
@media (max-width: 860px) { .hero-ex { justify-items: stretch; margin-top: 8px; } .ex-card { width: 100%; } }
@media (max-width: 440px) { .ex-row { flex-direction: column; align-items: flex-start; gap: 6px; } .ex-big { font-size: 1.15rem; } }

/* The problems we solve: four short cards, each linking to the part that answers it. */
.prob-list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.prob-list li { background: #fff; border-radius: 16px; padding: 22px 22px 20px; box-shadow: 0 1px 2px rgba(12,43,41,.06), 0 14px 24px -16px rgba(12,43,41,.3); display: flex; flex-direction: column; gap: 10px; }
.prob-list .circles-mini { width: 48px; height: 42px; }
.prob-list h3 { font-size: 1.3rem; letter-spacing: -0.015em; margin: 0; }
.prob-list p { margin: 0; color: var(--muted); line-height: 1.5; }
.prob-link { margin-top: auto; padding-top: 4px; font: 700 .92rem var(--display); color: var(--teal-dk); text-decoration: none; }
.prob-link::after { content: " \2192"; }
.prob-link:hover { text-decoration: underline; }
@media (max-width: 1100px) { .prob-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .prob-list { grid-template-columns: minmax(0, 1fr); } }

/* How it fits together: the three circles, now below the fold, beside the three steps. */
.fit-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: clamp(32px, 5vw, 72px); align-items: center; }
.beats-dark { grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: 28px; }
.beats-dark li { border-top-color: var(--line-d); padding-top: 14px; }
.beats-dark li::before { color: var(--mint); }
.beats-dark h3 { font-size: 1.4rem; color: #fff; margin-bottom: 4px; }
.beats-dark p { color: var(--muted-d); }
@media (max-width: 860px) { .fit-grid { grid-template-columns: minmax(0, 1fr); } .fit .hero-circles .circles { width: min(88%, 340px); justify-self: center; } }

/* Integration: the timeline, the Kambi line and the partner logos. */
.integ-ref { margin: 28px 0 0; color: var(--muted-d); }
.integ .ledger { margin-top: 28px; }
/* How it works: the pricing model under the timeline. */
.pricing { margin-top: 40px; padding: 22px 26px; border: 1px solid var(--line-d); border-radius: 16px; max-width: 760px; }
.pricing h3 { margin: 0 0 6px; font-size: 1.25rem; color: #fff; }
.pricing p { margin: 0; color: var(--muted-d); }

/* ---------- About: founder-led (16 Oct 2026) ---------- */
.founder-grid { display: grid; grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.founder-grid > div:last-child > p { max-width: 62ch; font-size: 1.1rem; }
.founder-photo { display: block; width: 100%; aspect-ratio: 6 / 7; object-fit: cover; border-radius: 18px; background: var(--ink); }
.founder-name { margin: 16px 0 0; font: 800 1.35rem var(--display); }
.founder-media .role { margin: 2px 0 8px; }
.pull { margin: 28px 0 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--teal); }
.pull p { margin: 0; font: 700 clamp(1.15rem, 1.9vw, 1.4rem)/1.4 var(--display); letter-spacing: -0.01em; color: var(--ink); }
.pull footer { margin-top: 8px; font-size: .92rem; color: var(--muted); }
.quote-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.quote-list .pull { margin: 0; }
@media (max-width: 760px) { .founder-grid, .quote-list { grid-template-columns: minmax(0, 1fr); } .founder-media { max-width: 320px; } }
/* Home hero: the sub-line is a full sentence now, so it reads as body text, not a second headline. */
.home .hero-what { font: 500 clamp(1.1rem, 1.6vw, 1.3rem)/1.5 var(--body); color: #d6efeb; max-width: 40ch; }
/* Phones: "Inside each part" keeps its text and links; the scorecards live on each product page. */
@media (max-width: 700px) { .three .viz-thumb { display: none; } .three-grid { gap: 22px; } .three-grid > article > p { margin-bottom: 0; } }
/* The "Why" step: findings as a short list, each with a small dot. */
.ex-why { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.ex-why li { position: relative; padding-left: 14px; line-height: 1.45; }
.ex-why li::before { content: ""; position: absolute; left: 0; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: var(--teal-dk); }

/* ---------- Critique fixes (16 Oct 2026) ---------- */
/* What the first call is, under the closing band's buttons. */
.cta-note { flex-basis: 100%; margin: 4px 0 0; font-size: .95rem; color: var(--muted-d); }
/* Comfortable line lengths. */
.integ-ref { max-width: 64ch; }
.ins-src { max-width: 90ch; }
/* Tap targets at least 44px tall. */
.prob-link, .news-all, .news-latest .news-more, .ins-more summary { display: inline-flex; align-items: center; min-height: 44px; }
.ins-more summary { padding-top: 0; padding-bottom: 0; }
.news .news-more a { display: inline-flex; align-items: center; min-height: 44px; }
.ledger dd.logos > a { min-height: 44px; display: flex; align-items: center; }
.foot-col li { margin: 0; } .foot-col li a { display: inline-flex; align-items: center; min-height: 44px; }
/* About: a small monogram until the photo arrives, beside the name rather than a large slab. */
.founder-mono { display: grid; place-items: center; width: 112px; height: 112px; border-radius: 50%; color: var(--mint); font: 800 2.4rem var(--display); letter-spacing: -0.03em; background: var(--ink); }
/* Page-hero circles sit centred on phones. */
@media (max-width: 860px) { .ph-art.ph-circles { justify-content: center; } .ph-circles .circles { margin: 0 auto; } }
.brand, .btn-sm { min-height: 44px; } .brand { display: inline-flex; align-items: center; }
.nb-in .nb-title { min-height: 44px; } @media (min-width: 561px) { .nb-in .nb-title { line-height: 44px; } }
.three-grid h3 a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer .foot-legal a, .site-footer p a { display: inline-flex; align-items: center; min-height: 44px; }
.founder-media p > a { display: inline-flex; align-items: center; min-height: 44px; }
.ci-key a { min-height: 44px; }

/* ---------- How it fits together: interactive circles (fitExplorer + main.js) ---------- */
.fx { display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; margin-top: 32px; }
.fx-art { display: grid; justify-items: center; gap: 10px; position: sticky; top: 96px; }
.fx-art .circles { width: 100%; max-width: 520px; }
.circles.is-interactive { cursor: pointer; }
.circles [data-c] { transition: opacity .35s ease; }
.circles [data-dim] { opacity: .14; }
.fx-hint { margin: 0; font: 600 .82rem var(--display); color: var(--muted-d); letter-spacing: .02em; }
/* The seven areas, grouped, each with a small map of the circles it covers. */
.fx-group + .fx-group { margin-top: 14px; }
.fx-group-h { margin: 0 0 8px; font: 700 .78rem var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--muted-d); }
.fx-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.fx-tab { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 14px 6px 8px; border: 1.5px solid var(--line-d); border-radius: 999px; background: transparent; color: #fff; font: 700 .92rem var(--display); cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.fx-tab .circles-mini { width: 30px; height: 26px; flex: none; }
.fx-tab:hover { border-color: var(--c-iq); }
.fx-tab[aria-pressed="true"] { background: var(--c-iq); border-color: var(--c-iq); color: var(--ink); }
/* On the dark band the small maps need dark-band strokes. */
.fx .cm { stroke: var(--muted-d); }
.fx .cm-iq.on { fill: var(--c-iq); stroke: var(--c-iq); } .fx .cm-reporting.on { fill: var(--c-rep); stroke: var(--c-rep); }
.fx .cm-ml.on { stroke: #fff; }
.fx .pat-cm circle { fill: #fff; }
.fx-tab[aria-pressed="true"] .cm { stroke: var(--ink); } .fx-tab[aria-pressed="true"] .pat-cm circle { fill: var(--ink); }
/* The panel for the chosen area. */
.fx-panels { margin-top: 22px; }
.fx-panel { background: #fff; color: var(--text); border-radius: 18px; padding: 24px 26px 22px; box-shadow: 0 24px 48px -28px rgba(0, 0, 0, .6); animation: fx-in .35s cubic-bezier(.16, 1, .3, 1); }
@keyframes fx-in { from { opacity: 0; transform: translateY(8px); } }
.fx-eyebrow { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font: 700 .8rem var(--display); letter-spacing: .06em; text-transform: uppercase; color: var(--teal-dk); }
.fx-eyebrow .circles-mini { width: 30px; height: 26px; }
.fx-panel h3 { margin: 0; font-size: clamp(1.5rem, 2.4vw, 1.9rem); letter-spacing: -0.02em; color: var(--ink); }
.fx-q { margin: 6px 0 0; font: 700 1.08rem/1.4 var(--display); color: var(--teal-dk); }
.fx-body { margin: 10px 0 0; color: var(--muted); line-height: 1.55; }
.fx-ex { margin: 14px 0 0; padding: 12px 14px; background: var(--tint); border-radius: 12px; color: var(--ink); line-height: 1.5; }
.fx-ex span { display: block; font: 700 .75rem var(--display); letter-spacing: .06em; text-transform: uppercase; color: var(--teal-dk); margin-bottom: 2px; }
.fx-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 8px; font: 700 .95rem var(--display); color: var(--teal-dk); text-decoration: none; }
.fx-link::after { content: " \2192"; white-space: pre; }
.fx-link:hover { text-decoration: underline; }
@media (max-width: 960px) {
  .fx { grid-template-columns: minmax(0, 1fr); }
  .fx-art { position: static; }
  .fx-art .circles { max-width: 380px; }
}
/* The small map inside the white panel uses the light-background colours. */
.fx-panel .cm { stroke: #9fc4bf; } .fx-panel .cm-iq.on, .fx-panel .cm-reporting.on { stroke: var(--teal-dk); } .fx-panel .cm-ml.on { stroke: var(--ink); } .fx-panel .pat-cm circle { fill: var(--ink); }
.band-dark .fx-panel a.fx-link { color: var(--teal-dk); }

/* ---------- Full circles graphic, readable (16 Oct 2026): solid fills, a tone per overlap, outlines ---------- */
:root { --c-ml-fill: #e3f1ee; --c-iq-ml: #bdeee7; --c-rep-ml: #86c8c1; --c-all: #a5dcd4; }
.ci-ml-solid { fill: var(--c-ml-fill); stroke: none; }
.ci-lens-iqml { fill: var(--c-iq-ml); }
.ci-lens-repml { fill: var(--c-rep-ml); }
.ci-lens-all { fill: var(--c-all); }
.pat-ml-soft circle { fill: var(--ink); fill-opacity: .16; }
.ci-outline { fill: none; stroke: var(--ink); stroke-width: 3; }
.circles:not(.is-lit) .n-ml { fill: var(--ink); }
/* The selected area reads as raised: everything else fades further. */
.circles.is-interactive [data-dim] { opacity: .1; }

/* ---------- How it fits together: the target (concept F, 18 Oct 2026) ---------- */
.target { width: 100%; max-width: 560px; height: auto; overflow: visible; }
.target [data-c] { transition: opacity .35s ease; }
.target [data-dim] { opacity: .14; }
.target.is-interactive .tg-ring, .target.is-interactive .tg-label, .target.is-interactive .tg-core { cursor: pointer; }
.tg-ring { fill: none; }
.tg-iq { stroke: var(--c-iq); } .tg-reporting { stroke: var(--c-rep); } .tg-ml { stroke: var(--c-ml-fill); }
.tg-core circle { fill: var(--ink); stroke: var(--c-iq); stroke-width: 2; }
.tg-core text { font: 800 15px var(--display); fill: #fff; }
.tg-lead { stroke: var(--muted-d); stroke-width: 1.2; fill: none; }
.tg-dot { fill: var(--ink); stroke: var(--muted-d); stroke-width: 1.5; }
.tg-name { font: 800 22px var(--display); letter-spacing: -0.01em; }
.tl-iq .tg-name { fill: var(--c-iq); } .tl-reporting .tg-name { fill: var(--c-mid); } .tl-ml .tg-name { fill: #fff; }
.tg-sub { font: 400 16px var(--body, sans-serif); fill: var(--muted-d); }
.tg-label:hover .tg-name { text-decoration: underline; text-underline-offset: 4px; }
.fx-art .target { max-width: 560px; }
@media (max-width: 860px) { .fx-art .target { max-width: 480px; } }
/* Small targets on the buttons and panel eyebrows. */
.target-mini { width: 26px; height: 26px; flex: none; }
.tm { fill: none; stroke: var(--line-d); }
.tm-iq.on { stroke: var(--c-iq); } .tm-reporting.on { stroke: var(--c-rep); } .tm-ml.on { stroke: var(--c-ml-fill); }
.tm-core { fill: #fff; }
.fx-tab[aria-pressed="true"] .tm { stroke: rgba(12, 43, 41, .18); }
.fx-tab[aria-pressed="true"] .tm.on { stroke: var(--ink); } .fx-tab[aria-pressed="true"] .tm-iq.on { stroke: var(--teal-dk); }
.fx-tab[aria-pressed="true"] .tm-core { fill: var(--ink); }
.fx-panel .tm { stroke: #d3e3e0; } .fx-panel .tm-iq.on { stroke: var(--c-iq); } .fx-panel .tm-reporting.on { stroke: var(--c-rep); } .fx-panel .tm-ml.on { stroke: var(--ink); } .fx-panel .tm-core { fill: var(--ink); }
/* Phones: the side names would shrink below reading size, so a rings-only target replaces the
   labelled one; the buttons right under the graphic name every ring. */
.tg-narrow { display: none; }
@media (max-width: 600px) {
  .tg-wide { display: none; }
  .fx-art .tg-narrow { display: block; width: min(100%, 300px); }
  .tg-narrow .tg-core text { font-size: 17px; }
}

/* ---------- Header dropdown: How it works and the three products (18 Oct 2026) ---------- */
.has-dd { position: relative; }
.dd-toggle { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; border-bottom: 2px solid transparent; padding: 8px 0; color: #fff; font: 600 .98rem var(--display); cursor: pointer; white-space: nowrap; }
.dd-toggle:hover, .has-dd:has([aria-current]) .dd-toggle { border-bottom-color: var(--teal-btn); }
.dd-chev { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.dd-toggle[aria-expanded="true"] .dd-chev { transform: rotate(180deg); }
#nav ul.dd { position: absolute; top: calc(100% + 12px); left: -18px; z-index: 60; display: grid; gap: 2px; width: 320px; margin: 0; padding: 8px; list-style: none; background: #fff; border-radius: 14px; box-shadow: 0 24px 48px -20px rgba(0, 0, 0, .55); }
#nav ul.dd[hidden] { display: none; }
#nav ul.dd a { display: grid; gap: 1px; padding: 10px 12px; border: 0; border-radius: 10px; color: var(--ink); white-space: normal; }
#nav ul.dd a b { font: 700 1rem var(--display); }
#nav ul.dd a span { font: 400 .9rem/1.35 var(--body); color: var(--muted); }
#nav ul.dd a:hover, #nav ul.dd a:focus-visible { background: var(--tint); color: var(--ink); }
#nav ul.dd a[aria-current] { background: var(--tint); box-shadow: inset 3px 0 0 var(--teal); }
#nav ul.dd .dd-overview { padding-bottom: 4px; margin-bottom: 4px; border-bottom: 1px solid #dbe7e5; }
@media (max-width: 860px) {
  .dd-toggle { width: 100%; justify-content: space-between; padding: 12px 0; font-size: 1.1rem; border-bottom: 0; }
  #nav ul.dd { position: static; width: 100%; padding: 0 0 8px 14px; background: none; box-shadow: none; border-left: 2px solid var(--line-d); border-radius: 0; }
  #nav ul.dd a { color: #fff; padding: 10px 0; }
  #nav ul.dd a span { color: var(--muted-d); }
  #nav ul.dd a:hover, #nav ul.dd a:focus-visible, #nav ul.dd a[aria-current] { background: none; color: var(--mint); box-shadow: none; }
  #nav ul.dd .dd-overview { border-bottom-color: var(--line-d); }
}
@media (min-width: 861px) { #nav > ul { align-items: center; } .dd-toggle { line-height: inherit; } }

/* ---------- The target on product pages (18 Oct 2026) ---------- */
.ph-target .target { width: min(100%, 540px); height: auto; }
.target.is-lit .tg-ring.off { stroke: var(--line-d); }
.target.is-lit .tg-label.off .tg-name { fill: var(--muted-d); opacity: .55; }
.target.is-lit .tg-label.off .tg-sub { opacity: .5; }
.target.is-lit .tg-label.off .tg-lead, .target.is-lit .tg-label.off .tg-dot { opacity: .45; }
.target.is-lit .tg-core circle { stroke: var(--line-d); }
@media (max-width: 600px) { .ph-target .tg-narrow { width: min(64%, 220px); } }
/* Small targets in the "meets the other two" list, on a light band. */
.meets .target-mini { width: 44px; height: 44px; }
.meets .tm { stroke: #dbe7e5; }
.meets .tm-iq.on { stroke: var(--c-iq); } .meets .tm-reporting.on { stroke: var(--c-rep); } .meets .tm-ml.on { stroke: var(--ink); }
/* The labelled target needs a wider art column than the circles did, or its names drop below reading size. */
@media (min-width: 861px) {
  .ph:has(.ph-target) { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
  .ph-target .tg-name { font-size: 24px; }
  .ph-target .tg-sub { font-size: 18px; }
}
@media (max-width: 600px) { .ph-target .tg-narrow { display: block; margin: 0 auto; } }
/* Home problem cards: small targets on the light band, like the product pages' pair list. */
.prob-list .target-mini { width: 44px; height: 44px; }
.prob-list .tm { stroke: #dbe7e5; }
.prob-list .tm-iq.on { stroke: var(--c-iq); } .prob-list .tm-reporting.on { stroke: var(--c-rep); } .prob-list .tm-ml.on { stroke: var(--ink); }
.prob-list .tm-core { fill: var(--ink); }
/* Where each IQ panel's figures come from, at the foot of the panel. */
.ins-data { margin: auto 0 0; padding-top: 12px; border-top: 1px solid #e2ecea; color: var(--muted); font-size: .85rem; line-height: 1.45; }
.ins-data b { color: var(--ink); font-weight: 700; }
.ins-panel > details + .ins-data, .ins-panel > table + .ins-data, .ins-panel > .ins-empty + .ins-data { margin-top: auto; }
.ins-panel > :nth-last-child(2) { margin-bottom: 14px; }

/* ---------- Critique 18 Oct 2026: four-option explorer, founder hero ---------- */
.fx-ui > .fx-tabs { margin: 0; }
.fx-tour { margin-top: 12px; min-height: 44px; padding: 0 14px; border: 1.5px solid var(--line-d); border-radius: 999px; background: transparent; color: var(--muted-d); font: 600 .9rem var(--display); cursor: pointer; }
.fx-tour:hover { color: #fff; border-color: var(--c-iq); }
.fx-tour[hidden] { display: none; }
/* Every card sits in one grid cell, so the tallest sets the height and nothing below moves. */
.fx-panels { display: grid; }
.fx-panel { grid-area: 1 / 1; }
.fx-panel.is-off { visibility: hidden; animation: none; }
.fx-panel[hidden] { display: block; }
.fx-with { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.fx-with li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; align-items: start; }
.fx-with p { margin: 0; color: var(--muted); line-height: 1.5; }
.fx-with b { display: block; color: var(--ink); font: 700 .98rem var(--display); }
/* About opens with the founder: portrait (or monogram), the pull quote, name. */
.ph-own { display: flex; justify-content: center; }
.ph-founder { margin: 0; display: grid; gap: 18px; justify-items: start; max-width: 420px; }
.ph-founder .founder-photo { width: min(100%, 300px); }
.ph-founder .founder-mono { width: 128px; height: 128px; font-size: 2.8rem; background: var(--ink-2); border: 2px solid var(--c-iq); }
.ph-founder .pull { margin: 0; border-left-color: var(--c-iq); }
.ph-founder .pull p { color: #fff; }
.ph-founder figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; color: var(--muted-d); font-size: .95rem; }
.ph-founder figcaption b { flex-basis: 100%; color: #fff; font: 800 1.15rem var(--display); }
.ph-founder figcaption a { display: inline-flex; align-items: center; min-height: 44px; }
.founder-story > div > p { max-width: 62ch; font-size: 1.1rem; }
@media (max-width: 860px) { .ph-art.ph-own { display: flex; justify-content: flex-start; } }
/* The pause control sits under the rings, beside the hint, in a row of fixed height, so it never moves the cards. */
.fx-art-foot { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 44px; flex-wrap: wrap; }
.fx-art-foot .fx-tour { margin: 0; }
/* Joshua's photo is a round portrait with its own teal ring; clip it to that circle so the square
   file's white corners never show on the dark hero. */
.ph-founder .founder-photo { width: min(100%, 200px); height: auto; aspect-ratio: 1; border-radius: 50%; clip-path: circle(49%); background: none; }

/* ---------- Blog (18 Oct 2026): list, post, and the prose a post renders to (functions/blog.js) ---------- */
.blog-list { list-style: none; margin: 0; padding: 0; }
.blog-card { padding: 30px 0; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.blog-card:last-child { border-bottom: 1px solid var(--line); }
.blog-card-text > a:not(.blog-more), .blog-more { text-decoration: none; } .blog-card-text > a:not(.blog-more) { color: var(--ink); }
.blog-card-text > a:hover h2 { color: var(--teal-dk); text-decoration: underline; text-underline-offset: 4px; }
.blog-card h2 { margin: 0; font-size: clamp(1.4rem, 2.4vw, 1.75rem); text-wrap: balance; }
.blog-card-text > p:not(.blog-meta) { margin: 4px 0 0; color: var(--muted); max-width: 62ch; }
.blog-more { display: inline-flex; align-items: center; min-height: 44px; font: 700 .98rem var(--display); color: var(--teal-dk); }
.blog-more::after { content: " \2192"; white-space: pre; }
.blog-meta { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; font: 600 .95rem var(--display); color: var(--teal-dk); }
.blog-meta > * + *::before { content: "\00b7"; margin: 0 10px; color: var(--muted); }
.band-dark .blog-meta { color: var(--mint); margin-top: 18px; }
.band-dark .blog-meta > * + *::before { color: var(--muted-d); }
.blog-empty { margin: 0; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); font-size: 1.1rem; }
.blog-crumb { margin: 0 0 12px; font: 700 .9rem var(--display); letter-spacing: .06em; text-transform: uppercase; }
.blog-crumb a { color: var(--mint); text-decoration: none; }
.blog-crumb a::before { content: "\2190  "; white-space: pre; }
.blog-crumb a:hover { text-decoration: underline; }
.blog-h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); text-wrap: balance; }
.prose { font-size: 1.15rem; line-height: 1.7; }
.prose > * { max-width: 66ch; }
.prose > * + * { margin-top: 1.1em; }
.prose p { margin-bottom: 0; }
.prose h2 { margin: 1.8em 0 0; font-size: clamp(1.45rem, 2.6vw, 1.9rem); line-height: 1.2; text-wrap: balance; }
.prose h3 { margin: 1.5em 0 0; font-size: 1.3rem; line-height: 1.25; }
.prose h2 + *, .prose h3 + * { margin-top: .55em; }
.prose ul, .prose ol { margin-bottom: 0; padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--teal-dk); }
.prose blockquote { margin: 1.6em 0 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--teal); }
.prose blockquote p { font: 700 clamp(1.2rem, 2vw, 1.45rem)/1.4 var(--display); color: var(--ink); letter-spacing: -0.01em; }
.prose a { color: var(--teal-dk); text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
.blog-back { margin-top: 2.4em !important; padding-top: 18px; border-top: 1px solid var(--line); }
.blog-back a { display: inline-flex; align-items: center; min-height: 44px; font: 700 .98rem var(--display); color: var(--teal-dk); }
.blog-back a::before { content: "\2190  "; white-space: pre; }
.blog-next .sec-h { margin-bottom: 8px; }

/* Blog images (18 Oct 2026): figures in posts, the cover, and list thumbnails. */
.prose figure { margin: 1.8em 0 0; max-width: none; }
.prose figure img, .prose p img { display: block; max-width: 100%; height: auto; border-radius: 12px; background: var(--tint); }
.prose figcaption { margin-top: 10px; font-size: .92rem; line-height: 1.45; color: var(--muted); }
.blog-cover { display: block; width: 100%; max-width: none !important; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; border-radius: 16px; background: var(--tint); margin-bottom: .6em; }
.blog-card.has-thumb { grid-template-columns: minmax(0, 1fr) 200px; gap: 24px; align-items: start; }
.blog-card.has-thumb .blog-thumb { order: 2; width: 200px; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; border-radius: 12px; background: var(--tint); }
.blog-card-text { display: grid; gap: 6px; min-width: 0; }
@media (max-width: 600px) { .blog-card.has-thumb { grid-template-columns: minmax(0, 1fr); } .blog-card.has-thumb .blog-thumb { order: 0; width: 100%; } }

/* ---------- Edits PDF (19 Oct 2026) ---------- */
/* Closing band: the two buttons were stretching to the height of the note beside them (71px, label
   at the top). Fixed height, label centred, and the note on its own line underneath. */
.cta-btns { align-items: center; }
.cta-btns .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px; font-size: .95rem; line-height: 1; }
.cta .cta-btns .cta-note { flex-basis: 100%; max-width: none; margin: 6px 0 0; font-size: .95rem; }
/* How pricing works: full width and clearly a panel of its own. */
.timeline .pricing { max-width: none; margin-top: 48px; padding: 26px 30px; display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 8px 32px; align-items: center; background: rgba(143, 227, 217, .08); border: 1.5px solid rgba(143, 227, 217, .45); border-left: 6px solid var(--mint); border-radius: 16px; }
.timeline .pricing h3 { margin: 0; font-size: 1.45rem; color: var(--mint); }
.timeline .pricing p { margin: 0; font-size: 1.15rem; line-height: 1.55; color: #fff; }
@media (max-width: 720px) { .timeline .pricing { grid-template-columns: minmax(0, 1fr); padding: 22px 20px; } }

/* ---------- Rank IQ daily position report page (19 Oct 2026) ---------- */
.rq-crumb { margin: 0 0 14px; font: 700 .85rem var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--muted-d); }
.rq-crumb a { color: var(--mint); text-decoration: none; }
.rq-crumb a:hover { text-decoration: underline; }
.rq-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); text-wrap: balance; }
.rq-hero h1 span { color: var(--mint); }
.rq-report { padding-top: 0; }
.rq-day { margin: 0 0 18px; padding-top: 28px; border-top: 1px solid var(--line-d); font: 700 .8rem var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted-d); }
.rq-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0 0 32px; padding-bottom: 28px; border-bottom: 1px solid var(--line-d); }
.rq-stats div { display: flex; flex-direction: column-reverse; gap: 4px; }
.rq-stats dt { margin: 0; color: var(--muted-d); font-size: .95rem; }
.rq-stats dd { margin: 0; font: 800 clamp(2rem, 4vw, 2.8rem)/1 var(--display); color: #fff; font-variant-numeric: tabular-nums; }
.rq-stats .rq-hl dd { color: var(--mint); }
.rq-card { background: var(--ink-2); border: 1px solid var(--line-d); border-radius: 16px; overflow: hidden; }
.rq-card > .rq-eyebrow { margin: 0; padding: 20px 24px 0; font: 700 .78rem var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted-d); }
.rq-card > h2 { margin: 4px 0 0; padding: 0 24px 18px; font-size: 1.35rem; color: #fff; border-bottom: 1px solid var(--line-d); }
.rq-moves { list-style: none; margin: 0; padding: 0; }
.rq-moves li { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 24px; border-top: 1px solid var(--line-d); }
.rq-moves li:first-child { border-top: 0; }
.rq-kind { font: 700 .85rem var(--display); }
.rq-kind::before { margin-right: 6px; }
.rq-up .rq-kind { color: var(--mint); } .rq-up .rq-kind::before { content: "\2191"; }
.rq-new .rq-kind { color: var(--mint); } .rq-new .rq-kind::before { content: "+"; }
.rq-down .rq-kind { color: #f0a35e; } .rq-down .rq-kind::before { content: "\2193"; }
.rq-left .rq-kind { color: #f0a35e; } .rq-left .rq-kind::before { content: "\2212"; }
.rq-game { display: grid; gap: 2px; min-width: 0; }
.rq-game b { font: 700 1.02rem var(--display); color: #fff; }
.rq-game span { font-size: .88rem; color: var(--muted-d); letter-spacing: .02em; }
.rq-pos { font: 800 1.05rem var(--display); color: #fff; white-space: nowrap; font-variant-numeric: tabular-nums; }
.rq-for { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.rq-for li { border-top: 3px solid var(--teal); padding-top: 18px; }
.rq-for h3 { margin: 0 0 8px; font-size: 1.3rem; }
.rq-for p { margin: 0; color: var(--muted); }
.prod-link { display: inline-flex; align-items: center; min-height: 44px; font: 700 .98rem var(--display); color: var(--teal-dk); }
.prod-link::after { content: " \2192"; white-space: pre; }
@media (max-width: 760px) {
  .rq-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 22px; }
  .rq-moves li { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 14px 18px; }
  .rq-moves .rq-kind { grid-column: 1 / -1; }
  .rq-for { grid-template-columns: minmax(0, 1fr); }
}
