/* ==========================================================================
   OnPagePilot — JV page design tokens + page styles (single CSS file)
   ==========================================================================
   SECTION 1 is the LOCKED TOKEN BLOCK. Values were extracted from the live
   onpagepilot.com CSS (base.css/brand.css) on 2026-07-13 plus the product's
   topical-map node palette sampled from real footage. Do not restyle ad hoc:
   change a token here and the whole page (and future pages) follow.

   CONTENT TOKENS: pricing and launch dates are NOT locked yet. Every number
   and date below is a {{PLACEHOLDER}}. When Brian locks them, replace the
   placeholder strings in SECTION 1b ONLY — the page text updates everywhere.
   ========================================================================== */

/* ---------- 1a. Brand tokens (LOCKED — mirrors live site) ---------- */
:root {
  --navy: #1B2A49;
  --navy-deep: #131F37;
  --green: #15803d;          /* primary CTA (live site's WCAG-passing green) */
  --green-2: #28B463;        /* hover */
  --green-brand: #2ECC71;    /* logo/footer green — dark-bg use only */
  --orange: #F39C12;         /* secondary accent, sparing */
  --bg: #FFFFFF;
  --bg-soft: #F3F6FD;
  --bg-mute: #F8FAFC;
  --line: #E5E7EB;
  --text: #111827;
  --text-2: #6B7280;
  --radius: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(15,23,42,.06);
  --shadow-md: 0 8px 24px rgba(15,23,42,.08);
  --shadow-lg: 0 24px 56px rgba(15,23,42,.14), 0 4px 12px rgba(15,23,42,.06);
  --max-w: 1200px;
  --max-text: 680px;
  --space-section: clamp(2.75rem, 5vw, 4.75rem);
  /* topical-map node palette (sampled from product footage) */
  --map-seed: #45C457;
  --map-competitor: #E09E01;
  --map-topic: #8061F5;
  --map-cluster: #39B6DE;
  --map-intent: #E04696;
}

/* ---------- 1b. CONTENT TOKENS (NOT LOCKED — swap here once confirmed) ---- */
:root {
  --tok-launch-date: "{{LAUNCH_DATE}}";
  --tok-cart-close: "Sunday, 23 August 2026, 23:59 CEST";
  --tok-price-starter-launch: "{{PRICE_STARTER_LAUNCH}}";
  --tok-price-starter-std: "{{PRICE_STARTER_STD}}";
  --tok-price-growth-launch: "{{PRICE_GROWTH_LAUNCH}}";
  --tok-price-growth-std: "{{PRICE_GROWTH_STD}}";
  --tok-price-agency-launch: "{{PRICE_AGENCY_LAUNCH}}";
  --tok-price-agency-std: "{{PRICE_AGENCY_STD}}";
  --tok-commission: "25% lifetime recurring";
  --tok-cookie-days: "{{COOKIE_DAYS}}";
}
/* token spans — <span class="tok" data-tok="..."></span> renders the value */
.tok::after { content: "?"; color: inherit; }
.tok[data-tok="launch-date"]::after          { content: var(--tok-launch-date); }
.tok[data-tok="cart-close"]::after           { content: var(--tok-cart-close); }
.tok[data-tok="price-starter-launch"]::after { content: var(--tok-price-starter-launch); }
.tok[data-tok="price-starter-std"]::after    { content: var(--tok-price-starter-std); }
.tok[data-tok="price-growth-launch"]::after  { content: var(--tok-price-growth-launch); }
.tok[data-tok="price-growth-std"]::after     { content: var(--tok-price-growth-std); }
.tok[data-tok="price-agency-launch"]::after  { content: var(--tok-price-agency-launch); }
.tok[data-tok="price-agency-std"]::after     { content: var(--tok-price-agency-std); }
.tok[data-tok="commission"]::after           { content: var(--tok-commission); }
.tok[data-tok="cookie-days"]::after          { content: var(--tok-cookie-days); }

