/* ═══════════════════════════════════════════════════════════════════════════
   /blogs/<slug>/ detail — brutally minimal, v6 design language
   Tricolor palette: blue · orange · purple
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  --b-bg: #ffffff;
  --b-ink: #0f172a;
  --b-ink-soft: #334155;
  --b-muted: #64748b;
  --b-faint: #94a3b8;
  --b-line: #e2e8f0;
  --b-line-soft: #f1f5f9;
  --b-surface: #f8fafc;
  --b-dark: #0f172a;

  --b-blue:   #2563eb;
  --b-orange: #f97316;
  --b-purple: #7c3aed;

  --b-tri: linear-gradient(90deg, #2563eb 0%, #f97316 50%, #7c3aed 100%);
  --b-tri-soft: linear-gradient(135deg, #1d4ed8 0%, #2563eb 38%, #f97316 68%, #7c3aed 100%);

  --b-display: 'Inter Tight', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --b-body:    'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  /* Reading column — 60rem ≈ 960px gives ~92 chars/line at DM Sans 18px,
     which stays comfortable while using the screen real estate admins
     complained about on wide monitors. */
  --b-read-width: 60rem;
}

/* Inline fact-check footnote citations — rendered by
   social_media.fact_checker.citations.inject_citations at publish time
   (the `[1]` / `[2]` markers with class fc-citation). Keep them visually
   subtle so the prose flow isn't broken. */
.article-body sup.fc-citation,
.prose sup.fc-citation,
sup.fc-citation {
  display: inline-block;
  font-size: 0.68em;
  line-height: 1;
  vertical-align: super;
  color: var(--b-blue, #2563eb);
  font-weight: 600;
  margin-left: 2px;
  padding: 0 3px;
  border-radius: 3px;
  text-decoration: none;
  transition: background .15s ease;
  cursor: help;
}
.article-body sup.fc-citation:hover,
.prose sup.fc-citation:hover,
sup.fc-citation:hover {
  background: rgba(37, 99, 235, 0.08);
}

/* ─── Article wrapper ─── */
.article {
  background: #fafbfc; /* editorial off-white — tables/callouts pop as pure white */
  color: var(--b-ink);
  padding: 0 0 6rem;
}

/* ─── Header ─── */
.article-header {
  padding: 5.5rem 1.5rem 2rem;
}

.article-header__inner {
  max-width: var(--b-read-width);
  margin: 0 auto;
  text-align: center;
}

.article-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--b-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--b-muted);
  text-decoration: none;
  margin-bottom: 2.5rem;
  transition: color 0.2s ease, gap 0.2s ease;
}

.article-back:hover {
  color: var(--b-blue);
  gap: 0.75rem;
}

.article-back i { font-size: 0.7rem; }

.article-header__tag {
  display: inline-block;
  font-family: var(--b-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--b-orange);
  padding: 0.35rem 0.85rem;
  border: 1px solid rgba(249, 115, 22, 0.25);
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.06);
  margin-bottom: 1.75rem;
}

.article-header__title {
  font-family: var(--b-display);
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--b-ink);
  margin: 0 0 1.5rem;
}

.article-header__dek {
  font-family: var(--b-body);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.5;
  color: var(--b-ink-soft);
  margin: 0 0 2rem;
  font-weight: 400;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.article-header__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--b-body);
  font-size: 0.82rem;
  color: var(--b-muted);
  flex-wrap: wrap;
  justify-content: center;
}

.article-header__dot {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--b-faint);
}

.article-header__rule {
  margin: 3rem auto 0;
  height: 2px;
  width: 96px;
  background: var(--b-tri);
  border-radius: 2px;
}

/* ─── Hero image ─── */
.article-hero-image {
  max-width: 64rem;
  margin: 2.5rem auto 3.5rem;
  padding: 0 1.5rem;
}

.article-hero-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  border-radius: 1rem;
}

/* ─── TL;DR callout ─── */
.article-tldr {
  max-width: var(--b-read-width);
  margin: 0 auto 2.5rem;
  padding: 0 1.5rem;
}

.article-tldr__inner {
  position: relative;
  padding: 1.25rem 1.25rem 1.25rem 1.75rem;
  border-left: 3px solid transparent;
  border-image: var(--b-tri);
  border-image-slice: 1;
  background: #ffffff;
  border-radius: 0 0.5rem 0.5rem 0;
  box-shadow: 0 1px 0 var(--b-line);
}

