/* Market Conway — clean SaaS-inspired system (Plus Jakarta Sans). Inspired by modern product marketing sites. */
:root {
  --ink: #0f172a;
  --ink-muted: #64748b;
  --paper: #f8fafc;
  --paper-2: #f1f5f9;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --line: #e2e8f0;
  --accent: #4f46e5;
  --accent-hover: #4338ca;
  --accent-2: #6366f1;
  --accent-soft: #a5b4fc;
  --warm: #7c3aed;
  --soft: #64748b;
  --header-bg: rgba(255, 255, 255, 0.88);
  --header-fg: #0f172a;
  --header-border: rgba(15, 23, 42, 0.06);
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-head: "Plus Jakarta Sans", system-ui, sans-serif;
  --r-pill: 999px;
  --r-card: 1rem 1.25rem 1rem 1.25rem;
  --r-card-sm: 0.75rem 1rem;
  --shadow-soft: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-lift: 0 24px 64px -12px rgba(15, 23, 42, 0.12);
  --shadow-card: 0 0 0 1px rgba(15, 23, 42, 0.05), 0 2px 8px rgba(15, 23, 42, 0.04);
  --section-y: clamp(2.25rem, 4.2vw, 3.25rem);
  --site-max: 1200px;
  --site-gutter: 1.5rem;
  --hero-gradient: linear-gradient(180deg, #f5f3ff 0%, #eef2ff 35%, #f8fafc 100%);
  --hero-mesh: radial-gradient(ellipse 80% 60% at 90% 0%, rgba(99, 102, 241, 0.2), transparent 55%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(139, 92, 246, 0.12), transparent 50%);
  --hero-ring: rgba(99, 102, 241, 0.2);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  background-image:
    linear-gradient(180deg, #fafbfc 0%, #f8fafc 40%, #f1f5f9 100%);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--accent-hover);
}

/* Underlines only in running text — not on card titles, nav, or UI chrome */
.prose a,
.page-legal p:not(.breadcrumb) a,
.faq-block .faq-item__body a,
.faq-block p a,
.article-body a,
.author-info a,
ul.prose a {
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

.prose a:hover,
.page-legal p:not(.breadcrumb) a:hover,
.faq-block .faq-item__body a:hover,
.faq-block p a:hover,
.article-body a:hover,
.author-info a:hover,
ul.prose a:hover {
  text-decoration-thickness: 2px;
}

.article-body a.article-read-next__card,
.article-body a.article-read-next__card:hover,
.article-body .article-share .share-row a,
.article-body .article-share .share-row a:hover {
  text-decoration: none;
  text-decoration-thickness: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--ink);
}

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--header-border);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
}

.header-inner {
  max-width: var(--site-max);
  margin: 0 auto;
  padding: 0.85rem var(--site-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--header-fg);
}

.logo__img {
  display: block;
  width: auto;
  object-fit: contain;
  object-position: left center;
}

/* Header logo: 100px box (replaces prior ~50–53px) */
.site-header .logo__img {
  height: 100px;
  width: auto;
  max-width: 100px;
}

.nav-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.2rem 0.35rem;
  font-size: 0.84rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0.01em;
}

.nav-main a {
  text-decoration: none;
  color: var(--ink-muted);
  padding: 0.5rem 0.7rem;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-main a:hover {
  color: var(--ink);
  background: rgba(99, 102, 241, 0.08);
  border-color: transparent;
}

.nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  border: 1px solid var(--accent) !important;
  padding: 0.55rem 1.35rem !important;
  border-radius: var(--r-pill) !important;
  box-shadow: 0 2px 8px -2px rgba(79, 70, 229, 0.45);
}

.nav-cta:hover {
  background: var(--accent-hover) !important;
  border-color: var(--accent-hover) !important;
  color: #fff !important;
  transform: translateY(-1px);
}

.ad-leaderboard {
  max-width: var(--site-max);
  margin: 0 auto;
  padding: 0.6rem var(--site-gutter);
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.65);
  border-bottom: 1px solid var(--line);
}

.wrap {
  max-width: var(--site-max);
  margin: 0 auto;
  padding: var(--section-y) var(--site-gutter);
}

/* Equal spacing between all top-level main blocks (all page templates) */
main.wrap {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--section-y);
}

main.wrap > * {
  margin-top: 0;
  margin-bottom: 0;
}

main.wrap > ul,
main.wrap > ol {
  padding-left: 1.35rem;
  max-width: 68ch;
}

/* ——— Home hero: split layout, soft panel, image frame ——— */
main.wrap.page-home {
  padding-top: 0;
}

.page-home .hero-block {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  box-sizing: border-box;
  background: var(--hero-gradient);
  background-image: var(--hero-mesh), var(--hero-gradient);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: clamp(2.75rem, 6vw, 4.5rem) 0 clamp(3.25rem, 7vw, 5rem);
}

.page-home .hero-block::after {
  content: "";
  position: absolute;
  right: -8%;
  top: 10%;
  width: 42%;
  max-width: 420px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--site-max);
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
  padding: 0 var(--site-gutter);
  display: grid;
  gap: clamp(1.75rem, 4vw, 2.75rem);
  align-items: center;
}

@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(2rem, 4vw, 3.5rem);
  }
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  min-width: 0;
}

.section-label {
  display: inline-block;
  width: fit-content;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin: 0;
  font-family: var(--font-body);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(99, 102, 241, 0.2);
  padding: 0.4rem 0.85rem;
  border-radius: var(--r-pill);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.95) inset;
}

.page-home h1 {
  font-size: clamp(2.2rem, 1.1rem + 3.2vw, 3.5rem);
  max-width: 20ch;
  margin: 0;
  font-weight: 800;
  line-height: 1.05;
  color: var(--ink);
  text-wrap: balance;
  letter-spacing: -0.04em;
}

.hero-kicker {
  font-size: clamp(1.02rem, 1.1vw + 0.75rem, 1.2rem);
  color: var(--ink-muted);
  max-width: 40ch;
  margin: 0;
  font-weight: 500;
  line-height: 1.55;
}

.deck .prose {
  color: var(--ink-muted);
  font-size: 0.95rem;
  max-width: 50ch;
  margin: 0;
  line-height: 1.6;
}

.hero-stats {
  list-style: none;
  margin: 0.15rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 0.75rem;
  max-width: 52rem;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  padding: 0.8rem 1.1rem;
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  flex: 1 1 160px;
  min-width: min(100%, 160px);
}

.hero-stat__value {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.hero-stat__label {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--ink-muted);
  line-height: 1.4;
  max-width: 14rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.75rem;
  margin-top: 0.25rem;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.7rem 1.4rem;
  border-radius: var(--r-pill);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  border: 0;
  cursor: pointer;
}

