/* Recallant site styles.
   Concept: an Apple-grade product page for a measurement firm. The "product" is an AI answer,
   measured: night bands carry the product shots, paper and mist bands carry the story.
   One stylesheet for every page; tokens first, then base, components, and pages. */

@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/inter-latin-opsz-normal.woff2") format("woff2-variations"),
       url("../fonts/inter-latin-opsz-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Geist Mono Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/geist-mono-latin-wght-normal.woff2") format("woff2-variations"),
       url("../fonts/geist-mono-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Layout concept: centred product heroes on night, left-aligned story bands on paper and mist,
   a 12-column grid inside a 1180px measure, and one signal colour (mint on night, green on paper). */
:root {
  color-scheme: light;

  /* Night: the brand black, with a faint green bias so the mint sits in it naturally */
  --night: #050807;
  --night-2: #0b110f;
  --night-3: #131b18;
  --night-line: rgba(226, 244, 237, 0.09);
  --night-line-2: rgba(226, 244, 237, 0.17);
  --snow: #eef3f1;
  --snow-2: #a4b1ac;
  --snow-3: #73807b;

  /* Paper and mist: the reading surfaces */
  --paper: #ffffff;
  --mist: #f2f5f3;
  --mist-2: #e7ece9;
  --ink: #0a110e;
  --ink-2: #48544f;
  --ink-3: #606c67;
  --line: #dce3df;
  --line-2: #c5cfca;

  /* Signal: what AI recommends, and what you click */
  --mint: #5ccaa8;
  --mint-2: #86dcc1;
  --mint-wash: rgba(92, 202, 168, 0.16);
  --green: #11735a;
  --green-2: #0c5c47;
  --green-wash: rgba(17, 115, 90, 0.08);
  --amber: #9a5b00;
  --amber-wash: rgba(214, 140, 20, 0.14);

  --font-sans: "Inter Variable", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Geist Mono Variable", ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

  --t-hero: clamp(3.6rem, 1.6rem + 7.6vw, 8.5rem);
  --t-display: clamp(2.9rem, 1.7rem + 5vw, 6rem);
  --t-h2: clamp(2.3rem, 1.45rem + 3.4vw, 4.4rem);
  --t-h3: clamp(1.5rem, 1.22rem + 1.05vw, 2.15rem);
  --t-h4: 1.3125rem;
  --t-lede: clamp(1.1875rem, 1.04rem + 0.62vw, 1.5rem);
  --t-body: 1.0625rem;
  --t-small: 0.9375rem;
  --t-micro: 0.8125rem;
  --t-mono: 0.75rem;

  --r-xl: 30px;
  --r-lg: 22px;
  --r-md: 15px;
  --r-sm: 10px;
  --r-xs: 6px;
  --r-pill: 999px;

  --max: 1180px;
  --max-text: 700px;
  --gut-l: max(22px, env(safe-area-inset-left, 0px));
  --gut-r: max(22px, env(safe-area-inset-right, 0px));
  --section: clamp(96px, 6rem + 4.5vw, 172px);
  --nav-h: 56px;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --shadow-card: 0 1px 2px rgba(5, 8, 7, 0.04), 0 10px 28px -12px rgba(5, 8, 7, 0.14);
  --shadow-float: 0 1px 2px rgba(5, 8, 7, 0.05), 0 18px 40px -18px rgba(5, 8, 7, 0.22), 0 50px 90px -40px rgba(5, 8, 7, 0.28);
}

/* ------------------------------------------------------------------ base */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 28px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--t-body);
  line-height: 1.55;
  letter-spacing: -0.008em;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
figure { margin: 0; }
img { height: auto; }

a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; }

p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; }
ul, ol { margin: 0; padding: 0; }

::selection { background: var(--mint-wash); }

:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }
.band--night :focus-visible, .nav[data-tone="night"] :focus-visible { outline-color: var(--mint); }

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 16px;
  border-radius: var(--r-sm);
  font-size: var(--t-small);
  font-weight: 600;
}
.skip:focus { top: 12px; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.mono { font-family: var(--font-mono); font-size: var(--t-mono); letter-spacing: 0.01em; }
.tnum { font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------------ layout */

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 44px);
  margin-inline: auto;
  padding-left: var(--gut-l);
  padding-right: var(--gut-r);
}
.wrap--text { max-width: calc(var(--max-text) + 44px); }
.wrap--wide { max-width: calc(1320px + 44px); }

.band { position: relative; padding-block: var(--section); overflow-x: clip; }
main { overflow-x: clip; }
.band--tight { padding-block: clamp(72px, 4rem + 3vw, 112px); }
.band--paper { background: var(--paper); color: var(--ink); }
.band--mist { background: var(--mist); color: var(--ink); }
.band--night { background: var(--night); color: var(--snow); }
.band--first { margin-top: calc(-1 * var(--nav-h)); padding-top: calc(var(--nav-h) + clamp(56px, 3rem + 4vw, 112px)); }
.band + .band--paper.band--flush { padding-top: 0; }

.section-head { display: grid; gap: 22px; max-width: 820px; }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head + * { margin-top: clamp(48px, 2.5rem + 2vw, 80px); }

.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: start; }

/* ------------------------------------------------------------------ type */

.eyebrow {
  font-size: var(--t-body);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--green);
}
.band--night .eyebrow { color: var(--mint); }

.kicker {
  font-family: var(--font-mono);
  font-size: var(--t-mono);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.band--night .kicker { color: var(--snow-3); }

.h-hero {
  font-size: var(--t-hero);
  line-height: 0.95;
  letter-spacing: -0.052em;
  font-weight: 700;
  text-wrap: balance;
}
.h-display {
  font-size: var(--t-display);
  line-height: 0.99;
  letter-spacing: -0.048em;
  font-weight: 700;
  text-wrap: balance;
}
.h2 {
  font-size: var(--t-h2);
  line-height: 1.02;
  letter-spacing: -0.044em;
  font-weight: 700;
  text-wrap: balance;
}
.h3 {
  font-size: var(--t-h3);
  line-height: 1.1;
  letter-spacing: -0.032em;
  font-weight: 650;
  text-wrap: balance;
}
.h4 {
  font-size: var(--t-h4);
  line-height: 1.2;
  letter-spacing: -0.022em;
  font-weight: 650;
}
.lede {
  font-size: var(--t-lede);
  line-height: 1.42;
  letter-spacing: -0.018em;
  font-weight: 450;
  color: var(--ink-2);
  max-width: 34em;
  text-wrap: pretty;
}
.band--night .lede { color: var(--snow-2); }
.muted { color: var(--ink-2); }
.band--night .muted { color: var(--snow-2); }
.dim { color: var(--ink-3); }
.band--night .dim { color: var(--snow-3); }
.small { font-size: var(--t-small); }
.micro { font-size: var(--t-micro); }

.hl { color: var(--green); }
.band--night .hl { color: var(--mint); }

/* ------------------------------------------------------------------ buttons and links */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 48px;
  padding: 0 24px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.012em;
  white-space: nowrap;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.25s var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn--signal { background: var(--green); color: #fff; }
.btn--signal:hover { background: var(--green-2); }
.band--night .btn--signal { background: var(--mint); color: var(--night); }
.band--night .btn--signal:hover { background: var(--mint-2); }
.btn--quiet { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn--quiet:hover { border-color: var(--ink); }
.band--night .btn--quiet { border-color: var(--night-line-2); color: var(--snow); }
.band--night .btn--quiet:hover { border-color: var(--snow); }
.btn--sm { min-height: 34px; padding: 0 15px; font-size: var(--t-micro); }
.btn svg { width: 16px; height: 16px; }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  font-weight: 600;
  color: var(--green);
  letter-spacing: -0.012em;
}
.arrow-link svg { width: 1em; height: 1em; transition: transform 0.25s var(--ease); }
.arrow-link:hover svg { transform: translateX(3px); }
.band--night .arrow-link { color: var(--mint); }

.ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.ctas--center { justify-content: center; }

.text-link {
  color: var(--green);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(17, 115, 90, 0.35);
}
.text-link:hover { text-decoration-color: currentColor; }
.band--night .text-link { color: var(--mint); text-decoration-color: rgba(92, 202, 168, 0.4); }

/* ------------------------------------------------------------------ citation markers */

.cite {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5em;
  height: 1.5em;
  padding: 0 0.32em;
  margin-left: 0.2em;
  border-radius: 5px;
  background: var(--mist-2);
  color: var(--ink-2);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  vertical-align: 0.28em;
  text-decoration: none;
  transition: background-color 0.15s, color 0.15s;
}
.band--mist .cite { background: var(--paper); }
.band--night .cite { background: rgba(226, 244, 237, 0.1); color: var(--snow-2); }
.cite:hover, .cite:focus-visible { background: var(--green); color: #fff; }
.band--night .cite:hover, .band--night .cite:focus-visible { background: var(--mint); color: var(--night); }
.cite[data-tip]::after {
  content: attr(data-tip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translate(-50%, 4px);
  width: max-content;
  max-width: 260px;
  padding: 8px 11px;
  border-radius: 9px;
  background: var(--ink);
  color: var(--snow);
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.005em;
  text-align: left;
  white-space: normal;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s, transform 0.15s;
  z-index: 20;
}
.band--night .cite[data-tip]::after { background: var(--snow); color: var(--ink); }
.cite[data-tip]::after { display: none; }
.cite[data-tip]:hover::after, .cite[data-tip]:focus-visible::after { display: block; opacity: 1; transform: translate(-50%, 0); }

.sources {
  border-top: 1px solid var(--line);
  padding-top: 28px;
  display: grid;
  gap: 14px;
}
.sources h2 { font-size: var(--t-micro); font-weight: 600; letter-spacing: -0.005em; color: var(--ink); }
.sources ol { list-style: none; display: grid; gap: 10px; counter-reset: src; }
.sources li {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 8px;
  font-size: var(--t-micro);
  line-height: 1.5;
  color: var(--ink-2);
}
.sources li > span:first-child {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-3);
  padding-top: 2px;
}
.sources li:target { color: var(--ink); }
.sources li:target > span:first-child { color: var(--green); }
.sources a { color: var(--green); }
.sources-band { background: var(--mist); padding-block: 48px 8px; }

/* ------------------------------------------------------------------ global navigation */

.nav {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 60;
  height: var(--nav-h);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.nav.is-scrolled { border-bottom-color: rgba(10, 17, 14, 0.08); }
.nav[data-tone="night"] { color: var(--snow); background: rgba(5, 8, 7, 0.72); }
.nav[data-tone="night"].is-scrolled { border-bottom-color: var(--night-line); }
.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  font-size: 1.1875rem;
  letter-spacing: -0.035em;
}
.brand__mark { width: 26px; height: 26px; flex: none; }
.brand__mark .m-bg { fill: var(--ink); transition: fill 0.35s var(--ease); }
.brand__mark .m-r { fill: var(--paper); transition: fill 0.35s var(--ease); }
.brand__mark .m-dot { fill: var(--mint); }
.nav[data-tone="night"] .brand__mark .m-bg, .band--night .brand__mark .m-bg { fill: var(--snow); }
.nav[data-tone="night"] .brand__mark .m-r, .band--night .brand__mark .m-r { fill: var(--night); }

.nav__links { display: flex; align-items: center; gap: 30px; font-size: var(--t-micro); }
.nav__links a { opacity: 0.78; transition: opacity 0.2s; letter-spacing: -0.005em; }
.nav__links a:hover, .nav__links a[aria-current="page"] { opacity: 1; }
.nav__links a[aria-current="page"] { font-weight: 600; }
.nav__cta { display: flex; align-items: center; gap: 10px; }
.nav__cta .btn { min-height: 32px; padding: 0 14px; font-size: var(--t-micro); }
.nav[data-tone="night"] .btn--signal { background: var(--mint); color: var(--night); }
.nav[data-tone="night"] .btn--signal:hover { background: var(--mint-2); }

.nav__toggle {
  display: none;
  width: 40px; height: 40px;
  margin-right: -10px;
  border: 0;
  background: transparent;
  position: relative;
}
.nav__toggle span {
  position: absolute;
  left: 11px; right: 11px;
  height: 1.6px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}
.nav__toggle span:first-child { top: 16px; }
.nav__toggle span:last-child { top: 23px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 19.5px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 19.5px; transform: rotate(-45deg); }

.menu {
  position: fixed;
  left: 0; right: 0;
  top: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
  bottom: 0;
  z-index: 59;
  background: var(--paper);
  color: var(--ink);
  padding: 20px var(--gut-r) calc(32px + env(safe-area-inset-bottom, 0px)) var(--gut-l);
  overflow-y: auto;
}
.menu[hidden] { display: none; }
.menu nav { display: grid; }
.menu a.menu__link {
  display: block;
  padding: 12px 0;
  font-size: 1.75rem;
  font-weight: 650;
  letter-spacing: -0.035em;
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(-6px);
  animation: menuIn 0.4s var(--ease-out) forwards;
  animation-delay: calc(var(--i, 0) * 40ms);
}
.menu .btn { margin-top: 28px; width: 100%; }
.menu__note { margin-top: 18px; font-size: var(--t-small); color: var(--ink-2); }
@keyframes menuIn { to { opacity: 1; transform: none; } }

@media (max-width: 860px) {
  .nav__links, .nav__cta .btn { display: none; }
  .nav__toggle { display: block; }
}

/* ------------------------------------------------------------------ hero */

.hero { text-align: center; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 46% at 50% 76%, rgba(92, 202, 168, 0.13), transparent 70%),
    radial-gradient(40% 30% at 50% 0%, rgba(226, 244, 237, 0.05), transparent 70%);
  pointer-events: none;
}
.hero > .wrap { position: relative; }
.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px 6px 6px;
  border-radius: var(--r-pill);
  border: 1px solid var(--night-line-2);
  background: rgba(226, 244, 237, 0.04);
  font-size: var(--t-micro);
  color: var(--snow-2);
  transition: border-color 0.2s, background-color 0.2s;
}
.hero__pill:hover { border-color: rgba(92, 202, 168, 0.5); background: rgba(92, 202, 168, 0.06); }
.hero__pill b {
  font-weight: 600;
  color: var(--night);
  background: var(--mint);
  border-radius: var(--r-pill);
  padding: 3px 9px;
  font-size: 12px;
}
.hero__pill svg { width: 14px; height: 14px; color: var(--mint); }
.hero__title { margin-top: 28px; }
.hero__title .dot { color: var(--mint); }
.hero__lede { margin: 26px auto 0; max-width: 31em; }
.hero__ctas { margin-top: 36px; }
.hero__fine {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 18px;
  font-size: var(--t-micro);
  color: var(--snow-3);
}
.hero__fine span { display: inline-flex; align-items: center; gap: 7px; }
.hero__fine span::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--mint); opacity: 0.8; }

