/* readability pass: +2px on every font-size (applied) */
/* =========================================================================
   Video ad scripts · Scaling With Content (system B)
   Centred, symmetrical, quiet. No section rules, only the footer banner.
   Tokens and fonts come from ../assets/funnel.css.
   ========================================================================= */
.scripts { position: relative; overflow: hidden; padding: clamp(64px, 10vh, 112px) 0 clamp(56px, 8vh, 96px); }
.scripts__glow { position: absolute; left: 50%; top: -120px; width: min(1100px, 150vw); height: 640px; transform: translateX(-50%); pointer-events: none; z-index: 0;
  background: radial-gradient(46% 50% at 50% 40%, rgba(59, 227, 107, 0.14), rgba(59, 227, 107, 0) 70%); }
.scripts .wrap { position: relative; z-index: 1; max-width: 860px; }

/* --------------------------------- header --------------------------------- */
.scripts__head { text-align: center; margin-bottom: clamp(44px, 7vh, 72px); }
.scripts__head h1 { font-size: calc(clamp(38px, 5.4vw, 64px) + 2px); line-height: 1.02; letter-spacing: -0.03em; }
.angles { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 34px auto 0; max-width: 760px; }
.angles a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 18px 10px 12px; border-radius: 999px;
  background: rgba(16, 22, 20, .72); border: 1px solid var(--line-soft); font-size: 16px; font-weight: 600; color: var(--text-2);
  transition: color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), background-color .25s var(--ease); }
.angles a b { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--accent-soft);
  font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--accent); }
.angles a:hover { color: var(--text); border-color: rgba(59, 227, 107, .35); transform: translateY(-2px); background: rgba(22, 30, 27, .9); }

/* ---------------------------------- cards ---------------------------------- */
.scripts__list { display: flex; flex-direction: column; gap: clamp(28px, 4vw, 40px); }
.ad { position: relative; scroll-margin-top: 28px; border-radius: 28px; padding: clamp(28px, 4.4vw, 52px) clamp(22px, 4.6vw, 56px) clamp(28px, 4vw, 44px);
  background: linear-gradient(180deg, rgba(22, 30, 27, .92), rgba(13, 19, 17, .92));
  border: 1px solid var(--line-soft);
  box-shadow: 0 40px 90px -50px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .03); }
.ad::before { content: ""; position: absolute; left: 50%; top: 0; width: 46%; height: 1px; transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(59, 227, 107, .45), transparent); }

.ad__head { text-align: center; margin-bottom: 34px; }
.ad__num { display: inline-block; font-family: var(--mono); font-size: 14px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--accent);
  padding: 7px 14px; border-radius: 999px; background: var(--accent-soft); }
.ad__title { margin-top: 16px; font-size: calc(clamp(28px, 3.6vw, 40px) + 2px); line-height: 1.08; letter-spacing: -0.025em; text-wrap: pretty; }
.ad__meta { margin: 12px 0 0; font-family: var(--mono); font-size: 14px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); text-wrap: balance; }

.ad__block { margin-top: 30px; }
.ad__label { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 0 0 18px; font-family: var(--mono); font-size: 13.5px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; color: var(--text-3); font-stretch: 100%; }

/* hooks: three openers, each a real spoken line */
.hooks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.hooks li { position: relative; display: grid; grid-template-columns: 82px 1fr; gap: 16px; align-items: baseline; padding: 18px 22px 18px 18px;
  border-radius: 18px; background: rgba(7, 10, 9, .55); border: 1px solid var(--line-soft); }
.hk { font-family: var(--mono); font-size: 13.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); white-space: nowrap; }
.hooks p { margin: 0; font-family: var(--sans); font-size: 20px; line-height: 1.5; font-weight: 600; color: var(--text); }

/* script body: double spaced, one sentence per line */
.body { max-width: 640px; margin: 0 auto; }
.body p { margin: 0 0 16px; font-size: 19px; line-height: 1.6; color: var(--text-2); }
.body p:last-child { margin-bottom: 0; }
.body em { font-style: normal; color: var(--text); font-weight: 700; }

/* CTA */
.cta { max-width: 640px; margin: 30px auto 0; text-align: center; padding: 20px 24px 22px; border-radius: 18px;
  background: radial-gradient(120% 140% at 50% 0%, rgba(59, 227, 107, .16), rgba(59, 227, 107, .05) 70%); border: 1px solid rgba(59, 227, 107, .22); }
.cta__label { display: block; font-family: var(--mono); font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.cta p { margin: 0; font-family: var(--display); font-size: 23px; font-weight: 800; letter-spacing: -0.01em; color: var(--text); }

/* checklist: the rigor, visible */
.check { margin-top: 34px; }
.check .ad__label .score { display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 4px 10px; border-radius: 999px; background: var(--accent); color: var(--accent-ink);
  font-size: 13px; line-height: 1.3; letter-spacing: .08em; }
.check ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 10px; }
.check li { position: relative; padding: 11px 14px 11px 44px; border-radius: 14px; background: rgba(7, 10, 9, .42); }
.check li::before { content: ""; position: absolute; left: 14px; top: 13px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px rgba(59, 227, 107, .4); }
.check li::after { content: ""; position: absolute; left: 21px; top: 17px; width: 5px; height: 9px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(45deg); }
.check b { display: block; font-size: 16px; font-weight: 700; color: var(--text); line-height: 1.35; }
.check li span { display: block; font-size: 15px; color: var(--text-3); line-height: 1.45; margin-top: 2px; }

/* copy button */
.copy { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 30px auto 0; min-height: 44px; padding: 11px 22px; border-radius: 999px; cursor: pointer;
  font-family: var(--sans); font-size: 16px; font-weight: 700; color: var(--text); background: rgba(7, 10, 9, .6); border: 1px solid var(--line);
  transition: border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease); }
.copy:hover { border-color: rgba(59, 227, 107, .45); transform: translateY(-1px); }
.copy.is-done { color: var(--accent); border-color: rgba(59, 227, 107, .45); }

/* gentle fades (JS only, forced visible after 1.2s, never hidden without JS) */
@media (prefers-reduced-motion: no-preference) {
  .js .fade { opacity: 0; transform: translateY(20px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
  .js .fade.is-in { opacity: 1; transform: none; }
}

@media (max-width: 700px) {
  .hooks li { grid-template-columns: 1fr; gap: 8px; padding: 16px 18px; }
  .hooks p { font-size: 19px; }
  .check ul { grid-template-columns: 1fr; }
  .body p { font-size: 18.5px; }
  .ad { border-radius: 22px; }
  .angles a { font-size: 15px; }
}

/* ---- 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) {
  [class*="row"], [class*="stack"] > *, [class*="item"], .it { flex-wrap: wrap; }
  .tag, [class*="badge"], [class*="pill"] { margin-left: 0; }
  [style*="grid-template-columns"], [class*="grid"] { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .tok-merge, .tok-link, code { white-space: normal; }
}
.foot .mark { height: 30px; }
