/* enhanced-article.css — editorial long-form article style for Lovie pSEO pages
   Loaded via <link rel="stylesheet"> so it works under the site's CSP
   (which blocks inline <style> blocks). */

:root {
  --lovie-blue: #0000a2;
  --lovie-blue-deep: #04046b;
  --lovie-navy: #00001f;
  --lovie-navy-mid: #00003b;
  --lovie-mint: #d3ffda;
  --lovie-mint-dark: #10c589;
  --lovie-mint-deep: #058a5e;
  --lovie-sky: #3b82f6;
  --bg: #fafbfc;
  --bg-soft: #f3f4f7;
  --bg-card: #ffffff;
  --ink: #0a0a0f;
  --ink-soft: #1a1a2e;
  --muted: #64748b;
  --muted-2: #94a3b8;
  --line: #e6e8ef;
  --line-strong: #cdd2dd;
  --warning: #b45309;
  --warning-bg: #fef3c7;
  --tip: #047857;
  --tip-bg: #d1fae5;
  --fact: #1e3a8a;
  --fact-bg: #dbeafe;
  --stat: #5b21b6;
  --stat-bg: #ede9fe;
  --max: 1280px;
  --col: 720px;
  --side: 280px;
  --radius: 18px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(10, 10, 15, .04), 0 1px 1px rgba(10, 10, 15, .03);
  --shadow-md: 0 12px 24px -16px rgba(10, 10, 15, .12), 0 6px 12px -8px rgba(10, 10, 15, .08);
  --shadow-lg: 0 30px 60px -30px rgba(0, 0, 31, .25);
}

* { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'kern' 1, 'liga' 1, 'calt' 1, 'ss01' 1;
}
img { max-width: 100%; height: auto; display: block; }
a {
  color: var(--lovie-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
  text-decoration-color: rgba(0, 0, 162, .35);
  transition: color .15s ease, text-decoration-color .15s ease;
}
a:hover {
  color: var(--lovie-blue-deep);
  text-decoration-color: currentColor;
}

/* ============================================================ */
/*  TOP BAR                                                     */
/* ============================================================ */
.top-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 251, 252, .85);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line);
}
.top-bar__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: .9rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.top-bar a { text-decoration: none; }
.top-bar .brand {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--lovie-navy);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -.02em;
}
.top-bar .brand .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--lovie-mint-dark);
  box-shadow: 0 0 0 4px rgba(16, 197, 137, .2);
}
.top-bar .nav {
  display: none;
  gap: 1.5rem;
  font-size: 14px;
  color: var(--muted);
}
.top-bar .nav a:hover { color: var(--ink); }
.top-bar .cta {
  background: var(--lovie-navy);
  color: #fff;
  padding: .55rem 1.05rem;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -.005em;
  display: inline-flex;
  gap: .35rem;
  align-items: center;
  transition: background .15s ease, transform .15s ease;
}
.top-bar .cta:hover {
  background: var(--lovie-blue);
  transform: translateY(-1px);
}
.top-bar .cta::after { content: '→'; }
@media (min-width: 768px) {
  .top-bar .nav { display: inline-flex; }
}

/* ============================================================ */
/*  HERO — 2-column on desktop (text left, image right)         */
/* ============================================================ */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3.5rem 1.5rem 1rem;
}
.crumbs {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
}
.crumbs a {
  color: var(--muted);
  text-decoration: none;
}
.crumbs a:hover { color: var(--ink); }
.crumbs .sep { opacity: .5; }

.hero__grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
    gap: 3.5rem;
    align-items: center;
  }
}
.hero__copy { min-width: 0; }
.hero__visual { min-width: 0; }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .35rem .85rem;
  background: var(--lovie-mint);
  color: var(--lovie-mint-deep);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.hero__eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lovie-mint-deep);
}
.hero__title {
  font-size: clamp(2rem, 4.4vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -.025em;
  font-weight: 800;
  margin: 0 0 1.25rem;
  color: var(--lovie-navy);
}
.hero__dek {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.55;
  color: var(--muted);
  max-width: 52ch;
  margin: 0;
}
.hero__byline {
  margin-top: 1.75rem;
  display: flex;
  align-items: center;
  gap: .85rem;
  font-size: 14px;
  color: var(--muted);
  flex-wrap: wrap;
}
.hero__byline img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: var(--shadow-sm);
}
.hero__byline .name {
  color: var(--ink);
  font-weight: 600;
}
.hero__byline a {
  color: var(--ink);
  text-decoration: none;
}
.hero__byline a:hover { color: var(--lovie-blue); }
.hero__byline .sep { opacity: .5; }
.hero__byline time { font-variant-numeric: tabular-nums; }
.hero__byline .read {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: 13px;
  color: var(--muted);
}

