/* AssistPPC — shared landing-page styles (light theme).
   Loaded via $extra_css on /, /product-ads and /how-to-get-products-on-chatgpt-ads.
   Reads the tokens defined in app.css; no colours are hardcoded here. */

/* ── Hero ──────────────────────────────────────────────────────────────────── */
/* The warm wash behind the hero is painted on <body> rather than on a full-bleed
   pseudo-element. A `-50vw` inset would have widened the document and produced a
   horizontal scrollbar at every viewport width; a background-image cannot. */
body{
  background-image:radial-gradient(75% 460px at 50% 0%, var(--primary-soft) 0%, rgba(255,255,255,0) 72%);
  background-repeat:no-repeat;
  background-position:top center;
}
.hero{position:relative}
.eyebrow{display:inline-flex;align-items:center;gap:8px;padding:5px 13px;border-radius:999px;
  border:1px solid var(--border);background:var(--surface-2);color:var(--text-dim);
  font-size:.76rem;font-weight:600;margin-bottom:18px}
.eyebrow .dot{width:7px;height:7px;border-radius:50%;background:var(--primary)}
.lead-sub{max-width:700px;margin:0 auto 24px;font-size:1.12rem;color:var(--text-dim)}
.hero-note{margin-top:16px;font-size:.9rem;color:var(--text-dim)}

/* ── Split hero: copy left, illustration right ─────────────────────────────── */
/* Sized to clear the fold on a 1280×800 laptop: nav (~65px) + this section must
   stay under ~700px, so the type scale and mock height are both capped. */
.hero-split{display:grid;grid-template-columns:0.92fr 1.18fr;gap:48px;align-items:center;
  padding:40px 0 44px;text-align:left}
