/* ==========================================================================
   National Dialogue Network — design tokens & site-wide styles
   ========================================================================== */

:root {
  /* Brand palette (derived from logo + existing site brand colors) */
  --ink: #0d2e36;
  --primary: #0f6e8c;
  --primary-dark: #0a4f65;
  --leaf: #6aa93c;
  --leaf-dark: #4c7f28;
  --accent: #ff7700;
  --accent-dark: #e56900;

  /* Issue / category colors (echo the logo's multicolor hands) */
  --tag-wealth: #d9a441;
  --tag-inequality: #e2725b;
  --tag-civic: #2f8f9d;
  --tag-future: #7b5ea7;
  --tag-current: #3b6fb0;
  --tag-outreach: #6aa93c;
  --tag-action: #ff7700;

  /* Neutrals */
  --bg: #faf9f6;
  --bg-alt: #f2f1ed;
  --bg-dark: var(--ink);
  --card: #ffffff;
  --border: #e4e1d8;
  --text: #22303a;
  --text-muted: #62707a;
  --text-on-dark: #eef4f2;
  --text-on-dark-muted: #a9c0be;

  /* Type */
  --font-display: "Manrope", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  /* Layout */
  --container: 1180px;
  --container-narrow: 760px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 8px rgba(13, 46, 54, 0.06);
  --shadow-md: 0 12px 32px rgba(13, 46, 54, 0.10);
  --shadow-lg: 0 24px 60px rgba(13, 46, 54, 0.16);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
ul, ol { padding-left: 1.25em; }
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 800;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.4rem, 4.5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
::selection { background: var(--accent); color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--accent-dark); color: #fff; box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.55); }
.btn-outline-light:hover { background: #fff; color: var(--ink); }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 249, 246, 0.9);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 800; color: var(--ink); }
.brand img { height: 50px; width: auto; display: block; }
.brand-text { font-size: 1.5rem; line-height: 1; display: flex; align-items: center; }

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); border-color: var(--accent); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; }

@media (max-width: 880px) {
  .nav-links { position: fixed; inset: 68px 0 0 0; background: var(--bg); flex-direction: column; padding: 24px; gap: 6px; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: all .2s ease; border-top: 1px solid var(--border); }
  .nav-links a { display: block; padding: 14px 6px; border-bottom: 1px solid var(--border); }
  .nav.open .nav-links { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-toggle { display: flex; }
  .nav .btn-primary { display: none; }
}

/* ---------- Hero ---------- */
.hero { padding: 64px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--primary-dark);
  background: rgba(15, 110, 140, 0.1); padding: 7px 16px; border-radius: var(--radius-pill);
  margin-bottom: 18px;
}
.hero h1 { margin-bottom: 20px; }
.hero .lede { font-size: 1.15rem; color: var(--text-muted); max-width: 54ch; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-illustration { width: 100%; height: auto; }

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-illustration { max-width: 380px; margin: 0 auto; }
}

