/* ==========================================================================
   Code Pace Solutions — design system
   Warm-neutral light theme, blue brand accent (from the logo), restrained
   motion, respects prefers-reduced-motion. Single stylesheet, no framework.
   ========================================================================== */

:root {
  --ink: #12141C;
  --ink-soft: #565D6E;
  --ink-faint: #8A90A0;
  --paper: #FBFAF6;
  --paper-alt: #F2EFE7;
  --surface: #FFFFFF;
  --line: #E6E2D6;
  --line-strong: #D8D3C3;

  --brand-900: #0A1638;
  --brand-800: #0F1E4D;
  --brand-700: #16309C;
  --brand-600: #2049DA;
  --brand-500: #2F63F0;
  --brand-400: #4C8DF5;
  --brand-100: #E7EEFE;

  --accent: #F2762E;
  --accent-100: #FDE9DA;
  --success: #157F4B;
  --success-100: #E3F6EC;
  --danger: #C1352B;
  --danger-100: #FBEAE8;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(18,20,28,.05), 0 1px 1px rgba(18,20,28,.04);
  --shadow-md: 0 18px 40px -18px rgba(18,20,28,.28);
  --shadow-lg: 0 30px 70px -24px rgba(10,22,56,.35);

  --container: 1180px;
  --container-narrow: 760px;

  --font-display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;

  --dur: .25s;
  --ease: cubic-bezier(.2,.7,.3,1);
}

/* ── Reset ────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { padding: 0; margin: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
input, textarea, select, button { font-family: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; color: var(--ink); letter-spacing: -.01em; }
p { margin: 0 0 1em; color: var(--ink-soft); }
:focus-visible { outline: 2.5px solid var(--brand-500); outline-offset: 2px; border-radius: 4px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 24px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--brand-700); color: #fff; padding: 12px 18px; z-index: 999; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }

/* ── Buttons ──────────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border-radius: 100px; font-weight: 600; font-size: 15px; border: 1.5px solid transparent; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease), border-color var(--dur) var(--ease); white-space: nowrap; }
.btn-primary { background: var(--brand-700); color: #fff; box-shadow: 0 10px 24px -10px rgba(22,48,156,.55); }
.btn-primary:hover { background: var(--brand-600); transform: translateY(-1px); }
.btn-outline { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn-outline:hover { border-color: var(--brand-500); color: var(--brand-700); }
.btn-ghost { background: transparent; color: var(--brand-700); padding-left: 4px; padding-right: 4px; }
.btn-ghost:hover { text-decoration: underline; }
.btn-block { width: 100%; }
.btn-lg { padding: 16px 30px; font-size: 16px; }
.btn[disabled] { opacity: .6; cursor: not-allowed; }

/* ── Header / nav ─────────────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(251,250,246,.9); backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--line); }
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 24px; max-width: var(--container); margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 19px; color: var(--ink); }
.brand img { height: 34px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links > li { position: relative; }
.nav-links a.nav-link { display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px; border-radius: 100px; font-weight: 600; font-size: 14.5px; color: var(--ink-soft); }
.nav-links a.nav-link:hover, .nav-links a.nav-link.active { color: var(--brand-700); background: var(--brand-100); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.dropdown-wrap { position: relative; }
.dropdown-panel { position: absolute; top: calc(100% + 8px); left: 0; min-width: 260px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-md); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur); }
.dropdown-wrap:hover .dropdown-panel, .dropdown-wrap:focus-within .dropdown-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-panel a { display: block; padding: 10px 12px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--ink); }
.dropdown-panel a:hover { background: var(--paper-alt); color: var(--brand-700); }
.dropdown-panel a small { display: block; font-weight: 400; color: var(--ink-faint); font-size: 12.5px; margin-top: 2px; }

.hamburger { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); align-items: center; justify-content: center; }
.hamburger span, .hamburger::before, .hamburger::after { content: ''; display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }
.hamburger { flex-direction: column; gap: 4px; }
.mobile-menu { display: none; position: fixed; inset: 0; z-index: 70; background: var(--paper); padding: 90px 24px 40px; overflow-y: auto; }
.mobile-menu.open { display: block; }
.mobile-menu .mm-link { display: flex; justify-content: space-between; align-items: center; padding: 16px 4px; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-size: 20px; font-weight: 700; }
.mobile-menu .mm-close { position: fixed; top: 18px; right: 20px; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); display: flex; align-items: center; justify-content: center; }
.mobile-menu .mm-sub { padding-left: 12px; }
.mobile-menu .mm-sub a { display: block; padding: 10px 4px; font-size: 15px; font-weight: 600; color: var(--ink-soft); }
.mobile-ctas { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }

@media (max-width: 900px) {
  .nav-links, .nav-cta .btn-outline { display: none; }
  .hamburger { display: inline-flex; }
}

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hero { position: relative; padding: 76px 0 88px; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: -20% -10% auto -10%; height: 480px; background: radial-gradient(60% 60% at 30% 20%, var(--brand-100) 0%, transparent 70%); z-index: 0; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; background: var(--brand-100); color: var(--brand-700); font-size: 13px; font-weight: 700; letter-spacing: .02em; padding: 8px 16px; border-radius: 100px; margin-bottom: 22px; }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand-600); }
.hero h1 { font-size: clamp(34px, 4.6vw, 58px); letter-spacing: -.02em; margin-bottom: 20px; }
.hero h1 .accent { color: var(--brand-700); position: relative; }
.hero-desc { font-size: 18px; max-width: 46ch; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 18px 26px; }
.hero-point { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.hero-point svg { color: var(--success); flex-shrink: 0; }
.hero-visual { position: relative; }
.hero-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 30px; }
.hero-card h3 { font-size: 16px; margin-bottom: 18px; }
.hero-card ul { display: flex; flex-direction: column; gap: 14px; }
.hero-card li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--ink-soft); }
.hero-card li svg { flex-shrink: 0; color: var(--brand-600); margin-top: 2px; }
.hero-badge { position: absolute; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-md); border-radius: 100px; padding: 10px 18px; font-size: 13px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.hero-badge svg { color: var(--accent); }
.hero-badge.b1 { top: -18px; right: 24px; }
.hero-badge.b2 { bottom: -16px; left: -10px; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-badge { display: none; }
}

/* ── Sections ─────────────────────────────────────────────────────────── */
.section { padding: 78px 0; }
.section-alt { background: var(--paper-alt); }
.section-tag { color: var(--brand-700); font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 12px; }
.section-title { font-size: clamp(26px, 3.2vw, 40px); max-width: 760px; }
.section-sub { font-size: 17px; max-width: 640px; margin-top: 10px; }
.section-head { margin-bottom: 44px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head.center .section-sub { margin-left: auto; margin-right: auto; }

/* reveal-on-scroll (progressive enhancement; content visible without JS) */
.reveal-item { opacity: 1; transform: none; }
.js-reveal .reveal-item { opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.js-reveal .reveal-item.is-visible { opacity: 1; transform: none; }

/* ── Grids / cards ────────────────────────────────────────────────────── */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease); }
.card-link:hover { border-color: var(--brand-400); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--brand-100); color: var(--brand-700); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.card-icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { font-size: 14.5px; margin-bottom: 0; }
.card-arrow { margin-top: 18px; display: inline-flex; align-items: center; gap: 6px; color: var(--brand-700); font-weight: 700; font-size: 14px; }

