/* =====================================================================
   pricing.html  ("How our fees work") only.
   Shared rules live in assets/css/styles.css. Tokens only: no new
   colours, radii, shadows or type sizes are introduced here.
   ===================================================================== */

/* ---------- 0. Local copies of shared-ish helpers -------------------
   .cta-band__ridge / .cta-band__figs currently live in pages/home.css,
   so a second page cannot reuse them. Duplicated here verbatim until
   they move into styles.css (reported in sharedRequests).            */
.cta-band__ridge{position:absolute;left:0;right:0;bottom:0;width:100%;height:var(--ridge-h);z-index:-1;display:block}
.cta-band__figs{
  position:absolute;left:50%;translate:-50% 0;
  bottom:calc(var(--ridge-h) * var(--crest));
  width:clamp(158px,23vw,300px);height:auto;z-index:-1;display:block;
}

/* Sections that end in a full-bleed ribbon divider give up their bottom padding. */
.section--fee-ribbon{padding-bottom:0}

/* .form-success in styles.css sets display:flex, which beats the UA [hidden]
   rule, so the success panel renders under the live form on first paint.
   Local fix until it is corrected in styles.css (reported in sharedRequests). */
.form-success[hidden]{display:none}

/* =====================================================================
   1. HERO
   ===================================================================== */
.fee-hero .page-hero__inner{align-items:center}

.fee-promise{
  list-style:none;margin:var(--sp-6) 0 0;padding:0;
  display:grid;gap:10px var(--sp-5);grid-template-columns:1fr;
}
@media (min-width:560px){ .fee-promise{grid-template-columns:repeat(2,minmax(0,1fr))} }
.fee-promise li{
  display:flex;gap:9px;align-items:flex-start;margin:0;
  font-size:var(--fs-sm);line-height:1.5;color:var(--text-muted);
}
.fee-promise svg{width:17px;height:17px;flex:none;margin-top:2px;color:var(--forest-500)}
.fee-promise b{color:var(--ink-800);font-weight:600}

.fee-hero__note{
  display:flex;gap:10px;align-items:flex-start;margin:var(--sp-6) 0 0;
  padding:var(--sp-4);border-radius:var(--r-lg);
  background:var(--surface-warm-2);border:1px solid var(--saffron-200);
  font-size:var(--fs-sm);line-height:1.55;color:var(--ink-700);
}
.fee-hero__note svg{width:18px;height:18px;flex:none;margin-top:2px;color:var(--saffron-700)}

/* Proposal mock that stands in for a hero photo */
.fee-hero__media{position:relative}
.fee-proposal__rows{margin:0}
.fee-proposal__row{
  display:flex;align-items:baseline;justify-content:space-between;gap:var(--sp-4);
  padding:10px 0;border-bottom:1px solid var(--line-soft);
}
.fee-proposal__row dt{font-size:var(--fs-sm);color:var(--text-muted);margin:0}
.fee-proposal__row dd{
  margin:0;text-align:right;font-size:var(--fs-sm);font-weight:600;color:var(--ink-800);
}
.fee-proposal__blank{
  font-weight:500;color:var(--saffron-800);
  border-bottom:1.5px dashed var(--saffron-300);
}
.fee-proposal__row--total{
  margin-top:6px;padding-top:14px;border-top:1px solid var(--line);border-bottom:0;
}
.fee-proposal__row--total dt{
  font-family:var(--font-head);font-size:var(--fs-h4);color:var(--heading);font-weight:600;
}
.fee-proposal__row--total dd{
  font-family:var(--font-head);font-size:var(--fs-h3);font-weight:700;color:var(--forest-600);
}
.fee-proposal .mock__foot span{display:inline-flex;gap:7px;align-items:center}
.fee-proposal .mock__foot svg{width:15px;height:15px;color:var(--forest-500);flex:none}

