/* ===================================================================
   Narrivo — Luxe public stylesheet (marketing + legal pages)
   Loaded only by render_lux(); payment pages keep hub.css.
   =================================================================== */

:root {
  /* Narrivo editorial identity — warm paper & ink, distinct from the dark reference */
  --bg-primary:    #f4efe5;   /* warm paper */
  --bg-elevated:   #fffdf8;   /* card paper */
  --bg-glass:      rgba(26,23,18,.04);
  --border:        rgba(26,23,18,.14);
  --border-strong: rgba(26,23,18,.26);
  --accent-1:      #1f6f5c;   /* editorial emerald (ink-green) */
  --accent-1-dark: #185546;
  --accent-2:      #b4541f;   /* terracotta */
  --accent-3:      #a9802a;   /* brass */
  --gradient-hero: linear-gradient(118deg,#1f6f5c 0%,#2f4858 60%,#b4541f 120%);
  --text-primary:  #1a1712;   /* ink */
  --text-muted:    #6b6357;
  --text-subtle:   #8c8475;
  --maxw: 1140px;
  --radius: 16px;
  --radius-sm: 10px;
  --font-head: 'Fraunces', 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --shadow-card: 0 1px 2px rgba(26,23,18,.05), 0 22px 48px -28px rgba(26,23,18,.30);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.1; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; }

.cn-wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; width: 100%; }

/* gradient text helper */
.cn-grad {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,10,15,.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; gap: 24px;
}
.nav-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 18px; }
.nav-brand-text { letter-spacing: -.01em; }
.nav-links { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav-link {
  padding: 8px 14px; border-radius: 10px; color: var(--text-muted);
  font-size: 14.5px; font-weight: 500; transition: color .2s, background .2s;
}
.nav-link:hover { color: var(--text-primary); background: var(--bg-glass); }
.nav-link.on { color: var(--text-primary); }
.nav-cta {
  padding: 9px 18px; border-radius: 10px; font-size: 14.5px; font-weight: 600;
  color: #fff; background: var(--accent-1);
  border: 1px solid rgba(255,255,255,.12);
  transition: transform .2s, box-shadow .2s, background .2s;
  min-height: 40px; display: inline-flex; align-items: center;
}
.nav-cta:hover { background: #5457e5; transform: translateY(-1px); box-shadow: 0 8px 24px -8px var(--accent-1); }
.nav-burger {
  display: none; flex-direction: column; gap: 5px; background: none; border: 0;
  cursor: pointer; padding: 8px; min-width: 44px; min-height: 44px; align-items: center; justify-content: center;
}
.nav-burger span { width: 22px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 12px; font-family: var(--font-body);
  font-size: 15px; font-weight: 600; cursor: pointer; border: 1px solid transparent;
  transition: transform .2s, box-shadow .2s, background .2s, border-color .2s;
  min-height: 48px; white-space: nowrap;
}
.btn-primary { color: #fff; background: var(--accent-1); border-color: rgba(255,255,255,.14); }
.btn-primary:hover { background: #5457e5; transform: translateY(-2px); box-shadow: 0 14px 34px -12px var(--accent-1); }
.btn-ghost { color: var(--text-primary); background: var(--bg-glass); border-color: var(--border-strong); }
.btn-ghost:hover { background: rgba(255,255,255,.06); transform: translateY(-2px); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 96px 0 88px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; animation: orbFloat 18s ease-in-out infinite; }
.hero-orb-1 { width: 460px; height: 460px; background: var(--accent-1); top: -120px; left: -80px; }
.hero-orb-2 { width: 420px; height: 420px; background: var(--accent-2); top: 40px; right: -120px; animation-delay: -6s; }
.hero-orb-3 { width: 360px; height: 360px; background: var(--accent-3); bottom: -160px; left: 38%; opacity: .35; animation-delay: -12s; }
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 0%, transparent 75%);
          mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 0%, transparent 75%);
  opacity: .6;
}
.hero-inner { position: relative; z-index: 1; max-width: 820px; margin: 0 auto; padding: 0 24px; text-align: center; }
.hero-kicker {
  display: inline-block; padding: 7px 16px; border-radius: 999px;
  border: 1px solid var(--border-strong); background: var(--bg-glass);
  font-size: 13px; font-weight: 600; color: var(--text-muted);
  letter-spacing: .04em; text-transform: uppercase; margin-bottom: 26px;
}
.hero-title { font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 900; letter-spacing: -.03em; }
.hero-title-line { background: var(--gradient-hero); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { margin: 24px auto 0; max-width: 600px; font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: var(--text-muted); }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 38px; }

@keyframes orbFloat {
  0%, 100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(30px,-26px) scale(1.06); }
  66% { transform: translate(-22px,18px) scale(.96); }
}