.process-grid { counter-reset: step; }
.process-step { position: relative; padding-top: 8px; }
.process-step .step-num { font-family: var(--font-display); font-size: 40px; font-weight: 800; color: var(--brand-100); margin-bottom: 6px; }
.process-step h3 { font-size: 17px; }
.process-step p { font-size: 14.5px; }

/* ── Pricing ──────────────────────────────────────────────────────────── */
.pricing-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; display: flex; flex-direction: column; }
.pricing-card.popular { border-color: var(--brand-600); box-shadow: var(--shadow-lg); position: relative; }
.pricing-badge { position: absolute; top: -14px; left: 28px; background: var(--brand-700); color: #fff; font-size: 12px; font-weight: 700; padding: 6px 14px; border-radius: 100px; }
.pricing-name { font-family: var(--font-display); font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.pricing-desc { font-size: 14px; margin-bottom: 20px; }
.pricing-amount { font-family: var(--font-display); font-size: 40px; font-weight: 800; color: var(--ink); margin-bottom: 4px; }
.pricing-period { font-size: 14px; color: var(--ink-faint); font-weight: 500; }
.pricing-features { display: flex; flex-direction: column; gap: 12px; margin: 26px 0; flex: 1; }
.pricing-features li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-soft); }
.pricing-features li svg { color: var(--success); flex-shrink: 0; margin-top: 3px; }
.pricing-features li.excluded { color: var(--ink-faint); text-decoration: line-through; }
.pricing-features li.excluded svg { color: var(--ink-faint); }
.pricing-note { text-align: center; font-size: 13.5px; color: var(--ink-faint); margin-top: 28px; }

