/* blog-hero.css — collapsed landing hero for blog posts.
   Extracted from meta-ads-creative-safe-zones-2026-guide so the hero lives in
   ONE file instead of being duplicated per post.
   NOTE: @media blocks are kept intact — flattening them applies mobile
   overrides at desktop widths and collapses .hero-grid to one column. */

/* ── token fallback ──
   The hero relies on the paper design tokens. Most blog posts load
   paper-2026.css, but the older Tailwind-template posts do not. Scoping the
   tokens to the hero itself makes this file drop-in portable to ANY template
   without restyling the host page (paper-2026.css also restyles body, h1-h6,
   a, table and .card — importing it wholesale would change those pages). */
.peek, .peek-bar {
  --paper:#faf9f5;
  --paper-2:#f3f1ea;
  --paper-3:#ece9e0;
  --white:#fff;
  --ink:#1c1917;
  --ink-2:#57534e;
  --ink-3:#8a8580;
  --line:rgba(28,25,23,.09);
  --line-strong:rgba(28,25,23,.16);
  --violet:#6d28d9;
  --violet-deep:#5b21b6;
  --violet-soft:rgba(109,40,217,.07);
  --claude:#d97757;
  --shadow-ink-sm:3px 3px 0 rgba(28,25,23,.92);
  --shadow-float:0 2px 4px rgba(28,25,23,.04),0 24px 64px -16px rgba(28,25,23,.18);
  --bg-secondary:#f3f1ea;
  --bg-tertiary:#ece9e0;
  --text-primary:#1c1917;
  --text-secondary:#57534e;
  --text-tertiary:#8a8580;
  --card-bg:#fff;
  --card-border:rgba(28,25,23,.09);
  --nav-bg:rgba(250,249,245,.85);
  --nav-border:rgba(28,25,23,.09);
  --font-sans:'General Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  --font-display:'Bricolage Grotesque','General Sans',sans-serif;
  --font-mono:'JetBrains Mono',ui-monospace,'SF Mono',Menlo,monospace;
}


