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

:root {
  --navy:         #0d1f3c;
  --navy-700:     #142a52;
  --navy-600:     #1a3464;
  --navy-500:     #244080;
  --gold:         #c49a3a;
  --gold-light:   #ddb84e;
  --gold-pale:    #fdf3d4;
  --gold-bg:      #fff9ed;
  --off-white:    #f8f6f1;
  --white:        #ffffff;
  --text:         #0d1f3c;
  --text-mid:     #2e4270;
  --text-muted:   #6b7fa0;
  --border:       #e0d9cc;
  --border-light: #eee9e0;
  --red:          #c0392b;
  --red-bg:       #fdf0ef;

  --radius:    10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm: 0 1px 3px rgba(13,31,60,.07), 0 1px 2px rgba(13,31,60,.05);
  --shadow:    0 4px 14px rgba(13,31,60,.10);
  --shadow-lg: 0 16px 48px rgba(13,31,60,.15);
  --shadow-xl: 0 32px 80px rgba(13,31,60,.18);

  --nav-h: 68px;
  --section-pad: clamp(72px, 8vw, 120px);
  --inner-w: 1440px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'DM Serif Display', Georgia, serif;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

a { color: var(--navy-600); text-decoration: none; }
a:hover { text-decoration: underline; }

img, svg { display: block; }

/* ── Utility ────────────────────────────────────────────────────── */
.text-center { text-align: center; }

.section-inner {
  max-width: var(--inner-w);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 60px);
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-pale);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.9rem, 4vw, 3rem);
  color: var(--navy);
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1.1rem;
  color: var(--text-mid);
  max-width: 620px;
  line-height: 1.7;
}