/* ── FAQ ──────────────────────────────────────────────────────────────── */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 4px; cursor: pointer; background: none; border: none; width: 100%; text-align: left; font-family: var(--font-display); font-weight: 700; font-size: 16.5px; color: var(--ink); }
.faq-icon { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: flex; align-items: center; justify-content: center; font-size: 16px; transition: transform var(--dur) var(--ease), background var(--dur) var(--ease); }
.faq-item[open] .faq-icon { transform: rotate(45deg); background: var(--brand-100); border-color: var(--brand-400); }
.faq-a { padding: 0 4px 22px; font-size: 15px; color: var(--ink-soft); max-width: 70ch; }
.faq-item summary { list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }

/* ── CTA band ─────────────────────────────────────────────────────────── */
.cta-band { background: linear-gradient(135deg, var(--brand-900), var(--brand-700)); color: #fff; border-radius: var(--radius-lg); padding: 60px; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.78); max-width: 56ch; margin: 0 auto 30px; }
.cta-band .btn-primary { background: #fff; color: var(--brand-800); box-shadow: 0 14px 30px -12px rgba(0,0,0,.4); }
.cta-band .btn-primary:hover { background: #F2F2F2; }
.cta-band .btn-outline { border-color: rgba(255,255,255,.35); color: #fff; }
.cta-band .btn-outline:hover { border-color: #fff; }
.cta-band .btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Footer ───────────────────────────────────────────────────────────── */
.site-footer { background: var(--brand-900); color: rgba(255,255,255,.72); padding: 64px 0 28px; margin-top: 90px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; margin-bottom: 48px; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 18px; margin-bottom: 14px; }
.footer-brand img { height: 30px; filter: brightness(0) invert(1); }
.footer-col h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 16px; font-family: var(--font-body); }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14.5px; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13.5px; }
.footer-bottom a:hover { color: #fff; }
.social-row { display: flex; gap: 10px; margin-top: 14px; }
.social-row a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; }
.social-row a:hover { background: rgba(255,255,255,.18); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ── Forms ────────────────────────────────────────────────────────────── */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 7px; color: var(--ink); }
.field .hint { font-weight: 400; color: var(--ink-faint); font-size: 12.5px; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=url], .field select, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: 10px; border: 1.5px solid var(--line-strong); background: var(--surface); color: var(--ink); font-size: 14.5px; transition: border-color var(--dur), box-shadow var(--dur);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand-500); box-shadow: 0 0 0 4px var(--brand-100); outline: none; }
.field textarea { min-height: 120px; resize: vertical; }
.field-file { display: flex; align-items: center; gap: 10px; padding: 13px 15px; border: 1.5px dashed var(--line-strong); border-radius: 10px; font-size: 14px; color: var(--ink-soft); cursor: pointer; }
.field-file:hover { border-color: var(--brand-400); }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-md); }
.form-privacy { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: var(--ink-faint); margin-top: 14px; }

.alert { padding: 16px 18px; border-radius: var(--radius-sm); font-size: 14.5px; margin-bottom: 22px; display: flex; gap: 10px; align-items: flex-start; }
.alert-success { background: var(--success-100); color: var(--success); }
.alert-error { background: var(--danger-100); color: var(--danger); }

/* ── Contact page layout ──────────────────────────────────────────────── */
.contact-layout { display: grid; grid-template-columns: 1.3fr .9fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-method { display: flex; gap: 14px; align-items: center; padding: 16px 4px; border-bottom: 1px solid var(--line); }
.contact-method:last-child { border-bottom: none; }
.contact-method-icon { width: 42px; height: 42px; border-radius: 12px; background: var(--brand-100); color: var(--brand-700); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-method strong { display: block; font-size: 14.5px; }
.contact-method span { font-size: 13.5px; color: var(--ink-faint); }
.next-step { display: flex; gap: 14px; margin-bottom: 20px; }
.next-step:last-child { margin-bottom: 0; }
.next-num { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--brand-100); color: var(--brand-700); font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.next-step strong { display: block; font-size: 14.5px; margin-bottom: 3px; }
.next-step p { font-size: 13.5px; margin: 0; }

/* ── Careers ──────────────────────────────────────────────────────────── */
.job-card { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); overflow: hidden; margin-bottom: 26px; }
.job-header { padding: 30px 32px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; }
.job-badge { display: inline-flex; align-items: center; gap: 6px; background: var(--accent-100); color: var(--accent); font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 5px 12px; border-radius: 100px; margin-bottom: 12px; }
.job-title { font-family: var(--font-display); font-size: 22px; margin-bottom: 10px; }
.job-title small { display: block; color: var(--ink-faint); font-size: 14.5px; font-weight: 600; margin-top: 2px; }
.job-meta { display: flex; flex-wrap: wrap; gap: 14px 22px; }
.job-meta span { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-soft); font-weight: 600; }
.job-body { padding: 30px 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 860px) { .job-body { grid-template-columns: 1fr; } }
.job-body h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--brand-700); margin: 18px 0 10px; }
.job-body h4:first-child { margin-top: 0; }
.job-list li { position: relative; padding-left: 22px; font-size: 14.5px; color: var(--ink-soft); margin-bottom: 9px; }
.job-list li::before { content: '•'; position: absolute; left: 4px; color: var(--brand-500); font-weight: 700; }
.job-perks { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 4px; }
.tag { display: inline-flex; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 100px; background: var(--paper-alt); color: var(--ink-soft); border: 1px solid var(--line); }