/* Hero image — sized to the right column on desktop, full width on mobile */
.hero__visual figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--bg-soft);
  position: relative;
  transform: rotate(-.3deg);
  transition: transform .4s cubic-bezier(.2, .9, .2, 1);
}
.hero__visual figure:hover { transform: rotate(0deg); }
.hero__visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
@media (min-width: 900px) {
  .hero__visual img {
    aspect-ratio: 4 / 5;
  }
}
.hero__visual figcaption {
  padding: .65rem 1.25rem;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  background: var(--bg-card);
  border-top: 1px solid var(--line);
}

/* ============================================================ */
/*  CHAT CTA (below hero)                                       */
/* ============================================================ */
.chat-cta {
  max-width: var(--max);
  margin: 2rem auto 0;
  padding: 0 1.5rem;
}
.chat-cta__inner {
  background: linear-gradient(135deg, #fff, var(--bg-soft));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: grid;
  gap: 1.25rem;
  align-items: center;
}
@media (min-width: 720px) {
  .chat-cta__inner {
    grid-template-columns: auto 1fr auto;
    padding: 1.5rem 2rem;
    gap: 1.75rem;
  }
}
.chat-cta__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--lovie-mint);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.chat-cta__icon::before {
  content: '';
  width: 22px;
  height: 22px;
  background: var(--lovie-navy);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 3a9 9 0 0 0-9 9 9 9 0 0 0 1.7 5.27L3 21l3.95-1.6A9 9 0 1 0 12 3zm-3 8.5h.01v.01H9V11.5zm3 0h.01v.01H12V11.5zm3 0h.01v.01H15V11.5z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 3a9 9 0 0 0-9 9 9 9 0 0 0 1.7 5.27L3 21l3.95-1.6A9 9 0 1 0 12 3zm-3 8.5h.01v.01H9V11.5zm3 0h.01v.01H12V11.5zm3 0h.01v.01H15V11.5z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.chat-cta__copy {
  min-width: 0;
}
.chat-cta__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--lovie-mint-deep);
  margin: 0 0 .15rem;
}
.chat-cta__text {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--lovie-navy);
  margin: 0;
  line-height: 1.4;
}
.chat-cta__btn {
  background: var(--lovie-navy);
  color: #fff;
  padding: .85rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  font-size: .95rem;
  display: inline-flex;
  gap: .5rem;
  align-items: center;
  white-space: nowrap;
  transition: background .15s ease, transform .15s ease;
  flex: none;
}
.chat-cta__btn:hover {
  background: var(--lovie-blue);
  transform: translateY(-1px);
  color: #fff;
}
.chat-cta__btn::after { content: '→'; }

/* ============================================================ */
/*  LAYOUT — sticky TOC + article                               */
/* ============================================================ */
.layout {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3.5rem 1.5rem 5rem;
  display: grid;
  gap: 3rem;
}
@media (min-width: 1100px) {
  .layout {
    grid-template-columns: var(--side) 1fr;
    gap: 4.5rem;
  }
}