/* ---------- 2. Fonts (self-contained, relative paths) ---------- */
@font-face { font-family:'Montserrat'; font-style:normal; font-weight:700;
  src:url(../fonts/v31-JTUSjIg1_i6t8kCHKm459Wlhyw.woff2) format('woff2'); }
@font-face { font-family:'Montserrat'; font-style:normal; font-weight:800;
  src:url(../fonts/v31-JTUSjIg1_i6t8kCHKm459Wdhyzbi.woff2) format('woff2'); }
@font-face { font-family:'Poppins'; font-style:normal; font-weight:400;
  src:url(../fonts/v24-pxiEyp8kv8JHgFVrJJfecg.woff2) format('woff2'); }
@font-face { font-family:'Poppins'; font-style:normal; font-weight:500;
  src:url(../fonts/v24-pxiEyp8kv8JHgFVrJJnecmNE.woff2) format('woff2'); }
@font-face { font-family:'Poppins'; font-style:normal; font-weight:600;
  src:url(../fonts/v24-pxiEyp8kv8JHgFVrJJbecmNE.woff2) format('woff2'); }

/* ---------- 3. Base ---------- */
* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { font-family:'Poppins',sans-serif; font-size:16px; line-height:1.65;
  color:var(--text); background:var(--bg); -webkit-font-smoothing:antialiased; }
h1,h2,h3 { font-family:'Montserrat',sans-serif; font-weight:800; color:var(--navy);
  line-height:1.18; letter-spacing:-.01em; }
h1 { font-size:clamp(2rem,4.4vw,3.1rem); }
h2 { font-size:clamp(1.5rem,3vw,2.1rem); margin-bottom:.7rem; }
h3 { font-size:1.15rem; font-weight:700; margin-bottom:.35rem; }
p  { max-width:var(--max-text); }
a  { color:var(--green); }
.wrap { max-width:var(--max-w); margin:0 auto; padding:0 clamp(1rem,3vw,2rem); }
section { padding:var(--space-section) 0; }
section:nth-of-type(even) { background:var(--bg-soft); }
.eyebrow { font-family:'Poppins',sans-serif; font-weight:600; font-size:.78rem;
  letter-spacing:.14em; text-transform:uppercase; color:var(--green); margin-bottom:.6rem; }
.muted { color:var(--text-2); }
.small { font-size:.85rem; }

/* ---------- 4. Header (mirrors live onpagepilot.com navbar) / hero ---------- */
header.site { padding:.8rem 0; background:var(--bg); box-shadow:0 .125rem .25rem rgba(0,0,0,.075); }
header.site .nav-row { display:flex; align-items:center; justify-content:space-between; gap:1rem; flex-wrap:wrap; }
header.site .brand img { display:block; width:114px; height:40px; }
.site-nav { display:flex; align-items:center; gap:1.4rem; flex-wrap:wrap; }
.site-nav a { font-size:.92rem; color:var(--text); text-decoration:none; }
.site-nav a:hover { color:var(--green); }
.site-nav .nav-divider { width:1px; height:22px; background:var(--line); display:inline-block; }
.site-nav .nav-accent { color:var(--green); font-weight:500; }
.site-nav .btn-getstarted { background:#0f7a3d; color:#fff; font-weight:600; padding:.55rem 1.1rem;
  border-radius:8px; box-shadow:0 1px 2px rgba(46,204,113,.25), 0 6px 16px rgba(46,204,113,.18); }
