/* ============================================================
   POW.RE — site stylesheet  ·  2026 brand ("Vivid Emerald")
   Warm paper ground + ink, emerald as a structural accent.
   Type: Poppins (display/labels/data) + Lora (prose).
   ============================================================ */

:root {
  /* light "paper" defaults — theme files override these */
  --ground: #F7F3EA;
  --surface: #FCFAF4;
  --surface-2: #F1EADB;
  --line: #E4DBC8;
  --ink: #1C1A17;
  --muted: #6E675A;
  --faint: #9C927F;
  --accent: #0C9159;
  --accent-2: #0A6E45;
  --accent-contrast: #FCFAF4;
  --accent-line: rgba(12,145,89,.35);
  --accent-wash: rgba(12,145,89,.05);
  --nav-bg: rgba(247,243,234,.82);
  --nav-solid: rgba(247,243,234,.98);
  --glow: transparent;
  --grain-opacity: 0;
  --tag-bg: rgba(28,26,23,.72);
  --tag-border: rgba(28,26,23,.5);
  --tag-ink: #F7F3EA;
  --sel: rgba(12,145,89,.18);
  --avatar-a: rgba(12,145,89,.18);
  --avatar-b: rgba(12,145,89,.05);

  --font-display: "Poppins", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Lora", Georgia, "Times New Roman", serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --maxw: 1160px;
  --nav-h: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

::selection { background: var(--sel); }

/* ---------- layout ---------- */

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

section { padding: 96px 0; position: relative; }

.section-line { border-top: 1px solid var(--line); }

/* optional grain (dark theme only, via --grain-opacity) */
.grain::before {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: var(--grain-opacity);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}

/* ---------- type ---------- */

.kicker {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

h1, .h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 6.2vw, 72px);
  line-height: 1.05;
  letter-spacing: -.02em;
}

h2, .h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.12;
  letter-spacing: -.015em;
}

h3, .h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(21px, 2.6vw, 27px);
  line-height: 1.2;
  letter-spacing: -.01em;
}

.lede {
  color: var(--muted);
  font-size: 19px;
  max-width: 640px;
  margin-top: 20px;
}

.accent { color: var(--accent); }

/* ---------- nav ---------- */

.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav .wrap { display: flex; align-items: center; gap: 32px; width: 100%; }

.brand {
  display: inline-flex; align-items: center;
  color: var(--ink);
}
.brand .wordmark {
  height: 24px; width: auto; display: block;
  fill: currentColor;
}

.nav-links { display: flex; gap: 28px; margin-left: auto; align-items: center; }

.nav-links a {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--muted);
  font-size: 15px;
  transition: color .15s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  border-radius: 999px;
  padding: 12px 24px;
  font-size: 15px; font-weight: 600;
  border: 1px solid var(--line);
  color: var(--ink);
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { border-color: var(--faint); }

.btn-solid {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-contrast);
}
.btn-solid:hover { background: var(--accent-2); border-color: var(--accent-2); }

.nav .btn { padding: 10px 20px; }

.menu-toggle {
  display: none;
  margin-left: auto;
  background: none; border: 1px solid var(--line); border-radius: 8px;
  color: var(--ink); font-size: 20px; line-height: 1;
  padding: 8px 12px; cursor: pointer;
}

/* ---------- hero / page opener ---------- */

.hero {
  padding: 120px 0 96px;
  overflow: hidden;
}

.hero-glow::after {
  content: "";
  position: absolute;
  right: -20%; top: -30%;
  width: 70%; height: 120%;
  pointer-events: none;
  background: radial-gradient(ellipse at center, var(--glow) 0%, transparent 70%);
}

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 32px;
}
.badge::before {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
}

.hero .sub {
  color: var(--muted);
  font-size: 19px;
  max-width: 620px;
  margin-top: 28px;
}
.hero .sub strong { color: var(--ink); font-weight: 600; }

.cta-row { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }

.stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  margin-top: 64px;
  overflow: hidden;
}
.stat { padding: 28px 32px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat .num { font-family: var(--font-display); font-weight: 600; font-size: 34px; }
.stat .lab { color: var(--muted); font-size: 14px; margin-top: 2px; }

/* ---------- cards ---------- */

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 36px;
}

.card-grid { display: grid; gap: 24px; }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }

