/* ==========================================================================
   MANDIGO / True Ledger + Formation E-commerce IA — site stylesheet
   Plain CSS, system fonts, mobile-first, single file.
   ========================================================================== */

/* ---- Reset & base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul, ol { padding-left: 0; margin: 0; list-style: none; }
h1, h2, h3, h4, p, figure { margin: 0; }
button { font: inherit; cursor: pointer; }
input, textarea { font: inherit; }
:focus-visible { outline: 3px solid #3b6bf5; outline-offset: 2px; }

.wrap {
  width: 100%;
  max-width: 896px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.wrap--offer { max-width: 1120px; }
.wrap--narrow { max-width: 720px; }
.wrap--legal { max-width: 760px; }

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

/* ==========================================================================
   THEME TOKENS
   ========================================================================== */
body.theme-dark {
  --bg: #0a0d14;
  --bg-alt: #0d1119;
  --panel: #131826;
  --panel-border: #262d40;
  --text: #f4f6fb;
  --muted: #9aa3ba;
  --accent: #4a78ff;
  --accent-ink: #071022;
  --accent-text: #82a2ff;
  background: var(--bg);
  color: var(--text);
}
body.theme-light {
  --bg: #ffffff;
  --bg-alt: #f6f5f1;
  --panel: #ffffff;
  --panel-border: #e4e2da;
  --text: #14171a;
  --muted: #63666d;
  --ink: #111111;
  --accent2: #ff5a3c;
  --accent2-text: #c8431f;
  --cream: #faf6ec;
  background: var(--bg);
  color: var(--text);
}

/* ==========================================================================
   HEADER (both themes)
   ========================================================================== */
