/* ============================================================
   SHARED BASE — resets, typography scale, focus states
   ============================================================ */
:root{
  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 22px;
  --maxw: 1120px;
}

*{ box-sizing: border-box; }

html{ -webkit-text-size-adjust: 100%; }

body{
  margin: 0;
  max-width: none !important;
  padding: 0 !important;
}

img, video{ max-width: 100%; height: auto; display: block; }

a{ text-decoration: none; }

.container{
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

button, input, textarea, select{ font-family: inherit; font-size: 16px; }

:focus-visible{
  outline: 3px solid #ffb703;
  outline-offset: 2px;
}

.visually-hidden{
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

sup.note-star{ color: inherit; font-weight: 700; }

/* neutralize Pico's default card styling on semantic elements we re-style ourselves */
article, aside, details{
  background: none;
  box-shadow: none;
  border-radius: 0;
  margin-bottom: 0;
  padding: 0;
}

/* ============================================================
   PUBLICATION THEME (advertorial + about) — light editorial
   ============================================================ */
body.theme-pub{
  --ink: #171a1f;
  --ink-soft: #4a5058;
  --bg: #ffffff;
  --panel: #f4f7f6;
  --panel-2: #eef6f2;
  --line: #e3e7e6;
  --accent: #0d7a5f;
  --accent-ink: #ffffff;
  --gold: #b9832c;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
}

body.theme-pub h1, body.theme-pub h2, body.theme-pub h3{
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: -0.01em;
}

body.theme-pub .masthead{
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
body.theme-pub .masthead .container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
body.theme-pub .masthead .brand{
  font-family: Georgia, serif;
  font-weight: 700;
  font-size: clamp(1.15rem, 1rem + 1vw, 1.5rem);
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}
body.theme-pub .masthead .brand small{
  display: block;
  font-family: -apple-system, sans-serif;
  font-weight: 400;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
body.theme-pub .masthead nav ul{
  list-style: none;
  display: flex;
  gap: 22px;
  margin: 0; padding: 0;
  flex-wrap: wrap;
}
body.theme-pub .masthead nav a{
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  min-height: 44px;
  display: flex;
  align-items: center;
}
body.theme-pub .masthead nav a:hover{ color: var(--accent); }

body.theme-pub .promo-bar{
  background: var(--panel-2);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
body.theme-pub .promo-bar .container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
body.theme-pub .promo-bar p{ margin: 0; font-weight: 600; font-size: 0.95rem; }

body.theme-pub .ribbon{
  background: var(--ink);
  color: #fff;
  text-align: center;
  padding: 8px 16px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn:hover{ transform: translateY(-2px); }

body.theme-pub .btn-primary{
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 10px 24px -10px rgba(13,122,95,.6);
}
body.theme-pub .btn-primary:hover{ background: #0a5f4a; }
body.theme-pub .btn-ghost{
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
body.theme-pub .btn-ghost:hover{ background: var(--ink); color: #fff; }

body.theme-pub .btn-row{
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

body.theme-pub article.story{
  max-width: 760px;
  margin: 0 auto;
  padding: 28px 20px 0;
}

body.theme-pub .kicker{
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
  margin: 0 0 10px;
}

body.theme-pub h1.headline{
  font-size: clamp(1.75rem, 1.35rem + 2.2vw, 2.75rem);
  margin: 0 0 14px;
}

body.theme-pub .subhead{
  font-family: -apple-system, sans-serif;
  font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem);
  color: var(--ink-soft);
  font-weight: 500;
  border-left: 4px solid var(--accent);
  padding-left: 14px;
  margin: 0 0 22px;
}

body.theme-pub .byline{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 22px;
}
body.theme-pub .byline .stars{ color: var(--gold); letter-spacing: 2px; }

body.theme-pub details.toc{
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: 4px 16px;
  margin-bottom: 26px;
}
body.theme-pub details.toc summary{
  cursor: pointer;
  padding: 12px 0;
  font-weight: 700;
  min-height: 44px;
  display: flex;
  align-items: center;
}
body.theme-pub details.toc ul{ margin: 0 0 14px; padding-left: 20px; }
body.theme-pub details.toc li{ margin-bottom: 6px; }
body.theme-pub details.toc a{ color: var(--accent); font-weight: 600; }

body.theme-pub figure{ margin: 0 0 28px; }
body.theme-pub figure img, body.theme-pub figure video{
  border-radius: var(--radius-m);
  width: 100%;
}
body.theme-pub figcaption{
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 8px;
  text-align: center;
}
body.theme-pub .media-frame{
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius-m);
}
body.theme-pub .media-frame img, body.theme-pub .media-frame video{
  width: 100%; height: 100%; object-fit: cover;
}

body.theme-pub article.story p{ font-size: 1.05rem; margin: 0 0 20px; }
body.theme-pub article.story h2{
  font-size: clamp(1.4rem, 1.2rem + 1vw, 1.9rem);
  margin: 40px 0 16px;
}
body.theme-pub article.story h3{
  font-size: 1.2rem;
  margin: 26px 0 12px;
}

body.theme-pub blockquote.pull{
  font-family: Georgia, serif;
  font-size: 1.3rem;
  font-style: italic;
  color: var(--ink);
  border-left: 4px solid var(--gold);
  padding: 4px 0 4px 20px;
  margin: 30px 0;
}

body.theme-pub .checklist{
  list-style: none;
  margin: 0 0 24px;
  padding: 18px;
  background: var(--panel-2);
  border-radius: var(--radius-m);
}
body.theme-pub .checklist li{
  padding: 8px 0 8px 30px;
  position: relative;
  font-weight: 600;
}
body.theme-pub .checklist li::before{
  content: "✓";
  position: absolute;
  left: 0; top: 8px;
  width: 22px; height: 22px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  font-size: 0.75rem;
  display: flex; align-items: center; justify-content: center;
}

body.theme-pub .split{
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-l);
  padding: 30px 22px;
  margin: 34px 0;
}
body.theme-pub .split h3{ color: #fff; font-size: 1.3rem; margin: 0 0 12px; }
body.theme-pub .split p{ color: #d7dbe0; margin: 0; font-size: 1rem; }
body.theme-pub .split .split-leverage{ align-self: center; }

body.theme-pub .stat-band{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
body.theme-pub .stat-band .stat{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-m);
  padding: 16px 10px;
  text-align: center;
}
body.theme-pub .stat-band .stat strong{
  display: block;
  font-size: clamp(1.3rem, 1.1rem + 1vw, 1.7rem);
  color: #fff;
  font-family: Georgia, serif;
}
body.theme-pub .stat-band .stat span{
  display: block;
  font-size: 0.74rem;
  color: #c6cbd2;
  margin-top: 4px;
  line-height: 1.3;
}

body.theme-pub .price-note{
  background: var(--panel-2);
  border-radius: var(--radius-m);
  padding: 20px;
  font-weight: 600;
  margin: 0 0 28px;
}
body.theme-pub .price-note a{ color: var(--accent); font-weight: 700; }

body.theme-pub .inline-cta{
  text-align: center;
  margin: 34px 0;
  padding: 24px;
  background: var(--panel);
  border-radius: var(--radius-m);
}
body.theme-pub .inline-cta p{ margin: 0 0 14px; font-weight: 600; }

body.theme-pub .ps-note{
  border-top: 2px dashed var(--line);
  padding-top: 24px;
  margin-top: 40px;
  font-style: italic;
}

body.theme-pub aside.site-disclaimer{
  max-width: 760px;
  margin: 44px auto 0;
  padding: 0 20px;
}

@media (min-width: 768px){
  body.theme-pub .split{
    grid-template-columns: 1fr 1fr;
    padding: 44px;
  }
  body.theme-pub .stat-band{ grid-template-columns: repeat(4, 1fr); }
}

/* ============================================================
   OFFER THEME (masterclass + legal/contact pages) — dark saas
   ============================================================ */
body.theme-offer{
  --bg: #0a0e17;
  --bg-2: #0e1420;
  --card: #131a29;
  --card-line: #232c40;
  --text: #e8ecf5;
  --text-soft: #9aa5ba;
  --blue: #3b6df0;
  --blue-soft: #274690;
  --gold: #ffb703;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

body.theme-offer h1, body.theme-offer h2, body.theme-offer h3{
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-family: inherit;
}

body.theme-offer a{ color: var(--blue); }

body.theme-offer header.site-header{
  border-bottom: 1px solid var(--card-line);
  padding: 16px 0;
}
body.theme-offer header.site-header .container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
body.theme-offer .brand{
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.15rem;
  color: #fff;
}
body.theme-offer .brand .dot{
  width: 10px; height: 10px; border-radius: 3px;
  background: var(--blue);
  display: inline-block;
}
body.theme-offer header.site-header nav ul{
  list-style: none; display: flex; gap: 20px; margin: 0; padding: 0; flex-wrap: wrap;
}
body.theme-offer header.site-header nav a{
  color: var(--text-soft);
  font-weight: 600;
  min-height: 44px;
  display: flex;
  align-items: center;
}
body.theme-offer header.site-header nav a:hover{ color: #fff; }

body.theme-offer .btn{ border-radius: 12px; }
body.theme-offer .btn-primary{
  background: var(--blue);
  color: #fff;
  box-shadow: 0 12px 30px -12px rgba(59,109,240,.7);
}
body.theme-offer .btn-primary:hover{ background: #2f5bd0; }
body.theme-offer .btn-ghost{
  background: transparent;
  border-color: var(--card-line);
  color: #fff;
}
body.theme-offer .btn-ghost:hover{ border-color: var(--blue); color: var(--blue); }
body.theme-offer .btn-row{ display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

body.theme-offer .hero{
  padding: 48px 0 20px;
  text-align: center;
  background:
    radial-gradient(600px 300px at 50% -10%, rgba(59,109,240,.35), transparent 70%),
    var(--bg);
}
body.theme-offer .hero .badges{
  display: flex; justify-content: center; gap: 10px; flex-wrap: wrap;
  margin: 18px 0 26px;
}
body.theme-offer .badge{
  background: var(--card);
  border: 1px solid var(--card-line);
  color: var(--text-soft);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
}
body.theme-offer h1.headline{
  font-size: clamp(1.9rem, 1.4rem + 2.6vw, 3.1rem);
  max-width: 900px;
  margin: 0 auto 16px;
}
body.theme-offer h1.headline .accent-text{ color: var(--blue); }
body.theme-offer .hero .subhead{
  max-width: 640px;
  margin: 0 auto 26px;
  color: var(--text-soft);
  font-size: clamp(1rem, .95rem + .3vw, 1.15rem);
}
body.theme-offer .hero .btn-row{ justify-content: center; margin-bottom: 8px; }
body.theme-offer .hero .microcopy{
  font-size: 0.8rem; color: var(--text-soft); margin-top: 10px;
}

body.theme-offer .hero-media{
  position: relative;
  max-width: 720px;
  margin: 34px auto -60px;
  border-radius: var(--radius-l);
  overflow: hidden;
  border: 1px solid var(--card-line);
  box-shadow: 0 40px 70px -30px rgba(0,0,0,.7);
  aspect-ratio: 16/10;
}
body.theme-offer .hero-media video{ width: 100%; height: 100%; object-fit: cover; }
body.theme-offer .hero-spacer{ height: 60px; }

body.theme-offer section.band{ padding: 64px 0; }
body.theme-offer section.band.alt{ background: var(--bg-2); }
body.theme-offer section.band.card-bg{
  background: var(--card);
  border-top: 1px solid var(--card-line);
  border-bottom: 1px solid var(--card-line);
}

body.theme-offer .kicker{
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  font-size: 0.78rem;
  margin: 0 0 10px;
}
body.theme-offer h2.section-title{
  font-size: clamp(1.5rem, 1.25rem + 1.2vw, 2.15rem);
  margin: 0 0 14px;
  max-width: 720px;
}
body.theme-offer .section-lead{
  color: var(--text-soft);
  max-width: 680px;
  font-size: 1.02rem;
  margin: 0 0 32px;
}

body.theme-offer .pain-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
body.theme-offer .pain-grid .card{
  background: var(--card);
  border: 1px solid var(--card-line);
  border-radius: var(--radius-m);
  padding: 22px;
}
body.theme-offer .pain-grid .card h3{ font-size: 1.1rem; margin: 0 0 8px; }
body.theme-offer .pain-grid .card p{ color: var(--text-soft); margin: 0; font-size: 0.95rem; }

body.theme-offer .stat-band{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
body.theme-offer .stat-band .stat{
  background: var(--card);
  border: 1px solid var(--card-line);
  border-radius: var(--radius-m);
  padding: 22px 10px;
  text-align: center;
}
body.theme-offer .stat-band .stat strong{
  display: block;
  font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.1rem);
  color: var(--blue);
}
body.theme-offer .stat-band .stat span{
  display: block;
  font-size: 0.78rem;
  color: var(--text-soft);
  margin-top: 6px;
}
body.theme-offer .stat-footnote{
  font-size: 0.85rem;
  color: var(--text-soft);
  margin-top: 18px;
}
body.theme-offer .stat-footnote a{ color: var(--text-soft); text-decoration: underline; }

body.theme-offer .arith-box{
  margin-top: 22px;
  background: var(--bg-2);
  border: 1px solid var(--card-line);
  border-radius: var(--radius-m);
  padding: 20px;
  font-size: 0.95rem;
  color: var(--text-soft);
}
body.theme-offer .arith-box strong{ color: #fff; }

body.theme-offer .callout{
  background: linear-gradient(135deg, var(--blue-soft), #101a33);
  border: 1px solid var(--card-line);
  border-radius: var(--radius-l);
  padding: 34px 26px;
  text-align: center;
}
body.theme-offer .callout h2{ margin: 0 0 14px; }
body.theme-offer .callout p{ max-width: 640px; margin: 0 auto; color: #d3daf0; }

body.theme-offer .deliverables{
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
body.theme-offer .deliverables li{
  background: var(--card);
  border: 1px solid var(--card-line);
  border-radius: var(--radius-m);
  padding: 18px 20px 18px 52px;
  position: relative;
  font-weight: 600;
}
body.theme-offer .deliverables li::before{
  content: "✓";
  position: absolute; left: 18px; top: 18px;
  width: 24px; height: 24px;
  background: var(--blue);
  color: #fff;
  border-radius: 50%;
  font-size: 0.78rem;
  display: flex; align-items: center; justify-content: center;
}

body.theme-offer .steps{
  list-style: none;
  counter-reset: step;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
body.theme-offer .steps li{
  counter-increment: step;
  background: var(--card);
  border: 1px solid var(--card-line);
  border-radius: var(--radius-m);
  padding: 20px 20px 20px 60px;
  position: relative;
}
body.theme-offer .steps li::before{
  content: counter(step);
  position: absolute; left: 18px; top: 18px;
  width: 28px; height: 28px;
  background: var(--blue-soft);
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
body.theme-offer .steps h3{ margin: 0 0 6px; font-size: 1.05rem; }
body.theme-offer .steps p{ margin: 0; color: var(--text-soft); font-size: 0.92rem; }

/* pricing */
body.theme-offer .pricing-spotlight{
  background: linear-gradient(160deg, #17233d, var(--card));
  border: 1px solid var(--blue);
  border-radius: var(--radius-l);
  padding: 30px 26px;
  margin-bottom: 28px;
  box-shadow: 0 30px 60px -30px rgba(59,109,240,.5);
}
body.theme-offer .pricing-spotlight .tag{
  display: inline-block;
  background: var(--blue);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
body.theme-offer .pricing-spotlight h3{ font-size: 1.5rem; margin: 0 0 4px; }
body.theme-offer .pricing-spotlight .price{
  font-size: clamp(2rem, 1.7rem + 1vw, 2.6rem);
  font-weight: 800;
  color: #fff;
  margin: 6px 0 4px;
}
body.theme-offer .pricing-spotlight .hours{ color: var(--text-soft); font-size: 0.9rem; margin-bottom: 16px; }
body.theme-offer .pricing-spotlight ul{ margin: 0 0 20px; padding-left: 20px; color: #dfe4f0; }
body.theme-offer .pricing-spotlight ul li{ margin-bottom: 6px; }

body.theme-offer .pricing-compact{
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 34px;
}
body.theme-offer .pricing-compact .plan{
  background: var(--card);
  border: 1px solid var(--card-line);
  border-radius: var(--radius-m);
  padding: 18px 20px;
}
body.theme-offer .pricing-compact .plan .row{
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
}
body.theme-offer .pricing-compact .plan h4{ margin: 0; font-size: 1.05rem; color: #fff; }
body.theme-offer .pricing-compact .plan .plan-price{ font-weight: 800; color: var(--blue); font-size: 1.15rem; white-space: nowrap; }
body.theme-offer .pricing-compact .plan .hours{ color: var(--text-soft); font-size: 0.85rem; margin: 0 0 8px; }
body.theme-offer .pricing-compact .plan ul{ margin: 0; padding-left: 18px; color: var(--text-soft); font-size: 0.88rem; }
body.theme-offer .pricing-compact .plan ul li{ margin-bottom: 4px; }

body.theme-offer .addons{
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr; gap: 12px;
}
body.theme-offer .addons li{
  background: var(--bg-2);
  border: 1px dashed var(--card-line);
  border-radius: var(--radius-m);
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  flex-wrap: wrap;
}
body.theme-offer .addons .addon-name{ font-weight: 700; color: #fff; display: block; }
body.theme-offer .addons .addon-desc{ color: var(--text-soft); font-size: 0.86rem; display: block; margin-top: 4px; max-width: 44ch; }
body.theme-offer .addons .addon-price{ font-weight: 800; color: var(--blue); white-space: nowrap; }

body.theme-offer .perks{
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr; gap: 12px;
}
body.theme-offer .perks li{
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--card-line);
  border-radius: var(--radius-m);
  padding: 14px 16px;
  font-size: 0.94rem;
}
body.theme-offer .perks li::before{
  content: "★";
  color: var(--gold);
  flex-shrink: 0;
}

body.theme-offer .limits-box{
  background: var(--bg-2);
  border: 1px solid var(--card-line);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-m);
  padding: 22px;
}
body.theme-offer .limits-box ul{ margin: 12px 0 0; padding-left: 20px; color: var(--text-soft); }
body.theme-offer .limits-box li{ margin-bottom: 8px; }

body.theme-offer .faq-item{
  background: var(--card);
  border: 1px solid var(--card-line);
  border-radius: var(--radius-m);
  padding: 4px 20px;
  margin-bottom: 12px;
}
body.theme-offer .faq-item summary{
  cursor: pointer;
  padding: 16px 0;
  font-weight: 700;
  min-height: 44px;
  display: flex;
  align-items: center;
  color: #fff;
}
body.theme-offer .faq-item p{ color: var(--text-soft); margin: 0 0 16px; }

/* lead form */
body.theme-offer .lead-panel{
  background: var(--card);
  border: 1px solid var(--card-line);
  border-radius: var(--radius-l);
  padding: 30px 22px;
}
body.theme-offer form.lead-form{ display: grid; gap: 16px; }
body.theme-offer .field{ display: grid; gap: 6px; }
body.theme-offer .field label{ font-weight: 600; font-size: 0.92rem; }
body.theme-offer .field input, body.theme-offer .field textarea{
  background: var(--bg-2);
  border: 1px solid var(--card-line);
  color: var(--text);
  border-radius: 10px;
  padding: 13px 14px;
  min-height: 48px;
  width: 100%;
}
body.theme-offer .field textarea{ min-height: 110px; resize: vertical; }
body.theme-offer .field input::placeholder, body.theme-offer .field textarea::placeholder{ color: #6b7590; }
body.theme-offer .field input:focus, body.theme-offer .field textarea:focus{ border-color: var(--blue); }
body.theme-offer .field small{ color: var(--text-soft); font-size: 0.8rem; }
body.theme-offer .consent{
  display: flex; gap: 10px; align-items: flex-start; font-size: 0.88rem; color: var(--text-soft);
}
body.theme-offer .consent input{ margin-top: 4px; width: 20px; height: 20px; flex-shrink: 0; }
body.theme-offer .lead-form button{ margin-top: 4px; }

body.theme-offer #lead-success{
  display: none;
  background: var(--bg-2);
  border: 1px solid var(--blue);
  border-radius: var(--radius-m);
  padding: 18px 20px;
  margin-top: 16px;
  font-weight: 600;
}
body.theme-offer #lead-success:target{ display: block; }

body.theme-offer .photo{
  border-radius: var(--radius-l);
  overflow: hidden;
  margin: 36px 0 0;
  border: 1px solid var(--card-line);
}
body.theme-offer .photo img{ width: 100%; display: block; aspect-ratio: 16/10; object-fit: cover; }
body.theme-offer .photo figcaption{
  padding: 12px 4px 0;
  color: var(--text-soft);
  font-size: 0.85rem;
}

/* legal / article pages in offer theme */
body.theme-offer article.legal{
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 20px 10px;
}
body.theme-offer article.legal h1{ font-size: clamp(1.6rem, 1.3rem + 1.6vw, 2.3rem); margin-bottom: 8px; }
body.theme-offer article.legal .updated{ color: var(--text-soft); font-size: 0.85rem; margin-bottom: 30px; }
body.theme-offer article.legal h2{ font-size: 1.25rem; margin: 30px 0 12px; }
body.theme-offer article.legal p, body.theme-offer article.legal li{ color: #cdd4e4; font-size: 0.98rem; }
body.theme-offer article.legal ul{ padding-left: 20px; }
body.theme-offer article.legal a{ color: var(--blue); }

/* sticky CTA bar */
body.theme-offer .sticky-cta{
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--bg-2);
  border-top: 1px solid var(--card-line);
  padding: 12px 16px;
  display: flex;
  justify-content: center;
  gap: 12px;
  align-items: center;
  z-index: 40;
  transform: translateY(100%);
  transition: transform .25s ease;
}
body.theme-offer .sticky-cta.is-visible{ transform: translateY(0); }
body.theme-offer .sticky-cta span{ font-weight: 600; font-size: 0.88rem; display: none; }
body.theme-offer .sticky-cta-spacer{ height: 76px; }

@media (min-width: 480px){
  body.theme-offer .sticky-cta span{ display: inline; }
}

@media (min-width: 768px){
  body.theme-offer .pain-grid{ grid-template-columns: repeat(3, 1fr); }
  body.theme-offer .stat-band{ grid-template-columns: repeat(4, 1fr); }
  body.theme-offer .deliverables{ grid-template-columns: repeat(3, 1fr); }
  body.theme-offer .steps{ grid-template-columns: repeat(1, 1fr); }
  body.theme-offer .pricing-compact{ grid-template-columns: repeat(3, 1fr); }
  body.theme-offer .perks{ grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   DISCLAIMER + FOOTER — shared shell, theme-aware colors
   ============================================================ */
aside.site-disclaimer{
  max-width: var(--maxw);
  margin: 44px auto 0;
  padding: 0 20px;
}
aside.site-disclaimer p{
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}
body.theme-pub aside.site-disclaimer p{
  background: #fff8e6;
  border: 1px solid #f0dfa8;
  color: #4a3f1f;
  padding: 16px 18px;
  border-radius: var(--radius-m);
}
body.theme-pub aside.site-disclaimer a{ color: #7a5a10; font-weight: 700; }
body.theme-offer aside.site-disclaimer p{
  background: var(--bg-2, #0e1420);
  border: 1px solid #3a3320;
  color: #d8cfa8;
  padding: 16px 18px;
  border-radius: var(--radius-m);
}
body.theme-offer aside.site-disclaimer a{ color: #ffd977; font-weight: 700; }

footer.site-footer{
  margin-top: 40px;
  padding: 30px 20px 50px;
}
body.theme-pub footer.site-footer{
  background: #171a1f;
  color: #d7dbe0;
}
body.theme-offer footer.site-footer{
  background: #05070c;
  color: #9aa5ba;
  border-top: 1px solid #1c2330;
}
footer.site-footer .container{ max-width: var(--maxw); margin: 0 auto; }
footer.site-footer .site-footer__company{
  font-size: 0.88rem;
  line-height: 1.7;
  white-space: pre-line;
  margin-bottom: 20px;
}
footer.site-footer .site-footer__links{
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}
footer.site-footer .site-footer__links a{
  color: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
body.theme-pub footer.site-footer .site-footer__links a:hover{ color: #fff; }
body.theme-offer footer.site-footer .site-footer__links a:hover{ color: var(--blue); }
footer.site-footer small{
  display: block;
  margin-top: 18px;
  opacity: 0.7;
  font-size: 0.78rem;
}

@media (min-width: 480px){
  .container{ padding: 0 24px; }
}
@media (min-width: 1024px){
  .container{ padding: 0 32px; }
}
