/* Avantiico D365 F&SC Insights — shared stylesheet
   Palette + type pulled live from avantiico.com; layout rhythm pulled from ru.arsentev.ai */

@import url('https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
  --navy: #2A324B;
  --navy-soft: #4A5068;
  --text-muted: #6B7086;
  --orange: #E93519;
  --orange-light: #F7671F;
  --bg: #FFFFFF;
  --bg-tint: #F5F6FA;
  --border: rgba(42, 50, 75, 0.12);
  --border-strong: rgba(42, 50, 75, 0.2);
  --orange-tint: rgba(233, 53, 25, 0.06);
  --orange-tint-strong: rgba(233, 53, 25, 0.12);
  --radius-card: 16px;
  --radius-sm: 10px;
  --radius-pill: 100px;
  --shadow-card: 0 8px 30px rgba(42, 50, 75, 0.07);
  --shadow-cta: 0 14px 36px -12px rgba(233, 53, 25, 0.45);
  --sans: 'Geist', -apple-system, 'Segoe UI', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--navy);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Utility text ---------- */

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange);
}

.tag .bar { color: var(--orange); }

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  background: var(--orange-tint);
  border: 1px solid var(--orange-tint-strong);
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--orange);
  letter-spacing: 0.02em;
}

.section-head {
  max-width: 640px;
  margin: 0 0 44px;
}

.section-head h2 {
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 10px 0 12px;
  color: var(--navy);
}

.section-head p {
  color: var(--text-muted);
  font-size: 16px;
  margin: 0;
}

section { padding: 88px 0; }

/* ---------- Header ---------- */

header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  max-width: 1180px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img { height: 28px; width: auto; display: block; }

.logo-badge {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--navy-soft);
  background: var(--bg-tint);
  border: 1px solid var(--border);
  padding: 3px 8px;
  border-radius: 6px;
  margin-left: 2px;
  text-decoration: none;
}

.logo-badge:hover { color: var(--orange); border-color: var(--orange); }

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

nav.main-nav a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--navy-soft);
}

nav.main-nav a:hover { color: var(--orange); }

/* ---------- Nav dropdown ---------- */

.nav-item { position: relative; display: flex; align-items: center; }

.nav-caret {
  display: inline-block;
  font-size: 9px;
  margin-left: 3px;
  color: var(--text-muted);
  transition: transform 0.15s ease, color 0.15s ease;
}

.nav-item:hover .nav-caret, .nav-item:focus-within .nav-caret {
  transform: rotate(180deg);
  color: var(--orange);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  width: 300px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 60;
}

.nav-item:hover .nav-dropdown-menu, .nav-item:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
}

.nav-dropdown-menu a:hover { background: var(--bg-tint); }

.nav-dropdown-menu a strong {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 2px;
}

.nav-dropdown-menu a:hover strong { color: var(--orange); }

.nav-dropdown-menu a span {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.4;
}

.nav-dropdown-divider { height: 1px; background: var(--border); margin: 6px 4px; }

.nav-dropdown-all {
  text-align: center;
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--orange) !important;
}

.nav-dropdown-all:hover { background: var(--orange-tint) !important; }

.header-cta { display: flex; align-items: center; gap: 18px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: linear-gradient(90deg, var(--orange-light), var(--orange));
  color: #fff;
  box-shadow: var(--shadow-cta);
}

.btn-secondary {
  background: #fff;
  color: var(--navy);
  border-color: var(--border-strong);
}

.btn-secondary:hover { border-color: var(--orange); color: var(--orange); }

.btn-ghost {
  background: var(--orange-tint);
  color: var(--orange);
  border-color: var(--orange-tint-strong);
}

.btn-sm { padding: 10px 18px; font-size: 12px; }

/* ---------- Hero ---------- */

.hero {
  padding: 96px 0 60px;
  background:
    radial-gradient(700px 320px at 85% -10%, var(--orange-tint), transparent),
    var(--bg);
}

.hero-inner { max-width: 780px; }

.hero .status-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: 54px;
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
  color: var(--navy);
}