/* ── Buttons ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius);
  padding: 11px 24px;
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  transition: background 0.18s, border-color 0.18s, color 0.18s, box-shadow 0.18s, transform 0.12s;
  white-space: nowrap;
  line-height: 1;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); box-shadow: 0 4px 16px rgba(196,154,58,.35); }

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover { background: var(--navy-700); border-color: var(--navy-700); }

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--border);
}
.btn-ghost:hover { background: var(--off-white); border-color: var(--border); }

.nav-actions .btn-ghost {
  color: rgba(255,255,255,.8);
  border-color: rgba(255,255,255,.22);
}
.nav-actions .btn-ghost:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.4);
  color: var(--white);
}

.btn-outline-light {
  background: transparent;
  color: rgba(255,255,255,.92);
  border-color: rgba(255,255,255,.35);
}
.btn-outline-light:hover { background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.55); }

.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: rgba(13,31,60,.35);
}
.btn-outline-navy:hover { background: rgba(13,31,60,.06); border-color: var(--navy); }

.btn-sm  { font-size: 0.85rem; padding: 8px 18px; }
.btn-lg  { font-size: 1.05rem; padding: 14px 32px; border-radius: 12px; }
.btn-full { width: 100%; }

/* ── Nav ────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,31,60,.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.07);
  height: var(--nav-h);
}

.nav-inner {
  max-width: var(--inner-w);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 60px);
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-family: 'DM Serif Display', serif;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  flex-shrink: 0;
  text-decoration: none;
}
.nav-logo:hover { text-decoration: none; color: var(--gold-light); }
.nav-logo svg { color: var(--gold); }

.nav-links {
  display: flex;
  list-style: none;
  gap: 4px;
  flex: 1;
}
.nav-links a {
  color: rgba(255,255,255,.72);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
  text-decoration: none;
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,.08); text-decoration: none; }

.nav-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-actions .btn-ghost { display: none; }
}

/* ── Hero ───────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-700) 55%, #1a3a6e 100%);
  overflow: hidden;
}

.hero-content {
  max-width: var(--inner-w);
  margin-inline: auto;
  padding: clamp(60px, 8vw, 100px) clamp(24px, 5vw, 80px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - var(--nav-h));
}

.hero-inner {
  min-width: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(196,154,58,.12);
  border: 1px solid rgba(196,154,58,.25);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.hero-headline {
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 1.5rem;
}
.hero-headline em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,.72);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 500px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.hero-note {
  font-size: 0.8rem;
  color: rgba(255,255,255,.45);
}

/* ── Hero visual / mock browser ─────────────────────────────────── */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.mock-browser {
  width: 100%;
  max-width: 520px;
  background: var(--off-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
}

.mock-browser-bar {
  background: #e8e4de;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mock-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #d0c9bf;
  flex-shrink: 0;
}
.mock-dot:nth-child(1) { background: #fc6058; }
.mock-dot:nth-child(2) { background: #fec02f; }
.mock-dot:nth-child(3) { background: #2aca3e; }

.mock-url {
  flex: 1;
  font-size: 0.7rem;
  color: #8a8278;
  background: #f0ece6;
  border-radius: 6px;
  padding: 4px 12px;
  text-align: center;
  font-family: monospace;
}

.mock-app {
  display: flex;
  height: 320px;
}

.mock-sidebar {
  width: 52px;
  background: var(--navy);
  padding: 14px 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mock-sidebar-logo {
  height: 28px;
  background: rgba(196,154,58,.5);
  border-radius: 6px;
  margin-bottom: 8px;
}

.mock-nav-item {
  height: 28px;
  background: rgba(255,255,255,.08);
  border-radius: 5px;
}
.mock-nav-item.active { background: rgba(196,154,58,.35); }
.mock-nav-item.short { width: 70%; }
.mock-nav-spacer { flex: 1; }

.mock-content {
  flex: 1;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
}

.mock-page-title {
  height: 18px;
  width: 45%;
  background: #d8d2c8;
  border-radius: 4px;
}

.mock-stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.mock-stat {
  background: var(--white);
  border-radius: 8px;
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  box-shadow: var(--shadow-sm);
}
.mock-stat-num {
  height: 14px;
  background: var(--navy);
  opacity: .18;
  border-radius: 3px;
  width: 55%;
}
.mock-stat-label {
  height: 9px;
  background: #c8c2b8;
  border-radius: 2px;
  width: 80%;
}

.mock-table { flex: 1; }
.mock-table-head {
  height: 24px;
  background: var(--off-white);
  border-radius: 4px;
  margin-bottom: 6px;
}
.mock-table-row {
  height: 22px;
  background: var(--white);
  border-radius: 4px;
  margin-bottom: 4px;
  box-shadow: var(--shadow-sm);
}
.mock-table-row.short { width: 85%; }

@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; min-height: auto; text-align: center; }
  .hero-sub { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .hero-note { text-align: center; }
}

/* ── Trust bar ──────────────────────────────────────────────────── */
.trust-bar {
  background: var(--navy-700);
  padding: 20px 0;
}

.trust-inner {
  max-width: var(--inner-w);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 60px);
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.trust-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,.5);
  white-space: nowrap;
}

.trust-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.trust-stat {
  font-size: 0.85rem;
  color: rgba(255,255,255,.8);
}
.trust-stat strong { color: var(--gold-light); }

.trust-divider {
  width: 1px;
  height: 16px;
  background: rgba(255,255,255,.2);
}

/* ── Features ───────────────────────────────────────────────────── */
.features {
  background: var(--white);
  padding: var(--section-pad) 0;
}

.feature-grid {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  padding: 28px 28px 32px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.feature-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.feature-icon {
  width: 48px; height: 48px;
  background: var(--gold-pale);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-icon svg {
  width: 22px; height: 22px;
  color: var(--gold);
  stroke: var(--gold);
}

.feature-card h3 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Demo sections ──────────────────────────────────────────────── */
.demo-section {
  background: var(--off-white);
  padding: var(--section-pad) 0;
}

.demo-section-alt {
  background: var(--white);
}

.demo-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.demo-layout-reverse .demo-copy { order: 2; }
.demo-layout-reverse .demo-image-wrap { order: 1; }

.demo-copy .section-title {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.demo-copy p {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.demo-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 2rem;
}

.demo-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-mid);
}

.demo-list svg {
  width: 18px; height: 18px;
  color: var(--gold);
  flex-shrink: 0;
}

.demo-cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.demo-image-wrap { display: flex; align-items: center; }

.demo-placeholder {
  width: 100%;
  aspect-ratio: 16/10;
  background: var(--navy);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  position: relative;
}

.demo-placeholder-alt { background: var(--navy-700); }

.demo-ph-inner {
  display: flex;
  height: calc(100% - 32px);
}

.demo-ph-sidebar {
  width: 22%;
  background: rgba(0,0,0,.2);
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.demo-ph-logo {
  height: 20px;
  background: rgba(196,154,58,.4);
  border-radius: 4px;
  margin-bottom: 10px;
}

.demo-ph-nav {
  height: 18px;
  background: rgba(255,255,255,.07);
  border-radius: 4px;
}
.demo-ph-nav.active { background: rgba(196,154,58,.3); }

.demo-ph-body {
  flex: 1;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.demo-ph-heading {
  height: 14px;
  width: 40%;
  background: rgba(255,255,255,.2);
  border-radius: 3px;
}

.demo-ph-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.demo-ph-card {
  height: 40px;
  background: rgba(255,255,255,.08);
  border-radius: 6px;
}
.demo-ph-card.gold { background: rgba(196,154,58,.25); }

.demo-ph-rows {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.demo-ph-rows.mt { margin-top: 8px; }

.demo-ph-row {
  height: 16px;
  background: rgba(255,255,255,.08);
  border-radius: 3px;
}
.demo-ph-row.short { width: 70%; }
.demo-ph-row.med   { width: 85%; }

.demo-ph-form-row {
  height: 24px;
  background: rgba(255,255,255,.1);
  border-radius: 4px;
}
.demo-ph-form-row.short { width: 65%; }

.demo-ph-label {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  height: 32px;
  background: rgba(0,0,0,.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: rgba(255,255,255,.5);
  letter-spacing: 0.04em;
}

@media (max-width: 820px) {
  .demo-layout { grid-template-columns: 1fr; }
  .demo-layout-reverse .demo-copy { order: 1; }
  .demo-layout-reverse .demo-image-wrap { order: 2; }
}

/* ── How it works ───────────────────────────────────────────────── */
.hiw {
  background: var(--navy);
  padding: var(--section-pad) 0;
}

.hiw .section-label { /* gold label on dark bg is fine */ }

.hiw .section-title { color: var(--white); margin-bottom: 3rem; }

.hiw-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.hiw-step {
  flex: 1;
  text-align: center;
  padding: 0 24px;
}

.hiw-num {
  font-family: 'DM Serif Display', serif;
  font-size: 3rem;
  color: rgba(196,154,58,.3);
  line-height: 1;
  margin-bottom: 16px;
}

.hiw-step h3 {
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 10px;
}

.hiw-step p {
  font-size: 0.9rem;
  color: rgba(255,255,255,.6);
  line-height: 1.7;
}

.hiw-connector {
  width: 60px;
  flex-shrink: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(196,154,58,.4), rgba(196,154,58,.1));
  margin-top: 28px;
  align-self: flex-start;
}

@media (max-width: 700px) {
  .hiw-steps { flex-direction: column; align-items: center; gap: 36px; }
  .hiw-connector { width: 2px; height: 40px; background: linear-gradient(180deg, rgba(196,154,58,.4), rgba(196,154,58,.1)); }
  .hiw-step { max-width: 360px; }
}

/* ── Pricing cards ──────────────────────────────────────────────── */
.pricing-preview {
  background: var(--off-white);
  padding: var(--section-pad) 0;
}

.pricing-full {
  padding: clamp(40px, 6vw, 80px) 0 var(--section-pad);
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 3rem;
  align-items: start;
}

.pricing-cards-lg { margin-top: 0; }

.pricing-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px 28px 36px;
  position: relative;
}

.pricing-card-featured {
  background: var(--navy);
  border-color: var(--navy);
  box-shadow: var(--shadow-xl);
  transform: translateY(-8px);
}

@media (max-width: 900px) {
  .pricing-cards { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .pricing-card-featured { transform: none; }
}

.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 999px;
  white-space: nowrap;
}

.plan-name {
  font-family: 'DM Serif Display', serif;
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 12px;
}
.pricing-card-featured .plan-name { color: var(--white); }

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 14px;
}

.price-amount {
  font-family: 'DM Serif Display', serif;
  font-size: 2.6rem;
  color: var(--navy);
  line-height: 1;
}
.pricing-card-featured .price-amount { color: var(--gold-light); }

.price-period {
  font-size: 0.95rem;
  color: var(--text-muted);
}
.pricing-card-featured .price-period { color: rgba(255,255,255,.5); }

.plan-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
}
.pricing-card-featured .plan-desc {
  color: rgba(255,255,255,.6);
  border-bottom-color: rgba(255,255,255,.1);
}

.plan-header { margin-bottom: 0; }

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
  font-size: 0.88rem;
  color: var(--text-mid);
}
.pricing-card-featured .plan-features { color: rgba(255,255,255,.8); }

.plan-features-full { gap: 10px; font-size: 0.9rem; }

.plan-features li::before {
  content: '✓ ';
  color: var(--gold);
  font-weight: 700;
}

.plan-features .feat-yes::before { content: '✓ '; color: var(--gold); font-weight: 700; }
.plan-features .feat-no  { color: var(--text-muted); opacity: .5; }
.plan-features .feat-no::before  { content: '— '; }
.pricing-card-featured .plan-features .feat-no { opacity: .4; }

.plan-trial-note {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 12px;
}
.pricing-card-featured .plan-trial-note { color: rgba(255,255,255,.4); }

.pricing-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 2rem;
}

.pricing-demo-note {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 2.5rem;
}
.pricing-demo-note a { color: var(--navy); font-weight: 500; }
.pricing-demo-note a:hover { color: var(--gold); }

/* ── Add-ons ─────────────────────────────────────────────────────── */
.addons-section {
  margin-top: 5rem;
}

.addons-title {
  font-size: 1.8rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.addons-intro {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.addons-group {
  margin-bottom: 2.5rem;
}

.addons-group-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.addons-group-label {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
}

.addons-group-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--navy);
  color: var(--white);
  padding: 3px 9px;
  border-radius: 20px;
}

.addons-group-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.addons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

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

.addon-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 16px 20px;
}

