/* CreatorPilot v2 — creator gear site. Style 1: clean minimal (white, whitespace, indigo). Vanilla CSS, mobile-first, no frameworks. */
:root{
  --indigo:#4f46e5;
  --indigo-dark:#4338ca;
  --indigo-soft:#eef0ff;
  --ink:#111827;
  --muted:#6b7280;
  --bg:#ffffff;
  --bg-soft:#f9fafb;
  --border:#e5e7eb;
  --gold:#f5a623;
  --green:#15803d;
  --green-bg:#f0fdf4;
  --green-border:#bbf7d0;
  --red:#b91c1c;
  --red-bg:#fef2f2;
  --red-border:#fecaca;
  --radius:14px;
  --shadow:0 4px 18px rgba(17,24,39,.06);
  --font:-apple-system,BlinkMacSystemFont,"Segoe UI",Inter,Roboto,Helvetica,Arial,sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:var(--font);color:var(--ink);background:var(--bg);line-height:1.65;-webkit-font-smoothing:antialiased}
img{max-width:100%}
a{color:var(--indigo);text-decoration:none}
a:hover{text-decoration:underline}
.container{max-width:1120px;margin:0 auto;padding:0 20px}

/* Header */
.site-header{background:#fff;border-bottom:1px solid var(--border);position:sticky;top:0;z-index:50}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 20px;max-width:1200px;margin:0 auto}
.logo{display:flex;align-items:center;gap:10px;font-weight:800;font-size:1.3rem;color:var(--ink);letter-spacing:-.4px}
.logo:hover{text-decoration:none}
.logo-mark{width:34px;height:34px;border-radius:10px;background:var(--indigo);color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:1.1rem;flex-shrink:0}
.site-nav{display:flex;gap:24px;align-items:center;padding:4px 0;min-width:0}
.site-nav a{color:var(--ink);font-weight:600;font-size:.92rem}
.site-nav a:hover{color:var(--indigo);text-decoration:none}
.nav-item{position:relative}
.nav-item>a{display:inline-flex;align-items:center;gap:5px;padding:6px 2px}
.nav-caret{font-size:.62rem;line-height:1;transition:transform .15s ease}
.nav-item.open .nav-caret{transform:rotate(180deg)}
.drop-menu{position:absolute;top:calc(100% + 8px);left:0;min-width:248px;background:#fff;border:1px solid var(--border);border-radius:14px;box-shadow:0 18px 44px rgba(15,18,40,.16);padding:8px;display:none;flex-direction:column;gap:2px;z-index:80}
.drop-menu::before{content:"";position:absolute;top:-10px;left:0;right:0;height:10px}
.drop-menu a{font-weight:500;font-size:.92rem;padding:9px 12px;border-radius:9px;white-space:nowrap}
.drop-menu a:hover{background:#f3f4fd;color:var(--indigo)}
.drop-menu a.drop-head{font-weight:700;color:var(--indigo);border-bottom:1px solid var(--border);border-radius:9px 9px 0 0;margin-bottom:4px;padding-bottom:11px}
.nav-item:hover .drop-menu,.nav-item:focus-within .drop-menu,.nav-item.open .drop-menu{display:flex}
.nav-item:last-child .drop-menu{left:auto;right:0}
.drop-menu a.drop-btn{color:#fff;text-align:center;font-weight:700;margin-top:6px}
.drop-menu a.drop-btn:hover{background:var(--indigo-dark);color:#fff}
.nav-single{display:inline-flex;align-items:center;padding:6px 2px}
.header-cta{flex-shrink:0}
@media(max-width:1180px){
  .header-inner{flex-wrap:wrap}
  .site-nav{order:3;flex-basis:100%;gap:16px;flex-wrap:wrap}
  .drop-menu{min-width:216px}
}

/* Buttons */
.btn{display:inline-block;padding:12px 24px;border-radius:10px;font-weight:700;font-size:.98rem;cursor:pointer;border:0;transition:transform .12s ease,box-shadow .12s ease;text-align:center}
.btn:hover{text-decoration:none;transform:translateY(-1px)}
.btn-primary{background:var(--indigo);color:#fff;box-shadow:0 6px 16px rgba(79,70,229,.3)}
.btn-primary:hover{background:var(--indigo-dark);color:#fff}
.btn-outline{background:#fff;color:var(--indigo);border:2px solid var(--indigo)}
.btn-outline:hover{background:var(--indigo-soft)}
.btn-sm{padding:9px 18px;font-size:.9rem}
.btn-amazon{background:var(--indigo);color:#fff}
.btn-amazon:hover{background:var(--indigo-dark);color:#fff}

/* Hero */
.hero{background:#fff;padding:72px 0 56px;text-align:center}
.hero .eyebrow{display:inline-block;background:var(--indigo-soft);color:var(--indigo-dark);padding:7px 16px;border-radius:999px;font-size:.8rem;font-weight:700;letter-spacing:.4px;margin-bottom:20px}
.hero h1{font-size:2.4rem;line-height:1.15;margin:0 0 18px;letter-spacing:-1px;max-width:760px;margin-left:auto;margin-right:auto}
.hero p.sub{font-size:1.15rem;color:var(--muted);max-width:640px;margin:0 auto 32px}
@media(min-width:760px){.hero h1{font-size:3.4rem}.hero{padding:100px 0 72px}}
.hero-search{display:flex;gap:0;max-width:560px;margin:0 auto 14px;box-shadow:var(--shadow);border:1.5px solid var(--border);border-radius:12px;overflow:hidden;background:#fff}
.hero-search input{flex:1;border:0;padding:16px 20px;font-size:1rem}
.hero-search input:focus{outline:none}
.hero-search button{background:var(--indigo);color:#fff;border:0;padding:0 28px;font-weight:700;font-size:1rem;cursor:pointer}
.hero-search button:hover{background:var(--indigo-dark)}
.hero-note{font-size:.85rem;color:var(--muted)}
.trust-row{margin-top:28px;font-size:.9rem;color:var(--muted)}

/* Sections */
.section{padding:60px 0}
.section-soft{background:var(--bg-soft)}
.section-head{text-align:center;margin-bottom:40px}
.section-title{font-size:1.9rem;margin:0 0 12px;letter-spacing:-.5px}
.section-sub{color:var(--muted);margin:0 auto;max-width:680px;font-size:1.05rem}

/* Category tiles */
.cat-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
@media(min-width:760px){.cat-grid{grid-template-columns:1fr 1fr 1fr}}
.cat-tile{background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:28px 22px;box-shadow:var(--shadow);transition:transform .12s ease,box-shadow .12s ease;display:block;color:var(--ink)}
.cat-tile:hover{text-decoration:none;transform:translateY(-3px);box-shadow:0 10px 28px rgba(17,24,39,.1)}
.cat-tile .tile-icon{font-size:2rem;margin-bottom:12px}
.cat-tile h3{margin:0 0 6px;font-size:1.15rem;letter-spacing:-.2px}
.cat-tile p{margin:0;color:var(--muted);font-size:.92rem}

/* Product cards */
.card-grid{display:grid;grid-template-columns:1fr;gap:20px}
@media(min-width:640px){.card-grid{grid-template-columns:1fr 1fr}}
@media(min-width:1000px){.card-grid.cols-3{grid-template-columns:1fr 1fr 1fr}.card-grid.cols-4{grid-template-columns:1fr 1fr 1fr 1fr}}
@media(min-width:640px) and (max-width:999px){.card-grid.cols-4{grid-template-columns:1fr 1fr}}
.product-card{background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:24px;box-shadow:var(--shadow);display:flex;flex-direction:column;transition:transform .12s ease}
.product-card:hover{transform:translateY(-3px)}
.product-icon{width:56px;height:56px;border-radius:14px;background:var(--indigo-soft);display:flex;align-items:center;justify-content:center;font-size:1.7rem;margin-bottom:14px}
.product-card h3{margin:0 0 6px;font-size:1.15rem;letter-spacing:-.2px}
.product-card h3 a{color:var(--ink)}
.product-card h3 a:hover{color:var(--indigo)}
.product-card .cat-tag{font-size:.78rem;font-weight:700;color:var(--indigo-dark);text-transform:uppercase;letter-spacing:.5px;margin-bottom:8px}
.product-card p.blurb{color:var(--muted);font-size:.93rem;margin:0 0 14px;flex:1}
.stars{color:var(--gold);font-size:1.05rem;letter-spacing:2px;margin-bottom:4px}
.stars .star-empty{color:#e5e7eb}
.rating-line{font-size:.88rem;color:var(--muted);margin-bottom:16px}
.rating-line strong{color:var(--ink)}
.bundle-note{font-size:.78rem;color:var(--muted)}
.card-cta{margin-top:auto}
.disclosure-note{font-size:.78rem;color:var(--muted);margin-top:10px;line-height:1.5}

/* Guide strip */
.guide-strip{display:grid;grid-template-columns:1fr;gap:16px}
@media(min-width:760px){.guide-strip{grid-template-columns:1fr 1fr 1fr}}
.guide-card{background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:28px;box-shadow:var(--shadow);display:block;color:var(--ink)}
.guide-card:hover{text-decoration:none;border-color:var(--indigo)}
.guide-card .budget{display:inline-block;background:var(--indigo);color:#fff;font-weight:800;font-size:.85rem;padding:5px 14px;border-radius:999px;margin-bottom:12px}
.guide-card h3{margin:0 0 8px;font-size:1.2rem}
.guide-card p{margin:0;color:var(--muted);font-size:.93rem}

/* Comparison teaser / tables */
.compare-table{width:100%;border-collapse:collapse;margin:24px 0;font-size:.95rem;background:#fff;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow)}
.compare-table th,.compare-table td{border:1px solid var(--border);padding:13px 16px;text-align:left;vertical-align:top}
.compare-table thead th{background:var(--indigo);color:#fff;border-color:var(--indigo)}
.compare-table tbody th{background:var(--bg-soft);color:var(--ink);width:32%}
.winner{font-weight:800;color:var(--green)}

/* Newsletter */
.newsletter{background:#fff;border:1px solid var(--border);border-radius:18px;padding:44px 30px;box-shadow:var(--shadow);text-align:center;max-width:680px;margin:0 auto}
.newsletter h2{margin:0 0 10px;letter-spacing:-.4px}
.newsletter p{color:var(--muted);margin:0 0 24px}
.newsletter-form{display:flex;gap:10px;flex-wrap:wrap;justify-content:center}
.newsletter-form input[type=email]{flex:1;min-width:220px;max-width:340px}

/* Forms */
input[type=text],input[type=email],input[type=url],select,textarea{font:inherit;padding:12px 14px;border:1.5px solid var(--border);border-radius:10px;background:#fff;color:var(--ink)}
input:focus,select:focus,textarea:focus{outline:2px solid var(--indigo);border-color:var(--indigo)}
label{font-weight:700;display:block;margin:0 0 8px}
.field{margin-bottom:18px}
textarea{min-height:130px;resize:vertical}

/* Article / review pages */
.article{max-width:780px;margin:0 auto}
.article h1{font-size:2.1rem;letter-spacing:-.6px;line-height:1.25;margin:0 0 12px}
.article h2{font-size:1.5rem;margin:44px 0 14px;letter-spacing:-.3px;padding-top:12px;border-top:1px solid var(--border)}
.article h3{font-size:1.18rem;margin:30px 0 10px}
.article .meta{color:var(--muted);font-size:.92rem;margin-bottom:8px}
.article ul,.article ol{padding-left:22px}
.article li{margin-bottom:8px}
.article .lede{font-size:1.12rem;color:#374151}
.toc{background:var(--bg-soft);border:1px solid var(--border);border-radius:var(--radius);padding:20px 24px;margin:28px 0}
.toc strong{display:block;margin-bottom:8px}
.toc ol{margin:0;padding-left:20px}
.toc li{margin-bottom:4px}
.verdict-box{background:var(--indigo-soft);border:1px solid #c7cdfc;border-radius:var(--radius);padding:24px;margin:36px 0}
.verdict-box h3{margin-top:0;color:var(--indigo-dark)}
.pros-cons{display:grid;grid-template-columns:1fr;gap:16px;margin:28px 0}
@media(min-width:640px){.pros-cons{grid-template-columns:1fr 1fr}}
.pros,.cons{border-radius:var(--radius);padding:22px}
.pros{background:var(--green-bg);border:1px solid var(--green-border)}
.cons{background:var(--red-bg);border:1px solid var(--red-border)}
.pros h3{color:var(--green);margin-top:0}
.cons h3{color:var(--red);margin-top:0}
.pros ul,.cons ul{padding-left:20px;margin:0}
.rating-badge{display:inline-flex;align-items:center;gap:10px;background:var(--ink);color:#fff;font-weight:800;border-radius:12px;padding:10px 18px;font-size:1.15rem;margin:14px 0}
.rating-badge .stars{margin:0}
.spec-table{width:100%;border-collapse:collapse;margin:20px 0;font-size:.95rem}
.spec-table th,.spec-table td{border:1px solid var(--border);padding:11px 14px;text-align:left}
.spec-table th{background:var(--bg-soft);width:38%}
.cta-box{background:#fff;border:2px solid var(--indigo);border-radius:var(--radius);padding:28px;text-align:center;margin:36px 0;box-shadow:var(--shadow)}
.cta-box h3{margin:0 0 8px}
.cta-box p{color:var(--muted);margin:0 0 18px;font-size:.95rem}
.faq{margin:28px 0}
.faq details{border:1px solid var(--border);border-radius:10px;padding:14px 18px;margin-bottom:10px;background:#fff}
.faq summary{font-weight:700;cursor:pointer}
.breadcrumb{font-size:.85rem;color:var(--muted);margin-bottom:18px}
.breadcrumb a{color:var(--muted)}

/* Deals */
.deal-card{border:2px solid var(--green-border);background:#fff;border-radius:var(--radius);padding:26px;box-shadow:var(--shadow);display:flex;flex-direction:column}
.deal-tag{display:inline-block;background:var(--green);color:#fff;font-size:.75rem;font-weight:800;letter-spacing:.5px;text-transform:uppercase;padding:5px 12px;border-radius:999px;margin-bottom:12px;align-self:flex-start}

/* Quiz */
.quiz-progress{background:var(--bg-soft);border-radius:999px;height:10px;overflow:hidden;margin:8px 0 18px}
.quiz-progress-bar{height:100%;width:0;background:var(--indigo);border-radius:999px;transition:width .3s ease}
.quiz-step{font-size:.85rem;color:var(--muted);margin:0 0 6px}
.quiz h2{font-size:1.5rem;margin:0 0 20px;letter-spacing:-.3px}
.quiz-opts{display:grid;gap:12px}
.quiz-opt{display:block;width:100%;text-align:left;background:#fff;border:2px solid var(--border);border-radius:12px;padding:16px 20px;font:inherit;font-weight:600;color:var(--ink);cursor:pointer;transition:border-color .12s ease,background .12s ease}
.quiz-opt:hover{border-color:var(--indigo);background:var(--indigo-soft)}
.quiz-result h2{font-size:1.7rem;margin:0 0 12px;letter-spacing:-.4px}

/* Responsive video embed */
.video-embed{position:relative;padding-bottom:56.25%;height:0;overflow:hidden;border-radius:var(--radius);margin:24px 0;box-shadow:var(--shadow);background:#000}
.video-embed iframe{position:absolute;top:0;left:0;width:100%;height:100%;border:0}

/* Footer */
.site-footer{background:var(--bg-soft);border-top:1px solid var(--border);padding:52px 0 30px;margin-top:0}
.footer-inner{display:grid;grid-template-columns:1fr;gap:28px}
@media(min-width:700px){.footer-inner{grid-template-columns:2fr 1fr 1fr 1fr}}
.site-footer h4{margin:0 0 14px;font-size:.95rem;text-transform:uppercase;letter-spacing:.5px;color:var(--ink)}
.site-footer p{color:var(--muted);font-size:.92rem}
.footer-links{list-style:none;padding:0;margin:0}
.footer-links li{margin-bottom:9px}
.footer-links a{color:var(--muted);font-size:.92rem}
.footer-links a:hover{color:var(--indigo)}
.footer-bottom{border-top:1px solid var(--border);margin-top:32px;padding-top:22px;font-size:.83rem;color:var(--muted);display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px}
.footer-bottom p{margin:0 0 8px;max-width:720px}

/* Article hero image */
.article-hero{margin:0 0 28px}
.article-hero img{width:100%;height:auto;display:block;border-radius:12px;box-shadow:var(--shadow)}
.article-hero figcaption{text-align:center;font-size:.82rem;color:var(--muted);margin-top:8px}

/* Author box (below articles) + author profile */
.author-box{border-top:1px solid var(--border);padding:44px 0;background:#fff}
.author-box-inner{display:flex;gap:22px;align-items:flex-start;max-width:860px;margin:0 auto}
.author-photo{width:110px;height:110px;border-radius:50%;object-fit:cover;flex-shrink:0;box-shadow:var(--shadow);border:3px solid var(--bg-soft)}
.author-box h3{margin:0 0 8px;font-size:1.25rem;letter-spacing:-.3px}
.author-box h3 a{color:inherit}
.author-box p{color:var(--muted);margin:0 0 14px;font-size:.95rem;line-height:1.6}
.cert-badges{display:flex;flex-wrap:wrap;gap:8px}
.cert-badges a{display:inline-block;font-size:.8rem;font-weight:600;color:var(--indigo);background:#eef0ff;border:1px solid #dfe3ff;border-radius:999px;padding:6px 14px;text-decoration:none}
.cert-badges a:hover{background:var(--indigo);color:#fff}
@media(max-width:600px){.author-box-inner{flex-direction:column;align-items:center;text-align:center}.author-photo{width:96px;height:96px}}
.author-profile{display:flex;gap:26px;align-items:flex-start;margin:26px 0}
.author-photo-lg{width:150px;height:150px;border-radius:50%;object-fit:cover;flex-shrink:0;box-shadow:var(--shadow);border:4px solid var(--bg-soft)}
.cert-list{list-style:none;padding:0;margin:0 0 24px}
.cert-list li{padding:10px 0;border-bottom:1px solid var(--border);font-size:.95rem}
.cert-list li:last-child{border-bottom:0}
.cert-list .cert-issuer{color:var(--muted);font-size:.85rem}
@media(max-width:600px){.author-profile{flex-direction:column;align-items:center;text-align:center}}

/* ── Trending now (homepage featured article, rendered by build_latest.py) ── */
.trending{background:#eef0ff;padding:52px 0;border-bottom:1px solid var(--border)}
.trending-card{display:grid;grid-template-columns:1fr;background:#fff;border:1px solid var(--border);border-radius:20px;overflow:hidden;box-shadow:var(--shadow)}
@media(min-width:860px){.trending-card{grid-template-columns:1.05fr 1fr}}
.trending-img{display:block;min-height:220px;background:#e4e7ff}
.trending-img img{width:100%;height:100%;object-fit:cover;display:block}
@media(min-width:860px){.trending-img{min-height:300px}}
.trending-body{padding:34px 34px 38px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}
.trending-kicker{display:flex;align-items:center;gap:10px;font-weight:800;font-size:.78rem;letter-spacing:1.4px;text-transform:uppercase;color:var(--indigo-dark);margin-bottom:14px}
.trending-kicker .cat-tag{margin:0}
.pulse{width:10px;height:10px;border-radius:50%;background:#ef4444;flex-shrink:0;animation:pulse 1.8s infinite}
@keyframes pulse{0%{box-shadow:0 0 0 0 rgba(239,68,68,.45)}70%{box-shadow:0 0 0 10px rgba(239,68,68,0)}100%{box-shadow:0 0 0 0 rgba(239,68,68,0)}}
@media (prefers-reduced-motion:reduce){.pulse{animation:none}}
.trending-body h2{font-size:clamp(1.45rem,3vw,2.05rem);letter-spacing:-.5px;margin:0 0 12px;line-height:1.2}
.trending-body h2 a{color:var(--ink)}
.trending-body h2 a:hover{color:var(--indigo)}
.trending-body p{color:var(--muted);margin:0 0 22px}

/* ── Studio services banner (injected site-wide before </main>) ── */
.studio-banner{background:var(--indigo);color:#fff;padding:48px 0}
.studio-banner-inner{display:flex;align-items:center;justify-content:space-between;gap:28px;flex-wrap:wrap}
.studio-banner-eyebrow{display:inline-block;font-size:.76rem;font-weight:800;letter-spacing:1.6px;text-transform:uppercase;color:#c7d2fe;margin-bottom:10px}
.studio-banner h2{color:#fff;font-size:clamp(1.35rem,2.6vw,1.85rem);letter-spacing:-.5px;margin:0 0 10px;line-height:1.25}
.studio-banner p{color:#e0e7ff;margin:0;max-width:640px}
.btn-white{background:#fff;color:var(--indigo-dark);flex-shrink:0}
.btn-white:hover{background:#eef0ff;transform:translateY(-1px)}
@media(max-width:700px){.studio-banner-inner{flex-direction:column;align-items:flex-start}}

/* ── Certification badges with logos ── */
.cert-badges a{display:inline-flex;align-items:center;gap:8px}
.cert-logo{width:20px;height:20px;flex-shrink:0}
.cert-logo-wide{width:auto;height:20px}
.cert-badges a:hover .cert-logo{filter:brightness(0) invert(1)}

/* ── About the author page ── */
.author-hero{display:flex;gap:36px;align-items:center;margin:4px 0 44px;flex-wrap:wrap}
.author-hero img{width:190px;height:190px;border-radius:50%;object-fit:cover;border:5px solid var(--bg-soft);box-shadow:var(--shadow);flex-shrink:0}
.author-hero h1{margin:0 0 6px;letter-spacing:-1px}
.author-hero .meta{color:var(--muted);font-weight:600;margin:0 0 16px}
.cert-group{margin:0 0 36px}
.cert-group-head{display:flex;align-items:center;gap:12px;margin:0 0 16px}
.cert-group-head img{width:30px;height:30px;flex-shrink:0}
.cert-group-head h3{margin:0;font-size:1.15rem}
.cert-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:12px}
.cert-card{display:flex;align-items:center;gap:14px;background:#fff;border:1px solid var(--border);border-radius:14px;padding:14px 16px}
.cert-card>img{width:38px;height:38px;flex-shrink:0}
.cert-card .cert-name{font-weight:700;font-size:.95rem;line-height:1.3}
.cert-card .cert-issuer{font-size:.82rem;color:var(--muted);margin-top:2px}
.author-more{margin:14px 0 0;font-size:.92rem;font-weight:600}
@media(max-width:640px){.author-hero{gap:22px}.author-hero img{width:130px;height:130px}}



/* Quick answer (AEO) + topic clusters — added 2026-10-24 */
.quick-answer{background:#eef2ff;border:1px solid #c7d2fe;border-left:4px solid #4f46e5;border-radius:10px;padding:14px 18px;margin:18px 0}
.quick-answer .qa-title{font-size:.8rem;letter-spacing:.08em;text-transform:uppercase;color:#4338ca;margin:0 0 6px;font-weight:700}
.quick-answer p{margin:0}
.cluster-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px;margin:16px 0 8px}
.cluster-card{border:1px solid #e5e7eb;border-radius:12px;padding:14px 16px;background:#fff}
.cluster-card h3{margin:0 0 8px;font-size:1rem}
.cluster-card ul{margin:0;padding-left:18px}
.cluster-card li{margin:3px 0;font-size:.92rem}