.hero-split .eyebrow{margin-bottom:14px}
.hero-split h1{font-size:2.65rem;line-height:1.1;letter-spacing:-.025em;margin:0 0 14px}
.hero-split h1 .hl{color:var(--primary-ink)}
.hero-split .lead-sub{margin:0 0 24px;max-width:46ch;font-size:1.05rem}
.hero-cta{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.hero-cta .btn{margin:0}
/* Specificity note: app.css has `.hero p {…}` (0,1,1), so a bare `.hero-meta`
   class (0,1,0) would lose to it. Scoped to beat it. */
.hero-split .hero-meta{margin:18px 0 0;font-size:.86rem;color:var(--text-dim);max-width:46ch}
.hero-sources{display:flex;flex-wrap:wrap;gap:6px;margin:16px 0 0;padding:0;list-style:none}
.hero-sources li{display:inline-flex;align-items:center;gap:6px;padding:4px 11px;border:1px solid var(--border);
  border-radius:999px;background:var(--surface);color:var(--text-dim);font-size:.76rem;font-weight:600}
.hero-sources li .dot{width:5px;height:5px;border-radius:50%;background:var(--primary)}

/* ── ChatGPT result mock ───────────────────────────────────────────────────── */
.mock{background:#fff;border:1px solid var(--border);border-radius:16px;box-shadow:var(--shadow-lg);overflow:hidden}
.mock-bar{display:flex;align-items:center;gap:8px;padding:12px 16px;border-bottom:1px solid var(--border);
  background:#fff}
.mock-bar .d{width:11px;height:11px;border-radius:50%;flex:none}
.mock-bar .d.r{background:#ff5f57}.mock-bar .d.y{background:#febc2e}.mock-bar .d.g{background:#28c840}
.mock-bar .mock-title{margin-left:8px;font-size:.86rem;font-weight:700;color:var(--text)}
.mock-body{padding:18px}
.mock-user{margin:0 0 16px;margin-left:auto;max-width:88%;width:fit-content;background:var(--surface-2);
  border-radius:16px;padding:11px 16px;font-size:.88rem;color:var(--text)}
.mock-reply{display:flex;gap:10px;align-items:flex-start;margin-bottom:14px}
.mock-av{flex:none;width:26px;height:26px;border-radius:50%;background:var(--primary);color:var(--on-primary);
  display:flex;align-items:center;justify-content:center;font-size:.74rem;font-weight:800}
.mock-reply p{margin:3px 0 0;font-size:.88rem;color:var(--text)}
.mock-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.pcard{border:1px solid var(--border);border-radius:11px;overflow:hidden;background:#fff;box-shadow:var(--shadow-sm)}
.pcard-img{height:86px;display:flex;align-items:center;justify-content:center}
.pcard-img svg{width:44px;height:56px}
.pcard-img.a{background:linear-gradient(160deg,#fbe6e9,#f7f0ea)}
.pcard-img.b{background:linear-gradient(160deg,#e5ecf8,#eff2f7)}
.pcard-img.c{background:linear-gradient(160deg,#e6f2ea,#f0f4ef)}
.pcard-t{margin:0;padding:9px 10px 0;font-size:.74rem;font-weight:700;line-height:1.35;color:var(--text)}
.pcard-b{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:6px 10px 10px}
.pcard-p{font-size:.78rem;font-weight:800;color:var(--text)}
.pcard-ad{font-size:.6rem;font-weight:700;color:var(--text-dim);background:var(--surface-3);
  border-radius:5px;padding:2px 6px}
.mock-foot{margin:14px 0 0;font-size:.72rem;color:var(--text-dim)}
.mock-foot strong{color:var(--primary-ink)}

/* ── Visual stepper (CSS-only tabs; works with JS disabled) ────────────────── */
.stepper{margin:24px 0 0}
.stepper > input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.stepper-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:20px}
.stepper-tabs label{display:flex;gap:12px;align-items:flex-start;cursor:pointer;padding:16px 18px;
  border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);
  box-shadow:var(--shadow-sm);transition:border-color .15s ease,box-shadow .15s ease}
.stepper-tabs label:hover{border-color:var(--border-strong)}
.stepper-tabs .n{flex:none;width:26px;height:26px;border-radius:50%;background:var(--surface-3);
  color:var(--text-dim);font-weight:800;font-size:.8rem;display:flex;align-items:center;justify-content:center}
.stepper-tabs .lbl{font-size:.94rem;font-weight:700;color:var(--text);line-height:1.35}
.stepper-tabs .sub{display:block;font-size:.8rem;font-weight:400;color:var(--text-dim);margin-top:3px}
.stepper-panels > .sp{display:none}

/* active tab + matching panel */
#hiw1:checked ~ .stepper-tabs label[for="hiw1"],
#hiw2:checked ~ .stepper-tabs label[for="hiw2"],
#hiw3:checked ~ .stepper-tabs label[for="hiw3"]{border-color:var(--primary);box-shadow:0 0 0 3px rgba(232,130,26,.15)}
#hiw1:checked ~ .stepper-tabs label[for="hiw1"] .n,
#hiw2:checked ~ .stepper-tabs label[for="hiw2"] .n,
#hiw3:checked ~ .stepper-tabs label[for="hiw3"] .n{background:var(--primary);color:var(--on-primary)}
#hiw1:focus-visible ~ .stepper-tabs label[for="hiw1"],
#hiw2:focus-visible ~ .stepper-tabs label[for="hiw2"],
#hiw3:focus-visible ~ .stepper-tabs label[for="hiw3"]{outline:2px solid var(--primary);outline-offset:2px}
#hiw1:checked ~ .stepper-panels .sp1,
#hiw2:checked ~ .stepper-panels .sp2,
#hiw3:checked ~ .stepper-panels .sp3{display:grid}

.sp{grid-template-columns:1fr 1.1fr;gap:32px;align-items:center;background:var(--surface-2);
  border:1px solid var(--border);border-radius:var(--radius);padding:28px}
.sp h3{margin:0 0 10px;font-size:1.25rem;letter-spacing:-.01em}
.sp p{margin:0 0 12px;color:var(--text-dim);font-size:.94rem;line-height:1.6}
.sp ul{margin:0;padding-left:18px;color:var(--text-dim);font-size:.9rem}
.sp ul li{margin-bottom:6px}

/* ── Small illustrated panels used inside the stepper ──────────────────────── */
.ui{background:#fff;border:1px solid var(--border);border-radius:12px;padding:16px;box-shadow:var(--shadow-md)}
.ui-h{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px;
  font-size:.78rem;font-weight:700;color:var(--text-dim);text-transform:uppercase;letter-spacing:.05em}
.ui-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;
  border:1px solid var(--border);border-radius:9px;margin-bottom:8px;font-size:.82rem;color:var(--text)}
.ui-row:last-child{margin-bottom:0}
.ui-row.on{border-color:#b7e2ce;background:var(--success-soft)}
.ui-badge{font-size:.66rem;font-weight:800;padding:2px 8px;border-radius:999px;background:var(--surface-3);
  color:var(--text-dim);white-space:nowrap}
.ui-badge.ok{background:var(--success-soft);color:var(--success);border:1px solid #b7e2ce}
.ui-badge.br{background:var(--primary-soft);color:var(--primary-ink);border:1px solid #f2d9bb}
.ui-input{display:flex;align-items:center;gap:8px;padding:10px 12px;border:1px dashed var(--border-strong);
  border-radius:9px;font-size:.8rem;color:var(--text-dim);font-family:ui-monospace,SFMono-Regular,Menlo,monospace}
.ui-map{display:grid;grid-template-columns:1fr auto 1fr;gap:8px;align-items:center;margin-bottom:7px;font-size:.78rem}
.ui-map:last-child{margin-bottom:0}
.ui-map .f{padding:6px 10px;border:1px solid var(--border);border-radius:7px;background:var(--surface-2);
  color:var(--text-dim);font-family:ui-monospace,SFMono-Regular,Menlo,monospace}
.ui-map .f.out{background:var(--primary-soft);border-color:#f2d9bb;color:var(--primary-ink);font-weight:700}
.ui-map .ar{color:var(--text-dim);font-weight:700}
.ui-note{margin:12px 0 0;font-size:.74rem;color:var(--text-dim);display:flex;align-items:center;gap:6px}

@media(max-width:940px){
  .hero-split{grid-template-columns:1fr;gap:32px;padding:32px 0 28px}
  .hero-split h1{font-size:2.2rem}
  .stepper-tabs{grid-template-columns:1fr}
  .sp{grid-template-columns:1fr;gap:22px;padding:22px}
  .sp .ui{order:-1}
}
@media(max-width:560px){
  .hero-split{padding:24px 0 20px;gap:26px}
  .hero-split h1{font-size:1.9rem;margin-bottom:10px}
  .hero-split .lead-sub{font-size:1rem;margin-bottom:20px}
  .hero-split .hero-meta{margin-top:14px}
  .hero-sources{margin-top:12px}
  .mock-cards{grid-template-columns:1fr}
  .pcard{display:grid;grid-template-columns:96px 1fr;align-items:center}
  .pcard-img{height:72px}
  .pcard-b{padding:0 10px 0 0}
  .pcard-t{padding:10px 10px 4px 0}
}

/* ── Platform chips ────────────────────────────────────────────────────────── */
.platform-row{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:24px 0 4px;padding:0;list-style:none}
.platform-row li{display:inline-flex;align-items:center;gap:7px;padding:6px 13px;border:1px solid var(--border);
  border-radius:999px;background:var(--surface);color:var(--text);font-size:.82rem;font-weight:600;
  box-shadow:var(--shadow-sm)}
.platform-row li .dot{width:6px;height:6px;border-radius:50%;background:var(--primary)}

/* ── Section headings ──────────────────────────────────────────────────────── */
.section-head{max-width:680px;margin:64px auto 8px}
.section-head.center{text-align:center}
.section-head h2{font-size:1.7rem;margin:0 0 10px;letter-spacing:-.015em;line-height:1.25}
.section-head p{color:var(--text-dim);margin:0}

/* ── Prose ─────────────────────────────────────────────────────────────────── */
.prose{max-width:720px;margin:0 auto}
.prose p{color:var(--text);font-size:1rem;margin:0 0 16px;line-height:1.7}
.prose ul,.prose ol{color:var(--text);max-width:720px;margin:0 0 16px;padding-left:20px;line-height:1.7}
.prose li{margin-bottom:7px}
.prose h3{font-size:1.15rem;margin:26px 0 8px}

/* ── Feature badge ─────────────────────────────────────────────────────────── */
.feature h3 .rec{display:inline-block;margin-left:6px;padding:2px 8px;border-radius:999px;font-size:.62rem;font-weight:800;
  text-transform:uppercase;letter-spacing:.04em;background:var(--success-soft);color:var(--success);vertical-align:middle;
  border:1px solid #b7e2ce}

/* ── Numbered steps ────────────────────────────────────────────────────────── */
.steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;margin:28px 0;padding:0;list-style:none;counter-reset:none}
.step{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:20px;
  box-shadow:var(--shadow-sm)}
.step .num{width:30px;height:30px;border-radius:50%;background:var(--primary);color:var(--on-primary);font-weight:800;
  display:flex;align-items:center;justify-content:center;font-size:.9rem;margin-bottom:12px}
.step h3{margin:0 0 6px;font-size:1.02rem}
.step p{margin:0;color:var(--text-dim);font-size:.9rem}

/* ── Split feature blocks ──────────────────────────────────────────────────── */
.split{display:grid;grid-template-columns:1fr 1fr;gap:26px;align-items:center;background:var(--surface);
  border:1px solid var(--border);border-radius:var(--radius);padding:26px;margin:18px 0;box-shadow:var(--shadow-sm)}
.split .kicker{font-size:.75rem;font-weight:800;text-transform:uppercase;letter-spacing:.06em;color:var(--primary-ink);margin-bottom:8px}
.split h3{margin:0 0 12px;font-size:1.35rem;letter-spacing:-.01em;line-height:1.3}
.split ul{margin:0 0 16px;padding-left:18px;color:var(--text-dim);font-size:.94rem}
.split ul li{margin-bottom:7px}
.split .visual{background:var(--surface-2);border:1px solid var(--border);border-radius:10px;padding:18px;min-height:170px;
  display:flex;flex-direction:column;gap:8px;justify-content:center}
.split .visual .bar{height:12px;border-radius:6px;background:linear-gradient(90deg,var(--primary),var(--surface-3));opacity:.9}
.split .visual .row2{display:flex;gap:8px;align-items:center;font-size:.82rem;color:var(--text-dim);flex-wrap:wrap}
.split .visual .tag{padding:3px 9px;border-radius:999px;background:var(--primary-soft);color:var(--primary-ink);
  font-weight:700;font-size:.72rem;border:1px solid #f2d9bb}
.split .visual .prow{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 10px;
  border:1px solid var(--border);border-radius:8px;background:#fff;font-size:.8rem;box-shadow:var(--shadow-sm)}
.split .visual .chk{width:15px;height:15px;border-radius:4px;border:1px solid var(--primary);background:var(--primary);flex:none}
.backlink{display:inline-block;margin:8px 0 0;font-size:.85rem;font-weight:600}

/* ── Callout ───────────────────────────────────────────────────────────────── */
.callout{max-width:720px;margin:26px auto;background:var(--primary-soft);border:1px solid #f2d9bb;
  border-left:4px solid var(--primary);border-radius:var(--radius);padding:20px 22px}
.callout h3{margin:0 0 8px;font-size:1.05rem;color:var(--text)}
.callout p{margin:0;color:#6b4d28;font-size:.95rem;line-height:1.65}

/* ── Guide step cards ──────────────────────────────────────────────────────── */
.stepslist{max-width:760px;margin:22px auto;padding:0;list-style:none}
.stepcard{display:flex;gap:16px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);
  padding:20px 22px;margin-bottom:14px;box-shadow:var(--shadow-sm)}
.stepcard .num{flex:none;width:34px;height:34px;border-radius:50%;background:var(--primary);color:var(--on-primary);
  font-weight:800;display:flex;align-items:center;justify-content:center}
.stepcard h3{margin:0 0 6px;font-size:1.1rem}
.stepcard h3 .who{display:inline-block;margin-left:8px;padding:2px 9px;border-radius:999px;font-size:.66rem;font-weight:800;
  text-transform:uppercase;letter-spacing:.04em;vertical-align:middle;border:1px solid transparent}
.who.openai{background:var(--surface-3);color:var(--text-dim);border-color:var(--border)}
.who.assist{background:var(--primary-soft);color:var(--primary-ink);border-color:#f2d9bb}
.who.both{background:var(--success-soft);color:var(--success);border-color:#b7e2ce}
.stepcard p{margin:0;color:var(--text-dim);font-size:.94rem;line-height:1.65}
.stepcard p + p{margin-top:8px}
.legend{max-width:760px;margin:6px auto 0;display:flex;gap:14px;flex-wrap:wrap;font-size:.78rem;color:var(--text-dim)}
.legend span{display:inline-flex;align-items:center;gap:6px}
.legend i{width:11px;height:11px;border-radius:3px;display:inline-block;border:1px solid rgba(0,0,0,.12)}

/* ── FAQ ───────────────────────────────────────────────────────────────────── */
.faq{max-width:760px;margin:12px auto 0}
.faq details{background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:14px 18px;margin-bottom:10px;
  box-shadow:var(--shadow-sm)}
.faq summary{cursor:pointer;font-weight:600;list-style:none;color:var(--text)}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:'+';float:right;color:var(--primary-ink);font-weight:800;margin-left:12px}
.faq details[open] summary::after{content:'\2013'}
.faq p{color:var(--text-dim);font-size:.92rem;margin:10px 0 0;line-height:1.65}
.faq h3{margin:0;font-size:inherit;font-weight:inherit;display:inline}

/* ── Comparison table ──────────────────────────────────────────────────────── */
.tbl-wrap{max-width:820px;margin:24px auto;overflow-x:auto;border:1px solid var(--border);border-radius:var(--radius);
  box-shadow:var(--shadow-sm)}
.tbl{width:100%;border-collapse:collapse;font-size:.9rem;background:#fff;min-width:560px}
.tbl th,.tbl td{padding:12px 16px;text-align:left;border-bottom:1px solid var(--border);vertical-align:top}
.tbl thead th{background:var(--surface-2);font-size:.76rem;text-transform:uppercase;letter-spacing:.05em;color:var(--text-dim)}
.tbl tbody tr:last-child td{border-bottom:0}
.tbl td:first-child{font-weight:600;color:var(--text)}
.tbl td{color:var(--text-dim)}

/* ── Answer block: the short, quotable definition near the top of a page ───── */
.answer{max-width:760px;margin:26px auto;background:var(--surface-2);border:1px solid var(--border);
  border-radius:var(--radius);padding:22px 24px}
.answer h2{margin:0 0 10px;font-size:1.05rem;letter-spacing:-.01em}
.answer p{margin:0 0 10px;color:var(--text);font-size:.98rem;line-height:1.7}
.answer p:last-child{margin-bottom:0}

/* ── CTA band ──────────────────────────────────────────────────────────────── */
.cta-band{text-align:center;background:var(--surface-2);border:1px solid var(--border);border-radius:var(--radius);
  padding:44px 24px;margin:56px 0 8px}
.cta-band h2{font-size:1.6rem;margin:0 0 10px;letter-spacing:-.015em}
.cta-band p{color:var(--text-dim);max-width:560px;margin:0 auto 22px}
.cta-band .btn{margin:0 6px}

@media(max-width:640px){
  .split{grid-template-columns:1fr;padding:22px}
  .split .visual{order:-1}
  .section-head{margin-top:48px}
  .section-head h2{font-size:1.4rem}
}