/* intro motion: text rises in once on load */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise 0.9s var(--ease-out) both; animation-delay: calc(var(--d, 0) * 1ms); }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------------ the answer instrument */

.stage {
  margin: clamp(56px, 3rem + 3vw, 96px) auto 0;
  max-width: 1120px;
  perspective: 2200px;
}
.instrument {
  margin: 0;
  text-align: left;
  transform-origin: 50% 100%;
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) and (min-width: 861px) {
    .instrument {
      animation: tiltUp linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 42%;
    }
  }
}
@keyframes tiltUp {
  from { transform: rotateX(16deg) scale(0.94) translateY(10px); }
  to { transform: none; }
}

.instrument__frame {
  position: relative;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(226, 244, 237, 0.045), rgba(226, 244, 237, 0) 120px),
    var(--night-2);
  border: 1px solid var(--night-line-2);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.5),
    0 40px 120px -40px rgba(0, 0, 0, 0.9),
    0 0 120px -30px rgba(92, 202, 168, 0.28);
  overflow: hidden;
}
.instrument__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--night-line);
  font-size: var(--t-micro);
  color: var(--snow-2);
}
.instrument__engine { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--snow); }
.engine-glyph {
  width: 22px; height: 22px;
  border-radius: 7px;
  background: rgba(226, 244, 237, 0.08);
  border: 1px solid var(--night-line-2);
  display: grid;
  place-items: center;
}
.engine-glyph svg { width: 12px; height: 12px; color: var(--snow-2); }
.instrument__meta { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 12px; color: var(--snow-3); }

.instrument__body { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); }
.instrument__answer { position: relative; padding: 30px 34px 34px; border-right: 1px solid var(--night-line); }
.instrument__q {
  font-size: clamp(1.15rem, 1rem + 0.55vw, 1.45rem);
  line-height: 1.25;
  letter-spacing: -0.028em;
  font-weight: 650;
  color: var(--snow);
  max-width: 24em;
}
.instrument__sources {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.instrument__sources li {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px 5px 6px;
  border-radius: 9px;
  background: rgba(226, 244, 237, 0.05);
  border: 1px solid var(--night-line);
  font-size: 12px;
  color: var(--snow-2);
}
.instrument__sources .src-n {
  display: grid;
  place-items: center;
  width: 17px; height: 17px;
  border-radius: 5px;
  background: rgba(226, 244, 237, 0.1);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--snow);
}
.instrument__sources li.is-own { border-color: rgba(92, 202, 168, 0.45); color: var(--snow); }
.instrument__sources li.is-own .src-n { background: var(--mint); color: var(--night); }

.instrument__text {
  margin-top: 26px;
  font-size: 15px;
  line-height: 1.68;
  color: var(--snow-2);
  display: grid;
  gap: 12px;
}
.instrument__text strong { color: var(--snow); font-weight: 600; }
.instrument__text ul { list-style: none; display: grid; gap: 8px; }
.instrument__text li { position: relative; padding-left: 16px; }
.instrument__text li::before {
  content: "";
  position: absolute;
  left: 2px; top: 0.72em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--snow-3);
}
.ref {
  display: inline-grid;
  place-items: center;
  min-width: 17px; height: 17px;
  margin-left: 3px;
  padding: 0 4px;
  border-radius: 5px;
  background: rgba(226, 244, 237, 0.09);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  color: var(--snow-2);
  vertical-align: 0.15em;
}
.ref.is-own { background: rgba(92, 202, 168, 0.22); color: var(--mint-2); }

.brandmark {
  position: relative;
  color: var(--snow);
  background: linear-gradient(transparent 62%, rgba(92, 202, 168, 0.32) 62%) no-repeat;
  background-size: 100% 100%;
  border-radius: 2px;
}
.brandmark--first {
  background: linear-gradient(rgba(92, 202, 168, 0.22), rgba(92, 202, 168, 0.22)) no-repeat;
  box-shadow: 0 0 0 1px rgba(92, 202, 168, 0.55);
  padding: 0 3px;
  margin: 0 1px;
  border-radius: 4px;
}
.brandtag {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 7px;
  border-radius: 6px;
  background: var(--mint);
  color: var(--night);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.01em;
  vertical-align: 0.12em;
  white-space: nowrap;
  box-shadow: 0 6px 18px -8px rgba(92, 202, 168, 0.9);
}

.instrument__scan {
  position: absolute;
  left: 0; right: 0;
  top: 0;
  height: 90px;
  background: linear-gradient(180deg, rgba(92, 202, 168, 0) 0%, rgba(92, 202, 168, 0.09) 85%, rgba(92, 202, 168, 0.5) 99%, rgba(92, 202, 168, 0) 100%);
  border-bottom: 1px solid rgba(92, 202, 168, 0.7);
  opacity: 0;
  pointer-events: none;
}

.instrument__reading { padding: 26px 26px 26px; display: grid; gap: 20px; align-content: start; background: rgba(226, 244, 237, 0.018); }
.reading__head {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: var(--t-micro);
  font-weight: 600;
  color: var(--snow);
}
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(92, 202, 168, 0.18); }
.reading__group { display: grid; gap: 9px; }
.reading__label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--snow-3);
  padding-bottom: 7px;
  border-bottom: 1px solid var(--night-line);
}
.reading__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 34px;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  color: var(--snow);
}
.reading__row .num { font-family: var(--font-mono); font-size: 12px; color: var(--snow-2); text-align: right; font-variant-numeric: tabular-nums; }
.reading__row.is-zero { color: var(--snow-3); }
.reading__row.is-zero .num { color: var(--snow-3); }
.reading__insight {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  margin-top: 2px;
  padding: 13px 14px;
  border-radius: 12px;
  background: rgba(92, 202, 168, 0.09);
  border: 1px solid rgba(92, 202, 168, 0.25);
  font-size: 13px;
  line-height: 1.45;
  color: var(--snow);
}
.reading__insight svg { width: 18px; height: 18px; color: var(--mint); margin-top: 1px; }

