/* =========================================================
   SchedulRx marketing site — clean white SaaS, navy + teal
   ========================================================= */

:root {
  /* Logo-matched palette: indigo-navy + teal on white */
  --bg: #FFFFFF;            /* pure white page */
  --surface: #F6F8FB;       /* light section background */
  --surface-2: #EEF2F7;     /* card hover / muted blocks */
  --border: #E4E8EF;
  --border-strong: #C9D1DC;
  --text: #1F1B4D;          /* deep indigo from logo wordmark */
  --text-muted: #4A5170;
  --text-subtle: #6E7591;
  --primary: #2D2A6E;       /* indigo-navy (logo wordmark) */
  --primary-600: #1F1B4D;   /* deeper hover */
  --primary-50: #ECEBF6;    /* indigo tint surface */
  --accent: #2EC4B6;        /* teal (logo nodes) */
  --accent-soft: #E6F8F6;   /* teal tint */
  --success: #1F9D6B;
  --warning: #C28A1F;
  --danger: #C0392B;
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(31, 27, 77, 0.05);
  --shadow: 0 1px 2px rgba(31, 27, 77, 0.05), 0 12px 28px -16px rgba(31, 27, 77, 0.18);
  --shadow-lg: 0 16px 48px -16px rgba(31, 27, 77, 0.22), 0 4px 12px -4px rgba(31, 27, 77, 0.08);
  --container: 1200px;
  --header-h: 68px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, system-ui, sans-serif;
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-600); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  padding: 8px 12px;
  background: var(--text);
  color: #fff;
  border-radius: var(--radius-sm);
  z-index: 100;
}
.skip-link:focus { left: 8px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  margin: 0 0 .4em;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  font-family: var(--font-display);
}
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); line-height: 1.05; font-weight: 600; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.15; letter-spacing: -0.025em; }
h3 { font-size: 1.2rem; line-height: 1.3; }
p  { margin: 0 0 1em; color: var(--text-muted); }
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}
.lede { font-size: 1.15rem; color: var(--text-muted); max-width: 60ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn-sm { padding: 8px 14px; font-size: 0.875rem; }
.btn-lg { padding: 14px 24px; font-size: 1rem; }
.btn-primary {
  background: var(--primary);
  color: #FFFFFF;
  box-shadow: var(--shadow-sm);
  border-color: var(--primary);
}
.btn-primary:hover { background: var(--primary-600); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-gold {
  background: var(--accent);
  color: #0F2D2A;
  box-shadow: var(--shadow-sm);
  border-color: var(--accent);
}
.btn-gold:hover { background: #25A89C; border-color: #25A89C; color: #0F2D2A; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--text);
}
.btn-ghost:hover { background: var(--text); color: var(--bg); transform: translateY(-1px); }

.link-muted { color: var(--text-muted); font-weight: 500; font-size: 0.95rem; }
.link-muted:hover { color: var(--text); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 242, 0.88);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.brand:hover { color: var(--text); }
.brand--footer { font-size: 1rem; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
}
.site-nav a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 6px 0;
  position: relative;
}
.site-nav a:hover { color: var(--text); }
.site-nav a[aria-current="page"] { color: var(--text); }

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

@media (max-width: 960px) {
  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px;
    gap: 12px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: flex; }
  .site-header__actions { margin-left: auto; }
  .nav-toggle { display: flex; }
  .site-header__actions .link-muted { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 96px 0 72px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 460px at 88% -10%, rgba(183, 137, 47, 0.14), transparent 60%),
    radial-gradient(700px 340px at -5% 10%, rgba(20, 24, 28, 0.05), transparent 60%);
  z-index: -1;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero__title { margin-bottom: 16px; }
.hero__subtitle { font-size: 1.2rem; color: var(--text-muted); max-width: 56ch; margin-bottom: 28px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.hero__trust { font-size: 0.9rem; color: var(--text-subtle); display: flex; align-items: center; gap: 8px; }
.hero__trust::before {
  content: '';
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.18);
}
.hero__visual {
  position: relative;
  perspective: 1400px;
}
.browser-frame {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: rotateY(-3deg) rotateX(1.5deg);
  transition: transform .4s ease;
}
.browser-frame:hover { transform: rotateY(0) rotateX(0); }
.browser-frame__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.browser-frame__bar span {
  width: 10px; height: 10px; border-radius: 50%; background: #d6dae3;
}
.browser-frame__body img { display: block; width: 100%; height: auto; }

@media (max-width: 880px) {
  .hero { padding: 56px 0 40px; }
  .hero__grid { grid-template-columns: 1fr; gap: 32px; }
  .browser-frame { transform: none; }
}

/* ---------- Section primitives ---------- */
.section { padding: 72px 0; }
.section--alt { background: var(--surface); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section__head h2 { margin-bottom: 12px; }
.section__head p { font-size: 1.1rem; }

/* ---------- Trust strip ---------- */
.trust-strip {
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.trust-strip__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  color: var(--text-subtle);
  font-size: 0.9rem;
}
.trust-strip strong { color: var(--text-muted); font-weight: 600; }

/* ---------- Feature pillars ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pillar {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.pillar:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--primary); }
.pillar__icon {
  width: 48px; height: 48px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.pillar__icon svg { width: 22px; height: 22px; }
.pillar h3 { margin-bottom: 8px; }
.pillar p { margin: 0; }

@media (max-width: 880px) {
  .pillars { grid-template-columns: 1fr; }
}

/* ---------- Feature deep-dive rows ---------- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
}
.feature-row:last-child { border-bottom: 0; }
.feature-row--reverse .feature-row__visual { order: -1; }
.feature-row__eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--primary);
  margin-bottom: 12px;
}
.feature-row h2 { font-size: 1.8rem; margin-bottom: 12px; }
.feature-row__list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}
.feature-row__list li {
  padding: 6px 0 6px 28px;
  position: relative;
  color: var(--text-muted);
}
.feature-row__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 12px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--primary-50);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'><path d='M3.5 8.5l3 3 6-7' stroke='%23B7892F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
}
.feature-row__visual {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.feature-row__visual img { display: block; width: 100%; }

@media (max-width: 960px) {
  .feature-row { grid-template-columns: 1fr; gap: 32px; padding: 40px 0; }
  .feature-row--reverse .feature-row__visual { order: 0; }
}

/* ---------- How it works ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
}
.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-size: 1.05rem;
}
.step h3 { margin-bottom: 6px; }
.step p { margin: 0; }
@media (max-width: 880px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Pricing teaser ---------- */
.pricing-teaser {
  background: var(--primary);
  background-image: radial-gradient(800px 400px at 90% 0%, rgba(46, 196, 182, 0.22), transparent 60%);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 56px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: center;
  border: 1px solid var(--primary-600);
}
.pricing-teaser h2 { color: #FFFFFF; margin-bottom: 10px; }
.pricing-teaser p { color: rgba(255, 255, 255, 0.82); margin: 0; }
.pricing-teaser .btn-gold { color: #0F2D2A; background: var(--accent); border-color: var(--accent); }
.pricing-teaser .btn-gold:hover { background: #25A89C; border-color: #25A89C; }
.pricing-teaser .btn-ghost {
  background: transparent;
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.4);
}
.pricing-teaser .btn-ghost:hover { background: rgba(255, 255, 255, 0.1); color: #FFFFFF; border-color: rgba(255, 255, 255, 0.7); }
.pricing-teaser__actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 880px) {
  .pricing-teaser { grid-template-columns: 1fr; padding: 32px; }
  .pricing-teaser__actions { justify-content: flex-start; }
}

/* ---------- Testimonials ---------- */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.testimonial blockquote { margin: 0 0 16px; font-size: 1.05rem; color: var(--text); line-height: 1.55; }
.testimonial__author { display: flex; align-items: center; gap: 12px; }
.testimonial__avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--surface-2);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600; color: var(--text-muted);
}
.testimonial__name { font-weight: 600; font-size: 0.95rem; }
.testimonial__role { font-size: 0.85rem; color: var(--text-subtle); }
@media (max-width: 880px) { .testimonials { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-size: 1.6rem;
  color: var(--primary);
  transition: transform .2s ease;
  font-weight: 300;
  line-height: 1;
  font-family: var(--font-display);
}
.faq details > div { padding-top: 12px; color: var(--text-muted); }

/* ---------- Lead form ---------- */
.lead {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
  box-shadow: var(--shadow);
}
.lead__intro h2 { margin-bottom: 12px; }
.lead__intro p { margin-bottom: 18px; }
.lead__perks { list-style: none; padding: 0; margin: 0; }
.lead__perks li { padding: 6px 0 6px 24px; position: relative; color: var(--text-muted); font-size: 0.95rem; }
.lead__perks li::before { content: '✓'; position: absolute; left: 0; color: var(--success); font-weight: 700; }

.lead-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.lead-form .full { grid-column: 1 / -1; }
.lead-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(183, 137, 47, 0.20);
}
.lead-form .honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.lead-form__notice {
  font-size: 0.82rem;
  color: var(--text-subtle);
  margin: 0;
}
.lead-form__error {
  display: none;
  background: #FBEFEF;
  color: var(--danger);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  border: 1px solid #ECCFCF;
}
.lead-form__error.is-visible { display: block; }
.lead-form button[type="submit"] { padding: 12px 20px; }

@media (max-width: 880px) {
  .lead { grid-template-columns: 1fr; padding: 28px; }
  .lead-form { grid-template-columns: 1fr; }
}

/* ---------- Final CTA ---------- */
.final-cta {
  text-align: center;
  padding: 96px 0;
  background: var(--primary);
  background-image: radial-gradient(900px 450px at 50% -10%, rgba(46, 196, 182, 0.22), transparent 60%);
  border-top: 1px solid var(--primary-600);
  color: #FFFFFF;
}
.final-cta h2 { margin-bottom: 14px; color: #FFFFFF; }
.final-cta p { color: rgba(255, 255, 255, 0.82); }
.final-cta__actions { display: flex; gap: 12px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }
.final-cta .btn-gold { color: #0F2D2A; }
.final-cta .btn-ghost { color: #FFFFFF; border-color: rgba(255, 255, 255, 0.5); }
.final-cta .btn-ghost:hover { background: rgba(255, 255, 255, 0.1); color: #FFFFFF; border-color: #FFFFFF; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 64px 0 24px;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.8fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 32px;
}
.site-footer__tagline { color: var(--text-muted); margin: 8px 0 16px; }
.site-footer__address {
  font-style: normal;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.site-footer__address a { color: var(--text-muted); }
.site-footer__address a:hover { color: var(--primary); }
.site-footer__col h3 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-bottom: 12px;
}
.site-footer__col ul { list-style: none; padding: 0; margin: 0; }
.site-footer__col li { margin-bottom: 8px; }
.site-footer__col a { color: var(--text-muted); font-size: 0.95rem; }
.site-footer__col a:hover { color: var(--text); }
.site-footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  font-size: 0.85rem;
  color: var(--text-subtle);
}
@media (max-width: 880px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .site-footer__brand { grid-column: 1 / -1; }
}

/* ---------- Legal page (privacy / terms) ---------- */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 24px;
}
.legal h1 { font-size: 2.2rem; margin-bottom: 16px; }
.legal h2 { font-size: 1.3rem; margin-top: 32px; margin-bottom: 8px; }
.legal p, .legal li { color: var(--text-muted); }
.legal__updated { color: var(--text-subtle); font-size: 0.9rem; margin-bottom: 32px; }

/* ---------- Thanks page ---------- */
.thanks {
  text-align: center;
  padding: 120px 24px;
  max-width: 560px;
  margin: 0 auto;
}
.thanks__icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(16, 185, 129, 0.12);
  color: var(--success);
  display: inline-flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
}

/* ---------- Blog ---------- */
.blog-hero {
  padding: 88px 0 36px;
  background: linear-gradient(180deg, var(--surface), var(--bg));
  border-bottom: 1px solid var(--border);
}
.blog-hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 12px; }
.blog-hero .lede { max-width: 60ch; }

.blog-list { padding: 56px 0 80px; }
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 1024px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .post-grid { grid-template-columns: 1fr; } }

