/* ══════════════════════════════════════════
   SALLY — Feuille de styles commune
   ══════════════════════════════════════════ */

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── VARIABLES ── */
:root {
  --accent:        #E2FF54;
  --primary:       #004852;
  --white:         #F4F9F8;
  --black:         #353535;
  --primary-light: #005f6b;
  --primary-dark:  #003038;
  --muted:         #7a9ea5;
  --card-bg:       #00343d;
}

/* ── BASE ── */
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--black);
  -webkit-font-smoothing: antialiased;
}

h1 { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: clamp(40px, 5vw, 64px); line-height: 1.08; }
h2 { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: clamp(30px, 4vw, 48px); line-height: 1.15; }
h3 { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 19px; line-height: 1.3; }

/* ── NAVIGATION ── */
.main-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(0, 72, 82, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 255, 84, 0.12);
  padding: 0 6%; height: 68px;
  display: flex; align-items: center; justify-content: space-between;
}

/* ── LOGO ── */
.logo { text-decoration: none; display: flex; align-items: center; }
.logo img { height: 34px; width: auto; display: block; }

/* ── EYEBROW ── */
.eyebrow {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--accent); margin-bottom: 20px;
  display: flex; align-items: center; gap: 8px;
}
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--accent); display: block; }

/* ── BOUTON PRIMAIRE ── */
.btn-primary {
  font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 14px;
  background: var(--accent); color: var(--black);
  border: none; border-radius: 8px; padding: 10px 20px;
  text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
  transition: background 0.2s, transform 0.15s; cursor: pointer;
}
.btn-primary:hover { background: #d4f040; transform: translateY(-1px); }

/* ── BOUTONS STORE ── */
.cta-store-btn {
  font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 14px;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px; border-radius: 10px; text-decoration: none;
  transition: all 0.2s;
}
.cta-store-btn.solid { background: var(--accent); color: var(--black); }
.cta-store-btn.solid:hover { background: #d4f040; transform: translateY(-1px); }
.cta-store-btn.outlined {
  background: transparent; color: var(--white);
  border: 1.5px solid rgba(226,255,84,0.45);
}
.cta-store-btn.outlined:hover { border-color: var(--accent); background: rgba(226,255,84,0.06); }
.store-btn-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.2; }
.store-btn-text small { font-size: 10px; font-weight: 400; opacity: 0.75; text-transform: uppercase; letter-spacing: 0.05em; }

/* ── SECTION HEADER ── */
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { color: var(--white); margin-bottom: 16px; }
.section-header p { font-size: 17px; line-height: 1.65; color: var(--muted); max-width: 540px; margin: 0 auto; }

/* ── NAVIGATION CTA ── */
/* Desktop : "Créer un compte" | Mobile : "Télécharger l'app" */
.nav-cta-mobile { display: none; }
.nav-cta-desktop { display: inline-flex; }

/* ── NAVIGATION LINKS ── */
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a {
  font-size: 14px; font-weight: 500;
  color: rgba(244, 249, 248, 0.72); text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }

/* ── FOOTER ── */
footer { background: #001e24; padding: 64px 6% 0; }
.footer-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 48px; flex-wrap: wrap;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(244,249,248,0.08);
}
.footer-brand { max-width: 280px; }
.footer-logo img { height: 32px; width: auto; display: block; opacity: 0.9; margin-bottom: 16px; }
.footer-tagline { font-size: 14px; line-height: 1.65; color: rgba(244,249,248,0.45); }
.footer-store { margin-top: 24px; }
.footer-store-label {
  font-family: 'Space Grotesk', sans-serif; font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: rgba(244,249,248,0.3); margin-bottom: 10px;
}
.footer-store a {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: 'Space Grotesk', sans-serif; font-size: 13px; font-weight: 600;
  color: var(--white); text-decoration: none;
  background: rgba(244,249,248,0.07); border: 1px solid rgba(244,249,248,0.1);
  border-radius: 8px; padding: 8px 14px; margin-right: 8px;
  transition: background 0.2s, border-color 0.2s;
}
.footer-store a:hover { background: rgba(244,249,248,0.12); border-color: rgba(244,249,248,0.2); }
.footer-nav-group { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col h4 {
  font-family: 'Space Grotesk', sans-serif; font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.09em;
  color: rgba(244,249,248,0.35); margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a {
  font-size: 14px; color: rgba(244,249,248,0.55);
  text-decoration: none; transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--white); }
.footer-col ul a[href^="tel"] { color: var(--accent); font-weight: 600; font-family: 'Space Grotesk', sans-serif; }
.footer-col ul a[href^="tel"]:hover { color: #d4f040; }
.footer-col ul a[href^="mailto"] { color: rgba(244,249,248,0.7); }
.footer-col ul a[href^="mailto"]:hover { color: var(--white); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px; padding: 28px 0;
}
.footer-bottom p { font-size: 12px; color: rgba(244,249,248,0.3); }
.footer-links { display: flex; gap: 20px; }
.footer-links a {
  font-size: 13px; color: rgba(244,249,248,0.4);
  text-decoration: none; transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }
.footer-links a.active { color: var(--accent); }
.footer-badge {
  font-size: 11px; color: rgba(244,249,248,0.3);
  display: flex; align-items: center; gap: 6px;
}
.footer-badge::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); opacity: 0.6; display: block;
}

/* ══════════════════════════════════════════
   INDEX — Landing page
   ══════════════════════════════════════════ */

/* ── HERO ── */
#hero {
  background: var(--primary);
  padding: 140px 6% 100px;
  min-height: 100vh;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: center;
  position: relative; overflow: hidden;
}
#hero::before {
  content: '';
  position: absolute; top: -220px; right: -80px;
  width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(226,255,84,0.07) 0%, transparent 68%);
  pointer-events: none;
}
#hero::after {
  content: '';
  position: absolute; bottom: -120px; left: -80px;
  width: 440px; height: 440px;
  background: radial-gradient(circle, rgba(0,95,107,0.5) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; }