.card .num-kicker {
  font-family: var(--font-display);
  font-size: 12px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 20px;
}
.card h3 { margin-bottom: 16px; }
.card p { color: var(--muted); font-size: 15.5px; }
.card p + p { margin-top: 14px; }

.card-link {
  display: inline-block;
  font-family: var(--font-display);
  margin-top: 22px;
  color: var(--accent);
  font-size: 15px; font-weight: 600;
}
.card-link:hover { color: var(--accent-2); }

/* ---------- how-it-works media rows ---------- */

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-top: 88px;
}
.feature-row:first-of-type { margin-top: 72px; }

.feature-media { position: relative; }
.feature-media img {
  border-radius: 16px;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.media-tag {
  position: absolute; top: 16px; left: 16px;
  font-family: var(--font-display);
  background: var(--tag-bg);
  backdrop-filter: blur(6px);
  border: 1px solid var(--tag-border);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px; font-weight: 600;
  color: var(--tag-ink);
}

.feature-body h3 { margin-bottom: 22px; font-size: clamp(24px, 2.8vw, 32px); }

.bullets { list-style: none; }
.bullets li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  font-size: 15.5px;
}
.bullets li + li { margin-top: 14px; }
.bullets li::before {
  content: "";
  position: absolute; left: 0; top: .62em;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
}
.bullets li strong { color: var(--ink); font-weight: 600; }

/* two-ways option blocks */
.option { margin-top: 18px; }
.option .opt-label {
  font-family: var(--font-display);
  font-size: 12px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.option p { color: var(--muted); font-size: 15.5px; }

.option-note {
  margin-top: 24px; padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted); font-size: 15.5px;
}

/* use-case grid */
.usecase-intro { margin-top: 26px; color: var(--ink); font-size: 15.5px; font-weight: 500; }
.usecases {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 12px; margin-top: 14px;
}
.usecase {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
}
.usecase .t { font-family: var(--font-display); font-weight: 600; font-size: 14.5px; }
.usecase .d { color: var(--muted); font-size: 13.5px; margin-top: 4px; line-height: 1.5; }

/* ---------- spot / forward desk cards ---------- */

.desk-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 56px; }

.desk-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 36px;
  display: flex; flex-direction: column;
}

.side-tag {
  align-self: flex-start;
  font-family: var(--font-display);
  font-size: 11.5px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 6px 10px;
  color: var(--muted);
  margin-bottom: 22px;
}
.side-tag.buy { color: var(--accent); border-color: var(--accent-line); }

.desk-card h3 { margin-bottom: 12px; }
.desk-card .sub { color: var(--muted); font-size: 15px; margin-bottom: 26px; }

.spec { border-top: 1px solid var(--line); }
.spec-row {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}
.spec-row .k {
  font-family: var(--font-display);
  color: var(--faint);
  font-size: 12px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  padding-top: 2px;
}
.spec-row .v { font-family: var(--font-display); font-weight: 500; color: var(--ink); text-align: right; }

.desk-card .card-link { margin-top: auto; padding-top: 24px; }

/* ---------- comparison ---------- */

.compare { margin-top: 56px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.compare-head, .compare-row { display: grid; grid-template-columns: 1fr 1fr; }
.compare-head > div {
  font-family: var(--font-display);
  padding: 18px 28px;
  font-size: 12px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--faint);
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
}
.compare-head > div:last-child { color: var(--accent); border-left: 1px solid var(--line); }
.compare-row > div {
  padding: 22px 28px;
  font-size: 15px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.compare-row > div:last-child { color: var(--ink); border-left: 1px solid var(--line); background: var(--accent-wash); }
.compare-row:last-child > div { border-bottom: none; }
.compare .m-label { display: none; }

/* ---------- FAQ ---------- */

.faq-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 64px;
  align-items: start;
}
.faq-rail { position: sticky; top: calc(var(--nav-h) + 32px); }
.faq-rail .lede { font-size: 16px; }

.watcher {
  margin-top: 36px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.watcher-head {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px; color: var(--muted);
}
.watcher-head::before {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.watcher-row {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--muted);
}
.watcher-row:last-child { border-bottom: none; }
.watcher-row::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  opacity: .8;
}
.watcher-row:nth-child(3)::before { opacity: .55; }
.watcher-row:nth-child(4)::before { opacity: .4; }
.watcher-row:nth-child(5)::before { opacity: .3; }

