/* =========================================================================
   Ad creative scripts · The Physician Media Masterclass (system B skin)
   Tokens and fonts come from /assets/brand.css.
   ========================================================================= */

/* ---- mobile hardening (references/mobile.md) ---- */
*, *::before, *::after { box-sizing: border-box; }
img, svg, video, canvas, iframe { max-width: 100%; height: auto; }
p, li, td, th, blockquote, figcaption, h1, h2, h3, h4, h5, h6 { overflow-wrap: anywhere; }
table, pre { display: block; max-width: 100%; overflow-x: auto; }
@media (max-width: 700px) {
  .tag, [class*="badge"], [class*="pill"] { margin-left: 0; }
}
@media (max-width: 420px) {
  .tok-merge, .tok-link, code { white-space: normal; }
}

.ads { position: relative; padding: clamp(56px, 9vh, 112px) 0 clamp(64px, 10vh, 120px);
  background: radial-gradient(70% 420px at 50% 0%, rgba(185, 66, 60, 0.07), rgba(185, 66, 60, 0) 70%), var(--bg); }
.ads .wrap { max-width: 820px; }

.ads__intro { text-align: center; max-width: 700px; margin: 0 auto clamp(40px, 6vw, 64px); }
.ads__intro .eyebrow { color: var(--accent); }
.ads__title { margin: 0; font-family: var(--display); font-weight: 600; font-size: clamp(32px, 2.4vw + 18px, 50px);
  line-height: 1.08; letter-spacing: -0.025em; color: var(--ink); text-wrap: balance; }
.ads__sub { margin: 18px auto 0; max-width: 44ch; font-size: 20px; line-height: 1.55; color: var(--muted); }
.ads__meta { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.ads__meta li { padding: 9px 15px; border-radius: 999px; background: var(--surface); border: 1px solid var(--hair);
  font-size: 15px; color: var(--muted); line-height: 1.35; }
.ads__meta b { color: var(--ink); font-weight: 700; margin-right: 4px; }

.ads__list { display: flex; flex-direction: column; gap: clamp(24px, 3vw, 36px); }

.ad { background: var(--surface); border: 1px solid var(--hair-soft); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: clamp(24px, 4vw, 44px); }
.ad__head { display: flex; align-items: flex-start; gap: 16px; padding-bottom: 22px; border-bottom: 1px solid var(--hair-soft); }
.ad__num { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: var(--navy); color: #fff; font-family: var(--display); font-weight: 600; font-size: 17px; }
.ad__heading { flex: 1; min-width: 0; }
.ad__title { margin: 0; font-family: var(--display); font-weight: 600; font-size: clamp(23px, 1vw + 18px, 28px);
  line-height: 1.18; letter-spacing: -0.015em; color: var(--ink); }
.ad__who { margin: 6px 0 0; font-size: 16px; line-height: 1.45; color: var(--muted); }
.ad__tag { flex: none; margin-top: 4px; padding: 6px 12px; border-radius: 999px; background: var(--accent-soft);
  border: 1px solid var(--accent-line); color: var(--accent); font-size: 13px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }

.ad__label { margin: 30px 0 12px; font-size: 13px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-2); }

.hooks { display: grid; gap: 10px; }
.hook { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius-sm);
  background: var(--surface-2); border: 1px solid var(--hair-soft); }
.hook__tag { flex: none; margin-top: 3px; padding: 4px 9px; border-radius: 8px; background: var(--navy); color: #fff;
  font-size: 13px; font-weight: 700; letter-spacing: 0.04em; white-space: nowrap; }
.hook p { margin: 0; font-size: 19px; line-height: 1.55; color: var(--ink); font-weight: 600; }

/* copy only, one sentence per line, double spaced */
.script p { margin: 0 0 1.05em; font-size: 19px; line-height: 1.62; color: var(--ink); }
.script p:last-child { margin-bottom: 0; }
.script--cta { padding: 18px 20px; border-radius: var(--radius-sm); background: var(--accent-soft); border: 1px solid var(--accent-line); }
.script--cta p { font-weight: 600; }

.check { margin-top: 30px; padding: 18px 20px 20px; border-radius: var(--radius-sm); background: var(--bg-2); }
.check__head { margin: 0 0 12px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); }
.check__score { padding: 4px 10px; border-radius: 999px; background: #1f6b4a; color: #fff; letter-spacing: 0.06em; }
.check__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 22px; }
.check__list li { display: flex; gap: 9px; align-items: flex-start; font-size: 15px; line-height: 1.4; color: var(--muted); }
.check__list b { color: var(--ink); font-weight: 700; }
.check__list svg { flex: none; width: 16px; height: 16px; margin-top: 2px; fill: none; stroke: #1f6b4a; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 700px) {
  body { font-size: 18px; }
  .ad__head { flex-wrap: wrap; }
  .ad__tag { margin: 8px 0 0 auto; }
  .ad__heading { flex-basis: 100%; order: 3; }
  .ad { padding: 22px 18px; }
  .hook { padding: 14px 14px; }
  .ads__meta li { border-radius: 14px; }
  .hook { flex-direction: column; gap: 8px; }
  .hook p, .script p { font-size: 18px; }
  .check__list { grid-template-columns: 1fr; }
}
