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

:root {
  --cream: #FAF7F2;
  --warm-white: #FFFCF8;
  --sand: #F0EBE1;
  --sand-dark: #DDD5C8;
  --clay: #C4855A;
  --clay-light: rgba(196,133,90,0.12);
  --clay-dark: #A86B43;
  --forest: #2D5A4E;
  --forest-light: #3D7A6A;
  --forest-pale: #EBF4F1;
  --forest-deep: #1E3D35;
  --charcoal: #1C2B28;
  --ink: #2F3D3A;
  --muted: #6B7B77;
  --muted-light: #9AADA8;
  --border: #E2D9CF;
  --border-strong: #CBBFB3;
  --accent-gold: #D4A843;
  --accent-gold-pale: rgba(212,168,67,0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow: 0 2px 20px rgba(44,58,52,0.08);
  --shadow-lg: 0 8px 48px rgba(44,58,52,0.14);
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--warm-white);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--sand-dark); border-radius: 3px; }

/* ── STICKY FLOATING CTA ── */
.sticky-cta {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 200;
  background: var(--clay); color: #fff;
  border: none; border-radius: 100px;
  padding: 0.85rem 1.75rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem; font-weight: 600;
  cursor: pointer;
  box-shadow: 0 6px 28px rgba(196,133,90,0.45);
  transition: all 0.2s;
  display: none;
  align-items: center; gap: 0.5rem;
  animation: slideUp 0.3s ease;
}
.sticky-cta:hover { background: var(--clay-dark); transform: translateY(-2px); box-shadow: 0 10px 36px rgba(196,133,90,0.5); }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ── ANNOUNCEMENT BANNER ── */

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,252,248,0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0 2.5rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 66px;
}
.nav-logo {
  font-family: 'Lora', serif;
  font-size: 1.45rem; font-weight: 600;
  color: var(--forest); cursor: pointer;
  letter-spacing: -0.02em;
  display: flex; align-items: center; gap: 0.5rem;
}
.nav-links { display: flex; gap: 0.25rem; list-style: none; align-items: center; }
.nav-links a {
  font-size: 0.875rem; font-weight: 400;
  color: var(--muted); text-decoration: none;
  padding: 0.4rem 0.75rem; border-radius: 8px;
  transition: all 0.2s; cursor: pointer;
}
.nav-links a:hover { color: var(--forest); background: var(--forest-pale); }
.nav-links a.active { color: var(--forest); font-weight: 500; }
.nav-cta {
  background: var(--forest) !important;
  color: #fff !important;
  padding: 0.45rem 1.2rem !important;
  border-radius: 100px !important;
  font-weight: 500 !important;
  margin-left: 0.5rem;
}
.nav-cta:hover { background: var(--forest-light) !important; }

/* ── PAGES ── */
.page { display: none; }
.page.active { display: block; animation: fadeUp 0.35s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }

/* ── HERO ── */
.hero {
  background: var(--cream);
  padding: 6rem 2.5rem 5.5rem;
  text-align: center;
  position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(45,90,78,0.09) 0%, transparent 60%),
    radial-gradient(ellipse 40% 30% at 80% 100%, rgba(196,133,90,0.06) 0%, transparent 50%);
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.76rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--clay);
  background: var(--clay-light);
  padding: 0.3rem 1rem; border-radius: 100px;
  margin-bottom: 1.75rem;
}
/* The headline is a 20-word positioning statement, not a four-word hook.
   At the old clamp (up to 67px) it ran seven lines and swamped the fold, so
   the scale comes down and the measure opens up. */
.hero h1 {
  font-family: 'Lora', serif;
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  line-height: 1.32; color: var(--charcoal);
  max-width: 940px; margin: 0 auto 1.75rem;
  font-weight: 500; letter-spacing: -0.015em;
  text-wrap: balance;
}
.hero h1 em { font-style: italic; color: var(--forest); }
.hero-sub {
  font-size: 1.15rem; color: var(--muted);
  max-width: 600px; margin: 0 auto 0.75rem;
  font-weight: 300; line-height: 1.75;
}
.hero-sub strong { color: var(--ink); font-weight: 500; }
.hero-kw {
  font-size: 0.82rem; color: var(--muted-light);
  margin-bottom: 2.5rem; font-weight: 300;
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3.5rem; }

/* Buttons */
.btn-primary {
  background: var(--forest); color: #fff;
  border: none; padding: 0.875rem 2.25rem;
  border-radius: 100px; font-size: 0.95rem;
  font-weight: 500; cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(45,90,78,0.25);
}
.btn-primary:hover { background: var(--forest-light); transform: translateY(-2px); box-shadow: 0 6px 24px rgba(45,90,78,0.3); }
.btn-outline {
  background: transparent; color: var(--forest);
  border: 1.5px solid var(--forest); padding: 0.875rem 2.25rem;
  border-radius: 100px; font-size: 0.95rem;
  font-weight: 500; cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: all 0.2s;
}
.btn-outline:hover { background: var(--forest); color: #fff; }
.btn-ghost {
  background: transparent; color: var(--muted);
  border: none; font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem; cursor: pointer;
  display: inline-flex; align-items: center; gap: 0.4rem;
  transition: color 0.2s;
}
.btn-ghost:hover { color: var(--forest); }

/* Trust bar */
.trust-bar {
  border-top: 1px solid var(--border);
  padding-top: 2.5rem;
  display: flex; flex-direction: column; align-items: center; gap: 1.25rem;
}
.trust-label { font-size: 0.76rem; color: var(--muted-light); letter-spacing: 0.1em; text-transform: uppercase; font-weight: 400; }
.trust-logos { display: flex; gap: 2.5rem; flex-wrap: wrap; justify-content: center; align-items: center; }
.trust-logo { font-family: 'Lora', serif; font-size: 1rem; color: var(--sand-dark); font-weight: 600; letter-spacing: 0.03em; }
.trust-canadian {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.78rem; color: var(--muted); background: var(--forest-pale);
  padding: 0.3rem 0.9rem; border-radius: 100px; border: 1px solid rgba(45,90,78,0.15);
  margin-top: 0.5rem;
}

/* ── PAIN SECTION ── */
.pain-section { background: var(--forest-deep); padding: 5.5rem 2.5rem; }
.pain-section .section-label { color: var(--accent-gold); }
.pain-section .section-title { color: #fff; max-width: 640px; }
.pain-section .section-body { color: rgba(255,255,255,0.6); max-width: 580px; }
.pain-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 1.25rem; margin-top: 3rem;
}
.pain-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg); padding: 1.75rem;
  transition: background 0.2s;
}
.pain-card:hover { background: rgba(255,255,255,0.08); }
.pain-number {
  font-family: 'Lora', serif; font-size: 2rem;
  color: var(--clay); font-weight: 500; line-height: 1;
  margin-bottom: 1rem;
}
.pain-card h3 { font-family: 'Lora', serif; font-size: 1.05rem; color: #fff; font-weight: 500; margin-bottom: 0.6rem; }
.pain-card p { font-size: 0.875rem; color: rgba(255,255,255,0.55); line-height: 1.7; font-weight: 300; }
.pain-card .pain-stat { font-size: 0.78rem; color: var(--accent-gold); margin-top: 0.75rem; font-weight: 500; }

/* ── SECTIONS ── */
section { padding: 5.5rem 2.5rem; }
.container { max-width: 1120px; margin: 0 auto; }
.section-label {
  font-size: 0.76rem; font-weight: 600; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--clay); margin-bottom: 0.75rem;
  display: block;
}
.section-title {
  font-family: 'Lora', serif;
  font-size: clamp(1.85rem, 3.5vw, 2.7rem);
  color: var(--charcoal); font-weight: 500;
  line-height: 1.18; letter-spacing: -0.02em;
  max-width: 580px;
}
.section-title em { font-style: italic; color: var(--forest); }
.section-body {
  font-size: 1rem; color: var(--muted);
  max-width: 520px; margin-top: 1rem;
  font-weight: 300; line-height: 1.8;
}

/* ── FEATURE GRID ── */
.feat-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(310px, 100%), 1fr));
  gap: 1.5rem; margin-top: 3rem;
}
.feat-card {
  background: var(--cream); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.feat-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--border-strong); }
.feat-icon {
  width: 46px; height: 46px; background: var(--forest-pale);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem; font-size: 1.3rem;
}
.feat-tag {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--clay);
  margin-bottom: 0.4rem; display: block;
}
.feat-card h3 {
  font-family: 'Lora', serif; font-size: 1.15rem;
  color: var(--charcoal); margin-bottom: 0.65rem; font-weight: 500;
}
.feat-card p { font-size: 0.875rem; color: var(--muted); line-height: 1.7; font-weight: 300; }
.feat-card .feat-kw { font-size: 0.72rem; color: var(--muted-light); margin-top: 1rem; font-style: italic; }