.faq-list details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 14px;
  overflow: hidden;
}
.faq-list summary {
  display: flex; align-items: baseline; gap: 16px;
  padding: 22px 26px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 18px; font-weight: 600;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .n {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
}
.faq-list summary .chev {
  margin-left: auto;
  color: var(--faint);
  transition: transform .2s ease;
  font-size: 14px;
}
.faq-list details[open] summary .chev { transform: rotate(180deg); }
.faq-list details[open] { border-color: var(--accent-line); }
.faq-list .a {
  padding: 0 26px 24px 26px;
  color: var(--muted);
  font-size: 15.5px;
  max-width: 60ch;
}

/* ---------- thesis / chips ---------- */

.chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.chip {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 30px 32px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  text-align: center;
}
.chip .accent { display: inline; }

/* ---------- team ---------- */

.team-intro {
  color: var(--muted);
  font-size: 17px;
  max-width: 720px;
  margin: 24px 0 56px;
}
.team-intro strong { color: var(--ink); font-weight: 600; }

.person { text-align: left; }
.avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--avatar-a), var(--avatar-b));
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 600; font-size: 18px;
  color: var(--accent);
  margin-bottom: 20px;
}
.person h3 { font-size: 21px; margin-bottom: 4px; }
.person .role { font-family: var(--font-display); color: var(--accent); font-size: 13.5px; font-weight: 600; letter-spacing: .04em; margin-bottom: 14px; }
.person p { color: var(--muted); font-size: 14.5px; }
.person .socials { display: flex; gap: 14px; margin-top: 18px; }
.person .socials a { font-family: var(--font-display); color: var(--faint); font-size: 13.5px; font-weight: 600; }
.person .socials a:hover { color: var(--ink); }

/* ---------- research ---------- */

.article { display: flex; flex-direction: column; }
.article .meta {
  font-family: var(--font-display);
  font-size: 11.5px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 18px;
}
.article .meta .cat { color: var(--accent); }
.article h3 { font-size: 22px; margin-bottom: 12px; }
.article p { flex: 1; }

.subscribe {
  margin-top: 64px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  padding: 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  flex-wrap: wrap;
}
.subscribe h3 { margin-bottom: 8px; }
.subscribe p { color: var(--muted); font-size: 15.5px; }

/* ---------- contact ---------- */

.contact { text-align: center; padding: 120px 0; }
.contact .lede { margin: 20px auto 40px; }
.contact-mail {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.4vw, 38px);
  font-weight: 600;
  color: var(--accent);
}
.contact-mail:hover { color: var(--accent-2); }
.contact-alt { margin-top: 22px; display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; }
.contact-alt a, .contact-alt span { color: var(--muted); font-size: 15px; }
.contact-alt a:hover { color: var(--ink); }

/* ---------- footer ---------- */

footer {
  border-top: 1px solid var(--line);
  padding: 64px 0 40px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
}
.foot-grid .brand { margin-bottom: 4px; }
.foot-grid .blurb { color: var(--muted); font-size: 14.5px; max-width: 360px; margin-top: 16px; }
.foot-grid .loc { color: var(--faint); font-size: 13.5px; margin-top: 14px; }
.foot-h {
  font-family: var(--font-display);
  font-size: 11.5px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 18px;
}
.foot-grid ul { list-style: none; }
.foot-grid li + li { margin-top: 10px; }
.foot-grid ul a, .foot-grid ul span { color: var(--muted); font-size: 14.5px; }
.foot-grid ul a:hover { color: var(--ink); }

.foot-legal {
  margin-top: 56px; padding-top: 28px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 12.5px;
  line-height: 1.7;
}
.foot-legal .copy { margin-top: 12px; }

/* ---------- reveal animation ---------- */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */

