/* Quince, Loop Earplugs, Carpe breakdowns (2026-11-10): hero path, figure grid, tall screenshots, ad-count calculator */
.ap-path { margin: 0; padding: 28px; border: 1px solid var(--border-light); border-radius: var(--radius--small); }
.ap-path figcaption { margin-bottom: 20px; opacity: .7; }
.ap-path ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.ap-path li { position: relative; display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 16px; padding: 0 0 20px 20px; border-left: 1px solid var(--border-light); }
.ap-path li:last-child { padding-bottom: 0; }
.ap-path li::before { content: ""; position: absolute; left: -5px; top: 5px; width: 9px; height: 9px; border-radius: 50%; background-color: currentColor; }
.ap-path span { font-family: var(--font--mono); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; opacity: .7; padding-top: 2px; }
.ap-path b { font-weight: 400; line-height: 1.4; }

.ap-figs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 16px; margin-top: 16px; }
.ap-figs .bd-figure + .bd-figure { margin-top: 0; }
.ap-figs svg { max-width: 460px; margin: 0 auto; overflow: visible; }
.ap-figs svg .t { font-size: 16px; }
.ap-figs svg .t-s { font-size: 14px; }
.bd-figure svg .ap-on-ink { fill: var(--light); }
.bd-figure svg .ap-soft { opacity: .55; }
.bd-metrics { grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); }
.bd-plays { grid-template-columns: repeat(auto-fit, minmax(min(480px, 100%), 1fr)); }
.bd-plays > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.bd-checklist li a { display: block; margin-top: 6px; font-weight: 500; }
.bd-quote + .bd-quote { margin-top: 24px; }
.ap-gap { margin-top: 40px; }

/* Tall phone screenshots inside the annotated module: cap the width so pins stay readable */
.bd-hot.tall { max-width: 340px; justify-self: center; }
.bd-hot-wrap.tall-wrap { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); }
.bd-tabs [role="tabpanel"] { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 32px; align-items: start; }
.bd-tabs [role="tabpanel"][hidden] { display: none; }
.bd-tabs [role="tabpanel"] h3 { margin: 0 0 12px; font-family: var(--font--serif); font-weight: 400; font-size: 28px; line-height: 1.1; }
.bd-tabs [role="tabpanel"] p { margin: 0 0 10px; line-height: 1.55; }

/* Calculator: months to match a brand's live Meta ad count */
.ap-calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; padding: 28px; border-radius: var(--radius--small); background-color: var(--light); border: 1px solid var(--border-dark); }
.ap-calc fieldset { border: 0; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ap-calc legend { margin-bottom: 8px; font-family: var(--font--mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; opacity: .75; }
.ap-calc .ap-brand { padding: 10px 16px; min-height: 44px; border-radius: 999px; border: 1px solid var(--border-dark); background: transparent; color: inherit; font: inherit; font-size: 15px; cursor: pointer; }
.ap-calc .ap-brand[aria-pressed="true"] { background-color: var(--dark); color: var(--light); border-color: var(--dark); }
.ap-calc label { display: block; margin: 12px 0 6px; font-size: 15px; font-weight: 500; }
.ap-calc input { width: 100%; min-height: 44px; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--border-dark); background: #fff; color: var(--dark); font: inherit; font-size: 16px; }
.ap-calc button:focus-visible, .ap-calc input:focus-visible { outline: 2px solid var(--dark); outline-offset: 2px; }
.ap-out { display: flex; flex-direction: column; gap: 14px; }
.ap-out .n { font-family: var(--font--serif); font-size: clamp(40px, 4vw, 56px); line-height: 1; }
.ap-out .w { font-size: 15px; line-height: 1.45; }
.ap-out .calc { font-family: var(--font--mono); font-size: 12px; line-height: 1.5; padding: 8px 10px; border-radius: 8px; background-color: var(--bg); }

@media (max-width: 767px) {
  .ap-calc, .bd-tabs [role="tabpanel"], .bd-hot-wrap.tall-wrap { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 479px) {
  .ap-path { padding: 20px; } .ap-path li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .ap-figs .bd-figure { padding: 16px; }
  .ap-calc { padding: 20px 16px; }
}