.fee-hero__chip{position:absolute;right:-6px;bottom:-16px;z-index:3}
@media (max-width:899.98px){
  .fee-hero__chip{right:auto;left:0;bottom:-18px}
}
@media (max-width:479.98px){
  .fee-hero__chip{display:none}
}

/* =====================================================================
   2. THE PRINCIPLE
   ===================================================================== */
.fee-num{
  display:grid;place-items:center;width:34px;height:34px;border-radius:50%;
  background:var(--saffron-50);color:var(--saffron-800);
  font-family:var(--font-head);font-weight:700;font-size:15px;
  margin-bottom:var(--sp-4);border:1px solid var(--saffron-200);
}

.fee-ctc{
  margin-top:clamp(24px,3vw,40px);
  border:1px solid var(--line);border-radius:var(--r-xl);background:var(--surface-2);
  padding:clamp(20px,2.6vw,32px);
}
.fee-ctc__head h3{font-size:var(--fs-h3);margin:0 0 6px}
.fee-ctc__head .muted{font-size:var(--fs-sm);margin:0;max-width:72ch}
.fee-ctc__lists{
  display:grid;gap:var(--sp-5);grid-template-columns:1fr;margin-top:var(--sp-6);
}
@media (min-width:768px){ .fee-ctc__lists{grid-template-columns:repeat(2,minmax(0,1fr))} }
.fee-ctc__col{
  background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);
  padding:var(--sp-5);
}
.fee-ctc__col h4{
  display:flex;gap:8px;align-items:center;margin:0 0 var(--sp-3);font-size:15.5px;
}
.fee-ctc__col h4 svg{width:18px;height:18px;flex:none}
.fee-ctc__col--in h4 svg{color:var(--forest-500)}
.fee-ctc__col--out h4 svg{color:var(--saffron-700)}
.fee-ctc__col ul{margin:0;padding-left:1.2em;display:flex;flex-direction:column;gap:7px}
.fee-ctc__col li{font-size:var(--fs-sm);color:var(--text-muted);line-height:1.55}
.fee-ctc__col--in li::marker{color:var(--forest-400)}
.fee-ctc__col--out li::marker{color:var(--saffron-400)}
.fee-ctc__note{
  display:flex;gap:9px;align-items:flex-start;margin:var(--sp-5) 0 0;
}
.fee-ctc__note svg{width:16px;height:16px;flex:none;margin-top:2px;color:var(--saffron-700)}

/* =====================================================================
   3. WHO PAYS, WHO NEVER DOES
   ===================================================================== */