/* Sticky TOC (desktop only) */
.toc {
  display: none;
}
@media (min-width: 1100px) {
  .toc {
    display: block;
    position: sticky;
    top: 5.5rem;
    align-self: start;
    font-size: 14px;
    max-height: calc(100vh - 8rem);
    overflow-y: auto;
  }
}
.toc__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin: 0 0 1rem;
}
.toc__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .35rem;
  border-left: 1px solid var(--line);
}
.toc__list li { padding-left: 0; }
.toc__list a {
  display: block;
  padding: .4rem .85rem;
  margin-left: -1px;
  border-left: 1.5px solid transparent;
  color: var(--muted);
  text-decoration: none;
  line-height: 1.45;
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.toc__list a:hover {
  color: var(--ink);
  border-left-color: var(--lovie-mint-dark);
}

/* Mobile TOC */
.toc-mobile {
  display: block;
  margin: 0 0 2rem;
}
.toc-mobile summary {
  cursor: pointer;
  list-style: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 1rem 1.25rem;
  background: var(--bg-soft);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.toc-mobile summary::-webkit-details-marker { display: none; }
.toc-mobile summary::after {
  content: '+';
  color: var(--lovie-mint-deep);
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1;
}
.toc-mobile[open] summary::after { content: '−'; }
.toc-mobile ol {
  list-style: none;
  padding: 1rem 1.25rem;
  margin: .5rem 0 0;
  background: var(--bg-soft);
  border-radius: 14px;
  display: grid;
  gap: .5rem;
  font-size: .95rem;
  counter-reset: m;
}
.toc-mobile li { counter-increment: m; }
.toc-mobile a {
  color: var(--muted);
  text-decoration: none;
  display: flex;
  gap: .65rem;
}
.toc-mobile a::before {
  content: counter(m, decimal-leading-zero);
  color: var(--muted-2);
  font-variant-numeric: tabular-nums;
  font-size: 11px;
  letter-spacing: .05em;
  font-weight: 700;
  flex: none;
  width: 1.5rem;
  align-self: center;
}
.toc-mobile a:hover { color: var(--ink); }
@media (min-width: 1100px) {
  .toc-mobile { display: none; }
}

/* ============================================================ */
/*  ARTICLE                                                     */
/* ============================================================ */
.article {
  max-width: var(--col);
  font-size: 18px;
  line-height: 1.75;
  color: var(--ink);
}
.article > section {
  scroll-margin-top: 5rem;
  padding-top: 1rem;
}
.article > section + section {
  margin-top: 4rem;
  padding-top: 4rem;
  border-top: 1px solid var(--line);
}
.article h2 {
  font-size: clamp(1.55rem, 2.6vw, 2.1rem);
  line-height: 1.15;
  letter-spacing: -.02em;
  font-weight: 800;
  margin: 0 0 1.25rem;
  color: var(--lovie-navy);
  position: relative;
}
.article h2::before {
  content: '';
  display: block;
  width: 32px;
  height: 4px;
  background: var(--lovie-mint-dark);
  border-radius: 999px;
  margin-bottom: 1.25rem;
}
.article h3 {
  font-size: 1.2rem;
  line-height: 1.35;
  font-weight: 700;
  margin: 2.5rem 0 1rem;
  color: var(--lovie-navy);
}
.article h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 1.75rem 0 .5rem;
  color: var(--lovie-navy);
}
.article p {
  margin: 0 0 1.35rem;
}
.article p strong { color: var(--ink-soft); }
.article ul, .article ol {
  margin: 0 0 1.5rem;
  padding-left: 1.5rem;
}
.article li {
  margin: 0 0 .55rem;
  padding-left: .25rem;
}
.article li::marker {
  color: var(--lovie-mint-dark);
  font-weight: 600;
}
.article ol li::marker {
  font-variant-numeric: tabular-nums;
}
.article code {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  padding: .12rem .42rem;
  border-radius: 6px;
  font-family: 'JetBrains Mono', 'SF Mono', monospace;
  font-size: .9em;
  color: var(--lovie-navy);
}

/* Section image */
.article .section-image {
  margin: 2.25rem 0;
}
.article .section-image figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--bg-soft);
}
.article .section-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.article .section-image figcaption {
  padding: .65rem 1rem;
  font-size: 13px;
  color: var(--muted);
  background: var(--bg-card);
  border-top: 1px solid var(--line);
}

/* Pull quote */
.article blockquote {
  margin: 2rem 0;
  padding: 1.5rem 1.75rem;
  border-left: 4px solid var(--lovie-mint-dark);
  background: var(--bg-soft);
  border-radius: 0 12px 12px 0;
  font-size: 1.1rem;
  line-height: 1.55;
  font-weight: 500;
  color: var(--ink-soft);
}