.hero-content h1 { color: var(--white); margin-bottom: 24px; }
.hero-content h1 em { color: var(--accent); font-style: normal; }
.hero-description {
  font-size: 17px; line-height: 1.65;
  color: rgba(244, 249, 248, 0.72); margin-bottom: 40px; max-width: 480px;
}
.cta-group { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual {
  position: relative; z-index: 1;
  display: flex; justify-content: center; align-items: center;
}
.hero-svg { width: 100%; max-width: 480px; }

/* ── STATS BAR ── */
#stats {
  background: var(--accent);
  padding: 28px 6%;
  display: flex; justify-content: center; gap: 60px; flex-wrap: wrap;
}
.stat-item { display: flex; align-items: center; gap: 14px; }
.stat-num {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 30px;
  color: var(--black);
}
.stat-label { font-size: 13px; font-weight: 500; color: rgba(53,53,53,0.72); max-width: 110px; line-height: 1.4; }

/* ── AVANTAGES ── */
#avantages { background: var(--primary-dark); padding: 100px 6%; }
.cards-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px; max-width: 1100px; margin: 0 auto;
}
.card {
  background: var(--card-bg);
  border: 1px solid rgba(226, 255, 84, 0.12);
  border-radius: 16px; padding: 28px;
  transition: border-color 0.25s, transform 0.25s;
}
.card:hover { border-color: rgba(226, 255, 84, 0.35); transform: translateY(-4px); }
.card-icon {
  width: 46px; height: 46px;
  background: rgba(226, 255, 84, 0.11);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 18px;
}
.card h3 { color: var(--white); margin-bottom: 10px; }
.card p { font-size: 14px; line-height: 1.65; color: var(--muted); }

/* ── FONCTIONNEMENT ── */
#fonctionnement { background: var(--white); padding: 100px 6%; }
#fonctionnement .section-header h2 { color: var(--black); }
#fonctionnement .section-header p { color: rgba(53,53,53,0.62); }
.timeline {
  max-width: 680px; margin: 0 auto;
  position: relative; padding-left: 60px;
}
.timeline::before {
  content: '';
  position: absolute; left: 19px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent) 0%, rgba(226,255,84,0.05) 100%);
}
.timeline-item { position: relative; margin-bottom: 48px; }
.timeline-item:last-child { margin-bottom: 0; }
.step-num {
  position: absolute; left: -60px; top: 0;
  width: 40px; height: 40px;
  background: var(--accent); color: var(--black); border-radius: 50%;
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
}
.timeline-item h3 { color: var(--black); margin-bottom: 8px; }
.timeline-item p { font-size: 15px; line-height: 1.65; color: rgba(53,53,53,0.62); }