.stage__caption {
  margin: 22px auto 0;
  max-width: 46em;
  font-size: var(--t-micro);
  line-height: 1.55;
  color: var(--snow-3);
  text-align: center;
}
.stage__caption a { color: var(--snow-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(226, 244, 237, 0.25); }
.stage__caption a:hover { color: var(--snow); }

/* the reading sequence: armed before first paint (the .js class is set in <head>), played once when
   the instrument scrolls into view; its final frame is the resting state, which is all that shows
   with reduced motion */
@media (prefers-reduced-motion: no-preference) {
  .js .instrument .instrument__scan { animation: scan 2.1s cubic-bezier(0.45, 0.05, 0.35, 1) 0.5s both paused; }
  .js .instrument .brandmark { animation: markIn 0.5s var(--ease-out) both paused; animation-delay: calc(var(--at, 1) * 1ms); }
  .js .instrument .brandtag { animation: tagIn 0.5s var(--ease-out) both paused; animation-delay: calc(var(--at, 1) * 1ms + 120ms); }
  .js .instrument .instrument__sources li.is-own { animation: ownIn 0.6s var(--ease-out) 0.7s both paused; }
  .js .instrument .pips i.on { animation: pipIn 0.35s var(--ease-out) both paused; animation-delay: calc(1300ms + var(--p, 0) * 55ms); }
  .js .instrument .reading__insight { animation: rise 0.7s var(--ease-out) 2.5s both paused; }
  .js .instrument.is-playing .instrument__scan,
  .js .instrument.is-playing .brandmark,
  .js .instrument.is-playing .brandtag,
  .js .instrument.is-playing .instrument__sources li.is-own,
  .js .instrument.is-playing .pips i.on,
  .js .instrument.is-playing .reading__insight { animation-play-state: running; }
}
@keyframes scan {
  0% { top: -90px; opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}
@keyframes markIn { from { background-size: 0% 100%; } to { background-size: 100% 100%; } }
@keyframes tagIn { from { opacity: 0; transform: translateY(5px) scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes ownIn { from { border-color: var(--night-line); } to { border-color: rgba(92, 202, 168, 0.45); } }
@keyframes pipIn { from { transform: scaleY(0.2); opacity: 0.2; } to { transform: none; opacity: 1; } }

/* ------------------------------------------------------------------ pips: one mark per run */

.pips { display: inline-flex; gap: 3px; }
.pips i {
  display: block;
  width: 7px;
  height: 15px;
  border-radius: 2px;
  background: var(--line);
  transform-origin: 50% 100%;
}
.pips i.on { background: var(--green); }
.band--night .pips i, .instrument .pips i { background: rgba(226, 244, 237, 0.13); }
.band--night .pips i.on, .instrument .pips i.on { background: var(--mint); }
.pips--sm i { width: 5px; height: 11px; }

/* ------------------------------------------------------------------ the shift: unit chart */

.shift { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.shift__copy { display: grid; gap: 24px; }
.units-card {
  border-radius: var(--r-xl);
  background: var(--mist);
  padding: clamp(28px, 3vw, 44px);
  display: grid;
  gap: 26px;
}
.units-card__num { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.units-card__num strong { font-size: clamp(4rem, 3rem + 4vw, 6.5rem); line-height: 0.9; letter-spacing: -0.06em; font-weight: 700; }
.units-card__num span { font-size: var(--t-h4); font-weight: 600; letter-spacing: -0.025em; color: var(--ink-2); }
.units { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 10px; }
.unit {
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: inset 0 0 0 1.5px var(--line-2);
  position: relative;
  overflow: hidden;
}
.unit.on { background: var(--green); box-shadow: none; }
.unit.part { background: linear-gradient(90deg, var(--green) 0 60%, var(--paper) 60% 100%); box-shadow: inset 0 0 0 1.5px var(--green); }
.units-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: var(--t-micro); color: var(--ink-2); }
.units-legend span { display: inline-flex; align-items: center; gap: 8px; }
.units-legend i { width: 10px; height: 10px; border-radius: 50%; }
.units-legend .k-on { background: var(--green); }
.units-legend .k-off { background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.units-note { font-size: var(--t-micro); color: var(--ink-2); line-height: 1.5; }

/* ------------------------------------------------------------------ stats */

.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.stat { padding: 30px 28px 30px; border-radius: var(--r-lg); background: var(--paper); display: grid; gap: 12px; align-content: start; }
.band--paper .stat { background: var(--mist); }
.band--night .stat { background: var(--night-2); border: 1px solid var(--night-line); }
.stat__num { font-size: clamp(3rem, 2.3rem + 2.6vw, 4.6rem); line-height: 0.95; letter-spacing: -0.055em; font-weight: 700; }
.stat__num small { font-size: 0.5em; letter-spacing: -0.03em; margin-left: 2px; }
.stat__label { font-size: var(--t-small); line-height: 1.5; color: var(--ink-2); }
.band--night .stat__label { color: var(--snow-2); }

/* ------------------------------------------------------------------ dumbbell chart */

.chart-card {
  border-radius: var(--r-xl);
  background: var(--paper);
  padding: clamp(24px, 3vw, 40px);
  display: grid;
  gap: 24px;
}
.band--paper .chart-card { background: var(--mist); }
.chart-card__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 14px 28px; }
.chart-card__title { font-size: var(--t-h4); font-weight: 650; letter-spacing: -0.024em; line-height: 1.25; }
.chart-card__sub { margin-top: 6px; font-size: var(--t-small); color: var(--ink-2); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: var(--t-micro); color: var(--ink-2); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.key-dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.key-dot--cited { background: var(--paper); box-shadow: inset 0 0 0 2px var(--ink-2); }
.key-dot--first { background: var(--green); }
.key-bar { width: 14px; height: 8px; border-radius: 2px; background: var(--green); display: inline-block; }
.key-range { width: 18px; height: 2px; background: var(--ink-3); display: inline-block; position: relative; }

.db { display: grid; gap: 0; }
.db__group {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 14px 0 6px;
}
.db__group:first-child { padding-top: 0; }
.db__row {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  height: 40px;
}
.db__label { font-size: var(--t-small); font-weight: 550; letter-spacing: -0.012em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.db__track { position: relative; height: 100%; }
.db__grid { position: absolute; inset: 0; pointer-events: none; }
.db__grid i { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--line); }
.db__line { position: absolute; top: 50%; height: 2px; margin-top: -1px; background: var(--line-2); border-radius: 2px; }
.db__dot {
  position: absolute;
  top: 50%;
  width: 14px; height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  outline: none;
  cursor: default;
}
.db__dot::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; }
.db__dot--cited { background: var(--paper); box-shadow: 0 0 0 2px var(--paper), inset 0 0 0 2px var(--ink-2); }
.band--paper .db__dot--cited { background: var(--mist); box-shadow: 0 0 0 2px var(--mist), inset 0 0 0 2px var(--ink-2); }
.db__dot--first { background: var(--green); box-shadow: 0 0 0 2px var(--paper); z-index: 1; }
.band--paper .db__dot--first { box-shadow: 0 0 0 2px var(--mist); }
.db__dot:hover, .db__dot:focus-visible { transform: scale(1.18); }
.db__val {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -150%);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
  white-space: nowrap;
}
.db__axis { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; margin-top: 6px; }
.db__ticks { position: relative; height: 18px; }
.db__ticks span {
  position: absolute;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}
.tip {
  position: absolute;
  z-index: 30;
  padding: 9px 12px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--snow);
  font-size: 12.5px;
  line-height: 1.4;
  box-shadow: 0 14px 34px -12px rgba(0, 0, 0, 0.45);
  pointer-events: none;
  white-space: nowrap;
}
.tip strong { display: block; font-size: 15px; font-weight: 650; letter-spacing: -0.02em; }
.tip[hidden] { display: none; }

.numbers { font-size: var(--t-small); }
.numbers summary {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-weight: 600;
  list-style: none;
}
.numbers summary::-webkit-details-marker { display: none; }
.numbers summary::before { content: "+"; font-family: var(--font-mono); }
.numbers[open] summary::before { content: "\2212"; }
.numbers .table-wrap { margin-top: 14px; }

/* ------------------------------------------------------------------ tables */

.table-wrap {
  overflow-x: auto;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--paper);
}
.table-wrap table { width: 100%; border-collapse: collapse; font-size: var(--t-small); font-variant-numeric: tabular-nums; }
.table-wrap th, .table-wrap td { text-align: left; padding: 11px 16px; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.45; }
.table-wrap thead th {
  font-size: var(--t-micro);
  font-weight: 600;
  color: var(--ink-2);
  background: var(--mist);
  white-space: nowrap;
}
.table-wrap tbody tr:last-child td { border-bottom: 0; }
.table-wrap tbody tr:hover td { background: rgba(17, 115, 90, 0.035); }
.table-wrap td.num, .table-wrap th.num { text-align: right; white-space: nowrap; }
.cellbar { display: inline-grid; grid-template-columns: 54px auto; align-items: center; gap: 10px; }
.cellbar i { display: block; height: 6px; border-radius: 3px; background: var(--mist-2); position: relative; overflow: hidden; }
.cellbar i b { position: absolute; inset: 0 auto 0 0; background: var(--green); border-radius: 3px; }

/* ------------------------------------------------------------------ explorer */

.explorer {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  border-radius: var(--r-xl);
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.band--paper .explorer { background: var(--paper); }
.explorer__list { border-right: 1px solid var(--line); background: var(--mist); display: flex; flex-direction: column; min-height: 0; }
.explorer__tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 16px 16px 12px; }
.explorer__tabs::-webkit-scrollbar { display: none; }
.explorer__tab {
  border: 1px solid var(--line-2);
  background: var(--paper);
  border-radius: var(--r-pill);
  padding: 6px 12px;
  font-size: 12.5px;
  font-weight: 550;
  white-space: nowrap;
  color: var(--ink-2);
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.explorer__tab[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.explorer__qs { list-style: none; overflow-y: auto; max-height: 470px; padding: 4px 10px 14px; display: grid; gap: 2px; align-content: start; }
.explorer__q {
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  border-radius: 12px;
  padding: 11px 12px;
  font-size: 14px;
  line-height: 1.38;
  letter-spacing: -0.01em;
  color: var(--ink-2);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  transition: background-color 0.15s, color 0.15s;
}
.explorer__q:hover { background: rgba(10, 17, 14, 0.04); color: var(--ink); }
.explorer__q[aria-pressed="true"] { background: var(--paper); color: var(--ink); box-shadow: var(--shadow-card); font-weight: 550; }
.explorer__lead { font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); white-space: nowrap; }
.explorer__q[aria-pressed="true"] .explorer__lead { color: var(--green); }

.explorer__result { padding: clamp(24px, 3vw, 40px); display: grid; gap: 26px; align-content: start; min-height: 520px; }
.explorer__question { font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.75rem); line-height: 1.2; letter-spacing: -0.032em; font-weight: 650; }
.explorer__first {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: var(--r-md);
  background: var(--green-wash);
  border: 1px solid rgba(17, 115, 90, 0.18);
}
.explorer__first .kicker { color: var(--green); }
.explorer__first strong { display: block; margin-top: 4px; font-size: 1.5rem; letter-spacing: -0.035em; font-weight: 700; line-height: 1.15; }
.explorer__first.is-none { background: var(--mist); border-color: var(--line); }
.explorer__first.is-none .kicker { color: var(--ink-3); }
.explorer__first.is-none strong { font-size: 1.125rem; color: var(--ink-2); letter-spacing: -0.02em; font-weight: 600; }
.explorer__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.explorer__col h4 { margin-bottom: 10px; }
.rowlist { list-style: none; display: grid; gap: 2px; }
.rowlist li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 32px;
  align-items: center;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.rowlist li:last-child { border-bottom: 0; }
.rowlist .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rowlist .num { font-family: var(--font-mono); font-size: 12px; color: var(--ink-2); text-align: right; font-variant-numeric: tabular-nums; }
.rowlist .empty { color: var(--ink-3); font-size: 14px; padding: 7px 0; border: 0; display: block; }
.explorer__foot { font-size: var(--t-micro); color: var(--ink-3); line-height: 1.5; border-top: 1px solid var(--line); padding-top: 16px; }
.explorer select { display: none; }

/* ------------------------------------------------------------------ bento */

.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.tile {
  position: relative;
  border-radius: var(--r-xl);
  background: var(--mist);
  padding: clamp(26px, 2.4vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  min-width: 0;
}
.band--mist .tile { background: var(--paper); }
.tile--measure { grid-column: span 4; grid-row: span 2; }
.tile--publish, .tile--earn { grid-column: span 2; }
.tile--build, .tile--protect { grid-column: span 3; }
.tile--snapshot { grid-column: span 6; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px; align-items: center; background: var(--night); color: var(--snow); }
.tile__eyebrow { font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); }
.tile--snapshot .tile__eyebrow { color: var(--mint); }
.tile h3 { font-size: clamp(1.45rem, 1.2rem + 0.75vw, 1.9rem); line-height: 1.1; letter-spacing: -0.034em; font-weight: 650; }
.tile > p { color: var(--ink-2); font-size: var(--t-small); line-height: 1.5; max-width: 36em; }
.tile--snapshot p { color: var(--snow-2); font-size: var(--t-body); }
.tile .arrow-link { font-size: var(--t-small); margin-top: 2px; }
.tile--snapshot .arrow-link { color: var(--mint); }
.tile__viz { margin-top: auto; padding-top: 18px; }
.tile--measure .tile__viz { padding-top: 26px; }

.viz-panel {
  border-radius: 16px;
  background: var(--paper);
  box-shadow: var(--shadow-card);
  padding: 18px 18px 16px;
  font-size: 13px;
}
.band--mist .viz-panel { background: var(--mist); box-shadow: none; border: 1px solid var(--line); }
.viz-panel__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.viz-panel__title { font-weight: 600; letter-spacing: -0.015em; font-size: 13.5px; }
.viz-panel__meta { font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); }

.sov { display: grid; gap: 4px; }
.sov__row { display: grid; grid-template-columns: 92px minmax(0, 1fr) 46px; align-items: center; gap: 12px; height: 30px; }
.sov__name { font-size: 13px; font-weight: 550; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sov__track { position: relative; height: 100%; }
.sov__track::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--line); }
.sov__bar { position: absolute; left: 0; top: 50%; height: 12px; margin-top: -6px; background: var(--green); border-radius: 0 4px 4px 0; }
.sov__bar.is-muted { background: var(--line-2); }
.sov__range { position: absolute; top: 50%; height: 2px; margin-top: 9px; background: var(--ink-3); opacity: 0.55; }
.sov__range::before, .sov__range::after { content: ""; position: absolute; top: -3px; width: 1.5px; height: 8px; background: inherit; }
.sov__range::before { left: 0; }
.sov__range::after { right: 0; }
.sov__val { font-family: var(--font-mono); font-size: 12px; text-align: right; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.viz-note { margin-top: 10px; font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); }

