/* =========================================================================
   Ad scripts: 5 video ad scripts for the free live class.
   Light blush canvas, plum ink, one pink accent. Tokens from ../assets/brand.css.
   ========================================================================= */
body { background: var(--bg); }
.ads { position: relative; overflow: hidden; padding: clamp(52px, 8vh, 100px) var(--gutter) clamp(56px, 9vh, 104px); }
.ads__bloom { position: absolute; left: 50%; top: -220px; width: min(1100px, 150vw); height: 760px; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(50% 50% at 50% 50%, rgba(255, 0, 153, .16), rgba(255, 0, 153, 0) 70%); }
.ads__bloom--low { top: 56%; opacity: .55; }
.ads__ledger { position: absolute; inset: 0; pointer-events: none; opacity: .03;
  background: repeating-linear-gradient(180deg, var(--ink) 0 1px, transparent 1px 44px); }
.ads__wrap { position: relative; z-index: 1; max-width: 780px; margin: 0 auto; }

/* intro */
.ads__intro { text-align: center; max-width: 640px; margin: 0 auto clamp(34px, 5vw, 54px); }
.ads__eyebrow { margin: 0 0 14px; font-family: var(--sans); font-weight: 700; font-size: calc(.78rem + 2px); letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.ads__title { margin: 0 0 16px; font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: calc(clamp(2.2rem, 1.4rem + 3vw, 3.4rem) + 2px); line-height: 1.02; color: var(--ink); }
.ads__sub { margin: 0; font-family: var(--sans); font-size: calc(1rem + 2px); line-height: 1.6; color: var(--muted); }

/* jump nav */
.ads__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 auto clamp(30px, 4vw, 44px); padding: 0; list-style: none; }
.ads__nav a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--hair); background: var(--surface);
  font-family: var(--sans); font-weight: 600; font-size: calc(.82rem + 2px); color: var(--ink); text-decoration: none; transition: border-color .2s var(--ease), color .2s var(--ease); }
.ads__nav a span { font-family: var(--display); color: var(--accent); }
.ads__nav a:hover { border-color: var(--accent); color: var(--accent); }

/* script card */
.ads__list { display: flex; flex-direction: column; gap: clamp(22px, 3vw, 32px); }
.ad { scroll-margin-top: 24px; 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: center; gap: 14px; flex-wrap: wrap; }
.ad__num { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--plum); color: #fff;
  font-family: var(--display); font-weight: 600; font-size: calc(1rem + 2px); }
.ad__title { margin: 0; font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: calc(clamp(1.4rem, 1.1rem + 1vw, 1.8rem) + 2px); line-height: 1.08; color: var(--ink); }
.ad__angle { margin-left: auto; padding: 6px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent);
  font-family: var(--sans); font-weight: 700; font-size: calc(.68rem + 2px); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.ad__target { margin: 12px 0 0; font-family: var(--sans); font-size: calc(.9rem + 2px); line-height: 1.5; color: var(--muted); }
.ad__target b { color: var(--ink); font-weight: 600; }

.ad__label { display: flex; align-items: center; gap: 10px; margin: 28px 0 14px; font-family: var(--sans); font-weight: 700; font-size: calc(.7rem + 2px);
  letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.ad__label::after { content: ""; flex: 1; height: 1px; background: var(--hair-soft); }

/* hooks */
.hooks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.hook { position: relative; padding: 16px 18px 16px 58px; border-radius: var(--radius-sm); background: var(--bg); border: 1px solid var(--hair-soft); }
.hook__tag { position: absolute; left: 16px; top: 16px; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center;
  background: var(--accent); color: #fff; font-family: var(--display); font-weight: 600; font-size: calc(.9rem + 2px); }
.hook p { margin: 0; font-family: var(--sans); font-weight: 600; font-size: calc(1.04rem + 2px); line-height: 1.55; color: var(--ink); }

/* script body: one sentence per line, double spaced */
.script p { margin: 0; font-family: var(--sans); font-size: calc(1.04rem + 2px); line-height: 2; color: #2E2433; }
.script p + p { margin-top: 1em; }
.script--cta { margin-top: 18px; padding: 18px 20px; border-radius: var(--radius-sm); background: var(--plum); }
.script--cta p { color: var(--on-plum); font-weight: 600; }

/* checklist */
.check { margin-top: 26px; border-top: 1px solid var(--hair-soft); padding-top: 18px; }
.check summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; font-family: var(--sans); font-weight: 700; font-size: calc(.78rem + 2px);
  letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.check summary::-webkit-details-marker { display: none; }
.check__badge { flex: none; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: #E3F7F0; color: #0B6B4F; letter-spacing: .06em; }
.check__badge svg { width: 13px; height: 13px; }
.check__toggle { margin-left: auto; font-weight: 600; letter-spacing: .04em; text-transform: none; font-size: calc(.8rem + 2px); color: var(--muted); }
.check[open] .check__toggle::after { content: "Hide"; }
.check:not([open]) .check__toggle::after { content: "Show"; }
.check ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 22px; }
.check li { display: flex; gap: 9px; align-items: flex-start; font-family: var(--sans); font-size: calc(.82rem + 2px); line-height: 1.45; color: var(--muted); }
.check li svg { flex: none; width: 15px; height: 15px; margin-top: 2px; }
.check li b { color: var(--ink); font-weight: 600; }

@media (max-width: 640px) {
  .ad__angle { margin-left: 0; }
  .check ul { grid-template-columns: 1fr; }
  .hook { padding-left: 52px; }
  .hook__tag { left: 14px; }
}
@media (max-width: 420px) {
  .ad { padding: 22px 18px; }
  .check summary { flex-wrap: wrap; row-gap: 6px; }
}