/* ── COMPARATIF ── */
#comparatif { background: var(--primary); padding: 100px 6%; }
#comparatif .section-header h2 { color: var(--white); }
.table-wrapper {
  overflow-x: auto; max-width: 1100px; margin: 0 auto;
  border-radius: 16px; border: 1px solid rgba(226,255,84,0.15);
}
table { width: 100%; border-collapse: collapse; min-width: 720px; }
thead th {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--muted); padding: 16px 20px;
  background: var(--card-bg); text-align: center;
  border-bottom: 1px solid rgba(226,255,84,0.1);
}
thead th:first-child { text-align: left; }
tbody td {
  padding: 14px 20px; font-size: 14px;
  color: rgba(244,249,248,0.72); text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
tbody td:first-child {
  text-align: left;
  font-family: 'Space Grotesk', sans-serif; font-weight: 600; color: var(--white);
}
.highlight-row { background: rgba(226,255,84,0.07); }
.highlight-row td { color: var(--white); }
.highlight-row td:first-child { color: var(--accent); }
.check   { color: #4ade80; font-size: 15px; }
.cross   { color: #f87171; font-size: 15px; }
.neutral { color: #fb923c; font-size: 15px; }

/* ── BANQUES ── */
#banques { background: var(--white); padding: 100px 6%; }
#banques .section-header h2 { color: var(--black); }
#banques .section-header p  { color: rgba(53,53,53,0.62); }
.banks-category { max-width: 1100px; margin: 0 auto 52px; }
.banks-category:last-of-type { margin-bottom: 0; }
.banks-cat-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--muted); margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0,72,82,0.1);
}
.banks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px;
}
.bank-card {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid rgba(0,72,82,0.12);
  border-radius: 12px;
  padding: 18px 12px;
  transition: border-color 0.2s, box-shadow 0.2s;
  min-height: 90px;
}
.bank-card:hover {
  border-color: rgba(0,72,82,0.3);
  box-shadow: 0 4px 16px rgba(0,72,82,0.08);
}
.bank-card img {
  width: 72px; height: 36px;
  object-fit: contain; object-position: center;
  display: block;
}
.bank-card span {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px; font-weight: 600;
  color: var(--black); text-align: center;
  line-height: 1.3;
}
.bank-card.unsupported { opacity: 0.42; border-style: dashed; }
.bank-card.unsupported span::after { content: ' *'; color: #f87171; }
.banks-footnote {
  max-width: 1100px; margin: 36px auto 0;
  font-size: 13px; color: rgba(53,53,53,0.5);
  padding-top: 16px;
  border-top: 1px solid rgba(0,72,82,0.08);
}
.banks-footnote span { color: #f87171; font-weight: 600; }
.banks-europe {
  max-width: 1100px; margin: 28px auto 0;
  background: var(--primary);
  border-radius: 16px; padding: 28px 32px;
  display: flex; align-items: flex-start; gap: 20px;
}
.banks-europe-icon { font-size: 28px; line-height: 1; flex-shrink: 0; margin-top: 2px; }
.banks-europe-title {
  font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 16px;
  color: var(--white); margin-bottom: 6px;
}
.banks-europe-sub { font-size: 14px; line-height: 1.65; color: var(--muted); }

/* ── CTA DOWNLOAD ── */
#download { background: var(--primary-dark); padding: 110px 6%; text-align: center; }
#download h2 { color: var(--white); margin-bottom: 16px; }
#download > p { font-size: 17px; color: var(--muted); margin-bottom: 44px; }
.download-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ══════════════════════════════════════════
   PRIVACY POLICY — Page légale
   ══════════════════════════════════════════ */

/* ── PAGE HEADER ── */
.page-header {
  background: var(--primary);
  padding: 130px 6% 70px;
  position: relative; overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute; top: -160px; right: -60px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(226,255,84,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.page-header-inner { max-width: 760px; position: relative; z-index: 1; }
.page-header h1 {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700;
  font-size: clamp(28px, 4vw, 44px); line-height: 1.1;
  color: var(--white); margin-bottom: 16px;
}
.page-header-meta {
  font-size: 14px; color: var(--muted);
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.page-header-meta span { display: flex; align-items: center; gap: 6px; }

/* ── LAYOUT ── */
.content-wrapper {
  max-width: 1100px; margin: 0 auto;
  padding: 72px 6% 100px;
  display: grid; grid-template-columns: 220px 1fr; gap: 72px;
  align-items: start;
}

/* ── SIDEBAR TOC ── */
.toc { position: sticky; top: 92px; }
.toc-title {
  font-family: 'Space Grotesk', sans-serif; font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--muted); margin-bottom: 16px;
}
.toc ul { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.toc ul a {
  display: block; font-size: 13px; font-weight: 500;
  color: rgba(53,53,53,0.6); text-decoration: none;
  padding: 6px 10px; border-radius: 6px; border-left: 2px solid transparent;
  transition: all 0.18s;
}
.toc ul a:hover {
  color: var(--primary); background: rgba(0,72,82,0.06);
  border-left-color: var(--accent);
}

/* ── ARTICLE ── */
article { min-width: 0; }
.policy-section {
  margin-bottom: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(0,72,82,0.1);
}
.policy-section:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.policy-section h2 {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 22px;
  color: var(--primary); margin-bottom: 20px;
  display: flex; align-items: center; gap: 10px;
}
.policy-section h2 .section-num {
  font-size: 11px; font-weight: 700;
  background: var(--accent); color: var(--black);
  border-radius: 4px; padding: 2px 7px;
  letter-spacing: 0.04em;
}
.policy-section h3 {
  font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 15px;
  color: var(--black); margin: 24px 0 10px;
}
.policy-section p {
  font-size: 15px; line-height: 1.75; color: rgba(53,53,53,0.82);
  margin-bottom: 14px;
}
.policy-section p:last-child { margin-bottom: 0; }
.policy-section ul, .policy-section ol {
  margin: 12px 0 16px 0; padding-left: 0;
  list-style: none; display: flex; flex-direction: column; gap: 8px;
}
.policy-section ul li, .policy-section ol li {
  font-size: 15px; line-height: 1.7; color: rgba(53,53,53,0.82);
  padding-left: 20px; position: relative;
}
.policy-section ul li::before {
  content: '';
  position: absolute; left: 0; top: 10px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
}
.policy-section ol { counter-reset: ol-counter; }
.policy-section ol li { counter-increment: ol-counter; }
.policy-section ol li::before {
  content: counter(ol-counter) ".";
  position: absolute; left: 0; top: 0;
  font-size: 13px; font-weight: 700; color: var(--primary);
}
.highlight-box {
  background: rgba(0,72,82,0.05); border: 1px solid rgba(0,72,82,0.12);
  border-left: 3px solid var(--accent);
  border-radius: 8px; padding: 16px 20px;
  margin: 20px 0;
  font-size: 14px; line-height: 1.7; color: rgba(53,53,53,0.75);
}
.contact-card {
  background: var(--primary); border-radius: 14px; padding: 24px 28px;
  margin-top: 20px;
}
.contact-card p { color: rgba(244,249,248,0.75); font-size: 14px; margin-bottom: 12px; }
.contact-card p:last-child { margin-bottom: 0; }
.contact-card a { color: var(--accent); text-decoration: none; font-weight: 600; }
.contact-card a:hover { text-decoration: underline; }
.contact-card strong { color: var(--white); }
table.data-table {
  width: 100%; border-collapse: collapse; margin: 16px 0;
  font-size: 14px;
}
table.data-table th {
  font-family: 'Space Grotesk', sans-serif; font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.07em;
  color: var(--muted); padding: 10px 14px; text-align: left;
  background: rgba(0,72,82,0.05);
  border-bottom: 2px solid rgba(0,72,82,0.1);
}
table.data-table td {
  padding: 11px 14px; color: rgba(53,53,53,0.8);
  border-bottom: 1px solid rgba(0,72,82,0.07); vertical-align: top;
  line-height: 1.6;
}

/* ══════════════════════════════════════════
   BLOG POST — Article template
   ══════════════════════════════════════════ */

/* ── POST HEADER ── */
.post-header {
  background: var(--primary);
  padding: 130px 6% 64px;
  position: relative; overflow: hidden;
}
.post-header::before {
  content: '';
  position: absolute; top: -180px; right: -80px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(226,255,84,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.post-header-inner { max-width: 800px; position: relative; z-index: 1; }

.post-category {
  font-family: 'Space Grotesk', sans-serif; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--black); background: var(--accent);
  border-radius: 4px; padding: 3px 9px;
  display: inline-block; margin-bottom: 20px;
}

.post-header h1 {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700;
  font-size: clamp(28px, 4vw, 48px); line-height: 1.08;
  color: var(--white); margin-bottom: 20px;
}

.post-header .post-excerpt {
  font-size: 18px; line-height: 1.65;
  color: rgba(244,249,248,0.65); margin-bottom: 32px; max-width: 660px;
}

.post-meta {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.post-author {
  display: flex; align-items: center; gap: 10px;
}
.post-author-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent); display: flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 13px;
  color: var(--black); flex-shrink: 0;
}
.post-author-name {
  font-family: 'Space Grotesk', sans-serif; font-size: 14px; font-weight: 600;
  color: var(--white);
}
.post-meta-sep { color: rgba(244,249,248,0.2); }
.post-meta-item {
  font-size: 13px; color: rgba(244,249,248,0.5);
  display: flex; align-items: center; gap: 5px;
}

/* ── POST LAYOUT ── */
.post-wrapper {
  max-width: 1100px; margin: 0 auto;
  padding: 72px 6% 100px;
  display: grid; grid-template-columns: 1fr 260px; gap: 72px;
  align-items: start;
}

/* ── PROSE (article body) ── */
/* ── PROSE (article body) ──────────────────
   .prose        = wrapper statique (HTML direct)
   .entry-content = WordPress the_content()
   Les deux classes sont interchangeables.
   ───────────────────────────────────────── */
:is(.prose, .entry-content) { min-width: 0; }

:is(.prose, .entry-content) h2 {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 24px;
  color: var(--primary); margin: 52px 0 16px; line-height: 1.2;
  scroll-margin-top: 88px;
}
:is(.prose, .entry-content) h2:first-child { margin-top: 0; }

:is(.prose, .entry-content) h3 {
  font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 17px;
  color: var(--black); margin: 32px 0 12px;
}

:is(.prose, .entry-content) p {
  font-size: 16px; line-height: 1.8; color: rgba(53,53,53,0.85);
  margin-bottom: 20px;
}
:is(.prose, .entry-content) p:last-child { margin-bottom: 0; }

:is(.prose, .entry-content) strong { color: var(--black); font-weight: 600; }
:is(.prose, .entry-content) em { font-style: italic; }

:is(.prose, .entry-content) a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
:is(.prose, .entry-content) a:hover { color: var(--primary-light); }

:is(.prose, .entry-content) ul,
:is(.prose, .entry-content) ol {
  margin: 16px 0 24px; padding-left: 0;
  list-style: none; display: flex; flex-direction: column; gap: 10px;
}
:is(.prose, .entry-content) ul li,
:is(.prose, .entry-content) ol li {
  font-size: 16px; line-height: 1.75; color: rgba(53,53,53,0.85);
  padding-left: 24px; position: relative;
}
:is(.prose, .entry-content) ul li::before {
  content: '';
  position: absolute; left: 0; top: 11px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
}
:is(.prose, .entry-content) ol { counter-reset: prose-counter; }
:is(.prose, .entry-content) ol li { counter-increment: prose-counter; }
:is(.prose, .entry-content) ol li::before {
  content: counter(prose-counter) ".";
  position: absolute; left: 0; top: 0;
  font-size: 14px; font-weight: 700; color: var(--primary);
}

:is(.prose, .entry-content) blockquote {
  border-left: 3px solid var(--accent);
  background: rgba(0,72,82,0.04);
  border-radius: 0 8px 8px 0;
  padding: 18px 24px; margin: 28px 0;
}
:is(.prose, .entry-content) blockquote p {
  font-size: 17px; line-height: 1.7; color: var(--primary);
  font-style: italic; margin: 0;
}
:is(.prose, .entry-content) blockquote cite {
  display: block; margin-top: 10px;
  font-size: 13px; color: var(--muted); font-style: normal;
}

:is(.prose, .entry-content) figure { margin: 36px 0; }
:is(.prose, .entry-content) figure img {
  width: 100%; border-radius: 12px; display: block;
}
:is(.prose, .entry-content) figcaption {
  font-size: 13px; color: var(--muted); margin-top: 10px; text-align: center;
}

:is(.prose, .entry-content) img {
  max-width: 100%; height: auto; border-radius: 12px; display: block; margin: 28px 0;
}

:is(.prose, .entry-content) hr {
  border: none; border-top: 1px solid rgba(0,72,82,0.12);
  margin: 48px 0;
}

/* ── CALLOUT ── */
.callout {
  background: rgba(0,72,82,0.05); border: 1px solid rgba(0,72,82,0.12);
  border-left: 3px solid var(--accent);
  border-radius: 8px; padding: 18px 22px;
  margin: 28px 0;
}
.callout-title {
  font-family: 'Space Grotesk', sans-serif; font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--primary); margin-bottom: 8px;
}
.callout p { font-size: 15px; color: rgba(53,53,53,0.8); margin: 0; line-height: 1.7; }

/* ── INLINE CTA ── */
.inline-cta {
  background: var(--primary-dark);
  border-radius: 14px; padding: 28px 32px;
  margin: 40px 0;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.inline-cta-text h3 { color: var(--white); font-size: 18px; margin-bottom: 6px; }
.inline-cta-text p { font-size: 14px; color: var(--muted); margin: 0; }

/* ── POST TAGS ── */
.post-tags {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-top: 48px; padding-top: 32px;
  border-top: 1px solid rgba(0,72,82,0.1);
}
.post-tag {
  font-family: 'Space Grotesk', sans-serif; font-size: 12px; font-weight: 600;
  color: var(--primary); background: rgba(0,72,82,0.08);
  border-radius: 6px; padding: 5px 11px; text-decoration: none;
  transition: background 0.2s;
}
.post-tag:hover { background: rgba(0,72,82,0.15); }

/* ── AUTHOR BIO ── */
.author-bio {
  background: rgba(0,72,82,0.04); border: 1px solid rgba(0,72,82,0.1);
  border-radius: 14px; padding: 28px;
  margin-top: 48px;
  display: flex; gap: 20px; align-items: flex-start;
}
.author-bio-avatar {
  width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0;
  background: var(--accent); display: flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 18px;
  color: var(--black);
}
.author-bio-name {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 15px;
  color: var(--black); margin-bottom: 4px;
}
.author-bio-role { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.author-bio p { font-size: 14px; line-height: 1.7; color: rgba(53,53,53,0.72); margin: 0; }

/* ── POST SIDEBAR ── */
.post-sidebar { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 32px; }

.sidebar-toc { }
.sidebar-toc .toc-title {
  font-family: 'Space Grotesk', sans-serif; font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--muted); margin-bottom: 12px;
}
.sidebar-toc ul { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.sidebar-toc ul a {
  display: block; font-size: 13px; font-weight: 500;
  color: rgba(53,53,53,0.6); text-decoration: none;
  padding: 5px 10px; border-radius: 6px; border-left: 2px solid transparent;
  line-height: 1.45;
  transition: all 0.18s;
}
.sidebar-toc ul a:hover { color: var(--primary); background: rgba(0,72,82,0.05); border-left-color: var(--accent); }

.sidebar-cta {
  background: var(--primary); border-radius: 14px; padding: 22px;
}
.sidebar-cta p {
  font-size: 14px; line-height: 1.65; color: rgba(244,249,248,0.65);
  margin-bottom: 16px;
}
.sidebar-cta strong { color: var(--white); display: block; font-size: 15px; margin-bottom: 8px; }

/* ── RELATED POSTS ── */
.related-posts {
  background: var(--white);
  border-top: 1px solid rgba(0,72,82,0.08);
  padding: 72px 6%;
}
.related-posts h2 {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 22px;
  color: var(--black); margin-bottom: 36px;
}
.related-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.related-card {
  border: 1px solid rgba(0,72,82,0.1); border-radius: 14px;
  overflow: hidden; text-decoration: none;
  transition: box-shadow 0.2s, transform 0.2s;
  background: var(--white);
  display: flex; flex-direction: column;
}
.related-card:hover { box-shadow: 0 8px 28px rgba(0,72,82,0.1); transform: translateY(-3px); }
.related-card-img {
  height: 160px; background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 40px;
}
.related-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.related-card-cat {
  font-family: 'Space Grotesk', sans-serif; font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--primary);
}
.related-card-title {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 15px;
  color: var(--black); line-height: 1.35;
}
.related-card-date { font-size: 12px; color: var(--muted); margin-top: auto; }

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  svg animate, svg animateMotion, * {
    animation: none !important;
    transition: none !important;
  }
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta-mobile { display: inline-flex; }
  .nav-cta-desktop { display: none; }
  #hero { grid-template-columns: 1fr; padding: 110px 6% 60px; min-height: auto; }
  .hero-visual { order: -1; }
  #stats { gap: 28px; }
  .cards-grid { grid-template-columns: 1fr; }
  .content-wrapper { grid-template-columns: 1fr; gap: 40px; }
  .toc { position: static; }
  .post-wrapper { grid-template-columns: 1fr; gap: 48px; }
  .post-sidebar { position: static; }
  .inline-cta { flex-direction: column; align-items: flex-start; }
  .author-bio { flex-direction: column; }
}