.site-nav .btn-getstarted:hover { background:var(--green-2); color:#fff; }
.hero { padding:calc(var(--space-section)*1.05) 0; background:var(--bg); }
.hero .wrap { display:grid; grid-template-columns:1fr .95fr; gap:3rem; align-items:center; }
.hero p.lead { font-size:1.06rem; margin:1.1rem 0 0; }
.hero .cta-row { margin-top:1.6rem; display:flex; gap:.9rem; flex-wrap:wrap; }
.hero ul.features { margin:.6rem 0 0 1.15rem; font-size:.92rem; color:var(--text);
  max-width:var(--max-text); }
.hero ul.features li { margin-bottom:.3rem; }
.hero ul.features li::marker { color:var(--green); }
.btn { display:inline-block; font-family:'Poppins',sans-serif; font-weight:600;
  font-size:1rem; border-radius:8px; padding:.8rem 1.5rem; text-decoration:none;
  transition:background .15s; }
.btn-green { background:var(--green); color:#fff; }
.btn-green:hover { background:var(--green-2); }
.btn-ghost { border:1.5px solid var(--navy); color:var(--navy); }
.btn-ghost:hover { background:var(--bg-soft); }
.hero-video { border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow-lg);
  border:1px solid var(--line); background:#fff; }
.hero-video video, .hero-video img { display:block; width:100%; height:auto; }
.hero-video figcaption { font-size:.8rem; color:var(--text-2); padding:.55rem .9rem;
  border-top:1px solid var(--line); }
.map-legend { display:flex; gap:1rem; flex-wrap:wrap; margin-top:.9rem; font-size:.8rem;
  color:var(--text-2); }
.map-legend span::before { content:""; display:inline-block; width:.62em; height:.62em;
  border-radius:50%; margin-right:.4em; }
.map-legend .l-seed::before { background:var(--map-seed); }
.map-legend .l-comp::before { background:var(--map-competitor); }
.map-legend .l-topic::before { background:var(--map-topic); }
.map-legend .l-cluster::before { background:var(--map-cluster); }
.map-legend .l-intent::before { background:var(--map-intent); }

/* ---------- 5. Cards, tables, grids ---------- */
.card { background:var(--bg); border:1px solid var(--line); border-radius:var(--radius-lg);
  padding:1.4rem 1.5rem; box-shadow:var(--shadow-sm); }
.grid-2 { display:grid; grid-template-columns:1fr 1fr; gap:1.4rem; margin-top:1.6rem; }
.grid-3 { display:grid; grid-template-columns:repeat(3,1fr); gap:1.4rem; margin-top:1.6rem; }
table { width:100%; border-collapse:collapse; margin-top:1.2rem; background:var(--bg);
  border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; font-size:.95rem; }
th, td { text-align:left; padding:.7rem .9rem; border-bottom:1px solid var(--line); }
th { font-family:'Poppins',sans-serif; font-weight:600; font-size:.8rem;
  text-transform:uppercase; letter-spacing:.08em; color:var(--navy); background:var(--bg-mute); }
tr:last-child td { border-bottom:none; }
td strong { color:var(--navy); }
.note { border-left:3px solid var(--orange); background:var(--bg-mute);
  padding:.8rem 1.1rem; border-radius:0 var(--radius) var(--radius) 0; margin-top:1.2rem;
  font-size:.92rem; max-width:var(--max-text); }

/* ---------- 6. Swipe emails ---------- */
details.swipe { background:var(--bg); border:1px solid var(--line);
  border-radius:var(--radius); margin-top:1rem; overflow:hidden; }
details.swipe summary { cursor:pointer; padding:1rem 1.2rem; font-weight:600;
  color:var(--navy); font-size:.98rem; list-style:none; display:flex;
  justify-content:space-between; align-items:center; gap:1rem; }
details.swipe summary::after { content:"+"; font-size:1.3rem; color:var(--green); }
details.swipe[open] summary::after { content:"–"; }
details.swipe pre { white-space:pre-wrap; font-family:inherit; font-size:.92rem;
  padding:0 1.2rem 1.2rem; color:var(--text); border-top:1px dashed var(--line);
  padding-top:1rem; margin:0 1.2rem 1.2rem; background:var(--bg-mute);
  border-radius:var(--radius); padding:1rem 1.1rem; }
.dl-row { display:flex; gap:.8rem; flex-wrap:wrap; margin-top:1.1rem; }
.dl-row a { font-size:.85rem; }

/* ---------- 7. Banner gallery ---------- */
.banner-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr));
  gap:1.4rem; margin-top:1.6rem; align-items:start; }