/* ── Blog ─────────────────────────────────────────────────────────────── */
.post-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.post-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: var(--paper-alt); }
.post-card-body { padding: 24px; }
.post-card time { font-size: 12.5px; color: var(--ink-faint); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.post-card h3 { font-size: 19px; margin: 10px 0 8px; }
.post-content { font-size: 17px; line-height: 1.75; max-width: 72ch; }
.post-content h2 { font-size: 26px; margin-top: 1.6em; }
.post-content h3 { font-size: 20px; margin-top: 1.4em; }
.post-content img { border-radius: var(--radius); margin: 1.2em 0; }
.post-content ul, .post-content ol { padding-left: 1.4em; margin-bottom: 1em; list-style: disc; }
.post-content ol { list-style: decimal; }

/* ── Prose (about / privacy / terms / generic pages) ─────────────────── */
.prose { max-width: 72ch; font-size: 16.5px; }
.prose h2 { font-size: 24px; margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.4em; margin-bottom: 1em; list-style: disc; }
.prose a { color: var(--brand-700); text-decoration: underline; }

/* ── Breadcrumbs ──────────────────────────────────────────────────────── */
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13.5px; color: var(--ink-faint); margin-bottom: 26px; }
.breadcrumbs a { color: var(--ink-faint); font-weight: 600; }
.breadcrumbs a:hover { color: var(--brand-700); }
.breadcrumbs .sep { opacity: .6; }
.breadcrumbs .current { color: var(--ink-soft); }

/* ── Page hero (secondary pages) ──────────────────────────────────────── */
.page-hero { padding: 56px 0 20px; }
.page-hero h1 { font-size: clamp(30px, 4vw, 46px); max-width: 780px; }
.page-hero p { font-size: 17px; max-width: 640px; }

/* ── 404 ──────────────────────────────────────────────────────────────── */
.error-page { padding: 120px 0; text-align: center; }
.error-page .code { font-family: var(--font-display); font-size: 90px; font-weight: 800; color: var(--brand-100); line-height: 1; }
.error-page h1 { margin-top: 10px; }
.error-page p { max-width: 46ch; margin-left: auto; margin-right: auto; }

/* ── Landing pages (ad campaigns — minimal chrome) ───────────────────── */
.lp-header { padding: 18px 0; border-bottom: 1px solid var(--line); }
.lp-hero { padding: 64px 0 40px; text-align: center; }
.lp-hero h1 { font-size: clamp(30px, 4.6vw, 50px); max-width: 820px; margin: 0 auto 18px; }
.lp-hero p { font-size: 18px; max-width: 620px; margin: 0 auto 30px; }
.lp-points { display: flex; flex-direction: column; gap: 12px; max-width: 440px; margin: 30px auto 0; text-align: left; }
.lp-points li { display: flex; gap: 10px; font-size: 14.5px; color: var(--ink-soft); }
.lp-points li svg { color: var(--success); flex-shrink: 0; margin-top: 2px; }
.lp-footer { padding: 30px 0; text-align: center; font-size: 13px; color: var(--ink-faint); border-top: 1px solid var(--line); }

/* ── Sticky WhatsApp button ───────────────────────────────────────────── */
.wa-fab { position: fixed; bottom: 22px; right: 22px; width: 56px; height: 56px; border-radius: 50%; background: #22C55E; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 14px 30px -10px rgba(34,197,94,.55); z-index: 50; }
.wa-fab:hover { transform: scale(1.06); }
@media (max-width: 640px) { .wa-fab { width: 50px; height: 50px; bottom: 16px; right: 16px; } }

/* ── Admin-only banner shown to logged-in admin viewing the public site ── */
.admin-bar { background: var(--ink); color: #fff; font-size: 13px; padding: 8px 16px; display: flex; justify-content: center; gap: 16px; }
.admin-bar a { color: #fff; text-decoration: underline; }