/* ── CASE STUDIES ── */
.case-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 1.5rem; margin-top: 3rem;
}
.case-card {
  background: var(--warm-white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.case-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.case-header {
  padding: 1.75rem 1.75rem 1.25rem;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: flex-start; gap: 1rem;
}
.case-logo {
  width: 48px; height: 48px; border-radius: 10px;
  background: var(--forest-pale);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; flex-shrink: 0;
}
.case-org { font-size: 0.95rem; font-weight: 500; color: var(--charcoal); }
.case-industry { font-size: 0.75rem; color: var(--muted-light); margin-top: 0.15rem; }
.case-metrics {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0; border-bottom: 1px solid var(--border);
}
.case-metric {
  padding: 1.1rem 1.5rem; border-right: 1px solid var(--border);
  text-align: center;
}
.case-metric:last-child { border-right: none; }
.case-metric .m-num {
  font-family: 'Lora', serif; font-size: 1.8rem;
  color: var(--forest); font-weight: 500; line-height: 1;
}
.case-metric .m-lbl { font-size: 0.72rem; color: var(--muted); margin-top: 0.3rem; line-height: 1.4; font-weight: 300; }
.case-body { padding: 1.25rem 1.75rem 1.5rem; }
.case-challenge { font-size: 0.8rem; font-weight: 600; color: var(--clay); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.4rem; }
.case-body p { font-size: 0.875rem; color: var(--muted); line-height: 1.65; font-weight: 300; }
.case-link { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.82rem; font-weight: 500; color: var(--forest); margin-top: 1rem; cursor: pointer; }

/* ── VS SECTION ── */
.vs-section { background: var(--cream); }
.vs-table-wrap { margin-top: 3rem; border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow-x: auto; overflow-y: hidden;
  -webkit-overflow-scrolling: touch; }
.vs-table { min-width: 640px; }
.vs-table { width: 100%; border-collapse: collapse; }
.vs-table th {
  padding: 1rem 1.5rem; text-align: left;
  font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--sand); color: var(--muted);
  border-bottom: 1px solid var(--border);
}
.vs-table th.talcura-col { color: var(--forest); background: var(--forest-pale); }
.vs-table td {
  padding: 0.9rem 1.5rem; font-size: 0.88rem;
  border-bottom: 1px solid var(--border); vertical-align: middle;
  font-weight: 300; color: var(--ink); line-height: 1.5;
}
.vs-table tr:last-child td { border-bottom: none; }
.vs-table tr:hover td { background: rgba(235,244,241,0.4); }
.vs-table td.talcura-col { background: rgba(235,244,241,0.3); }
.check { color: var(--forest); font-weight: 600; font-size: 1rem; }
.cross { color: var(--muted-light); font-size: 1rem; }
.vs-table td:first-child { font-weight: 400; color: var(--charcoal); }
.vs-caption { font-size: 0.8rem; color: var(--muted-light); margin-top: 1rem; font-style: italic; text-align: center; }

/* ── STATS BAND ── */
.stats-band { background: var(--forest); padding: 4.5rem 2.5rem; }
.stats-grid {
  max-width: 960px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
  gap: 2.5rem; text-align: center;
}
.stat-num {
  font-family: 'Lora', serif; font-size: 3rem;
  color: #fff; font-weight: 500; line-height: 1;
}
.stat-num span { font-size: 1.5rem; }
.stat-label { font-size: 0.83rem; color: rgba(255,255,255,0.6); margin-top: 0.5rem; font-weight: 300; line-height: 1.5; }

/* ── INDUSTRY SECTION ── */
.industry-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 1.25rem; margin-top: 3rem;
}
.industry-card {
  background: var(--warm-white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.75rem;
  cursor: pointer; transition: all 0.2s;
}
.industry-card:hover { border-color: var(--forest); box-shadow: var(--shadow); transform: translateY(-2px); }
.industry-icon { font-size: 1.8rem; margin-bottom: 0.75rem; }
.industry-card h3 { font-family: 'Lora', serif; font-size: 1rem; color: var(--charcoal); font-weight: 500; margin-bottom: 0.5rem; }
.industry-card p { font-size: 0.83rem; color: var(--muted); line-height: 1.65; font-weight: 300; }
.industry-card .ind-link { font-size: 0.78rem; color: var(--forest); margin-top: 0.75rem; display: block; font-weight: 500; }

/* ── TESTIMONIAL ── */
.testimonial-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 1.5rem; margin-top: 3rem;
}
.testimonial-card {
  background: var(--warm-white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem;
  display: flex; flex-direction: column; justify-content: space-between;
}
.testimonial-stars { color: var(--accent-gold); font-size: 0.85rem; margin-bottom: 1rem; letter-spacing: 2px; }
.testimonial-card blockquote {
  font-family: 'Lora', serif; font-size: 0.97rem;
  color: var(--ink); line-height: 1.75; font-style: italic;
  font-weight: 400; flex: 1; margin-bottom: 1.5rem;
}
.reviewer { display: flex; align-items: center; gap: 0.75rem; }
.reviewer-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--forest-pale);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 600; color: var(--forest); flex-shrink: 0;
}
.reviewer-name { font-size: 0.88rem; font-weight: 500; color: var(--charcoal); }
.reviewer-role { font-size: 0.77rem; color: var(--muted-light); margin-top: 1px; }