.article-tldr__label {
  display: inline-block;
  font-family: var(--b-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--b-orange);
  margin-bottom: 0.5rem;
}

.article-tldr p {
  font-family: var(--b-body);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--b-ink);
  margin: 0;
}

/* ─── Pull quote (above body) ─── */
.article-pullquote {
  max-width: var(--b-read-width);
  margin: 0 auto 2.5rem;
  padding: 0 1.5rem;
  border: 0;
}

.article-pullquote p {
  font-family: var(--b-display);
  font-style: italic;
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--b-ink);
  margin: 0;
  padding-left: 1.25rem;
  border-left: 3px solid var(--b-orange);
}

/* ─── Body (long-form, DM Sans for maximum readability) ─── */
.article-body {
  max-width: var(--b-read-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  font-family: var(--b-body);
  font-size: 1.12rem;
  line-height: 1.75;
  color: var(--b-ink);
}

.article-body h1,
.article-body h2,
.article-body h3,
.article-body h4 {
  font-family: var(--b-display);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--b-ink);
  margin: 2.5rem 0 0.9rem;
}

.article-body h2 { font-size: 1.85rem; }
.article-body h3 { font-size: 1.4rem; }
.article-body h4 { font-size: 1.15rem; }

.article-body p { margin: 0 0 1.25rem; }

/* ─── Lede + drop cap (first paragraph only) ─── */
.article-body > p:first-of-type {
  font-size: 1.2rem;
  line-height: 1.65;
  color: var(--b-ink-soft);
  font-weight: 400;
}
.article-body > p:first-of-type::first-letter {
  float: left;
  font-family: var(--b-display);
  font-size: 3.75rem;
  line-height: 0.85;
  font-weight: 600;
  padding: 0.38rem 0.65rem 0 0;
  color: var(--b-blue);
}

.article-body a {
  color: var(--b-blue);
  text-decoration: underline;
  text-decoration-color: rgba(37, 99, 235, 0.35);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s ease;
}
.article-body a:hover { text-decoration-color: var(--b-blue); }

.article-body strong { font-weight: 600; color: var(--b-ink); }
.article-body em { font-style: italic; }

.article-body ul,
.article-body ol {
  margin: 0 0 1.5rem;
  padding-left: 1.5rem;
}

.article-body li { margin-bottom: 0.5rem; }

.article-body blockquote {
  margin: 2rem 0;
  padding: 0 0 0 1.5rem;
  border-left: 3px solid var(--b-orange);
  font-family: var(--b-display);
  font-style: italic;
  font-size: 1.35rem;
  line-height: 1.4;
  color: var(--b-ink);
}

.article-body code {
  font-family: 'SF Mono', Menlo, Consolas, monospace;
  font-size: 0.9em;
  background: var(--b-surface);
  padding: 0.15em 0.4em;
  border-radius: 0.25rem;
  color: var(--b-purple);
}

.article-body pre {
  background: var(--b-dark);
  color: #e2e8f0;
  padding: 1.25rem;
  border-radius: 0.5rem;
  overflow-x: auto;
  margin: 1.5rem 0;
  font-size: 0.9rem;
}

.article-body pre code {
  background: transparent;
  color: inherit;
  padding: 0;
}

.article-body hr {
  border: 0;
  height: 2px;
  width: 96px;
  background: var(--b-tri);
  margin: 3rem auto;
  border-radius: 2px;
  opacity: 0.6;
}

.article-body img,
.article-body figure img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  margin: 1.5rem 0;
  display: block;
}

.article-body figure {
  margin: 2rem 0;
}

.article-body figcaption {
  text-align: center;
  font-family: var(--b-body);
  font-size: 0.85rem;
  color: var(--b-muted);
  margin-top: 0.5rem;
}

/* ─── Tables (super minimal, subtle tints) ─── */
.article-body .blog-table,
.article-body table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-family: var(--b-body);
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 2rem 0;
  background: #ffffff;
  border: 1px solid var(--b-line);
  border-radius: 0.625rem;
  overflow: hidden;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.02);
}

.article-body .blog-table thead th,
.article-body thead th {
  padding: 0.8rem 1rem;
  background: var(--b-surface);
  color: var(--b-muted);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: left;
  border-bottom: 1px solid var(--b-line);
  white-space: nowrap;
}