.wrap-wide { max-width: var(--max-w-wide); margin: 0 auto; padding: 0 24px; }
/* ════════ HERO — copy left · Claude screenshot right ════════ */ .hero { position: relative; padding: 96px 0 clamp(5rem, 6.5vw, 6.5rem); overflow-x: clip; }
.hero-glow { position: absolute; top: -160px; left: 62%; transform: translateX(-50%); width: 980px; height: 620px; background: radial-gradient(ellipse 50% 45% at 50% 38%, rgba(109, 40, 217, 0.07), transparent 70%), radial-gradient(ellipse 40% 38% at 64% 30%, rgba(217, 119, 87, 0.07), transparent 70%); pointer-events: none; }
/* full-bleed hero: copy column on the page grid, screenshot takes the remaining viewport width and bleeds off the right edge */ .hero-grid { position: relative; display: grid; grid-template-columns: minmax(340px, 440px) minmax(0, 1fr); gap: clamp(1.8rem, 2.5vw, 2.5rem); align-items: center; padding-left: var(--gutter); }
.hero-pill { position: relative; display: inline-flex; align-items: center; gap: 0.55rem; font-family: var(--font-mono); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.04em; color: var(--ink); background: var(--white); border: 1.5px solid var(--ink); border-radius: 100px; padding: 0.42rem 0.95rem; margin-bottom: 1.7rem; box-shadow: 2.5px 2.5px 0 rgba(28, 25, 23, 0.92); }
.hero-pill .ast { width: 13px; height: 13px; flex: 0 0 auto; animation: ast-spin 14s linear infinite; }
.hero-pill b { font-weight: 700; }
.hero-pill .muted { color: var(--ink-3); }
/* Launch variant of the hero pill — the announcement takes the pill slot during the Search Autopilot launch window (brand pill commented out in the HTML; swap back after). Same capsule, violet accent, clickable. */ .hero-pill-launch { color: var(--violet); border-color: var(--violet); box-shadow: 2.5px 2.5px 0 rgba(109, 40, 217, 0.5); text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.hero-pill-launch:hover { transform: translate(-1px, -1px); box-shadow: 3.5px 3.5px 0 rgba(109, 40, 217, 0.5); }
.hero-pill-launch .na { font-weight: 700; background: var(--violet); color: var(--white); border-radius: 100px; padding: 0.14rem 0.5rem; font-size: 0.6rem; letter-spacing: 0.06em; }
.hero h1, .hero .hero-title { position: relative; font-family: var(--font-display); font-size: clamp(2.3rem, 2.8vw, 3.1rem); font-weight: 750; font-variation-settings: 'opsz' 60; letter-spacing: -0.02em; line-height: 1.0; }
/* marker highlighter — Claude gets the terracotta sweep */ .hero h1 em, .hero .hero-title em { font-style: normal; color: var(--ink); background-image: linear-gradient(100deg, rgba(217, 119, 87, 0) 0.6%, rgba(217, 119, 87, 0.5) 3.5%, rgba(217, 119, 87, 0.38) 96%, rgba(217, 119, 87, 0) 99.4%); background-position: 0 0.14em; background-size: 100% 0.86em; background-repeat: no-repeat; padding: 0 0.12em; margin: 0 -0.12em; border-radius: 0.25em 0.4em 0.3em 0.45em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hero-lead { position: relative; font-size: clamp(1rem, 1.4vw, 1.12rem); color: var(--ink-2); line-height: 1.6; max-width: 500px; margin: 1.3rem 0 0; }
.hero-lead strong { color: var(--ink); font-weight: 600; }
.prompt-hint { position: absolute; right: -14px; top: -30px; font-family: var(--font-display); font-size: 0.88rem; font-weight: 640; color: var(--violet-deep); transform: rotate(2.5deg); white-space: nowrap; pointer-events: none; }
.hero-trust { font-size: 0.82rem; color: var(--ink-3); margin-top: 1.1rem; text-align: center; max-width: 450px; }
.hero-trust b { color: var(--ink-2); font-weight: 600; }
.hero-logos { margin-top: 2.2rem; }
.hero-logos { max-width: 450px; }
.hero-logos-label { font-family: var(--font-mono); font-size: 0.62rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 0.9rem; text-align: center; }
.hero-logos-row { display: flex; align-items: center; justify-content: center; gap: clamp(1rem, 2vw, 1.6rem); flex-wrap: wrap; }
.hero-logos-row img { height: 30px; width: auto; opacity: 0.95; transition: opacity 0.25s ease, transform 0.25s ease; }
.hero-logos-row img:hover { opacity: 1; transform: translateY(-2px); }
/* right: product screenshot in marker frame, bleeding off-screen right */ .hero-shot { position: relative; }
.hero-shot-frame { background: var(--white); border: 1.5px solid var(--ink); border-right: none; border-radius: 18px 0 0 18px; padding: 8px 0 8px 8px; box-shadow: -6px 6px 0 rgba(28, 25, 23, 0.92); overflow: hidden; width: calc(100% + 2px); }
.hero-shot-frame img, .hero-shot-frame video { border-radius: 11px 0 0 11px; width: 100%; }
.hero-annot { position: absolute; bottom: -58px; left: 4px; pointer-events: none; z-index: 2; }
.hero-annot text { font-family: var(--font-display); font-size: 15px; font-weight: 640; fill: var(--violet-deep); }
.mock-row .arr { margin-left: auto; color: var(--ink-3); }
.mock-row.hl .arr { color: var(--violet); font-weight: 700; }
/* ── Hero auth CTA: email magic-link + Google ── */ .hero-cta { position:relative; display:flex; align-items:center; gap:0.5rem; margin-top:2rem; max-width:450px; padding:0.5rem 0.5rem 0.5rem 1.15rem; background:var(--white); border:1.5px solid var(--ink); border-radius:16px; box-shadow:5px 5px 0 rgba(28,25,23,.92); transition:transform .15s var(--ease), box-shadow .15s var(--ease); }
.hero-cta:focus-within { transform:translate(-2px,-2px); box-shadow:7px 7px 0 rgba(28,25,23,.92); }
.hero-email { flex:1; min-width:0; border:none; outline:none; background:transparent; font-family:var(--font-sans); font-size:0.98rem; color:var(--ink); }
.hero-email::placeholder { color:var(--ink-3); }
.hero-send { flex:0 0 auto; display:inline-flex; align-items:center; gap:0.35rem; border:none; cursor:pointer; background:var(--violet); color:#fff; font-family:var(--font-sans); font-weight:600; font-size:0.92rem; padding:0.62rem 1.05rem; border-radius:11px; transition:background .15s ease; white-space:nowrap; }
.hero-send:hover { background:var(--violet-deep); }
.hero-send:disabled { opacity:.7; cursor:default; }
.hero-send .arr { font-weight:700; }
.hero-status { max-width:450px; margin-top:0.7rem; font-size:0.85rem; line-height:1.4; }
.hero-status:empty { display:none; }
.hero-status.ok { color:var(--green); }
.hero-status.err { color:var(--red); }
.hero-or { display:flex; align-items:center; gap:0.8rem; max-width:450px; margin:1.3rem 0 0; color:var(--ink-3); font-size:0.78rem; font-family:var(--font-mono); }
.hero-or::before, .hero-or::after { content:''; flex:1; height:1px; background:var(--line-strong); }
.hero-google-row { max-width:450px; display:flex; justify-content:center; margin-top:1.3rem; }
.hero-google { display:inline-flex; align-items:center; justify-content:center; width:52px; height:52px; background:var(--white); border:1.5px solid var(--line-strong); border-radius:50%; text-decoration:none; transition:border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.hero-google:hover { border-color:var(--ink); box-shadow:var(--shadow-ink-sm); transform:translateY(-1px); }
.g-ico { flex:0 0 auto; }
.peek { position:relative;max-height:330px;overflow:hidden;transition:max-height .55s cubic-bezier(.4,0,.2,1); }
.peek.open { max-height:2200px; }
.peek .hero { padding-bottom:0; }
.peek-fade { position:absolute;left:0;right:0;bottom:0;height:90px;pointer-events:none; background:linear-gradient(to bottom,rgba(251,250,247,0) 0%,var(--paper,#fbfaf7) 88%);transition:opacity .35s; }
.peek.open .peek-fade { opacity:0; }
.peek-bar { display:flex;justify-content:center;margin:-0.6rem 0 2.2rem;position:relative;z-index:3; }
.peek-btn { display:inline-flex;align-items:center;gap:.55rem;padding:.62rem 1.35rem;font:inherit;font-size:.9rem; font-weight:650;color:var(--ink,#17161a);background:var(--white,#fff);border:1.5px solid var(--line-strong,#e2dfd8); border-radius:999px;cursor:pointer;box-shadow:0 2px 10px rgba(0,0,0,.05);transition:transform .15s,border-color .15s,box-shadow .15s; }
.peek-btn:hover { transform:translateY(-1px);border-color:#8b5cf6;box-shadow:0 4px 16px rgba(139,92,246,.16); }
.peek-chev { display:inline-block;transition:transform .35s;font-size:1rem;line-height:1; }
.peek-btn[aria-expanded="true"] .peek-chev { transform:rotate(180deg); }

/* ── responsive ── */
@media (prefers-reduced-motion: reduce) { .hero-pill .ast { animation: none; } }

@media (max-width: 680px) { .prompt-hint { display: none; } }

@media (max-width: 960px) { .hero-annot { display: none; } }

@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 2.6rem; padding: 0 24px; } .hero-shot-frame { width: 100%; border-right: 1.5px solid var(--ink); border-radius: 18px; padding: 8px; box-shadow: var(--shadow-ink); } .hero-shot-frame img, .hero-shot-frame video { border-radius: 11px; } .steps-grid { grid-template-columns: 1fr; } .steps-stage { position: relative; top: 0; height: auto; margin-top: 0.5rem; } .stage-label { display: none; } .stage-panel { position: relative; inset: auto; padding: 1.25rem; opacity: 1; transform: none; pointer-events: auto; display: none; } .stage-panel.is-active { display: flex; } .step-body { max-height: none; opacity: 1; } .step-title { color: var(--ink); } .showcase-grid { grid-template-columns: 1fr; } .team-cap { gap: 0.5rem 1.2rem; } .wiz-card { grid-template-columns: 1fr; } .wiz-shot { border-left: none; border-top: 1px solid var(--line); min-height: 320px; } .vs-row > div { padding: 0.8rem 0.9rem; font-size: 0.84rem; } .quotes-grid { grid-template-columns: repeat(2, 1fr); } .faq-grid { grid-template-columns: 1fr; gap: 1.5rem; } .faq-side { position: relative; top: 0; } }

@media (max-width: 680px) { .nav-links, .nav-signin { display: none; } .hero { padding-top: 92px; } .price-grid { grid-template-columns: 1fr; } .sc-metrics { grid-template-columns: repeat(2, 1fr); } .quotes-grid { grid-template-columns: 1fr; } .proof-inner { grid-template-columns: repeat(2, 1fr); } .proof-item { border-left: none; border-top: 1px solid var(--line); } .proof-item:nth-child(-n+2) { border-top: none; } .proof-item:nth-child(even) { border-left: 1px solid var(--line); } .vs-row { grid-template-columns: 1fr; } .vs-head { display: none; } .vs-row > div { display: block; padding: 0.6rem 1.2rem; } .vs-row > div:first-child { padding: 0.95rem 1.2rem 0.35rem; } .vs-ours { border-left: none; border-right: none; } .vs-ours::before, .vs-theirs::before { display: block; font-family: var(--font-mono); font-size: 0.6rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.25rem; } .vs-ours::before { content: '1ClickReport'; color: var(--violet); } .vs-theirs::before { content: 'Black-box autopilots'; color: var(--ink-3); } .vs-ours .chk { margin-right: 0.3rem; } }

@media (max-width:680px){ .hero-cta, .hero-status, .hero-or { max-width:none; } }

@media(max-width:860px){ .peek{max-height:300px;} }

/* ── article spacing ──
   .article-hero carries padding-top:112px, sized for sitting directly under the
   nav. With the peek hero above it that reads as a dead gap. Scoped with :has()
   so the other ~180 posts (no hero) are untouched. A sibling combinator does NOT
   work here: .peek-bar sits in <body>, .article-hero is inside div.wrap-wide. */
body:has(.peek-bar) .article-hero { padding-top: 2.5rem; }
body:has(.peek-bar) .hero { padding-top: 5.5rem; }
/* older Tailwind-template posts use header.pt-32 instead of .article-hero */
body:has(.peek-bar) header.pt-32 { padding-top: 2.5rem; }