/* ── SWITCH SECTION ── */
.switch-section { background: var(--cream); }
.switch-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
}
@media (max-width: 720px) { .switch-grid { grid-template-columns: 1fr; gap: 2rem; } }
.switch-steps { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; }
.switch-step { display: flex; gap: 1.25rem; align-items: flex-start; }
.step-num {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--forest); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 600; flex-shrink: 0;
}
.step-body h3 { font-size: 0.95rem; font-weight: 500; color: var(--charcoal); margin-bottom: 0.3rem; }
.step-body p { font-size: 0.85rem; color: var(--muted); font-weight: 300; line-height: 1.65; }
.switch-visual {
  background: var(--forest-deep); border-radius: var(--radius-xl);
  padding: 2.5rem; display: flex; flex-direction: column; gap: 1.25rem;
}
.sw-before, .sw-after {
  border-radius: var(--radius); padding: 1.25rem 1.5rem;
}
.sw-before { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); }
.sw-after { background: rgba(61,122,106,0.3); border: 1px solid rgba(61,122,106,0.4); }
.sw-label { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; margin-bottom: 0.5rem; }
.sw-before .sw-label { color: rgba(255,255,255,0.35); }
.sw-after .sw-label { color: var(--accent-gold); }
.sw-text { font-family: 'Lora', serif; font-size: 1.05rem; font-style: italic; line-height: 1.5; }
.sw-before .sw-text { color: rgba(255,255,255,0.5); }
.sw-after .sw-text { color: #fff; }
.sw-arrow { text-align: center; color: var(--clay); font-size: 1.25rem; }

/* ── PRICING ── */
.pricing-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr));
  gap: 1.5rem; margin-top: 3rem; align-items: start;
}
.pricing-card {
  background: var(--cream); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2.25rem;
}
.pricing-card.featured {
  background: var(--forest); border-color: var(--forest);
  transform: scale(1.03); box-shadow: var(--shadow-lg);
}
.plan-badge {
  display: inline-block; font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--accent-gold-pale); color: var(--accent-gold);
  padding: 0.25rem 0.75rem; border-radius: 100px; margin-bottom: 1rem;
}
.pricing-card.featured .plan-badge { background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.9); }
.plan-name { font-family: 'Lora', serif; font-size: 1.45rem; font-weight: 500; color: var(--charcoal); }
.pricing-card.featured .plan-name { color: #fff; }
.plan-tagline { font-size: 0.83rem; color: var(--muted); margin-top: 0.3rem; font-weight: 300; line-height: 1.5; }
.pricing-card.featured .plan-tagline { color: rgba(255,255,255,0.6); }
.plan-price { font-family: 'Lora', serif; font-size: 2.6rem; font-weight: 500; color: var(--charcoal); line-height: 1; margin: 1.25rem 0 0.25rem; }
.pricing-card.featured .plan-price { color: #fff; }
.plan-per { font-size: 0.8rem; color: var(--muted); }
.pricing-card.featured .plan-per { color: rgba(255,255,255,0.55); }
.plan-desc { font-size: 0.875rem; color: var(--muted); margin: 1.1rem 0 0; line-height: 1.65; font-weight: 300; }
.pricing-card.featured .plan-desc { color: rgba(255,255,255,0.7); }
.plan-divider { border: none; border-top: 1px solid var(--border); margin: 1.5rem 0; }
.pricing-card.featured .plan-divider { border-color: rgba(255,255,255,0.15); }
.plan-features { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
.plan-features li { font-size: 0.86rem; color: var(--muted); display: flex; align-items: flex-start; gap: 0.6rem; line-height: 1.5; }
.pricing-card.featured .plan-features li { color: rgba(255,255,255,0.8); }
.plan-features li::before { content: '✓'; color: var(--forest); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.pricing-card.featured .plan-features li::before { color: var(--accent-gold); }
.plan-cta { width: 100%; margin-top: 2rem; padding: 0.85rem; border-radius: 100px; font-family: 'DM Sans', sans-serif; font-size: 0.9rem; font-weight: 500; cursor: pointer; transition: all 0.2s; }
.plan-cta-outline { background: transparent; color: var(--forest); border: 1.5px solid var(--forest); }
.plan-cta-outline:hover { background: var(--forest); color: #fff; }
.plan-cta-solid { background: #fff; color: var(--forest); border: none; }
.plan-cta-solid:hover { background: var(--cream); }
.pricing-guarantee { text-align: center; margin-top: 2.5rem; font-size: 0.83rem; color: var(--muted); font-weight: 300; line-height: 1.7; }
.pricing-guarantee strong { color: var(--charcoal); font-weight: 500; }

/* ── FAQ ── */
.faq-list { margin-top: 3rem; display: flex; flex-direction: column; gap: 0; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  width: 100%; background: none; border: none;
  padding: 1.25rem 1.75rem; text-align: left;
  font-family: 'DM Sans', sans-serif; font-size: 0.95rem;
  font-weight: 500; color: var(--charcoal); cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  transition: background 0.2s;
}
.faq-q:hover { background: var(--cream); }
.faq-icon { color: var(--forest); font-size: 1.2rem; transition: transform 0.25s; flex-shrink: 0; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s; }
.faq-item.open .faq-a { max-height: 300px; }
.faq-a-inner { padding: 0 1.75rem 1.25rem; font-size: 0.88rem; color: var(--muted); line-height: 1.75; font-weight: 300; }

/* ── ABOUT ── */
.about-hero { background: var(--cream); padding: 5rem 2.5rem 4rem; }
.about-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 5rem; align-items: center; }
@media (max-width: 720px) { .about-split { grid-template-columns: 1fr; gap: 2.5rem; } }
.about-visual { background: var(--forest-deep); border-radius: var(--radius-xl); padding: 3rem 2.5rem; }
.about-stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2rem; }
.about-stat { text-align: center; }
.about-stat .num { font-family: 'Lora', serif; font-size: 2.2rem; color: #fff; font-weight: 500; }
.about-stat .lbl { font-size: 0.77rem; color: rgba(255,255,255,0.5); margin-top: 0.25rem; font-weight: 300; line-height: 1.4; }
.about-mission { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius); padding: 1.5rem; margin-top: 2rem; }
.about-mission p { font-family: 'Lora', serif; font-size: 1.05rem; color: rgba(255,255,255,0.9); font-style: italic; line-height: 1.65; }
.about-mission cite { display: block; font-size: 0.78rem; color: rgba(255,255,255,0.45); font-style: normal; margin-top: 0.75rem; }
.values-list { list-style: none; display: flex; flex-direction: column; gap: 1.4rem; margin-top: 2.25rem; }
.values-list li { display: flex; gap: 1rem; align-items: flex-start; }
.value-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--clay); flex-shrink: 0; margin-top: 7px; }
.values-list strong { font-weight: 500; color: var(--charcoal); display: block; font-size: 0.95rem; }
.values-list span { font-size: 0.85rem; color: var(--muted); font-weight: 300; line-height: 1.6; }

/* ── TEAM ── */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 1.5rem; margin-top: 3rem; }
.team-card { background: var(--cream); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.75rem; text-align: center; }
.team-avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--forest-pale); margin: 0 auto 1rem; display: flex; align-items: center; justify-content: center; font-family: 'Lora', serif; font-size: 1.2rem; color: var(--forest); font-weight: 500; }
.team-card h3 { font-family: 'Lora', serif; font-size: 1rem; color: var(--charcoal); font-weight: 500; }
.team-card .role { font-size: 0.8rem; color: var(--muted); margin-top: 0.25rem; }
.team-card .bio { font-size: 0.82rem; color: var(--muted); margin-top: 0.75rem; line-height: 1.6; font-weight: 300; }

/* ── BLOG ── */
.blog-hero { background: var(--cream); padding: 5rem 2.5rem 4rem; }
.blog-filter { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 2rem; }
.filter-btn { background: var(--warm-white); border: 1px solid var(--border); border-radius: 100px; padding: 0.35rem 1rem; font-size: 0.82rem; color: var(--muted); cursor: pointer; font-family: 'DM Sans', sans-serif; transition: all 0.2s; }
.filter-btn:hover, .filter-btn.active { background: var(--forest); color: #fff; border-color: var(--forest); }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(310px, 100%), 1fr)); gap: 1.5rem; margin-top: 3rem; }
.blog-card { background: var(--warm-white); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; cursor: pointer; transition: box-shadow 0.2s, transform 0.2s; }
.blog-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.blog-thumb { height: 150px; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; position: relative; overflow: hidden; }
.blog-body { padding: 1.5rem; }
.blog-tag { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--clay); }
.blog-card h2 { font-family: 'Lora', serif; font-size: 1.05rem; color: var(--charcoal); margin: 0.5rem 0 0.6rem; font-weight: 500; line-height: 1.35; }
.blog-card p { font-size: 0.83rem; color: var(--muted); line-height: 1.65; font-weight: 300; }
.blog-meta { font-size: 0.73rem; color: var(--muted-light); margin-top: 1rem; display: flex; gap: 1rem; }
.blog-featured { grid-column: span 2; display: grid; grid-template-columns: 1.2fr 1fr; }
@media (max-width: 720px) { .blog-featured { grid-column: span 1; grid-template-columns: 1fr; } }
.blog-featured .blog-thumb { height: 100%; min-height: 200px; }
.seo-guide { background: var(--forest-pale); border: 1px solid rgba(45,90,78,0.2); border-radius: var(--radius-lg); padding: 2rem; margin-top: 3rem; display: flex; gap: 2rem; align-items: center; flex-wrap: wrap; }
.seo-guide-icon { font-size: 2.5rem; flex-shrink: 0; }
.seo-guide h3 { font-family: 'Lora', serif; font-size: 1.15rem; color: var(--charcoal); font-weight: 500; margin-bottom: 0.5rem; }
.seo-guide p { font-size: 0.875rem; color: var(--muted); font-weight: 300; line-height: 1.65; }