.hero-btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 20px -4px rgba(79, 70, 229, 0.55);
}

.hero-btn--primary:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px -6px rgba(79, 70, 229, 0.5);
}

.hero-btn--secondary {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line) !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 2px 6px rgba(15, 23, 42, 0.06);
}

.hero-btn--secondary:hover {
  border-color: rgba(99, 102, 241, 0.4) !important;
  color: var(--accent);
  transform: translateY(-1px);
}

.hero-btn--text {
  background: transparent;
  color: var(--accent);
  font-weight: 600;
  padding: 0.5rem 0.5rem;
  text-decoration: none;
  border-radius: var(--r-pill);
  box-shadow: none;
}

.hero-btn--text:hover {
  color: var(--accent-hover);
  background: rgba(99, 102, 241, 0.08);
  transform: none;
}

.hero-media {
  min-width: 0;
}

.hero-image-frame {
  position: relative;
  border-radius: 24px;
  padding: 0.4rem;
  background: #fff;
  box-shadow: var(--shadow-lift), 0 0 0 1px var(--hero-ring);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  isolation: isolate;
}

.hero-image-badges {
  position: absolute;
  top: 1.1rem;
  left: 1.1rem;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.hero-image-badges span {
  font-size: 0.6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  background: rgba(15, 23, 42, 0.88);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  padding: 0.32rem 0.6rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.page-home .hero-image,
.hero-image-frame .hero-image {
  position: absolute;
  left: 0.4rem;
  right: 0.4rem;
  top: 0.4rem;
  bottom: 0.4rem;
  width: auto;
  height: auto;
  max-width: none;
  border-radius: 16px;
  object-fit: cover;
  object-position: center 38%;
  display: block;
  box-shadow: 0 12px 32px -16px rgba(20, 32, 50, 0.35);
  margin: 0;
  filter: saturate(1.06) contrast(1.03);
}

/* Article lead photos (not the homepage hero) */
.page-standard .hero-image {
  max-height: min(46vh, 420px);
  width: 100%;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 20px 44px -24px rgba(20, 32, 50, 0.3);
}

/* ——— Homepage: full-bleed dark bands ——— */
.page-home .section-dark {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  box-sizing: border-box;
  padding: clamp(2.5rem, 5.5vw, 3.75rem) 0;
  background: linear-gradient(168deg, #0f172a 0%, #1e1b4b 42%, #0f172a 100%);
  border-top: 1px solid rgba(99, 102, 241, 0.2);
  border-bottom: 1px solid rgba(30, 27, 75, 0.6);
  overflow: hidden;
}

.page-home .section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 55% at 95% 5%, rgba(99, 102, 241, 0.28), transparent 58%),
    radial-gradient(ellipse 55% 45% at 0% 100%, rgba(139, 92, 246, 0.12), transparent 55%);
  pointer-events: none;
  z-index: 0;
}

.page-home .section-dark__inner {
  position: relative;
  z-index: 1;
  max-width: var(--site-max);
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
  padding: 0 var(--site-gutter);
}

.page-home .section-dark__eyebrow {
  display: inline-block;
  margin: 0 0 0.5rem;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #a5b4fc;
  font-family: var(--font-body);
}

.page-home .section-dark h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  color: #f8fafc;
  max-width: min(48ch, 100%);
  text-wrap: balance;
}

.page-home .section-dark__lede {
  margin: 0 0 1.75rem;
  max-width: 58ch;
  color: rgba(203, 213, 225, 0.9);
  font-size: 0.98rem;
  line-height: 1.6;
  font-weight: 500;
}

.page-home .section-dark__features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 700px) {
  .page-home .section-dark__features {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
  }
}

.page-home .section-dark__feature {
  margin: 0;
  padding: 1.2rem 1.25rem;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(129, 140, 248, 0.2);
  box-shadow: 0 12px 40px -20px rgba(0, 0, 0, 0.45);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.page-home .section-dark__feature h3 {
  margin: 0 0 0.4rem;
  font-size: 0.98rem;
  font-weight: 800;
  color: #f1f5f9;
  letter-spacing: -0.02em;
}

.page-home .section-dark__feature p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.55;
  color: rgba(148, 163, 184, 0.95);
  font-weight: 500;
}

/* ——— Pillars: magazine rules, not left border pills ——— */
.pillar {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  margin: 0;
  padding: 0.25rem 0 0;
  border-top: none;
  position: relative;
}

.pillar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent 60%, var(--line));
  opacity: 0.5;
}

.pillar__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 1.1rem;
  padding: 0 0 0.5rem 0;
  border-bottom: 2px solid rgba(20, 32, 50, 0.12);
  border-left: 0;
}

.pillar__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem 0.6rem;
}

.pillar .card-grid + .rss-block--section,
.pillar .card-grid + .rss-block,
.pillar .pillar__head + .rss-block {
  margin-top: var(--section-y);
}

.pillar h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.2vw, 1.6rem);
  color: var(--ink);
  padding-bottom: 0.15rem;
  display: inline-block;
  position: relative;
}

.pillar h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.4rem;
  width: 3rem;
  height: 3px;
  background: var(--pillar-accent, var(--accent));
  border-radius: 2px;
  opacity: 0.9;
}

.see-all {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: none;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--accent);
  border-bottom: 0;
  padding: 0.45rem 0.9rem;
  border-radius: var(--r-pill);
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.15);
  transition: background 0.2s ease, color 0.2s ease;
}

.see-all:hover {
  color: var(--accent-hover);
  background: rgba(99, 102, 241, 0.12);
  border-color: rgba(99, 102, 241, 0.25);
}

/* ——— Cards: offset radius, no gray hairline ——— */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.35rem;
  margin: 0;
}

.article-card {
  background: var(--surface);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.article-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 48px -16px rgba(15, 23, 42, 0.12);
  border-color: rgba(99, 102, 241, 0.25);
}

.article-card img {
  width: 100%;
  aspect-ratio: 8/5;
  object-fit: cover;
  border-bottom: 3px solid var(--line);
}

.article-card .body {
  padding: 1.1rem 1.2rem 1.2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.5rem;
}

.article-card > a {
  text-decoration: none;
  color: inherit;
}

.article-card h3 {
  margin: 0;
  font-size: 1.04rem;
  font-weight: 600;
  font-family: var(--font-head);
}

/* Title links wrap the heading: <a><h3>…</h3></a> */
.article-card .body > a:not(.btn-read) {
  text-decoration: none;
  color: var(--ink);
  display: block;
}

.article-card .body > a:not(.btn-read):hover {
  color: var(--accent);
}

.article-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--soft);
  flex: 1;
  line-height: 1.5;
}