@media (min-width:600px) and (max-width:1023.98px){
  .who-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
.who-card{display:flex;flex-direction:column;position:relative;overflow:hidden}
.who-card::before{
  content:"";position:absolute;inset:0 0 auto;height:4px;border-radius:var(--r-xl) var(--r-xl) 0 0;
  background:var(--grad-ribbon-green);
}
.who-card--pays::before{background:var(--grad-ribbon-saffron)}
.who-card__icon{
  width:44px;height:44px;border-radius:var(--r-md);display:grid;place-items:center;flex:none;
  background:var(--forest-50);color:var(--forest-600);margin-bottom:var(--sp-4);
}
.who-card--pays .who-card__icon{background:var(--saffron-50);color:var(--saffron-700)}
.who-card__icon svg{width:21px;height:21px}
.who-card__verdict{
  margin:0 0 var(--sp-3);font-family:var(--font-head);font-weight:600;font-size:var(--fs-sm);
  letter-spacing:var(--ls-body);color:var(--forest-600);
  display:inline-flex;align-self:flex-start;align-items:center;
  background:var(--forest-50);border:1px solid var(--forest-200);
  padding:4px 11px;border-radius:var(--r-pill);
}
.who-card--pays .who-card__verdict{
  color:var(--saffron-800);background:var(--saffron-50);border-color:var(--saffron-200);
}
.who-card .card__body{flex:1 1 auto}
.who-card .card__foot{margin-top:var(--sp-5)}

/* Deep links from the nav and footer land on one of these four cards. */
.who-card.is-targeted{
  border-color:var(--saffron-300);box-shadow:var(--sh-md);
}

.fee-fraud{
  margin-top:clamp(24px,3vw,40px);
  display:flex;gap:var(--sp-5);align-items:flex-start;
  border:1px solid var(--forest-200);border-left:5px solid var(--forest-500);
  background:var(--forest-50);border-radius:var(--r-lg);
  padding:clamp(18px,2.2vw,26px);
}
.fee-fraud__icon{
  width:42px;height:42px;border-radius:var(--r-md);display:grid;place-items:center;flex:none;
  background:var(--white);color:var(--forest-600);border:1px solid var(--forest-200);
}
.fee-fraud__icon svg{width:22px;height:22px}
.fee-fraud h3{margin:0 0 6px;font-size:var(--fs-h4)}
.fee-fraud p{margin:0 0 var(--sp-4);font-size:var(--fs-sm);line-height:1.6;color:var(--ink-700);max-width:80ch}
@media (max-width:599.98px){
  .fee-fraud{flex-direction:column;gap:var(--sp-4)}
}

/* =====================================================================
   4. ENGAGEMENT MODELS
   ===================================================================== */
@media (min-width:768px) and (max-width:1023.98px){
  .model-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:767.98px){
  .model-grid{grid-template-columns:minmax(0,1fr)}
}
.model-card{display:flex;flex-direction:column}
.model-card .feature-tile__icon{margin-bottom:var(--sp-4)}
.model-card .card__body{flex:0 0 auto}
.model-card__terms{
  margin:var(--sp-5) 0 0;padding-top:var(--sp-4);border-top:1px dashed var(--line-strong);
  display:flex;flex-direction:column;gap:9px;
}
@media (min-width:768px){ .model-card__terms{margin-top:auto} }
.model-card__terms>div{display:grid;grid-template-columns:96px minmax(0,1fr);gap:var(--sp-3);align-items:baseline}
.model-card__terms dt{
  margin:0;font-size:var(--fs-xs);text-transform:uppercase;letter-spacing:var(--ls-eyebrow);
  color:var(--text-muted);font-weight:600;
}
.model-card__terms dd{margin:0;font-size:var(--fs-sm);color:var(--ink-800);font-weight:500;line-height:1.5}
.model-card__terms>div:first-child dd{color:var(--saffron-800);font-weight:600}
@media (max-width:479.98px){
  .model-card__terms>div{grid-template-columns:minmax(0,1fr);gap:2px}
}

.fee-allquote{
  display:flex;gap:var(--sp-4);align-items:flex-start;
  margin:clamp(24px,3vw,40px) auto 0;max-width:var(--container-narrow);
  padding:var(--sp-5) clamp(18px,2.2vw,26px);
  background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);
  box-shadow:var(--sh-xs);font-size:var(--fs-sm);line-height:1.65;color:var(--text-muted);
}
.fee-allquote svg{width:20px;height:20px;flex:none;margin-top:2px;color:var(--saffron-700)}
.fee-allquote b{color:var(--ink-800)}

/* =====================================================================
   5. WHAT IS INCLUDED
   ===================================================================== */
.inc-grid .feature-tile{
  background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);
  padding:var(--sp-5);box-shadow:var(--sh-xs);
}
.fee-extras{max-width:var(--container-narrow);margin-inline:auto}

/* =====================================================================
   6. WHAT SHAPES A QUOTE
   ===================================================================== */