.hero h1 .grad {
  background: linear-gradient(90deg, var(--orange-light), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero .lede {
  font-size: 17.5px;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 0 34px;
}

.hero .cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.hero .fine-print {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  margin-bottom: 40px;
}

.hero-sources {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.hero-sources a {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--navy-soft);
  border-bottom: 1px dashed var(--border-strong);
  padding-bottom: 1px;
}

.hero-sources a:hover { color: var(--orange); border-color: var(--orange); }

/* Hero proof band */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 40px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-stat .num {
  font-size: 27px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--navy);
}
.hero-stat .lab {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
@media (max-width: 600px) {
  .hero-stats { gap: 14px 26px; margin-top: 22px; padding-top: 18px; }
  .hero-stat .num { font-size: 22px; }
}

.hero-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--bg-tint);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 18px 24px;
  flex-wrap: wrap;
}

.hero-strip .left { display: flex; align-items: center; gap: 14px; }

.hero-strip .icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--orange-light), var(--orange));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 17px;
  flex-shrink: 0;
}

.hero-strip .copy strong { display: block; font-size: 14.5px; color: var(--navy); }
.hero-strip .copy span { font-size: 13px; color: var(--text-muted); }

/* ---------- Two lenses ---------- */

.lens-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 30px;
  box-shadow: var(--shadow-card);
}

.lens-card .icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--orange-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 18px;
}

.lens-card h3 { font-size: 20px; margin: 0 0 10px; }
.lens-card p { color: var(--text-muted); font-size: 14.5px; margin: 0 0 18px; }

.lens-card ul { list-style: none; padding: 0; margin: 0 0 22px; }

.lens-card li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: var(--navy-soft);
  margin-bottom: 10px;
}

.lens-card li::before {
  content: "✓";
  color: var(--orange);
  font-weight: 700;
  flex-shrink: 0;
}

.lens-card .meta-row {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.pill-tag {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--bg-tint);
  color: var(--navy-soft);
  border: 1px solid var(--border);
}

a.pill-tag:hover { background: var(--border); }

.pill-tag--category {
  background: var(--orange-tint);
  color: var(--orange);
  border-color: rgba(233, 53, 25, 0.22);
}

a.pill-tag--category:hover { background: var(--orange-tint-strong); }

/* ---------- Comparison table ---------- */

.compare-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

table.compare { width: 100%; border-collapse: collapse; }

table.compare th, table.compare td {
  text-align: left;
  padding: 16px 22px;
  font-size: 14.5px;
  border-bottom: 1px solid var(--border);
}

table.compare thead th {
  background: var(--bg-tint);
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--navy-soft);
  font-weight: 600;
}

table.compare tbody th {
  font-family: var(--mono);
  font-size: 11.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  background: var(--bg-tint);
  width: 160px;
}

table.compare td strong { color: var(--navy); }
table.compare tr:last-child td, table.compare tr:last-child th { border-bottom: none; }

/* ---------- Article feed (numbered list) ---------- */

.soon-badge {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-tint);
  border: 1px solid var(--border);
  padding: 3px 8px;
  border-radius: 6px;
}

.feed { border-top: 1px solid var(--border); }

.feed-row {
  position: relative;
  display: grid;
  grid-template-columns: 96px 1fr 22px;
  gap: 24px;
  align-items: start;
  padding: 24px 6px;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s ease;
}

.feed-row:hover { background: var(--bg-tint); }
.feed-row:hover .feed-title { color: var(--orange); }
.feed-row:hover .feed-arrow { color: var(--orange); transform: translateX(3px); }

.feed-row.disabled { opacity: 0.55; }

/* Stretched-link target: covers the row so the whole row is clickable
   while tag pills inside it remain independently clickable (can't nest <a> in <a>). */
.feed-row-link { position: absolute; inset: 0; z-index: 1; }
.feed-tags { position: relative; z-index: 2; }

.feed-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-family: var(--mono);
  padding-top: 2px;
}

.feed-date { font-size: 12px; color: var(--text-muted); font-weight: 500; }
.feed-readtime { font-size: 11px; color: var(--text-muted); }
.feed-num { font-size: 22px; font-weight: 700; color: var(--orange-tint-strong); margin-top: 8px; }