.addon-info { flex: 1; }

.addon-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 3px;
}

.addon-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.addon-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
  text-align: right;
}

.addon-unit {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-muted);
}

/* ── FAQ ────────────────────────────────────────────────────────── */
.faq { margin-top: 6rem; }

.faq-title {
  font-size: 1.8rem;
  color: var(--navy);
  margin-bottom: 2.5rem;
  text-align: center;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.faq-item {
  padding: 24px;
  background: var(--off-white);
  border-radius: var(--radius-lg);
}

.faq-item h3 {
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.faq-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── CTA section ────────────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-600) 100%);
  padding: var(--section-pad) 0;
  text-align: center;
}

.cta-inner h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-inner p {
  font-size: 1.05rem;
  color: rgba(255,255,255,.65);
  margin-bottom: 2.5rem;
}

.cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Footer ─────────────────────────────────────────────────────── */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.6);
  padding-top: 60px;
}

.footer-inner {
  max-width: var(--inner-w);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 60px);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(40px, 6vw, 100px);
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.footer-logo { color: var(--white); }
.footer-logo:hover { color: var(--gold-light); }

.footer-tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,.45);
  line-height: 1.7;
  margin-top: 12px;
}

.footer-links {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-col h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 14px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }

.footer-col a {
  font-size: 0.88rem;
  color: rgba(255,255,255,.55);
  transition: color 0.15s;
  text-decoration: none;
}
.footer-col a:hover { color: var(--white); text-decoration: none; }

.footer-bottom {
  max-width: var(--inner-w);
  margin-inline: auto;
  padding: 20px clamp(20px, 5vw, 60px);
  font-size: 0.78rem;
  color: rgba(255,255,255,.3);
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-bottom-parent { color: rgba(255,255,255,.22); }
.footer-bottom-parent a { color: rgba(255,255,255,.35); text-decoration: none; }
.footer-bottom-parent a:hover { color: rgba(255,255,255,.55); text-decoration: underline; }

@media (max-width: 640px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; gap: 32px; }
}

/* ── Page hero (inner pages) ────────────────────────────────────── */
.page-hero {
  background: var(--navy);
  padding: clamp(50px, 7vw, 90px) 0 clamp(40px, 5vw, 60px);
}

.page-hero-sm { padding: clamp(48px, 6vw, 72px) 0; }

.page-hero-title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  color: var(--white);
  margin-bottom: 1rem;
}

.page-hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.65);
  max-width: 500px;
  margin-inline: auto;
}

/* ── Alert ──────────────────────────────────────────────────────── */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  margin-bottom: 24px;
}
.alert-error { background: var(--red-bg); color: var(--red); border: 1px solid rgba(192,57,43,.2); }

/* ── Checkout flow ──────────────────────────────────────────────── */
.checkout-flow {
  background: var(--off-white);
  padding: clamp(40px, 6vw, 80px) 0;
  min-height: calc(100vh - var(--nav-h) - 60px);
}

.checkout-wrap {
  max-width: 1000px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 60px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 52px);
  align-items: start;
}

.checkout-wrap-narrow {
  max-width: 560px;
  grid-template-columns: 1fr;
}

.checkout-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
}

.checkout-back {
  margin-bottom: 20px;
  font-size: 0.85rem;
}
.checkout-back a { color: var(--text-muted); }
.checkout-back a:hover { color: var(--navy); }

.checkout-plan-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--gold-pale);
  border: 1px solid rgba(196,154,58,.3);
  border-radius: var(--radius);
  padding: 10px 16px;
  margin-bottom: 24px;
}

.badge-plan {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
}

.badge-price {
  font-family: 'DM Serif Display', serif;
  font-size: 1.1rem;
  color: var(--gold);
}

.checkout-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--navy);
  margin-bottom: 6px;
}

.checkout-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.checkout-form { display: flex; flex-direction: column; gap: 18px; }

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
}

.label-optional {
  font-weight: 400;
  color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(196,154,58,.12);
}

.form-group textarea { resize: vertical; }

.checkout-legal {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 14px;
  line-height: 1.6;
}
.checkout-legal a { color: var(--navy-600); }

.checkout-trust {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.trust-item svg {
  width: 14px; height: 14px;
  color: var(--gold);
}

/* Checkout sidebar */
.checkout-sidebar {
  background: var(--navy);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 4vw, 36px);
  color: rgba(255,255,255,.8);
}

.checkout-sidebar h3 {
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 20px;
}

.checkout-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.88rem;
  margin-bottom: 28px;
}

.checkout-feature-list li::before {
  content: '✓  ';
  color: var(--gold);
  font-weight: 700;
}

.checkout-quote {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px;
}

.checkout-quote blockquote {
  font-style: italic;
  font-size: 0.9rem;
  color: rgba(255,255,255,.7);
  line-height: 1.7;
  margin-bottom: 10px;
}

.checkout-quote cite {
  font-size: 0.78rem;
  color: rgba(255,255,255,.4);
  font-style: normal;
}

@media (max-width: 700px) {
  .checkout-wrap { grid-template-columns: 1fr; }
  .checkout-sidebar { order: -1; }
}

