/* ============================================================
   Amazon Masters - /agency (Amazon advertising agency page).
   Loads after style.css + short.css + theme.css and only adds the
   pieces this page has that "/" does not: services grid, the three
   ways to work, the AI engine panel, the audit form and the booking popup.
   ============================================================ */

/* ---------- hero: result figures in the stats bar ---------- */
.tick__n.up { background: none; color: var(--green); -webkit-text-fill-color: var(--green); }

/* ---------- case studies: problem / what we did, then the figures ---------- */
.proof h3 { margin-top: 2px; }
.proof__pwr { display: grid; gap: 12px; margin-top: 18px; }
.proof__pwr > div { display: grid; grid-template-columns: 104px 1fr; gap: 14px; align-items: baseline; }
.proof__pwr dt { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--p-600); }
.proof__pwr dd { margin: 0; color: var(--ink-60); font-size: 15.5px; line-height: 1.5; }
.proof p.proof__note { margin-top: 16px; font-size: 13.5px; color: var(--ink-40); }
@media (max-width: 620px) { .proof__pwr > div { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- what we do: day / week / month ---------- */
.cadence { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cadence__col { display: flex; flex-direction: column; align-items: flex-start; padding: 28px 26px 30px; border-radius: var(--r-l); }
.cadence__col h3 { margin: 16px 0 6px; font-size: 22px; line-height: 1.15; }
.cadence__col > p { color: var(--ink-60); font-size: 15px; }
.cadence__col .checkline { margin-top: 20px; gap: 12px; }
.cadence__col .checkline li { font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.cadence__col--you { background: linear-gradient(var(--p-50), var(--p-50)) padding-box, var(--hair) border-box; }
@media (max-width: 980px) { .cadence { grid-template-columns: 1fr; gap: 14px; } .cadence__col { padding: 24px 22px 26px; } }

/* ---------- how it works: what each step hands you ---------- */
.pillar__get { display: grid; gap: 8px; margin: 18px 26px 0; padding-top: 16px; border-top: 1px dashed var(--line); }
.pillar__get li { position: relative; padding-left: 18px; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.pillar__get li::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }

/* ---------- ways to work ---------- */
.plans { display: grid; grid-template-columns: 1.08fr 1fr 1fr; gap: 18px; align-items: stretch; }
.plan {
  display: flex; flex-direction: column; align-items: flex-start; padding: 30px 28px; border-radius: var(--r-l);
  border: 1px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--hair) border-box;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9);
}
.plan .h3 { margin: 18px 0 10px; }
.plan > p { color: var(--ink-60); font-size: 15.5px; }
.plan .checkline { margin: 22px 0 28px; gap: 12px; }
.plan .checkline li { font-size: 15px; }
.plan .btn { margin-top: auto; }
.plan--feature {
  color: #fff;
  background: var(--night) padding-box, linear-gradient(180deg, rgba(255, 164, 92, .65), rgba(106, 90, 224, .4)) border-box;
  box-shadow: 0 30px 70px rgba(21, 13, 61, .28);
}
.plan--feature .h3 { color: #fff; }
.plan--feature > p { color: rgba(255, 255, 255, .74); }
.plan--feature .checkline li { color: rgba(255, 255, 255, .88); }
@media (max-width: 980px) { .plans { grid-template-columns: 1fr; } .plan { padding: 26px 22px; } }

/* ---------- AI engine (night band) ---------- */
.engine { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 4vw, 60px); align-items: center; }
.engine .lede { margin-top: 18px; }
.engine__list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 30px; }
.engine__list li {
  padding: 16px 18px; border-radius: var(--r-m);
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14);
}
.engine__list b { display: block; font-family: var(--font-display); font-size: 16px; letter-spacing: -.01em; color: #fff; }
.engine__list span { display: block; margin-top: 3px; font-size: 13.5px; color: rgba(255, 255, 255, .66); }
.engine__shot {
  margin: 0; border-radius: var(--r-l); overflow: hidden;
  border: 1px solid rgba(255, 164, 92, .45); box-shadow: 0 34px 80px rgba(8, 4, 30, .5);
}
.engine__shot img { display: block; width: 100%; height: auto; }
@media (max-width: 980px) { .engine { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .engine__list { grid-template-columns: 1fr; } }

/* ---------- free audit: copy + form card ---------- */
.auditbox { display: grid; grid-template-columns: 1fr minmax(0, 520px); gap: clamp(30px, 5vw, 72px); align-items: start; }
.auditbox .lede { margin-top: 18px; }
.auditbox .checkline li { font-size: 15.5px; color: var(--ink-2); }
.auditbox__mark { width: min(300px, 70%); margin-top: 26px; }
.auditcard {
  position: relative; padding: 30px 30px 26px; border-radius: var(--r-l);
  border: 1px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--hair-o) border-box;
  box-shadow: var(--shadow-l);
}
.auditcard h3 { font-family: var(--font-display); font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -.03em; line-height: 1.1; }
.auditcard .field { margin-top: 14px; }
.auditcard .field label small { font-weight: 500; color: var(--ink-40); margin-left: 4px; }
.auditcard select {
  width: 100%; padding: 14px 40px 14px 16px; border: 1.5px solid var(--line); border-radius: var(--r-m);
  font: inherit; font-size: 16px; color: var(--ink); background: var(--paper);
  -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23676C7A' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.auditcard select:focus { outline: none; border-color: var(--orange); }
.auditcard select:invalid { color: var(--ink-40); }
.auditcard__consent { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 18px; font-size: 13px; color: var(--ink-60); cursor: pointer; }
.auditcard__consent input { flex: none; width: 18px; height: 18px; margin-top: 1px; accent-color: var(--orange); }
.auditcard__consent a { color: var(--ink-2); text-decoration: underline; }
.auditcard__consent.is-error { color: #A1261E; }
.auditcard__consent.is-error input { outline: 2px solid #E5484D; outline-offset: 2px; }
.auditcard__fine { margin-top: 14px; font-size: 13px; color: var(--ink-60); text-align: center; }
.auditcard__fine a { color: var(--orange-d); font-weight: 600; }
.auditcard__done { text-align: center; padding: 20px 6px 6px; }
.auditcard__done p { margin: 10px auto 24px; max-width: 40ch; color: var(--ink-60); }
@media (max-width: 980px) { .auditbox { grid-template-columns: 1fr; } .auditbox__mark { display: none; } }
@media (max-width: 620px) { .auditcard { padding: 24px 18px 20px; } .auditcard .frow { grid-template-columns: 1fr; gap: 0; } }

/* ---------- booking popup ---------- */
#bookModal .modal__box { max-width: 600px; max-height: 94vh; }
#bookModal .flow { padding: 24px 26px 26px; }
#bookModal .flow h3 { font-size: clamp(20px, 2vw, 24px); }
#bookModal .flow > p { font-size: 14.5px; margin-top: 6px; color: var(--ink-60); }
#bookModal .cal { margin-top: 14px; min-height: 260px; }
#bookModal .cal.is-live { height: 640px; }
#bookModal .cal.is-live iframe { height: 100%; }
@media (max-width: 620px) {
  #bookModal .flow { padding: 20px 16px 18px; }
  #bookModal .flow > p { display: none; }
  #bookModal .cal.is-live { height: 72vh; }
}