@media (max-width: 960px) {
  section { padding: 72px 0; }

  .menu-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: flex-start;
    gap: 4px;
    background: var(--nav-solid);
    border-bottom: 1px solid var(--line);
    padding: 16px 24px 24px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 0; font-size: 17px; }
  .nav-links .btn { margin-top: 10px; }

  .cols-3, .cols-2, .desk-cards, .usecases, .chips { grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: 1fr; gap: 32px; margin-top: 64px; }
  .feature-row.rev .feature-media { order: -1; }

  .stats { grid-template-columns: 1fr; }
  .stat + .stat { border-left: none; border-top: 1px solid var(--line); }

  .faq-layout { grid-template-columns: 1fr; gap: 40px; }
  .faq-rail { position: static; }
  .watcher { display: none; }

  .compare-head { display: none; }
  .compare-row { grid-template-columns: 1fr; }
  .compare-row > div { border-left: none !important; }
  .compare .m-label {
    display: block;
    font-family: var(--font-display);
    font-size: 10.5px; font-weight: 700;
    letter-spacing: .16em; text-transform: uppercase;
    color: var(--faint);
    margin-bottom: 8px;
  }
  .compare-row > div:last-child .m-label { color: var(--accent); }

  .subscribe { padding: 32px; }

  .foot-grid { grid-template-columns: 1fr; gap: 32px; }
  .foot-grid .blurb { max-width: none; }
}

/* ---------- Vivid Emerald overrides ---------- */

:root {
  --ground: #F7F3EA;
  --surface: #FCFAF4;
  --surface-2: #EAF4EE;    /* faint mist so nested tiles read green-warm */
  --line: #E1D8C4;
  --ink: #1C1A17;
  --muted: #625C50;
  --faint: #948A78;
  --accent: #0C9159;
  --accent-2: #0A6E45;
  --accent-contrast: #FCFAF4;
  --accent-line: rgba(12,145,89,.45);
  --accent-wash: rgba(12,145,89,.06);
  --nav-bg: rgba(247,243,234,.85);
  --nav-solid: rgba(247,243,234,.98);
  --glow: rgba(12,145,89,.07);
  --grain-opacity: 0;
  --tag-bg: rgba(10,110,69,.9);
  --tag-border: rgba(10,110,69,1);
  --tag-ink: #F7F3EA;
  --sel: rgba(12,145,89,.22);
  --avatar-a: rgba(12,145,89,.9);
  --avatar-b: rgba(10,110,69,.7);

  --band: #EDF6F0;          /* mist-tinted alternating section */
  --mist: #D2EFDF;
  --deep: #0A6E45;
}

/* heavier display voice */
h1 { letter-spacing: -.025em; }

/* alternating section rhythm on the tinted band */
#spot,
#use-cases,
#faq { background: var(--band); }

/* keep the emerald keyline reading as "structure" */
.section-line { border-top-color: var(--line); }

/* filled buy tag; sell tag stays outline for contrast */
.side-tag.buy {
  background: var(--accent);
  color: var(--accent-contrast);
  border-color: var(--accent);
}