.feed-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 8px;
  line-height: 1.35;
  transition: color 0.15s ease;
}

.feed-excerpt { font-size: 14px; color: var(--text-muted); margin: 0 0 12px; line-height: 1.55; }
.feed-tags { display: flex; flex-wrap: wrap; gap: 8px; }

.feed-arrow {
  font-family: var(--mono);
  font-size: 16px;
  color: var(--text-muted);
  padding-top: 2px;
  transition: color 0.15s ease, transform 0.15s ease;
}

/* ---------- Workflow diagram ---------- */

.workflow-diagram {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.workflow-diagram img {
  display: block;
  width: 100%;
  height: auto;
}

.workflow-cta { margin-top: 28px; }

.mini-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
  background: var(--bg-tint);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 30px 20px;
}

.mini-flow-step {
  text-align: center;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  min-width: 132px;
}

.mini-flow-step--phase2 { background: var(--orange-tint); }

.mini-flow-name {
  font-family: var(--mono);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.005em;
  margin-bottom: 4px;
}

.mini-flow-desc { font-size: 12.5px; color: var(--text-muted); }

.mini-flow-arrow {
  color: var(--border-strong);
  font-size: 20px;
  padding: 0 2px;
}

/* ---------- Tag overview grid ---------- */

.tag-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.tag-card {
  display: block;
  text-align: left;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: #FFFFFF;
  box-shadow: var(--shadow-card);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.tag-card:hover { border-color: var(--orange-tint-strong); transform: translateY(-2px); }

/* A slot in the grid with nothing behind it yet (e.g. a future Labs vertical) --
   same opacity treatment as .feed-row.disabled, just applied to a card. */
.tag-card.disabled { opacity: 0.55; }

.tag-card-name { font-size: 17px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.tag-card-desc { font-size: 13.5px; color: var(--text-muted); margin: 0 0 14px; }
.tag-card-count { font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--orange); }

/* ---------- Audience personas ---------- */

.persona-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.persona-card {
  text-align: center;
  padding: 26px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--bg-tint);
}

.persona-card .emoji { font-size: 26px; margin-bottom: 12px; }
.persona-card h4 { font-size: 15px; margin: 0 0 8px; }
.persona-card p { font-size: 13px; color: var(--text-muted); margin: 0; }

/* ---------- FAQ ---------- */

.faq-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 56px;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.faq-item summary {
  cursor: pointer;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--navy);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--orange);
  font-size: 20px;
  font-weight: 400;
  margin-left: 20px;
}
.faq-item[open] summary::after { content: "–"; }

.faq-item .faq-answer {
  margin-top: 12px;
  font-size: 14.5px;
  color: var(--text-muted);
  max-width: 620px;
}

/* ---------- Author bio ---------- */

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.author-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  padding: 34px;
  border-radius: var(--radius-card);
  background: var(--bg-tint);
  border: 1px solid var(--border);
  height: 100%;
}

.author-avatar {
  width: 84px;
  height: 84px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--orange-light), var(--orange));
  color: #fff;
  font-weight: 700;
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.author-card h3 { font-size: 19px; margin: 0 0 2px; }
.author-card .role { font-family: var(--mono); font-size: 12.5px; color: var(--orange); margin-bottom: 14px; }
.author-card p.bio { color: var(--navy-soft); font-size: 14.5px; margin: 0 0 18px; max-width: 560px; }

.social-row { display: flex; gap: 10px; align-items: center; }
.social-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

/* ---------- Newsletter card ---------- */

.newsletter-card {
  text-align: center;
  padding: 60px 40px;
  border-radius: 20px;
  background: linear-gradient(160deg, #2A324B, #1D2338);
  color: #fff;
}

.newsletter-card .icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--orange-light), var(--orange));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 22px;
}