/* ── CONTACT ── */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.5fr; gap: 5rem; align-items: start; }
@media (max-width: 720px) { .contact-wrap { grid-template-columns: 1fr; gap: 2.5rem; } }
.contact-info h1 { font-family: 'Lora', serif; font-size: clamp(1.9rem, 3vw, 2.5rem); color: var(--charcoal); font-weight: 500; line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 1rem; }
.contact-info h1 em { font-style: italic; color: var(--forest); }
.contact-info > p { font-size: 0.95rem; color: var(--muted); line-height: 1.75; font-weight: 300; margin-bottom: 2rem; }
.contact-detail { display: flex; gap: 0.9rem; margin-bottom: 1rem; align-items: flex-start; }
.contact-icon { width: 38px; height: 38px; background: var(--forest-pale); border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; margin-top: 1px; }
.contact-detail h2 { font-size: 0.8rem; font-weight: 600; color: var(--charcoal); margin-bottom: 0.15rem; }
.contact-detail p { font-size: 0.85rem; color: var(--muted); font-weight: 300; }
.next-steps { margin-top: 2.5rem; }
.next-steps h2 { font-size: 0.85rem; font-weight: 600; color: var(--charcoal); margin-bottom: 1.25rem; letter-spacing: 0.04em; }
.next-step { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.1rem; }
.ns-num { width: 26px; height: 26px; background: var(--forest); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 0.72rem; font-weight: 700; flex-shrink: 0; }
.ns-text { font-size: 0.86rem; color: var(--muted); font-weight: 300; line-height: 1.6; }
.ns-text strong { color: var(--charcoal); font-weight: 500; }
.contact-social { margin-top: 2rem; display: flex; gap: 0.75rem; flex-wrap: wrap; }
.social-pill { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--cream); border: 1px solid var(--border); border-radius: 100px; padding: 0.35rem 0.9rem; font-size: 0.78rem; color: var(--muted); text-decoration: none; transition: all 0.2s; cursor: pointer; }
.social-pill:hover { border-color: var(--forest); color: var(--forest); }
.contact-form { background: var(--cream); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 2.75rem; }
.form-header { font-family: 'Lora', serif; font-size: 1.3rem; color: var(--charcoal); font-weight: 500; margin-bottom: 0.4rem; }
.form-subheader { font-size: 0.85rem; color: var(--muted); font-weight: 300; margin-bottom: 2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 500px) { .form-row { grid-template-columns: 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.form-group label { font-size: 0.8rem; font-weight: 500; color: var(--charcoal); }
.form-group input, .form-group select, .form-group textarea {
  background: var(--warm-white); border: 1px solid var(--border);
  border-radius: 9px; padding: 0.7rem 1rem;
  font-family: 'DM Sans', sans-serif; font-size: 0.88rem;
  color: var(--ink); transition: border-color 0.2s, box-shadow 0.2s; outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--forest); box-shadow: 0 0 0 3px rgba(45,90,78,0.1);
}
.form-group textarea { resize: vertical; min-height: 90px; line-height: 1.6; }
.form-submit { width: 100%; background: var(--forest); color: #fff; border: none; border-radius: 100px; padding: 0.9rem; font-family: 'DM Sans', sans-serif; font-size: 0.95rem; font-weight: 500; cursor: pointer; transition: background 0.2s, box-shadow 0.2s; margin-top: 0.5rem; box-shadow: 0 4px 16px rgba(45,90,78,0.25); }
.form-submit:hover { background: var(--forest-light); }
.form-privacy { font-size: 0.72rem; color: var(--muted-light); text-align: center; margin-top: 0.9rem; font-weight: 300; line-height: 1.6; }

/* ── PRODUCT TABS ── */
.product-hero { background: var(--cream); padding: 5rem 2.5rem 4rem; text-align: center; }
.product-hero h1 { font-family: 'Lora', serif; font-size: clamp(2rem, 4vw, 3.2rem); color: var(--charcoal); font-weight: 500; letter-spacing: -0.02em; max-width: 640px; margin: 0.75rem auto; line-height: 1.15; }
.product-hero h1 em { font-style: italic; color: var(--forest); }
.tabs-nav { display: flex; gap: 0; border: 1px solid var(--border); border-radius: 100px; background: var(--warm-white); padding: 4px; width: fit-content; margin: 2.5rem auto 0; }
.tab-btn { padding: 0.5rem 1.6rem; border-radius: 100px; border: none; background: transparent; font-family: 'DM Sans', sans-serif; font-size: 0.875rem; color: var(--muted); cursor: pointer; transition: all 0.2s; font-weight: 400; }
.tab-btn.active { background: var(--forest); color: #fff; font-weight: 500; }
.tab-content { display: none; }
.tab-content.active { display: block; animation: fadeUp 0.3s ease; }
.product-split { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: center; padding: 4rem 0; }
@media (max-width: 720px) { .product-split { grid-template-columns: 1fr; gap: 2.5rem; } }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 1.1rem; margin-top: 1.75rem; }
.feature-list li { display: flex; gap: 0.85rem; align-items: flex-start; font-size: 0.9rem; color: var(--muted); font-weight: 300; line-height: 1.6; }
.feature-list li::before { content: '→'; color: var(--clay); flex-shrink: 0; font-size: 0.9rem; margin-top: 3px; }
.feature-list li strong { color: var(--charcoal); font-weight: 500; }
.product-mock { background: var(--forest-deep); border-radius: var(--radius-xl); padding: 2rem; min-height: 300px; display: flex; flex-direction: column; gap: 0.85rem; }
.mock-header { display: flex; gap: 0.5rem; margin-bottom: 0.25rem; }
.mock-dot-sm { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.15); }
.mock-bar { background: rgba(255,255,255,0.1); border-radius: 6px; height: 11px; }
.mock-bar.short { width: 38%; }
.mock-bar.medium { width: 62%; }
.mock-bar.long { width: 85%; }
.mock-row { display: flex; gap: 0.75rem; }
.mock-card { background: rgba(255,255,255,0.08); border-radius: 10px; flex: 1; padding: 0.85rem; display: flex; flex-direction: column; gap: 0.5rem; }
.mock-chip { height: 20px; border-radius: 100px; background: rgba(45,90,78,0.5); width: 60%; }
.mock-line { height: 6px; border-radius: 3px; background: rgba(255,255,255,0.12); }
.integration-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(130px, 100%), 1fr)); gap: 1rem; margin-top: 3rem; }
.integration-chip { background: var(--cream); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem; text-align: center; font-size: 0.82rem; color: var(--muted); font-weight: 400; transition: all 0.2s; cursor: default; }
.integration-chip:hover { border-color: var(--forest); color: var(--forest); }
.integration-chip span { display: block; font-size: 1.4rem; margin-bottom: 0.4rem; }