/* ---------- Sections ---------- */
.section { padding: 84px 0; position: relative; }
.section-alt { background: var(--bg-elevated); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section-narrow { max-width: 760px; }
.section-head { max-width: 640px; margin: 0 auto 52px; text-align: center; }
.section-head-left { margin-left: 0; text-align: left; }
.section-kicker {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent-2); margin-bottom: 14px;
}
.section-title { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.section-sub { margin-top: 16px; color: var(--text-muted); font-size: 1.08rem; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.service-card {
  background: var(--bg-glass); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; transition: transform .25s, border-color .25s, box-shadow .25s, background .25s;
}
.service-card:hover { transform: translateY(-5px); border-color: var(--border-strong); background: rgba(255,255,255,.05); box-shadow: var(--shadow-card); }
.service-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  font-size: 26px; margin-bottom: 18px; background: rgba(99,102,241,.12); border: 1px solid var(--border-strong);
}
.service-title { font-size: 1.2rem; margin-bottom: 8px; }
.service-desc { color: var(--text-muted); font-size: .96rem; }

/* ---------- Process ---------- */
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.process-step { padding: 28px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--bg-glass); }
.process-step h3 { font-size: 1.25rem; margin: 14px 0 8px; }
.process-step p { color: var(--text-muted); font-size: .96rem; }
.process-num {
  font-family: ui-monospace, monospace; font-size: 1.6rem; font-weight: 700;
  background: var(--gradient-hero); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- About ---------- */
.about-body { margin-top: 8px; }
.about-body p { color: var(--text-muted); font-size: 1.08rem; margin-bottom: 18px; }
.about-body p:last-child { margin-bottom: 0; }

/* ---------- CTA banner ---------- */
.cta-banner { padding: 88px 0; position: relative; overflow: hidden; }
.cta-banner::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 120% at 50% 0%, rgba(99,102,241,.18), transparent 70%);
  pointer-events: none;
}
.cta-inner { position: relative; max-width: 680px; margin: 0 auto; padding: 0 24px; text-align: center; }
.cta-title { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.cta-sub { margin: 16px auto 32px; color: var(--text-muted); font-size: 1.1rem; max-width: 480px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Pricing ---------- */
.pricing-hero { padding: 80px 0 36px; text-align: center; }
.pricing-hero-inner { max-width: 680px; margin: 0 auto; padding: 0 24px; }
.pricing-title { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 900; margin-top: 12px; }
.pricing-sub { margin: 20px auto 0; max-width: 560px; color: var(--text-muted); font-size: 1.1rem; }
.pricing-grid-section { padding: 28px 0 84px; }
.pricing-grid {
  max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; align-items: start;
}
.pricing-card {
  background: var(--bg-glass); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 28px; display: flex; flex-direction: column; gap: 22px; position: relative;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.pricing-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); }
.pricing-card.is-popular {
  border-color: transparent; background: linear-gradient(var(--bg-elevated), var(--bg-elevated)) padding-box,
    var(--gradient-hero) border-box; border: 1.5px solid transparent;
  box-shadow: 0 24px 60px -24px rgba(99,102,241,.55);
}
.pricing-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  padding: 5px 16px; border-radius: 999px; font-size: 12px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase; color: #fff; background: var(--gradient-hero);
  white-space: nowrap;
}
.pricing-card-head { display: flex; flex-direction: column; gap: 8px; }
.pricing-icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  font-size: 22px; background: rgba(236,72,153,.12); border: 1px solid var(--border-strong); margin-bottom: 6px;
}
.pricing-name { font-size: 1.5rem; }
.pricing-desc { color: var(--text-muted); font-size: .95rem; }
.pricing-amount { display: flex; flex-direction: column; gap: 4px; padding: 18px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.pricing-from { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-subtle); }
.pricing-value { font-family: var(--font-head); font-size: 2.6rem; font-weight: 700; line-height: 1; }
.pricing-range { font-size: .9rem; color: var(--text-muted); margin-top: 4px; }
.pricing-features { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.pricing-features li { color: var(--text-muted); font-size: .95rem; }
.pricing-features li::first-letter { color: var(--accent-1); font-weight: 700; }
.pricing-cta { width: 100%; }
.pricing-footnote {
  max-width: 760px; margin: 56px auto 0; padding: 24px 28px; text-align: center;
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-glass);
}
.pricing-footnote p { color: var(--text-muted); font-size: .96rem; }
.pricing-footnote p + p { margin-top: 10px; }
.pricing-footnote strong { color: var(--text-primary); }