.minibars { display: grid; gap: 9px; }
.minibars__row { display: grid; grid-template-columns: minmax(0, 1fr) 30px; gap: 4px 10px; align-items: center; font-size: 12.5px; }
.minibars__row span:first-child { font-weight: 550; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.minibars__row .num { font-family: var(--font-mono); font-size: 12px; color: var(--ink-2); text-align: right; }
.minibars__row i { grid-column: 1 / -1; display: block; height: 6px; border-radius: 3px; background: var(--mist-2); position: relative; }
.band--mist .minibars__row i { background: var(--mist-2); }
.minibars__row i b { position: absolute; inset: 0 auto 0 0; border-radius: 3px; background: var(--green); }

.viz-article { display: grid; gap: 10px; }
.va-line { height: 7px; border-radius: 4px; background: var(--mist-2); }
.va-title { height: 11px; width: 78%; border-radius: 5px; background: var(--ink); opacity: 0.85; }
.va-answer {
  border-radius: 10px;
  background: var(--green-wash);
  border: 1px solid rgba(17, 115, 90, 0.2);
  padding: 10px 11px;
  display: grid;
  gap: 7px;
}
.va-answer .va-line { background: rgba(17, 115, 90, 0.28); }
.va-tag { font-family: var(--font-mono); font-size: 12px; font-weight: 600; color: var(--green); letter-spacing: 0.04em; text-transform: uppercase; }
.va-table { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.va-table i { height: 14px; border-radius: 3px; background: var(--mist-2); }
.va-table i:nth-child(-n+3) { background: var(--line-2); }
.va-src { display: flex; flex-wrap: wrap; gap: 5px; }
.va-src span { font-family: var(--font-mono); font-size: 12px; padding: 3px 6px; border-radius: 5px; background: var(--mist-2); color: var(--ink-2); }

.viz-browser { border-radius: 14px; background: var(--paper); box-shadow: var(--shadow-card); overflow: hidden; }
.band--mist .viz-browser { box-shadow: none; border: 1px solid var(--line); }
.vb-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.vb-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
.vb-url { margin-left: 8px; flex: 1; min-width: 0; font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); background: var(--mist); border-radius: 6px; padding: 3px 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vb-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 14px; padding: 14px; }
.vb-page { display: grid; gap: 8px; align-content: start; }
.vb-code {
  border-radius: 10px;
  background: var(--night);
  color: var(--snow-2);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
  padding: 10px 12px;
  white-space: pre;
  overflow: hidden;
}
.vb-code .k { color: var(--mint-2); }
.vb-code .s { color: #d6e4de; }
.vb-checks { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 14px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px 4px 7px;
  border-radius: var(--r-pill);
  background: var(--green-wash);
  color: var(--green);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.chip svg { width: 12px; height: 12px; }
.chip--warn { background: var(--amber-wash); color: var(--amber); }
.chip--plain { background: var(--mist-2); color: var(--ink-2); }

.viz-profiles { display: grid; gap: 6px; }
.vp-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 12px;
  background: var(--paper);
  font-size: 13px;
}
.band--mist .vp-row { background: var(--mist); }
.vp-ico { width: 28px; height: 28px; border-radius: 8px; background: var(--mist-2); display: grid; place-items: center; font-family: var(--font-mono); font-size: 12px; font-weight: 700; color: var(--ink-2); }
.vp-row .vp-text { min-width: 0; }
.vp-row .vp-text b { display: block; font-weight: 600; font-size: 13px; letter-spacing: -0.01em; }
.vp-row .vp-text span { display: block; font-size: 12px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.viz-snap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.viz-snap > div { border-radius: 16px; background: var(--night-2); border: 1px solid var(--night-line); padding: 18px 16px; display: grid; gap: 6px; }
.viz-snap strong { font-size: clamp(1.8rem, 1.4rem + 1.2vw, 2.5rem); line-height: 1; letter-spacing: -0.05em; font-weight: 700; color: var(--snow); }
.viz-snap span { font-size: 12px; line-height: 1.4; color: var(--snow-2); }
.viz-snap .kicker { color: var(--mint); }

/* ------------------------------------------------------------------ showcase: the snapshot document */

.showcase { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 5vw, 80px); align-items: center; }
.doc-stage { position: relative; perspective: 1600px; }
.doc-stage::before {
  content: "";
  position: absolute;
  inset: 8% 0 -4% 0;
  background: radial-gradient(50% 50% at 50% 50%, rgba(92, 202, 168, 0.18), transparent 70%);
  pointer-events: none;
}
.doc {
  position: relative;
  background: #fbfcfb;
  color: var(--ink);
  border-radius: 14px;
  padding: 28px 28px 26px;
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.06);
  transform: rotateY(9deg) rotateX(3deg) rotateZ(-1deg);
  transform-origin: 60% 50%;
  font-size: 12px;
  line-height: 1.45;
  display: grid;
  gap: 16px;
}
@media (prefers-reduced-motion: no-preference) {
  .doc { transition: transform 0.8s var(--ease-out); }
  .doc-stage:hover .doc { transform: rotateY(4deg) rotateX(1deg) rotateZ(-0.5deg); }
}
.doc__head { display: flex; justify-content: space-between; align-items: start; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.doc__brand { display: flex; align-items: center; gap: 8px; font-weight: 650; font-size: 12px; letter-spacing: -0.02em; }
.doc__brand svg { width: 18px; height: 18px; }
.doc__title { margin-top: 10px; font-size: 22px; font-weight: 700; letter-spacing: -0.04em; line-height: 1.05; }
.doc__meta { margin-top: 5px; font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); }
.doc__stamp { font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); border: 1px solid rgba(17, 115, 90, 0.35); border-radius: 6px; padding: 3px 7px; }
.doc__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.doc__kpis div { border-radius: 9px; background: var(--mist); padding: 10px 10px 9px; }
.doc__kpis strong { display: block; font-size: 24px; letter-spacing: -0.05em; line-height: 1; font-weight: 700; }
.doc__kpis span { display: block; margin-top: 5px; font-size: 12px; color: var(--ink-2); line-height: 1.35; }
.doc__sec { position: relative; display: grid; gap: 7px; }
.doc__sec h4 { font-size: 12px; font-weight: 650; letter-spacing: -0.01em; }
.doc__marker {
  position: absolute;
  left: -40px;
  top: -2px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--night);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 0 0 4px rgba(92, 202, 168, 0.25);
}
.doc__list { list-style: none; display: grid; gap: 3px; }
.doc__list li { display: flex; justify-content: space-between; gap: 8px; padding: 4px 0; border-bottom: 1px solid var(--mist-2); }
.doc__list li:last-child { border-bottom: 0; }
.doc__list b { font-weight: 600; }
.doc__miss { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 4px 10px; font-size: 12px; }
.doc__miss span { padding: 3px 0; border-bottom: 1px solid var(--mist-2); }
.doc__miss .hd { font-weight: 600; color: var(--ink-2); font-size: 12px; }
.doc__bars { display: grid; gap: 5px; }
.doc__bars div { display: grid; grid-template-columns: 74px minmax(0, 1fr) 22px; gap: 8px; align-items: center; font-size: 12px; }
.doc__bars i { display: block; height: 6px; border-radius: 3px; background: var(--mist-2); position: relative; }
.doc__bars i b { position: absolute; inset: 0 auto 0 0; border-radius: 3px; background: var(--green); }
.doc__fix { list-style: none; display: grid; gap: 5px; counter-reset: fix; }
.doc__fix li { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 6px; font-size: 12px; }
.doc__fix li::before { counter-increment: fix; content: counter(fix); font-family: var(--font-mono); font-weight: 700; color: var(--green); }

.callouts { list-style: none; display: grid; gap: 4px; counter-reset: co; }
.callouts li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--night-line); }
.callouts li:last-child { border-bottom: 0; }
.callouts li::before {
  counter-increment: co;
  content: counter(co);
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(92, 202, 168, 0.14);
  color: var(--mint);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
}
.callouts h3 { font-size: 1.125rem; font-weight: 650; letter-spacing: -0.022em; color: var(--snow); }
.callouts p { margin-top: 4px; font-size: var(--t-small); color: var(--snow-2); line-height: 1.5; }

/* ------------------------------------------------------------------ steps */

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; position: relative; counter-reset: step; }
.step { position: relative; padding: 30px 28px 32px; border-radius: var(--r-lg); background: var(--mist); display: grid; gap: 12px; align-content: start; }
.band--mist .step { background: var(--paper); }
.step__n {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
}
.step:last-child .step__n { background: var(--green); }
.step h3 { margin-top: 10px; font-size: 1.375rem; font-weight: 650; letter-spacing: -0.028em; }
.step p { color: var(--ink-2); font-size: var(--t-small); line-height: 1.55; }
.step__meta { margin-top: 6px; font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); letter-spacing: 0.02em; }
.loopnote { margin-top: 24px; display: flex; align-items: center; gap: 12px; font-size: var(--t-small); color: var(--ink-2); }
.loopnote svg { width: 22px; height: 22px; color: var(--green); flex: none; }

/* ------------------------------------------------------------------ principles and founder */

.principles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.principle { display: grid; gap: 12px; align-content: start; padding-top: 22px; border-top: 1px solid var(--line-2); }
.principle svg { width: 26px; height: 26px; color: var(--green); }
.principle h3 { font-size: 1.1875rem; font-weight: 650; letter-spacing: -0.024em; }
.principle p { font-size: var(--t-small); color: var(--ink-2); line-height: 1.55; }

.founder {
  margin-top: clamp(48px, 5vw, 80px);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 26px 30px;
  border-radius: var(--r-xl);
  background: var(--paper);
}
.band--paper .founder { background: var(--mist); }
.founder img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; }
.founder__name { font-size: 1.25rem; font-weight: 650; letter-spacing: -0.025em; }
.founder__role { font-size: var(--t-small); color: var(--ink-2); }
.founder__bio { margin-top: 8px; font-size: var(--t-small); color: var(--ink-2); line-height: 1.55; max-width: 46em; }
.founder__links { display: flex; flex-wrap: wrap; gap: 10px; }

/* ------------------------------------------------------------------ call to action and the snapshot form */

.cta { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.cta__copy { display: grid; gap: 22px; }
.cta__list { list-style: none; display: grid; gap: 10px; margin-top: 6px; }
.cta__list li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; color: var(--snow-2); font-size: var(--t-body); }
.cta__list svg { width: 18px; height: 18px; color: var(--mint); margin-top: 3px; }

.snap-form {
  position: relative;
  border-radius: var(--r-xl);
  background: var(--night-2);
  border: 1px solid var(--night-line-2);
  padding: clamp(24px, 3vw, 36px);
  display: grid;
  gap: 16px;
  box-shadow: 0 40px 90px -50px rgba(92, 202, 168, 0.35);
}
.snap-form__fields { display: grid; gap: 16px; }
.snap-form__fields[hidden], .snap-form__done[hidden] { display: none; }
/* Honeypot: kept out of sight and out of the tab order; only bots fill it */
.snap-form__hp { position: absolute; top: 0; left: 0; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }
.snap-form h3 { font-size: 1.25rem; font-weight: 650; letter-spacing: -0.025em; color: var(--snow); }
.field { display: grid; gap: 7px; }
.field label { font-size: var(--t-micro); font-weight: 600; color: var(--snow); }
.field label span { font-weight: 450; color: var(--snow-3); }
.field input {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--night-line-2);
  background: rgba(226, 244, 237, 0.04);
  color: var(--snow);
  font-size: 1rem;
  transition: border-color 0.15s, background-color 0.15s;
}
.field select {
  width: 100%;
  height: 46px;
  padding: 0 40px 0 14px;
  border-radius: 12px;
  border: 1px solid var(--night-line-2);
  background: rgba(226, 244, 237, 0.04) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23a4b1ac' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center;
  -webkit-appearance: none;
  appearance: none;
  color: var(--snow);
  font-size: 1rem;
  transition: border-color 0.15s, background-color 0.15s;
}
.field select option { color: var(--ink); background: var(--paper); }
.field input::placeholder { color: var(--snow-3); }
.field input:focus, .field select:focus { outline: none; border-color: var(--mint); background-color: rgba(92, 202, 168, 0.06); }
.field input[aria-invalid="true"] { border-color: #f08a7a; }
.field__error { font-size: 12.5px; color: #f6a395; }
.snap-form .btn { width: 100%; margin-top: 4px; }
.snap-form .btn:disabled { opacity: 0.72; cursor: progress; transform: none; }
.snap-form__note { font-size: 12.5px; line-height: 1.5; color: var(--snow-3); }
.snap-form__alt {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--night-line);
  font-size: var(--t-micro);
  color: var(--snow-2);
}
.snap-form__alt b { color: var(--snow); font-weight: 600; user-select: all; }
.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--night-line-2);
  background: transparent;
  color: var(--snow);
  border-radius: var(--r-pill);
  padding: 5px 12px;
  font-size: 12.5px;
  font-weight: 600;
}
.copy-btn:hover { border-color: var(--mint); }
.copy-btn svg { width: 13px; height: 13px; }
.snap-form__status { font-size: 12.5px; line-height: 1.5; color: var(--mint); min-height: 1.2em; }
.snap-form__status.is-error { color: #f6a395; }
.snap-form__status .text-link { color: var(--snow); text-decoration-color: rgba(238, 243, 241, 0.45); }
.snap-form__done { display: grid; gap: 12px; justify-items: start; padding-block: 6px 4px; outline: none; }
.snap-form__done p { color: var(--snow-2); font-size: var(--t-small); }
.snap-form__done b { color: var(--snow); font-weight: 600; overflow-wrap: anywhere; }
.snap-form__tick { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--mint-wash); color: var(--mint); }
.snap-form__tick svg { width: 22px; height: 22px; }
.text-btn { border: 0; padding: 0; background: none; color: var(--mint); font-size: var(--t-micro); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(92, 202, 168, 0.45); text-underline-offset: 3px; cursor: pointer; }
.text-btn:hover { text-decoration-color: currentColor; }