/* ============================================================ */
/*  CALLOUTS                                                    */
/* ============================================================ */
.callout {
  margin: 2rem 0;
  padding: 1.1rem 1.25rem;
  border-radius: 14px;
  font-size: .98rem;
  line-height: 1.6;
  display: grid;
  gap: .35rem;
  border-left: 4px solid;
}
.callout__label {
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .72rem;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.callout__label::before {
  content: '';
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: currentColor;
  opacity: .15;
}
.callout--tip { background: var(--tip-bg); border-color: var(--tip); color: #064e3b; }
.callout--tip .callout__label { color: var(--tip); }
.callout--warning { background: var(--warning-bg); border-color: var(--warning); color: #78350f; }
.callout--warning .callout__label { color: var(--warning); }
.callout--fact { background: var(--fact-bg); border-color: var(--fact); color: #1e3a8a; }
.callout--fact .callout__label { color: var(--fact); }
.callout--stat { background: var(--stat-bg); border-color: var(--stat); color: #4c1d95; }
.callout--stat .callout__label { color: var(--stat); }

/* ============================================================ */
/*  FAQ                                                         */
/* ============================================================ */
.faq { margin: 0; }
.faq__items {
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--lovie-navy);
  padding: 1.4rem 0;
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: flex-start;
  transition: color .15s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  color: var(--lovie-mint-deep);
  font-weight: 300;
  font-size: 1.5rem;
  line-height: 1;
  flex: none;
  transition: transform .2s ease;
}
.faq details[open] summary::after { content: '−'; }
.faq summary:hover { color: var(--lovie-blue); }
.faq details > p,
.faq details > div {
  margin: 0 0 1.5rem;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 64ch;
}

/* ============================================================ */
/*  RELATED                                                     */
/* ============================================================ */
.related h2::before { display: none; }
.related-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 600px) {
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.related-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.5rem;
  text-decoration: none;
  color: var(--ink);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  display: flex;
  flex-direction: column;
  gap: .55rem;
  min-height: 120px;
}
.related-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
  color: var(--ink);
}
.related-card .label {
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--lovie-navy);
  display: flex;
  justify-content: space-between;
  gap: .5rem;
}
.related-card .label::after {
  content: '↗';
  color: var(--lovie-mint-deep);
  font-weight: 400;
  flex: none;
  transition: transform .15s ease;
}
.related-card:hover .label::after { transform: translate(2px, -2px); }
.related-card .desc {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ============================================================ */
/*  CTA BANNER                                                  */
/* ============================================================ */
.cta-banner {
  margin: 4rem 0 0;
  background: linear-gradient(135deg, var(--lovie-navy) 0%, var(--lovie-blue-deep) 100%);
  color: #fff;
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 1rem;
  text-align: center;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(211, 255, 218, .15), transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(59, 130, 246, .2), transparent 40%);
  pointer-events: none;
}
.cta-banner > * { position: relative; }
.cta-banner__eyebrow {
  display: inline-block;
  padding: .3rem .85rem;
  border: 1px solid rgba(211, 255, 218, .35);
  border-radius: 999px;
  background: rgba(211, 255, 218, .12);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--lovie-mint);
  margin: 0 auto;
  width: max-content;
}
.cta-banner h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 800;
  margin: 0;
  letter-spacing: -.015em;
  color: #fff;
  max-width: 28ch;
  margin-inline: auto;
  line-height: 1.2;
}
.cta-banner p {
  margin: 0 auto;
  color: #cbd5e1;
  max-width: 42ch;
  font-size: .98rem;
  line-height: 1.6;
}
.cta-banner__btn {
  background: var(--lovie-mint);
  color: var(--lovie-navy);
  padding: .85rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  font-size: .98rem;
  display: inline-flex;
  gap: .4rem;
  align-items: center;
  width: max-content;
  margin: .25rem auto 0;
  transition: background .15s ease, transform .15s ease;
}
.cta-banner__btn:hover {
  background: #fff;
  color: var(--lovie-navy);
  transform: translateY(-2px);
}
.cta-banner__btn::after { content: '→'; }
.cta-banner__features {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 13px;
  color: rgba(255, 255, 255, .7);
  margin-top: .25rem;
}
.cta-banner__features span {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}
.cta-banner__features span::before {
  content: '✓';
  color: var(--lovie-mint);
  font-weight: 700;
}