.btn-read {
  display: inline-block;
  margin-top: 0.4rem;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: #fff;
  background: var(--accent);
  padding: 0.5rem 1rem;
  border-radius: var(--r-pill);
  align-self: flex-start;
  border: 0;
  box-shadow: 0 2px 8px -2px rgba(79, 70, 229, 0.4);
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-read:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-1px);
}

/* ——— RSS: dark panel ——— */
.rss-block {
  background: #0f172a;
  color: #e2e8f0;
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.25rem 1.4rem 1.35rem;
  margin: 0;
  box-shadow: 0 24px 50px -20px rgba(15, 23, 42, 0.4);
  position: relative;
}

.rss-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #818cf8 0%, #4f46e5 100%);
  border-radius: 4px 0 0 4px;
}

.rss-block--hero {
  margin: 0;
  background: linear-gradient(165deg, #1e1b4b 0%, #0f172a 50%, #020617 100%);
  color: #e2e8f0;
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: 1.5rem;
  overflow: hidden;
}

.rss-block--section {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 0 0 1px var(--line);
  margin: 0;
}

.rss-block--section::before {
  background: var(--accent);
  opacity: 0.9;
}

.rss-block--section .rss-block__eyebrow,
.rss-block--section .rss-block__link {
  color: var(--ink);
}

.rss-block--section .rss-feed__link {
  color: var(--ink);
}

.rss-block--section .rss-block__lede,
.rss-block--section .rss-block__title {
  color: var(--ink);
}

.rss-block__eyebrow {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  font-family: var(--font-body);
}

.rss-block--section .rss-block__eyebrow {
  color: var(--soft);
}

.rss-block__title {
  margin: 0.2rem 0 0.2rem;
  font-weight: 600;
  font-size: 1.08rem;
  font-family: var(--font-head);
  color: #fff;
}

.rss-block--section .rss-block__title {
  color: var(--ink);
  font-size: 1.02rem;
}

.rss-block--hero .rss-block__lede {
  color: rgba(232, 228, 220, 0.85);
}

.rss-block__lede {
  margin: 0 0 0.85rem;
  font-size: 0.92rem;
  line-height: 1.5;
  max-width: 68ch;
  color: rgba(232, 228, 220, 0.82);
}

.rss-block--section .rss-block__lede {
  color: var(--soft);
}

.rss-feed__item {
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.rss-block--section .rss-feed__item {
  border-bottom-color: var(--line);
}

.rss-feed__item:last-child {
  border-bottom: none;
}

.rss-feed__link {
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  font-size: 0.93rem;
}

.rss-block--section .rss-feed__link:hover {
  color: var(--accent);
}

.rss-feed__link:hover {
  color: #c4b5fd;
}

.rss-feed__meta {
  font-size: 0.78rem;
  color: rgba(232, 228, 220, 0.5);
  margin-top: 0.25rem;
  font-weight: 500;
}

.rss-block--section .rss-feed__meta {
  color: var(--soft);
}

.rss-feed__footer {
  margin-top: 0.9rem;
  font-size: 0.84rem;
}

.rss-feed__footer-label {
  margin-right: 0.4em;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
}

.rss-block--section .rss-feed__footer-label {
  color: var(--soft);
}

.rss-feed__ext {
  color: #a5b4fc;
  font-weight: 600;
  text-decoration: none;
}

.rss-block--section .rss-feed__ext {
  color: var(--accent);
}

.rss-block--section .rss-feed__ext:hover {
  color: var(--accent-hover);
}

.rss-feed__ext:hover {
  color: #fff;
}

.rss-feed__fallback {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
}

.rss-block--section .rss-feed__fallback {
  color: var(--soft);
}

.rss-block__feed--loading {
  min-height: 3rem;
  color: rgba(255, 255, 255, 0.5);
  padding-left: 0.5rem;
}

.rss-feed__spinner {
  width: 28px;
  height: 28px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: mcspin 0.7s linear infinite;
  margin-top: 0.5rem;
}

.rss-block--section .rss-feed__spinner {
  border: 3px solid var(--line);
  border-top-color: var(--accent);
}

@keyframes mcspin {
  to {
    transform: rotate(360deg);
  }
}

/* ——— FAQ (home + article accordion) ——— */
.faq-block {
  margin: 0;
  padding: 2rem 1.5rem 2.25rem;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 50%, #f1f5f9 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  border-radius: 1.25rem;
  position: relative;
}

.faq-block__head {
  max-width: 40rem;
  margin-bottom: 0.25rem;
}

.faq-block__eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--soft);
  margin: 0 0 0.4rem;
}

.faq-block h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 2.2vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.15;
}

.faq-block__lede {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  max-width: 36ch;
}

.faq-block__list,
.article-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 1.5rem 0 0;
  max-width: 44rem;
}

.faq-block__list[role="list"] {
  list-style: none;
  padding: 0;
}

.faq-block .faq-item,
.article-body .faq-item {
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}

.faq-block .faq-item[open],
.article-body .faq-item[open] {
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: 0 8px 32px -12px rgba(79, 70, 229, 0.22);
}

.faq-block .faq-item summary,
.article-body .faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 2.9rem 1rem 1.2rem;
  font-family: var(--font-head);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: var(--ink);
  position: relative;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.faq-block .faq-item summary::-webkit-details-marker,
.article-body .faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-block .faq-item summary::after,
.article-body .faq-item summary::after {
  content: "";
  position: absolute;
  right: 1.1rem;
  top: 50%;
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: translateY(-55%) rotate(45deg);
  transition: transform 0.2s ease;
  opacity: 0.9;
}

.faq-block .faq-item[open] summary::after,
.article-body .faq-item[open] summary::after {
  transform: translateY(-20%) rotate(225deg);
}

.faq-block .faq-item summary:focus-visible,
.article-body .faq-item summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 6px;
}

.faq-block .faq-item__body,
.article-body .faq-item__body {
  padding: 0 1.2rem 1.1rem 1.2rem;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.5) 0%, var(--surface) 0.5rem);
}

.faq-block .faq-item[open] .faq-item__body,
.article-body .faq-item[open] .faq-item__body {
  background: #fafbff;
}

.faq-block .faq-item__body p,
.article-body .faq-item__body p {
  margin: 0.75rem 0 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.faq-article-lede {
  color: var(--ink-muted);
  font-size: 0.95rem;
  margin: 0.4rem 0 0.2rem;
  max-width: 64ch;
}

@media (min-width: 900px) {
  .faq-block {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.1fr);
    column-gap: 2rem;
    row-gap: 0;
    align-items: start;
  }

  .faq-block__head {
    max-width: none;
    position: sticky;
    top: 5.5rem;
  }

  .faq-block__list {
    margin-top: 0;
    max-width: none;
  }
}