.article-body .blog-table tbody td,
.article-body tbody td {
  padding: 0.9rem 1rem;
  color: var(--b-ink);
  border-bottom: 1px solid var(--b-line-soft);
  vertical-align: top;
  text-align: left;
}

/* Subtle zebra tint — blue at ~2.5% */
.article-body .blog-table tbody tr:nth-child(even) td,
.article-body tbody tr:nth-child(even) td {
  background: rgba(37, 99, 235, 0.025);
}

/* First column reads as a label */
.article-body .blog-table tbody td:first-child,
.article-body tbody td:first-child {
  font-weight: 600;
  color: var(--b-ink);
}

/* Drop the bottom border on the last row so it sits flush with the outer radius */
.article-body .blog-table tbody tr:last-child td,
.article-body tbody tr:last-child td {
  border-bottom: 0;
}

/* Horizontal scroll on narrow screens */
@media (max-width: 600px) {
  .article-body .blog-table,
  .article-body table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* Embedded graph figures (inserted by _replace_graph_placeholders) */
.blog-graph-figure {
  margin: 2.5rem 0;
  text-align: center;
}
.blog-graph-figure img {
  border-radius: 0.75rem;
  border: 1px solid var(--b-line);
}

/* ─── FAQ ─── */
.article-faq {
  max-width: var(--b-read-width);
  margin: 4rem auto 0;
  padding: 0 1.5rem;
}

.article-faq__title {
  font-family: var(--b-display);
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--b-ink);
  margin: 0 0 1.5rem;
  text-align: center;
}

.article-faq__list {
  border-top: 1px solid var(--b-line);
}

.article-faq__item {
  border-bottom: 1px solid var(--b-line);
}

.article-faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  font-family: var(--b-display);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--b-ink);
  cursor: pointer;
  list-style: none;
  transition: color 0.2s ease;
}

.article-faq__item summary::-webkit-details-marker { display: none; }
.article-faq__item summary:hover { color: var(--b-blue); }

.article-faq__item summary i {
  flex-shrink: 0;
  font-size: 0.85rem;
  color: var(--b-muted);
  transition: transform 0.25s ease, color 0.2s ease;
}

.article-faq__item[open] summary i {
  transform: rotate(45deg);
  color: var(--b-orange);
}

.article-faq__item p {
  font-family: var(--b-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--b-ink-soft);
  margin: 0 0 1.25rem;
}

/* ─── Sources ─────────────────────────────────────────────────────── */
/*
 * Minimal end-of-post source list. Matches the FAQ section's container
 * width + rhythm but is intentionally quieter visually — it's a reference
 * list, not a content beat. Two cues tell the reader it's a section:
 *   1. A small uppercase label (no big display heading — the body is done)
 *   2. A soft hairline above the list
 */
.article-sources {
  max-width: var(--b-read-width);
  margin: 3.5rem auto 0;
  padding: 0 1.5rem;
}

.article-sources__title {
  font-family: var(--b-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--b-muted);
  margin: 0 0 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--b-line);
}

.article-sources__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.article-sources__item {
  font-family: var(--b-body);
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--b-ink-soft);
  padding-left: 1.1rem;
  position: relative;
}

.article-sources__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 0.3rem;
  height: 0.3rem;
  border-radius: 50%;
  background: var(--b-muted);
  opacity: 0.55;
}

.article-sources__item a {
  color: var(--b-ink);
  text-decoration: none;
  border-bottom: 1px solid var(--b-line);
  padding-bottom: 1px;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.article-sources__item a:hover {
  color: var(--b-blue);
  border-bottom-color: currentColor;
}

.article-sources__item a[target="_blank"]::after {
  content: "\2197"; /* small up-right arrow */
  display: inline-block;
  margin-left: 0.2em;
  font-size: 0.85em;
  color: var(--b-muted);
  transition: color 0.15s ease, transform 0.15s ease;
}

.article-sources__item a[target="_blank"]:hover::after {
  color: var(--b-blue);
  transform: translate(1px, -1px);
}

/* ─── Share row ─── */
.article-share {
  max-width: var(--b-read-width);
  margin: 4rem auto 0;
  padding: 0 1.5rem;
}

.article-share__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--b-line);
  justify-content: center;
  flex-wrap: wrap;
}

.article-share__label {
  font-family: var(--b-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--b-muted);
}