.site-header {
  position: relative;
  padding: 18px 0;
}
body.theme-dark .site-header { background: var(--bg); border-bottom: 1px solid var(--panel-border); }
body.theme-light .site-header { background: var(--bg); border-bottom: 1px solid var(--panel-border); }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.site-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.05rem;
  text-decoration: none;
  letter-spacing: -0.01em;
}
body.theme-dark .site-header__brand { color: var(--text); }
body.theme-light .site-header__brand { color: var(--ink); }
.site-header__brand-icon {
  width: 26px; height: 26px; border-radius: 7px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.85rem; flex-shrink: 0;
}
body.theme-dark .site-header__brand-icon { background: var(--accent); color: var(--accent-ink); }
body.theme-light .site-header__brand-icon { background: var(--ink); color: #fff; }

.site-header__nav {
  display: none;
  align-items: center;
  gap: 24px;
  font-size: 0.95rem;
  font-weight: 600;
}
.site-header__nav a { text-decoration: none; opacity: 0.85; }
.site-header__nav a:hover { opacity: 1; }
body.theme-light .site-header__nav a { color: var(--ink); }

.site-header__cta {
  display: none;
}

.site-header__toggle {
  width: 44px; height: 44px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
body.theme-dark .site-header__toggle { color: var(--text); }
body.theme-light .site-header__toggle { color: var(--ink); }
.site-header__toggle:hover { background: rgba(128,128,128,0.12); }
.site-header__toggle-icon { width: 20px; height: 14px; position: relative; display: block; }
.site-header__toggle-icon span {
  position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 2px;
}
.site-header__toggle-icon span:nth-child(1) { top: 0; }
.site-header__toggle-icon span:nth-child(2) { top: 6px; }
.site-header__toggle-icon span:nth-child(3) { top: 12px; }

.site-header__drawer {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 12px 0 4px;
}
.site-header__drawer.is-open { display: flex; }
.site-header__drawer a {
  display: block;
  padding: 12px 4px;
  text-decoration: none;
  font-weight: 600;
  min-height: 44px;
  border-top: 1px solid var(--panel-border);
}
body.theme-dark .site-header__drawer a { color: var(--text); }
body.theme-light .site-header__drawer a { color: var(--ink); }

@media (min-width: 768px) {
  .site-header__nav.is-desktop-flex { display: flex; }
  .site-header__cta.is-desktop-flex { display: inline-flex; }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 13px 26px; border-radius: 10px;
  font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent;
  transition: transform 0.15s ease, background-color 0.15s ease, opacity 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

/* dark theme cta pill (advertorial) */
.btn-cta {
  background: var(--accent, #3b6bf5);
  color: var(--accent-ink, #071022);
  border-radius: 12px;
}
.btn-cta:hover { background: #4f7bff; }

.btn-cta-row { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.btn-cta-row__note { font-size: 0.85rem; color: var(--muted); text-decoration: none; }
.btn-cta-row__note:hover { text-decoration: underline; }

/* light theme buttons (offer) */
.btn-primary {
  background: var(--ink); color: #fff; border-radius: 999px;
}
.btn-primary:hover { background: #2b2b2b; }
.btn-secondary {
  background: transparent; color: var(--ink); border: 1.5px solid var(--panel-border);
  border-radius: 999px;
}
.btn-secondary:hover { border-color: var(--ink); }
.btn-block { width: 100%; }

/* ==========================================================================
   ADVERTORIAL (dark theme)
   ========================================================================== */
.adv-ribbon-wrap { padding: 28px 0 0; }
.adv-ribbon {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--panel); border: 1px solid var(--panel-border);
  color: var(--muted); font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  padding: 7px 12px; border-radius: 999px;
}

.adv-hero { padding: 18px 0 32px; text-align: center; }
.adv-hero h1 {
  font-size: clamp(1.8rem, 1.2rem + 3vw, 3.15rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.adv-hero h1 .hl { color: var(--accent-text); }
.adv-hero__sub {
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.3rem);
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto;
}

.badge-row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  margin-top: 22px;
}
.badge-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--panel); border: 1px solid var(--panel-border);
  padding: 9px 16px; border-radius: 999px; font-size: 0.9rem; font-weight: 600;
  color: var(--text);
}

.media-panel {
  position: relative;
  margin: 8px 0 44px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--panel-border);
  background: var(--panel);
}
.ratio-box { position: relative; overflow: hidden; width: 100%; }
.ratio-box img, .ratio-box video { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-panel .ratio-box { aspect-ratio: 16 / 9; }
.media-float {
  position: absolute;
  left: 14px; bottom: 14px;
  max-width: calc(100% - 28px);
  background: rgba(10,13,20,0.92);
  border: 1px solid var(--panel-border);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex; align-items: center; gap: 8px;
  font-size: 0.85rem; font-weight: 600;
  color: var(--text);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

.inline-figure { margin: 8px 0 6px; border-radius: 16px; overflow: hidden; border: 1px solid var(--panel-border); }
.inline-figure img { width: 100%; display: block; }
.inline-figure figcaption { padding: 10px 16px; font-size: 0.82rem; color: var(--muted); background: var(--panel); }

.section { padding: 40px 0; }
.section--tight { padding: 24px 0; }
.section__kicker {
  display: block; font-size: 0.78rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--accent-text); margin-bottom: 10px;
}
.section h2 {
  font-size: clamp(1.4rem, 1.15rem + 1.2vw, 2rem);
  line-height: 1.2; font-weight: 800; letter-spacing: -0.01em;
  margin-bottom: 14px;
}
.section p + p { margin-top: 14px; }
.section p { color: var(--text); }
body.theme-dark .section p { color: #dde1ec; }

.box {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 20px;
}
.box:last-child { margin-bottom: 0; }
.box__kicker {
  display: inline-block; font-size: 0.72rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--muted); margin-bottom: 8px;
}
.box h3 {
  font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.4rem);
  font-weight: 800; margin-bottom: 10px; letter-spacing: -0.01em;
}
.box p { color: #dde1ec; }
.box p + p { margin-top: 12px; }

.callout {
  background: linear-gradient(180deg, rgba(59,107,245,0.14), rgba(59,107,245,0.05));
  border: 1px solid rgba(59,107,245,0.4);
  border-radius: 16px;
  padding: 24px;
  margin: 8px 0 20px;
}
.callout .box__kicker { color: var(--accent-text); }

.figure-strip {
  display: grid; grid-template-columns: 1fr; gap: 12px;
  margin: 20px 0;
}
.figure-chip {
  background: var(--panel); border: 1px solid var(--panel-border); border-radius: 14px;
  padding: 16px 18px; text-align: center;
}
.figure-chip strong { display: block; font-size: 1.3rem; font-weight: 800; color: var(--accent-text); margin-bottom: 4px; }
.figure-chip span { font-size: 0.85rem; color: var(--muted); }

.worked-example {
  border: 1px solid var(--panel-border);
  border-radius: 16px;
  padding: 24px;
  background: var(--panel);
  margin-bottom: 20px;
}
.worked-example__row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 10px 0; border-bottom: 1px solid var(--panel-border); gap: 12px; flex-wrap: wrap;
}
.worked-example__row:last-child { border-bottom: none; }
.worked-example__row span:first-child { color: var(--muted); }
.worked-example__row strong { color: var(--accent-text); font-size: 1.05rem; }

.steps-list { display: flex; flex-direction: column; gap: 16px; margin: 20px 0; }
.step {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--panel); border: 1px solid var(--panel-border); border-radius: 14px; padding: 18px;
}
.step__num {
  flex-shrink: 0; width: 36px; height: 36px; border-radius: 10px;
  background: var(--accent); color: var(--accent-ink); font-weight: 800;
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
}
.step__body h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 6px; }
.step__body p { color: #dde1ec; font-size: 0.95rem; }

.deliverables { display: flex; flex-direction: column; gap: 10px; margin: 20px 0; }
.deliverables li {
  display: flex; gap: 10px; align-items: flex-start;
  background: var(--panel); border: 1px solid var(--panel-border); border-radius: 12px; padding: 14px 16px;
  font-weight: 600;
}
.deliverables li::before { content: "✓"; color: var(--accent); font-weight: 800; flex-shrink: 0; }

.cta-block {
  text-align: center; padding: 36px 24px; border-radius: 18px;
  background: var(--panel); border: 1px solid var(--panel-border); margin: 20px 0;
}
.cta-block h2 { margin-bottom: 10px; }
.cta-block p { color: var(--muted); margin-bottom: 22px; }

.ps-note {
  font-style: italic; color: var(--muted); border-top: 1px solid var(--panel-border);
  padding-top: 20px; margin-top: 12px;
}

/* ==========================================================================
   OFFER PAGE (light theme)
   ========================================================================== */
.hero-offer { text-align: center; padding: 40px 0 24px; }
.pill-stack { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 22px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--panel-border); border-radius: 999px;
  padding: 7px 14px; font-size: 0.82rem; font-weight: 700; color: var(--muted);
  background: #fff;
}
.pill--accent { background: var(--accent2); color: #2a0d05; border-color: var(--accent2); font-weight: 800; }

.hero-offer h1 {
  font-size: clamp(1.85rem, 1.2rem + 3.2vw, 3.1rem);
  font-weight: 800; letter-spacing: -0.02em; line-height: 1.12;
  max-width: 780px; margin: 0 auto 16px;
  color: var(--ink);
}
.hero-offer h2.leverage-line {
  font-size: clamp(1.1rem, 1rem + 0.6vw, 1.5rem);
  font-weight: 700; color: #3a3a34; max-width: 620px; margin: 0 auto 16px;
}
.hero-offer .lede { font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem); color: var(--muted); max-width: 620px; margin: 0 auto 26px; }
.hero-offer .cta-row-offer { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.video-frame {
  border-radius: 16px; overflow: hidden; border: 1px solid var(--panel-border);
  background: #fff; box-shadow: 0 30px 60px -30px rgba(0,0,0,0.25);
  margin: 30px 0 20px; position: relative;
}
.video-frame__bar {
  display: flex; align-items: center; gap: 6px; padding: 10px 14px;
  background: #efeee9; border-bottom: 1px solid var(--panel-border);
}
.video-frame__dot { width: 10px; height: 10px; border-radius: 50%; background: #d7d5cd; }
.video-frame__label { margin-left: 10px; font-size: 0.78rem; color: var(--muted); font-weight: 600; }
.video-frame .ratio-box { aspect-ratio: 16 / 9; width: 100%; }
.video-frame video { width: 100%; height: 100%; object-fit: cover; }
.video-frame__overlap {
  position: absolute; right: 18px; bottom: -22px;
  background: #fff; border: 1px solid var(--panel-border); border-radius: 12px;
  padding: 12px 16px; box-shadow: 0 14px 30px rgba(0,0,0,0.14);
  font-size: 0.85rem; font-weight: 700; max-width: 220px;
  display: none;
}
@media (min-width: 640px) {
  .video-frame__overlap { display: block; }
}

.section-offer { padding: 48px 0; }
.section-offer--alt { background: var(--bg-alt); }
.section-offer__kicker {
  display: block; text-align: center; font-size: 0.78rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent2-text); margin-bottom: 10px;
}
.section-offer h2 {
  text-align: center; font-size: clamp(1.4rem, 1.2rem + 1vw, 2.05rem);
  font-weight: 800; letter-spacing: -0.01em; max-width: 680px; margin: 0 auto 30px; color: var(--ink);
}
.section-offer h2.align-left { text-align: left; margin-left: 0; }

.feature-list { display: flex; flex-direction: column; gap: 14px; max-width: 640px; margin: 0 auto; }
.feature-list li {
  display: flex; gap: 14px; align-items: flex-start;
  background: #fff; border: 1px solid var(--panel-border); border-radius: 12px; padding: 16px;
}
.feature-list__icon {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 8px; background: var(--bg-alt);
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
}
.feature-list h3 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.feature-list p { font-size: 0.92rem; color: var(--muted); }

.quote-block {
  max-width: 640px; margin: 0 auto; text-align: center; font-size: clamp(1.05rem, 1rem + 0.4vw, 1.3rem);
  font-weight: 600; line-height: 1.5; color: var(--ink);
}
.quote-block mark { background: #ffe27a; color: var(--ink); padding: 0 3px; }
.quote-block cite { display: block; margin-top: 14px; font-size: 0.85rem; font-weight: 600; color: var(--muted); font-style: normal; }

.workflow-steps { display: grid; grid-template-columns: 1fr; gap: 16px; }
.workflow-step {
  background: #fff; border: 1px solid var(--panel-border); border-radius: 14px; padding: 20px;
}
.workflow-step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 8px; background: var(--ink); color: #fff;
  font-weight: 800; font-size: 0.9rem; margin-bottom: 12px;
}
.workflow-step h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 6px; }
.workflow-step p { font-size: 0.93rem; color: var(--muted); }
.workflow-step--leverage { border-color: var(--ink); border-width: 1.5px; }

.pricing-spotlight {
  border: 2px solid var(--ink); border-radius: 20px; padding: 30px 24px;
  background: #fff; max-width: 560px; margin: 0 auto;
}
.pricing-spotlight__badge {
  display: inline-block; background: var(--ink); color: #fff; font-size: 0.75rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.06em; padding: 6px 12px; border-radius: 999px; margin-bottom: 16px;
}
.pricing-spotlight h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 6px; }
.pricing-spotlight__price { font-size: clamp(2rem, 1.6rem + 1.5vw, 2.6rem); font-weight: 800; margin-bottom: 4px; }
.pricing-spotlight__price span { font-size: 1rem; color: var(--muted); font-weight: 600; }
.pricing-spotlight__hours { color: var(--muted); font-size: 0.9rem; margin-bottom: 18px; }
.pricing-spotlight__list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; }
.pricing-spotlight__list li { display: flex; gap: 8px; font-size: 0.95rem; }
.pricing-spotlight__list li::before { content: "✓"; font-weight: 800; color: var(--ink); flex-shrink: 0; }