/* avatar becomes a solid emerald chip with paper initials */
.avatar { color: #F7F3EA; border-color: transparent; }

/* comparison: emerald-filled "Desk" column header + brighter body tint */
.compare-head > div:last-child {
  background: var(--accent);
  color: #F7F3EA;
  border-left-color: var(--accent);
}
.compare-row > div:last-child { background: rgba(12,145,89,.05); }

/* primary CTAs render solid where markup opts in (.btn-solid) */
.card-link { font-weight: 700; }

/* ---- contact block: emerald over hydro spillway texture ---- */
.contact {
  background:
    linear-gradient(rgba(10, 110, 69, .92), rgba(12, 145, 89, .88)),
    url("../images/contact-bg.jpg") center / cover no-repeat;
  color: #F7F3EA;
}
.contact::before { opacity: .12; }         /* let grain sit softly on green */
.contact .kicker { color: rgba(247,243,234,.72); }
.contact h2 { color: #FFFFFF; }
.contact .lede { color: rgba(247,243,234,.9); }
.contact-mail { color: #FFFFFF; }
.contact-mail:hover { color: var(--mist); }
.contact-alt a { color: rgba(247,243,234,.82); }
.contact-alt a:hover { color: #FFFFFF; }

/* ============================================================
   Reorg 2026-07 — brand-native diagrams, use-case strip,
   single-column FAQ, research featured card
   ============================================================ */

/* feature-media diagram panels (replace the stock photos) */
.diagram {
  aspect-ratio: 4 / 3;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.diagram-head {
  flex: none;
  display: flex; align-items: center; gap: 10px;
  padding: 18px 20px 16px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 13px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink);
}
.diagram-head::before {
  content: "";
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
.diagram .watcher-row { flex: 1; padding-left: 20px; padding-right: 20px; }

.diagram-meter {
  margin-top: auto;
  padding: 16px 20px 18px;
}
.meter-label {
  display: flex; justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11.5px; color: var(--muted);
  margin-bottom: 8px;
}
.meter { height: 8px; border-radius: 999px; background: var(--ground); overflow: hidden; }
.meter > span { display: block; height: 100%; border-radius: 999px; background: var(--accent); }

/* ledger-style diagram rows (sell-side daily settlement, counterparty report) */
.drow {
  flex: 1;
  display: flex; align-items: center; gap: 14px;
  padding: 11px 20px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12.5px;
}
.drow .dk {
  flex: none;
  min-width: 76px;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.drow .dv { flex: 1; color: var(--muted); }
.drow .ds { flex: none; color: var(--accent); }

/* use-case strip (own section, 5 across) */
.usecase-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 56px;
}
.usecase-strip .usecase { background: var(--surface); }

/* FAQ as a single column (merged into How It Works) */
.faq-single { max-width: 860px; margin-top: 56px; }

/* research: featured article + bridge back to the desk */
.article.featured { padding: 44px 48px; margin-top: 56px; }
.article.featured h3 { font-size: clamp(24px, 3vw, 30px); }
.article.featured p { flex: none; max-width: 68ch; }

.research-bridge { text-align: center; margin-top: 72px; }
.research-bridge p { color: var(--muted); }

/* team photos reuse the .avatar chip footprint */
img.avatar { object-fit: cover; display: block; }

@media (max-width: 1100px) {
  .usecase-strip { grid-template-columns: 1fr 1fr; }
  .usecase-strip .usecase:last-child { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  .diagram-pad { padding: 24px; }
  .article.featured { padding: 32px; }

  /* comparison: group each marketplace/desk pair into its own card */
  .compare { background: transparent; border: none; overflow: visible; }
  .compare-row {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
  }
  .compare-row + .compare-row { margin-top: 14px; }
  .compare-row > div { border-bottom: none; }
  .compare-row > div:last-child {
    border-top: 1px solid var(--line);
    background: rgba(12, 145, 89, .05);
  }
}

@media (max-width: 620px) {
  .usecase-strip { grid-template-columns: 1fr; }
  .usecase-strip .usecase:last-child { grid-column: auto; }
}

/* ---------- reorg round 2 (Maxime's review, 2026-07-06) ---------- */

/* nav CTA: .nav-links a was overriding the solid button's text colour */
.nav-links a.btn-solid,
.nav-links a.btn-solid:hover { color: var(--accent-contrast); }

/* section kickers read too small */
.kicker { font-size: 14px; }

/* subpage titles (h1 at h2 scale) deserve more presence */
h1.h2 { font-size: clamp(34px, 5vw, 56px); }

/* sell-side tag: filled light green so both sides carry equal weight */
.side-tag {
  background: var(--mist);
  border-color: var(--mist);
  color: var(--deep);
}

/* comparison table: one quiet surface, emerald as the only second colour */
.compare { background: var(--surface); }
.compare-head > div {
  background: var(--surface);
  font-size: 16px;
  letter-spacing: .08em;
  color: var(--ink);
  padding: 20px 28px;
}
.compare-head > div:last-child { background: var(--accent); color: #F7F3EA; }
.compare-row > div:last-child { border-left-color: var(--accent-line); }

/* media tags sit on the diagram border like a legend */
.feature-media .media-tag { top: -14px; left: 20px; }

/* thesis chips → explained cards */
.chip {
  font-family: var(--font-body);
  font-size: 15px; font-weight: 400;
  text-align: left;
  padding: 28px 30px;
}
.chip .t {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.2;
}
.chip .d { color: var(--muted); margin-top: 10px; line-height: 1.6; }

/* ---------- imagery pass (2026-07-23) ---------- */

/* hero media panel */
.hero-media {
  margin-top: 52px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.hero-media img { display: block; width: 100%; height: 440px; object-fit: cover; }
@media (max-width: 640px) { .hero-media img { height: 230px; } }

/* social links carry their platform mark */
.icon-link { display: inline-flex; align-items: center; gap: 9px; }
.icon-link .s-icon { width: 15px; height: 15px; flex: none; opacity: .85; }
