/* Commissions Club 2026: Resources hub and the resource pages (bump, cbapproval, free-hosting, pixel, pixel-issues,
   services, exclusions, adwriting, hider, hider-draft). Every selector starts with .rp (body class). */

/* ---------- shared hero (text + picture or icon art) ---------- */
.rp .rp-hero{padding:76px 0 120px}
.rp .rp-hero__grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:56px;align-items:center;position:relative;z-index:1}
.rp .rp-hero h1{margin-bottom:.4em}
.rp .rp-hero__sub{font:700 clamp(20px,2vw,26px)/1.3 var(--head);color:var(--lime-l);margin:-.2em 0 .7em;letter-spacing:-.01em}
.rp .rp-hero p{color:#dcefe2}
.rp .rp-hero__pic{margin:0;border-radius:28px;overflow:hidden;box-shadow:0 30px 70px rgba(0,0,0,.35);border:6px solid rgba(255,255,255,.12);transform:rotate(1.5deg)}
.rp .rp-hero__pic img{width:100%;aspect-ratio:4/3;object-fit:cover}
.rp .rp-hero__art{justify-self:center;width:min(340px,100%);aspect-ratio:1;border-radius:50%;display:grid;place-items:center;position:relative;
  background:radial-gradient(circle at 35% 30%,rgba(201,236,138,.35),rgba(125,189,13,.12) 55%,rgba(255,255,255,.04) 70%);border:1px solid rgba(201,236,138,.25)}
.rp .rp-hero__art::before{content:"";position:absolute;inset:13%;border-radius:50%;border:2px dashed rgba(201,236,138,.35)}
.rp .rp-hero__art svg{width:42%;height:42%;stroke:#fff;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 10px 24px rgba(0,0,0,.3))}
.rp .rp-hero.is-short{padding-bottom:80px}

/* body pulled up over the hero */
.rp .rp-body{margin-top:-72px;position:relative;z-index:2;padding-bottom:96px}
.rp .rp-narrow{max-width:860px;margin:0 auto}

/* note callout */
.rp .rp-note{display:flex;gap:16px;align-items:flex-start;background:#fffbea;border:1px solid #f3dd8f;border-left:6px solid var(--sun);border-radius:var(--r);
  padding:20px 22px;margin:0 0 26px;box-shadow:var(--shadow)}
.rp .rp-note svg{flex:none;width:26px;height:26px;stroke:#b58700;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;margin-top:2px}
.rp .rp-note p{margin:0}

/* ---------- form card ---------- */
.rp .rp-formcard{background:var(--paper);border:1px solid var(--line);border-radius:26px;box-shadow:var(--shadow-lg);padding:40px 44px 44px}
.rp .rp-formcard__head{display:flex;align-items:center;gap:14px;margin:0 0 26px;padding-bottom:20px;border-bottom:1px solid var(--line)}
.rp .rp-formcard__icon{flex:none;width:52px;height:52px;border-radius:16px;background:var(--mint);display:grid;place-items:center}
.rp .rp-formcard__icon svg{width:26px;height:26px;stroke:var(--green);fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.rp .rp-formcard__head p{margin:0;font:600 17px/1.45 var(--sans);color:var(--ink-2)}
.rp .rp-form{grid-template-columns:1fr 1fr;gap:20px 22px}
.rp .rp-form .rp-f{min-width:0}
.rp .rp-form .rp-f.is-full,.rp .rp-form .cc-form__msg,.rp .rp-form .rp-submit,.rp .rp-form fieldset,.rp .rp-form .rp-pay{grid-column:1/-1}
.rp .rp-form label.is-req::after,.rp .rp-form legend.is-req::after{content:" *";color:var(--green)}
.rp .rp-form textarea{min-height:112px}
.rp .rp-form textarea[rows="1"]{min-height:58px}
.rp .rp-form textarea[rows="8"]{min-height:190px}
.rp .rp-submit{display:flex;justify-content:flex-start;padding-top:6px}
.rp .rp-submit .cc-btn{min-width:240px}
.rp .rp-submit .cc-btn svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.rp .rp-submit .cc-btn{flex-direction:row}
.rp .rp-form .cc-form__msg{white-space:pre-line;font-size:18px;line-height:1.55;margin:0}
.rp .rp-form .cc-form__msg:focus{outline:3px solid rgba(125,189,13,.45)}

/* radio / checkbox choices (services) */
.rp .rp-form fieldset{border:0;margin:0;padding:0;min-width:0}
.rp .rp-form legend{font:600 16px/1.3 var(--head);color:var(--forest);margin-bottom:10px;padding:0}
.rp .rp-choices{display:grid;gap:12px}
.rp .rp-choice{position:relative;display:flex!important;align-items:center;gap:14px;margin:0!important;padding:16px 18px;border:1.5px solid #cfdcc7;border-radius:14px;background:#fff;
  font:600 17px/1.35 var(--sans)!important;color:var(--ink)!important;cursor:pointer;min-height:56px;transition:border-color .15s,background .15s}
.rp .rp-choice:hover{border-color:var(--green)}
.rp .rp-choice input{width:22px;height:22px;flex:none;accent-color:var(--green);margin:0}
.rp .rp-choice:has(input:checked){border-color:var(--green);background:var(--mint)}
.rp .rp-pay{background:var(--cream);border:1px dashed #bcd3ae;border-radius:14px;padding:16px 18px;font:600 17px/1.45 var(--sans);color:var(--forest)}
.rp .rp-pay a{display:inline-block;word-break:normal;overflow-wrap:anywhere}

/* ---------- Resources hub ---------- */
.rp .rp-chips{display:flex;flex-wrap:wrap;gap:10px;margin:26px 0 0;padding:0;list-style:none}
.rp .rp-chips li{margin:0}
.rp .rp-chips a{display:inline-flex;align-items:center;min-height:44px;padding:9px 16px;border-radius:999px;background:rgba(255,255,255,.09);border:1px solid rgba(201,236,138,.28);
  color:#eaf6ec!important;text-decoration:none;font:600 16px/1.2 var(--head)}
.rp .rp-chips a:hover{background:var(--lime);border-color:var(--lime);color:var(--forest)!important}
.rp .rp-lib{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}
.rp .rp-res{display:flex;flex-direction:column;background:var(--paper);border:1px solid var(--line);border-radius:24px;padding:30px 28px 28px;box-shadow:var(--shadow);
  position:relative;transition:transform .2s,box-shadow .2s;scroll-margin-top:110px}
.rp .rp-res:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg)}
.rp .rp-res::before{content:"";position:absolute;left:28px;right:28px;top:0;height:4px;border-radius:0 0 4px 4px;background:var(--accent,var(--green))}
.rp .rp-res__icon{width:58px;height:58px;border-radius:18px;display:grid;place-items:center;background:var(--tint,var(--mint));margin-bottom:20px}
.rp .rp-res__icon svg{width:28px;height:28px;stroke:var(--accent,var(--green));fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.rp .rp-res h2{font-size:22px;line-height:1.25;margin:0 0 10px;letter-spacing:-.01em}
.rp .rp-res p{color:var(--ink-2);font-size:17.5px;line-height:1.6;margin:0 0 24px;flex:1}
.rp .rp-res .cc-btn{flex-direction:row;width:100%;font-size:16px;padding:15px 20px;box-shadow:none;letter-spacing:.01em}
.rp .rp-res .cc-btn svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;flex:none}
.rp .rp-res.c-1{--accent:#2b8f1e;--tint:#e8f6e1}
.rp .rp-res.c-2{--accent:#0f7a6a;--tint:#dff3ef}
.rp .rp-res.c-3{--accent:#b07d00;--tint:#fff3cf}
.rp .rp-res.c-4{--accent:#1d5fa8;--tint:#e3eefb}

/* ---------- services ---------- */
.rp .rp-prices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:6px 0 30px;padding:0;list-style:none}
.rp .rp-prices li{margin:0;background:var(--cream);border:1px solid var(--line);border-radius:20px;padding:24px 22px;display:flex;flex-direction:column;gap:12px;justify-content:space-between}
.rp .rp-prices li:last-child{background:var(--forest);border-color:var(--forest)}
.rp .rp-prices li:last-child .rp-prices__name{color:#fff}
.rp .rp-prices li:last-child .rp-prices__price{color:var(--sun)}
.rp .rp-prices__name{font:700 18px/1.3 var(--head);color:var(--forest)}
.rp .rp-prices__price{font:800 40px/1 var(--head);color:var(--green);letter-spacing:-.02em}
.rp .rp-samples{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin:8px 0 28px;align-items:start}
.rp .rp-sample{display:block;text-decoration:none;background:#fff;border:1px solid var(--line);border-radius:20px;overflow:hidden;box-shadow:var(--shadow);transition:transform .2s;
  padding:0;cursor:pointer;font:inherit;text-align:left;width:100%}
.rp .rp-sample:hover{transform:translateY(-3px)}
.rp .rp-sample__img{position:relative;aspect-ratio:4/3;background:#eef3ea;overflow:hidden}
.rp .rp-sample__img img{width:100%;height:100%;object-fit:cover;object-position:top}
.rp .rp-samples:has(.rp-sample__img--full){align-items:start}
.rp .rp-sample__img--full{aspect-ratio:auto}
.rp .rp-sample__img--full img{height:auto;object-fit:contain}
.rp .rp-sample__play{position:absolute;inset:0;display:grid;place-items:center}
.rp .rp-sample__play span{width:74px;height:74px;border-radius:50%;background:rgba(13,59,42,.82);display:grid;place-items:center;box-shadow:0 10px 30px rgba(0,0,0,.3)}
.rp .rp-sample__play svg{width:30px;height:30px;fill:#fff;margin-left:4px}
.rp .rp-sample p{margin:0;padding:16px 20px;font:700 18px/1.3 var(--head);color:var(--forest)}
.rp .rp-cta{margin:26px 0 0}
.rp .rp-cta .cc-btn{flex-direction:row}
.rp .rp-checkout{scroll-margin-top:100px;margin-top:56px}
.rp .rp-checkout h2{margin:0}
.rp dialog.rp-video{border:0;padding:0;border-radius:20px;background:#000;max-width:min(900px,94vw);width:100%;box-shadow:var(--shadow-lg)}
.rp dialog.rp-video::backdrop{background:rgba(6,26,18,.8)}
.rp dialog.rp-video video{display:block;width:100%;max-height:80vh;background:#000}
.rp .rp-video__x{position:absolute;right:10px;top:10px;z-index:2;width:44px;height:44px;border-radius:50%;border:0;background:rgba(255,255,255,.92);font-size:28px;line-height:1;cursor:pointer;color:var(--forest)}

/* ---------- article pages (exclusions, adwriting) ---------- */
.rp .rp-article{background:var(--paper);border:1px solid var(--line);border-radius:26px;box-shadow:var(--shadow-lg);padding:48px 56px}
.rp .rp-article p{font-size:19px}
.rp .rp-article > :last-child{margin-bottom:0}
.rp .rp-countries{list-style:none;padding:22px;margin:4px 0 28px;display:flex;flex-wrap:wrap;gap:8px;background:var(--cream);border:1px solid var(--line);border-radius:20px}
.rp .rp-countries li{margin:0;padding:6px 13px;border-radius:999px;background:#fff;border:1px solid #d5e3cc;font:600 16px/1.3 var(--sans);color:var(--forest)}
.rp .rp-countries li.is-us{background:#fdecea;border-color:#f3c3bd;color:#8a1c12}
.rp .rp-callout{border-left:5px solid var(--lime);background:var(--mint);border-radius:0 16px 16px 0;padding:18px 22px;margin:0 0 1.1em}
.rp .rp-callout p{margin:0}

.rp .rp-phases{display:grid;grid-template-columns:1fr auto 1fr;gap:24px;align-items:center;margin:0 auto}
.rp .rp-phase{background:#fff;border:1px solid var(--line);border-radius:26px;padding:30px;text-align:center;box-shadow:var(--shadow-lg)}
.rp .rp-phase img{width:150px;height:150px;margin:0 auto 14px;object-fit:contain}
.rp .rp-phase__num{display:inline-block;font:800 16px/1 var(--head);letter-spacing:.12em;text-transform:uppercase;color:#fff;background:var(--green);border-radius:999px;padding:9px 16px;margin-bottom:12px}
.rp .rp-phase__label{font:700 21px/1.35 var(--head);color:var(--forest);margin:0}
.rp .rp-plus{width:58px;height:58px;border-radius:50%;background:var(--sun);display:grid;place-items:center;box-shadow:0 10px 24px rgba(233,178,28,.4)}
.rp .rp-plus svg{width:26px;height:26px;stroke:var(--forest);stroke-width:3;stroke-linecap:round;fill:none}
.rp .rp-summary{display:flex;flex-direction:column;align-items:center;gap:6px;margin:44px 0 0;color:var(--forest);font:800 22px/1.2 var(--head);text-decoration:none}
.rp .rp-summary svg{width:30px;height:30px;stroke:var(--green);stroke-width:2.4;fill:none;stroke-linecap:round;stroke-linejoin:round;animation:rp-bob 1.8s ease-in-out infinite}
@keyframes rp-bob{50%{transform:translateY(5px)}}
.rp .rp-steps{counter-reset:rpstep;display:grid;gap:30px;max-width:900px;margin:0 auto}
.rp .rp-step{counter-increment:rpstep;background:#fff;border:1px solid var(--line);border-radius:26px;box-shadow:var(--shadow);overflow:hidden;scroll-margin-top:100px}
.rp .rp-step__head{display:flex;gap:20px;align-items:flex-start;background:linear-gradient(150deg,var(--forest),var(--forest-2));padding:30px 40px}
.rp .rp-step__head::before{content:counter(rpstep);flex:none;width:48px;height:48px;border-radius:14px;background:var(--lime);color:var(--forest);display:grid;place-items:center;font:800 22px/1 var(--head)}
.rp .rp-step__head h2{color:#fff;font-size:clamp(22px,2.2vw,28px);line-height:1.25;margin:6px 0 0}
.rp .rp-step__body{padding:32px 40px 34px}
.rp .rp-step__body > :last-child{margin-bottom:0}
.rp .rp-ex{background:var(--cream);border:1px solid var(--line);border-left:5px solid var(--lime);border-radius:0 16px 16px 0;padding:16px 20px;margin:0 0 1.1em}
.rp .rp-ex p{margin:0 0 .45em}
.rp .rp-ex p:last-child{margin:0}
.rp .rp-ex em{color:var(--forest);font-size:19px}
.rp .rp-ex__tag{display:inline-block;font:800 16px/1 var(--head);color:#fff;background:var(--green);border-radius:8px;padding:6px 9px;margin-right:8px;font-style:normal;vertical-align:2px}
.rp .rp-ex.is-better{border-left-color:var(--green);background:var(--mint)}
.rp .rp-step__note{font-size:17px;color:var(--ink-2);border-top:1px solid var(--line);padding-top:16px}

/* ---------- download (hider) ---------- */
.rp .rp-dl{display:grid;grid-template-columns:auto 1fr auto;gap:24px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:26px;box-shadow:var(--shadow-lg);padding:30px 34px}
.rp .rp-dl__icon{width:70px;height:70px;border-radius:20px;background:var(--mint);display:grid;place-items:center}
.rp .rp-dl__icon svg{width:34px;height:34px;stroke:var(--green);fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.rp .rp-dl__name{font:800 21px/1.25 var(--head);color:var(--forest);margin:0}
.rp .rp-dl__file{margin:4px 0 0;font-size:16px;color:var(--ink-2);overflow-wrap:anywhere}
.rp .rp-dl .cc-btn{flex-direction:row}
.rp .rp-dl .cc-btn svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}

/* ---------- tablet / phone ---------- */
@media (max-width:980px){
  .rp .rp-hero__grid{grid-template-columns:1fr;gap:36px}
  .rp .rp-hero__pic{max-width:560px;transform:none}
  .rp .rp-hero__art{display:none}
  .rp .rp-lib{grid-template-columns:repeat(2,minmax(0,1fr))}
  .rp .rp-prices{grid-template-columns:1fr}
}
@media (max-width:640px){
  .rp .rp-hero{padding:46px 0 100px}
  .rp .rp-hero.is-short{padding-bottom:60px}
  .rp .rp-hero__pic{border-width:4px;border-radius:20px}
  .rp .rp-body{margin-top:-64px;padding-bottom:64px}
  .rp .rp-chips{display:none}
  .rp .rp-lib{grid-template-columns:1fr;gap:18px}
  .rp .rp-res{padding:24px 22px 22px}
  .rp .rp-formcard{padding:26px 20px 28px;border-radius:22px}
  .rp .rp-form{grid-template-columns:1fr;gap:18px}
  .rp .rp-submit .cc-btn{width:100%}
  .rp .rp-samples{grid-template-columns:1fr}
  .rp .rp-article{padding:28px 22px;border-radius:22px}
  .rp .rp-article p{font-size:17px}
  .rp .rp-countries{padding:14px}
  .rp .rp-phases{grid-template-columns:1fr;justify-items:center}
  .rp .rp-phase{width:100%}
  .rp .rp-step__head{padding:22px 20px;gap:14px}
  .rp .rp-step__head::before{width:40px;height:40px;font-size:19px}
  .rp .rp-step__head h2{font-size:21px;margin-top:4px}
  .rp .rp-step__body{padding:24px 20px 26px}
  .rp .rp-ex em{font-size:17px}
  .rp .rp-dl{grid-template-columns:1fr;text-align:left;padding:24px 20px}
  .rp .rp-dl .cc-btn{width:100%}
  .rp .rp-note{padding:16px 16px}
}

/* adwriting extras */
.rp .rp-center-h{margin-left:auto;margin-right:auto}
.rp-adwriting .rp-phases{max-width:900px}
.rp-adwriting .rp-body{padding-bottom:56px}
.rp .rp-steps-sec{padding-top:64px}
.rp .rp-cta .cc-btn svg{width:26px;height:26px;stroke:currentColor;fill:none;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;flex:none}
.rp .rp-res .cc-btn{text-transform:uppercase;letter-spacing:.06em;font-size:16px}
.rp .rp-hero h1{font-size:clamp(34px,4vw,54px)}
.rp .rp-hero.is-long .rp-hero__grid{grid-template-columns:minmax(0,1.6fr) minmax(0,.6fr)}
.rp .rp-hero.is-long h1{font-size:clamp(32px,3.5vw,48px)}
.rp .rp-hero.is-long .rp-hero__art{width:min(260px,100%)}
