/* =========================================================
   Shared stylesheet for both design families.
   Tailwind (CDN) handles spacing/grid/flex utilities inline.
   This file supplies palette, type rhythm, and component
   shapes that Tailwind utility classes alone can't express.
   ========================================================= */

:root{
  /* Publication (advertorial / about) — dark, modern-grotesk */
  --pub-bg: #0a0c14;
  --pub-bg-alt: #10131e;
  --pub-card: #141827;
  --pub-card-border: #262c40;
  --pub-text: #eef0f8;
  --pub-text-dim: #9aa1ba;
  --pub-accent: #4169ff;
  --pub-accent-hover: #6484ff;
  --pub-accent-ink: #06070d;

  /* Offer — light, premium SaaS */
  --offer-bg-a: #eef1fc;
  --offer-bg-b: #e7f6f0;
  --offer-surface: #ffffff;
  --offer-ink: #11131c;
  --offer-muted: #5b6172;
  --offer-accent: #4338ca;
  --offer-accent-hover: #362cae;
  --offer-mint: #1fae7a;
  --offer-mint-bg: #e5f8f0;
  --offer-border: #dfe3f0;
}

*{box-sizing:border-box;}
html{-webkit-text-size-adjust:100%;}
body{margin:0; overflow-x:hidden; font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; -webkit-font-smoothing:antialiased;}
img, video{max-width:100%; height:auto; display:block;}
a{text-decoration:none;}
button{font-family:inherit;}

.container{width:100%; max-width:1120px; margin-inline:auto; padding-inline:16px;}
@media (min-width:768px){ .container{padding-inline:32px;} }

/* ---------- Publication theme ---------- */
body.theme-pub{ background:var(--pub-bg); color:var(--pub-text); }
.pub-section{ padding-block:48px; }
@media (min-width:768px){ .pub-section{ padding-block:80px; } }
.pub-section--alt{ background:var(--pub-bg-alt); }

.pub-header{ background:rgba(10,12,20,0.9); backdrop-filter:blur(6px); border-bottom:1px solid var(--pub-card-border); position:sticky; top:0; z-index:40; }
.pub-logo{ font-weight:800; letter-spacing:-0.01em; color:var(--pub-text); font-size:1.05rem; }
.pub-logo__mark{ display:inline-flex; align-items:center; justify-content:center; width:28px; height:28px; border-radius:8px; background:var(--pub-accent); color:var(--pub-accent-ink); font-weight:900; margin-right:8px; }
.pub-nav-toggle{ width:44px; height:44px; display:inline-flex; align-items:center; justify-content:center; border-radius:10px; border:1px solid var(--pub-card-border); background:transparent; color:var(--pub-text); }
.pub-nav-toggle:hover{ background:var(--pub-card); }
.pub-mobile-nav{ border-top:1px solid var(--pub-card-border); background:var(--pub-bg); }
.pub-mobile-nav a{ display:block; padding:14px 16px; color:var(--pub-text); font-weight:600; min-height:44px; }
.pub-mobile-nav a:hover{ background:var(--pub-card); }

