/* public.css — bold public/marketing skin for BlackHills.biz (pre-login pages only).
   Self-contained (its own reset + palette) so it never touches the logged-in
   dashboard/admin, which keep base.css. CSP-clean: no inline style/script needed;
   inline <svg> in markup is fine. Ported from the Claude Design "Public Skin" handoff. */

:root {
  --p-bg:#f4f8f2; --p-surface:#fafdf8; --p-card:#ffffff;
  --p-ink:#243d24; --p-ink-2:#3d5039; --p-ink-3:#4a6a46; --p-muted:#7a9876;
  --p-line:#d9e8d4; --p-line-gold:#e2d3a8;
  --p-green:#2f8a1f; --p-green-h:#226815; --p-green-bg:#d8efc8; --p-green-bd:#a9d68f;
  --p-lime:#5cb030;
  --p-gold:#e0651e; --p-gold-h:#c2551a; --p-gold-bg:#fde3cd; --p-gold-ink:#7a5a1a;
  --p-blue:#1862a8; --p-blue-h:#0e4a85; --p-blue-bg:#cce0f4; --p-blue-bd:#9cc3e8; --p-blue-ink:#14385c;
  --p-purple:#6a3a9e;
  --p-dark1:#1a2e1a; --p-dark2:#223e1f; --p-dark3:#2c4a26;
  --p-on-dark:#ffffff; --p-on-dark-mut:#d7e8cf; --p-lime-2:#8fd45c; --p-lime-3:#b6e88a;
  --p-track:#e3efdd;
}