.newsletter-card h2 { font-size: 26px; margin: 0 0 12px; font-weight: 600; }
.newsletter-card p { color: #B7BCD1; max-width: 460px; margin: 0 auto 28px; font-size: 15px; }

/* ---------- Final CTA banner ---------- */

.final-cta {
  text-align: center;
  padding: 64px 40px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background:
    radial-gradient(500px 220px at 50% 0%, var(--orange-tint), transparent),
    var(--bg-tint);
}

.final-cta h2 { font-size: 30px; margin: 0 0 14px; font-weight: 600; }
.final-cta p { color: var(--text-muted); max-width: 520px; margin: 0 auto 30px; font-size: 15.5px; }
.final-cta .cta-row { justify-content: center; }

/* ---------- Footer ---------- */

footer.site-footer {
  background: #F5F6FA;
  border-top: 1px solid var(--border);
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-grid .logo { margin-bottom: 14px; }
.footer-grid .about-copy { font-size: 13.5px; color: var(--text-muted); max-width: 260px; margin-bottom: 18px; }

.footer-col h5 {
  font-family: var(--mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--orange);
  margin: 0 0 16px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--navy-soft);
  margin-bottom: 12px;
}

.footer-col a:hover { color: var(--orange); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom .links { display: flex; gap: 22px; }

/* ---------- Article page ---------- */

.article-hero {
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--border);
}

.breadcrumb {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--orange); }

.article-hero h1 {
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0 0 18px;
  max-width: 760px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--text-muted);
}

.article-meta .avatar-sm {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--orange-light), var(--orange));
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 32px 20px;
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--navy-soft);
}

.article-body h2 {
  font-size: 25px;
  color: var(--navy);
  font-weight: 600;
  margin: 46px 0 16px;
  letter-spacing: -0.01em;
}

.article-body h3 {
  font-size: 19px;
  color: var(--navy);
  font-weight: 600;
  margin: 32px 0 12px;
}

.article-body p { margin: 0 0 20px; }
.article-body ul, .article-body ol { margin: 0 0 20px; padding-left: 22px; }
.article-body li { margin-bottom: 10px; }

.article-body p a, .article-body li a {
  color: var(--orange);
  text-decoration: underline;
  text-decoration-color: var(--orange-tint-strong);
  text-underline-offset: 2px;
}

.article-body p a:hover, .article-body li a:hover { text-decoration-color: var(--orange); }

.article-body figure { margin: 28px 0; }

.article-body figure img {
  width: 100%;
  display: block;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.article-body figcaption {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 10px;
  text-align: center;
}

.article-body pre {
  background: #1B2036;
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  margin: 20px 0;
  overflow-x: auto;
}

.article-body pre code {
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.6;
  color: #C6CCDD;
  white-space: pre;
}

.article-body .video-embed {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.article-body .video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.article-body .callout {
  background: var(--orange-tint);
  border: 1px solid var(--orange-tint-strong);
  border-left: 3px solid var(--orange);
  border-radius: 10px;
  padding: 18px 22px;
  margin: 28px 0;
  font-size: 15px;
  color: var(--navy);
}

.article-body .callout strong { color: var(--orange); }

.article-body .callout-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

/* Info / TL;DR — the one-line summary of a section, dropped right after the explanation it condenses. */
.article-body .callout--info {
  background: var(--bg-tint);
  border-color: var(--border-strong);
  border-left-color: var(--navy-soft);
}
.article-body .callout--info .callout-label { color: var(--navy-soft); }

/* Caution / honest take — the caveat, limitation, or "this isn't for you if..." */
.article-body .callout--caution {
  background: var(--orange-tint);
  border-color: var(--orange-tint-strong);
  border-left-color: var(--orange-light);
}
.article-body .callout--caution .callout-label { color: var(--orange-light); }

/* Verdict / bottom line — the single takeaway, used once, near the end. */
.article-body .callout--verdict {
  background: var(--orange-tint-strong);
  border-color: rgba(233, 53, 25, 0.28);
  border-left-color: var(--orange);
  font-weight: 500;
}
.article-body .callout--verdict .callout-label { color: var(--orange); }

/* ---------- Link spotlight (featured inline link/resource) ---------- */

.article-body .link-spotlight {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--bg-tint);
  padding: 20px 24px;
  margin: 28px 0;
}

.link-spotlight-label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--navy-soft);
  margin-bottom: 6px;
}

.link-spotlight-title { font-size: 15.5px; font-weight: 600; color: var(--navy); margin-bottom: 3px; }
.link-spotlight-meta { font-family: var(--mono); font-size: 12px; color: var(--text-muted); }