.ribbon-pub{ background:var(--pub-bg-alt); border-bottom:1px solid var(--pub-card-border); }
.ribbon-pub__badge{ display:inline-flex; align-items:center; gap:6px; font-size:0.72rem; font-weight:800; letter-spacing:0.08em; text-transform:uppercase; color:#ffcf6b; background:rgba(255,207,107,0.1); border:1px solid rgba(255,207,107,0.35); padding:6px 10px; border-radius:999px; }

.pub-h1{ font-weight:800; letter-spacing:-0.02em; line-height:1.05; color:var(--pub-text); font-size: clamp(1.9rem, 5.4vw, 3.4rem); }
.pub-h2{ font-weight:800; letter-spacing:-0.015em; line-height:1.15; color:var(--pub-text); font-size: clamp(1.5rem, 3.6vw, 2.25rem); }
.pub-h3{ font-weight:700; color:var(--pub-text); font-size: clamp(1.15rem, 2.4vw, 1.5rem); }
.pub-lede{ color:var(--pub-text-dim); font-size: clamp(1rem, 1.6vw, 1.2rem); line-height:1.6; }
.pub-body{ color:#c9cde0; font-size:1.05rem; line-height:1.75; }
.pub-body strong{ color:var(--pub-text); }

.pub-pill{ display:inline-flex; align-items:center; gap:8px; background:rgba(65,105,255,0.12); border:1px solid rgba(65,105,255,0.35); color:#b7c4ff; font-weight:600; font-size:0.85rem; padding:8px 14px; border-radius:999px; }

.btn-pub-primary{ display:inline-flex; align-items:center; justify-content:center; gap:8px; background:var(--pub-accent); color:var(--pub-accent-ink); font-weight:800; padding:14px 24px; border-radius:12px; min-height:48px; transition:background .18s ease, transform .18s ease; box-shadow:0 10px 30px -12px rgba(65,105,255,0.6); }
.btn-pub-primary:hover{ background:var(--pub-accent-hover); transform:translateY(-1px); }
.btn-pub-primary:focus-visible{ outline:3px solid #b7c4ff; outline-offset:2px; }
.btn-pub-ghost{ display:inline-flex; align-items:center; justify-content:center; gap:8px; background:transparent; color:var(--pub-text); border:1px solid var(--pub-card-border); font-weight:700; padding:13px 22px; border-radius:12px; min-height:48px; transition:border-color .18s ease, background .18s ease; }
.btn-pub-ghost:hover{ border-color:var(--pub-accent); background:var(--pub-card); }
.btn-pub-ghost:focus-visible, .btn-pub-primary:focus-visible{ outline:3px solid #b7c4ff; outline-offset:2px; }

.pub-card{ background:var(--pub-card); border:1px solid var(--pub-card-border); border-radius:18px; }
.pub-callout{ background:linear-gradient(160deg, rgba(65,105,255,0.14), rgba(65,105,255,0.03)); border:1px solid rgba(65,105,255,0.4); border-radius:20px; padding:28px; }
.pub-callout__eyebrow{ color:#b7c4ff; font-weight:800; letter-spacing:0.06em; text-transform:uppercase; font-size:0.78rem; }

.stat-band-pub{ background:#f5f6fb; color:#11131c; border-radius:20px; padding:28px; }
.stat-band-pub .stat-num{ font-weight:800; font-size:clamp(1.7rem,4vw,2.4rem); color:var(--pub-accent); letter-spacing:-0.02em; }
.stat-band-pub .stat-label{ color:#4b5266; font-size:0.92rem; }

.table-pub-wrap{ overflow-x:auto; border-radius:16px; border:1px solid var(--pub-card-border); background:#f5f6fb; }
.table-pub{ width:100%; min-width:480px; border-collapse:collapse; color:#181b26; }
.table-pub caption{ text-align:left; padding:14px 18px 0; font-weight:800; color:#181b26; }
.table-pub th, .table-pub td{ text-align:left; padding:14px 18px; font-size:0.95rem; border-bottom:1px solid #e2e4ee; }
.table-pub th{ font-size:0.78rem; text-transform:uppercase; letter-spacing:0.06em; color:#5b6172; background:#eceefb; }
.table-pub tr:last-child td{ border-bottom:none; }
.table-pub td.num{ font-weight:800; color:var(--pub-accent); }

.qa-block{ border-left:3px solid var(--pub-accent); padding-left:18px; }
.qa-q{ font-weight:800; color:#c9cde0; font-size:0.78rem; letter-spacing:0.08em; text-transform:uppercase; margin-bottom:6px; }

.takeaway-box{ background:var(--pub-card); border:1px solid var(--pub-card-border); border-left:4px solid var(--pub-accent); border-radius:14px; padding:22px; }
.takeaway-box__title{ font-weight:800; color:var(--pub-text); font-size:0.85rem; text-transform:uppercase; letter-spacing:0.06em; margin-bottom:10px; }
.takeaway-box ul{ margin:0; padding-left:1.2em; color:#c9cde0; }
.takeaway-box li{ margin-bottom:8px; line-height:1.55; }

.cta-band-pub{ background:linear-gradient(135deg, #17265e, #0a0c14); border:1px solid var(--pub-card-border); border-radius:22px; padding:32px 24px; text-align:center; }

.offer-list-pub{ list-style:none; margin:0; padding:0; display:grid; gap:12px; }
.offer-list-pub li{ display:flex; gap:12px; align-items:flex-start; background:var(--pub-card); border:1px solid var(--pub-card-border); border-radius:14px; padding:16px 18px; color:#dfe1ee; }
.offer-list-pub li::before{ content:"✓"; flex:none; width:26px; height:26px; border-radius:999px; background:rgba(65,105,255,0.18); color:#8fa3ff; display:inline-flex; align-items:center; justify-content:center; font-weight:800; font-size:0.85rem; }

.media-frame{ position:relative; width:100%; border-radius:20px; overflow:hidden; background:#000; }
.media-frame--16-9{ aspect-ratio:16/9; }
.media-frame--4-3{ aspect-ratio:4/3; }
.media-frame img, .media-frame video{ width:100%; height:100%; object-fit:cover; }
.media-caption{ font-size:0.85rem; color:var(--pub-text-dim); margin-top:10px; }

/* ---------- Offer theme ---------- */
body.theme-offer{ background:linear-gradient(180deg, var(--offer-bg-a) 0%, #f6f8fd 340px, #ffffff 720px); color:var(--offer-ink); }
.offer-section{ padding-block:48px; }
@media (min-width:768px){ .offer-section{ padding-block:88px; } }
.offer-section--white{ background:#ffffff; }
.offer-section--tint{ background:var(--offer-bg-b); }

.offer-header{ position:sticky; top:0; z-index:40; background:rgba(255,255,255,0.85); backdrop-filter:blur(8px); border-bottom:1px solid var(--offer-border); }
.offer-logo{ font-weight:800; font-size:1.05rem; color:var(--offer-ink); letter-spacing:-0.01em; }
.offer-logo__mark{ display:inline-flex; align-items:center; justify-content:center; width:30px; height:30px; border-radius:9px; background:var(--offer-accent); color:#fff; margin-right:8px; font-weight:900; }
.offer-nav a{ font-weight:600; color:var(--offer-ink); font-size:0.95rem; padding:10px 4px; }
.offer-nav a:hover{ color:var(--offer-accent); }
.offer-nav-toggle{ width:44px; height:44px; display:inline-flex; align-items:center; justify-content:center; border-radius:10px; border:1px solid var(--offer-border); background:#fff; }
.offer-mobile-nav{ background:#fff; border-top:1px solid var(--offer-border); }
.offer-mobile-nav a{ display:block; padding:14px 18px; font-weight:600; color:var(--offer-ink); min-height:44px; }
.offer-mobile-nav a:hover{ background:var(--offer-bg-a); }

.btn-offer-primary{ display:inline-flex; align-items:center; justify-content:center; gap:8px; background:var(--offer-accent); color:#fff; font-weight:700; padding:14px 26px; border-radius:999px; min-height:48px; transition:background .18s ease, transform .18s ease; box-shadow:0 14px 28px -14px rgba(67,56,202,0.55); }
.btn-offer-primary:hover{ background:var(--offer-accent-hover); transform:translateY(-1px); }
.btn-offer-outline{ display:inline-flex; align-items:center; justify-content:center; gap:8px; background:#fff; color:var(--offer-ink); border:1.5px solid var(--offer-border); font-weight:700; padding:12.5px 24px; border-radius:999px; min-height:48px; }
.btn-offer-outline:hover{ border-color:var(--offer-accent); color:var(--offer-accent); }
.btn-offer-primary:focus-visible, .btn-offer-outline:focus-visible{ outline:3px solid #b6b0f5; outline-offset:2px; }

.offer-h1{ font-weight:800; letter-spacing:-0.03em; line-height:1.05; color:var(--offer-ink); font-size: clamp(1.9rem, 5.6vw, 3.6rem); }
.offer-h2{ font-weight:800; letter-spacing:-0.02em; line-height:1.15; color:var(--offer-ink); font-size: clamp(1.5rem, 3.6vw, 2.15rem); }
.offer-h3{ font-weight:700; color:var(--offer-ink); font-size: clamp(1.1rem, 2.2vw, 1.35rem); }
.offer-lede{ color:var(--offer-muted); font-size: clamp(1rem, 1.7vw, 1.2rem); line-height:1.65; }
.offer-body{ color:#333a49; font-size:1.02rem; line-height:1.7; }
.offer-kicker{ display:inline-flex; align-items:center; gap:8px; font-weight:800; text-transform:uppercase; letter-spacing:0.08em; font-size:0.76rem; color:var(--offer-accent); background:#eeecfb; padding:7px 13px; border-radius:999px; }

.offer-badge{ display:inline-flex; align-items:center; gap:6px; background:#fff; border:1px solid var(--offer-border); color:var(--offer-ink); font-weight:600; font-size:0.85rem; padding:8px 14px; border-radius:999px; box-shadow:0 4px 14px -8px rgba(17,19,28,0.25); }

.offer-hero-card{ background:#fff; border:1px solid var(--offer-border); border-radius:24px; box-shadow:0 30px 60px -30px rgba(30,32,70,0.35); overflow:hidden; }
.offer-overlap-card{ background:var(--offer-mint-bg); border:1px solid #bfe9d6; border-radius:24px; padding:26px; margin-top:-56px; position:relative; z-index:10; box-shadow:0 24px 48px -28px rgba(20,80,60,0.35); }
@media (min-width:768px){ .offer-overlap-card{ margin-top:-72px; padding:34px; } }

.offer-card{ background:#fff; border:1px solid var(--offer-border); border-radius:20px; }

.split-two-col{ display:grid; gap:24px; }
@media (min-width:900px){ .split-two-col{ grid-template-columns:1fr 1fr; gap:40px; } }

.rate-checklist{ list-style:none; margin:0; padding:0; display:grid; gap:10px; }
.rate-checklist li{ display:flex; justify-content:space-between; gap:12px; align-items:baseline; background:#fff; border:1px solid var(--offer-border); border-radius:12px; padding:14px 16px; }
.rate-checklist .rc-label{ color:#333a49; font-weight:600; }
.rate-checklist .rc-fee{ color:var(--offer-mint); font-weight:800; white-space:nowrap; }

.price-card{ background:#fff; border:1.5px solid var(--offer-border); border-radius:24px; padding:28px; }
.price-card--highlight{ border-color:var(--offer-mint); box-shadow:0 24px 50px -26px rgba(31,174,122,0.45); position:relative; }
.price-card__tag{ position:absolute; top:-14px; left:24px; background:var(--offer-mint); color:#fff; font-weight:800; font-size:0.75rem; letter-spacing:0.05em; text-transform:uppercase; padding:6px 12px; border-radius:999px; }
.price-card__price{ font-weight:800; font-size:clamp(1.8rem,4vw,2.4rem); color:var(--offer-ink); letter-spacing:-0.02em; }
.price-card ul{ list-style:none; margin:0; padding:0; display:grid; gap:10px; }
.price-card li{ display:flex; gap:10px; align-items:flex-start; color:#333a49; }
.price-card li::before{ content:"✓"; flex:none; width:22px; height:22px; border-radius:999px; background:var(--offer-mint-bg); color:var(--offer-mint); font-weight:800; display:inline-flex; align-items:center; justify-content:center; font-size:0.78rem; }

.addon-card{ background:#fff; border:1px solid var(--offer-border); border-radius:18px; padding:22px; display:flex; flex-direction:column; gap:10px; }
.addon-card__price{ font-weight:800; color:var(--offer-accent); font-size:1.15rem; }

.perk-stack{ list-style:none; margin:0; padding:0; display:grid; gap:12px; }
.perk-stack li{ display:flex; gap:12px; align-items:flex-start; background:#fff; border:1px solid var(--offer-border); border-radius:14px; padding:16px 18px; color:#242938; font-weight:600; }
.perk-stack li::before{ content:"★"; flex:none; color:var(--offer-mint); font-size:1rem; }

.limits-box{ background:#fff7ed; border:1px solid #fbdba3; border-radius:18px; padding:24px; }
.limits-box ul{ margin:0; padding-left:1.15em; color:#5b4b28; }
.limits-box li{ margin-bottom:8px; line-height:1.55; }

.lead-form{ background:#fff; border:1px solid var(--offer-border); border-radius:24px; padding:24px; }
@media (min-width:768px){ .lead-form{ padding:36px; } }
.form-row{ display:grid; gap:16px; }
@media (min-width:640px){ .form-row.two-col{ grid-template-columns:1fr 1fr; } }
.form-label{ display:block; font-weight:700; color:var(--offer-ink); font-size:0.92rem; margin-bottom:6px; }
.form-input, .form-textarea{ width:100%; font-size:16px; padding:13px 14px; border:1.5px solid var(--offer-border); border-radius:12px; background:#fbfbfe; color:var(--offer-ink); min-height:48px; transition:border-color .15s ease, box-shadow .15s ease; }
.form-textarea{ min-height:110px; resize:vertical; }
.form-input:focus, .form-textarea:focus{ outline:none; border-color:var(--offer-accent); box-shadow:0 0 0 4px rgba(67,56,202,0.15); }
.form-error{ color:#c0392b; font-size:0.85rem; margin-top:6px; min-height:1.1em; }
.form-consent{ display:flex; gap:10px; align-items:flex-start; }
.form-consent input{ margin-top:4px; width:20px; height:20px; flex:none; }
.form-success{ background:var(--offer-mint-bg); border:1px solid #bfe9d6; color:#0f5132; border-radius:16px; padding:20px; font-weight:600; }

.media-frame-offer{ position:relative; width:100%; border-radius:22px; overflow:hidden; background:#0d1220; box-shadow:0 30px 60px -30px rgba(20,20,60,0.4); }
.media-frame-offer--16-9{ aspect-ratio:16/9; }
.media-frame-offer img, .media-frame-offer video{ width:100%; height:100%; object-fit:cover; }

/* ---------- Shared: disclaimer + footer (both themes) ---------- */
.site-disclaimer{ display:block; padding:22px 16px; font-size:0.9rem; line-height:1.6; }
.theme-pub .site-disclaimer{ background:var(--pub-bg-alt); color:var(--pub-text-dim); border-top:1px solid var(--pub-card-border); }
.theme-offer .site-disclaimer{ background:#f6f7fb; color:#4a4f5e; border-top:1px solid var(--offer-border); }
.site-disclaimer a{ text-decoration:underline; font-weight:700; }
.theme-pub .site-disclaimer a{ color:#b7c4ff; }
.theme-offer .site-disclaimer a{ color:var(--offer-accent); }

.site-footer{ padding:32px 16px 40px; }
.theme-pub .site-footer{ background:var(--pub-bg); color:var(--pub-text-dim); }
.theme-offer .site-footer{ background:#11131c; color:#c6c9d6; }
.site-footer__inner{ max-width:1120px; margin-inline:auto; display:grid; gap:20px; }
.site-footer__company{ font-size:0.88rem; line-height:1.7; white-space:pre-line; }
.site-footer__links{ display:flex; flex-wrap:wrap; gap:10px 18px; }
.site-footer__links a{ font-size:0.88rem; font-weight:600; min-height:44px; display:inline-flex; align-items:center; }
.theme-pub .site-footer__links a{ color:#c9cde0; }
.theme-pub .site-footer__links a:hover{ color:#fff; }
.theme-offer .site-footer__links a{ color:#dfe1ee; }
.theme-offer .site-footer__links a:hover{ color:#fff; }
.site-footer__bottom{ font-size:0.78rem; opacity:0.7; padding-top:16px; border-top:1px solid rgba(255,255,255,0.08); }

/* ---------- Legal page prose (offer-light theme reused) ---------- */
.legal-prose h2{ font-weight:800; color:var(--offer-ink); font-size:clamp(1.2rem,2.6vw,1.5rem); margin-top:2em; margin-bottom:0.6em; }
.legal-prose h1{ font-weight:800; color:var(--offer-ink); }
.legal-prose p{ color:#333a49; line-height:1.75; margin-bottom:1em; }
.legal-prose ul{ color:#333a49; line-height:1.75; padding-left:1.3em; margin-bottom:1em; }
.legal-prose li{ margin-bottom:0.4em; }

/* ---------- Utility: skip link ---------- */
.skip-link{ position:absolute; left:-9999px; top:auto; background:#fff; color:#000; padding:10px 16px; border-radius:8px; z-index:100; }
.skip-link:focus{ left:16px; top:16px; }

[x-cloak]{ display:none !important; }

/* ---------- Cookie consent banner (shared, both themes) ---------- */
.has-cookie-banner{ padding-bottom:136px; }
@media (min-width:640px){ .has-cookie-banner{ padding-bottom:88px; } }
.cookie-banner{ position:fixed; left:0; right:0; bottom:0; z-index:60; background:#0b0d14; color:#eef0f8; padding:16px; box-shadow:0 -10px 30px -10px rgba(0,0,0,0.5); border-top:1px solid #262c40; }
.cookie-banner__inner{ max-width:1120px; margin-inline:auto; display:flex; flex-wrap:wrap; gap:14px; align-items:center; justify-content:space-between; }
.cookie-banner__inner p{ margin:0; font-size:0.85rem; line-height:1.5; flex:1 1 260px; color:#c9cde0; }
.cookie-banner__inner a{ color:#b7c4ff; text-decoration:underline; font-weight:700; }
.cookie-banner__actions{ display:flex; gap:10px; flex-wrap:wrap; }
.cookie-banner__actions button{ min-height:44px; padding:10px 18px; border-radius:10px; font-weight:700; font-size:0.85rem; cursor:pointer; border:none; }
.cookie-banner__btn-accept{ background:#4169ff; color:#06070d; }
.cookie-banner__btn-accept:hover{ background:#6484ff; }
.cookie-banner__btn-decline{ background:transparent; color:#eef0f8; border:1px solid #384061; }
.cookie-banner__btn-decline:hover{ background:#141827; }