/* ------------------------------------------------------------------ footer */

.footer { background: var(--mist); color: var(--ink-2); font-size: var(--t-micro); padding-block: 56px calc(40px + env(safe-area-inset-bottom, 0px)); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 2.2fr) repeat(3, minmax(0, 1fr)); gap: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.footer__brand p { margin-top: 14px; max-width: 26em; line-height: 1.55; }
.footer h2 { font-size: var(--t-micro); font-weight: 600; color: var(--ink); margin-bottom: 12px; letter-spacing: -0.005em; }
.footer nav ul { list-style: none; display: grid; gap: 9px; }
.footer nav a:hover { color: var(--ink); }
.footer__base { padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
.footer__promise { display: inline-flex; align-items: center; gap: 8px; }
.footer__promise svg { width: 15px; height: 15px; color: var(--green); }

/* ------------------------------------------------------------------ inner page heroes */

.page-hero { padding-bottom: clamp(56px, 3rem + 3vw, 104px); }
.page-hero .wrap { display: grid; gap: 22px; }
.page-hero--center .wrap { justify-items: center; text-align: center; }
.page-hero--center .lede { margin-inline: auto; }
.page-hero__meta { display: flex; flex-wrap: wrap; gap: 8px; }

.localnav {
  position: sticky;
  top: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
  z-index: 40;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.localnav ul { list-style: none; display: flex; gap: 6px; overflow-x: auto; padding-block: 10px; scrollbar-width: none; }
.localnav ul::-webkit-scrollbar { display: none; }
.localnav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  font-size: var(--t-micro);
  font-weight: 550;
  color: var(--ink-2);
  white-space: nowrap;
  transition: background-color 0.15s, color 0.15s;
}
.localnav a:hover { color: var(--ink); background: var(--mist); }
.localnav a.is-active { background: var(--ink); color: var(--paper); }
.localnav a svg { width: 15px; height: 15px; }

/* ------------------------------------------------------------------ services page */

.service { padding-block: clamp(80px, 5rem + 3vw, 136px); border-top: 1px solid var(--line); }
.service:first-of-type { border-top: 0; }
.service.band--mist { border-top: 0; }
.service__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 5vw, 88px); align-items: center; }
.service--flip .service__copy { order: 2; }
.service__copy { display: grid; gap: 20px; }
.service__icon { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: var(--green-wash); color: var(--green); }
.service__icon svg { width: 26px; height: 26px; }
.service__copy > p { font-size: var(--t-lede); line-height: 1.45; color: var(--ink-2); letter-spacing: -0.016em; }
.checks { list-style: none; display: grid; margin-top: 6px; border-top: 1px solid var(--line); }
.checks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: var(--t-body); line-height: 1.45; }
.checks svg { width: 18px; height: 18px; color: var(--green); margin-top: 3px; }
.service__viz { border-radius: var(--r-xl); background: var(--mist); padding: clamp(22px, 3vw, 40px); }
.service.band--mist .service__viz { background: var(--paper); }
.service__viz .viz-panel { box-shadow: var(--shadow-card); }
.service__viz-cap { margin-top: 14px; font-size: var(--t-micro); color: var(--ink-3); }

/* ------------------------------------------------------------------ plans page */

.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan {
  position: relative;
  border-radius: var(--r-xl);
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 34px 30px 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.plan--featured { border: 2px solid var(--green); box-shadow: var(--shadow-float); }
.plan__tag {
  position: absolute;
  top: -13px; left: 28px;
  padding: 4px 11px;
  border-radius: var(--r-pill);
  background: var(--green);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}
.plan__name { font-size: 2rem; font-weight: 700; letter-spacing: -0.045em; line-height: 1; }
.plan__for { color: var(--ink-2); font-size: var(--t-small); line-height: 1.5; min-height: 3em; }
.plan__price { padding: 16px 0; border-block: 1px solid var(--line); }
.plan__price strong { display: block; font-size: 1.25rem; font-weight: 650; letter-spacing: -0.025em; }
.plan__price span { font-size: var(--t-micro); color: var(--ink-3); }
.plan .checks { border-top: 0; margin-top: 0; }
.plan .checks li { font-size: var(--t-small); padding: 10px 0; }
.plan .checks li:last-child { border-bottom: 0; }
.plan .checks li.is-inherit { font-weight: 600; }
.plan .btn { margin-top: auto; }
.plan__fine { font-size: 12.5px; color: var(--ink-3); text-align: center; }

.compare { width: 100%; border-collapse: separate; border-spacing: 0; font-size: var(--t-small); }
.compare th, .compare td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; }
.compare thead th { font-size: 1.0625rem; font-weight: 650; letter-spacing: -0.02em; position: sticky; top: calc(var(--nav-h) + env(safe-area-inset-top, 0px)); background: var(--paper); z-index: 2; }
.compare thead th.is-featured { color: var(--green); }
.compare td.c, .compare th.c { text-align: center; width: 16%; }
.compare tbody th { font-weight: 450; color: var(--ink); }
.compare .grp th { padding-top: 28px; font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-3); border-bottom: 1px solid var(--line-2); }
.compare svg { width: 18px; height: 18px; color: var(--green); margin: 0 auto; }
.compare .no { display: inline-block; width: 12px; height: 1.5px; background: var(--line-2); vertical-align: middle; }


.extras { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.extra { border-radius: var(--r-xl); background: var(--mist); padding: 32px 30px; display: grid; gap: 12px; align-content: start; }
.band--mist .extra { background: var(--paper); }
.extra h3 { font-size: 1.5rem; font-weight: 650; letter-spacing: -0.032em; }
.extra p { color: var(--ink-2); font-size: var(--t-small); }

.faq { display: grid; border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px;
  gap: 16px;
  align-items: center;
  padding: 22px 0;
  font-size: 1.1875rem;
  font-weight: 600;
  letter-spacing: -0.022em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { width: 28px; height: 28px; border-radius: 50%; background: var(--mist-2); position: relative; transition: transform 0.3s var(--ease), background-color 0.2s; }
.band--mist .faq summary i { background: var(--paper); }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.6px; margin: -0.8px 0 0 -5.5px; background: var(--ink); border-radius: 2px; transition: transform 0.3s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0deg); }
.faq details > div { padding: 0 44px 24px 0; color: var(--ink-2); max-width: 46em; line-height: 1.6; }

/* ------------------------------------------------------------------ research page */

.feature-study {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  border-radius: var(--r-xl);
  background: var(--night);
  color: var(--snow);
  padding: clamp(28px, 4vw, 56px);
  overflow: hidden;
  position: relative;
}
.feature-study::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 85% 30%, rgba(92, 202, 168, 0.16), transparent 70%); pointer-events: none; }
.feature-study > * { position: relative; }
.feature-study__copy { display: grid; gap: 18px; }
.feature-study h2 { font-size: clamp(1.9rem, 1.4rem + 2vw, 3rem); line-height: 1.05; letter-spacing: -0.045em; font-weight: 700; }
.feature-study p { color: var(--snow-2); }
.feature-study .viz-panel { background: var(--night-2); border: 1px solid var(--night-line); box-shadow: none; color: var(--snow); }
.feature-study .viz-panel__meta { color: var(--snow-3); }
.feature-study .sov__track::before { background: var(--night-line); }
.feature-study .sov__bar { background: var(--mint); }
.feature-study .sov__val { color: var(--snow-2); }
.feature-study .sov__range { background: var(--snow-2); }
.feature-study .viz-note { color: var(--snow-3); }
.metachips { display: flex; flex-wrap: wrap; gap: 8px; }
.metachip { display: inline-flex; align-items: center; padding: 5px 11px; border-radius: var(--r-pill); font-size: 12.5px; font-weight: 550; background: var(--mist-2); color: var(--ink-2); }
.feature-study .metachip, .band--night .metachip { background: rgba(226, 244, 237, 0.08); color: var(--snow-2); }

.cards-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.card {
  border-radius: var(--r-xl);
  background: var(--mist);
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.band--mist .card { background: var(--paper); }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-float); }
.card h3 { font-size: 1.5rem; font-weight: 650; letter-spacing: -0.032em; line-height: 1.15; }
.card p { color: var(--ink-2); font-size: var(--t-small); }
.card .arrow-link { margin-top: auto; padding-top: 8px; font-size: var(--t-small); }

.method { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: m; }
.method li { list-style: none; display: grid; gap: 10px; align-content: start; padding-top: 20px; border-top: 2px solid var(--ink); }
.method li:nth-child(4) { border-top-color: var(--green); }
.method .kicker { color: var(--ink-3); }
.method h3 { font-size: 1.1875rem; font-weight: 650; letter-spacing: -0.024em; }
.method p { font-size: var(--t-small); color: var(--ink-2); line-height: 1.55; }

/* ------------------------------------------------------------------ article (study) */

.article-hero { padding-bottom: clamp(48px, 3rem + 2vw, 80px); }
.article-hero .wrap { display: grid; gap: 22px; }
.article-hero h1 { font-size: clamp(2.4rem, 1.6rem + 3.4vw, 4.6rem); line-height: 1.02; letter-spacing: -0.048em; font-weight: 700; max-width: 15em; text-wrap: balance; }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; font-size: var(--t-small); color: var(--snow-2); }
.byline img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.byline b { color: var(--snow); font-weight: 600; }
.facts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; margin-top: 18px; border-radius: var(--r-lg); overflow: hidden; background: var(--night-line); border: 1px solid var(--night-line); }
.facts div { background: var(--night-2); padding: 20px 20px 18px; display: grid; gap: 4px; }
.facts strong { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); letter-spacing: -0.045em; font-weight: 700; line-height: 1; color: var(--snow); }
.facts span { font-size: 12.5px; color: var(--snow-2); line-height: 1.35; }

.article-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.toc { position: sticky; top: calc(var(--nav-h) + 32px); display: grid; gap: 12px; font-size: var(--t-micro); }
.toc ol { list-style: none; display: grid; gap: 2px; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 14px; margin-left: -1px; border-left: 2px solid transparent; color: var(--ink-3); line-height: 1.35; transition: color 0.15s, border-color 0.15s; }
.toc a:hover { color: var(--ink); }
.toc a.is-active { color: var(--ink); border-left-color: var(--green); font-weight: 600; }
.progress { position: fixed; left: 0; top: calc(var(--nav-h) + env(safe-area-inset-top, 0px)); height: 2px; width: 100%; background: var(--green); transform-origin: 0 50%; transform: scaleX(0); z-index: 61; pointer-events: none; }

.prose { min-width: 0; font-size: 1.0625rem; line-height: 1.68; color: var(--ink); }
.prose > * { max-width: var(--max-text); }
.prose > .table-wrap, .prose > .chart-card, .prose > .explore-embed { max-width: none; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2.6em; font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.25rem); line-height: 1.12; letter-spacing: -0.038em; font-weight: 700; scroll-margin-top: calc(var(--nav-h) + 28px); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 2em; font-size: 1.25rem; letter-spacing: -0.022em; font-weight: 650; }
.prose ul, .prose ol { padding-left: 1.3em; display: grid; gap: 0.45em; }
.prose li::marker { color: var(--ink-3); }
.prose ol > li::marker { font-family: var(--font-mono); font-size: 0.85em; color: var(--green); font-weight: 600; }
.prose li > ul { margin-top: 0.45em; }
.prose a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(17, 115, 90, 0.35); }
.prose strong { font-weight: 650; }
.prose .table-wrap { margin-top: 1.5em; margin-bottom: 0.4em; }
.prose .table-wrap table { font-size: 0.875rem; }
.prose .lead { font-size: var(--t-lede); line-height: 1.5; letter-spacing: -0.016em; color: var(--ink-2); }
.prose .chart-card { margin-top: 1.6em; background: var(--mist); }
.prose .note { font-size: var(--t-small); color: var(--ink-2); }
.prose figure { margin: 1.6em 0 0; }
.wide { margin-top: clamp(28px, 3vw, 44px); }