.link-spotlight-cta {
  flex-shrink: 0;
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--orange);
  border: 1px solid var(--orange-tint-strong);
  background: #FFFFFF;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.link-spotlight-cta:hover { background: var(--orange-tint); }

.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14.5px;
}

.article-body table th, .article-body table td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}

.article-body table th {
  background: var(--bg-tint);
  font-family: var(--mono);
  font-size: 11.5px;
  text-transform: uppercase;
  color: var(--navy-soft);
}

.article-cta {
  max-width: 720px;
  margin: 40px auto 0;
  padding: 0 32px;
}

/* ---------- Sources / citations ---------- */

.sources-block {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--bg-tint);
  padding: 26px 30px;
}

.sources-block h4 {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--navy-soft);
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sources-block h4 .dot { color: var(--orange); }

.source-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
}

.source-item:first-of-type { border-top: none; padding-top: 0; }

.source-num {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--orange);
  flex-shrink: 0;
  padding-top: 2px;
}

.source-item .source-title {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 3px;
}

.source-item .source-meta {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.source-item .source-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.source-item a.source-link {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--orange);
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  color: #1B8A5A;
  background: rgba(27, 138, 90, 0.08);
  border: 1px solid rgba(27, 138, 90, 0.2);
  padding: 4px 10px;
  border-radius: 6px;
}

/* ---------- Scheduler modal ---------- */

.scheduler-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.scheduler-modal.is-open { display: flex; }

.scheduler-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 24, 40, 0.55);
  backdrop-filter: blur(2px);
}

.scheduler-modal-panel {
  position: relative;
  background: #FFFFFF;
  border-radius: var(--radius-card);
  box-shadow: 0 30px 80px rgba(20, 24, 40, 0.35);
  width: 100%;
  max-width: 640px;
  max-height: 88vh;
  overflow-y: auto;
  padding: 36px 36px 30px;
}

.scheduler-modal-panel--embed {
  max-width: 820px;
  padding: 24px;
}

.scheduler-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-tint);
  color: var(--navy-soft);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  z-index: 1;
}

.scheduler-modal-close:hover { background: var(--orange-tint); color: var(--orange); }

.scheduler-modal-embed-title {
  margin: 0 0 12px;
  padding-right: 30px;
  font-size: 18px;
  color: var(--navy);
}

.meetings-iframe-container {
  min-height: 560px;
}

body.scheduler-modal-open { overflow: hidden; }

/* ---------- Cookie consent ---------- */

.consent-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: -200px;
  z-index: 300;
  max-width: 720px;
  margin: 0 auto;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: 0 20px 60px rgba(20, 24, 40, 0.25);
  padding: 20px 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  transition: bottom 0.3s ease;
}

.consent-banner--visible { bottom: 20px; }

.consent-banner-text {
  flex: 1 1 380px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0;
}

.consent-banner-actions {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}

.consent-settings-link {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 190;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 12px;
  text-decoration: underline;
  cursor: pointer;
  padding: 4px 6px;
  opacity: 0.6;
}

.consent-settings-link:hover { opacity: 1; color: var(--navy); }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  nav.main-nav { display: none; }
  .hero h1 { font-size: 38px; }
  .lens-grid, .footer-grid { grid-template-columns: 1fr; }
  .persona-grid { grid-template-columns: repeat(2, 1fr); }
  .tag-grid { grid-template-columns: 1fr; }
  .feed-row { grid-template-columns: 1fr 22px; }
  .feed-num { display: none; }
  .faq-layout { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
  .wrap { padding: 0 20px; }
  table.compare { font-size: 13px; }
  .team-grid { grid-template-columns: 1fr; }
  .author-card { flex-direction: column; }
  .scheduler-modal-panel { padding: 28px 22px 24px; }
  .scheduler-modal-panel--embed { padding: 18px; }
  .meetings-iframe-container { min-height: 640px; }
  .consent-banner { left: 12px; right: 12px; padding: 16px 18px; }
  .consent-banner-actions { width: 100%; justify-content: flex-end; }
}