/* ——— Footer ——— */
.site-footer {
  position: relative;
  background: radial-gradient(120% 80% at 100% 0%, rgba(99, 102, 241, 0.14), transparent 45%),
    linear-gradient(180deg, #0b1222 0%, #020617 100%);
  color: rgba(226, 232, 240, 0.9);
  border-top: 1px solid rgba(99, 102, 241, 0.18);
  margin-top: 0;
  padding: clamp(2.5rem, 5vw, 3.5rem) 1.5rem 1.75rem;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.45) 20%, rgba(99, 102, 241, 0.45) 80%, transparent);
  pointer-events: none;
}

.site-footer .logo {
  color: #f8fafc;
}

/* Footer logo: 100px box (match header) */
.site-footer .logo__img {
  height: 100px;
  width: auto;
  max-width: 100px;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem 1.5rem;
}

@media (min-width: 600px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: minmax(12rem, 1.45fr) repeat(3, minmax(0, 1fr));
    gap: 2rem 2.25rem;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  max-width: 26rem;
}

@media (min-width: 600px) and (max-width: 1023px) {
  .footer-brand {
    grid-column: 1 / -1;
  }
}

.footer-tagline,
.footer-note {
  margin: 0;
  color: rgba(203, 213, 225, 0.72);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 38ch;
}

.footer-tagline a,
.footer-note a {
  color: #a5b4fc;
  text-decoration: none;
  font-weight: 600;
}

.footer-tagline a:hover,
.footer-note a:hover {
  color: #e0e7ff;
}

.footer-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.1rem;
  padding: 0.45rem 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  color: #e0e7ff;
  background: rgba(99, 102, 241, 0.18);
  border: 1px solid rgba(129, 140, 248, 0.4);
  border-radius: 999px;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.footer-pill:hover {
  background: rgba(99, 102, 241, 0.3);
  border-color: rgba(196, 181, 253, 0.55);
  color: #fff;
}

.footer-col {
  min-width: 0;
}

.footer-label {
  margin: 0 0 0.7rem;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(148, 163, 184, 0.9);
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-list a {
  color: rgba(226, 232, 240, 0.8);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.4;
  transition: color 0.15s ease, transform 0.15s ease;
}

.footer-list a:hover {
  color: #c4b5fd;
}

.site-footer a.logo {
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 2.5rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  align-items: flex-start;
}

@media (min-width: 600px) {
  .footer-bottom {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }
}

.footer-copy {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(148, 163, 184, 0.55);
  letter-spacing: 0.01em;
}

/* ——— Blog + article ——— */
.layout-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--section-y);
}

@media (min-width: 960px) {
  .layout-split--article,
  .layout-split--blog {
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: start;
  }
}

.layout-split > :first-child {
  display: flex;
  flex-direction: column;
  gap: var(--section-y);
  min-width: 0;
}

.layout-split .card-grid {
  margin: 0;
}

@media (min-width: 768px) {
  .sidebar--sticky {
    position: sticky;
    top: 92px;
  }
}

.sidebar {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.25rem;
  min-width: 0;
}

.sidebar > div:not(.sidebar-nav) {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
}

.sidebar > div:not(.sidebar-nav) > ins,
.sidebar .ad-sky ins {
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  align-items: center;
}

.filter-pills a {
  display: inline-block;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 4px 14px 4px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.5rem 0.95rem;
  text-decoration: none;
}

.filter-pills a:hover,
.filter-pills a[aria-current="true"] {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  width: 100%;
  margin: 0;
  padding: 1rem 0.85rem 0.9rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
}

.sidebar-nav strong {
  display: block;
  position: relative;
  font-size: 0.8rem;
  font-family: var(--font-head);
  text-transform: none;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 0.5rem;
  padding: 0.15rem 0 0.9rem;
  font-weight: 800;
  text-align: center;
  border: 0;
}

.sidebar-nav strong::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2.75rem;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%);
}

.sidebar-nav a {
  display: block;
  border-bottom: 0;
  border-radius: 10px;
  padding: 0.48rem 0.6rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.86rem;
  line-height: 1.35;
  transition: background 0.15s ease, color 0.15s ease;
}

.sidebar-nav a:hover {
  color: var(--accent);
  background: rgba(99, 102, 241, 0.08);
}

.breadcrumb {
  font-size: 0.88rem;
  color: var(--soft);
  margin: 0;
  font-weight: 600;
  line-height: 1.4;
}

.breadcrumb a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
}

.breadcrumb a:hover {
  color: var(--accent-hover);
}

.page-article .article-hero {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: 0.25rem;
  max-width: 46rem;
}

/* Feature article: full-bleed title band + optional split hero image */
main.page-article--feature {
  max-width: none;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
}

main.page-article--feature .article-hero-band {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  max-width: 100vw;
  box-sizing: border-box;
  background: linear-gradient(165deg, #f5f3ff 0%, #eef2ff 40%, #f1f5f9 100%);
  background-image:
    var(--hero-mesh),
    linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, transparent 55%);
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.65) inset;
  padding: clamp(1.75rem, 4vw, 2.75rem) 0 clamp(1.5rem, 3.5vw, 2.25rem);
}

main.page-article--feature .article-hero-band__content {
  max-width: var(--site-max);
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
  padding: 0 var(--site-gutter);
}

main.page-article--feature .article-hero--split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
  max-width: none;
}

@media (min-width: 900px) {
  main.page-article--feature .article-hero--split {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(1.5rem, 2.5vw, 2.5rem);
    align-items: stretch;
  }
}

main.page-article--feature .article-hero--split .article-hero__text {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 0;
}

main.page-article--feature .article-hero__kicker {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin: 0;
  font-family: var(--font-head);
}

main.page-article--feature .article-hero__dek {
  font-size: clamp(1.05rem, 1.1vw + 0.85rem, 1.25rem);
  line-height: 1.5;
  font-weight: 500;
  color: var(--ink);
  margin: 0.15rem 0 0.35rem;
  max-width: 50ch;
  letter-spacing: -0.01em;
}

main.page-article--feature .article-hero--split .article-title {
  font-size: clamp(1.9rem, 1.2vw + 1.3rem, 2.75rem);
  line-height: 1.05;
  letter-spacing: -0.042em;
  max-width: 20ch;
}

@media (min-width: 900px) {
  main.page-article--feature .article-hero--split .article-title {
    max-width: none;
  }
}

main.page-article--feature .article-hero--split .featured-snippet {
  max-width: none;
  font-size: 0.95rem;
  line-height: 1.6;
  padding: 1rem 1.15rem;
  margin: 0;
  border-left-width: 3px;
}

main.page-article--feature .article-hero-figure {
  position: relative;
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(99, 102, 241, 0.2);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.7) inset,
    0 20px 50px -20px rgba(15, 23, 42, 0.25);
  background: var(--paper-2);
  min-height: 0;
  display: flex;
  flex-direction: column;
}