.callout {
  margin-top: 3em;
  border-radius: var(--r-xl);
  background: var(--night);
  color: var(--snow);
  padding: clamp(26px, 3vw, 40px);
  display: grid;
  gap: 14px;
}
.callout h3 { font-size: 1.5rem; font-weight: 650; letter-spacing: -0.03em; }
.callout p { color: var(--snow-2); }
.callout .ctas { margin-top: 6px; }
.callout .btn--signal { background: var(--mint); color: var(--night); }
.callout .btn--signal:hover { background: var(--mint-2); }
.callout .arrow-link { color: var(--mint); }

.rangechart { display: grid; gap: 0; }
.rangechart__row { display: grid; grid-template-columns: 176px minmax(0, 1fr) 54px; align-items: center; gap: 14px; height: 34px; }
.rangechart__row.is-focus .rangechart__name { font-weight: 650; }
.rangechart__name { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rangechart__track { position: relative; height: 100%; }
.rangechart__grid { position: absolute; inset: 0; }
.rangechart__grid i { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--line); }
.rangechart__range { position: absolute; top: 50%; height: 4px; margin-top: -2px; border-radius: 2px; background: rgba(17, 115, 90, 0.22); }
.rangechart__dot { position: absolute; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 2px var(--mist); }
.rangechart__val { font-family: var(--font-mono); font-size: 12px; text-align: right; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.rangechart__axis { display: grid; grid-template-columns: 176px minmax(0, 1fr) 54px; gap: 14px; margin-top: 4px; }

.hbars { display: grid; gap: 10px; }
.hbars__row { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 14px; align-items: center; font-size: 14px; }
.hbars__name { font-family: var(--font-mono); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hbars__track { display: flex; align-items: center; gap: 10px; min-width: 0; }
.hbars__bar { height: 14px; border-radius: 0 4px 4px 0; background: var(--green); flex: none; }
.hbars__bar.is-review { background: var(--ink-2); }
.hbars__val { font-family: var(--font-mono); font-size: 12px; color: var(--ink-2); white-space: nowrap; }

/* ------------------------------------------------------------------ sample snapshot (report sheet) */

.sheet {
  max-width: 860px;
  margin-inline: auto;
  border-radius: var(--r-xl);
  background: var(--paper);
  box-shadow: var(--shadow-float);
  padding: clamp(26px, 5vw, 64px);
  display: grid;
  gap: 40px;
}
.sheet__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 18px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.sheet__head h1 { margin-top: 12px; font-size: clamp(2rem, 1.5rem + 2.2vw, 3.25rem); line-height: 1.04; letter-spacing: -0.048em; font-weight: 700; }
.sheet__meta { margin-top: 10px; font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); line-height: 1.6; }
.stamp { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); border: 1px solid rgba(17, 115, 90, 0.4); border-radius: 8px; padding: 6px 10px; }
.notice { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; border-radius: var(--r-md); background: var(--mist); padding: 16px 18px; font-size: var(--t-small); color: var(--ink-2); line-height: 1.55; }
.notice svg { width: 20px; height: 20px; color: var(--green); }
.notice a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.kpi { border-radius: var(--r-lg); background: var(--mist); padding: 24px 22px; display: grid; gap: 10px; align-content: start; }
.kpi strong { font-size: clamp(2.6rem, 2rem + 2vw, 3.6rem); line-height: 0.95; letter-spacing: -0.055em; font-weight: 700; }
.kpi span { font-size: var(--t-small); color: var(--ink-2); line-height: 1.45; }
.kpi .meter { height: 6px; border-radius: 3px; background: var(--mist-2); position: relative; overflow: hidden; }
.kpi .meter b { position: absolute; inset: 0 auto 0 0; background: var(--green); border-radius: 3px; }
.kpi .meter s { position: absolute; top: -3px; bottom: -3px; width: 2px; background: var(--ink); text-decoration: none; }
.sheet__sec { display: grid; gap: 16px; }
.sheet__sec h2 { display: flex; align-items: center; gap: 12px; font-size: 1.5rem; font-weight: 700; letter-spacing: -0.035em; }
.sheet__sec h2 span { font-family: var(--font-mono); font-size: 12px; font-weight: 600; color: var(--green); background: var(--green-wash); border-radius: 7px; padding: 3px 8px; letter-spacing: 0; }
.sheet__sec p { color: var(--ink-2); }
.qlist { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
.qlist li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: var(--t-small); }
.fixes { list-style: none; display: grid; gap: 14px; counter-reset: fx; }
.fixes li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding: 18px; border-radius: var(--r-md); background: var(--mist); }
.fixes li::before { counter-increment: fx; content: counter(fx); width: 32px; height: 32px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-family: var(--font-mono); font-weight: 700; font-size: 13px; }
.fixes b { display: block; font-weight: 650; letter-spacing: -0.015em; }
.fixes span { display: block; margin-top: 3px; color: var(--ink-2); font-size: var(--t-small); line-height: 1.5; }

/* ------------------------------------------------------------------ about page */

.about-intro { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.about-intro .prose { max-width: none; }
.profile {
  position: sticky;
  top: calc(var(--nav-h) + 32px);
  border-radius: var(--r-xl);
  background: var(--mist);
  padding: 26px;
  display: grid;
  gap: 14px;
}
.profile img { width: 100%; aspect-ratio: 1; border-radius: 18px; object-fit: cover; }
.profile__name { font-size: 1.375rem; font-weight: 700; letter-spacing: -0.03em; }
.profile__role { font-size: var(--t-small); color: var(--ink-2); margin-top: -8px; }
.profile dl { display: grid; gap: 0; margin: 4px 0 0; border-top: 1px solid var(--line); }
.profile dl div { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: var(--t-micro); }
.profile dt { color: var(--ink-3); }
.profile dd { margin: 0; color: var(--ink); font-weight: 550; }
.profile dd a { color: var(--green); }

.timeline { list-style: none; display: grid; gap: 0; border-left: 1px solid var(--line-2); margin-left: 6px; }
.timeline li { position: relative; padding: 0 0 30px 30px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -6px; top: 6px; width: 11px; height: 11px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 2px var(--ink-2); }
.timeline li.is-now::before { background: var(--green); box-shadow: 0 0 0 4px var(--green-wash); }
.timeline .kicker { display: block; }
.timeline h3 { margin-top: 4px; font-size: 1.1875rem; font-weight: 650; letter-spacing: -0.022em; }
.timeline p { margin-top: 4px; font-size: var(--t-small); color: var(--ink-2); }

/* ------------------------------------------------------------------ 404 */

.nf { min-height: 72vh; display: grid; align-content: center; text-align: center; }
.nf .wrap { display: grid; gap: 22px; justify-items: center; }
.nf code { font-family: var(--font-mono); color: var(--mint); }

/* ------------------------------------------------------------------ scroll reveal (enhancement only) */

@media (prefers-reduced-motion: no-preference) {
  .js .reveal.pre { opacity: 0; transform: translateY(26px); }
  .js .reveal { transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); transition-delay: calc(var(--d, 0) * 1ms); }
}

/* ------------------------------------------------------------------ responsive */

