/* =====================================================================
   refund-policy.html — page-only rules.
   Shared tokens and components live in assets/css/styles.css.
   Nothing here invents a colour, radius, shadow or type size.

   The legal shelf (hero, draft note, Document facts card, TOC card,
   scroll fades, the plain <section> document, "Key points at a glance",
   the postal address block, data tables, the official mark panel,
   related-policy cards, the shared guards and the print rules) lives in
   assets/css/pages/legal.css, which this page links first and which
   shipping-policy.html used to duplicate byte for byte.

   Only the worked example and the two card grids below are unique to
   this page.
   ===================================================================== */

/* ---------- 1. Hero -------------------------------------------------- */
.page-hero--legal h1{max-width:18ch}

/* ---------- 2. Worked refund example --------------------------------- */
.worked-example{
  margin:var(--sp-6) 0;padding:var(--sp-5) clamp(18px,2.2vw,26px);
  border:1px solid var(--forest-200);background:var(--forest-50);border-radius:var(--r-lg);
}
.worked-example__title{
  font-family:var(--font-head);font-weight:600;font-size:15.5px;color:var(--heading);
  margin:0 0 var(--sp-4);
}
.worked-example__rows{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:0}
.worked-example__rows li{
  display:flex;flex-wrap:wrap;gap:4px var(--sp-4);align-items:baseline;justify-content:space-between;
  margin:0;padding:10px 0;border-bottom:1px dashed var(--forest-200);
  font-size:var(--fs-sm);line-height:1.55;color:var(--ink-700);
}
.worked-example__rows li:first-child{padding-top:0}
.worked-example__rows b{font-variant-numeric:tabular-nums;color:var(--ink-800);white-space:nowrap}
.worked-example__total{
  display:flex;flex-wrap:wrap;gap:4px var(--sp-4);align-items:baseline;justify-content:space-between;
  margin:var(--sp-4) 0 0;padding-top:var(--sp-3);border-top:2px solid var(--forest-300);
}
.worked-example__total span{font-family:var(--font-head);font-weight:600;color:var(--heading);font-size:15.5px}
.worked-example__total b{
  font-family:var(--font-head);font-size:clamp(1.5rem,1.2rem + 1vw,1.875rem);font-weight:700;
  color:var(--forest-700);font-variant-numeric:tabular-nums;line-height:1;letter-spacing:-.02em;
}
.worked-example__note{margin:var(--sp-4) 0 0;font-size:13px;color:var(--text-muted);line-height:1.6}

/* ---------- 3. Dark promises band ------------------------------------ */
.promise-grid .card{height:100%}

/* ---------- 4. Print -------------------------------------------------- */
@media print{
  .worked-example{break-inside:avoid;background:none}
}