/* ---------- Credibility / stat strip ---------- */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 20px;
}
.stat-strip div { background: var(--card); padding: 20px 18px; }
.stat-strip strong { display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--primary); }
.stat-strip span { font-size: 0.82rem; color: var(--text-muted); }
@media (max-width: 720px) { .stat-strip { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Sections ---------- */
.section { padding: 76px 0; position: relative; overflow: hidden; }
.section > .container { position: relative; z-index: 1; }
.hero { position: relative; overflow: hidden; }
.hero > .container { position: relative; z-index: 1; }

/* Soft background blobs — decorative, low-opacity fills that carry a section's
   accent color behind the content and give scroll rhythm without competing for attention. */
.section-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.14;
}
.section-dark .section-blob { opacity: 0.24; }
.section-blob.size-xl { width: 980px; height: 980px; }
.section-blob.size-lg { width: 760px; height: 760px; }
.section-blob.size-md { width: 520px; height: 520px; }
.section-blob.pos-tr { top: -260px; right: -220px; }
.section-blob.pos-bl { bottom: -260px; left: -220px; }
.section-blob.pos-tl { top: -220px; left: -180px; }
.section-blob.pos-br { bottom: -220px; right: -180px; }
.section-blob.pos-mr { top: 50%; right: -260px; transform: translateY(-50%); }
.section-blob.pos-ml { top: 50%; left: -260px; transform: translateY(-50%); }
.section-blob.pos-ctr { top: 50%; left: 50%; transform: translate(-50%, -50%); }
.blob-primary { background: var(--primary); }
.blob-leaf { background: var(--leaf); }
.blob-accent { background: var(--accent); }
.blob-future { background: var(--tag-future); }
.blob-civic { background: var(--tag-civic); }
.blob-wealth { background: var(--tag-wealth); }
.blob-current { background: var(--tag-current); }
.blob-inequality { background: var(--tag-inequality); }

/* A faint dot-grid texture, for sections that want quiet pattern instead of a glow. */
.section-dots {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(var(--ink) 1.6px, transparent 1.6px);
  background-size: 26px 26px;
  opacity: 0.05;
}
.section-dark .section-dots { background-image: radial-gradient(#fff 1.6px, transparent 1.6px); opacity: 0.07; }
.section-dots.dots-tr { top: -40px; right: -40px; width: 480px; height: 480px; -webkit-mask-image: radial-gradient(circle, #000 45%, transparent 75%); mask-image: radial-gradient(circle, #000 45%, transparent 75%); }
.section-dots.dots-bl { bottom: -40px; left: -40px; width: 480px; height: 480px; -webkit-mask-image: radial-gradient(circle, #000 45%, transparent 75%); mask-image: radial-gradient(circle, #000 45%, transparent 75%); }
.section-dots.dots-tl { top: -40px; left: -40px; width: 480px; height: 480px; -webkit-mask-image: radial-gradient(circle, #000 45%, transparent 75%); mask-image: radial-gradient(circle, #000 45%, transparent 75%); }
.section-dots.dots-br { bottom: -40px; right: -40px; width: 480px; height: 480px; -webkit-mask-image: radial-gradient(circle, #000 45%, transparent 75%); mask-image: radial-gradient(circle, #000 45%, transparent 75%); }

@media (max-width: 720px) {
  .section-blob.size-xl { width: 560px; height: 560px; }
  .section-blob.size-lg { width: 460px; height: 460px; }
  .section-blob.size-md { width: 340px; height: 340px; }
}
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--ink); color: var(--text-on-dark); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: var(--text-on-dark-muted); }
.section-dark a:not(.btn) { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,0.4); }
.section-head { max-width: 680px; margin: 0 auto 44px; text-align: center; }
.section-head.left { margin: 0 0 40px; text-align: left; }
.section-head p { color: var(--text-muted); font-size: 1.05rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split.split-media-lg { grid-template-columns: 2.15fr 1fr; gap: 52px; }
.split-media-lg .pill-list { gap: 10px; }
.split-media-lg .pill-list li { gap: 10px; font-size: 0.95rem; }
.split-media-lg .pill-list li::before { flex-basis: 12px; width: 12px; height: 12px; margin-top: 5px; }
@media (max-width: 880px) { .split, .split.reverse .split-media, .split.split-media-lg { grid-template-columns: 1fr; gap: 40px; order: 0; } }

.video-frame {
  position: relative;
  padding: 10px;
  border-radius: var(--radius-lg);
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  z-index: 1;
}
.video-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: var(--radius-lg);
  background: var(--leaf);
  transform: rotate(-4deg) translate(20px, 22px);
}
.video-frame::after {
  content: "";
  position: absolute;
  top: -18px;
  left: -18px;
  z-index: -1;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background-image: radial-gradient(var(--primary) 2.5px, transparent 2.5px);
  background-size: 14px 14px;
  opacity: 0.55;
}
.video-frame-inner {
  position: relative;
  border-radius: calc(var(--radius-lg) - 8px);
  overflow: hidden;
  background: var(--ink);
  aspect-ratio: 16 / 9;
}
.video-frame-inner iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }

.pill-list { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.pill-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.pill-list li::before {
  content: ""; flex: 0 0 22px; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: var(--leaf); background-image: linear-gradient(135deg, var(--leaf), var(--primary));
}

.divider { display: block; width: 100%; height: 70px; }

/* ---------- Cards & grids ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 980px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .card-grid { grid-template-columns: 1fr; } }

.card-grid-2 { grid-template-columns: repeat(2, 1fr); max-width: 820px; margin: 0 auto 40px; }
.card-grid-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 980px) { .card-grid-5 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .card-grid-2 { grid-template-columns: 1fr; } }

.card-grid-6 { grid-template-columns: repeat(6, 1fr); }
.card-grid-6 .card { padding: 20px; gap: 8px; }
.card-grid-6 .card h3 { font-size: 1rem; }
.card-grid-6 .card p { font-size: 0.86rem; }
@media (max-width: 980px) { .card-grid-6 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .card-grid-6 { grid-template-columns: 1fr; } }

.card.card-row { flex-direction: row; align-items: flex-start; gap: 24px; margin-bottom: 18px; }
.card-row .mockup-frame { width: 260px; flex-shrink: 0; }
@media (max-width: 780px) {
  .card.card-row { flex-direction: column; }
  .card-row .mockup-frame { width: 100%; }
}

/* Walkthrough steps — real product screenshots, shown large enough to read */
.walkthrough-card { margin-bottom: 22px; }
.walkthrough-head { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 20px; }
.walkthrough-head p { margin-bottom: 0; }
.screenshot-frame { border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-md); background: var(--bg-alt); }
.screenshot-frame img { display: block; width: 100%; height: auto; }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.card h3 { margin-bottom: 2px; }
.card p { color: var(--text-muted); font-size: 0.96rem; margin-bottom: 0; }
.card-icon {
  width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: #fff; margin-bottom: 4px;
}
.card-meta { font-size: 0.82rem; color: var(--text-muted); display: flex; gap: 10px; align-items: center; }
.card-link { margin-top: auto; font-weight: 700; font-size: 0.9rem; }
.card-link::after { content: "→"; margin-left: 6px; transition: margin .15s ease; }
.card:hover .card-link::after { margin-left: 10px; }

/* Chips / tags */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-display); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.03em; text-transform: uppercase;
  padding: 5px 12px; border-radius: var(--radius-pill);
  color: #fff; background: var(--primary);
}
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .001; }
.tag-wealth { background: var(--tag-wealth); }
.tag-inequality { background: var(--tag-inequality); }
.tag-civic { background: var(--tag-civic); }
.tag-future { background: var(--tag-future); }
.tag-current { background: var(--tag-current); }
.tag-outreach { background: var(--tag-outreach); }
.tag-action { background: var(--tag-action); }
.tag-general { background: var(--text-muted); }

/* ---------- Filter pills (Issues / News) ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter-pill {
  font-family: var(--font-display); font-weight: 700; font-size: 0.85rem;
  padding: 9px 18px; border-radius: var(--radius-pill);
  border: 1.5px solid var(--border); background: var(--card); color: var(--text);
  cursor: pointer; transition: all .15s ease;
}
.filter-pill:hover { border-color: var(--primary); color: var(--primary); }
.filter-pill.active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--text-on-dark-muted); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; margin-bottom: 48px; }
.footer-grid h4 { color: #fff; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 16px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-grid a { color: var(--text-on-dark-muted); }
.footer-grid a:hover { color: #fff; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand img { height: 48px; width: auto; display: block; }
.footer-brand span { font-family: var(--font-display); font-weight: 800; color: #fff; font-size: 1.35rem; line-height: 1; display: flex; align-items: center; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.85rem; }
.footer-bottom a { color: var(--text-on-dark-muted); }
.footer-bottom a:hover { color: #fff; }
.footer-legal a { text-decoration: underline; text-decoration-color: rgba(255,255,255,0.3); }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Page header (interior pages) ---------- */
.page-hero { padding: 56px 0 44px; background: var(--bg-alt); text-align: center; position: relative; overflow: hidden; }
.page-hero > .container { position: relative; z-index: 1; }
.page-hero .eyebrow { margin-bottom: 14px; }
.page-hero p { color: var(--text-muted); max-width: 640px; margin: 0 auto; font-size: 1.08rem; }
.breadcrumb { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 14px; }
.breadcrumb a { color: var(--text-muted); text-decoration: underline; }

/* ---------- Long-form / prose (Resources) ---------- */
.prose { max-width: var(--container-narrow); margin: 0 auto; font-size: 1.06rem; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose blockquote {
  margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--accent);
  font-style: italic; color: var(--text-muted);
}
.prose ul, .prose ol { margin-bottom: 1.2em; }

/* ---------- News article ---------- */
.article-meta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 18px; color: var(--text-muted); font-size: 0.9rem; }
.article-body { max-width: var(--container-narrow); margin: 0 auto; }
.article-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--border); max-width: var(--container-narrow); margin-left: auto; margin-right: auto; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 28px; display: flex; gap: 16px; align-items: flex-start; margin-bottom: 16px; }
.contact-card .card-icon { flex-shrink: 0; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-weight: 700; font-size: 0.88rem; margin-bottom: 6px; }
.form-field input, .form-field textarea {
  width: 100%; padding: 13px 16px; border-radius: var(--radius-sm); border: 1.5px solid var(--border);
  font-family: var(--font-body); font-size: 1rem; background: var(--card); color: var(--text);
}
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--primary); }