/* ── Support page ───────────────────────────────────────────────── */
.support-page {
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(48px, 8vw, 100px) clamp(20px, 5vw, 60px);
  gap: 48px;
}

.support-header {
  text-align: center;
}
.support-header h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--navy);
  margin: 8px 0 10px;
}
.support-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
}

.support-contacts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 900px;
}

.support-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 40px 32px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  font: inherit;
  transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
}
.support-card:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 32px rgba(13,31,60,.1);
  transform: translateY(-2px);
  text-decoration: none;
}

.support-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--off-white);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
  flex-shrink: 0;
}
.support-card-icon svg {
  width: 28px;
  height: 28px;
  color: var(--navy);
}
.support-card h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.3rem;
  color: var(--navy);
  margin: 0;
}
.support-card-action {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gold);
  margin: 0;
}
.support-card-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
}

@media (max-width: 640px) {
  .support-contacts { grid-template-columns: 1fr; max-width: 420px; }
  .support-card { padding: 32px 24px; }
}

/* ── Status pages (success/cancel/404) ──────────────────────────── */
.status-page {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: clamp(60px, 8vw, 100px) clamp(20px, 5vw, 60px);
  background: var(--off-white);
  min-height: calc(100vh - var(--nav-h));
}

.status-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: clamp(36px, 5vw, 56px);
  max-width: 540px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}

.status-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  border: 2px solid var(--border);
}
.status-icon svg { width: 32px; height: 32px; color: var(--text-muted); }

.status-icon-success {
  background: #edfbf0;
  border-color: #a8e8b8;
}
.status-icon-success svg { color: #16a34a; }

.status-card h1 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  color: var(--navy);
  margin-bottom: 12px;
}

.status-lead {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

.status-steps {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 28px;
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
}

.status-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
}
.status-step:last-child { border-bottom: none; }

.step-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--border);
  flex-shrink: 0;
  margin-top: 5px;
}
.status-step-done .step-dot  { background: #16a34a; }
.status-step-active .step-dot { background: var(--gold); box-shadow: 0 0 0 4px rgba(196,154,58,.2); }

.step-body { display: flex; flex-direction: column; gap: 2px; }
.step-body strong { font-size: 0.88rem; color: var(--navy); }
.step-body span { font-size: 0.8rem; color: var(--text-muted); }

.status-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.cancel-options {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.status-num {
  font-family: 'DM Serif Display', serif;
  font-size: 5rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}

/* ── Legal pages (terms / privacy) ─────────────────────────────── */
.legal-body {
  background: var(--off-white);
  padding: clamp(40px, 6vw, 80px) 0;
}

.legal-content {
  max-width: 720px;
  margin-inline: auto;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: clamp(32px, 5vw, 56px);
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
}

.legal-content h2 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.legal-content h2:first-child { margin-top: 0; }

.legal-content p, .legal-content li {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 0.6rem;
}

.legal-content ul {
  padding-left: 1.4rem;
  margin-bottom: 0.6rem;
}

.legal-content a { color: var(--navy-600); }
.legal-content a:hover { color: var(--gold); }

/* ── Minimal page wrapper ───────────────────────────────────────── */
.page-minimal body { background: var(--off-white); }

/* ── Nav utility links (Support / Sales) ────────────────────────── */
.nav-utility {
  display: flex;
  gap: 2px;
  align-items: center;
}

.nav-utility-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.5);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.nav-utility-link:hover {
  color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.07);
  text-decoration: none;
}
.nav-utility-link svg { flex-shrink: 0; }

/* hide utility links below 1020px — they reappear in the footer */
@media (max-width: 1020px) { .nav-utility { display: none; } }

/* ── Homepage features teaser ───────────────────────────────────── */
.features-teaser {
  background: var(--white);
  padding: var(--section-pad) 0;
}

.feat-teaser-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.feat-teaser-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--navy);
  background: var(--white);
  transition: border-color 0.18s, box-shadow 0.18s, transform 0.15s;
}
.feat-teaser-item:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
  text-decoration: none;
  color: var(--navy);
}
.feat-teaser-item .feature-icon {
  margin-bottom: 0;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
}
.feat-teaser-item h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0;
}

.feat-teaser-cta {
  text-align: center;
  margin-top: 2.5rem;
}

@media (max-width: 700px) { .feat-teaser-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 440px) { .feat-teaser-grid { grid-template-columns: 1fr; } }

/* ── Features page: summary grid ───────────────────────────────── */
.feat-summary-section {
  background: var(--off-white);
  padding: clamp(48px, 6vw, 72px) 0;
}

.feat-summary-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feat-summary-card {
  display: block;
  padding: 24px 22px 26px;
  background: var(--white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--navy);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.18s;
}
.feat-summary-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  text-decoration: none;
}
.feat-summary-card .feature-icon { margin-bottom: 14px; }
.feat-summary-card h3 { font-size: 0.95rem; color: var(--navy); margin-bottom: 6px; }
.feat-summary-card p  { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; }

@media (max-width: 820px) { .feat-summary-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .feat-summary-grid { grid-template-columns: 1fr; } }

/* ── Features page: detail sections ────────────────────────────── */
.feat-sections { display: flex; flex-direction: column; }

.feat-section {
  padding: var(--section-pad) 0;
  min-height: 80vh;
  display: flex;
  align-items: center;
}
.feat-section:nth-child(odd)  { background: var(--white); }
.feat-section:nth-child(even) { background: var(--off-white); }

.feat-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  width: 100%;
}

/* Even sections swap image to the left */
.feat-section:nth-child(even) .feat-text  { order: 2; }
.feat-section:nth-child(even) .feat-image { order: 1; }

.feat-text .section-label { margin-bottom: 0.75rem; }

.feat-text h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  color: var(--navy);
  margin-bottom: 1.25rem;
}

.feat-text p {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.feat-text p:last-of-type { margin-bottom: 1.5rem; }

.feat-bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 2rem;
}
.feat-bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.6;
}
.feat-bullet-list li::before {
  content: '';
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 7px;
}

/* Screenshot placeholder (features page) */
.img-placeholder {
  width: 100%;
  aspect-ratio: 16/10;
  background: var(--navy);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 2px dashed rgba(196,154,58,.35);
}

.img-ph-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(196,154,58,.18);
  border: 1px solid rgba(196,154,58,.4);
  color: var(--gold-light);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
  z-index: 1;
}