/* ---- reset / base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.pub {
  margin: 0;
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--p-ink);
  background: var(--p-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
.pub img { max-width: 100%; }
.pub a:not([class]) { color: var(--p-blue); }

/* ---- containers / sections ---- */
.pub-c { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.pub-c-1100 { max-width: 1100px; }
.pub-c-1000 { max-width: 1000px; }
.pub-c-980  { max-width: 980px; }
.pub-c-900  { max-width: 900px; }
.pub-c-820  { max-width: 820px; }
.pub-c-560  { max-width: 560px; }
.pub-sec  { padding-top: 88px; padding-bottom: 88px; }
.pub-sec-sm { padding-top: 64px; padding-bottom: 48px; }
.pub-center { text-align: center; }
.pub-rel { position: relative; z-index: 1; }

/* ---- typography ---- */
.pub-h1 { font-size: clamp(38px, 5vw, 56px); line-height: 1.05; letter-spacing: -0.02em; font-weight: 800; margin: 22px 0 0; color: var(--p-ink); }
.pub-h1--dark { color: #fff; }
.pub-h1 .hi { color: var(--p-lime-2); }
.pub-h2 { font-size: clamp(30px, 4vw, 42px); line-height: 1.12; letter-spacing: -0.02em; font-weight: 800; margin: 0; color: var(--p-ink); }
.pub-h2--dark { color: #fff; }
.pub-h2 .hi-green { color: var(--p-green); }
.pub-h3 { font-size: clamp(19px, 2.4vw, 22px); font-weight: 700; margin: 0; color: var(--p-ink); }
.pub-overline { display: block; font-weight: 700; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--p-gold); }
.pub-overline--lime { color: var(--p-lime-2); }
.pub-lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; color: var(--p-ink-3); margin: 22px 0 0; }
.pub-lead--dark { color: var(--p-on-dark-mut); }
.pub-body { font-size: 17px; line-height: 1.6; color: var(--p-ink-3); margin: 0 0 14px; }
.pub-body:last-child { margin-bottom: 0; }
.pub-body strong, .pub-lead strong { color: var(--p-ink); }
.pub-band strong, .pub-lead--dark strong, .pub-h1--dark strong, .pub-h2--dark strong { color: #fff; }  /* readable on dark bands */
.pub-cap { font-size: 14px; color: var(--p-muted); }
.pub-mt-8 { margin-top: 8px; }
.pub-mt-14 { margin-top: 14px; }
.pub-mt-16 { margin-top: 16px; }
.pub-mt-22 { margin-top: 22px; }
.pub-mb-40 { margin-bottom: 40px; }
.pub-maxw-680 { max-width: 680px; margin-left: auto; margin-right: auto; }
.pub-maxw-760 { max-width: 760px; margin-left: auto; margin-right: auto; }

/* ---- header ---- */
.pub-header { position: sticky; top: 0; z-index: 50; background: rgba(244,248,242,0.88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--p-line); }
.pub-header__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 5px; padding-bottom: 5px; }
.pub-brand { display: flex; align-items: center; text-decoration: none; }
.pub-brand img { height: 60px; width: auto; display: block; }
.pub-nav { display: flex; align-items: center; gap: 28px; }
.pub-nav a:not(.pub-btn) { color: var(--p-ink-2); text-decoration: none; font-weight: 600; font-size: 15px; }
.pub-nav a:not(.pub-btn):hover { color: var(--p-ink); }
.pub-back { color: var(--p-ink-2); text-decoration: none; font-weight: 600; font-size: 15px; }

/* ---- dark bands + decorations ---- */
.pub-band { position: relative; overflow: hidden; color: #fff; background: linear-gradient(160deg, var(--p-dark1) 0%, var(--p-dark2) 55%, var(--p-dark3) 100%); }
.pub-band--pricing { background: linear-gradient(160deg, var(--p-dark1) 0%, #244023 100%); }
.pub-band--flat { background: #243d24; }
.pub-glow { position: absolute; border-radius: 50%; pointer-events: none; }
.pub-glow--tr { top: -120px; right: -80px; width: 520px; height: 520px; background: radial-gradient(circle, rgba(92,176,48,0.35) 0%, rgba(92,176,48,0) 70%); }
.pub-glow--bl-gold { bottom: -100px; left: -60px; width: 460px; height: 460px; background: radial-gradient(circle, rgba(184,116,16,0.28), transparent 70%); }
.pub-mtn { position: absolute; bottom: 0; left: 0; width: 100%; height: 260px; pointer-events: none; }

/* ---- buttons ---- */
.pub-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; font-weight: 700; font-size: 15px; padding: 11px 22px; border-radius: 10px; border: none; cursor: pointer; min-height: 44px; line-height: 1; transition: background 150ms ease, box-shadow 150ms ease, transform 150ms ease; }
.pub-btn:hover { transform: translateY(-1px); }
.pub-btn--lg { font-size: 18px; padding: 16px 30px; }
.pub-btn--block { display: flex; width: 100%; }
.pub-btn--gold { background: var(--p-gold); color: #fff; box-shadow: 0 8px 24px rgba(224,101,30,0.45); }
.pub-btn--gold:hover { background: var(--p-gold-h); }
.pub-btn--gold-sm { box-shadow: 0 4px 14px rgba(224,101,30,0.38); }
.pub-btn--green { background: var(--p-green); color: #fff; box-shadow: 0 10px 28px rgba(47,138,31,0.35); }
.pub-btn--green:hover { background: var(--p-green-h); }
.pub-btn--ghost { background: rgba(255,255,255,0.08); border: 1.5px solid rgba(255,255,255,0.28); color: #fff; }
.pub-btn--ghost:hover { background: rgba(255,255,255,0.16); }
.pub-btn--outline-blue { background: #fff; border: 2px solid var(--p-blue); color: var(--p-blue); }
.pub-btn--outline-blue:hover { background: var(--p-blue-bg); }
.pub-cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 32px; }

/* ---- pills / chips / badges ---- */
.pub-pill { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; padding: 7px 14px; border-radius: 999px; }
.pub-pill--lime { background: rgba(92,176,48,0.18); border: 1px solid rgba(143,188,90,0.45); color: var(--p-lime-3); }
.pub-badge { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; }
.pub-badge--green { background: var(--p-green); color: #fff; }
.pub-badge--green-soft { background: var(--p-green-bg); color: var(--p-green); }
.pub-badge--gold-soft { background: var(--p-gold-bg); color: #8a560c; }
.pub-badge--lime-dark { background: rgba(143,188,90,0.25); color: var(--p-lime-3); }
.pub-chip { display: inline-flex; align-items: center; border-radius: 999px; padding: 7px 13px; font-weight: 600; font-size: 14px; }
.pub-chip--kw { background: var(--p-green-bg); border: 1.5px solid var(--p-green-bd); color: var(--p-ink); }
.pub-chip--phrase { background: var(--p-blue-bg); border: 1.5px solid var(--p-blue-bd); color: var(--p-blue-ink); }
.pub-chip--suggest { background: #fffdf6; border: 1.5px dashed #d9b25a; color: var(--p-gold-ink); }
.pub-count { font-size: 12px; font-weight: 800; border-radius: 999px; padding: 2px 10px; }
.pub-count--green { background: var(--p-green-bg); color: var(--p-green); }
.pub-count--blue { background: var(--p-blue-bg); color: var(--p-blue); }

/* ---- cards ---- */
.pub-card { background: var(--p-card); border: 2.5px solid var(--p-ink); border-radius: 16px; box-shadow: 6px 6px 0 var(--p-ink); }
.pub-card--lg { border-radius: 18px; box-shadow: 8px 8px 0 var(--p-ink); }
.pub-card--sm { border-width: 2px; box-shadow: 5px 5px 0 var(--p-ink); border-radius: 14px; }
.pub-card--green { border-color: var(--p-green); box-shadow: 6px 6px 0 var(--p-green); }
.pub-card--dashed { background: #f8faf6; border: 2.5px dashed #a4bca0; box-shadow: none; }
.pub-pad { padding: 32px; }
.pub-pad-24 { padding: 24px; }
.pub-pad-18 { padding: 18px; }

/* ---- number/step badges ---- */
.pub-numbadge { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 800; }
.pub-numbadge--green { background: var(--p-green-bg); color: var(--p-green); }
.pub-numbadge--gold { background: var(--p-gold-bg); color: var(--p-gold); }
.pub-numbadge--blue { background: var(--p-blue-bg); color: var(--p-blue); }
.pub-step { width: 48px; height: 48px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 800; color: #fff; box-shadow: 4px 4px 0 var(--p-ink); flex-shrink: 0; }
.pub-step--green { background: var(--p-green); }
.pub-step--blue { background: var(--p-blue); }
.pub-step--gold { background: var(--p-gold); }
.pub-steplabel { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px; }

/* ---- grids ---- */
.pub-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pub-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.pub-grid-2-tight { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pub-grid-2x2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pub-stack { display: flex; flex-direction: column; gap: 20px; }
.pub-stack-16 { display: flex; flex-direction: column; gap: 16px; }

/* ---- checklist ---- */
.pub-check { display: flex; gap: 14px; align-items: flex-start; }
.pub-check__ic { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--p-green-bg); color: var(--p-green); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 16px; }
.pub-check__tx { margin: 0; font-size: 17px; line-height: 1.55; color: var(--p-ink-2); }
.pub-feat { display: flex; gap: 10px; align-items: center; font-size: 16px; color: var(--p-ink-2); }
.pub-feat__ic { color: var(--p-green); font-weight: 800; }

/* ---- hero price hook ---- */
.pub-pricehook { display: inline-flex; align-items: center; gap: 14px; margin-top: 32px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.15); border-radius: 12px; padding: 14px 20px; }
.pub-pricehook__amt { font-size: 34px; font-weight: 800; color: var(--p-lime-2); line-height: 1; }
.pub-pricehook__tx { font-size: 15px; line-height: 1.35; color: var(--p-on-dark-mut); }
.pub-pricehook__tx strong { color: #fff; }

/* ---- floating example post (hero) ---- */
@keyframes pubFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.pub-postwrap { position: relative; justify-self: center; }
.pub-postwrap__glow { position: absolute; inset: -18px; background: radial-gradient(circle at 50% 40%, rgba(92,176,48,0.25), transparent 65%); filter: blur(10px); }
.pub-postcard { position: relative; width: 360px; max-width: 100%; background: #fff; border-radius: 18px; box-shadow: 0 24px 60px rgba(0,20,0,0.45); overflow: hidden; animation: pubFloat 6s ease-in-out infinite; }
.pub-postcard__hd { display: flex; align-items: center; gap: 10px; padding: 14px 16px; }
.pub-avatar { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 15px; flex-shrink: 0; }
.pub-avatar--lg { width: 52px; height: 52px; font-size: 18px; }
.pub-avatar--green { background: linear-gradient(135deg,var(--p-lime),var(--p-green)); }
.pub-avatar--blue { background: linear-gradient(135deg,var(--p-blue),var(--p-blue-h)); }
.pub-avatar--purple { background: linear-gradient(135deg,var(--p-purple),#4a2570); }
.pub-postcard__name { font-weight: 700; font-size: 14px; color: var(--p-ink); line-height: 1.2; }
.pub-postcard__meta { font-size: 12px; color: var(--p-muted); }
.pub-postcard__body { padding: 14px 16px; }
.pub-postcard__body p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--p-ink); }
.pub-postcard__stats { display: flex; gap: 18px; margin-top: 12px; color: var(--p-muted); font-size: 13px; font-weight: 600; }
.pub-floatchip { position: absolute; bottom: -14px; left: -26px; background: #fff; border-radius: 999px; padding: 9px 16px; box-shadow: 0 10px 30px rgba(0,20,0,0.28); display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13px; color: var(--p-green); }
.pub-floatchip__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--p-green); display: inline-block; }

/* ---- trust bar ---- */
.pub-trust { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 22px; text-align: center; font-size: 15px; padding-top: 16px; padding-bottom: 16px; color: var(--p-on-dark-mut); }
.pub-trust b { color: var(--p-lime-2); }
.pub-trust .sep { opacity: 0.4; }

/* ---- image placeholder (drop real photo later) ---- */
.pub-imgslot { display: flex; align-items: center; justify-content: center; text-align: center; width: 100%; background: repeating-linear-gradient(45deg,#eef4e9,#eef4e9 12px,#e7efe1 12px,#e7efe1 24px); color: var(--p-muted); font-size: 13px; font-weight: 600; border: 0; padding: 8px; }
.pub-imgslot--220 { height: 220px; }
.pub-imgslot--130 { height: 130px; }
.pub-imgslot--620 { height: 620px; max-height: 62vh; }

/* ---- meters (AEO/GEO) ---- */
.pub-meter { height: 12px; background: var(--p-track); border-radius: 999px; overflow: hidden; }
.pub-meter__fill { height: 100%; border-radius: 999px; }
.pub-meter__fill--aeo { background: linear-gradient(90deg,var(--p-lime),var(--p-green)); }
.pub-meter__fill--geo { background: linear-gradient(90deg,#f0c674,var(--p-gold)); }
.pub-w-58 { width: 58%; }
.pub-w-34 { width: 34%; }
.pub-meter-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.pub-meter-row .k { font-weight: 700; font-size: 15px; color: var(--p-ink); }
.pub-meter-row .v-green { font-weight: 800; font-size: 15px; color: var(--p-green); }
.pub-meter-row .v-gold { font-weight: 800; font-size: 15px; color: var(--p-gold); }

/* ---- form (onboarding example) ---- */
.pub-field { display: flex; flex-direction: column; }
.pub-label { font-weight: 700; font-size: 14px; color: var(--p-ink); margin-bottom: 6px; }
.pub-input { width: 100%; font: inherit; font-size: 16px; color: var(--p-ink); background: #fff; border: 1.5px solid var(--p-line); border-radius: 10px; padding: 12px 14px; outline: none; }
.pub-input:focus { border-color: var(--p-green); box-shadow: 0 0 0 3px rgba(47,138,31,0.15); }
.pub-formcard { background: #fff; border-radius: 18px; box-shadow: 0 24px 60px rgba(0,15,0,0.45); padding: 32px; }
.pub-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pub-field--full { grid-column: 1 / -1; }
.pub-alert { border-radius: 10px; padding: 11px 14px; font-size: 14px; font-weight: 600; margin-bottom: 18px; }
.pub-alert--err { background: #fde8e8; color: #8a2b2b; }
.pub-alert--ok { background: var(--p-green-bg); color: var(--p-green-h); }
.pub-altline { text-align: center; margin: 18px 0 0; font-size: 14px; color: var(--p-muted); }
.pub-note { background: var(--p-gold-bg); border: 1.5px solid #e2d3a8; border-radius: 12px; padding: 12px 16px; font-size: 14px; line-height: 1.5; color: var(--p-ink-2); margin-bottom: 16px; }
.pub-note strong { color: var(--p-ink); }

/* ---- plan-choice option cards (billing form) ---- */
.pub-planopt { display: flex; align-items: center; gap: 13px; padding: 15px 18px; border: 2px solid var(--p-line); border-radius: 14px; background: #fff; cursor: pointer; margin-bottom: 12px; }
.pub-planopt:hover { border-color: var(--p-green-bd); }
.pub-planopt:has(input:checked) { border-color: var(--p-gold); box-shadow: 4px 4px 0 var(--p-gold); }
.pub-planopt > input { width: 19px; height: 19px; flex: none; accent-color: var(--p-gold); }
.pub-planopt__tx { flex: 1; min-width: 0; }
.pub-planopt__b { font-weight: 800; font-size: 16px; color: var(--p-ink); }
.pub-planopt__d { font-size: 13.5px; color: var(--p-ink-3); margin-top: 2px; }
.pub-planopt__amt { font-size: 24px; font-weight: 800; color: var(--p-ink); white-space: nowrap; }
.pub-custom-in { margin-top: 10px; }

/* ---- invoice review ---- */
.pub-invline { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--p-line); }
.pub-invline .pub-cap { display: block; margin-top: 2px; }
.pub-invtotal { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-top: 12px; font-weight: 800; font-size: 19px; color: var(--p-ink); }

/* ---- panels (workspace preview) ---- */
.pub-panel { border: 1.5px solid var(--p-line); border-radius: 12px; padding: 18px; background: var(--p-surface); }
.pub-panel--gold { border-color: var(--p-line-gold); background: #fffdf6; }
.pub-panel__hd { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.pub-panel__hd b { font-weight: 800; font-size: 15px; color: var(--p-ink); }
.pub-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pub-goal { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--p-ink-2); }
.pub-goal__ic { color: var(--p-gold); font-weight: 800; }

/* ---- footer ---- */
.pub-footer { background: var(--p-dark1); color: #a9c4a0; }
.pub-footer__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-top: 40px; padding-bottom: 40px; }
.pub-footer__logo { height: 112px; width: auto; background: #fff; border-radius: 12px; padding: 8px 14px; }
.pub-footer__tx { font-size: 14px; color: #8faa86; }

/* ---- offsets used in collages/cards ---- */
.pub-off-top { margin-top: 24px; }
.pub-ml-28 { margin-left: 28px; }
.pub-hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 96px; }
.pub-order-1 { order: 1; } .pub-order-2 { order: 2; }

/* ---- light bordered section ---- */
.pub-white { background: #fff; border-top: 1px solid var(--p-line); border-bottom: 1px solid var(--p-line); }

/* ---- pricing plan cards ---- */
.pub-card--gold { border-color: var(--p-gold); box-shadow: 6px 6px 0 var(--p-gold); }
.pub-plan { display: flex; flex-direction: column; height: 100%; text-align: left; }
.pub-plan__price { display: flex; align-items: baseline; gap: 8px; margin: 6px 0 2px; }
.pub-plan__amt { font-size: 46px; font-weight: 800; line-height: 1; color: var(--p-ink); }
.pub-plan__per { font-size: 15px; color: var(--p-muted); font-weight: 600; }
.pub-plan__note { font-size: 14px; line-height: 1.5; color: var(--p-ink-3); margin: 4px 0 16px; }
.pub-plan .pub-featlist { margin-bottom: 20px; }
.pub-plan .pub-btn { margin-top: auto; }
.pub-contact { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 16px; text-align: center; margin-top: 22px; padding: 18px 22px; border: 1.5px dashed #d9b25a; border-radius: 14px; background: #fffdf6; }
.pub-contact__tx { font-size: 16px; color: var(--p-ink-2); }

/* ---- rendered sample report ---- */
.pub-logo-chip { height: 48px; width: auto; background: #fff; border-radius: 8px; padding: 4px 8px; }
.pub-reportcard__hd { background: var(--p-ink); color: #fff; padding: 16px 22px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pub-reportcard__hd b { font-weight: 700; font-size: 16px; }
.pub-reportcard__body { padding: 22px; }
.pub-meter-wrap { margin-bottom: 18px; }
.pub-insight { border-top: 1px solid var(--p-line); padding-top: 16px; margin-top: 16px; }
.pub-insight__h { font-weight: 700; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 8px; }
.pub-insight__h--green { color: var(--p-green); }
.pub-insight__h--gold { color: var(--p-gold); }
.pub-insight__row { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: var(--p-ink-2); margin-bottom: 6px; }
.pub-insight__row .ic-green { color: var(--p-green); font-weight: 800; flex: none; }
.pub-insight__row .ic-gold { color: var(--p-gold); font-weight: 800; flex: none; }

/* ---- pricing card ---- */
.pub-pricecard { max-width: 460px; margin: 0 auto; background: #fff; color: var(--p-ink); border-radius: 20px; box-shadow: 0 30px 70px rgba(0,15,0,0.5); overflow: hidden; text-align: left; }
.pub-pricecard__ribbon { background: var(--p-green-bg); padding: 10px; text-align: center; font-weight: 800; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--p-green); }
.pub-pricecard__body { padding: 36px 36px 40px; }
.pub-price { display: flex; align-items: baseline; gap: 8px; }
.pub-price__amt { font-size: 66px; font-weight: 800; line-height: 1; color: var(--p-ink); }
.pub-price__per { font-size: 17px; color: var(--p-muted); font-weight: 600; }
.pub-pricebox { margin: 18px 0 6px; padding: 14px 18px; background: var(--p-bg); border-radius: 12px; font-size: 17px; font-weight: 700; color: var(--p-green); }
.pub-priceafter { text-align: center; font-size: 14px; color: var(--p-muted); margin: 0 0 22px; }
.pub-featlist { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.pub-finenote { text-align: center; margin: 14px 0 0; font-size: 13px; color: var(--p-muted); }

/* ---- example-post caption ---- */
.pub-postcap { margin: 0; padding: 12px 14px; font-size: 13px; line-height: 1.45; color: var(--p-ink); }

/* ---- real photo in the hero example post ---- */
.pub-postphoto { display: block; width: 100%; height: 220px; object-fit: cover; }

/* ---- bullet graphic tiles (differentiator 2x2) — bold, bright, high-visibility ---- */
.pub-gfx { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px; min-height: 172px; padding: 26px 16px; }
.pub-gfx__ic { width: 68px; height: 68px; border-radius: 17px; display: grid; place-items: center; box-shadow: 4px 4px 0 var(--p-ink); }
.pub-gfx__ic svg { width: 34px; height: 34px; stroke-width: 2.3; }
.pub-gfx__ic--green { background: var(--p-green); color: #fff; }
.pub-gfx__ic--blue  { background: var(--p-blue);  color: #fff; }
.pub-gfx__ic--gold  { background: var(--p-gold);  color: #fff; }
.pub-gfx__ic--lime  { background: var(--p-lime);  color: #fff; }
.pub-gfx__t { font-size: 16px; font-weight: 800; color: var(--p-ink); line-height: 1.25; }

/* ---- small spacing/width helpers ---- */
.pub-mt-20 { margin-top: 20px; }
.pub-mb-8 { margin-bottom: 8px; }
.pub-mb-16 { margin-bottom: 16px; }
.pub-mb-20 { margin-bottom: 20px; }
.pub-mb-32 { margin-bottom: 32px; }
.pub-maxw-560 { max-width: 560px; margin-left: auto; margin-right: auto; }
.pub-maxw-600 { max-width: 600px; margin-left: auto; margin-right: auto; }
.pub-w-560 { max-width: 560px; }
.pub-w-680 { max-width: 680px; }
.pub-clip { overflow: hidden; }

/* ---- onboarding (standalone, logged-in, bold) ---- */
.pub-back { color: var(--p-ink-2); text-decoration: none; font-weight: 600; font-size: 15px; }
.pub-back:hover { color: var(--p-ink); }
.pub-progress { display: inline-block; font-size: 14px; font-weight: 700; color: var(--p-on-dark-mut); background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); border-radius: 999px; padding: 7px 16px; margin-top: 18px; }
.pub-obcard { display: flex; flex-direction: column; height: 100%; text-align: left; }
.pub-obcard .pub-numbadge { margin-bottom: 14px; }
.pub-obcard .pub-btn { margin-top: auto; }
.pub-obcard__status { margin: 4px 0 12px; }
.pub-btnrow { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.pub-btn--sm { font-size: 14px; padding: 9px 16px; min-height: 40px; }
.pub-btn--danger { background: #fff; border: 2px solid #b3261e; color: #b3261e; }
.pub-btn--danger:hover { background: #fdeceb; }
.pub-btn--soft { background: #fff; border: 1.5px solid var(--p-line); color: var(--p-ink-2); }
.pub-btn--soft:hover { border-color: var(--p-green); color: var(--p-ink); }

/* multi-line input */
.pub-textarea { width: 100%; font: inherit; font-size: 15px; line-height: 1.5; color: var(--p-ink); background: #fff; border: 1.5px solid var(--p-line); border-radius: 10px; padding: 11px 14px; outline: none; resize: vertical; min-height: 92px; }
.pub-textarea:focus { border-color: var(--p-green); box-shadow: 0 0 0 3px rgba(47,138,31,0.15); }

/* trait pick chips */
.pub-traits { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0; }
.pub-traitchip { display: inline-flex; align-items: center; padding: 6px 12px; border: 1.5px solid var(--p-line); border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--p-ink-3); background: #fff; cursor: pointer; user-select: none; }
.pub-traitchip input { position: absolute; opacity: 0; width: 0; height: 0; }
.pub-traitchip:hover { border-color: var(--p-green); color: var(--p-ink); }
.pub-traitchip:has(input:checked) { background: var(--p-green-bg); border-color: var(--p-green-bd); color: var(--p-ink); }

/* character card (expandable) */
.pub-char { border: 2px solid var(--p-ink); border-radius: 14px; box-shadow: 4px 4px 0 var(--p-ink); background: #fff; margin-bottom: 14px; overflow: hidden; }
.pub-char__sum { display: flex; align-items: center; gap: 12px; padding: 14px 18px; cursor: pointer; list-style: none; }
.pub-char__sum::-webkit-details-marker { display: none; }
.pub-char__sum::marker { content: ""; }
.pub-char__nm { font-weight: 800; font-size: 16px; color: var(--p-ink); flex: 1; }
.pub-char__meta { font-size: 13px; color: var(--p-muted); }
.pub-char__body { padding: 0 18px 18px; }
.pub-checkrow { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--p-ink-2); margin-top: 12px; }
.pub-checkrow input { width: 17px; height: 17px; accent-color: var(--p-green); }

/* profile step blocks */
.pub-profblock { margin-bottom: 28px; }
.pub-profblock:last-child { margin-bottom: 0; }
.pub-profblock h3 { margin-bottom: 4px; }
.pub-profblock .pub-cap { display: block; margin-bottom: 8px; }

/* onboarding tab nav (bold, on every step page) */
.pub-obnav { background: linear-gradient(160deg, var(--p-dark1) 0%, var(--p-dark3) 100%); }
.pub-obnav__in { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding-top: 14px; padding-bottom: 14px; }
.pub-obnav__lbl { font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--p-lime-2); margin-right: 6px; }
.pub-obnav a { color: var(--p-on-dark-mut); text-decoration: none; font-weight: 700; font-size: 14px; padding: 8px 15px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,0.22); }
.pub-obnav a:hover { color: #fff; border-color: rgba(255,255,255,0.45); }
.pub-obnav a.on { background: var(--p-gold); color: #fff; border-color: var(--p-gold); }

/* demo walkthrough */
.pub-demobar { background: var(--p-gold); color: #fff; font-size: 14px; font-weight: 600; text-align: center; }
.pub-demobar .pub-c { padding-top: 9px; padding-bottom: 9px; }
.pub-demobar a { color: #fff; text-decoration: underline; }
.pub-tag--ro { padding: 5px 12px; }

/* framed "screenshot" (demo report) — reads as a captured screen, not a live page */
.pub-shot { max-width: 880px; margin: 18px auto 0; border: 1.5px solid var(--p-line); border-radius: 14px; overflow: hidden; box-shadow: 0 22px 55px rgba(0,20,0,0.16); background: #fff; }
.pub-shot__bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #eef3ea; border-bottom: 1px solid var(--p-line); }
.pub-shot__dots { display: inline-flex; gap: 6px; flex: none; }
.pub-shot__dots i { width: 11px; height: 11px; border-radius: 50%; background: #ccd7c5; }
.pub-shot__url { flex: 1; text-align: center; font-size: 12.5px; color: var(--p-muted); background: #fff; border: 1px solid var(--p-line); border-radius: 999px; padding: 4px 12px; }
.pub-shot__tag { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--p-gold); background: var(--p-gold-bg); border-radius: 999px; padding: 3px 9px; flex: none; }
.pub-shot__body { padding: 20px; background: var(--p-bg); }
.pub-rpt p { font-size: 14px; color: var(--p-ink-3); margin: 0 0 6px; }
.pub-rpt p b { color: var(--p-ink); }
.pub-rpt__list { margin: 4px 0 0; padding-left: 18px; }
.pub-rpt__list li { margin: 3px 0; font-size: 13.5px; color: var(--p-ink-2); }
.pub-rpt__cols { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
@media (max-width: 700px) { .pub-rpt__cols { grid-template-columns: 1fr; } }

/* green report header band (matches the real report) */
.pub-rband { background: linear-gradient(100deg, #3f8637 0%, #2f6b2a 100%); color: #fff; padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.pub-rband__k { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.82); }
.pub-rband__t { font-size: clamp(20px, 3vw, 27px); font-weight: 800; color: #fff; margin: 3px 0 0; }
.pub-rband__btns { display: flex; gap: 8px; flex-wrap: wrap; }
.pub-rbtn { font-size: 13px; font-weight: 700; padding: 8px 14px; border-radius: 8px; border: 1.5px solid rgba(255,255,255,.6); color: #fff; background: transparent; }
.pub-rbtn--fill { background: #245a22; border-color: #245a22; }

/* report cards / labels */
.pub-rc { background: #fff; border: 2px solid #2f6b2a; border-radius: 14px; padding: 16px 18px; }
.pub-rc h4 { font-size: 18px; margin: 0 0 6px; color: var(--p-ink); }
.pub-rlbl { font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: #6b8a66; margin: 18px 0 8px; }

/* scorecards */
.pub-rscores { display: grid; grid-template-columns: 3fr 4fr; gap: 22px; align-items: start; }
@media (max-width: 760px) { .pub-rscores { grid-template-columns: 1fr; } }
.pub-scgrid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pub-scgrid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
@media (max-width: 520px) { .pub-scgrid3, .pub-scgrid4 { grid-template-columns: 1fr 1fr; } }
.pub-sc { background: #fff; border: 1.5px solid #cdddc6; border-top: 4px solid #cdddc6; border-radius: 10px; padding: 11px 13px; }
.pub-sc--seo { border-top-color: #2f8a1f; }
.pub-sc--aeo { border-top-color: #10a37f; }
.pub-sc--geo { border-top-color: #1862a8; }
.pub-sc__t { font-size: 13px; font-weight: 800; color: var(--p-ink); }
.pub-sc__n { font-size: 26px; font-weight: 800; color: var(--p-ink); line-height: 1.15; }
.pub-sc__n small { font-size: 12px; color: var(--p-muted); font-weight: 600; }
.pub-sc__note { font-size: 11.5px; color: var(--p-muted); margin: 4px 0 0; line-height: 1.4; }
.pub-cwv { font-size: 13px; color: var(--p-ink-3); margin: 10px 0 0; }
.pub-cwv b { color: var(--p-ink); }

/* improvement-over-time trend cards */
.pub-trgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 760px) { .pub-trgrid { grid-template-columns: 1fr 1fr; } }
.pub-tr { border: 1.5px solid #cdddc6; border-radius: 12px; padding: 14px; background: #fff; }
.pub-tr__hd { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pub-tr__hd b { font-size: 13.5px; color: var(--p-ink); }
.pub-tr__hd span { font-size: 12px; color: var(--p-muted); }
.pub-tr__v { font-size: 26px; font-weight: 800; color: var(--p-ink); margin: 8px 0 0; line-height: 1; }
.pub-tr__line { height: 1px; background: var(--p-line); margin: 14px 0 8px; }
.pub-tr__ft { font-size: 12px; color: var(--p-muted); }

/* big editable boxes */
.pub-textarea--lg { min-height: 190px; font-size: 16px; }

/* ---- footer legal links (shared _pub_footer.php) ---- */
.pub-footer__legal { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 4px; }
.pub-footer__legal a { color: #8faa86; text-decoration: none; font-size: 14px; }
.pub-footer__legal a:hover { color: var(--p-lime-3); text-decoration: underline; }

/* ---- legal / "fine print" pages (/legal /privacy /terms /copyright) ---- */
.pub-legal { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: start;
  padding-top: 40px; padding-bottom: 80px; }
@media (max-width: 800px) { .pub-legal { grid-template-columns: 1fr; } }
.pub-legal__nav { position: sticky; top: 84px; background: var(--p-surface);
  border: 1px solid var(--p-line); border-radius: 14px; padding: 16px; }
@media (max-width: 800px) { .pub-legal__nav { position: static; } }
.pub-legal__nav h5 { margin: 0 0 8px; font-size: 12px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--p-muted); }
.pub-legal__nav a { display: block; padding: 9px 11px; border-radius: 9px; color: var(--p-ink-2);
  text-decoration: none; font-weight: 600; font-size: 14.5px; }
.pub-legal__nav a:hover { background: var(--p-green-bg); color: var(--p-ink); }
.pub-legal__nav a.on { background: var(--p-green-bg); color: var(--p-green-h); }
.pub-legal__note { margin: 12px 4px 0; font-size: 13px; line-height: 1.5; color: var(--p-muted); }
.pub-legal__note strong { color: var(--p-ink-2); }
.pub-legal__doc { background: var(--p-card); border: 1px solid var(--p-line); border-radius: 14px;
  overflow: hidden; box-shadow: 0 1px 2px rgba(20,45,15,.05); }
.pub-legal__bar { display: flex; align-items: center; gap: 10px; padding: 12px 18px;
  background: var(--p-surface); border-bottom: 1px solid var(--p-line); font-size: 13px; color: var(--p-muted); }
.pub-legal__bar .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--p-lime); }
.pub-legal__bar .nm { font-weight: 700; color: var(--p-ink-2); }
.pub-legal__bar .pg { margin-left: auto; }
.pub-legal__body { padding: 26px 30px 30px; }
.pub-legal__body p { margin: 0 0 16px; font-size: 16px; line-height: 1.7; color: var(--p-ink-2); }
.pub-legal__body p:last-child { margin-bottom: 0; }
.pub-legal__body .pub-legal__flag { display: inline-block; margin-bottom: 20px;
  background: var(--p-gold-bg); border: 1px solid var(--p-line-gold); border-radius: 999px;
  padding: 5px 12px; font-size: 12.5px; font-weight: 600; color: var(--p-gold-ink); }

/* report suggestions shown under a box (compare + click to add) */
.pub-sugs { margin-top: 12px; padding: 14px 16px; background: var(--p-surface); border: 1.5px solid var(--p-line); border-radius: 12px; }
.pub-sugs__hd { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; font-size: 12.5px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--p-muted); }
.pub-sugchips { display: flex; flex-wrap: wrap; gap: 8px; }
.pub-sugchip { display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px; border-radius: 999px; border: 1.5px solid var(--p-green-bd); background: var(--p-green-bg); color: var(--p-ink); font-size: 13px; font-weight: 600; cursor: pointer; font-family: inherit; }
.pub-sugchip::before { content: "+"; font-weight: 800; color: var(--p-green); }
.pub-sugchip:hover { border-color: var(--p-green); }
.pub-sugchip.is-added { opacity: 0.5; }
.pub-sugchip.is-added::before { content: "\2713"; }
.pub-sugs--blue .pub-sugchip { border-color: var(--p-blue-bd); background: var(--p-blue-bg); color: var(--p-blue-ink); }
.pub-sugs--blue .pub-sugchip::before { color: var(--p-blue); }
.pub-sugs--gold .pub-sugchip { border-color: #e2d3a8; background: #fdf3dd; color: var(--p-gold-ink); }
.pub-sugs--gold .pub-sugchip::before { color: var(--p-gold); }
.pub-sugs__empty { font-size: 14px; color: var(--p-muted); margin: 0; }

/* report score pills */
.pub-scores { display: flex; flex-wrap: wrap; gap: 12px; margin: 6px 0 10px; }
.pub-scorepill { display: flex; flex-direction: column; gap: 3px; padding: 12px 18px; border: 2px solid var(--p-ink); border-radius: 12px; box-shadow: 3px 3px 0 var(--p-ink); background: #fff; min-width: 96px; }
.pub-scorepill .n { font-size: 30px; font-weight: 800; line-height: 1; color: var(--p-ink); }
.pub-scorepill .l { font-size: 12px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--p-muted); }

/* wide container for the profile step */
.pub-c-wide { max-width: 1320px; }

/* tag / chip editor (keywords, phrases, goals) — each item is a small deletable tag */
.pub-tagbox { display: flex; flex-wrap: wrap; gap: 7px; align-items: flex-start; width: 100%; min-height: 54px; padding: 12px; background: #fff; border: 1.5px solid var(--p-line); border-radius: 12px; }
.pub-tagbox.is-empty { align-items: center; }
.pub-tagbox.is-empty::before { content: attr(data-empty); color: var(--p-muted); font-size: 14px; }
.pub-tag { display: inline-flex; align-items: center; gap: 3px; padding: 4px 4px 4px 11px; border-radius: 999px; border: 1.5px solid var(--p-line); background: var(--p-surface); font-size: 13.5px; font-weight: 600; color: var(--p-ink); }
.pub-tag__t { line-height: 1.25; }
.pub-tag__x { border: none; background: transparent; color: var(--p-muted); font-size: 17px; line-height: 1; cursor: pointer; padding: 0 5px; border-radius: 50%; }
.pub-tag__x:hover { background: #fdeceb; color: #b3261e; }
.pub-tagadd { display: flex; gap: 8px; margin-top: 10px; }
.pub-tagadd__in { flex: 1; }

/* responsive */
@media (max-width: 900px) {
  .pub-hero-grid, .pub-grid-2 { grid-template-columns: 1fr; gap: 40px; }
  .pub-grid-3 { grid-template-columns: 1fr; }
  .pub-order-1, .pub-order-2 { order: 0; }
  .pub-ml-28 { margin-left: 0; }
}
@media (max-width: 620px) {
  .pub-grid-2-tight, .pub-grid-2x2, .pub-form-grid { grid-template-columns: 1fr; }
  .pub-nav { gap: 14px; }
  .pub-nav .hide-sm { display: none; }
  .pub-brand img { height: 48px; }
}