@media (min-width:768px) and (max-width:1023.98px){
  .fac-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
.fac-card{display:flex;flex-direction:column}
.fac-card .card__title{display:flex;gap:9px;align-items:center;font-size:17px}
.fac-card .card__title svg{width:19px;height:19px;flex:none;color:var(--saffron-700)}
.fac-card .card__body{flex:1 1 auto}
.fac-card__effect{
  margin:var(--sp-4) 0 0;padding-top:var(--sp-3);border-top:1px dashed var(--line-strong);
  font-size:13px;color:var(--text-muted);
}
.fac-card__effect b{color:var(--forest-600);font-weight:600}
.fac-note{max-width:70ch;margin-inline:auto;margin-top:clamp(20px,2.4vw,32px)}

/* =====================================================================
   7. WORKED EXAMPLE (dark band)
   ===================================================================== */
/* The dark-band ambience (both glows) comes from .section--dark::before in
   styles.css. Nothing is overridden here on purpose. */
.ex-layout{
  display:grid;gap:clamp(28px,3.4vw,56px);grid-template-columns:1fr;align-items:start;
}
@media (min-width:1024px){
  .ex-layout{grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr)}
}

.ex-steps{
  list-style:none;counter-reset:exstep;margin:0;padding:0;
  display:flex;flex-direction:column;gap:var(--sp-5);
}
.ex-steps li{
  position:relative;padding-left:52px;margin:0;
}
.ex-steps li::before{
  counter-increment:exstep;content:counter(exstep);
  position:absolute;left:0;top:0;width:34px;height:34px;border-radius:50%;
  display:grid;place-items:center;
  background:rgba(245,151,61,.16);color:var(--saffron-300);
  border:1px solid rgba(245,151,61,.34);
  font-family:var(--font-head);font-weight:700;font-size:14px;
}
.ex-steps li:not(:last-child)::after{
  content:"";position:absolute;left:17px;top:38px;bottom:-14px;width:1px;
  background:linear-gradient(180deg,rgba(245,151,61,.34),rgba(245,151,61,.05));
}
.ex-steps h3{font-size:16.5px;margin:5px 0 5px;color:#fff}
.ex-steps p{margin:0;font-size:var(--fs-sm);line-height:1.65;color:var(--text-on-dark-muted)}
.ex-steps b{color:var(--saffron-300);font-weight:600}

.ex-invoice{
  background:rgba(255,255,255,.05);border:1px solid var(--line-dark);
  border-radius:var(--r-xl);overflow:hidden;
}
@media (min-width:1024px){
  .ex-invoice{position:sticky;top:calc(var(--header-h) + 24px)}
}
.ex-invoice__bar{
  display:flex;flex-wrap:wrap;gap:var(--sp-2) var(--sp-3);align-items:center;justify-content:space-between;
  padding:13px var(--sp-5);border-bottom:1px solid var(--line-dark);background:rgba(255,255,255,.04);
}
.ex-invoice__title{
  margin:0;font-family:var(--font-head);font-weight:600;font-size:var(--fs-sm);color:#fff;
}
.ex-invoice__rows{margin:0;padding:var(--sp-5)}
.ex-invoice__rows>div{
  display:flex;align-items:baseline;justify-content:space-between;gap:var(--sp-4);
  padding:9px 0;border-bottom:1px solid rgba(255,255,255,.08);
}
.ex-invoice__rows dt{margin:0;font-size:var(--fs-sm);color:var(--text-on-dark-muted)}
.ex-invoice__rows dd{
  margin:0;text-align:right;font-size:var(--fs-sm);font-weight:600;color:var(--text-on-dark);
}
.ex-invoice__total{
  margin-top:6px;padding-top:14px !important;border-top:1px solid rgba(255,255,255,.2);border-bottom:0 !important;
}
.ex-invoice__total dt{font-family:var(--font-head);font-size:var(--fs-h4);color:#fff !important;font-weight:600}
.ex-invoice__total dd{font-family:var(--font-head);font-size:1.125rem;font-weight:700;color:var(--saffron-300) !important}
.ex-invoice__foot{
  margin:0;padding:12px var(--sp-5) 16px;border-top:1px solid var(--line-dark);
  background:rgba(0,0,0,.16);font-size:var(--fs-xs);line-height:1.6;color:var(--text-on-dark-muted);
}

.ex-zero{
  margin-top:clamp(28px,3.4vw,48px);
  display:flex;flex-wrap:wrap;gap:var(--sp-5);align-items:center;justify-content:space-between;
  padding:clamp(18px,2.4vw,28px) clamp(20px,2.6vw,32px);
  border:1px solid var(--line-dark);border-radius:var(--r-xl);
  background:rgba(255,255,255,.05);
}
.ex-zero p{
  margin:0;display:flex;flex-wrap:wrap;gap:var(--sp-2) var(--sp-5);align-items:center;
  font-size:var(--fs-lead);color:var(--text-on-dark) !important;flex:1 1 420px;
}
.ex-zero p>span:last-child{flex:1 1 300px;min-width:0}
.ex-zero__big{
  font-family:var(--font-head);font-weight:800;font-size:clamp(2.25rem,1.6rem + 2.4vw,3.25rem);
  line-height:1;color:var(--saffron-300);letter-spacing:var(--ls-display);
}

/* =====================================================================
   8. THE COMMERCIAL PROCESS
   ===================================================================== */
.proc-steps{margin:0;padding:0;list-style:none}
.proc-steps .stepper__item{margin:0}
@media (min-width:1024px){
  .proc-steps{align-items:start}
}
@media (max-width:1023.98px){
  .proc-steps{gap:var(--sp-6)}
}
.proc-foot{
  display:flex;gap:var(--sp-4);align-items:flex-start;
  margin:clamp(28px,3.2vw,44px) auto 0;max-width:var(--container-narrow);
  padding:var(--sp-5) clamp(18px,2.2vw,26px);
  border:1px solid var(--line);border-radius:var(--r-lg);background:var(--surface);
  font-size:var(--fs-sm);line-height:1.65;color:var(--text-muted);box-shadow:var(--sh-xs);
}
.proc-foot svg{width:20px;height:20px;flex:none;margin-top:2px;color:var(--forest-600)}

/* =====================================================================
   9. COMPARISON TABLE
   ===================================================================== */
.cmp-hint{
  font-size:13px;color:var(--text-muted);margin:0 0 var(--sp-3);
  display:flex;gap:7px;align-items:center;
}
.table-wrap{
  overflow-x:auto;-webkit-overflow-scrolling:touch;
  border:1px solid var(--line);border-radius:var(--r-lg);background:var(--surface);
}
.table-wrap:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
.cmp-table{
  width:100%;min-width:760px;border-collapse:separate;border-spacing:0;font-size:13.5px;
}
@media (min-width:1180px){ .cmp-table{min-width:0;font-size:var(--fs-sm)} }
.cmp-table th,.cmp-table td{
  padding:12px 14px;text-align:left;vertical-align:top;border-bottom:1px solid var(--line-soft);
  line-height:1.5;
}
/* No position:sticky here. .table-wrap has overflow-x:auto, which makes it a
   scroll container on BOTH axes, so a sticky thead sticks inside the wrapper
   and floats over the first body row instead of over the page. */
.cmp-table thead th{
  background:var(--surface-2);
  font-family:var(--font-head);font-weight:600;color:var(--heading);font-size:var(--fs-sm);
  border-bottom:1px solid var(--line);
}
.cmp-table thead th.cmp-table__us{background:var(--forest-50);color:var(--forest-700)}
.cmp-table tbody th[scope="row"]{
  font-weight:600;color:var(--ink-800);background:var(--surface);width:22%;min-width:170px;
}
.cmp-table td{color:var(--text-muted)}
.cmp-table td.cmp-table__us{
  background:var(--forest-50);color:var(--ink-800);font-weight:500;
  box-shadow:inset 2px 0 0 var(--forest-200);
}
.cmp-table td.cmp-table__win{color:var(--ink-800);font-weight:500}
.cmp-table td.cmp-table__win::before{
  content:"";display:inline-block;width:7px;height:7px;border-radius:50%;
  background:var(--saffron-500);margin-right:7px;vertical-align:middle;
}
.cmp-table tbody tr:hover th[scope="row"],.cmp-table tbody tr:hover td{background:var(--saffron-50)}
.cmp-table tbody tr:hover td.cmp-table__us{background:var(--forest-100)}
.cmp-table tbody tr:last-child th,.cmp-table tbody tr:last-child td{border-bottom:0}
.cmp-table__verdict th[scope="row"],.cmp-table__verdict td{
  border-top:2px solid var(--line-strong);padding-top:16px;padding-bottom:16px;
  font-size:var(--fs-sm);
}
.cmp-table__verdict th[scope="row"]{color:var(--heading);font-family:var(--font-head)}
.cmp-foot{max-width:80ch;margin-top:var(--sp-5)}

/* =====================================================================
   10. FAQ
   ===================================================================== */
.fee-faq{
  display:grid;gap:clamp(24px,3vw,56px);grid-template-columns:1fr;align-items:start;
}
@media (min-width:1024px){
  .fee-faq{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)}
  .fee-faq__aside{position:sticky;top:calc(var(--header-h) + 24px)}
}
.fee-faq__aside h2{margin:var(--sp-2) 0 var(--sp-4)}
.fee-faq__aside .lead{max-width:46ch}

/* =====================================================================
   11. REQUEST A QUOTE
   ===================================================================== */
.quote-layout{
  display:grid;gap:clamp(24px,3vw,44px);grid-template-columns:1fr;align-items:start;
}
@media (min-width:1024px){
  .quote-layout{grid-template-columns:minmax(0,1.35fr) minmax(0,.65fr)}
}
.quote-form__foot{
  margin-top:var(--sp-6);display:flex;flex-wrap:wrap;gap:var(--sp-4);align-items:center;
}
.quote-form__foot .fineprint{margin:0;max-width:34ch}

.quote-aside{display:flex;flex-direction:column;gap:clamp(16px,2vw,24px)}
@media (min-width:1024px){
  .quote-aside{position:sticky;top:calc(var(--header-h) + 24px)}
}
.quote-get__list{list-style:none;margin:var(--sp-4) 0 0;padding:0;display:flex;flex-direction:column;gap:var(--sp-4)}
.quote-get__list li{display:flex;gap:11px;align-items:flex-start;margin:0;font-size:var(--fs-sm);line-height:1.55;color:var(--text-muted)}
.quote-get__list svg{width:18px;height:18px;flex:none;margin-top:2px;color:var(--forest-600)}
.quote-get__list b{color:var(--ink-800);font-weight:600;display:block}

.quote-people__list{list-style:none;margin:var(--sp-4) 0 0;padding:0;display:flex;flex-direction:column;gap:var(--sp-4)}
.quote-people__list li{display:flex;gap:var(--sp-4);align-items:center;margin:0}
.quote-people__body{display:flex;flex-direction:column;gap:1px;min-width:0}
.quote-people__body b{font-size:15px;color:var(--ink-900)}
.quote-people__body .muted{font-size:var(--fs-xs)}
.quote-people__body a{font-size:var(--fs-sm);font-weight:600;color:var(--forest-600);text-decoration:none}
.quote-people__body a:hover{text-decoration:underline}
.quote-people__addr,.quote-people__mail{
  display:flex;gap:9px;align-items:flex-start;margin:var(--sp-5) 0 0;
  font-size:var(--fs-xs);line-height:1.6;color:var(--text-muted);
}
.quote-people__mail{margin-top:var(--sp-3);align-items:center}
.quote-people__addr svg,.quote-people__mail svg{width:16px;height:16px;flex:none;margin-top:2px;color:var(--saffron-700)}
.quote-people__mail svg{margin-top:0}
.quote-people__addr a,.quote-people__mail a{color:var(--forest-600);font-weight:600}

/* =====================================================================
   12. MOTION
   ===================================================================== */
@media (prefers-reduced-motion:reduce){
  .card--interactive:hover{transform:none}
}