.post-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.post-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--border-strong); }
.post-card__cover { display: block; aspect-ratio: 16/9; overflow: hidden; background: var(--surface); }
.post-card__cover img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card__meta {
  display: flex; gap: 6px; align-items: center;
  font-size: 0.82rem; color: var(--text-subtle);
}
.post-card__tag, .post__tag, .related-card__tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--primary-50);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.post-card__title { font-size: 1.15rem; line-height: 1.3; margin: 0; }
.post-card__title a { color: var(--text); }
.post-card__title a:hover { color: var(--primary); }
.post-card__desc { color: var(--text-muted); font-size: 0.95rem; margin: 0; flex: 1; }
.post-card__cta { font-weight: 600; font-size: 0.9rem; color: var(--primary); }

/* Blog post page */
.breadcrumb {
  padding: 24px 24px 0;
  font-size: 0.9rem;
  color: var(--text-subtle);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.breadcrumb a { color: var(--text-subtle); }
.breadcrumb a:hover { color: var(--primary); }

.post__header {
  max-width: 760px;
  padding-top: 24px;
  padding-bottom: 24px;
}
.post__title { font-size: clamp(2rem, 4vw, 2.8rem); margin: 12px 0 12px; line-height: 1.15; }
.post__lede { font-size: 1.15rem; color: var(--text-muted); }
.post__meta {
  display: flex; gap: 8px; align-items: center;
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--text-subtle);
}
.post__cover {
  max-width: 1080px;
  padding-top: 8px;
  padding-bottom: 32px;
}
.post__cover img {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 630;
  object-fit: cover;
}
.post__body {
  max-width: 760px;
  font-size: 1.05rem;
  line-height: 1.75;
}
.post__body h2 { font-size: 1.6rem; margin: 1.8em 0 .4em; }
.post__body h3 { font-size: 1.25rem; margin: 1.5em 0 .4em; }
.post__body p, .post__body li { color: var(--text); }
.post__body ul, .post__body ol { padding-left: 1.4em; }
.post__body img {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin: 1.4em 0;
}
.post__body blockquote {
  border-left: 3px solid var(--primary);
  background: var(--primary-50);
  padding: 18px 22px;
  margin: 1.6em 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.1rem;
  line-height: 1.55;
  font-style: italic;
}
.post__body code {
  background: var(--surface-2);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.92em;
}
.post__body a { color: var(--primary); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

.post__cta { max-width: 1080px; margin-top: 48px; }
.cta-card {
  background: var(--primary);
  background-image: radial-gradient(600px 300px at 90% 0%, rgba(46, 196, 182, 0.22), transparent 60%);
  border: 1px solid var(--primary-600);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 36px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}
.cta-card h2 { color: #FFFFFF; }
.cta-card p { color: rgba(255, 255, 255, 0.82); }
.cta-card .btn-gold { color: #0F2D2A; }
.cta-card h2 { font-size: 1.4rem; margin-bottom: 6px; }
.cta-card p { margin: 0; }
@media (max-width: 720px) {
  .cta-card { grid-template-columns: 1fr; }
}

.post__related { max-width: 1080px; margin-top: 64px; padding-bottom: 80px; }
.post__related h2 { font-size: 1.4rem; margin-bottom: 20px; }
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.related-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  color: var(--text);
  transition: transform .2s ease, box-shadow .2s ease;
}
.related-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--text); }
.related-card h3 { font-size: 1rem; margin: 0; line-height: 1.3; color: var(--text); }
.related-card__tag { align-self: flex-start; }
.related-card__cta { color: var(--primary); font-weight: 600; font-size: 0.9rem; margin-top: auto; }
@media (max-width: 880px) { .related-grid { grid-template-columns: 1fr; } }