/* ── CTA BAND ── */
.cta-band { background: var(--clay); padding: 5rem 2.5rem; text-align: center; }
.cta-band .section-label { color: rgba(255,255,255,0.6); }
.cta-band h2 { font-family: 'Lora', serif; font-size: clamp(1.8rem, 3.5vw, 2.8rem); color: #fff; font-weight: 500; line-height: 1.2; max-width: 600px; margin: 0.75rem auto 1.25rem; letter-spacing: -0.02em; }
.cta-band p { font-size: 1rem; color: rgba(255,255,255,0.75); max-width: 480px; margin: 0 auto 2.5rem; font-weight: 300; line-height: 1.75; }
.btn-white { background: #fff; color: var(--clay); border: none; padding: 0.9rem 2.5rem; border-radius: 100px; font-family: 'DM Sans', sans-serif; font-size: 0.95rem; font-weight: 600; cursor: pointer; transition: all 0.2s; box-shadow: 0 4px 20px rgba(0,0,0,0.15); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,0.2); }

/* ── FOOTER ── */
footer { background: var(--charcoal); padding: 5rem 2.5rem 2.5rem; color: rgba(255,255,255,0.5); }
.footer-grid { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3.5rem; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-brand .logo { font-family: 'Lora', serif; font-size: 1.3rem; font-weight: 600; color: #fff; display: block; margin-bottom: 1rem; cursor: pointer; }
.footer-brand p { font-size: 0.83rem; line-height: 1.75; margin-bottom: 1.25rem; }
.footer-badges { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.footer-badge { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 100px; padding: 0.25rem 0.75rem; font-size: 0.72rem; color: rgba(255,255,255,0.5); }
.footer-col h2 { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.85); margin-bottom: 1.25rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col ul li a { font-size: 0.83rem; color: rgba(255,255,255,0.45); text-decoration: none; cursor: pointer; transition: color 0.2s; }
.footer-col ul li a:hover { color: rgba(255,255,255,0.9); }
.footer-bottom { max-width: 1120px; margin: 0 auto; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.07); display: flex; justify-content: space-between; align-items: center; font-size: 0.76rem; flex-wrap: wrap; gap: 1rem; }

/* ── RESPONSIVE NAV ── */

/* ── ROI CALCULATOR ── */
.calc-wrap {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3rem; align-items: start; margin-top: 3rem;
}
@media (max-width: 720px) { .calc-wrap { grid-template-columns: 1fr; } }
.calc-inputs { background: var(--cream); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 2.5rem; }
.calc-inputs h2 { font-family: 'Lora', serif; font-size: 1.2rem; color: var(--charcoal); font-weight: 500; margin-bottom: 1.75rem; }
.calc-field { margin-bottom: 1.5rem; }
.calc-field label { font-size: 0.82rem; font-weight: 500; color: var(--charcoal); display: block; margin-bottom: 0.5rem; }
.calc-field .hint { font-size: 0.74rem; color: var(--muted-light); font-weight: 300; margin-bottom: 0.5rem; display: block; }
.calc-slider { width: 100%; -webkit-appearance: none; height: 4px; border-radius: 2px; background: var(--border); outline: none; }
.calc-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: var(--forest); cursor: pointer; box-shadow: 0 2px 8px rgba(45,90,78,0.3); }
.calc-slider-val { font-family: 'Lora', serif; font-size: 1.3rem; color: var(--forest); font-weight: 500; margin-top: 0.5rem; display: block; }
.calc-results { background: var(--forest); border-radius: var(--radius-xl); padding: 2.5rem; position: sticky; top: 90px; }
.calc-results h2 { font-family: 'Lora', serif; font-size: 1.15rem; color: rgba(255,255,255,0.7); font-weight: 400; margin-bottom: 2rem; }
.result-item { margin-bottom: 1.75rem; padding-bottom: 1.75rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.result-item:last-of-type { border-bottom: none; }
.result-label { font-size: 0.78rem; color: rgba(255,255,255,0.55); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 500; margin-bottom: 0.3rem; }
.result-num { font-family: 'Lora', serif; font-size: 2.4rem; color: #fff; font-weight: 500; line-height: 1; }
.result-sub { font-size: 0.78rem; color: rgba(255,255,255,0.5); margin-top: 0.3rem; font-weight: 300; }
.result-total { background: rgba(255,255,255,0.1); border-radius: var(--radius); padding: 1.25rem; margin-top: 1.5rem; text-align: center; }
.result-total .t-label { font-size: 0.78rem; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.4rem; }
.result-total .t-num { font-family: 'Lora', serif; font-size: 3rem; color: var(--accent-gold); font-weight: 500; line-height: 1; }
.result-total .t-sub { font-size: 0.78rem; color: rgba(255,255,255,0.5); margin-top: 0.4rem; font-weight: 300; }
.calc-disclaimer { font-size: 0.72rem; color: rgba(255,255,255,0.35); margin-top: 1.25rem; line-height: 1.6; font-style: italic; }

/* ── COOKIE CONSENT ── */
.cookie-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 250;
  background: var(--charcoal);
  padding: 1rem 2.5rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
  transform: translateY(100%); transition: transform 0.4s ease;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.cookie-bar.visible { transform: translateY(0); }
.cookie-bar p { font-size: 0.82rem; color: rgba(255,255,255,0.7); font-weight: 300; line-height: 1.6; max-width: 640px; }
.cookie-bar p a { color: rgba(255,255,255,0.9); text-decoration: underline; cursor: pointer; }
.cookie-actions { display: flex; gap: 0.75rem; flex-shrink: 0; }
.cookie-accept {
  background: var(--forest); color: #fff; border: none;
  border-radius: 100px; padding: 0.5rem 1.25rem;
  font-family: 'DM Sans', sans-serif; font-size: 0.82rem;
  font-weight: 500; cursor: pointer; transition: background 0.2s;
}
.cookie-accept:hover { background: var(--forest-light); }
.cookie-decline {
  background: transparent; color: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.15); border-radius: 100px;
  padding: 0.5rem 1.25rem; font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem; cursor: pointer; transition: all 0.2s;
}
.cookie-decline:hover { color: rgba(255,255,255,0.8); border-color: rgba(255,255,255,0.3); }

/* ── LEAD CAPTURE ── */
.lead-capture-overlay {
  display: none; position: fixed; inset: 0; z-index: 300;
  background: rgba(28,43,40,0.55); backdrop-filter: blur(4px);
  align-items: center; justify-content: center; padding: 2rem;
}
.lead-capture-overlay.visible { display: flex; }
.lead-capture-box {
  background: var(--warm-white); border-radius: var(--radius-xl);
  padding: 3rem 2.5rem; max-width: 520px; width: 100%;
  position: relative; box-shadow: var(--shadow-lg);
  animation: fadeUp 0.3s ease;
}
.lc-close {
  position: absolute; top: 1rem; right: 1rem;
  background: none; border: none; font-size: 1.3rem;
  color: var(--muted-light); cursor: pointer; padding: 0.25rem;
  transition: color 0.2s; line-height: 1;
}
.lc-close:hover { color: var(--charcoal); }
.lc-eyebrow { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--clay); margin-bottom: 0.75rem; }
.lc-title { font-family: 'Lora', serif; font-size: 1.7rem; color: var(--charcoal); font-weight: 500; line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 0.75rem; }
.lc-title em { font-style: italic; color: var(--forest); }
.lc-body { font-size: 0.9rem; color: var(--muted); line-height: 1.7; font-weight: 300; margin-bottom: 1.75rem; }
.lc-form { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.lc-input {
  flex: 1; min-width: 200px;
  background: var(--cream); border: 1px solid var(--border);
  border-radius: 9px; padding: 0.7rem 1rem;
  font-family: 'DM Sans', sans-serif; font-size: 0.9rem;
  color: var(--ink); outline: none; transition: border-color 0.2s;
}
.lc-input:focus { border-color: var(--forest); }
.lc-submit {
  background: var(--forest); color: #fff; border: none;
  border-radius: 100px; padding: 0.7rem 1.5rem;
  font-family: 'DM Sans', sans-serif; font-size: 0.88rem;
  font-weight: 500; cursor: pointer; transition: background 0.2s; white-space: nowrap;
}
.lc-submit:hover { background: var(--forest-light); }
.lc-skip { font-size: 0.75rem; color: var(--muted-light); text-align: center; margin-top: 1rem; cursor: pointer; }
.lc-skip:hover { color: var(--muted); }

/* ── SECURITY SECTION ── */
.security-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 1rem; margin-top: 2.5rem;
}
.security-badge {
  background: var(--warm-white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.5rem;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 0.75rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.security-badge:hover { border-color: var(--forest); box-shadow: var(--shadow); }
.security-badge .s-icon { font-size: 1.8rem; }
.security-badge h3 { font-size: 0.88rem; font-weight: 600; color: var(--charcoal); }
.security-badge p { font-size: 0.78rem; color: var(--muted); line-height: 1.55; font-weight: 300; }

/* ── BLOG POST ── */
.post-hero { background: var(--cream); padding: 4rem 2.5rem 3.5rem; border-bottom: 1px solid var(--border); }
.post-back { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.82rem; color: var(--muted); cursor: pointer; margin-bottom: 2rem; transition: color 0.2s; background: none; border: none; font-family: 'DM Sans', sans-serif; padding: 0; }
.post-back:hover { color: var(--forest); }
.post-tag { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--clay); margin-bottom: 0.75rem; display: block; }
.post-title { font-family: 'Lora', serif; font-size: clamp(1.9rem, 4vw, 3rem); color: var(--charcoal); font-weight: 500; line-height: 1.15; letter-spacing: -0.025em; max-width: 780px; margin-bottom: 1.25rem; }
.post-meta { display: flex; gap: 1.5rem; font-size: 0.82rem; color: var(--muted-light); font-weight: 300; flex-wrap: wrap; }
.post-meta strong { color: var(--muted); font-weight: 400; }
.post-body { max-width: 780px; margin: 0 auto; padding: 3.5rem 2.5rem 5rem; }
.post-body p { font-size: 1rem; color: var(--ink); line-height: 1.85; font-weight: 300; margin-bottom: 1.5rem; }
.post-body p strong { font-weight: 500; color: var(--charcoal); }
.post-body h2 { font-family: 'Lora', serif; font-size: 1.65rem; color: var(--charcoal); font-weight: 500; line-height: 1.2; letter-spacing: -0.02em; margin: 3rem 0 1rem; }
.post-body h3 { font-family: 'Lora', serif; font-size: 1.2rem; color: var(--charcoal); font-weight: 500; margin: 2rem 0 0.75rem; }
.post-body ul, .post-body ol { padding-left: 1.5rem; margin-bottom: 1.5rem; display: flex; flex-direction: column; gap: 0.6rem; }
.post-body li { font-size: 0.97rem; color: var(--ink); line-height: 1.75; font-weight: 300; }
.post-body li strong { font-weight: 500; color: var(--charcoal); }
.post-callout { background: var(--forest-pale); border-left: 3px solid var(--forest); border-radius: 0 var(--radius) var(--radius) 0; padding: 1.25rem 1.5rem; margin: 2rem 0; }
.post-callout p { margin-bottom: 0; font-size: 0.95rem; color: var(--forest-deep); }
.post-callout p strong { color: var(--forest-deep); }
.post-warning { background: rgba(196,133,90,0.1); border-left: 3px solid var(--clay); border-radius: 0 var(--radius) var(--radius) 0; padding: 1.25rem 1.5rem; margin: 2rem 0; }
.post-warning p { margin-bottom: 0; font-size: 0.95rem; color: var(--clay-dark); }
.post-stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr)); gap: 1rem; margin: 2rem 0; }
.post-stat { background: var(--cream); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.25rem; text-align: center; }
.post-stat .num { font-family: 'Lora', serif; font-size: 2rem; color: var(--forest); font-weight: 500; line-height: 1; }
.post-stat .lbl { font-size: 0.78rem; color: var(--muted); margin-top: 0.4rem; line-height: 1.4; font-weight: 300; }
.post-checklist { list-style: none !important; padding-left: 0 !important; }
.post-checklist li { padding-left: 1.75rem; position: relative; }
.post-checklist li::before { content: '\2713'; position: absolute; left: 0; color: var(--forest); font-weight: 700; }
.post-cta-box { background: var(--forest); border-radius: var(--radius-lg); padding: 2.5rem; margin: 3rem 0; text-align: center; }
.post-cta-box h3 { font-family: 'Lora', serif; font-size: 1.4rem; color: #fff; font-weight: 500; margin-bottom: 0.75rem; }
.post-cta-box p { color: rgba(255,255,255,0.75); font-size: 0.9rem; font-weight: 300; margin-bottom: 1.5rem !important; line-height: 1.7; }
.post-cta-box button { background: #fff; color: var(--forest); border: none; border-radius: 100px; padding: 0.75rem 2rem; font-family: 'DM Sans', sans-serif; font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: all 0.2s; }
.post-cta-box button:hover { background: var(--cream); }
.post-related { border-top: 1px solid var(--border); padding-top: 3rem; margin-top: 3rem; }
.post-related h4 { font-family: 'Lora', serif; font-size: 1.1rem; color: var(--charcoal); font-weight: 500; margin-bottom: 1.5rem; }
.post-related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 1rem; }
.post-related-card { background: var(--cream); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; cursor: pointer; transition: all 0.2s; }
.post-related-card:hover { border-color: var(--forest); transform: translateY(-2px); }
.post-related-card .rtag { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--clay); margin-bottom: 0.4rem; }
.post-related-card h5 { font-family: 'Lora', serif; font-size: 0.92rem; color: var(--charcoal); font-weight: 500; line-height: 1.35; }

/* ══════════════════════════════════════════════════════════════════
   Multi-page build additions
   CTAs are real <a> links now (crawlable, middle-clickable) but keep
   the visual weight of the buttons they replaced.
   ══════════════════════════════════════════════════════════════════ */
a.btn-primary, a.btn-outline, a.btn-ghost, a.btn-white,
a.plan-cta, a.case-link {
  display: inline-block;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
}
/* The logos set their own display (flex); only strip the underline. */
a.nav-logo, a.logo, a.sticky-cta { text-decoration: none; }
a.nav-logo { white-space: nowrap; }

/* ══════════════════════════════════════════════════════════════════
   Mobile navigation
   One <ul> serves both layouts — a row on desktop, a drawer under the
   header below 860px — so there is a single set of links and ids.
   ══════════════════════════════════════════════════════════════════ */
.nav-toggle {
  display: none;
  background: none; border: 0; cursor: pointer;
  padding: 0.6rem; margin-right: -0.6rem;
  flex-direction: column; gap: 5px;
  border-radius: 8px;
}
.nav-toggle:focus-visible { outline: 2px solid var(--forest); outline-offset: 2px; }
.nav-toggle-bar {
  display: block; width: 22px; height: 2px;
  background: var(--forest); border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-scrim { display: none; }

@media (max-width: 860px) {
  nav { padding: 0 1.25rem; }
  .nav-toggle { display: flex; }

  .nav-links {
    /* Absolute inside the sticky <nav>, so the drawer tracks the header
       regardless of what sits above it. */
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    gap: 0;
    background: var(--warm-white, #FFFCF8);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 1.25rem 1.25rem;
    box-shadow: 0 18px 40px rgba(47,61,58,0.10);
    z-index: 99;

    /* Collapsed by default. visibility keeps the links out of the tab
       order while closed; transform avoids animating height. */
    transform: translateY(-8px);
    opacity: 0; visibility: hidden;
    transition: transform 0.22s ease, opacity 0.22s ease, visibility 0.22s;
  }
  nav.open .nav-links {
    transform: translateY(0);
    opacity: 1; visibility: visible;
  }

  .nav-links a {
    display: block;
    padding: 0.85rem 0.5rem;
    font-size: 1rem;
    border-radius: 10px;
    border-bottom: 1px solid var(--border);
  }
  .nav-links li:last-child a { border-bottom: 0; }
  .nav-cta {
    margin-left: 0 !important;
    margin-top: 0.75rem;
    text-align: center;
    padding: 0.85rem 1.2rem !important;
  }

  /* Announce bar pushes the sticky header down; the drawer follows it. */

  .nav-scrim {
    display: block;
    position: fixed; inset: 0;
    background: rgba(47,61,58,0.28);
    opacity: 0; visibility: hidden;
    transition: opacity 0.22s ease, visibility 0.22s;
    z-index: 98;
  }
  body.nav-open .nav-scrim { opacity: 1; visibility: visible; }
  body.nav-open { overflow: hidden; }

  /* Hamburger folds into an X while open. */
  nav.open .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  nav.open .nav-toggle-bar:nth-child(2) { opacity: 0; }
  nav.open .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (prefers-reduced-motion: reduce) {
  .nav-links, .nav-scrim, .nav-toggle-bar { transition: none; }
}

/* Honeypot: off-screen rather than display:none, which some bots skip. */
.hp-field {
  position: absolute !important;
  left: -9999px; top: auto;
  width: 1px; height: 1px; overflow: hidden;
}

/* ══════════════════════════════════════════════════════════════════
   Blog index (/blog/)
   Ported from the standalone archive page onto the site's tokens, so
   the blog and the marketing pages share one stylesheet and one nav.
   ══════════════════════════════════════════════════════════════════ */
.blog-index-hero {
  background: var(--forest-deep);
  color: #fff;
  padding: 4.5rem 2.5rem 3.5rem;
  text-align: center;
}
.blog-index-hero .hero-ey {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--accent-gold);
  display: block; margin-bottom: 0.75rem;
}
.blog-index-hero h1 {
  font-family: 'Lora', serif; font-weight: 500;
  font-size: clamp(1.9rem, 4vw, 2.9rem); line-height: 1.15;
  margin-bottom: 1rem; letter-spacing: -0.02em;
}
.blog-index-hero .hero-sub {
  font-size: 1rem; color: rgba(255,255,255,0.58);
  max-width: 540px; margin: 0 auto; font-weight: 300; line-height: 1.7;
}

.blog-toolbar {
  display: flex; flex-wrap: wrap; gap: 1rem;
  align-items: flex-start; margin: 2.5rem 0 1.75rem;
}
.search-wrap { position: relative; flex: 1; min-width: 260px; }
.search-wrap input {
  width: 100%; padding: 0.7rem 1rem 0.7rem 2.75rem;
  border: 1px solid var(--border); border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif; font-size: 0.9rem;
  background: var(--warm-white); color: var(--charcoal);
  outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}
.search-wrap input:focus {
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(45,90,78,0.08);
}
.search-icon {
  position: absolute; left: 0.85rem; top: 50%;
  transform: translateY(-50%);
  color: var(--muted-light); font-size: 1rem; pointer-events: none;
}

.filter-wrap { display: flex; flex-direction: column; gap: 0.5rem; }
.filter-row { display: flex; gap: 0.4rem; flex-wrap: wrap; align-items: center; }
.filter-label {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted-light);
  margin-right: 0.25rem; white-space: nowrap;
}
.blog-toolbar .filter-btn,
.filter-row .filter-btn {
  padding: 0.3rem 0.85rem; border-radius: 100px;
  font-size: 0.78rem; font-weight: 500; cursor: pointer;
  border: 1px solid var(--border); background: var(--warm-white);
  color: var(--muted); transition: all 0.15s; white-space: nowrap;
  font-family: 'DM Sans', sans-serif;
}
.filter-row .filter-btn:hover { border-color: var(--forest); color: var(--forest); }
.filter-row .filter-btn.active {
  background: var(--forest); border-color: var(--forest); color: #fff;
}

.post-count { font-size: 0.8rem; color: var(--muted-light); margin-bottom: 1.25rem; }

.post-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
  gap: 1.25rem; padding-bottom: 4rem;
}
a.post-card {
  background: var(--warm-white); border: 1px solid var(--border);
  border-radius: 18px; text-decoration: none;
  display: flex; flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}
a.post-card:hover {
  box-shadow: 0 8px 36px rgba(44,58,52,0.11);
  transform: translateY(-3px);
}
.post-card-body { padding: 1.4rem; flex: 1; display: flex; flex-direction: column; }
.post-card-tags { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-bottom: 0.75rem; }
.post-card-cat {
  font-size: 0.67rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 0.2rem 0.7rem;
  border-radius: 100px; display: inline-block;
  background: var(--forest-pale); color: var(--forest);
}
.post-card h2 {
  font-family: 'Lora', serif; font-size: 1rem; color: var(--charcoal);
  font-weight: 500; line-height: 1.4; margin-bottom: 0.75rem; flex: 1;
}
.post-card-foot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 0.65rem; border-top: 1px solid var(--border); margin-top: auto;
}
.post-card-date { font-size: 0.72rem; color: var(--muted-light); }
.post-card-arrow { font-size: 0.8rem; color: var(--forest); font-weight: 500; }