@media (max-width: 1000px) {
  .feat-section { min-height: auto; padding: clamp(48px, 7vw, 80px) 0; }
  .feat-layout { grid-template-columns: 1fr; gap: 36px; }
  .feat-section:nth-child(even) .feat-text  { order: 1; }
  .feat-section:nth-child(even) .feat-image { order: 2; }
  .feat-image .am-inner { height:360px; }
  .feat-image .app-mock { max-width: 640px; margin: 0 auto; }
}

/* ── App Mockup (contextualized demo screenshots) ───────────────── */
.app-mock {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 12px; color: #1e293b;
  background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,.07), 0 10px 30px -5px rgba(0,0,0,.1), 0 0 0 1px rgba(0,0,0,.06);
  line-height: 1.4; user-select: none; width: 100%;
}
.app-mock-bar {
  background: #f1f3f5; border-bottom: 1px solid #dde1e7;
  padding: 7px 12px; display: flex; align-items: center; gap: 5px;
}
.am-dot { width:10px;height:10px;border-radius:50%;flex-shrink:0; }
.am-dot-r{background:#ff5f57}.am-dot-y{background:#febc2e}.am-dot-g{background:#28c840}
.app-mock-bar-url {
  margin-left:6px; font-size:10.5px; color:#6b7280;
  background:#fff; border:1px solid #dde1e7; border-radius:4px;
  padding:2px 10px; flex:1; max-width:240px; text-align:center;
}
.am-inner { display:flex; height:370px; overflow:hidden; }
.am-inner-sm { height:310px; }
.am-inner-hero { height:330px; }
.feat-image .am-inner { height:330px; }
.demo-image-wrap .am-inner { height:390px; }
.am-sidebar {
  width:130px; min-width:130px; background:#0d1f3c;
  display:flex; flex-direction:column; overflow:hidden;
}
.am-sidebar-logo {
  padding:13px 14px 12px; font-size:12.5px; font-weight:700;
  color:#fff; letter-spacing:.03em;
  border-bottom:1px solid rgba(255,255,255,.08); flex-shrink:0;
}
.am-sidebar-logo span { color:#c49a3a; }
.am-nav { padding:8px 0; flex:1; overflow:hidden; }
.am-nav-item {
  display:flex; align-items:center; gap:7px; padding:6px 14px;
  font-size:11px; color:rgba(255,255,255,.48); cursor:default; overflow:hidden;
}
.am-nav-item svg { width:12px;height:12px;flex-shrink:0;stroke:currentColor;fill:none;stroke-width:1.75; }
.am-nav-item.am-active {
  background:rgba(255,255,255,.1); color:#fff;
  border-left:2px solid #c49a3a; padding-left:12px;
}
.am-body { flex:1; background:#f8f9fa; display:flex; flex-direction:column; overflow:hidden; min-width:0; }
.am-topbar {
  background:#fff; border-bottom:1px solid #e8eaed; padding:8px 14px;
  display:flex; align-items:center; justify-content:space-between; flex-shrink:0;
}
.am-page-title { font-size:13px; font-weight:600; color:#0d1f3c; }
.am-page-sub   { font-size:10px; color:#9ca3af; margin-top:1px; }
.am-btn-sm {
  font-size:9.5px; font-weight:500; background:#0d1f3c; color:#fff;
  border-radius:4px; padding:3px 9px; white-space:nowrap;
}
.am-content { flex:1; overflow:hidden; padding:10px 12px; display:flex; flex-direction:column; gap:8px; }
.am-stats { display:grid; gap:7px; }
.am-stats-4 { grid-template-columns:repeat(4,1fr); }
.am-stats-3 { grid-template-columns:repeat(3,1fr); }
.am-stats-2x2 { grid-template-columns:repeat(2,1fr); }
.am-stat-card {
  background:#fff; border:1px solid #e8eaed; border-radius:5px;
  padding:7px 9px; display:flex; align-items:center; gap:6px;
}
.am-stat-icon {
  width:24px; height:24px; border-radius:4px;
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.am-stat-icon svg { width:12px;height:12px;stroke:currentColor;fill:none;stroke-width:1.75; }
.am-icon-blue   { background:#eff6ff; color:#2563eb; }
.am-icon-slate  { background:#f1f5f9; color:#475569; }
.am-icon-purple { background:#f5f3ff; color:#7c3aed; }
.am-icon-cyan   { background:#ecfeff; color:#0891b2; }
.am-icon-orange { background:#fff7ed; color:#c2410c; }
.am-icon-teal   { background:#f0fdfa; color:#0d9488; }
.am-icon-rose   { background:#fff1f2; color:#e11d48; }
.am-icon-green  { background:#f0fdf4; color:#16a34a; }
.am-icon-indigo { background:#eef2ff; color:#4338ca; }
.am-icon-gold   { background:#fffbeb; color:#b45309; }
.am-stat-num { font-size:15px; font-weight:700; color:#0d1f3c; line-height:1; }
.am-stat-lbl { font-size:8.5px; color:#9ca3af; text-transform:uppercase; letter-spacing:.04em; margin-top:2px; }
.am-card { background:#fff; border:1px solid #e8eaed; border-radius:5px; overflow:hidden; flex-shrink:0; }
.am-card-hd {
  padding:6px 11px; border-bottom:1px solid #e8eaed;
  display:flex; align-items:center; justify-content:space-between;
  font-size:11px; font-weight:600; color:#374151; background:#fff; flex-shrink:0;
}
.am-status-bar {
  display:flex; background:#fff; border:1px solid #e8eaed;
  border-radius:5px; overflow:hidden; flex-shrink:0;
}
.am-status-pill {
  padding:5px 11px; font-size:10.5px; color:#6b7280;
  border-right:1px solid #e8eaed; display:flex; align-items:center; gap:5px; cursor:default;
}
.am-status-pill:last-child { border-right:none; }
.am-status-pill.am-active { background:#eef2ff; color:#1e3a5f; font-weight:600; }
table.am-tbl { width:100%; border-collapse:collapse; font-size:11px; }
table.am-tbl th {
  padding:4px 8px; text-align:left; font-size:9.5px; font-weight:600;
  color:#9ca3af; text-transform:uppercase; letter-spacing:.04em;
  border-bottom:1px solid #e8eaed; background:#f9fafb; white-space:nowrap;
}
table.am-tbl td {
  padding:5px 8px; border-bottom:1px solid #f1f5f9;
  color:#374151; white-space:nowrap; overflow:hidden;
}
table.am-tbl tr:last-child td { border-bottom:none; }
.am-link  { color:#0d1f3c; font-weight:500; }
.am-muted { color:#9ca3af; }
.am-danger{ color:#dc2626; }
.am-tag {
  display:inline-block; font-size:9px; font-weight:600;
  padding:1.5px 5px; border-radius:3px;
  text-transform:uppercase; letter-spacing:.03em; white-space:nowrap;
}
.am-tag-green   { background:#dcfce7; color:#15803d; }
.am-tag-red     { background:#fee2e2; color:#b91c1c; }
.am-tag-gray    { background:#f3f4f6; color:#6b7280; }
.am-tag-blue    { background:#dbeafe; color:#1d4ed8; }
.am-tag-orange  { background:#ffedd5; color:#c2410c; }
.am-tag-gold    { background:#fef3c7; color:#92400e; }
.am-tag-navy    { background:#e0e7ff; color:#3730a3; }
.am-tag-teal    { background:#ccfbf1; color:#0f766e; }
.am-tag-outline { background:transparent; border:1px solid #e2e8f0; color:#64748b; }
.am-tag-purple  { background:#f5f3ff; color:#7c3aed; }
.am-fp-list { display:flex; flex-direction:column; gap:0; }
.am-fp-row {
  display:flex; align-items:center; justify-content:space-between;
  padding:7px 12px; border-bottom:1px solid #f1f5f9;
  font-size:11px;
}
.am-fp-row:last-child { border-bottom:none; }
.am-fp-name { font-weight:500; color:#0d1f3c; }
.am-fp-meta { font-size:10px; color:#9ca3af; margin-top:1px; }
.am-count-badge {
  background:#f3f4f6; color:#6b7280; border-radius:10px;
  font-size:9.5px; font-weight:600; padding:1px 7px;
}
@media (max-width: 700px) {
  .am-sidebar { display:none; }
  .am-inner, .am-inner-sm, .am-inner-hero { height:auto; min-height:280px; }
}

/* ── Trust bar — sector badges ──────────────────────────────────── */
.trust-sectors {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.trust-sector {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,.72);
  white-space: nowrap;
}

.trust-sector svg {
  width: 15px; height: 15px;
  color: var(--gold);
  flex-shrink: 0;
}

.trust-sector-divider {
  width: 1px;
  height: 16px;
  background: rgba(255,255,255,.15);
}

/* ── Replace section ────────────────────────────────────────────── */
.replace-section {
  background: var(--off-white);
  padding: var(--section-pad) 0;
}

.replace-title { margin-bottom: 0.75rem; }
.replace-sub   { margin-bottom: 3rem; }

.replace-grid {
  display: grid;
  grid-template-columns: 1fr 40px 1fr;
  gap: 0;
  align-items: stretch;
}

.replace-col {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 1.5px solid var(--border-light);
}

.replace-col-before { border-color: var(--border); }

.replace-col-after {
  border-color: var(--gold);
  box-shadow: 0 4px 24px rgba(196,154,58,.12);
}

.replace-col-header {
  margin-bottom: 20px;
}

.replace-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
}

.replace-badge-bad {
  background: #fee2e2;
  color: #b91c1c;
}

.replace-badge-good {
  background: var(--gold-pale);
  color: var(--gold);
}

.replace-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.replace-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.93rem;
  line-height: 1.55;
}

.replace-list svg {
  width: 16px; height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

.replace-list-bad li    { color: var(--text-mid); }
.replace-list-bad svg   { color: #dc2626; }
.replace-list-good li   { color: var(--text-mid); }
.replace-list-good svg  { color: var(--gold); }

.replace-divider-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.replace-divider-line {
  flex: 1;
  width: 1px;
  background: var(--border-light);
}

.replace-divider-icon {
  width: 32px; height: 32px;
  background: var(--gold-pale);
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin: 6px 0;
}

.replace-divider-icon svg {
  width: 14px; height: 14px;
  color: var(--gold);
}

@media (max-width: 820px) {
  .replace-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .replace-divider-col {
    flex-direction: row;
    height: 32px;
  }
  .replace-divider-line {
    flex: 1;
    width: auto;
    height: 1px;
  }
  .replace-divider-icon { margin: 0 8px; }
}

/* ── Testimonials ────────────────────────────────────────────────── */
.testimonials {
  background: var(--white);
  padding: var(--section-pad) 0;
}

.testimonial-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  align-items: start;
}

.testimonial-card {
  background: var(--off-white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.testimonial-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
}

.testimonial-metrics {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-light);
}

.testimonial-metric {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.metric-num {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.75rem;
  color: var(--navy);
  line-height: 1;
}

.metric-lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.testimonial-metric-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}

.testimonial-quote {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.7;
  font-style: italic;
  flex: 1;
}

.testimonial-quote::before { content: '\201C'; }
.testimonial-quote::after  { content: '\201D'; }

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.03em;
}

.author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.author-info strong {
  font-size: 0.9rem;
  color: var(--navy);
  font-weight: 600;
}

.author-info span {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ── Feature tabs bar ────────────────────────────────────────────── */
.feat-tabs-bar {
  position: sticky;
  top: var(--nav-h);
  z-index: 50;
  background: var(--white);
  border-bottom: 1.5px solid var(--border-light);
  box-shadow: 0 2px 8px rgba(13,31,60,.06);
}

.feat-tabs-inner {
  max-width: var(--inner-w);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 60px);
  display: flex;
  gap: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(to right, black calc(100% - 60px), transparent 100%);
  mask-image: linear-gradient(to right, black calc(100% - 60px), transparent 100%);
}

.feat-tabs-inner::-webkit-scrollbar { display: none; }

.feat-tab {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 14px 18px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2.5px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

.feat-tab svg {
  width: 15px; height: 15px;
  flex-shrink: 0;
}

.feat-tab:hover {
  color: var(--navy);
  border-bottom-color: var(--gold);
  text-decoration: none;
}

.feat-tab.feat-tab-active {
  color: var(--navy);
  border-bottom-color: var(--gold);
  font-weight: 600;
}

/* ── Pricing trust badges ────────────────────────────────────────── */
.pricing-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 2.5rem 0 1.5rem;
}

.pricing-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-mid);
  background: var(--off-white);
  border: 1px solid var(--border-light);
  border-radius: 999px;
  padding: 7px 16px;
}

.pricing-trust-badge svg {
  width: 14px; height: 14px;
  color: var(--gold);
  flex-shrink: 0;
}

/* ── Mobile hamburger nav ─────────────────────────────────────────── */
.nav-hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: rgba(255,255,255,.85);
  flex-shrink: 0;
  border-radius: 6px;
  transition: background 0.15s;
}
.nav-hamburger:hover { background: rgba(255,255,255,.08); }
.nav-hamburger svg { display: block; }
.nav-hamburger .icon-close { display: none; }
.nav-hamburger.is-open .icon-menu { display: none; }
.nav-hamburger.is-open .icon-close { display: block; }

@media (max-width: 768px) {
  .nav-hamburger { display: flex; }
}

.mobile-menu {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--navy);
  z-index: 99;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu.is-open { transform: translateX(0); }

body.menu-open { overflow: hidden; }

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding-top: 8px;
}

.mobile-menu-nav a {
  display: flex;
  align-items: center;
  color: rgba(255,255,255,.75);
  font-size: 1rem;
  font-weight: 500;
  padding: 15px clamp(20px, 5vw, 40px);
  border-bottom: 1px solid rgba(255,255,255,.07);
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
}
.mobile-menu-nav a:hover {
  color: var(--white);
  background: rgba(255,255,255,.05);
  text-decoration: none;
}

.mobile-menu-ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px clamp(20px, 5vw, 40px);
  padding-bottom: max(24px, env(safe-area-inset-bottom, 24px));
  border-top: 1px solid rgba(255,255,255,.08);
}

/* ── Trust bar: clean stacking on mobile ──────────────────────────── */
@media (max-width: 640px) {
  .trust-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .trust-sectors { gap: 10px 20px; }
  .trust-sector-divider { display: none; }
  .trust-stats { gap: 10px 20px; }
  .trust-divider { display: none; }
}

/* ── HIW: centre the section heading to match the centred steps ───── */
.hiw .section-label,
.hiw .section-title { text-align: center; }

/* ── Hero: reduce height and hide visual on very small screens ──────── */
@media (max-width: 540px) {
  .hero-content { padding-top: 48px; padding-bottom: 40px; }
  .hero-visual { display: none; }
}

/* ── Feat teaser grid: 2-col on small tablets ─────────────────────── */
@media (min-width: 441px) and (max-width: 700px) {
  .feat-teaser-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── App mock: prevent horizontal overflow on narrow containers ─────── */
.app-mock { overflow: hidden; }

/* ── Pricing: give stacked featured card breathing room for badge ────── */
@media (max-width: 900px) {
  .pricing-cards .pricing-card-featured { margin-top: 20px; }
}

/* ── Footer: tighten gap on mid-range screens ─────────────────────── */
@media (min-width: 641px) and (max-width: 900px) {
  .footer-inner { gap: clamp(28px, 4vw, 60px); }
}

/* ── Addons grid: single-col at 500px (earlier than 640px) ────────── */
@media (max-width: 500px) {
  .addons-grid { grid-template-columns: 1fr; }
  .addon-card { flex-direction: column; align-items: flex-start; gap: 8px; }
  .addon-price { font-size: 1rem; }
}

/* ── Blog ───────────────────────────────────────────────────────── */
.blog-hero { background: linear-gradient(180deg, var(--off-white) 0%, var(--white) 100%); }

.blog-section { padding-block: clamp(40px, 5vw, 64px) var(--section-pad); }

.blog-cat-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 28px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--border-light);
}
.blog-cat {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-mid);
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--white);
  text-decoration: none;
  transition: all 0.15s;
}
.blog-cat:hover { color: var(--navy); border-color: var(--navy); text-decoration: none; }
.blog-cat.is-active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.blog-feature {
  display: block;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 4vw, 56px);
  margin-bottom: 56px;
  text-decoration: none;
  transition: transform 0.18s, box-shadow 0.18s;
  position: relative;
  overflow: hidden;
}
.blog-feature::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(196,154,58,.15) 0%, transparent 60%);
  pointer-events: none;
}
.blog-feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-xl); text-decoration: none; }
.blog-feature-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255,255,255,.7);
  margin-bottom: 16px;
}
.blog-feature-title {
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  color: var(--white);
  margin-bottom: 14px;
  max-width: 880px;
}
.blog-feature-excerpt {
  font-size: 1.1rem;
  color: rgba(255,255,255,.85);
  max-width: 720px;
  line-height: 1.65;
  margin-bottom: 24px;
}

.blog-meta-sep { color: var(--text-muted); opacity: 0.6; }
.blog-feature .blog-meta-sep { color: rgba(255,255,255,.45); }

.blog-cat-chip {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-pale);
  padding: 4px 10px;
  border-radius: 999px;
}
.blog-cat-chip-light {
  background: rgba(196,154,58,.18);
  color: var(--gold-light);
}
.blog-feature .blog-cat-chip {
  background: rgba(196,154,58,.2);
  color: var(--gold-light);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 28px;
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.15s, transform 0.18s, box-shadow 0.18s;
}
.blog-card:hover {
  border-color: var(--navy-500);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.blog-card-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  text-decoration: none;
  color: inherit;
  height: 100%;
}
.blog-card-inner:hover { text-decoration: none; }
.blog-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.blog-card-title {
  font-size: 1.4rem;
  color: var(--navy);
  line-height: 1.25;
}
.blog-card-excerpt {
  color: var(--text-mid);
  font-size: 0.95rem;
  line-height: 1.6;
  flex-grow: 1;
}

.blog-author-line {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-mid);
  margin-top: auto;
}
.blog-feature .blog-author-line { color: rgba(255,255,255,.85); }

.blog-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--navy);
  font-family: 'DM Serif Display', serif;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.blog-avatar-sm { width: 28px; height: 28px; font-size: 0.75rem; }
.blog-avatar-lg { width: 56px; height: 56px; font-size: 1.3rem; }
.blog-avatar-xl { width: 96px; height: 96px; font-size: 2rem; box-shadow: var(--shadow); }
img.blog-avatar, .blog-avatar img {
  object-fit: cover;
  border-radius: 999px;
  width: 100%;
  height: 100%;
  display: block;
}
img.blog-avatar { width: 36px; height: 36px; }
img.blog-avatar-sm { width: 28px; height: 28px; }
.blog-avatar { overflow: hidden; padding: 0; }

/* Post page */
.blog-post-hero {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-700) 100%);
  color: var(--white);
  padding-block: clamp(40px, 5vw, 72px) clamp(48px, 6vw, 96px);
}
.blog-post-hero-inner { max-width: 820px; }

/* When a hero image is present, soften the gradient and tighten spacing
   so the image reads as the focal point with the title sitting under it. */
.blog-post-hero-with-image {
  padding-block: clamp(28px, 3.5vw, 44px) clamp(40px, 5vw, 72px);
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-700) 100%);
}
.blog-post-hero-with-image .blog-back-link { margin-bottom: 20px; }

.blog-post-hero-figure {
  margin: 0 0 32px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 16px 40px rgba(0,0,0,.34);
  background: var(--navy-700);
  /* Wider than the 820px text column but capped so it doesn't dwarf the
     title on large screens. Left-aligned with the title block below. */
  width: 100%;
  max-width: 1040px;
}
.blog-post-hero-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 21 / 9;
  object-fit: cover;
}
@media (max-width: 640px) {
  .blog-post-hero-figure {
    border-radius: 10px;
    margin-bottom: 24px;
  }
  .blog-post-hero-figure img { aspect-ratio: 16 / 9; }
}
.blog-back-link {
  display: inline-block;
  font-size: 0.85rem;
  color: rgba(255,255,255,.7);
  margin-bottom: 20px;
  text-decoration: none;
}
.blog-back-link:hover { color: var(--gold-light); text-decoration: none; }
.blog-back-link-light { color: rgba(255,255,255,.85); }

.blog-post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255,255,255,.7);
  margin-bottom: 18px;
}
.blog-post-title {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 18px;
}
.blog-post-dek {
  font-size: 1.2rem;
  color: rgba(255,255,255,.85);
  line-height: 1.55;
  margin-bottom: 32px;
}
.blog-post-author {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px 10px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  text-decoration: none;
  color: var(--white);
  transition: background 0.15s;
}
.blog-post-author:hover { background: rgba(255,255,255,.10); text-decoration: none; }
.blog-post-author-text { display: flex; flex-direction: column; line-height: 1.25; }
.blog-post-author-text small { color: rgba(255,255,255,.65); font-size: 0.78rem; }

.blog-post-body { padding-block: clamp(48px, 6vw, 96px); background: var(--white); }
.blog-prose {
  max-width: 720px;
  margin-inline: auto;
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--text);
}
.blog-prose > * + * { margin-top: 1.2em; }
.blog-prose h2 {
  font-size: 1.7rem;
  color: var(--navy);
  margin-top: 2.4em;
  margin-bottom: 0.4em;
  line-height: 1.25;
}
.blog-prose h3 {
  font-size: 1.3rem;
  color: var(--navy);
  margin-top: 2em;
  margin-bottom: 0.4em;
}
.blog-prose p { margin-top: 1.2em; }
.blog-prose ul, .blog-prose ol { padding-left: 1.4em; }
.blog-prose li { margin-top: 0.4em; }
.blog-prose blockquote {
  border-left: 3px solid var(--gold);
  padding: 4px 0 4px 24px;
  margin: 1.8em 0;
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  font-size: 1.25rem;
  color: var(--navy);
  line-height: 1.45;
}
.blog-prose a {
  color: var(--navy-600);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 3px;
}
.blog-prose a:hover { color: var(--navy); }
.blog-prose code {
  font-family: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;
  background: var(--off-white);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.92em;
  border: 1px solid var(--border-light);
}
.blog-prose pre {
  background: var(--navy);
  color: var(--white);
  padding: 18px 22px;
  border-radius: var(--radius);
  overflow-x: auto;
  font-size: 0.9rem;
  line-height: 1.55;
}
.blog-prose pre code {
  background: transparent;
  border: none;
  padding: 0;
  color: inherit;
}
.blog-prose strong { color: var(--navy); }
.blog-prose hr {
  border: none;
  border-top: 1px solid var(--border-light);
  margin: 2.4em 0;
}
.blog-prose img { max-width: 100%; border-radius: var(--radius); margin: 2em auto; }
.blog-prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.6em 0;
  font-size: 0.95rem;
}
.blog-prose th, .blog-prose td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-light);
  text-align: left;
}
.blog-prose th { background: var(--off-white); color: var(--navy); font-weight: 600; }

.blog-tags {
  max-width: 720px;
  margin: 40px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.blog-tag {
  font-size: 0.8rem;
  color: var(--text-muted);
  background: var(--off-white);
  padding: 4px 10px;
  border-radius: 999px;
}

.blog-author-card {
  display: flex;
  gap: 20px;
  max-width: 720px;
  margin: 56px auto 0;
  padding: 28px;
  background: var(--off-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
}
.blog-author-card .blog-avatar-lg { text-decoration: none; }
.blog-author-card-body { flex: 1; }
.blog-author-card-name {
  font-family: 'DM Serif Display', serif;
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 2px;
}
.blog-author-card-name a { color: inherit; text-decoration: none; }
.blog-author-card-name a:hover { color: var(--navy-600); }
.blog-author-card-title {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.blog-author-card p {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 12px;
}
.blog-author-card-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy-600);
}

.blog-pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 720px;
  margin: 56px auto 0;
}
.blog-pager-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 22px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--navy);
  transition: border-color 0.15s, background 0.15s;
}
.blog-pager-item:hover { border-color: var(--navy); background: var(--off-white); text-decoration: none; }
.blog-pager-item small { font-size: 0.75rem; color: var(--text-muted); font-weight: 500; }
.blog-pager-item strong { font-size: 0.95rem; line-height: 1.35; }
.blog-pager-next { text-align: right; }

.blog-related {
  max-width: 1100px;
  margin: 80px auto 0;
}
.blog-related-title {
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 24px;
  text-align: center;
}

.blog-cta {
  max-width: 720px;
  margin: 80px auto 0;
  padding: 40px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-700) 100%);
  color: var(--white);
  border-radius: var(--radius-xl);
  text-align: center;
}
.blog-cta h2 {
  color: var(--white);
  font-size: 1.8rem;
  margin-bottom: 10px;
}
.blog-cta p {
  color: rgba(255,255,255,.85);
  margin-bottom: 24px;
}
.blog-cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.blog-author-hero { background: var(--off-white); }
.blog-author-hero-inner {
  display: flex;
  gap: 32px;
  align-items: center;
  margin-top: 20px;
}
.blog-author-hero-title {
  color: var(--text-mid);
  font-size: 1rem;
  margin: 4px 0 16px;
}

@media (max-width: 640px) {
  .blog-author-hero-inner { flex-direction: column; text-align: center; align-items: center; }
  .blog-pager { grid-template-columns: 1fr; }
  .blog-pager-next { text-align: left; }
  .blog-author-card { flex-direction: column; text-align: center; align-items: center; }
}