/* Desktop: image column matches the height of the title + subtext block */
@media (min-width: 900px) {
  main.page-article--feature .article-hero-figure {
    align-self: stretch;
    height: 100%;
  }

  main.page-article--feature .article-hero-figure img {
    width: 100%;
    min-height: 0;
    flex: 1 1 auto;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
  }
}

/* Mobile: sensible height without a short strip */
@media (max-width: 899px) {
  main.page-article--feature .article-hero-figure {
    min-height: 14rem;
    max-height: min(50vh, 400px);
  }

  main.page-article--feature .article-hero-figure img {
    width: 100%;
    height: 100%;
    min-height: 14rem;
    max-height: min(50vh, 400px);
    object-fit: cover;
    object-position: center;
    display: block;
  }
}

main.page-article--feature .article-hero-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0) 50%, rgba(15, 23, 42, 0.06) 100%);
}

main.page-article--feature > *:not(.article-hero-band) {
  max-width: var(--site-max);
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--site-gutter);
  padding-right: var(--site-gutter);
  box-sizing: border-box;
}

main.page-article--feature > .layout-split {
  padding-top: 0.25rem;
}

.page-article .article-hero .article-title {
  margin: 0;
  font-size: clamp(1.75rem, 2.2vw + 0.5rem, 2.4rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.page-article .article-hero .breadcrumb,
.page-article .article-hero .article-meta {
  margin: 0;
}

.page-article .article-hero .featured-snippet {
  margin: 0;
}

/* Numbered "top 10" explainer in article body */
.article-top-ten {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.35rem 1.4rem 1.45rem;
  margin: 0 0 1.5rem;
  box-shadow: 0 8px 32px -16px rgba(15, 23, 42, 0.1);
}

.article-top-ten h2 {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 0.5rem;
  line-height: 1.2;
  color: var(--ink);
}

.article-top-ten__intro {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink-muted);
  margin: 0 0 1rem;
  font-weight: 500;
}

.article-top-ten ol {
  margin: 0;
  padding: 0 0 0 0.25rem;
  list-style: none;
  counter-reset: top-ten;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.article-top-ten ol > li {
  counter-increment: top-ten;
  position: relative;
  padding: 0.5rem 0.65rem 0.55rem 2.4rem;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  line-height: 1.5;
  font-size: 0.93rem;
}

.article-top-ten ol > li::before {
  content: counter(top-ten);
  position: absolute;
  left: 0.55rem;
  top: 0.4rem;
  width: 1.45rem;
  height: 1.45rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(140deg, var(--accent) 0%, #7c3aed 100%);
  border-radius: 8px;
  line-height: 1;
  font-family: var(--font-head);
}

.article-top-ten__name {
  display: block;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin: 0 0 0.2rem;
}

.article-top-ten__note {
  display: block;
  font-size: 0.82rem;
  color: var(--soft);
  font-weight: 500;
  margin: 0.2rem 0 0;
}

@media (min-width: 800px) {
  .article-top-ten--grid ol {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
  }

  .article-top-ten--grid ol > li {
    min-height: 4.5rem;
  }
}

/* After the “The 10” block: ad + photo in a two-column row (no float gaps) */
.article-body-media {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
  margin: 0.35rem 0 1.85rem;
  align-items: stretch;
  clear: both;
  width: 100%;
  min-width: 0;
}

@media (min-width: 700px) {
  .article-body-media {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.15rem;
  }
}

.article-body-media__ad,
.article-body-media__fig {
  min-height: 0;
  min-width: 0;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--paper-2);
  box-shadow: 0 4px 20px -8px rgba(15, 23, 42, 0.08);
  margin: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  align-self: stretch;
}

.article-body-media__ad {
  min-height: 250px;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  box-sizing: border-box;
}

.article-body-media__ad ins {
  display: block;
  min-width: 0;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
}

@media (min-width: 700px) {
  .article-body-media__ad {
    min-height: 0;
  }

  .article-body-media__ad,
  .article-body-media__fig {
    min-height: 240px;
    height: 100%;
  }
}

.article-body-media__fig img {
  width: 100%;
  flex: 1 1 auto;
  min-height: 200px;
  object-fit: cover;
  object-position: center;
  display: block;
  vertical-align: top;
}

@media (min-width: 700px) {
  .article-body-media__fig {
    min-height: 0;
  }

  .article-body-media__fig img {
    min-height: 0;
    height: 100%;
  }
}

.article-hero-image {
  width: 100%;
  height: auto;
  border-radius: 18px;
  margin: 0 0 1.25rem;
  box-shadow: 0 20px 50px -18px rgba(15, 23, 42, 0.18);
  border: 1px solid var(--line);
}

.featured-snippet {
  background: linear-gradient(100deg, #f5f3ff 0%, #fff 100%);
  color: var(--ink);
  border: 0;
  border-left: 4px solid var(--accent);
  padding: 1.1rem 1.2rem;
  border-radius: 0.75rem 1.25rem 0.75rem 0.75rem;
  font-family: var(--font-body);
  box-shadow: var(--shadow-card);
}

.toc,
.article-toc {
  counter-reset: article-toc;
  position: relative;
  margin: 0;
  background: linear-gradient(180deg, #fff 0%, #fafbfc 100%);
  border: 1px solid rgba(99, 102, 241, 0.18);
  border-radius: 16px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.6) inset,
    0 20px 48px -20px rgba(15, 23, 42, 0.14);
  padding: 1.35rem 1.4rem 1.45rem;
  display: block;
}

.toc h2,
.article-toc__title {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
  margin: 0 0 0.4rem;
  line-height: 1.2;
  font-family: var(--font-head);
}

.toc p.article-toc__hint {
  display: none;
}

.article-toc__hint {
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--soft);
  margin: 0 0 1.15rem;
}

.toc > ul,
.article-toc__list {
  margin: 0;
  padding: 0 0 0 0.1rem;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.toc > ul > li,
.article-toc__list > li {
  margin: 0;
  padding: 0;
  counter-increment: article-toc;
}

.toc li {
  list-style: none;
}

.toc a,
.toc a.article-toc__link,
a.article-toc__link {
  display: block;
  position: relative;
  padding: 0.6rem 0.65rem 0.6rem 2.1rem;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.4;
  text-decoration: none;
  border-radius: 10px;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 0 0 1px transparent;
}

a.article-toc__link::before,
.toc li a::before {
  content: counter(article-toc) ".";
  position: absolute;
  left: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  letter-spacing: 0.02em;
  width: 1.1rem;
  text-align: right;
}

.toc li a:hover,
a.article-toc__link:hover {
  background: linear-gradient(100deg, rgba(99, 102, 241, 0.08) 0%, rgba(255, 255, 255, 0.8) 100%);
  color: var(--accent-hover);
  box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.2);
}

.toc h2 {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
  margin: 0 0 0.6rem;
}

.toc a:hover {
  color: var(--accent-hover);
}

.pull-quote {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-style: normal;
  font-weight: 600;
  background: #f5f3ff;
  border: 0;
  border-left: 4px solid var(--accent);
  border-radius: 0 0.75rem 0.75rem 0;
  padding: 1.1rem 1.25rem;
  color: var(--ink);
}

form.mc-form > div {
  margin-bottom: 1.15rem;
}

form.mc-form label {
  display: block;
  font-weight: 800;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
  margin-bottom: 0.4rem;
}

form.mc-form input,
form.mc-form select,
form.mc-form textarea {
  width: 100%;
  max-width: 32rem;
  border: 0;
  border-bottom: 2px solid var(--line);
  border-radius: 4px 4px 0 0;
  background: var(--surface);
  box-shadow: 0 1px 0 var(--ink);
  padding: 0.6rem 0.75rem;
  font: inherit;
}

form.mc-form textarea {
  resize: vertical;
  min-height: 8rem;
}

form.mc-form input:focus,
form.mc-form select:focus,
form.mc-form textarea:focus {
  outline: 2px solid var(--accent-soft);
  outline-offset: 2px;
}

form.mc-form button {
  background: var(--accent);
  color: #fff;
  text-transform: none;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  font-weight: 700;
  border-radius: var(--r-pill);
  border: 0;
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  margin-top: 0.25rem;
  box-shadow: 0 4px 16px -4px rgba(79, 70, 229, 0.4);
}

form.mc-form button:hover {
  background: var(--accent-hover);
}

/* ——— Contact + About: full-bleed hero, body in site column ——— */
main.page-contact,
main.page-about {
  max-width: none;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
  gap: clamp(1.75rem, 3vw, 2.5rem);
}

main.page-contact .contact-hero-band,
main.page-about .about-hero-band {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  max-width: 100vw;
  box-sizing: border-box;
  background: linear-gradient(165deg, #f5f3ff 0%, #eef2ff 40%, #f1f5f9 100%);
  background-image:
    var(--hero-mesh),
    linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, transparent 55%);
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.65) inset;
  padding: clamp(1.75rem, 3.5vw, 2.5rem) 0;
}

main.page-contact .contact-hero-band__content,
main.page-about .about-hero-band__content {
  max-width: var(--site-max);
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
  padding: 0 var(--site-gutter);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

main.page-contact .contact-hero__eyebrow,
main.page-about .about-hero__eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin: 0;
  font-family: var(--font-head);
}

main.page-contact .contact-hero-band h1,
main.page-about .about-hero-band h1 {
  font-size: clamp(1.85rem, 2.2vw + 0.6rem, 2.55rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin: 0.1rem 0 0.35rem;
  font-weight: 800;
  color: var(--ink);
}

main.page-contact .contact-hero__lede,
main.page-about .about-hero__lede {
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--ink-muted);
  font-weight: 500;
  margin: 0;
  max-width: 52ch;
}

main.page-contact .contact-hero-band .breadcrumb,
main.page-about .about-hero-band .breadcrumb {
  margin: 0 0 0.1rem;
}

main.page-contact > *:not(.contact-hero-band),
main.page-about > *:not(.about-hero-band) {
  max-width: var(--site-max);
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--site-gutter);
  padding-right: var(--site-gutter);
  box-sizing: border-box;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.25rem, 2.5vw, 1.75rem);
  align-items: start;
  min-width: 0;
}