.post-empty {
  display: none; text-align: center; padding: 4rem 1rem;
  color: var(--muted); font-weight: 300;
}
.post-empty.visible { display: block; }

@media (max-width: 560px) {
  .blog-index-hero { padding: 3rem 1.25rem 2.5rem; }
  .post-grid { grid-template-columns: 1fr; }
}

/* Labels that exist for screen readers only. */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
}

/* Resource cards are anchors now, not divs with an onclick. */
a.blog-card { display: block; text-decoration: none; color: inherit; }
/* ...but the featured card is a two-column grid, and `a.blog-card` outranks
   `.blog-featured` on specificity, which flattened it to a single column. */
a.blog-card.blog-featured { display: grid; }

/* ══════════════════════════════════════════════════════════════════
   Legal pages (/privacy, /terms, /pipeda, /gdpr, /security)
   Adapted from the Pursuitly legal set onto this site's tokens — the
   copy is unchanged, only the type scale and palette are the site's.
   ══════════════════════════════════════════════════════════════════ */
.legal-wrap { max-width: 760px; margin: 0 auto; padding: 4rem 2rem 6rem; }

.legal-wrap .page-header {
  margin-bottom: 3rem; padding-bottom: 2.25rem;
  border-bottom: 1px solid var(--border);
}
.legal-wrap .page-badge {
  display: inline-flex; align-items: center; gap: 0.45rem;
  background: var(--forest-pale); border: 1px solid rgba(45,90,78,0.2);
  color: var(--forest); padding: 0.3rem 0.75rem; border-radius: 100px;
  font-size: 0.75rem; font-weight: 700; margin-bottom: 1.1rem;
}
.legal-wrap .page-title {
  font-family: 'Lora', serif; font-weight: 500;
  font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -0.02em;
  line-height: 1.1; margin-bottom: 0.75rem; color: var(--charcoal);
}
.legal-wrap .page-meta { font-size: 0.8rem; color: var(--muted-light); }