.addon-list {
  max-width: 560px; margin: 26px auto 0; display: flex; flex-direction: column; gap: 10px;
}
.addon-item {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  border: 1px solid var(--panel-border); border-radius: 12px; padding: 14px 16px; background: #fff;
}
.addon-item__name { font-weight: 700; font-size: 0.95rem; }
.addon-item__desc { font-size: 0.85rem; color: var(--muted); margin-top: 2px; }
.addon-item__price { font-weight: 800; font-size: 1.05rem; flex-shrink: 0; }

.perk-list {
  max-width: 640px; margin: 30px auto 0; display: grid; grid-template-columns: 1fr; gap: 12px;
}
.perk-list li {
  display: flex; gap: 10px; align-items: flex-start; font-weight: 600; font-size: 0.95rem;
  background: var(--bg-alt); border-radius: 10px; padding: 12px 14px;
}
.perk-list li::before { content: "★"; color: var(--accent2); flex-shrink: 0; }

.rate-table-wrap { max-width: 640px; margin: 0 auto; overflow-x: auto; border: 1px solid var(--ink); border-radius: 12px; }
.rate-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; min-width: 420px; }
.rate-table th, .rate-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--panel-border); }
.rate-table th { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); font-weight: 700; }
.rate-table tr:last-child td { border-bottom: none; }
.rate-table td.num { font-weight: 800; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.rate-note { max-width: 640px; margin: 16px auto 0; font-size: 0.88rem; color: var(--muted); }

.limits-block {
  max-width: 640px; margin: 0 auto; border: 1px dashed var(--panel-border); border-radius: 14px; padding: 22px 24px; background: #fff;
}
.limits-block h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 10px; }
.limits-block ul { display: flex; flex-direction: column; gap: 8px; }
.limits-block li { font-size: 0.93rem; color: var(--muted); padding-left: 16px; position: relative; }
.limits-block li::before { content: "–"; position: absolute; left: 0; }