@media (min-width: 900px) {
  .contact-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 18.5rem);
  }
}

.contact-form-panel {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(1.35rem, 2.5vw, 1.75rem) clamp(1.2rem, 2.2vw, 1.5rem) clamp(1.25rem, 2.2vw, 1.6rem);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.6) inset,
    0 20px 48px -20px rgba(15, 23, 42, 0.1);
}

.page-contact .contact-form-panel .mc-form input,
.page-contact .contact-form-panel .mc-form select,
.page-contact .contact-form-panel .mc-form textarea {
  max-width: none;
}

.page-contact .contact-form-panel .mc-form button {
  min-width: 9rem;
}

.contact-form-note {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--soft);
  font-weight: 500;
  max-width: 56ch;
}

.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-width: 0;
}

@media (min-width: 900px) {
  .contact-aside {
    position: sticky;
    top: 96px;
  }
}

.contact-side-card {
  position: relative;
  padding: 1.1rem 1.15rem 1.2rem;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 2px 10px -4px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.contact-side-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%);
  border-radius: 14px 14px 0 0;
  opacity: 0.8;
}

.contact-side-card h2 {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  margin: 0.15rem 0 0.45rem;
  line-height: 1.2;
}

.contact-side-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--ink);
  font-weight: 500;
}

.contact-side-card p + p {
  margin-top: 0.55rem;
}

.search-404 {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0;
  max-width: 40rem;
  align-items: stretch;
}

.search-404 input {
  flex: 1;
  min-width: 12rem;
  border-radius: 4px 14px;
  padding: 0.6rem 0.85rem;
  border: 0;
  border-bottom: 2px solid var(--line);
  background: var(--surface);
  font: inherit;
  box-shadow: 0 1px 0 var(--ink);
}

.search-404 button {
  background: var(--accent);
  color: #fff;
  border: 0;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 0.88rem;
  padding: 0.55rem 1.2rem;
  cursor: pointer;
  border-radius: var(--r-pill);
  box-shadow: 0 2px 8px -2px rgba(79, 70, 229, 0.4);
}

.search-404 button:hover {
  background: var(--accent-hover);
}

.cat-hero {
  border-radius: 12px 24px 8px 12px;
  box-shadow: 0 20px 45px -22px rgba(20, 40, 80, 0.25);
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--surface);
}

.layout-cat {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--section-y);
}

.layout-cat > *:first-child {
  display: flex;
  flex-direction: column;
  gap: var(--section-y);
  min-width: 0;
}

.layout-cat .card-grid,
.layout-cat .rss-block {
  margin: 0;
}

@media (min-width: 960px) {
  .layout-cat {
    grid-template-columns: minmax(0, 1fr) 300px;
  }
}

.share-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: var(--section-y);
  padding-top: 0.85rem;
  border-top: 1px dashed var(--line);
}

.share-row a {
  background: var(--paper-2);
  border: 0;
  border-bottom: 2px solid var(--ink);
  border-radius: 4px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink);
  font-weight: 700;
  padding: 0.4rem 0.65rem;
  text-decoration: none;
  display: inline-block;
}

.share-row a:hover {
  background: var(--ink);
  color: var(--surface);
  border-color: var(--ink);
}