.legal-wrap .toc {
  background: var(--warm-white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.4rem 1.6rem; margin-bottom: 2.75rem;
}
.legal-wrap .toc-label {
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--muted-light); margin-bottom: 0.75rem;
}
.legal-wrap .toc ol {
  padding-left: 1.15rem; display: flex; flex-direction: column; gap: 0.4rem;
}
.legal-wrap .toc li a {
  font-size: 0.875rem; color: var(--forest); text-decoration: none; font-weight: 500;
}
.legal-wrap .toc li a:hover { text-decoration: underline; }

.legal-body section { margin-bottom: 2.75rem; scroll-margin-top: 96px; }
.legal-body h2 {
  font-family: 'Lora', serif; font-size: 1.35rem; font-weight: 500;
  letter-spacing: -0.01em; margin-bottom: 0.9rem; color: var(--charcoal);
}
.legal-body h3 {
  font-size: 0.95rem; font-weight: 600; margin: 1.4rem 0 0.5rem; color: var(--ink);
}
.legal-body p {
  font-size: 0.95rem; color: var(--ink); line-height: 1.75;
  margin-bottom: 0.75rem; font-weight: 300;
}
.legal-body ul, .legal-body ol {
  padding-left: 1.25rem; margin-bottom: 0.75rem;
  display: flex; flex-direction: column; gap: 0.45rem;
}
.legal-body li { font-size: 0.95rem; color: var(--ink); line-height: 1.65; font-weight: 300; }
.legal-body a { color: var(--forest); text-decoration: underline; }

.legal-wrap .callout {
  background: var(--forest-pale); border: 1px solid rgba(45,90,78,0.25);
  border-radius: var(--radius); padding: 1.15rem 1.4rem; margin: 1.25rem 0;
}
.legal-wrap .callout p { margin: 0; font-size: 0.9rem; color: var(--forest); font-weight: 400; }
.legal-wrap .info-box {
  background: var(--warm-white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.15rem 1.4rem; margin: 1.25rem 0;
}
.legal-wrap .info-box p { margin: 0; font-size: 0.9rem; color: var(--ink); }

.legal-wrap .contact-box {
  background: var(--forest-deep); border-radius: var(--radius-lg);
  padding: 2.25rem; text-align: center; margin-top: 3rem;
}
.legal-wrap .contact-box h3 {
  font-family: 'Lora', serif; font-size: 1.35rem; font-weight: 500;
  color: #fff; margin-bottom: 0.6rem;
}
.legal-wrap .contact-box p {
  font-size: 0.9rem; color: rgba(255,255,255,0.65);
  font-weight: 300; margin-bottom: 1.25rem;
}
.legal-wrap .contact-box a {
  display: inline-block; background: var(--forest); color: #fff;
  padding: 0.75rem 1.5rem; border-radius: 100px;
  font-size: 0.875rem; font-weight: 600; text-decoration: none;
}
.legal-wrap .contact-box a:hover { background: var(--forest-light); }

@media (max-width: 600px) {
  .legal-wrap { padding: 2.5rem 1.25rem 4rem; }
}

/* Card and grid blocks used by /security, /pipeda and /gdpr. */
.legal-wrap .security-grid,
.legal-wrap .principle-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.75rem 0; }
.legal-wrap .rights-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; margin: 1.5rem 0; }
.legal-wrap .stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 1.75rem 0; }

.legal-wrap .sec-card,
.legal-wrap .principle-card,
.legal-wrap .right-card,
.legal-wrap .stat-item {
  background: var(--warm-white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.25rem;
}
.legal-wrap .stat-item { text-align: center; }

.legal-wrap .sec-icon { font-size: 1.5rem; margin-bottom: 0.6rem; }
.legal-wrap .sec-title,
.legal-wrap .pc-title { font-size: 0.95rem; font-weight: 600; color: var(--charcoal); margin-bottom: 0.4rem; }
.legal-wrap .rc-title {
  font-size: 0.9rem; font-weight: 600; color: var(--charcoal);
  margin-bottom: 0.4rem; display: flex; align-items: center; gap: 0.5rem;
}
.legal-wrap .sec-desc,
.legal-wrap .pc-desc,
.legal-wrap .rc-desc { font-size: 0.83rem; color: var(--muted); line-height: 1.6; font-weight: 300; }
.legal-wrap .sec-tag {
  display: inline-block; background: var(--forest-pale); color: var(--forest);
  padding: 0.15rem 0.5rem; border-radius: 5px;
  font-size: 0.7rem; font-weight: 700; margin-top: 0.5rem;
}
.legal-wrap .pc-num {
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--muted-light); margin-bottom: 0.4rem;
}
.legal-wrap .stat-lbl { font-size: 0.75rem; color: var(--muted); font-weight: 500; }