/* ---------- Legal pages ---------- */
.legal { padding: 72px 0 88px; }
.legal-inner { max-width: 780px; margin: 0 auto; padding: 0 24px; }
.legal-title { font-size: clamp(2rem, 5vw, 3rem); font-weight: 900; margin: 12px 0 10px; }
.legal-meta { color: var(--text-subtle); font-size: .9rem; margin-bottom: 36px; }
.legal-content { color: var(--text-muted); }
.legal-intro { font-size: 1.12rem; color: var(--text-primary); margin-bottom: 32px; }
.legal-content h2 {
  font-size: 1.4rem; color: var(--text-primary); margin: 40px 0 14px;
  padding-top: 28px; border-top: 1px solid var(--border);
}
.legal-content p { margin-bottom: 16px; line-height: 1.75; }
.legal-content ul { margin: 0 0 16px; padding-left: 22px; }
.legal-content li { margin-bottom: 9px; line-height: 1.7; }
.legal-content a { color: var(--accent-1); border-bottom: 1px solid rgba(99,102,241,.4); }
.legal-content a:hover { color: var(--accent-2); }
.legal-content strong { color: var(--text-primary); }

/* ---------- Contact ---------- */
.contact-page { padding: 72px 0 88px; }
.contact-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.contact-title { font-size: clamp(2rem, 5vw, 3rem); font-weight: 900; margin: 12px 0 12px; }
.contact-sub { color: var(--text-muted); font-size: 1.1rem; max-width: 520px; margin-bottom: 44px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 36px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-method {
  padding: 18px 20px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg-glass);
}
.contact-method-label { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-subtle); margin-bottom: 6px; }
.contact-method-value { font-size: 1.02rem; color: var(--text-primary); font-weight: 500; }
a.contact-method-value:hover { color: var(--accent-1); }
.contact-form {
  background: var(--bg-glass); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; display: flex; flex-direction: column; gap: 18px;
}
.form-row { display: flex; flex-direction: column; }
.form-label { font-size: .9rem; font-weight: 600; color: var(--text-primary); display: flex; flex-direction: column; gap: 8px; }
.form-label input, .form-label textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--text-primary);
  background: rgba(0,0,0,.25); border: 1px solid var(--border-strong); border-radius: 10px;
  padding: 13px 14px; width: 100%; transition: border-color .2s, box-shadow .2s; min-height: 48px;
}
.form-label textarea { resize: vertical; min-height: 130px; line-height: 1.6; }
.form-label input:focus, .form-label textarea:focus {
  outline: none; border-color: var(--accent-1); box-shadow: 0 0 0 3px rgba(99,102,241,.18);
}
.form-label input::placeholder, .form-label textarea::placeholder { color: var(--text-subtle); }
.form-error {
  padding: 13px 16px; border-radius: 10px; background: rgba(236,72,153,.1);
  border: 1px solid rgba(236,72,153,.35); color: #fbcfe8; font-size: .95rem;
}
.form-submit { width: 100%; margin-top: 4px; }
.form-note { font-size: .85rem; color: var(--text-subtle); text-align: center; margin-top: 2px; }
.form-note a { color: var(--accent-1); }
.cn-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-success {
  max-width: 520px; margin: 24px auto; text-align: center; padding: 48px 32px;
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-glass);
}
.contact-success-icon {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 22px;
  font-size: 30px; color: #fff; background: var(--gradient-hero);
}
.contact-success h2 { font-size: 1.6rem; margin-bottom: 10px; }
.contact-success p { color: var(--text-muted); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); background: var(--bg-elevated); padding: 64px 0 0; }
.footer-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 24px 48px;
  display: grid; grid-template-columns: 1.3fr 2fr; gap: 48px;
}
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-logo { font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; }
.footer-tag { color: var(--text-muted); font-size: .95rem; max-width: 280px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-subtle); font-family: var(--font-body); font-weight: 700; }
.footer-col a { color: var(--text-muted); font-size: .95rem; transition: color .2s; }
.footer-col a:hover { color: var(--text-primary); }
.footer-bottom {
  border-top: 1px solid var(--border); padding: 24px; text-align: center;
}
.footer-bottom p { color: var(--text-subtle); font-size: .88rem; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 768px) {
  .nav-links {
    position: fixed; top: 65px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    gap: 2px; padding: 12px; background: rgba(10,10,15,.97); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border); transform: translateY(-12px); opacity: 0;
    pointer-events: none; transition: opacity .2s, transform .2s; margin-left: 0;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-link { padding: 13px 14px; min-height: 44px; display: flex; align-items: center; }
  .nav-cta { margin-left: auto; }
  .nav-burger { display: flex; }
  .section { padding: 64px 0; }
  .hero { padding: 72px 0 64px; }
  .section-head-left { text-align: left; }
}
@media (max-width: 420px) {
  .cn-wrap, .nav-inner, .section-inner, .hero-inner, .pricing-grid, .pricing-hero-inner,
  .legal-inner, .contact-inner, .cta-inner, .footer-inner { padding-left: 18px; padding-right: 18px; }
  .nav-cta { padding: 8px 14px; font-size: 13.5px; }
  .nav-brand-text { display: none; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .pricing-card, .contact-form { padding: 24px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; transition: none !important; }
}

/* ===================================================================
   NARRIVO EDITORIAL REDESIGN — paper & ink, serif display.
   A deliberately different identity from the dark reference.
   Overrides win by source order. Markup classes unchanged.
   =================================================================== */

/* Paper canvas with a faint editorial column rule */
body {
  background:
    radial-gradient(1200px 600px at 85% -5%, rgba(31,111,92,.06), transparent 60%),
    var(--bg-primary);
}
h1, h2, h3, h4 { letter-spacing: -.01em; }
.hero-title, .pricing-title, .section-title, .cta-title { font-weight: 600; }

/* ---------- Nav: light paper, hairline rule ---------- */
.nav { background: rgba(244,239,229,.82); border-bottom: 1px solid var(--border); }
.nav-brand { font-style: italic; letter-spacing: .01em; }
.nav-cta { color: #fffdf8; background: var(--accent-1); }
.nav-cta:hover { background: var(--accent-1-dark); box-shadow: 0 10px 26px -10px rgba(31,111,92,.5); }
@media (max-width:768px){ .nav-links { background: rgba(244,239,229,.98); } }

/* ---------- Buttons ---------- */
.btn-primary { color: #fffdf8; background: var(--accent-1); border-color: transparent; }
.btn-primary:hover { background: var(--accent-1-dark); box-shadow: 0 16px 36px -14px rgba(31,111,92,.55); }
.btn-ghost { color: var(--text-primary); background: transparent; border-color: var(--border-strong); }
.btn-ghost:hover { background: var(--bg-glass); border-color: var(--text-primary); }

/* ---------- Hero: editorial, no neon orbs ---------- */
.hero-bg, .hero-orb, .hero-grid { display: none !important; }
.hero { padding: 104px 0 84px; border-bottom: 1px solid var(--border); }
.hero-inner { max-width: 880px; }
.hero-kicker {
  display: inline-block; font-family: var(--font-body); font-weight: 600;
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent-1); padding-bottom: 14px; margin-bottom: 6px;
  border-bottom: 1px solid var(--border);
}
.hero-title { font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1.04; }
.hero-title .cn-grad,
.hero-sub { /* sub stays muted */ }
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--text-muted); max-width: 620px; }