.author-bio,
.author-card {
  background: linear-gradient(150deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 12px 32px -18px rgba(15, 23, 42, 0.2);
  padding: 1.4rem 1.45rem 1.35rem;
  margin: var(--section-y) 0 0;
}

.author-card__eyebrow {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-muted);
  margin: 0 0 0.35rem;
  font-family: var(--font-head);
}

.author-card__name {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.25rem;
  color: var(--ink);
}

.author-card__role {
  font-size: 0.9rem;
  color: var(--soft);
  margin: 0 0 0.6rem;
  line-height: 1.4;
  font-weight: 600;
}

.author-card__bio {
  margin: 0;
  line-height: 1.6;
  color: var(--ink);
}

.author-info h3 {
  font-family: var(--font-head);
  margin: 0 0 0.4rem;
}

.article-read-next {
  margin: var(--section-y) 0 0;
  padding: 0;
}

.article-read-next--panel {
  position: relative;
  margin-top: calc(var(--section-y) * 1.1);
  padding: clamp(1.5rem, 3vw, 1.9rem) clamp(1.15rem, 2.2vw, 1.5rem) clamp(1.35rem, 2.5vw, 1.65rem);
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 55%, #f8fafc 100%);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.65) inset,
    0 20px 48px -20px rgba(15, 23, 42, 0.12);
  overflow: hidden;
}

.article-read-next--panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, #a855f7 50%, var(--accent-2) 100%);
  border-radius: 20px 20px 0 0;
  opacity: 0.9;
}

.article-read-next__head {
  max-width: 50rem;
  margin: 0 0 1.1rem;
  position: relative;
  z-index: 1;
}

.article-read-next__eyebrow {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin: 0 0 0.45rem;
  font-family: var(--font-head);
}

.article-read-next--panel .article-read-next__eyebrow {
  color: var(--accent);
}

.article-read-next__title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 0.4rem;
  line-height: 1.2;
  font-family: var(--font-head);
  color: var(--ink);
}

.article-read-next--panel .article-read-next__title {
  font-size: clamp(1.4rem, 0.5vw + 1.1rem, 1.7rem);
}

.article-read-next__sub {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--soft);
  font-weight: 500;
  margin: 0;
  max-width: 46ch;
}

.article-read-next--panel .article-read-next__grid {
  position: relative;
  z-index: 1;
  gap: 0.9rem;
}

.article-read-next__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 600px) {
  .article-read-next__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .article-read-next__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.article-read-next__grid > li {
  margin: 0;
  min-width: 0;
}

a.article-read-next__card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  min-height: 100%;
  padding: 1.15rem 1.2rem 2.35rem;
  border-radius: 16px;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(99, 102, 241, 0.12);
  box-shadow: 0 2px 12px -4px rgba(15, 23, 42, 0.08);
  transition:
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

a.article-read-next__card:hover {
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: 0 10px 28px -8px rgba(99, 102, 241, 0.22);
  transform: translateY(-2px);
  color: var(--ink);
}

.article-read-next--panel a.article-read-next__card:hover {
  background: #fff;
  border-color: rgba(99, 102, 241, 0.32);
  box-shadow: 0 14px 36px -12px rgba(99, 102, 241, 0.24);
  transform: translateY(-3px);
  color: var(--ink);
}

a.article-read-next__card::after {
  content: "→";
  position: absolute;
  right: 0.9rem;
  bottom: 0.85rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  opacity: 0.65;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

a.article-read-next__card:hover::after {
  opacity: 1;
  transform: translateX(2px);
}

.article-read-next__kicker {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin: 0 0 0.4rem;
}

.article-read-next__text {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
  padding-right: 1.25rem;
}

.article-share {
  margin: calc(var(--section-y) * 0.85) 0 0;
  padding: 1.4rem 0 0;
  border-top: 1px solid var(--line);
}

.article-share__title {
  font-size: 1.05rem;
  font-weight: 800;
  font-family: var(--font-head);
  letter-spacing: -0.02em;
  margin: 0 0 0.3rem;
  line-height: 1.2;
  color: var(--ink);
}

.article-share__hint {
  font-size: 0.9rem;
  color: var(--soft);
  margin: 0 0 0.9rem;
  line-height: 1.4;
  font-weight: 500;
}

.page-article .article-share .share-row {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.page-article .article-share .share-row a {
  background: var(--surface);
  border: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 10px 14px 10px 14px;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  padding: 0.5rem 0.85rem;
  box-shadow: 0 2px 6px -2px rgba(15, 23, 42, 0.08);
}

.page-article .article-share .share-row a:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 6px 20px -6px rgba(99, 102, 241, 0.45);
}

.related-list {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  max-width: 56ch;
}

.related-list li {
  position: relative;
  padding: 0.4rem 0 0.4rem 1.1rem;
  border-bottom: 1px dotted var(--line);
}

.related-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 800;
  font-size: 0.85rem;
}

.related-list a {
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
}

.related-list a:hover {
  color: var(--accent);
}

.article-category {
  font-size: 0.85em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--soft);
}

.ad-square-float {
  min-height: 250px;
  box-sizing: border-box;
  border: 0;
  border-radius: 2px 12px;
  background: var(--paper-2);
  box-shadow: inset 0 0 0 1px var(--line);
}

@media (min-width: 700px) {
  .article-body .ad-square-float {
    float: right;
    margin: 0 0 1.1rem 1.3rem;
    max-width: 300px;
    width: 100%;
    clear: right;
  }

  .article-body .article-inline-img {
    float: right;
    clear: right;
    margin: 0 0 1.1rem 1.5rem;
    max-width: 340px;
    width: auto;
    height: auto;
    border-radius: 12px;
    border: 1px solid var(--line);
  }
}

@media (max-width: 699px) {
  .article-body .article-inline-img {
    width: 100%;
    max-width: none;
    height: auto;
    border-radius: 12px;
    margin: 0 0 1rem;
    border: 1px solid var(--line);
  }
}

.article-body-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1.5rem 0 1.75rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: 0 8px 28px -10px rgba(15, 23, 42, 0.15);
}

.leaderboard-in-article,
.page-standard .ad-leaderboard {
  background: var(--paper-2);
  border-bottom: 1px dashed var(--line);
}

.skyscraper-ad {
  display: none;
}

@media (min-width: 768px) {
  .skyscraper-ad {
    display: block;
  }
}

.ad-sky {
  min-height: 620px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  box-sizing: border-box;
}

.prose {
  max-width: 64ch;
}

.page-legal h1,
.page-standard h1 {
  font-size: clamp(1.8rem, 2.5vw, 2.3rem);
  line-height: 1.2;
  font-weight: 600;
}

.leaderboard-in-article {
  min-height: 90px;
}