.legal-wrap .warn-box {
  background: var(--accent-gold-pale); border: 1px solid rgba(212,168,67,0.45);
  border-radius: var(--radius); padding: 1.15rem 1.4rem; margin: 1.25rem 0;
}
.legal-wrap .warn-box p { margin: 0; font-size: 0.9rem; color: #7A5C00; line-height: 1.6; }

@media (max-width: 600px) {
  .legal-wrap .security-grid,
  .legal-wrap .principle-grid,
  .legal-wrap .rights-grid { grid-template-columns: 1fr; }
  .legal-wrap .stat-row { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════════════
   Mobile fixes
   ══════════════════════════════════════════════════════════════════ */

/* Grid items default to min-width:auto, so a child with a wide min-content
   (the demo form, via its 2.75rem side padding) pushes the track past the
   container and scrolls the whole page sideways. */
.contact-wrap > *,
.calc-wrap > *,
.product-split > *,
.about-split > *,
.switch-grid > * { min-width: 0; }

@media (max-width: 860px) {
  /* The platform tab bar is wider than a phone. Let it scroll rather than
     drag the page with it. */
  .tabs-nav {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    justify-content: flex-start;
  }
  .tabs-nav::-webkit-scrollbar { display: none; }
  .tab-btn { flex: 0 0 auto; }
}

@media (max-width: 560px) {
  .contact-form { padding: 1.5rem 1.25rem; }
  .lc-input { min-width: 0; }
}

/* iOS Safari zooms the page whenever a focused field is under 16px. That
   fires on every field of the demo form — the site's conversion path. */
@media (max-width: 860px) {
  .form-group input,
  .form-group select,
  .form-group textarea,
  .lc-input,
  .search-wrap input { font-size: 16px; }
}

/* Tap targets: 44px is the Apple HIG / WCAG 2.5.5 minimum. */

.nav-toggle { min-width: 44px; min-height: 44px; justify-content: center; }
@media (max-width: 860px) {
  .filter-row .filter-btn { min-height: 36px; }
  /* Standalone CTAs and link lists get real touch height. Links inside a
     paragraph are exempt from WCAG 2.5.5 and stay inline. */
  .footer-col ul a,
  .footer-bottom a { display: inline-block; padding: 0.65rem 0; }
  a.case-link { display: inline-block; padding: 0.7rem 0; }
}

/* ══════════════════════════════════════════════════════════════════
   Blog post pages (/blog/<slug>/)
   Rendered by build.py from the same partials as every other page, so
   these only need the article layout — not a second copy of the site.
   ══════════════════════════════════════════════════════════════════ */
.post-article { max-width: 780px; margin: 0 auto; padding: 3rem 2rem 5rem; }

.post-meta {
  display: flex; align-items: center; gap: 0.75rem;
  margin-bottom: 1.75rem; flex-wrap: wrap;
}
.post-cat {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 0.25rem 0.8rem; border-radius: 100px;
  background: var(--clay-light); color: var(--clay);
}
.post-date { font-size: 0.82rem; color: var(--muted-light); }
.post-back { font-size: 0.82rem; color: var(--muted); margin-left: auto; text-decoration: none; }
.post-back:hover { color: var(--forest); }

.post-article h1 {
  font-family: 'Lora', serif; font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--charcoal); font-weight: 500; line-height: 1.18;
  letter-spacing: -0.025em; margin-bottom: 1.5rem;
}
.post-hero {
  width: 100%; max-height: 420px; object-fit: cover;
  border-radius: var(--radius-lg); margin-bottom: 2rem;
}

.post-body h2 {
  font-family: 'Lora', serif; font-size: 1.4rem; color: var(--charcoal);
  font-weight: 500; margin: 2.25rem 0 0.85rem; line-height: 1.25;
}
.post-body h3 {
  font-family: 'Lora', serif; font-size: 1.15rem; color: var(--charcoal);
  font-weight: 500; margin: 1.75rem 0 0.7rem;
}
.post-body h4 { font-size: 1rem; color: var(--charcoal); font-weight: 600; margin: 1.5rem 0 0.6rem; }
.post-body p {
  font-size: 1.05rem; color: var(--ink); line-height: 1.85;
  font-weight: 300; margin-bottom: 1.1rem;
}
.post-body ul, .post-body ol { margin: 0 0 1.1rem 1.25rem; display: flex; flex-direction: column; gap: 0.5rem; }
.post-body li { font-size: 1.05rem; color: var(--ink); line-height: 1.8; font-weight: 300; }
.post-body strong { font-weight: 600; color: var(--charcoal); }
.post-body a { color: var(--forest); text-decoration: underline; }

.post-cta {
  background: var(--forest-pale); border: 1px solid rgba(45,90,78,0.2);
  border-radius: var(--radius-lg); padding: 2rem; margin: 3rem 0 2rem; text-align: center;
}
.post-cta h2 {
  font-family: 'Lora', serif; font-size: 1.3rem; font-weight: 500;
  color: var(--charcoal); margin-bottom: 0.5rem;
}
.post-cta p { font-size: 0.92rem; color: var(--muted); font-weight: 300; margin-bottom: 1.25rem; }

.post-pager {
  display: flex; justify-content: space-between; gap: 1.5rem;
  border-top: 1px solid var(--border); padding-top: 1.5rem;
}
.post-pager a {
  font-size: 0.85rem; color: var(--muted); text-decoration: none;
  max-width: 46%; line-height: 1.5;
}
.post-pager a:hover { color: var(--forest); }
.post-next { text-align: right; margin-left: auto; }

@media (max-width: 560px) {
  .post-article { padding: 2rem 1.25rem 3.5rem; }
  .post-pager { flex-direction: column; gap: 1rem; }
  .post-pager a { max-width: 100%; }
  .post-next { text-align: left; margin-left: 0; }
}

/* ══════════════════════════════════════════════════════════════════
   Brand tagline, beside the wordmark in the header.
   The nav link row is ~640px wide, so below 1100px there is no room for
   the tagline without crowding — it drops out there rather than
   wrapping or colliding with the links.
   ══════════════════════════════════════════════════════════════════ */
.nav-brand { display: flex; align-items: baseline; gap: 0.75rem; min-width: 0; }

.nav-tagline {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 0.86rem;
  color: var(--muted);
  white-space: nowrap;
  padding-left: 0.75rem;
  border-left: 1px solid var(--border);
  letter-spacing: -0.01em;
}

@media (max-width: 1100px) {
  .nav-tagline { display: none; }
}

/* A 20-word headline costs eight lines on a phone, which pushed the demo
   CTA below the fold. Tighten the hero block so the buttons stay reachable
   without scrolling past a wall of serif. */
@media (max-width: 560px) {
  .hero { padding: 3rem 1.25rem 3.5rem; }
  .hero-eyebrow { margin-bottom: 1.1rem; font-size: 0.68rem; }
  .hero h1 {
    font-size: 1.35rem;
    line-height: 1.28;
    margin-bottom: 1.1rem;
    letter-spacing: -0.01em;
  }
  .hero-sub { font-size: 0.98rem; line-height: 1.6; margin-bottom: 0.6rem; }
  .hero-kw { font-size: 0.72rem; }
}

/* ══════════════════════════════════════════════════════════════════
   404
   ══════════════════════════════════════════════════════════════════ */
.notfound { padding: 5rem 2.5rem 6rem; text-align: center; }
.notfound h1 {
  font-family: 'Lora', serif; font-size: clamp(1.9rem, 4vw, 2.8rem);
  color: var(--charcoal); font-weight: 500; line-height: 1.15;
  letter-spacing: -0.02em; margin: 0.75rem 0 1rem;
}
.notfound-body {
  font-size: 1.02rem; color: var(--muted); font-weight: 300;
  line-height: 1.75; max-width: 520px; margin: 0 auto 2.75rem;
}
.notfound-links {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 1rem; max-width: 900px; margin: 0 auto 2.5rem; text-align: left;
}
a.notfound-card {
  display: block; text-decoration: none;
  background: var(--warm-white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.35rem;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
a.notfound-card:hover {
  border-color: var(--forest); box-shadow: var(--shadow); transform: translateY(-2px);
}
.notfound-card h2 {
  font-family: 'Lora', serif; font-size: 1.05rem; font-weight: 500;
  color: var(--charcoal); margin-bottom: 0.35rem;
}
.notfound-card p { font-size: 0.85rem; color: var(--muted); font-weight: 300; line-height: 1.6; }
.notfound-help { font-size: 0.9rem; color: var(--muted); font-weight: 300; }
.notfound-help a { color: var(--forest); text-decoration: underline; }

@media (max-width: 560px) {
  .notfound { padding: 3rem 1.25rem 4rem; }
  .notfound-links { grid-template-columns: 1fr; }
}

/* The featured resource card had its whole layout in inline styles — a
   span-2 grid-column and a two-column split — which no media query could
   override, so on a phone it rendered as a 48px sliver of clipped text. */
.blog-thumb-featured {
  background: var(--forest-deep);
  min-height: 200px;
  font-size: 3.5rem;
}
.blog-body-featured { padding: 2rem; }

@media (max-width: 720px) {
  .blog-body-featured { padding: 1.5rem; }
  /* .blog-featured .blog-thumb sets height:100% for the side-by-side desktop
     layout. Once the card stacks, that resolves against the whole card and
     the tile balloons — 562px of empty green for one emoji. */
  .blog-featured .blog-thumb-featured {
    height: auto;
    min-height: 150px;
    font-size: 2.5rem;
  }
}

/* ══════════════════════════════════════════════════════════════════
   Industry page — healthcare
   ══════════════════════════════════════════════════════════════════ */
.hc-hero { padding: 5rem 2.5rem 4.5rem; }
.hc-hero h1 {
  font-family: 'Lora', serif; font-weight: 500;
  font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.15;
  letter-spacing: -0.02em; color: var(--charcoal);
  max-width: 860px; margin: 0 auto 1.25rem; text-wrap: balance;
}
.hc-hero h1 em { font-style: italic; color: var(--forest); }
.hc-hero-sub {
  font-size: 1.05rem; color: var(--muted); font-weight: 300;
  line-height: 1.8; max-width: 620px; margin: 0 auto 2.25rem;
}

.hc-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 1.25rem; margin-top: 3rem;
}
.hc-card {
  background: var(--warm-white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.75rem;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.hc-card:hover { border-color: var(--forest); box-shadow: var(--shadow); transform: translateY(-2px); }
.hc-card h3 {
  font-family: 'Lora', serif; font-size: 1.1rem; font-weight: 500;
  color: var(--charcoal); margin: 0.75rem 0 0.6rem;
}
.hc-card p { font-size: 0.9rem; color: var(--muted); font-weight: 300; line-height: 1.75; }

.hc-proof-section { background: var(--cream); }

.hc-steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 1.5rem; margin-top: 3rem;
}
.hc-step {
  background: var(--warm-white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.6rem;
}

@media (max-width: 560px) {
  .hc-hero { padding: 3rem 1.25rem 3rem; }
  .hc-hero-sub { font-size: 0.98rem; line-height: 1.7; }
  .hc-grid, .hc-steps { grid-template-columns: 1fr; }
}

/* The industry cards' CTA is a real link on the healthcare card now. */
a.ind-link { text-decoration: none; }
a.ind-link:hover { text-decoration: underline; }

/* Lead-capture form status line. */
.lc-status { font-size: 0.85rem; color: var(--muted); margin-top: 0.75rem; min-height: 1.2em; }
.lc-status.ok { color: var(--forest); }

/* Inline code and key names, used on the accessibility statement. */
.legal-body code, .legal-body kbd {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88em;
  background: var(--sand);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 0.1em 0.4em;
}

/* Direct link to the guide, so the modal is not a toll gate. */
.lc-read {
  display: inline-block; margin-bottom: 1.1rem;
  font-size: 0.9rem; font-weight: 500; color: var(--forest);
  text-decoration: underline; text-underline-offset: 3px;
}
.lc-read:hover { color: var(--forest-light); }

/* The /resources chips are links now, not decorative buttons. */
a.filter-btn { text-decoration: none; display: inline-block; }