.team-note {
  max-width: 640px; margin: 0 auto; background: var(--cream); border: 1px solid #ece5d4;
  border-radius: 16px; padding: 28px 26px; font-size: 0.98rem; color: #3a382f;
}
.team-note p + p { margin-top: 12px; }
.team-note__sign { margin-top: 18px; font-weight: 700; color: var(--ink); }

/* ==========================================================================
   LEAD FORM
   ========================================================================== */
.lead-form { max-width: 560px; margin: 0 auto; background: #fff; border: 1px solid var(--panel-border); border-radius: 16px; padding: 26px; }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-size: 0.88rem; font-weight: 700; color: var(--ink); }
.form-field input, .form-field textarea {
  min-height: 48px; padding: 12px 14px; border: 1.5px solid var(--panel-border); border-radius: 10px;
  font-size: 1rem; background: #fff; color: var(--ink); width: 100%;
}
.form-field textarea { min-height: 100px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus { border-color: var(--ink); }
.form-field.has-error input, .form-field.has-error textarea { border-color: #c1352b; }
.form-error-msg { color: #c1352b; font-size: 0.82rem; display: none; }
.form-field.has-error .form-error-msg { display: block; }

.form-consent { display: flex; align-items: flex-start; gap: 10px; margin-top: 4px; }
.form-consent input { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; }
.form-consent label { font-size: 0.88rem; color: var(--muted); }

.form-submit-row { margin-top: 6px; }
.form-note { font-size: 0.8rem; color: var(--muted); margin-top: 10px; text-align: center; }

.form-success {
  display: none; text-align: center; padding: 30px 20px; background: #f2f8f0; border: 1px solid #cfe6c8;
  border-radius: 14px; color: #2c5227; font-weight: 600;
}
.form-success.is-visible { display: block; }
.lead-form.is-submitted .form-grid,
.lead-form.is-submitted .form-consent,
.lead-form.is-submitted .form-submit-row,
.lead-form.is-submitted .form-note { display: none; }

/* small contact form variant reuses .lead-form/.form-grid */

/* ==========================================================================
   LEGAL / ABOUT PAGES
   ========================================================================== */
.legal-hero { padding: 40px 0 8px; }
.legal-hero h1 { font-size: clamp(1.7rem, 1.3rem + 2vw, 2.5rem); font-weight: 800; letter-spacing: -0.01em; }
.legal-hero p.legal-updated { color: var(--muted); margin-top: 10px; font-size: 0.9rem; }
.legal-body { padding: 20px 0 50px; }
.legal-body h2 {
  font-size: clamp(1.1rem, 1rem + 0.6vw, 1.4rem); font-weight: 800; margin: 30px 0 12px;
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body p { margin-bottom: 14px; color: var(--text); }
body.theme-dark .legal-body p, body.theme-dark .legal-body li { color: #dde1ec; }
.legal-body ul { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.legal-body li { padding-left: 18px; position: relative; }
.legal-body li::before { content: "•"; position: absolute; left: 0; }
.legal-body a { text-decoration: underline; }
.legal-body strong { font-weight: 700; }
.contact-card {
  border: 1px solid var(--panel-border); border-radius: 14px; padding: 22px; margin-bottom: 20px;
}
body.theme-light .contact-card { background: var(--bg-alt); }
body.theme-dark .contact-card { background: var(--panel); }
.contact-card p { margin-bottom: 6px; }
.contact-card a { text-decoration: underline; }

/* ==========================================================================
   DISCLAIMER + FOOTER (shared structure, themed colours)
   ========================================================================== */
.site-disclaimer { padding: 30px 0; border-top: 1px solid var(--panel-border); }
.site-disclaimer .wrap { font-size: 0.9rem; color: var(--muted); max-width: 896px; }
body.theme-light .site-disclaimer .wrap.wrap--offer { max-width: 1120px; }
.site-disclaimer a { text-decoration: underline; color: inherit; }

.site-footer { padding: 30px 0 40px; }
body.theme-dark .site-footer { background: var(--bg-alt); }
body.theme-light .site-footer { background: var(--bg-alt); border-top: 1px solid var(--panel-border); }

.site-footer__company {
  font-size: 0.85rem; color: var(--muted); line-height: 1.7; margin-bottom: 22px;
}
.site-footer__company strong { color: var(--text); display: block; margin-bottom: 4px; font-size: 0.95rem; }
body.theme-light .site-footer__company strong { color: var(--ink); }
.site-footer__company a { text-decoration: underline; }

.site-footer__inner { display: flex; flex-direction: column; gap: 26px; }
@media (min-width: 768px) {
  .site-footer__inner { flex-direction: row; justify-content: space-between; align-items: flex-start; gap: 40px; }
}

.site-footer__links {
  display: flex; flex-direction: column; gap: 10px;
}

/* split image + text section (offer page) */
.split-section { display: grid; grid-template-columns: 1fr; gap: 26px; align-items: center; }
.split-section__media .ratio-box { aspect-ratio: 4 / 3; border-radius: 16px; }
.split-section__media img { border-radius: 16px; }
@media (min-width: 768px) {
  .split-section { grid-template-columns: 1fr 1fr; gap: 44px; }
  .split-section--reverse .split-section__media { order: 2; }
}
.site-footer__links a {
  text-decoration: none; font-size: 0.9rem; font-weight: 600; color: var(--muted);
  display: inline-block; padding: 4px 0; min-height: 44px; display: flex; align-items: center;
}
.site-footer__links a:hover { color: var(--text); text-decoration: underline; }
body.theme-light .site-footer__links a:hover { color: var(--ink); }

.site-footer--center { text-align: center; }
.site-footer--center .site-footer__company { text-align: left; max-width: 420px; margin-left: auto; margin-right: auto; }
.site-footer--center .site-footer__links { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 6px 18px; }

/* ==========================================================================
   COOKIE BANNER
   ========================================================================== */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 999;
  background: #0a0d14; color: #f4f6fb; border-top: 1px solid #262d40;
  padding: 16px; display: none;
}
.cookie-banner.is-visible { display: block; }
body.theme-light .cookie-banner { background: #111111; color: #fff; border-top: 1px solid #2a2a2a; }
.cookie-banner__inner {
  max-width: 1120px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px;
}
.cookie-banner p { font-size: 0.85rem; color: #cfd3e0; margin: 0; }
.cookie-banner a { text-decoration: underline; color: #fff; }
.cookie-banner__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-banner__actions button {
  min-height: 44px; padding: 10px 18px; border-radius: 8px; border: 1.5px solid #454c60; background: transparent;
  color: #fff; font-weight: 700; font-size: 0.88rem;
}
.cookie-banner__actions button.accept { background: #3b6bf5; border-color: #3b6bf5; color: #071022; }
body.has-cookie-banner { padding-bottom: 132px; }

/* ==========================================================================
   RESPONSIVE — 480 / 768 / 1024
   ========================================================================== */
@media (min-width: 480px) {
  .figure-strip { grid-template-columns: repeat(2, 1fr); }
  .cookie-banner__inner { flex-direction: row; align-items: center; justify-content: space-between; }
  .cookie-banner p { max-width: 640px; }
}

@media (min-width: 768px) {
  .wrap { padding-left: 32px; padding-right: 32px; }
  .section { padding: 64px 0; }
  .section-offer { padding: 76px 0; }
  .figure-strip { grid-template-columns: repeat(4, 1fr); }
  .steps-list { gap: 18px; }
  .workflow-steps { grid-template-columns: repeat(2, 1fr); }
  .perk-list { grid-template-columns: repeat(2, 1fr); }
  .feature-list li { padding: 20px; }
  .hero-offer .cta-row-offer { flex-wrap: nowrap; }
  .addon-item { padding: 16px 20px; }
  body.has-cookie-banner { padding-bottom: 84px; }
}

@media (min-width: 1024px) {
  .section { padding: 88px 0; }
  .section-offer { padding: 96px 0; }
  .box { padding: 30px 32px; }
  .adv-hero { padding: 26px 0 44px; }
  .worked-example { padding: 32px; }
  .pricing-spotlight { padding: 40px; }
}