.article-share__buttons {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.article-share__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--b-surface);
  color: var(--b-ink-soft);
  border: 1px solid var(--b-line);
  cursor: pointer;
  transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease,
              background 0.2s ease;
  font-size: 0.95rem;
  text-decoration: none;
}

.article-share__btn:hover {
  transform: translateY(-2px);
  color: var(--b-blue);
  border-color: var(--b-blue);
  background: #fff;
}

.article-share__btn:nth-child(2):hover { color: var(--b-purple); border-color: var(--b-purple); }
.article-share__btn:nth-child(3):hover { color: var(--b-blue);   border-color: var(--b-blue); }
.article-share__btn:nth-child(4):hover { color: var(--b-orange); border-color: var(--b-orange); }

.article-share__copy--ok {
  color: #16a34a !important;
  border-color: #16a34a !important;
}

/* ─── Bottom CTA (hook) ─── */
.article-cta {
  margin: 5rem auto 0;
  padding: 0 1.5rem;
}

.article-cta__inner {
  position: relative;
  max-width: 62rem;
  margin: 0 auto;
  background: var(--b-dark);
  color: #fff;
  border-radius: 1.5rem;
  padding: 4rem 2.5rem;
  text-align: center;
  overflow: hidden;
}

.article-cta__inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 45% 55% at 15% 20%, rgba(37, 99, 235, 0.38) 0%, transparent 60%),
    radial-gradient(ellipse 40% 45% at 85% 80%, rgba(124, 58, 237, 0.38) 0%, transparent 60%),
    radial-gradient(ellipse 35% 30% at 55% 110%, rgba(249, 115, 22, 0.26) 0%, transparent 65%);
  pointer-events: none;
}

.article-cta__inner > * { position: relative; }

.article-cta__eyebrow {
  font-family: var(--b-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--b-orange);
  margin: 0 0 1rem;
}

.article-cta__title {
  font-family: var(--b-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: #fff;
  margin: 0 0 1.25rem;
}

.article-cta__title em {
  font-style: italic;
  font-weight: 500;
  background: var(--b-tri);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.article-cta__dek {
  font-family: var(--b-body);
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.68);
  max-width: 36rem;
  margin: 0 auto 2rem;
}

.article-cta__actions {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  justify-content: center;
}

.article-cta__primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--b-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--b-ink);
  background: #fff;
  padding: 0.95rem 1.75rem;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.article-cta__primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(37, 99, 235, 0.35);
}

.article-cta__primary i { font-size: 0.78rem; }