/* ---------- Mockup frames (AI Opinionnaire product walkthroughs) ---------- */
.mockup-frame { background: var(--card); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--border); }
.mockup-bar { background: var(--ink); padding: 10px 14px; display: flex; align-items: center; gap: 6px; }
.mockup-bar .dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.mockup-bar .dot-1 { background: var(--accent); }
.mockup-bar .dot-2 { background: var(--tag-wealth); }
.mockup-bar .dot-3 { background: var(--leaf); }
.mockup-url { margin-left: 8px; background: rgba(255,255,255,0.12); color: var(--text-on-dark-muted); font-size: 0.7rem; padding: 4px 10px; border-radius: 6px; font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mockup-body { padding: 20px; background: var(--bg-alt); }
.mockup-step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff;
  font-family: var(--font-display); font-weight: 800; font-size: 0.95rem; flex-shrink: 0;
}
.mockup-panel { background: var(--ink); border-radius: var(--radius-sm); padding: 14px 16px; color: var(--text-on-dark-muted); font-size: 0.85rem; }
.mockup-panel strong { color: #fff; }
.mockup-pill { display: inline-block; font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; padding: 3px 10px; border-radius: var(--radius-pill); background: var(--bg-alt); color: var(--text-muted); margin-bottom: 8px; }
.mockup-row { display: flex; justify-content: space-between; align-items: center; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 10px 14px; font-size: 0.85rem; margin-bottom: 8px; color: var(--text); }
.mockup-row:last-child { margin-bottom: 0; }

/* Note-card mockup — always dark-on-light regardless of the enclosing section's color scheme */
.note-card { background: #fff; color: var(--ink); text-align: left; }
.note-card .mockup-pill { background: var(--accent); color: #fff; }
.note-card blockquote {
  margin: 14px 0 20px; padding: 0; border: none; font-style: italic; font-weight: 700;
  font-size: 1.15rem; color: var(--ink); line-height: 1.4;
}
.note-card .mockup-row { color: var(--text); font-weight: 600; }
.note-card .mockup-row .selected { color: var(--leaf-dark); font-weight: 800; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; max-width: 780px; margin: 0 auto; }
@media (max-width: 640px) { .team-grid { grid-template-columns: 1fr; } }
.team-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 30px; text-align: center; }
.team-card img { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; margin: 0 auto 16px; border: 3px solid var(--bg-alt); }
.team-card h3 { margin-bottom: 2px; }
.team-role { display: block; font-family: var(--font-display); font-weight: 700; font-size: 0.82rem; color: var(--primary); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 14px; }
.team-card p { color: var(--text-muted); font-size: 0.94rem; text-align: left; }

/* ---------- Table of contents (Resources index) ---------- */
.toc-list { display: flex; flex-direction: column; gap: 2px; max-width: var(--container-narrow); margin: 0 auto; }
.toc-item {
  display: flex; align-items: center; gap: 18px; padding: 20px 22px; background: var(--card);
  border: 1px solid var(--border); text-decoration: none; color: var(--text);
}
.toc-item:first-child { border-radius: var(--radius-md) var(--radius-md) 0 0; }
.toc-item:last-child { border-radius: 0 0 var(--radius-md) var(--radius-md); }
.toc-item + .toc-item { border-top: none; }
.toc-item:hover { background: var(--bg-alt); }
.toc-num { font-family: var(--font-display); font-weight: 800; color: var(--primary); font-size: 1rem; flex-shrink: 0; width: 2.4em; }
.toc-item h3 { margin: 0; font-size: 1.02rem; }
.toc-item span.toc-arrow { margin-left: auto; color: var(--text-muted); }