.banner-card { background:var(--bg); border:1px solid var(--line);
  border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow-sm); }
.banner-card .prev { height:220px; display:flex; align-items:center; justify-content:center;
  background:var(--bg-mute); border-bottom:1px solid var(--line); padding:.8rem; }
.banner-card .prev img, .banner-card .prev video { max-width:100%; max-height:100%;
  width:auto; height:auto; display:block; box-shadow:var(--shadow-sm); }
.banner-card .meta { padding: .8rem 1rem; font-size:.85rem; }
.banner-card .meta strong { color:var(--navy); display:block; }
.zip-band { margin-top:2.2rem; background:var(--navy); border-radius:var(--radius-lg);
  padding:1.8rem 2rem; display:flex; align-items:center; justify-content:space-between;
  gap:1.5rem; flex-wrap:wrap; }
.zip-band h3 { color:#fff; margin:0; }
.zip-band p { color:#C7CEDD; font-size:.9rem; margin:.2rem 0 0; }

/* ---------- 8. Social posts ---------- */
.post { background:var(--bg); border:1px solid var(--line); border-radius:var(--radius);
  padding:1.1rem 1.2rem; margin-top:1rem; font-size:.93rem; white-space:pre-wrap; }
.post header { font-weight:600; color:var(--navy); font-size:.85rem; margin-bottom:.5rem;
  display:flex; justify-content:space-between; align-items:center; }
button.copy { font:inherit; font-size:.78rem; font-weight:600; color:var(--green);
  background:none; border:1px solid var(--green); border-radius:6px; padding:.25rem .7rem;
  cursor:pointer; }
button.copy:hover { background:var(--bg-soft); }

/* ---------- 9. Rules / contact ---------- */
ul.rules { margin:1.2rem 0 0 1.2rem; max-width:var(--max-text); }
ul.rules li { margin-bottom:.55rem; }
.contact-card { display:flex; gap:1.4rem; align-items:center; margin-top:1.4rem; }
.contact-card img { width:72px; height:72px; border-radius:50%; object-fit:cover; }

/* ---------- 10. Footer (reproduces the live onpagepilot.com footer) ---------- */
footer.site { background:var(--navy); color:#cccccc; padding:2.6rem 0 1.4rem; margin-top:0; }
.f-cols { display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr 1fr; gap:2.2rem;
  align-items:start; }
.f-brand img { width:39px; height:43px; display:block; }
.f-brand .f-tag { color:#cccccc; font-size:.88rem; margin:1rem 0 1.2rem; max-width:280px; }
.f-brand .f-tag strong { color:#fff; display:block; font-size:1.05rem; margin-bottom:.3rem; }
.f-social { display:flex; gap:.9rem; }
.f-social a { color:#cccccc; }
.f-social a:hover { color:var(--green-brand); }
.f-block h4 { color:var(--green-brand); font-family:'Poppins',sans-serif; font-weight:700;
  text-transform:uppercase; font-size:.82rem; letter-spacing:.08em; margin-bottom:.7rem; }
.f-block a { color:#cccccc; text-decoration:none; font-size:.88rem; display:block;
  margin-bottom:.45rem; }
.f-block a.f-lead { font-size:1rem; }
.f-block a:hover { color:var(--green-brand); }
footer.site .rule { border-top:2px solid var(--orange); margin:1.8rem 0 1rem; }
footer.site .copyright { color:var(--green-brand); text-align:center; font-size:1.02rem; }
@media (max-width: 900px) { .f-cols { grid-template-columns:1fr 1fr; } }

/* ---------- 11. Responsive ---------- */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns:1fr; }
  .grid-2, .grid-3 { grid-template-columns:1fr; }
}