.article-cta__secondary {
  font-family: var(--b-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  padding: 0.95rem 0.75rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.article-cta__secondary:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .article-header { padding: 4rem 1.25rem 1.5rem; }
  .article-hero-image { margin: 2rem auto 2.5rem; padding: 0 1.25rem; }
  .article-body { font-size: 1.1rem; line-height: 1.7; }
  .article-body h2 { font-size: 1.6rem; }
  .article-body h3 { font-size: 1.3rem; }
  .article-cta__inner { padding: 3rem 1.5rem; border-radius: 1.25rem; }
}

@media (max-width: 600px) {
  .article { padding-bottom: 4rem; }
  .article-header { padding: 3.5rem 1rem 1.25rem; }
  .article-header__title { font-size: clamp(1.9rem, 8vw, 2.4rem); }
  .article-header__dek { font-size: 1.05rem; }
  .article-header__rule { margin-top: 2.25rem; }
  .article-hero-image { margin: 1.5rem auto 2rem; padding: 0 1rem; }
  .article-tldr,
  .article-pullquote,
  .article-body,
  .article-faq,
  .article-sources,
  .article-share,
  .article-cta { padding: 0 1rem; }
  .article-cta__inner { padding: 2.5rem 1.25rem; border-radius: 1rem; }
  .article-cta__title { font-size: clamp(1.75rem, 8vw, 2.25rem); }
}

/* =============================================================
   Inline Lead-Capture CTA — compact orange variant.
   Tightened from the original (~280px tall) to ~140-170px tall
   so it reads as a contextual nudge, not a takeover. Uses the
   exact #e05a0a -> #f28c28 gradient from home.css hv6-btn--primary.
   ============================================================= */
.dj-inline-cta {
  max-width: 680px;
  margin: 1.75rem auto;
  padding: 0 1rem;
}
.dj-inline-cta__inner {
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(255, 237, 213, 0.55) 0%, transparent 60%),
    linear-gradient(135deg, #fffaf2 0%, #fff5e6 100%);
  border: 1px solid rgba(224, 90, 10, 0.16);
  border-radius: 0.85rem;
  padding: 1rem 1.25rem;
  box-shadow: 0 4px 16px rgba(224, 90, 10, 0.06);
  position: relative;
  overflow: hidden;
}
.dj-inline-cta__inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 90% at 100% 0%, rgba(242, 140, 40, 0.08) 0%, transparent 60%);
  pointer-events: none;
}
.dj-inline-cta__eyebrow {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e05a0a;
  margin: 0 0 0.2rem;
}
.dj-inline-cta__title {
  font-family: 'Inter Tight', 'Poppins', sans-serif;
  font-size: clamp(0.98rem, 1.6vw, 1.1rem);
  font-weight: 700;
  line-height: 1.25;
  color: #1a1a1a;
  margin: 0 0 0.25rem;
}
.dj-inline-cta__dek {
  font-size: 0.85rem;
  line-height: 1.45;
  color: #5a5a5a;
  margin: 0 0 0.7rem;
  max-width: 560px;
}
.dj-inline-cta__form {
  position: relative;
  z-index: 1;
}
.dj-inline-cta__row {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  align-items: stretch;
}
.dj-inline-cta__email {
  flex: 1 1 240px;
  min-width: 200px;
  padding: 0.55rem 0.8rem;
  font-size: 0.9rem;
  border: 1px solid #e2d5c4;
  border-radius: 0.5rem;
  background: #ffffff;
  color: #1a1a1a;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.dj-inline-cta__email:focus {
  outline: none;
  border-color: #e05a0a;
  box-shadow: 0 0 0 3px rgba(224, 90, 10, 0.15);
}
.dj-inline-cta__email::placeholder {
  color: #9ca3af;
}
/* Honeypot — hidden from real users, visible to bots that fill every input */
.dj-inline-cta__honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  tab-index: -1;
}
/* Orange submit button — matches home.css hv6-btn--primary spec
   (#e05a0a -> #f28c28 gradient), compact size for inline placement. */
.dj-inline-cta__submit {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.05rem;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: inherit;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  background: linear-gradient(135deg, #e05a0a 0%, #f28c28 100%);
  color: #ffffff;
  box-shadow:
    0 2px 8px rgba(224, 90, 10, 0.28),
    0 0 0 1px rgba(224, 90, 10, 0.1);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}
.dj-inline-cta__submit:hover,
.dj-inline-cta__submit:focus {
  outline: none;
  box-shadow:
    0 3px 16px rgba(224, 90, 10, 0.38),
    0 0 0 1px rgba(224, 90, 10, 0.2);
  transform: translateY(-1px);
  filter: brightness(1.05);
}
.dj-inline-cta__submit:active {
  transform: translateY(0);
  filter: brightness(0.96);
}
.dj-inline-cta__btn-icon {
  font-size: 0.8em;
  transition: transform 0.2s;
}
.dj-inline-cta__submit:hover .dj-inline-cta__btn-icon {
  transform: translateX(2px);
}
.dj-inline-cta__legal {
  margin: 0.5rem 0 0;
  font-size: 0.7rem;
  color: #6b7280;
  line-height: 1.4;
}
.dj-inline-cta__legal a {
  color: #6b7280;
  text-decoration: underline;
}
.dj-inline-cta__success,
.dj-inline-cta__error {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  padding: 0.45rem 0.7rem;
  border-radius: 0.4rem;
}
.dj-inline-cta__success {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}
.dj-inline-cta__error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* Mid-content variant — slightly muted so it doesn't compete with hero */
.dj-inline-cta--mid .dj-inline-cta__inner {
  background:
    radial-gradient(80% 100% at 100% 100%, rgba(255, 237, 213, 0.35) 0%, transparent 60%),
    linear-gradient(135deg, #ffffff 0%, #fffaf2 100%);
}

@media (max-width: 640px) {
  .dj-inline-cta { margin: 1.25rem auto; }
  .dj-inline-cta__inner { padding: 0.85rem 1rem; border-radius: 0.75rem; }
  .dj-inline-cta__row { flex-direction: column; gap: 0.35rem; }
  .dj-inline-cta__email,
  .dj-inline-cta__submit { width: 100%; justify-content: center; }
}