@media (max-width: 1068px) {
  .tile--measure { grid-column: span 6; grid-row: auto; }
  .tile--publish, .tile--earn { grid-column: span 3; }
  .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
  .method { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .facts div:nth-child(n+4) { grid-column: span 1; }
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .toc { display: none; }
  .explorer { grid-template-columns: minmax(0, 1fr); }
  .explorer__list { border-right: 0; border-bottom: 1px solid var(--line); }
  .explorer__qs { display: none; }
  .explorer select {
    display: block;
    margin: 0 16px 16px;
    width: calc(100% - 32px);
    height: 46px;
    padding: 0 40px 0 14px;
    border-radius: 12px;
    border: 1px solid var(--line-2);
    background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2348544f' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center;
    -webkit-appearance: none;
    appearance: none;
    font-size: 15px;
    color: var(--ink);
  }
  .explorer__result { min-height: 0; }
}

@media (max-width: 960px) {
  .instrument__body { grid-template-columns: minmax(0, 1fr); }
  .instrument__answer { border-right: 0; border-bottom: 1px solid var(--night-line); }
  .shift, .showcase, .cta, .service__grid, .feature-study, .about-intro { grid-template-columns: minmax(0, 1fr); }
  .service--flip .service__copy { order: 0; }
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-inline: auto; }
  .stats { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .profile { position: static; grid-template-columns: 120px minmax(0, 1fr); align-items: center; }
  .profile img { grid-row: span 2; }
  .profile dl { grid-column: 1 / -1; }
  .doc { transform: none; }
  .doc__marker { left: auto; right: -6px; }
  .founder { grid-template-columns: auto minmax(0, 1fr); }
  .founder__links { grid-column: 1 / -1; }
}

@media (max-width: 734px) {
  :root { --nav-h: 52px; }
  body { font-size: 1rem; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .tile--measure, .tile--publish, .tile--earn, .tile--build, .tile--protect, .tile--snapshot { grid-column: auto; }
  .tile--snapshot { grid-template-columns: minmax(0, 1fr); }
  .principles, .method { grid-template-columns: minmax(0, 1fr); }
  .cards-2, .extras { grid-template-columns: minmax(0, 1fr); }
  .kpis { grid-template-columns: minmax(0, 1fr); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts div:last-child { grid-column: 1 / -1; }
  .explorer__cols { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .instrument__answer { padding: 22px 18px 24px; }
  .instrument__reading { padding: 20px 18px; }
  .instrument__bar { padding: 12px 16px; }
  .hide-sm { display: none; }
  .instrument__text { font-size: 14px; }
  .db__row, .db__axis { grid-template-columns: 84px minmax(0, 1fr); gap: 10px; }
  .db__label { font-size: 13px; }
  .rangechart__row, .rangechart__axis { grid-template-columns: 98px minmax(0, 1fr) 42px; gap: 10px; }
  .rangechart__name { font-size: 13px; }
  .hbars__row { grid-template-columns: 96px minmax(0, 1fr); gap: 10px; }
  .sov__row { grid-template-columns: 78px minmax(0, 1fr) 40px; gap: 8px; }
  .vb-body { grid-template-columns: minmax(0, 1fr); }
  .viz-snap { grid-template-columns: minmax(0, 1fr); }
  .viz-snap > div { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 14px; }
  .viz-snap .kicker { grid-column: 1 / -1; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
  .compare th, .compare td { padding: 12px 10px; }
  .compare thead th { font-size: 0.9375rem; }
  .faq summary { font-size: 1.0625rem; }
  .faq details > div { padding-right: 0; }
  .plan { padding: 30px 24px 26px; }
  .founder { padding: 22px; gap: 18px; }
  .founder img { width: 64px; height: 64px; }
  .doc { padding: 20px 18px; }
  .doc__marker { display: none; }
  .sheet { border-radius: var(--r-lg); }
  .units { gap: 6px; }
  .hero__fine { gap: 6px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-delay: 0ms !important; transition-duration: 0.001ms !important; }
}

@media print {
  .nav, .menu, .localnav, .snap-form, .progress { display: none !important; }
  .band--night, .footer { background: #fff !important; color: #000 !important; }
}

/* ------------------------------------------------------------------ additions: page furniture */

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.ink { color: var(--ink); font-weight: 600; }
.band--night .ink { color: var(--snow); }
.after-chart { margin-top: 28px; }
.showcase__copy { display: grid; gap: 22px; align-content: start; }
.showcase__copy .ctas { margin-top: 6px; }
.footer .brand { color: var(--ink); }
.key-bar--review { background: var(--ink-2); }

.explorer__firstmeta { display: flex; align-items: center; gap: 10px; font-size: var(--t-micro); color: var(--ink-2); white-space: nowrap; }
.explorer__also { margin-top: -14px; font-size: var(--t-micro); color: var(--ink-2); }
.explorer__foot a { color: var(--green); font-weight: 600; }
.explore-embed { margin-top: 1.6em; }
.explore-embed .explorer { font-size: 1rem; line-height: 1.5; }
.explore-embed .explorer h3, .explore-embed .explorer h4 { margin-top: 0; }
.prose .explorer ul { padding-left: 0; display: grid; gap: 2px; }
.prose .explorer .rowlist li::marker { content: none; }
.prose .explorer h3.explorer__question { font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.5rem); line-height: 1.22; letter-spacing: -0.03em; }
.prose .explorer .explorer__qs { padding-left: 10px; }

.qlist__meta { display: inline-flex; align-items: center; gap: 10px; font-size: var(--t-micro); color: var(--ink-2); white-space: nowrap; }
.kpi-key { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: -26px; font-size: var(--t-micro); color: var(--ink-2); }
.kpi-key span { display: inline-flex; align-items: center; gap: 8px; }
.kk-bar { display: inline-block; width: 14px; height: 6px; border-radius: 3px; background: var(--green); }
.kk-tick { display: inline-block; width: 2px; height: 12px; background: var(--ink); }
.crumbs { max-width: 860px; margin: 0 auto 22px; font-size: var(--t-micro); color: var(--ink-2); }
.crumbs a { color: var(--green); font-weight: 600; }
.stamp svg { width: 14px; height: 14px; }
.sheet__sec .hbars { margin-block: 4px; }

.byline img { flex: none; }
.article-hero .ctas { margin-top: 6px; }
.article-hero .eyebrow a:hover { text-decoration: underline; text-underline-offset: 3px; }
.toc .kicker { padding-bottom: 4px; }

.nf .kicker { color: var(--mint); }
.nf .lede { margin-inline: auto; }

@media (max-width: 1068px) {
  .explorer__tabs { display: none; }
  .explorer select { margin-top: 16px; }
}

@media (max-width: 734px) {
  .compare-wrap { overflow-x: auto; }
  .qlist li { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .explorer__first { grid-template-columns: minmax(0, 1fr); }
  .kpi-key { margin-top: -18px; }
  .stage { margin-top: 48px; }
}
.prose .chart-card h3, .prose .chart-card__title { margin-top: 0; }
.localnav ul { position: relative; }

.feature-study .arrow-link { color: var(--mint); }
.feature-study .btn--signal { background: var(--mint); color: var(--night); }
.feature-study .btn--signal:hover { background: var(--mint-2); }
.feature-study .kicker { color: var(--snow-3); }

.viz-stack { display: grid; gap: 14px; }
.viz-fixes { list-style: none; display: grid; gap: 8px; counter-reset: vf; }
.viz-fixes li { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: 13px; line-height: 1.35; }
.viz-fixes li::before { counter-increment: vf; content: counter(vf); width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; font-family: var(--font-mono); font-size: 12px; font-weight: 700; }
.viz-fixes .chip { font-size: 12px; }

.explorer__more { margin-top: auto; padding: 14px 22px 18px; border-top: 1px solid var(--line); font-size: var(--t-micro); color: var(--ink-2); }
.explorer__more a { color: var(--green); font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.explorer__more svg { width: 14px; height: 14px; }
@media (max-width: 1068px) { .explorer__more { margin-top: 0; padding-top: 12px; } }

@media (max-width: 734px) {
  .stats { gap: 12px; }
  .stat { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 18px; padding: 22px 22px; }
  .stat__num { font-size: 2.6rem; min-width: 3.2ch; }
}

.nav.is-menu { background: var(--paper); border-bottom-color: var(--line); }

/* Specialist studio refresh. Natural height at every viewport and text size. */
:root { --section: clamp(64px, 5.5vw, 92px); --t-h2: clamp(2rem, 1.5rem + 2vw, 3.8rem); --t-display: clamp(2.6rem, 2rem + 3vw, 5.3rem); }
.recallant-hero { padding-top:calc(var(--nav-h) + 76px); padding-bottom:76px; }
.hero-grid { display:grid; grid-template-columns:1.07fr 1fr; gap:clamp(32px,6vw,84px); align-items:center; }
.hero-copy h1 { font-size:clamp(3.2rem,4.8vw,5.3rem); line-height:1.01; letter-spacing:-.065em; margin:18px 0 26px; }
.hero-secondary { color:var(--snow-2); font-weight:460; }
.hero-copy .lede { font-size:1.16rem; max-width:32rem; }
.hero-copy .ctas { gap:20px; margin-top:28px; }
.hero-caption,.closing-note { color:var(--snow-2); font-size:.88rem; margin-top:20px; max-width:34rem; }
.evidence-window { display:block; color:var(--snow); text-decoration:none; border:1px solid var(--night-line-2); background:linear-gradient(150deg,#12281f,#0d1511 60%); border-radius:18px; padding:28px; box-shadow:0 20px 70px #0005; transition:transform .2s; }
.evidence-window:hover { transform:translateY(-3px); }
.evidence-window__top { display:flex; align-items:center; gap:10px; border-bottom:1px solid var(--night-line-2); padding-bottom:22px; margin-bottom:25px; font:12px var(--font-mono); color:var(--snow-2); letter-spacing:.06em; }
.evidence-window__top span:last-child { margin-left:auto; font-size:18px; }
.status-dot { width:7px; height:7px; border-radius:50%; background:var(--mint); }
.evidence-window .kicker { color:var(--mint); }
.evidence-window h2 { font-size:clamp(1.4rem,2.2vw,2rem); line-height:1.2; letter-spacing:-.04em; margin:16px 0 24px; }
.signal-bars { display:grid; gap:20px; }
.signal-bars > div { display:grid; grid-template-columns:1fr auto; gap:10px; font-size:.88rem; }
.signal-bars b { font:1.2rem var(--font-mono); }
.signal-bars i { display:block; grid-column:1/-1; height:8px; background:linear-gradient(to right,var(--mint) var(--bar),#ffffff0a var(--bar)); border-radius:4px; }
.signal-bars > div:last-child i { background:linear-gradient(to right,#edf1db var(--bar),#ffffff0a var(--bar)); }
.evidence-reading { font-size:.9rem; color:var(--snow-2); line-height:1.65; margin:24px 0; }
.evidence-window__foot { border-top:1px solid var(--night-line-2); padding-top:18px; font:12px/1.8 var(--font-mono); color:var(--snow-2); }
.research-strip { border-bottom:1px solid var(--line); background:var(--mist); }
.research-strip .wrap { display:flex; flex-wrap:wrap; justify-content:space-between; gap:20px; padding-top:24px; padding-bottom:24px; font-size:.82rem; color:var(--ink-2); }
.research-strip strong { font-weight:650; color:var(--ink); margin-right:5px; }
.research-strip a { color:var(--green); }
.split-head { display:grid; grid-template-columns:1.3fr 1fr; gap:42px; align-items:end; margin-bottom:36px; }
.split-head>p { max-width:29rem; color:var(--ink-2); }
.offer-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.offer-card { padding:28px; border:1px solid var(--line); border-radius:12px; background:var(--paper); min-width:0; }
.offer-card h2,.offer-card h3 { font-size:1.6rem; line-height:1.15; letter-spacing:-.04em; margin:12px 0 18px; }
.offer-card p { color:var(--ink-2); font-size:1rem; }
.offer-card .eyebrow { color:var(--green); font-size:.7rem; }
.offer-card .arrow-link { font-size:.9rem; margin-top:20px; }
.offer-card--featured { border-color:var(--green); background:#e9f2ec; }
.offer-price { font-size:1.5rem!important; color:var(--ink)!important; font-weight:650; }
.offer-price small { font-size:.76rem; font-weight:400; display:block; margin-top:4px; }
.detail-list { padding-left:1.1rem; color:var(--ink-2); }
.detail-list li { margin-bottom:10px; }
.text-page { max-width:850px; }
.text-page h2 { font-size:clamp(1.6rem,3vw,2.2rem); margin:36px 0 18px; line-height:1.2; letter-spacing:-.035em; }
.text-page p { max-width:74ch; }
.text-page .offer-grid { margin-top:26px; }
.contact-route { padding:30px; border:1px solid var(--line); border-radius:12px; background:var(--mist); min-width:0; }
.contact-route h2,.contact-route h3 { font-size:1.65rem; line-height:1.2; margin:12px 0; }
.contact-route .btn { margin-top:18px; }
.sample-intro { display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center; }
.sample-intro p { color:var(--ink-2); }
.closing-cta { display:grid; grid-template-columns:1.4fr 1fr; gap:60px; align-items:center; }
.closing-cta h2 { margin:16px 0 24px; }
.closing-cta .lede { max-width:34rem; font-size:1.15rem; }
.measurement-note { background:var(--mist); color:var(--ink-2); border-left:3px solid var(--green); padding:20px 24px; margin:24px 0; font-size:.9rem; }
.measurement-note p { font-size:.9rem!important; margin:8px 0 0; }
.measurement-note strong { color:var(--ink); }
.measurement-note a,.evidence-caption a { color:var(--green); }
.evidence-caption { color:var(--ink-2); font-size:.85rem; margin-top:20px; max-width:74ch; }
.sheet { padding:clamp(22px,4vw,60px); }
.sheet__sec h2>span { display:none; }
.method .kicker { display:none; }
.footer__base { flex-wrap:wrap; gap:16px; }
.footer__base a { margin-left:8px; }
.nav__links { gap:24px; }
.offer-grid:has(> :nth-child(4)) { grid-template-columns:repeat(2,minmax(0,1fr)); }
.contact-route p,.offer-card p,.text-page p,.profile dd { overflow-wrap:anywhere; }
@media(min-width:861px) and (max-width:1050px) { .nav__links { gap:14px; }.nav__links a { font-size:.82rem; }.nav__cta .btn { padding:10px 14px; } }
@media(max-width:860px) { .hero-grid { grid-template-columns:1fr; gap:36px; }.hero-copy { max-width:620px; }.hero-copy h1 { font-size:clamp(3rem,7.5vw,4.8rem); }.hero-secondary br { display:none; }.evidence-window { max-width:620px; }.offer-grid { grid-template-columns:1fr; }.split-head { grid-template-columns:1fr; gap:12px; }.split-head>p { max-width:100%; }.sample-intro,.closing-cta { grid-template-columns:1fr; gap:28px; }.recallant-hero { padding-top:calc(var(--nav-h) + 40px); padding-bottom:44px; }.research-strip .wrap { gap:16px 24px; }.offer-grid:has(> :nth-child(4)) { grid-template-columns:1fr; } }
@media(max-width:480px) { .hero-copy h1 { font-size:clamp(2.7rem,11.7vw,3.5rem); }.hero-copy .ctas { align-items:flex-start; flex-direction:column; gap:18px; }.evidence-window { padding:22px; }.offer-card,.contact-route { padding:22px; }.research-strip .wrap { display:grid; grid-template-columns:1fr; gap:10px; }.nav__cta .btn { padding:9px 12px; font-size:.73rem; }.brand { gap:8px; }.brand>span { font-size:1rem; }.evidence-window__top { font-size:12px; }.measurement-note { padding:18px; }.btn { white-space:normal; text-align:center; } }
@media(prefers-reduced-motion:reduce) { .evidence-window:hover { transform:none; } }

@media(max-width:640px) {
  .sheet__head { grid-template-columns:1fr; gap:14px; }
  .sheet__head h1 { font-size:clamp(1.7rem,7vw,2.5rem); overflow-wrap:normal; }
  .stamp { justify-self:start; }
  .sheet { padding:22px 18px; gap:24px; }
  .notice { grid-template-columns:1fr; padding:16px; }
  .notice svg { display:none; }
  .fixes li { grid-template-columns:1fr; padding:16px; gap:10px; }
  .fixes li::before { display:none; }
}

.no-js .nav { position:relative; height:auto; }
.no-js .nav__inner { flex-wrap:wrap; padding-block:16px; gap:16px; }
.no-js .nav__links { display:flex; flex-wrap:wrap; order:3; width:100%; gap:16px; }
.no-js .nav__cta .btn { display:inline-flex; }
.no-js .nav__toggle { display:none; }
.no-js .explorer__qs,.no-js .explorer__tabs,.no-js .explorer select,.no-js .copy-btn { display:none; }
.explorer-fallback { margin-top:24px; }
.explorer-fallback details { border-top:1px solid var(--line); padding:18px 0; }
.explorer-fallback summary { cursor:pointer; font-weight:600; }
.explorer-fallback details>h3 { margin:20px 0; }
.no-js .rise { animation:none; opacity:1; transform:none; }
.prose h2 { overflow-wrap:anywhere; }

.measurement-manage{display:block;margin:20px auto;padding:8px 12px;border:1px solid currentColor;border-radius:4px;background:transparent;color:inherit;font:inherit;font-size:13px;cursor:pointer}.measurement-choice{position:fixed;z-index:100;right:16px;bottom:16px;width:min(420px,calc(100vw - 32px));box-sizing:border-box;padding:20px;background:#f7f6f2;color:#191d24;border:1px solid #b8beb9;border-radius:8px;box-shadow:0 6px 30px #0002;font:14px/1.5 Arial,sans-serif}.measurement-choice[hidden]{display:none}.measurement-choice p{margin:0 0 8px;font:inherit}.measurement-choice a{color:#263fbd;text-decoration:underline}.measurement-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.measurement-actions button{border:1px solid #5b626a;border-radius:4px;padding:8px 10px;background:white;color:#191d24;font:inherit;cursor:pointer}.measurement-actions button:disabled{opacity:.5;cursor:default}.measurement-choice :focus-visible,.measurement-manage:focus-visible{outline:3px solid #415ce5;outline-offset:3px}@media print{.measurement-choice,.measurement-manage{display:none}}


/* ==== DESIGN POLISH 2026-11 :: START ====
   Appended to the end of site.css. To roll back, delete everything from this line to the END line below
   (and put the stylesheet link back to ?v=476265a170 in the pages, or restore the pages from the backup).
   Designed against site.css with SHA-256 a9c7686e333c... (see FILE_MANIFEST.csv for the full hash). */

:root { --r-btn: var(--r-pill); --t-mono: 0.8125rem; }   /* the mono label size is now 13px; buttons are pills, as on Signal & Syllable */

/* Arrows only on links that leave the site: own-page buttons and links lose theirs */
.btn:not([href^="http"]) > svg,
.arrow-link:not([href^="http"]) > svg,
.arrow-link:not([href^="http"]):not([href^="#"]) > span[aria-hidden="true"] { display: none; }   /* a down arrow on a same-page link stays: it completes the sentence ("Compare the four ↓") */

/* Smallest labels in the evidence card and the explorer */
.evidence-window__top,
.evidence-window__foot,
.explorer__lead { font-size: 12px; }

/* 1. One button shape: a pill, as on Signal & Syllable */
.btn { border-radius: var(--r-btn); }

/* 1b. Headline tracking: tight, but the letters no longer touch */
.h-display, .hero-copy h1, .article-hero h1, .sheet__head h1 { letter-spacing: -.034em; }

/* 2. One radius scale for cards, and no label below 13px */
.offer-card { border-radius: var(--r-md); }
.offer-card .eyebrow { font-size: var(--t-micro); }

/* 3. Contrast: the question counts inside the active tab */
.explorer__tab[aria-pressed="true"] .dim { color: var(--snow-2); }

/* 4. "A Signal & Syllable product" beside the logo */
.brand__note { display: none; }
@media (min-width: 1000px) {
  /* inherits the nav's own text colour, so it reads on both the dark and the light header */
  .brand__note { display: inline-block; margin-left: 12px; padding-left: 14px; border-left: 1px solid rgba(128, 138, 133, .55); font-size: var(--t-micro); font-weight: 500; letter-spacing: 0; color: inherit; opacity: .8; white-space: nowrap; }
}

/* 5. Hero: a real saved answer, with the marker a missing brand would get */
.answer-window .answer-q { margin: 0 0 22px; font-size: clamp(1.1rem, 1.7vw, 1.4rem); line-height: 1.3; letter-spacing: -.03em; font-weight: 600; color: var(--snow); }
.answer-window .answer-q__label { display: block; margin-bottom: 9px; font: 600 var(--t-mono) var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--mint); }
.answer-brands { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; }
.answer-brands li { display: grid; grid-template-columns: 12rem 1fr 2.2rem; align-items: center; gap: 14px; padding: 8px 10px; border: 1px dashed transparent; border-radius: 8px; font-size: .95rem; }
.answer-brands i { display: block; height: 8px; border-radius: 4px; background: linear-gradient(to right, var(--mint) var(--bar), #ffffff12 var(--bar)); }
.answer-brands b { font: 1rem var(--font-mono); text-align: right; }
.answer-brands em { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: var(--mint-wash); color: var(--mint); font: normal 600 .72rem var(--font-mono); letter-spacing: .02em; white-space: nowrap; }
.answer-brands .is-you { border-color: #ff8a7a88; background: #ff8a7a12; }
.answer-brands .is-you em { background: #ff8a7a26; color: #ff9e90; }
.answer-brands .is-you i { background: #ffffff12; }
.answer-sources { margin: 0 0 4px; font-size: .88rem; line-height: 1.6; color: var(--snow-2); }
.answer-sources span { display: block; margin-bottom: 2px; font: 600 var(--t-mono) var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--snow-3); }
@media (max-width: 520px) {
  .answer-brands li { grid-template-columns: 1fr 2rem; gap: 6px 10px; }
  .answer-brands i { grid-column: 1 / -1; grid-row: 2; }
}

/* 6. Show the deliverable: the Freshdesk sample, as the client receives it */
.work-thumb { display: block; grid-column: 1 / -1; margin-top: 44px; color: inherit; text-decoration: none; }
.work-thumb img { display: block; width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover; object-position: top; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: 0 18px 50px rgba(10, 17, 14, .1); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.work-thumb:hover img, .work-thumb:focus-visible img { transform: translateY(-3px); box-shadow: 0 24px 60px rgba(10, 17, 14, .16); }
.work-thumb:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; border-radius: var(--r-md); }
.work-thumb__label { display: block; margin-top: 14px; font-size: var(--t-small); color: var(--ink-2); }
@media (min-width: 900px) {
  .work-thumb { max-width: 640px; justify-self: center; }
}
@media (prefers-reduced-motion: reduce) {
  .work-thumb img { transition: none; }
  .work-thumb:hover img, .work-thumb:focus-visible img { transform: none; }
}
/* ==== DESIGN POLISH 2026-11 :: END ==== */

/* Light editorial identity: existing semantic content and research are unchanged. */
:root {
 --night:#f7f6f2; --night-2:#fff; --night-3:#eeeFE9;
 --night-line:#dde1d9; --night-line-2:#c8d0c8;
 --snow:#202923; --snow-2:#4d5a52; --snow-3:#5d6961;
 --paper:#fffefb; --mist:#f0f1eb; --mist-2:#e5e9e1;
 --ink:#202923; --ink-2:#4d5a52; --ink-3:#5d6961;
 --line:#dce0d6; --line-2:#c7cec3;
 --green:#17634c; --green-2:#114e3b; --mint:#17634c; --mint-2:#114e3b;
 --mint-wash:#e3eee6; --green-wash:#e3eee6;
 --r-xl:8px; --r-lg:6px; --r-md:5px; --r-sm:4px;
 --r-btn:6px; --shadow-card:none; --shadow-float:none;
 --t-h2:clamp(2rem,3.2vw,3rem); --t-display:clamp(2.5rem,4.5vw,4rem);
}
.nav,.nav[data-tone="night"],.nav.is-scrolled,.nav.is-menu {background:#fffefbf5;color:var(--ink);border-bottom:1px solid var(--line);backdrop-filter:blur(12px)}
.nav[data-tone="night"] .btn--signal,.band--night .btn--signal,.callout .btn--signal,.feature-study .btn--signal {background:var(--green);color:#fff}
.nav[data-tone="night"] .btn--signal:hover,.band--night .btn--signal:hover,.callout .btn--signal:hover,.feature-study .btn--signal:hover{background:var(--green-2);color:#fff}
.hero-copy h1,.h-hero,.h-display,.article-hero h1,.sheet__head h1 {font-family:Georgia,'Times New Roman',serif;font-weight:400;letter-spacing:-.035em;line-height:1.09}
.hero-copy h1{font-size:clamp(2.75rem,4.2vw,4rem);max-width:12ch}
.hero-secondary{font-weight:400;color:var(--ink)}
.h2,.section-head h2{font-family:Georgia,'Times New Roman',serif;font-weight:400;letter-spacing:-.025em;line-height:1.14}
.hero-grid{gap:clamp(32px,5vw,68px);align-items:start}
.recallant-hero{padding-top:calc(var(--nav-h) + 64px);padding-bottom:64px}
.hero-copy .lede{font-size:1.125rem;line-height:1.7;max-width:39ch}
.eyebrow{font-family:var(--font-mono);font-size:.8125rem;letter-spacing:.055em;text-transform:uppercase}
.evidence-window{background:#fffefb;color:var(--ink);border:1px solid var(--line-2);border-top:3px solid var(--green);border-radius:2px;box-shadow:0 8px 24px #20292308;padding:26px;transform:none!important}
.evidence-window__top{font-size:12px;padding-bottom:18px;margin-bottom:20px}
.evidence-window__foot{font-size:12px;line-height:1.7}
.answer-window .answer-q{font-size:1.2rem;line-height:1.45;letter-spacing:-.015em}
.answer-brands{gap:0;margin-bottom:20px}
.answer-brands li{padding:13px 0;border-radius:0;border-bottom:1px solid var(--line);grid-template-columns:minmax(0,1.3fr) minmax(50px,1fr) 2.2rem;gap:10px;font-size:.875rem}
.answer-brands em{font-size:12px;margin-left:4px;padding:2px 5px;border-radius:2px}
.answer-brands i{height:6px;border-radius:0;background:linear-gradient(to right,var(--green) var(--bar),var(--mist-2) var(--bar))}
.answer-brands .is-you{border:1px dashed #b4231855;padding-inline:8px;background:#fff4ef;margin-top:10px}
.answer-brands .is-you em{background:#f9e2db;color:#9c271e}
.answer-brands .is-you i{background:var(--mist-2)}
.feature-study,.callout{background:var(--mist);border:1px solid var(--line)}
.feature-study::before,.hero::before,.closing-cta::before{background:none}
.research-strip{background:#eeefe7;border-block:1px solid var(--line)}
.offer-card,.contact-route,.card,.viz-panel,.instrument,.explorer{box-shadow:none;border-radius:5px}
.offer-card--featured{background:#f0f4ec;border-color:#99ad99}
.work-thumb img{box-shadow:none;border-radius:2px}
.work-thumb:hover img{transform:none;box-shadow:none}
.band--night .cite[data-tip]::after,.cite[data-tip]::after{background:var(--ink);color:#fff}
.explorer__tab[aria-pressed="true"]{background:var(--green);color:#fff}
.explorer__tab[aria-pressed="true"] .dim{color:#fff}
.footer{background:#f7f6f2;border-top:1px solid var(--line)}
.closing-cta{border-top:1px solid var(--line)}
@media(max-width:600px){.recallant-hero{padding-top:calc(var(--nav-h) + 36px)}.hero-copy h1{max-width:15ch}.evidence-window{padding:20px}.answer-brands li{grid-template-columns:1fr 2.2rem}.answer-brands i{grid-column:1/-1;grid-row:2}.brand__note{display:none}}

.currency-display{margin:24px 0 0;max-width:650px;font:14px/1.5 Arial,sans-serif;letter-spacing:0;color:#4d5a52}.currency-display label{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.currency-display select{width:auto;min-height:42px;padding:8px 12px;border:1px solid #b3bdb4;border-radius:4px;background:#fffefb;color:#202923;font:inherit}.currency-display p{margin:10px 0 0;font:inherit}.currency-display select:focus-visible{outline:3px solid #17634c;outline-offset:3px}