/* ============================================================ */
/*  AUTHOR CARD                                                 */
/* ============================================================ */
.author-card {
  margin: 4rem 0 0;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 600px) {
  .author-card {
    grid-template-columns: auto 1fr;
    gap: 1.75rem;
  }
}
.author-card__avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: var(--shadow-md);
}
.author-card__head {
  margin-bottom: .75rem;
}
.author-card__name {
  font-weight: 800;
  font-size: 1.2rem;
  margin: 0;
  color: var(--lovie-navy);
  letter-spacing: -.01em;
}
.author-card__role {
  font-size: .9rem;
  color: var(--muted);
  margin: .15rem 0 0;
}
.author-card__bio {
  font-size: .98rem;
  color: var(--ink-soft);
  line-height: 1.65;
  margin: 0 0 1rem;
}
.author-card__links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .85rem;
  margin: 0;
}
.author-card__links a {
  display: inline-flex;
  gap: .35rem;
  align-items: center;
  color: var(--lovie-blue);
  text-decoration: none;
  font-weight: 600;
  padding: .25rem 0;
}
.author-card__links a::after { content: '↗'; opacity: .6; font-weight: 400; }
.author-card__links a:hover { color: var(--lovie-blue-deep); }

/* ============================================================ */
/*  DISCLAIMER + FOOTER                                         */
/* ============================================================ */
.disclaimer {
  margin: 2.5rem 0 0;
  padding: 1.5rem 1.25rem 0;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted-2);
  line-height: 1.6;
  text-align: left;
}

.lovie-footer {
  background: var(--lovie-navy);
  color: #94a3b8;
  padding: 2.25rem 1.5rem;
  text-align: center;
  font-size: 13.5px;
  margin-top: 4rem;
}
.lovie-footer .links {
  display: inline-flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  justify-content: center;
}
.lovie-footer a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color .15s ease;
}
.lovie-footer a:hover { color: #fff; }
.lovie-footer .copyright {
  display: block;
  margin-top: .85rem;
  color: var(--muted-2);
  font-size: 12px;
}

/* ============================================================ */
/*  CHAT MODAL (iframe embed)                                   */
/* ============================================================ */
.chat-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 31, .72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: stretch;
  justify-content: center;
  padding: 0;
  opacity: 0;
  transition: opacity .2s ease;
}
.chat-modal[data-open="true"] {
  display: flex;
  opacity: 1;
  animation: chat-modal-fade-in .25s ease-out;
}
@keyframes chat-modal-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.chat-modal__panel {
  position: relative;
  width: 100%;
  height: 100vh;
  background: #fff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
@media (min-width: 720px) {
  .chat-modal {
    padding: 2.5rem 1.5rem;
  }
  .chat-modal__panel {
    width: min(1100px, 100%);
    height: min(90vh, 900px);
    border-radius: var(--radius-lg);
    box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .55);
  }
}
.chat-modal__close {
  position: absolute;
  top: .85rem;
  right: .85rem;
  z-index: 2;
  appearance: none;
  border: 0;
  background: rgba(255, 255, 255, .9);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  font-family: inherit;
  color: var(--lovie-navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
  transition: background .15s ease, transform .15s ease;
}
.chat-modal__close:hover {
  background: #fff;
  transform: scale(1.05);
}
.chat-modal__close:focus-visible {
  outline: 2px solid var(--lovie-mint-dark);
  outline-offset: 2px;
}
.chat-modal__iframe {
  flex: 1;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: var(--bg);
}

/* ============================================================ */
/*  PRINT                                                       */
/* ============================================================ */
@media print {
  .top-bar, .toc, .toc-mobile, .cta-banner, .lovie-footer { display: none; }
  body { background: #fff; }
  .article > section + section { border-color: #ccc; }
}