/* gradient/accent words → solid emerald for legibility on paper */
.cn-grad { background: none; color: var(--accent-1); -webkit-text-fill-color: currentColor; }

/* ---------- Sections ---------- */
.section-alt { background: linear-gradient(180deg, #efe9dc, #f4efe5); border-block: 1px solid var(--border); }
.section-kicker { color: var(--accent-2); font-family: var(--font-body); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; font-size: 12px; }
.section-title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }

/* ---------- Cards (services, documents) ---------- */
.service-card {
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-card);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.service-card:hover { transform: translateY(-4px); border-color: var(--accent-1); box-shadow: 0 28px 56px -28px rgba(26,23,18,.4); }
.service-title { font-family: var(--font-head); }
.service-icon { filter: saturate(.85); }

/* ---------- Pricing ---------- */
.pricing-card { background: var(--bg-elevated); border: 1px solid var(--border); box-shadow: var(--shadow-card); }
.pricing-card.is-popular { border-color: var(--accent-1); box-shadow: 0 30px 60px -30px rgba(31,111,92,.45); }
.pricing-badge { background: var(--accent-1); color: #fffdf8; }
.pricing-value { font-family: var(--font-head); }

/* ---------- CTA banner: ink block ---------- */
.cta-banner { background: var(--text-primary); border-radius: var(--radius); }
.cta-banner, .cta-title, .cta-sub { color: #f4efe5; }
.cta-title { font-family: var(--font-head); }
.cta-banner .btn-ghost { color: #f4efe5; border-color: rgba(244,239,229,.4); }
.cta-banner .btn-ghost:hover { background: rgba(244,239,229,.1); border-color: #f4efe5; }

/* ---------- Footer: paper, hairline ---------- */
.footer { background: #efe9dc; border-top: 1px solid var(--border); color: var(--text-muted); }
.footer a { color: var(--text-muted); }
.footer a:hover { color: var(--accent-1); }

/* documents meta lists */
#documents .service-card dl dt { color: var(--text-subtle); }
#documents .service-card dl dd { color: var(--text-primary); font-weight: 600; }

:focus-visible { outline: 2px solid var(--accent-1); outline-offset: 2px; border-radius: 4px; }