/* Article internal elements */

/* Legal pages: outer rhythm from main flex gap; headings align with the stack */
.page-legal {
  min-height: 50vh;
}

main.wrap.page-legal > h1,
main.wrap.page-legal > h2 {
  margin: 0;
}

.page-legal h2 {
  font-family: var(--font-head);
  font-size: 1.18rem;
  color: var(--ink);
}

.page-legal p,
.page-legal h2,
.page-legal h1,
.page-legal h3 {
  max-width: 68ch;
}

/* Utility */
.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

/* RSS header padding when dark bar */
.rss-block--hero .rss-block__header,
.rss-block--section .rss-block__header {
  padding-left: 0.35rem;
}

/* Article title */
.article-title {
  font-weight: 600;
  line-height: 1.12;
}

.article-meta {
  font-weight: 500;
  color: var(--soft);
  font-size: 0.92rem;
}

/* Block quotes in article body */
.article-body {
  line-height: 1.7;
  color: var(--ink);
}

.article-body p {
  margin: 0 0 1rem;
}

.article-body h2,
.article-body h3 {
  font-family: var(--font-head);
  margin: 1.5rem 0 0.65rem;
  scroll-margin-top: 5.5rem;
}

.article-body ul {
  padding-left: 1.2rem;
  margin: 0 0 1rem;
}

/* ——— Authors / team page ——— */
.page-authors {
  max-width: 56rem;
}

.page-authors h1 {
  font-size: clamp(1.85rem, 2.4vw, 2.5rem);
  letter-spacing: -0.04em;
  margin: 0 0 0.6rem;
}

.authors-hero {
  margin-bottom: clamp(1.75rem, 3.5vw, 2.5rem);
}

.authors-hero .breadcrumb {
  margin: 0 0 0.75rem;
}

.authors-hero__eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin: 0 0 0.5rem;
  font-family: var(--font-head);
}

.authors-hero__lede {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink-muted);
  margin: 0;
  max-width: 48ch;
  font-weight: 500;
}

.authors-principles-wrap {
  margin: 0 0 clamp(1.75rem, 3vw, 2.5rem);
}

.authors-principles__head {
  font-size: 1.05rem;
  font-weight: 800;
  font-family: var(--font-head);
  letter-spacing: -0.02em;
  margin: 0 0 0.9rem;
  color: var(--ink);
}

.authors-principles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .authors-principles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.authors-principle {
  position: relative;
  padding: 1.1rem 1.15rem 1.15rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 4px 20px -8px rgba(15, 23, 42, 0.1);
}

.authors-principle h2,
.authors-principle h3 {
  font-size: 0.95rem;
  font-weight: 800;
  margin: 0 0 0.4rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.2;
  font-family: var(--font-head);
}

.authors-principle p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--soft);
  font-weight: 500;
}

.authors-principle::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1.15rem;
  right: 1.15rem;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%);
  opacity: 0.75;
}

.author-profile {
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: 20px;
  padding: clamp(1.35rem, 3.5vw, 2rem);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.8) inset,
    0 24px 50px -22px rgba(15, 23, 42, 0.12);
  margin: 0;
  overflow: hidden;
}

.author-profile__header {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.35rem;
  align-items: start;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 720px) {
  .author-profile__header {
    grid-template-columns: 13rem 1fr;
    gap: clamp(1.5rem, 3vw, 2.25rem);
  }
}

.author-profile__avatar-wrap {
  position: relative;
  max-width: 200px;
  margin: 0 auto;
}

@media (min-width: 720px) {
  .author-profile__avatar-wrap {
    margin: 0;
  }
}

.author-profile__avatar-wrap::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 18px;
  background: linear-gradient(140deg, var(--accent) 0%, #a855f7 50%, var(--accent-2) 100%);
  z-index: 0;
  opacity: 0.6;
}

.author-profile__avatar {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 15px;
  border: 3px solid #fff;
  box-shadow: 0 8px 24px -6px rgba(15, 23, 42, 0.2);
}

.author-profile__eyebrow {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
  margin: 0 0 0.35rem;
  font-family: var(--font-head);
}

@media (min-width: 720px) {
  .author-profile__intro {
    text-align: left;
  }
}

.author-profile__name {
  font-size: clamp(1.6rem, 1.2vw + 1.2rem, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  margin: 0 0 0.3rem;
  line-height: 1.1;
  color: var(--ink);
}

.author-profile__title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 0.85rem;
  line-height: 1.35;
}

.author-profile__meta {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.65rem;
  margin: 0 0 1rem;
  padding: 0;
}

.author-profile__meta li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  letter-spacing: 0.02em;
}

.author-profile__meta span {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--soft);
}

.author-profile__body {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--ink);
}

.author-profile__body p {
  margin: 0 0 1rem;
}

.author-profile__body p:last-of-type {
  margin-bottom: 0;
}

.author-spotlight-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin: 1.6rem 0 0;
}

@media (min-width: 800px) {
  .author-spotlight-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.author-spotlight {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.1rem 1.15rem;
  box-shadow: 0 2px 10px -4px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.author-spotlight:hover {
  border-color: rgba(99, 102, 241, 0.25);
  box-shadow: 0 6px 22px -8px rgba(99, 102, 241, 0.18);
}

.author-spotlight h3 {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin: 0;
  line-height: 1.2;
  font-family: var(--font-head);
}

.author-spotlight p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--ink-muted);
  font-weight: 500;
  flex: 1;
}

.author-featured {
  display: block;
  margin: 1.75rem 0 0;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 8px 32px -12px rgba(15, 23, 42, 0.12);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.author-featured:hover {
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: 0 14px 40px -14px rgba(99, 102, 241, 0.2);
  transform: translateY(-2px);
}

a.author-featured,
a.author-featured:hover {
  text-decoration: none;
  text-decoration-thickness: 0;
}

.author-featured__inner {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 560px) {
  .author-featured__inner {
    grid-template-columns: 11rem 1fr;
  }
}

.author-featured__thumb {
  margin: 0;
  line-height: 0;
  min-height: 9rem;
  background: var(--paper-2);
}

.author-featured__thumb img {
  width: 100%;
  height: 100%;
  min-height: 9rem;
  object-fit: cover;
}

.author-featured__text {
  padding: 1.1rem 1.25rem 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.4rem;
}

.author-featured__kicker {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.author-featured h3 {
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.3;
  margin: 0;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.author-featured__go {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0.2rem 0 0;
}

a.author-featured:hover .author-featured__go {
  color: var(--accent-hover);
}

.authors-footnote {
  margin: 2rem 0 0;
  padding: 1rem 1.15rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--soft);
  background: var(--paper-2);
  border-radius: 12px;
  border: 1px dashed var(--line);
  max-width: 48ch;
}
