/* =====================================================================
   Company Restoration UK — Xact+  ·  2026 redesign
   Rebuilt to match the approved reference design pixel-for-pixel.
   Reference capture: 1710px viewport @DPR2 · container 1180px
   Type: Public Sans (cap/em .73) · display tracking -.045em
   ===================================================================== */

.rd {
  /* ---- palette (sampled from the reference) ---- */
  --red:        #F0352E;
  --red-2:      #F0502E;   /* CTA gradient tail */
  --red-ink:    #D8241D;   /* hover */
  --navy:       #063F52;   /* headings / dark sections */
  --navy-deep:  #053444;   /* footer */
  --navy-card:  #1D4C5C;   /* raised card on dark */
  --navy-tint:  #1E4A4E;   /* dark-panel gradient tail (teal) */
  --amber:      #F4B826;
  --green:      #08704D;
  --bg-light:   #EAF4F6;
  --bg-pale:    #F6FAFB;
  --cream:      #FEF8EC;
  --line:       #D4E3E8;
  --line-soft:  #DDE8EC;
  --ink:        #133443;   /* strong body text */
  --muted:      #526A76;   /* paragraphs */
  --muted-2:    #7C8E98;   /* small print */
  --muted-3:    #A4B1B9;   /* faintest */

  --container: 1180px;
  --pad: 100px;
  --r-card: 18px;
  --r-btn: 12px;

  font-family: 'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: #fff;
  /* `.rd` sits on <body>, so `.rd *` below never matches the body itself —
     zero the UA's default 8px margin here or every full-bleed section falls
     8px short of the viewport on both sides. */
  margin: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-synthesis-weight: none;
}

.rd *, .rd *::before, .rd *::after { box-sizing: border-box; }
:where(.rd) :where(img, svg) { max-width: 100%; display: block; }
:where(.rd) :where(a) { text-decoration: none; color: inherit; }
:where(.rd) :where(button) { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
/* Element resets use :where() so they carry zero specificity and never
   out-rank the component classes below (which set their own margins). */
:where(.rd) :where(ul, ol) { list-style: none; margin: 0; padding: 0; }
:where(.rd) :where(p, figure, blockquote) { margin: 0; }
:where(.rd) :where(h1, h2, h3, h4, h5, h6) { margin: 0; font-weight: 400; }

/* ---------- layout ---------- */
.rd-wrap { width: 100%; max-width: var(--container); margin: 0 auto; }
@media (max-width: 1220px) { .rd-wrap { padding: 0 20px; } }
.rd-sec  { padding: var(--pad) 0; position: relative; }

/* ---------- type ---------- */
.rd-h1 {
  font-size: 68px; line-height: 73px; letter-spacing: -.045em;
  color: var(--navy); font-weight: 400;
}
.rd-h1 .accent { color: var(--red); }
.rd-h2 {
  font-size: 48px; line-height: 53px; letter-spacing: -.045em;
  color: var(--navy); font-weight: 400;
}
.rd-h3 { font-size: 25px; line-height: 1.25; letter-spacing: -.03em; color: var(--navy); }
.rd-lead { font-size: 16.5px; line-height: 26.5px; letter-spacing: -.01em; color: var(--muted); }
.rd-sub  { font-size: 15px; line-height: 24px; letter-spacing: -.01em; color: var(--muted); }
.rd-small{ font-size: 13px; line-height: 20px; letter-spacing: -.005em; color: var(--muted-2); }
.rd-xs   { font-size: 11.5px; line-height: 17px; color: var(--muted-3); }

.rd-eyebrow {
  display: inline-block; font-size: 10px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--red);
}
.rd-pill {
  display: inline-block; padding: 8px 17px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line-soft);
  font-size: 10px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--red); line-height: 1;
}
.rd-center { text-align: center; }
.rd-center .rd-pill { margin-bottom: 22px; }

/* ---------- buttons ---------- */
.rd-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: var(--r-btn);
  font-size: 14.5px; font-weight: 600; letter-spacing: -.01em;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
  white-space: nowrap;
}
.rd-btn svg { flex: none; }
.rd-btn--red   { background: var(--red); color: #fff; box-shadow: 0 10px 26px rgba(240,53,46,.28); }
.rd-btn--red:hover   { background: var(--red-ink); }
.rd-btn--ghost { background: #fff; color: var(--navy); border: 1px solid var(--line); }
.rd-btn--ghost:hover { border-color: var(--navy); }
.rd-btn--navy  { background: var(--navy); color: #fff; }
.rd-btn--navy:hover  { background: #08526b; }
.rd-btn--white { background: #fff; color: var(--red); }
.rd-btn--white:hover { background: #fff5f4; }
.rd-btn--sm { height: 44px; padding: 0 20px; font-size: 13.5px; }

.rd-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--red); font-size: 13.5px; font-weight: 600; letter-spacing: -.01em;
}
.rd-link:hover { color: var(--red-ink); }
.rd-link--amber { color: var(--amber); }

/* =====================================================================
   TOP BAR + HEADER
   ===================================================================== */
.rd-topbar { background: var(--red); color: #fff; height: 36px; display: flex; align-items: center; }
.rd-topbar .rd-wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.rd-topbar-l { display: flex; align-items: center; gap: 30px; }
.rd-topbar a, .rd-topbar span { font-size: 12px; font-weight: 600; letter-spacing: -.005em; color: #fff; }
.rd-topbar-r { display: inline-flex; align-items: center; gap: 9px; }
.rd-dot {
  width: 11px; height: 11px; border-radius: 50%; flex: none;
  background: #fff; box-shadow: inset 0 0 0 3px var(--red);
}

.rd-header {
  position: sticky; top: 0; z-index: 60; background: #fff;
  border-bottom: 1px solid var(--line-soft);
}
.rd-header .rd-wrap {
  height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px;
}
.rd-nav { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.rd-nav a {
  font-size: 13px; font-weight: 600; color: var(--ink); letter-spacing: -.005em;
  transition: color .15s ease; white-space: nowrap;
}
.rd-nav a:hover { color: var(--red); }
.rd-header-cta { display: flex; align-items: center; gap: 12px; flex: none; }
.rd-header-cta .rd-btn { height: 42px; font-size: 13px; padding: 0 20px; border-radius: 10px; }

.rd-logo-img { height: 46px; width: auto; flex: none; }

.rd-burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; align-items: center; justify-content: center; }
.rd-burger span { display: block; width: 17px; height: 1.5px; background: var(--navy); position: relative; }
.rd-burger span::before, .rd-burger span::after { content: ''; position: absolute; left: 0; width: 17px; height: 1.5px; background: var(--navy); }
.rd-burger span::before { top: -5px; } .rd-burger span::after { top: 5px; }
.rd-cartdot {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; color: var(--navy);
}
.rd-cartdot b {
  position: absolute; top: -6px; right: -6px; min-width: 17px; height: 17px; padding: 0 4px;
  background: var(--red); color: #fff; font-size: 10px; font-weight: 700;
  border-radius: 9px; display: flex; align-items: center; justify-content: center;
}

/* mobile drawer */
.rd-drawer { display: none; border-top: 1px solid var(--line-soft); background: #fff; }
.rd-drawer.open { display: block; }
.rd-drawer .rd-wrap { flex-direction: column; align-items: stretch; height: auto; padding-top: 10px; padding-bottom: 18px; gap: 2px; }
.rd-drawer a { padding: 12px 4px; font-size: 15px; font-weight: 600; color: var(--ink); }

/* =====================================================================
   HERO
   ===================================================================== */
.rd-hero {
  position: relative; overflow: hidden;
  padding: 88px 0 78px;
  background: linear-gradient(100deg, #FFFFFF 0%, #FAFDFD 42%, #ECF6F8 100%);
}
.rd-hero::before {
  content: ''; position: absolute; top: -120px; right: -80px; width: 520px; height: 520px;
  border-radius: 50%; background: #F3F1E4; opacity: .75; pointer-events: none;
}
.rd-hero::after {
  content: ''; position: absolute; bottom: -60px; left: -110px; width: 380px; height: 380px;
  border-radius: 50%; background: radial-gradient(circle, rgba(240,53,46,.09), transparent 68%);
  pointer-events: none;
}
.rd-hero .rd-wrap { position: relative; z-index: 1; }
.rd-hero-grid { display: grid; grid-template-columns: 1fr 438px; gap: 60px; align-items: start; }

.rd-hero h1 { margin: 31px 0 0; }
.rd-hero-lead { margin-top: 26px; max-width: 600px; }
.rd-hero-btns { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.rd-hero-meta { display: flex; align-items: center; gap: 14px; margin-top: 22px; flex-wrap: wrap; }
.rd-hero-meta span { font-size: 13px; color: var(--muted); letter-spacing: -.005em; }
.rd-hero-meta i { width: 3px; height: 3px; border-radius: 50%; background: var(--red); display: block; }
.rd-trustbox {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 26px;
  background: #fff; border: 1px solid var(--line-soft); border-radius: 12px;
  padding: 13px 20px; box-shadow: 0 6px 20px rgba(6,63,82,.05);
}
.rd-stars { display: inline-flex; gap: 3px; color: var(--amber); font-size: 14px; line-height: 1; }
a.rd-trustbox { text-decoration: none; transition: box-shadow .18s ease, border-color .18s ease, transform .18s ease; }
a.rd-trustbox:hover { box-shadow: 0 10px 26px rgba(6,63,82,.10); border-color: var(--line); transform: translateY(-1px); }
.rd-trustbox b { font-size: 13.5px; font-weight: 700; color: var(--navy); letter-spacing: -.01em; }
.rd-trustbox em { font-style: normal; font-size: 13px; color: var(--muted-2); }

/* hero dark card + amber offset */
.rd-herocard { position: relative; }
.rd-herocard::before {
  content: ''; position: absolute; inset: 13px -13px -13px 13px;
  background: var(--amber); border-radius: 20px;
}
.rd-herocard-in {
  position: relative; border-radius: 20px; padding: 30px;
  background: linear-gradient(150deg, #06455A 0%, #063F52 55%, #10464F 100%);
  color: #fff;
}
.rd-herocard-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.rd-tag {
  display: inline-block; padding: 6px 13px; border-radius: 999px; line-height: 1;
  font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.rd-tag--amber { background: var(--amber); color: #4A3300; }
.rd-tag--ghost { background: rgba(255,255,255,.12); color: rgba(255,255,255,.85); }
.rd-herocard h2 { font-size: 28px; line-height: 34px; letter-spacing: -.035em; color: #fff; margin: 22px 0 0; }
.rd-herocard-sub { font-size: 13.5px; line-height: 21px; color: rgba(255,255,255,.72); margin-top: 12px; }
.rd-herolist { margin-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.rd-heroitem {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px;
  border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08);
}
.rd-heroitem b {
  flex: none; width: 30px; height: 30px; border-radius: 8px; background: rgba(244,184,38,.16);
  color: var(--amber); font-size: 11.5px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.rd-heroitem strong { display: block; font-size: 13.5px; font-weight: 600; color: #fff; letter-spacing: -.01em; }
.rd-heroitem > span > span { display: block; font-size: 11.5px; color: rgba(255,255,255,.6); margin-top: 2px; }
.rd-herocard .rd-link { margin-top: 22px; }

/* =====================================================================
   TRUST STRIP
   ===================================================================== */
.rd-trust { background: #fff; padding: 20px 0 24px; }
.rd-trust-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.rd-trust-lbl { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.rd-trust-item { display: inline-flex; align-items: center; gap: 11px; font-size: 15px; font-weight: 700; color: var(--navy); letter-spacing: -.02em; }
.rd-diamond { width: 8px; height: 8px; background: var(--red); transform: rotate(45deg); flex: none; }
.rd-trust-note { text-align: center; margin-top: 12px; font-size: 10.5px; color: var(--muted-3); }

/* =====================================================================
   ELIGIBILITY
   ===================================================================== */
.rd-elig { background: var(--bg-pale); }
.rd-elig-head { max-width: 720px; margin: 0 auto 52px; }
.rd-elig-head .rd-h2 { margin-bottom: 16px; }
.rd-elig-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.rd-routecard {
  background: #fff; border: 1px solid var(--line-soft); border-radius: var(--r-card);
  padding: 38px 32px 34px; border-top: 4px solid var(--green);
  display: flex; flex-direction: column;
}
.rd-routecard--court { border-top-color: var(--amber); }
.rd-chip {
  display: inline-block; align-self: flex-start; padding: 7px 14px; border-radius: 999px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; line-height: 1;
  background: #E3F3EC; color: var(--green);
}
.rd-chip--amber { background: #FBEFD6; color: #8A5B00; }
.rd-routecard h3 { margin: 30px 0 22px; }
.rd-checklist { display: flex; flex-direction: column; gap: 16px; margin-bottom: 30px; }
/* pin both route-card CTAs to the same baseline even if the lists differ in length */
.rd-routecard .rd-link { margin-top: auto; }
.rd-checklist li { display: flex; align-items: flex-start; gap: 13px; font-size: 14px; line-height: 21px; color: var(--ink); letter-spacing: -.01em; }
.rd-tick {
  flex: none; width: 19px; height: 19px; border-radius: 50%; margin-top: 1px;
  background: #DCF0E7; color: var(--green);
  display: flex; align-items: center; justify-content: center; font-size: 9px;
}
.rd-tick--amber { background: #FBEFD6; color: #B27A00; }

.rd-cta-bar {
  margin-top: 34px; border-radius: var(--r-card); padding: 26px 30px;
  background: linear-gradient(100deg, #063F52 0%, #063F52 60%, #124a52 100%);
  display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap;
}
.rd-cta-bar small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); margin-bottom: 8px; }
.rd-cta-bar p { font-size: 15px; font-weight: 600; color: #fff; letter-spacing: -.015em; }

/* =====================================================================
   FLAGSHIP OFFER
   ===================================================================== */
.rd-flagship { background: #fff; }
.rd-splithead { display: grid; grid-template-columns: 1fr 416px; gap: 60px; align-items: end; margin-bottom: 46px; }
.rd-splithead .rd-pill { margin-bottom: 20px; }
.rd-flag-grid { display: grid; grid-template-columns: 1fr 358px; gap: 23px; align-items: stretch; }
.rd-flagcard {
  border-radius: var(--r-card); padding: 36px 38px 32px; color: #fff;
  background: linear-gradient(120deg, #063F52 0%, #063F52 52%, #23514D 100%);
  display: flex; flex-direction: column;
}
.rd-flagcard-top { display: flex; align-items: center; gap: 14px; }
.rd-flagcard-top span { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.9); letter-spacing: -.01em; }
.rd-flagcard h3 { font-size: 43px; line-height: 48px; letter-spacing: -.04em; color: #fff; margin: 26px 0 30px; }
.rd-featlist { display: grid; grid-template-columns: 1fr 1fr; gap: 15px 30px; }
.rd-featlist li { display: flex; align-items: flex-start; gap: 12px; font-size: 13.5px; line-height: 20px; color: rgba(255,255,255,.9); letter-spacing: -.01em; }
.rd-tick-d {
  flex: none; width: 18px; height: 18px; border-radius: 50%; margin-top: 1px;
  background: rgba(244,184,38,.9); color: #4A3300;
  display: flex; align-items: center; justify-content: center; font-size: 8.5px; font-weight: 700;
}
.rd-flagcard .rd-featlist { margin-bottom: 30px; }
.rd-flagcard-foot {
  margin-top: auto; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14);
  display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap;
}
.rd-flagcard-foot p { font-size: 12.5px; line-height: 19px; color: rgba(255,255,255,.72); max-width: 430px; }
.rd-flagcard-foot b { color: #fff; font-weight: 700; }
.rd-sidecards { display: flex; flex-direction: column; gap: 16px; }
.rd-sidecard {
  background: var(--bg-pale); border: 1px solid var(--line-soft); border-radius: var(--r-card);
  padding: 24px 24px 26px; display: flex; gap: 16px;
  /* share the column height evenly so the stack ends level with the flagship card */
  flex: 1 0 auto; align-items: flex-start;
}
.rd-sidecard-ic {
  flex: none; width: 38px; height: 38px; border-radius: 10px; background: #fff;
  border: 1px solid var(--line-soft); color: var(--red);
  display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700;
}
.rd-sidecard h4 { font-size: 16px; font-weight: 400; color: var(--navy); letter-spacing: -.02em; }
.rd-sidecard p { font-size: 12.5px; line-height: 19px; color: var(--muted-2); margin-top: 7px; }

/* =====================================================================
   PROCESS
   ===================================================================== */
.rd-process { background: var(--bg-light); }
.rd-process-head { max-width: 700px; margin: 0 auto 46px; }
.rd-process-head .rd-h2 { margin-bottom: 16px; }
.rd-steps { display: flex; flex-direction: column; gap: 12px; position: relative; }
.rd-step {
  position: relative; background: #fff; border-radius: var(--r-card); padding: 20px 24px 20px 16px;
  display: grid; grid-template-columns: 44px 235px 365px 1fr; gap: 24px; align-items: center;
}
.rd-step::after {
  content: ''; position: absolute; left: 38px; top: 100%; height: 12px; width: 1px; background: #C4D9DF;
}
.rd-step:last-child::after { display: none; }
.rd-step-n {
  width: 44px; height: 44px; border-radius: 11px; background: var(--navy); color: var(--amber);
  display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700;
}
.rd-step--edge .rd-step-n { background: var(--red); color: #fff; }
.rd-step-t { font-size: 16px; color: var(--navy); letter-spacing: -.025em; }
.rd-step-col small {
  display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .11em;
  text-transform: uppercase; color: var(--red); margin-bottom: 7px;
}
.rd-step-col p { font-size: 12.5px; line-height: 19px; color: var(--muted); letter-spacing: -.005em; }
.rd-step-col--ours p { color: var(--ink); font-weight: 600; }
.rd-timing {
  margin-top: 18px; min-height: 58px; border-radius: var(--r-card); background: var(--navy);
  padding: 16px 30px; display: flex; align-items: center; gap: 26px; flex-wrap: wrap;
}
.rd-timing small { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); flex: none; }
.rd-timing p { font-size: 12.5px; line-height: 19px; color: rgba(255,255,255,.8); }

/* =====================================================================
   EVIDENCE / STATS / CLIENTS / CASE STUDIES
   ===================================================================== */
.rd-evidence { background: linear-gradient(105deg, #FFFFFF 0%, #FFFFFF 46%, #FEF8EC 100%); }
.rd-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 44px; }
.rd-stat { background: var(--bg-pale); border: 1px solid var(--line-soft); border-radius: var(--r-card); padding: 26px 22px 24px; min-height: 130px; }
a.rd-stat--link { display: block; text-decoration: none; transition: box-shadow .18s ease, border-color .18s ease, transform .18s ease; }
a.rd-stat--link:hover { box-shadow: 0 10px 26px rgba(6,63,82,.08); border-color: var(--line); transform: translateY(-1px); }
a.rd-stat--link:hover span { color: var(--red); }
.rd-stat b { display: block; font-size: 28px; font-weight: 700; color: var(--navy); letter-spacing: -.04em; line-height: 1; }
.rd-stat strong { display: block; font-size: 12.5px; font-weight: 700; color: var(--ink); margin-top: 14px; letter-spacing: -.01em; }
.rd-stat span { display: block; font-size: 10.5px; color: var(--muted-3); margin-top: 6px; }

.rd-clients {
  margin-top: 40px; border-radius: 22px; padding: 44px 34px 36px; color: #fff;
  background: linear-gradient(115deg, #063F52 0%, #063F52 48%, #2F5450 100%);
}
.rd-clients-head { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: end; margin-bottom: 34px; }
.rd-clients-head small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--amber); margin-bottom: 16px; }
.rd-clients-head h3 { font-size: 42px; line-height: 48px; letter-spacing: -.045em; color: #fff; }
.rd-clients-head p { font-size: 13.5px; line-height: 21px; color: rgba(255,255,255,.75); }
.rd-clients-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rd-client {
  display: flex; align-items: center; gap: 15px; padding: 18px 20px; border-radius: 12px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09);
}
.rd-client b {
  flex: none; width: 36px; height: 36px; border-radius: 9px; background: rgba(244,184,38,.15);
  color: var(--amber); font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.rd-client strong { display: block; font-size: 14px; font-weight: 600; color: #fff; letter-spacing: -.015em; }
.rd-client > span > span { display: block; font-size: 11px; color: rgba(255,255,255,.6); margin-top: 3px; }
.rd-clients-note { margin-top: 26px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: 10.5px; color: rgba(255,255,255,.5); }

.rd-cases { margin-top: 72px; }
.rd-cases-head { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; margin-bottom: 32px; }
.rd-cases-head small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--amber); margin-bottom: 14px; }
.rd-cases-head h3 { font-size: 36px; line-height: 42px; letter-spacing: -.04em; color: var(--navy); max-width: 640px; }
.rd-cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.rd-case {
  border-radius: var(--r-card); border: 1px solid var(--line-soft); background: var(--bg-pale);
  padding: 26px 26px 24px; display: flex; flex-direction: column; height: 100%;
}
.rd-case--dark {
  color: #fff; border: 0; border-left: 4px solid var(--amber);
  background: linear-gradient(150deg, #063F52 0%, #063F52 60%, #1C4A4F 100%);
}
.rd-case-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.rd-case-no { font-size: 10.5px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--amber); }
.rd-case:not(.rd-case--dark) .rd-case-no { color: var(--red); }
.rd-case-badge { padding: 6px 12px; border-radius: 999px; font-size: 9.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; line-height: 1; }
.rd-case--dark .rd-case-badge { background: #fff; color: var(--navy); }
.rd-case-badge--green { background: #DCF0E7; color: var(--green); }
.rd-case-badge--amber { background: #FBEFD6; color: #8A5B00; }
.rd-case-kicker { font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red); margin-bottom: 12px; }
.rd-case--dark .rd-case-kicker { color: rgba(255,255,255,.75); }
.rd-case h4 { font-size: 20px; line-height: 27px; letter-spacing: -.03em; color: var(--navy); font-weight: 400; }
.rd-case--dark h4 { color: #fff; }
.rd-case-fig {
  margin-top: 22px; border-radius: 12px; padding: 18px 20px;
  background: #fff; border: 1px solid var(--line-soft);
}
.rd-case--dark .rd-case-fig { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.1); }
.rd-case-fig b { display: block; font-size: 26px; font-weight: 700; letter-spacing: -.04em; color: var(--red); line-height: 1; }
.rd-case--dark .rd-case-fig b { color: var(--amber); }
.rd-case-fig span { display: block; font-size: 10.5px; color: var(--muted-2); margin-top: 8px; }
.rd-case--dark .rd-case-fig span { color: rgba(255,255,255,.6); }
.rd-timeline { margin-top: 24px; display: flex; flex-direction: column; gap: 13px; }
.rd-timeline li { display: grid; grid-template-columns: 92px 1fr; gap: 14px; align-items: baseline; padding-left: 12px; border-left: 2px solid var(--amber); }
.rd-timeline b { font-size: 11.5px; font-weight: 700; color: var(--amber); letter-spacing: -.01em; }
.rd-timeline span { font-size: 11.5px; color: rgba(255,255,255,.85); }
.rd-caselist { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.rd-caselist li { display: flex; align-items: flex-start; gap: 11px; font-size: 12.5px; line-height: 19px; color: var(--ink); }
.rd-note-amber { margin-top: 20px; border-radius: 10px; background: #FDF3DE; padding: 13px 15px; font-size: 11.5px; line-height: 17px; color: #7A5600; }
.rd-case-foot { margin-top: auto; padding-top: 26px; font-size: 10px; line-height: 15px; color: var(--muted-3); }
.rd-case--dark .rd-case-foot { color: rgba(255,255,255,.45); }
/* per-card CTA, pinned to the bottom so the three line up */
.rd-case-cta {
  margin-top: auto; padding-top: 26px; display: inline-flex; align-items: center; gap: 9px;
  font-size: 12.5px; font-weight: 600; color: var(--red); text-decoration: none; letter-spacing: -.01em;
}
.rd-case-cta svg { transition: transform .18s ease; }
.rd-case-cta:hover svg { transform: translateX(3px); }
.rd-case--dark .rd-case-cta { color: var(--amber); }
/* the disclaimer that used to repeat inside every card */
.rd-cases-note { margin-top: 22px; font-size: 11px; line-height: 17px; color: var(--muted-3); max-width: 900px; }

.rd-principles {
  margin-top: 24px; border-radius: var(--r-card); background: var(--bg-light);
  padding: 30px 34px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px;
}
.rd-principle { display: grid; grid-template-columns: 30px 1fr; gap: 14px; align-items: start; }
.rd-principle b { font-size: 11px; font-weight: 700; color: var(--red); padding-top: 3px; }
.rd-principle h5 { font-size: 15px; font-weight: 400; color: var(--navy); letter-spacing: -.025em; margin: 0; }
.rd-principle p { font-size: 11.5px; line-height: 17px; color: var(--muted-2); margin-top: 7px; }

/* =====================================================================
   REVIEWS
   ===================================================================== */
.rd-reviews {
  color: #fff; position: relative; overflow: hidden;
  background:
    radial-gradient(90% 120% at 100% 100%, rgba(20,120,140,.35), transparent 60%),
    radial-gradient(70% 100% at 0% 60%, rgba(12,95,95,.30), transparent 62%),
    #063F52;
}
.rd-reviews-head { display: grid; grid-template-columns: 1fr 416px; gap: 50px; align-items: center; margin-bottom: 34px; }
.rd-reviews .rd-pill { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); color: var(--amber); }
.rd-reviews h2 { font-size: 48px; line-height: 54px; letter-spacing: -.045em; color: #fff; margin-top: 20px; max-width: 560px; }
.rd-tp {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px; padding: 20px 24px; display: flex; align-items: center; gap: 18px;
}
.rd-tp b { display: block; font-size: 14px; font-weight: 700; color: #fff; letter-spacing: -.01em; }
/* scoped to the text column so it cannot out-rank .rd-stars on the icon span */
.rd-tp > div > span { display: block; font-size: 11.5px; color: rgba(255,255,255,.6); margin-top: 3px; }
.rd-tp .rd-stars { font-size: 16px; }
.rd-quote {
  border-radius: var(--r-card); padding: 34px 38px 28px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1);
}
.rd-quote-mark { font-size: 44px; line-height: .8; color: var(--amber); font-weight: 700; }
.rd-quote p { font-size: 28px; line-height: 40px; letter-spacing: -.035em; color: #fff; margin-top: 6px; padding-left: 14px; max-width: 920px; }
.rd-quote-foot {
  margin-top: 30px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.13);
  display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.rd-quote-foot b { display: block; font-size: 13.5px; font-weight: 700; color: #fff; letter-spacing: -.01em; }
.rd-quote-foot span { display: block; font-size: 11.5px; color: rgba(255,255,255,.6); margin-top: 4px; }
.rd-quote-foot em { font-style: normal; font-size: 11px; color: rgba(255,255,255,.55); }
.rd-revgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 22px; }
.rd-rev {
  border-radius: var(--r-card); padding: 24px 26px 24px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  display: flex; flex-direction: column;
}
a.rd-rev { text-decoration: none; transition: background .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease; }
a.rd-rev:hover {
  background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.24);
  transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0,0,0,.20);
}
a.rd-rev:hover .rd-av--img { box-shadow: 0 0 0 2px rgba(244,184,38,.75); }
.rd-rev-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.rd-revtag {
  flex: none; padding: 5px 9px; border-radius: 999px; border: 1px solid transparent;
  font-size: 9.5px; font-weight: 700; letter-spacing: .085em; text-transform: uppercase; line-height: 1;
}
.rd-revtag--green { background: rgba(23,166,115,.16); color: #63D6AA; border-color: rgba(23,166,115,.32); }
.rd-revtag--amber { background: rgba(244,184,38,.14); color: var(--amber);  border-color: rgba(244,184,38,.32); }
.rd-rev h4 { font-size: 18px; font-weight: 400; color: #fff; letter-spacing: -.025em; margin: 18px 0 12px; }
.rd-rev p { font-size: 12.5px; line-height: 20px; color: rgba(255,255,255,.78); }
.rd-rev small { display: block; margin-top: 18px; font-size: 10.5px; color: rgba(255,255,255,.5); }
.rd-rev-check {
  width: 26px; height: 26px; border-radius: 50%; background: #17A673; color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 11px;
}

/* reviewer avatars: initials, the convention Trustpilot itself uses when a
   reviewer has no photo â so no stock face stands in for a real person */
.rd-av {
  flex: none; width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; letter-spacing: .02em;
  color: #063F52; background: var(--amber); border: 1px solid rgba(255,255,255,.22);
}
.rd-av--lg { width: 46px; height: 46px; font-size: 14.5px; }
.rd-av--img {
  padding: 0; background: none; border-color: transparent; object-fit: cover;
  box-shadow: 0 0 0 2px rgba(255,255,255,.16); transition: box-shadow .18s ease;
}
.rd-quote-top { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.rd-quote-top .rd-stars { font-size: 15px; }
.rd-quote-top span { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.rd-quote-who, .rd-rev-who { display: flex; align-items: center; gap: 13px; }
.rd-rev-who { margin-top: auto; padding-top: 20px; }  /* attribution rows line up across cards */
.rd-rev-who b { display: block; font-size: 12.5px; font-weight: 700; color: #fff; letter-spacing: -.01em; }
.rd-rev-who small { margin-top: 4px; }
.rd-quote-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 9px; }
.rd-tplink {
  font-size: 11.5px; font-weight: 600; color: var(--amber); text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
}
.rd-tplink:hover { text-decoration: underline; }
a.rd-tp { text-decoration: none; transition: background .18s ease, border-color .18s ease; }
a.rd-tp:hover { background: rgba(255,255,255,.11); border-color: rgba(255,255,255,.22); }
.rd-revnote {
  margin-top: 26px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.13);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.rd-revnote p { font-size: 11.5px; line-height: 18px; color: rgba(255,255,255,.6); max-width: 680px; }
.rd-revnote b { color: rgba(255,255,255,.85); font-weight: 700; }

/* =====================================================================
   PRICING
   ===================================================================== */
.rd-pricing { background: var(--bg-pale); }
.rd-pricing-head { max-width: 740px; margin: 0 auto 46px; }
.rd-pricing-head .rd-h2 { margin-bottom: 16px; }
.rd-price-grid { display: grid; grid-template-columns: 1fr 462px; gap: 35px; align-items: start; }
.rd-pricecard {
  border-radius: var(--r-card); padding: 34px 36px 32px; color: #fff;
  background: linear-gradient(140deg, #063F52 0%, #063F52 58%, #1B4A50 100%);
  border-bottom: 4px solid var(--amber);
  display: flex; flex-direction: column;
}
.rd-pricecard > .rd-tag { align-self: flex-start; }
.rd-pricecard h3 { font-size: 36px; line-height: 42px; letter-spacing: -.04em; color: #fff; margin: 24px 0 18px; }
.rd-price { display: flex; align-items: baseline; gap: 2px; color: var(--amber); }
.rd-price sup { font-size: 26px; font-weight: 700; line-height: 1; letter-spacing: -.03em; top: 0; }
.rd-price b { font-size: 60px; font-weight: 700; line-height: 1; letter-spacing: -.045em; }
.rd-pricecard-note { font-size: 12.5px; color: rgba(255,255,255,.72); margin-top: 14px; }
.rd-pricecard .rd-featlist { margin-top: 26px; margin-bottom: 30px; }
.rd-pricecard .rd-btn { margin-top: auto; align-self: flex-start; }
.rd-chip--blue { background: #E4EFF3; color: var(--navy); }
.rd-pricecard-actions { margin-top: auto; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.rd-pricecard-actions .rd-btn { margin-top: 0; }
.rd-pricecard-added { background: #fff; color: var(--green); border: 1px solid rgba(23,166,115,.35); }
.rd-pricecard-added:hover { background: #fff; color: var(--red); border-color: var(--red); }
.rd-pricecard-alt { font-size: 12px; color: rgba(255,255,255,.62); text-decoration: underline; }
.rd-pricecard-alt:hover { color: var(--amber); }

/* ---------- on-page shop (right-hand column of the pricing grid) ---------- */
.rd-shop { display: flex; flex-direction: column; gap: 16px; }
/* a class-level `display` out-ranks the UA rule behind the hidden attribute,
   so every element toggled by JS has to opt back out explicitly */
.rd-shop-locked[hidden], .rd-shop-open[hidden], .rd-shopbtn[hidden], .rd-btn[hidden] { display: none; }

/* locked preview, before the main service is added */
.rd-shop-locked {
  background: #fff; border: 1px dashed var(--line); border-radius: var(--r-card); padding: 28px 30px 30px;
}
.rd-shop-locked h4 { font-size: 22px; font-weight: 400; color: var(--navy); letter-spacing: -.03em; margin: 18px 0 10px; }
.rd-shop-locked > p { font-size: 12.5px; line-height: 20px; color: var(--muted); }
.rd-shop-locked ul { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line-soft); display: flex; flex-direction: column; gap: 12px; }
.rd-shop-locked li { display: flex; align-items: center; gap: 11px; font-size: 13px; color: var(--muted); }
.rd-shop-locked li i { font-size: 8.5px; color: var(--muted-3); }
.rd-shop-locked li em { font-style: normal; margin-left: auto; font-weight: 700; color: var(--navy); }

/* open shop */
.rd-shop-open { display: flex; flex-direction: column; gap: 14px; }
.rd-shop-head { margin-bottom: 2px; }
.rd-shop-head h4 { font-size: 22px; font-weight: 400; color: var(--navy); letter-spacing: -.03em; margin: 16px 0 8px; }
.rd-shop-head p { font-size: 12.5px; line-height: 19px; color: var(--muted); }

.rd-shopitem {
  background: #fff; border: 1px solid var(--line-soft); border-radius: 14px; padding: 20px 22px;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.rd-shopitem.is-in { border-color: var(--green); box-shadow: 0 0 0 3px rgba(23,166,115,.1); }
.rd-shopitem-main { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.rd-shopitem h5 { font-size: 16px; font-weight: 700; color: var(--navy); letter-spacing: -.022em; }
.rd-shopitem-badge {
  margin-left: 9px; padding: 3px 8px; border-radius: 999px; background: #FBEFD6; color: #8A5B00;
  font-size: 9px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; vertical-align: middle;
}
.rd-shopitem-main p { font-size: 12px; line-height: 18px; color: var(--muted); margin-top: 7px; max-width: 300px; }
.rd-shopitem-main > b { flex: none; font-size: 19px; font-weight: 700; color: var(--navy); letter-spacing: -.03em; }
.rd-shopitem-foot { margin-top: 16px; }
.rd-shopbtn {
  display: inline-flex; align-items: center; gap: 9px; padding: 9px 15px; margin: 0;
  border-radius: 9px; border: 1px solid var(--line); background: var(--bg-pale);
  font: inherit; font-size: 12.5px; font-weight: 700; color: var(--navy); letter-spacing: -.01em;
  cursor: pointer; transition: background .16s ease, border-color .16s ease, color .16s ease;
}
.rd-shopbtn i { font-size: 10px; }
.rd-shopbtn:hover { background: #fff; border-color: var(--navy); }
.rd-shopbtn--remove { background: #E7F6EF; border-color: rgba(23,166,115,.4); color: var(--green); }
.rd-shopbtn--remove:hover { background: #fff; border-color: var(--red); color: var(--red); }
.rd-shopbtn[disabled] { opacity: .55; cursor: default; }

/* order summary */
.rd-summary {
  background: var(--bg-pale); border: 1px solid var(--line-soft); border-radius: 14px; padding: 22px;
}
.rd-summary h5 { font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: 15px; }
.rd-summary-lines { display: flex; flex-direction: column; gap: 10px; }
.rd-summary-line { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; font-size: 12.5px; color: var(--ink); }
.rd-summary-line span:first-child { color: var(--muted); }
.rd-summary-line b { font-weight: 700; color: var(--navy); }
.rd-summary-empty { font-size: 12.5px; color: var(--muted-3); }
.rd-summary-total {
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line);
  display: flex; align-items: baseline; justify-content: space-between;
}
.rd-summary-total span { font-size: 12.5px; font-weight: 700; color: var(--navy); }
.rd-summary-total b { font-size: 22px; font-weight: 700; color: var(--navy); letter-spacing: -.035em; }
.rd-summary-note { margin-top: 12px; font-size: 10.5px; line-height: 16px; color: var(--muted-3); }
.rd-summary-go { width: 100%; justify-content: center; margin-top: 16px; }
.rd-summary-cart { display: block; text-align: center; margin-top: 11px; font-size: 11.5px; color: var(--muted-2); text-decoration: underline; }
.rd-summary-cart:hover { color: var(--red); }

/* which payment methods are live — rendered from settings, not hardcoded */
.rd-paystrip {
  margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line-soft);
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.rd-paystrip span { font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-3); }
.rd-paystrip b {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 8px;
  background: var(--bg-pale); border: 1px solid var(--line-soft);
  font-size: 11.5px; font-weight: 700; color: var(--navy);
}
.rd-paystrip b i { font-size: 11px; color: var(--muted-2); }
.rd-paystrip--sm { margin-top: 14px; padding-top: 14px; justify-content: center; }
.rd-paystrip--sm b { background: #fff; }

.rd-shop-reassure {
  margin-top: 16px; display: flex; align-items: flex-start; gap: 9px;
  font-size: 11.5px; line-height: 17px; color: var(--muted-2);
}
.rd-shop-reassure i { color: var(--green); font-size: 11px; margin-top: 2px; }

.rd-pricecard-step {
  font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.5); margin-bottom: 2px;
}

.rd-shop-status { display: none; margin-top: 16px; font-size: 12.5px; }
.rd-shop-status.is-ok  { display: block; color: var(--green); }
.rd-shop-status.is-err { display: block; color: var(--red); }

.rd-govfees {
  margin-top: 24px; background: #fff; border: 1px solid var(--line-soft);
  border-left: 4px solid var(--navy); border-radius: var(--r-card); padding: 28px 30px 26px;
}
.rd-govfees-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 22px; }
.rd-govfees-head small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--red); margin-bottom: 12px; }
.rd-govfees-head h3 { font-size: 25px; letter-spacing: -.03em; color: var(--navy); }
.rd-govfees-head em { font-style: normal; font-size: 11.5px; color: var(--muted-2); }
.rd-fees { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.rd-fee { background: var(--bg-pale); border: 1px solid var(--line-soft); border-radius: 12px; padding: 18px 20px 20px; }
.rd-fee small { display: block; font-size: 11.5px; color: var(--muted); }
.rd-fee b { display: block; font-size: 21px; font-weight: 700; color: var(--navy); letter-spacing: -.035em; margin: 10px 0 12px; }
.rd-fee span { display: block; font-size: 10.5px; color: var(--muted-3); }
.rd-govfees > p { margin-top: 20px; font-size: 11px; color: var(--muted-3); }

/* =====================================================================
   FAQ
   ===================================================================== */
.rd-faq { background: #fff; }
.rd-faq-grid { display: grid; grid-template-columns: 355px 1fr; gap: 60px; align-items: start; }
.rd-faq-side .rd-h2 { margin: 20px 0 18px; font-size: 40px; line-height: 45px; }
.rd-faq-side .rd-lead { margin-bottom: 28px; }
.rd-faq-list { display: flex; flex-direction: column; gap: 12px; }
.rd-faq-item { background: var(--bg-light); border-radius: 12px; overflow: hidden; }
.rd-faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 21px 24px; text-align: left; min-height: 67px;
  font-size: 13.5px; font-weight: 700; color: var(--navy); letter-spacing: -.015em;
}
.rd-faq-ic {
  flex: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; color: var(--red);
  display: flex; align-items: center; justify-content: center; font-size: 13px; line-height: 1;
  transition: transform .25s ease;
}
.rd-faq-item.open .rd-faq-ic { transform: rotate(45deg); }
.rd-faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.rd-faq-item.open .rd-faq-a { grid-template-rows: 1fr; }
.rd-faq-a > div { overflow: hidden; }
.rd-faq-a p { padding: 0 24px 22px; font-size: 13px; line-height: 21px; color: var(--muted); }

/* =====================================================================
   GUIDES
   ===================================================================== */
.rd-guides { background: var(--bg-light); }
.rd-guides-head { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; margin-bottom: 34px; }
.rd-guides-head .rd-h2 { margin-top: 20px; font-size: 44px; line-height: 49px; }
.rd-guides-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.rd-guide { background: #fff; border-radius: var(--r-card); padding: 14px 14px 24px; display: flex; flex-direction: column; }
.rd-guide-fig {
  position: relative; overflow: hidden; border-radius: 12px; height: 165px;
  display: flex; align-items: center; padding: 0 26px;
}
.rd-guide-fig--navy  { background: linear-gradient(135deg, #1B4C5F 0%, #063F52 100%); }
.rd-guide-fig--amber { background: linear-gradient(135deg, #F5C13E 0%, #E9A81A 100%); }
.rd-guide-fig--red   { background: linear-gradient(135deg, #F4564C 0%, #DB2018 100%); }
.rd-guide-fig--photo { padding: 0; background: var(--navy); }
.rd-guide-fig--photo img { width: 100%; height: 100%; object-fit: cover; }
/* scrim so the index number stays legible over any photo */
.rd-guide-fig--photo::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(6,63,82,.42) 0%, rgba(6,63,82,.06) 42%, rgba(6,63,82,.30) 100%);
}
.rd-guide-fig--photo em { z-index: 2; color: #fff; }
.rd-guide-fig b { font-size: 30px; font-weight: 700; color: #fff; letter-spacing: -.03em; position: relative; z-index: 1; }
.rd-guide-fig i {
  position: absolute; right: -34px; bottom: -58px; width: 156px; height: 156px; border-radius: 50%;
  border: 22px solid rgba(255,255,255,.14);
}
.rd-guide-fig em {
  position: absolute; top: 14px; right: 18px; font-style: normal;
  font-size: 11px; font-weight: 600; color: rgba(255,255,255,.75);
}
.rd-guide-body { padding: 22px 12px 0; display: flex; flex-direction: column; flex: 1; }
.rd-guide-cat { font-size: 10.5px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; color: var(--red); }
.rd-guide-body h3 { font-size: 18px; line-height: 25px; letter-spacing: -.025em; margin: 14px 0 18px; }
.rd-guide-body p { font-size: 12.5px; line-height: 19px; color: var(--muted-2); margin-bottom: 20px; }
.rd-guide-body .rd-link { margin-top: auto; font-size: 12.5px; }

/* =====================================================================
   FINAL CTA
   ===================================================================== */
.rd-cta {
  /* navy, not red: the footer bar below is brand red, and two reds stacked
     flattened the end of the page */
  position: relative; overflow: hidden; color: #fff; padding: 88px 0;
  background:
    radial-gradient(58% 90% at 88% 6%, rgba(244,184,38,.17), transparent 62%),
    radial-gradient(64% 100% at 4% 96%, rgba(23,166,115,.16), transparent 60%),
    linear-gradient(160deg, #08475C 0%, #053444 58%, #042B38 100%);
}
/* brand hairline along the top edge, and a faint grid so the panel is not flat */
.rd-cta::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--red) 0%, var(--amber) 52%, rgba(244,184,38,0) 100%);
}
.rd-cta::after {
  content: ''; position: absolute; inset: 3px 0 0 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 56px 56px, 56px 56px;
  mask-image: radial-gradient(75% 75% at 30% 40%, #000 25%, transparent 78%);
}
.rd-cta > .rd-wrap { position: relative; z-index: 1; }

/* copy left, form card right; both columns run to the same depth */
.rd-cta-grid { display: grid; grid-template-columns: 1fr 452px; gap: 64px; align-items: stretch; }
.rd-cta-copy { display: flex; flex-direction: column; }
.rd-cta .rd-pill { align-self: flex-start; background: rgba(255,255,255,.08); border-color: rgba(244,184,38,.34); color: var(--amber); }
.rd-cta h2 { font-size: 40px; line-height: 46px; letter-spacing: -.042em; color: #fff; margin: 22px 0 16px; max-width: 570px; }
.rd-cta-sub { font-size: 14.5px; line-height: 24px; color: rgba(255,255,255,.74); letter-spacing: -.01em; max-width: 490px; }

/* numbered "what happens next" — this is what balances the form height */
.rd-cta-steps { margin-top: 34px; display: flex; flex-direction: column; gap: 20px; }
.rd-cta-step { display: grid; grid-template-columns: 32px 1fr; gap: 16px; align-items: start; }
.rd-cta-step > b {
  width: 32px; height: 32px; border-radius: 50%; font-size: 12.5px; font-weight: 700;
  background: rgba(244,184,38,.13); border: 1px solid rgba(244,184,38,.42); color: var(--amber);
  display: flex; align-items: center; justify-content: center;
}
.rd-cta-step strong { display: block; font-size: 14.5px; font-weight: 600; color: #fff; letter-spacing: -.018em; }
.rd-cta-step span { display: block; font-size: 12.5px; line-height: 19px; color: rgba(255,255,255,.6); margin-top: 5px; max-width: 470px; }

/* pinned to the bottom of the column so it lines up with the card's base */
.rd-cta-alt {
  margin-top: auto; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.13);
  display: flex; align-items: center; gap: 14px 24px; flex-wrap: wrap;
}
.rd-cta-alt-label { font-size: 12.5px; color: rgba(255,255,255,.5); }
.rd-cta-alt a { display: inline-flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 600; color: #fff; letter-spacing: -.01em; }
.rd-cta-alt a i { font-size: 10.5px; color: var(--amber); }
.rd-cta-alt a:hover { color: var(--amber); }

/* ---- form card ---- */
.rd-cta-form {
  background: #fff; border-radius: 16px; padding: 28px 28px 24px;
  box-shadow: 0 26px 64px rgba(0,0,0,.26); align-self: start;
}
.rd-cta-formhead { padding-bottom: 18px; margin-bottom: 20px; border-bottom: 1px solid var(--line-soft); }
.rd-cta-formhead b { display: block; font-size: 19px; font-weight: 400; color: var(--navy); letter-spacing: -.028em; }
.rd-cta-formhead span { display: block; font-size: 11.5px; color: var(--muted-2); margin-top: 6px; }
.rd-cta-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* .rd-cf, not .rd-field: .rd-field belongs to the route-check modal and carries
   margin-top:30px, which was adding ~30px of dead space to every row here.
   style.css also sets `input, select, textarea { margin: 10px 0 }` globally. */
.rd-cf { display: flex; flex-direction: column; gap: 6px; min-width: 0; margin: 0; }
.rd-cf--full { grid-column: 1 / -1; }
.rd-cf > span { font-size: 11px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; color: var(--muted-2); }
.rd-cf > span em { font-style: normal; color: var(--red); }
.rd-cf > span small { font-weight: 400; font-size: 10px; letter-spacing: 0; text-transform: none; color: var(--muted-3); }
.rd-cf input, .rd-cf textarea {
  width: 100%; margin: 0; padding: 11px 13px; font: inherit; font-size: 13.5px; color: var(--ink);
  background: var(--bg-pale); border: 1px solid var(--line-soft); border-radius: 9px; outline: none;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
.rd-cf textarea { resize: vertical; min-height: 74px; line-height: 20px; }
.rd-cf input::placeholder, .rd-cf textarea::placeholder { color: var(--muted-3); }
.rd-cf input:focus, .rd-cf textarea:focus { background: #fff; border-color: var(--red); box-shadow: 0 0 0 3px rgba(236,48,42,.12); }
.rd-cf.is-invalid input, .rd-cf.is-invalid textarea { border-color: var(--red); background: #FFF6F5; }
.rd-cta-submit { width: 100%; justify-content: center; margin: 18px 0 0; }
.rd-cta-status { display: none; margin-top: 13px; font-size: 12.5px; line-height: 19px; }
.rd-cta-status.is-ok   { display: block; color: var(--green); }
.rd-cta-status.is-err  { display: block; color: var(--red); }
.rd-cta-status.is-busy { display: block; color: var(--muted-2); }
.rd-cta-small { margin-top: 14px; font-size: 10.5px; line-height: 16px; color: var(--muted-3); }
.rd-cta-small i { color: var(--muted-3); margin-right: 6px; font-size: 9.5px; }
.rd-cta-small a { color: var(--muted-2); text-decoration: underline; }
.rd-cta-small a:hover { color: var(--red); }

/* =====================================================================
   FOOTER
   ===================================================================== */
.rd-footer { background: #fff; color: var(--ink); padding: 70px 0 0; border-top: 1px solid var(--line-soft); }
.rd-footer-grid { display: grid; grid-template-columns: 1.55fr .85fr .85fr .95fr 1.05fr; gap: 36px; }
.rd-footer .rd-logo-img { height: 48px; }
.rd-footer-about { font-size: 13.5px; line-height: 21px; color: var(--muted); margin-top: 26px; max-width: 300px; }
.rd-footer h4 { font-size: 11.5px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--navy); margin-bottom: 24px; }
.rd-footer-col { display: flex; flex-direction: column; }
.rd-footer-col > * + * { margin-top: 15px; }
.rd-footer-col a, .rd-footer-col span { font-size: 13px; color: var(--muted); letter-spacing: -.005em; }
.rd-footer-col a:hover { color: var(--red); }

/* newsletter */
.rd-newsletter {
  margin-top: 52px; padding: 30px 32px; border-radius: var(--r-card);
  background: var(--bg-pale); border: 1px solid var(--line-soft);
  display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: center;
}
.rd-newsletter-copy h4 { color: var(--navy); font-size: 18px; font-weight: 400; letter-spacing: -.025em; text-transform: none; margin-bottom: 10px; }
.rd-newsletter-copy p { font-size: 13px; line-height: 20px; color: var(--muted); max-width: 420px; }
.rd-newsletter-row { display: flex; gap: 11px; flex-wrap: wrap; }
.rd-newsletter-row input {
  flex: 1 1 220px; min-width: 0; margin: 0; padding: 14px 16px; font: inherit; font-size: 14px; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 10px; outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.rd-newsletter-row input::placeholder { color: var(--muted-3); }
.rd-newsletter-row input:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(236,48,42,.13); }
.rd-newsletter-row .rd-btn { flex: none; }
.rd-newsletter-status { display: none; margin-top: 12px; font-size: 12.5px; line-height: 18px; }
.rd-newsletter-status.is-ok  { display: block; color: var(--green); }
.rd-newsletter-status.is-err { display: block; color: var(--red); }
.rd-newsletter-status.is-busy { display: block; color: var(--muted-2); }
.rd-newsletter-small { margin-top: 11px; font-size: 11px; color: var(--muted); }
.rd-newsletter-small a { color: var(--muted-2); text-decoration: underline; }
.rd-newsletter-small a:hover { color: var(--red); }
/* honeypot + screen-reader-only label */
.rd-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rd-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* full-bleed brand band: sits outside .rd-wrap so the colour runs edge to edge,
   with an inner .rd-wrap keeping the text aligned to the rest of the footer */
.rd-footer-bar { margin-top: 40px; background: var(--red); padding: 18px 0; }
.rd-footer-bar .rd-wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.rd-footer-bar p { font-size: 12px; color: #fff; letter-spacing: -.005em; }

/* =====================================================================
   3-STEP ROUTE-CHECK MODAL
   ===================================================================== */
.rd-modal {
  position: fixed; inset: 0; z-index: 200; display: none;
  align-items: center; justify-content: center; padding: 28px;
}
.rd-modal.open { display: flex; }
.rd-modal-bd { position: absolute; inset: 0; background: rgba(4,32,42,.62); backdrop-filter: blur(3px); }
.rd-modal-card {
  position: relative; width: 100%; max-width: 880px; max-height: calc(100vh - 56px);
  overflow-y: auto; background: #fff; border-radius: 26px; padding: 40px 44px 34px;
  box-shadow: 0 40px 90px rgba(4,32,42,.35);
}
.rd-modal-x {
  position: absolute; top: 28px; right: 30px; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); color: var(--navy);
  display: flex; align-items: center; justify-content: center; font-size: 17px;
}
.rd-modal-x:hover { border-color: var(--navy); }
.rd-modal-prog { display: flex; align-items: center; gap: 22px; margin-bottom: 30px; padding-right: 60px; }
.rd-modal-prog small { font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); flex: none; }
.rd-modal-track { flex: 1; height: 6px; border-radius: 3px; background: #DDEAEE; overflow: hidden; }
.rd-modal-fill { height: 100%; border-radius: 3px; background: var(--red); transition: width .3s ease; }
.rd-modal h2 { font-size: 40px; line-height: 46px; letter-spacing: -.04em; color: var(--navy); }
.rd-modal-sub { font-size: 15px; color: var(--muted); margin-top: 12px; letter-spacing: -.01em; }
.rd-step-pane { display: none; }
.rd-step-pane.active { display: block; }
.rd-field { margin-top: 30px; }
.rd-field > label, .rd-flabel {
  display: block; font-size: 13.5px; font-weight: 700; color: var(--navy);
  letter-spacing: -.015em; margin-bottom: 13px;
}
.rd-flabel em { font-style: normal; font-size: 11.5px; font-weight: 600; color: var(--muted-2); margin-left: 5px; }
.rd-opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.rd-opts--2 { grid-template-columns: repeat(2, 1fr); }
.rd-opt {
  padding: 17px 14px; border-radius: 12px; background: #E4EFF2; border: 2px solid transparent;
  font-size: 13.5px; font-weight: 700; color: var(--navy); letter-spacing: -.015em;
  text-align: center; transition: background .15s ease, border-color .15s ease;
}
.rd-opt:hover { background: #D7E7EC; }
.rd-opt.sel { background: #fff; border-color: var(--red); color: var(--red); }
.rd-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 26px; }
.rd-input, .rd-select {
  width: 100%; height: 58px; border-radius: 12px; background: #F7FAFB;
  border: 1px solid #DCE7EA; padding: 0 18px; font-size: 15px; color: var(--navy);
  font-family: inherit; letter-spacing: -.01em;
}
.rd-input::placeholder { color: #9DAEB6; font-weight: 600; }
.rd-input:focus, .rd-select:focus { outline: none; border-color: var(--red); background: #fff; }
.rd-select { appearance: none; cursor: pointer; font-weight: 600;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%23063F52' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 20px center; padding-right: 46px; }
.rd-check { display: flex; align-items: flex-start; gap: 14px; margin-top: 28px; }
.rd-check input { appearance: none; flex: none; width: 24px; height: 24px; border: 2px solid var(--navy); border-radius: 5px; cursor: pointer; margin: 0; position: relative; }
.rd-check input:checked { background: var(--red); border-color: var(--red); }
.rd-check input:checked::after { content: '✓'; position: absolute; inset: 0; color: #fff; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.rd-check label { font-size: 13.5px; font-weight: 700; color: var(--navy); letter-spacing: -.015em; cursor: pointer; padding-top: 3px; }
.rd-check label em { font-style: normal; font-weight: 600; color: var(--muted-2); margin-left: 8px; }
.rd-privacy { margin-top: 16px; font-size: 12.5px; color: var(--muted); }
.rd-privacy a { color: var(--red); font-weight: 700; }
.rd-modal-foot {
  margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line-soft);
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
}
.rd-modal-foot .rd-btn { min-width: 128px; }
.rd-btn[disabled] { opacity: .45; cursor: not-allowed; box-shadow: none; }
.rd-modal-done { text-align: center; padding: 18px 0 6px; }
.rd-modal-done .rd-tickbig {
  width: 66px; height: 66px; border-radius: 50%; background: #DCF0E7; color: var(--green);
  display: flex; align-items: center; justify-content: center; font-size: 28px; margin: 0 auto 24px;
}
.rd-result {
  margin-top: 26px; text-align: left; border-radius: 14px; background: var(--bg-pale);
  border: 1px solid var(--line-soft); padding: 24px 26px;
}
.rd-result small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: 10px; }
.rd-result b { display: block; font-size: 22px; letter-spacing: -.03em; color: var(--navy); font-weight: 400; }
.rd-result p { font-size: 13px; line-height: 20px; color: var(--muted); margin-top: 12px; }
.rd-result-status { margin-top: 16px; font-size: 13px; font-weight: 600; color: var(--muted); }
.rd-result-status.is-ok  { color: var(--green); }
.rd-result-status.is-err { color: var(--red); }
.rd-modal-err { margin-top: 16px; font-size: 13px; color: var(--red); font-weight: 600; display: none; }
.rd-modal-err.show { display: block; }

/* ---------- floating WhatsApp ---------- */
.rd-wa {
  position: fixed; right: 26px; bottom: 26px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(37,211,102,.4);
}

/* =====================================================================
   BLOG — listing + single article
   ===================================================================== */
.rd-pagehead {
  position: relative; overflow: hidden; padding: 62px 0 58px;
  background: linear-gradient(100deg, #FFFFFF 0%, #FAFDFD 42%, #ECF6F8 100%);
  border-bottom: 1px solid var(--line-soft);
}
.rd-pagehead::before {
  content: ''; position: absolute; top: -180px; right: -90px; width: 480px; height: 480px;
  border-radius: 50%; background: #F3F1E4; opacity: .6; pointer-events: none;
}
.rd-pagehead .rd-wrap { position: relative; z-index: 1; }
.rd-crumbs { font-size: 12.5px; color: var(--muted-2); margin-bottom: 22px; letter-spacing: -.005em; }
.rd-crumbs a { color: var(--muted); }
.rd-crumbs a:hover { color: var(--red); }
.rd-crumbs i { font-style: normal; margin: 0 9px; color: var(--muted-3); }
.rd-pagehead h1 { font-size: 52px; line-height: 57px; letter-spacing: -.045em; color: var(--navy); margin-top: 20px; max-width: 860px; }
.rd-pagehead .rd-lead { margin-top: 18px; max-width: 660px; }

.rd-blog { background: var(--bg-pale); }
.rd-blog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap; margin-bottom: 36px; }
.rd-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.rd-chip-link {
  display: inline-flex; align-items: center; height: 38px; padding: 0 17px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line-soft);
  font-size: 12.5px; font-weight: 600; color: var(--navy); letter-spacing: -.01em;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.rd-chip-link:hover { border-color: var(--navy); }
.rd-chip-link.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.rd-search { display: flex; align-items: center; background: #fff; border: 1px solid var(--line-soft); border-radius: 10px; overflow: hidden; }
.rd-search input { border: 0; height: 38px; padding: 0 15px; width: 224px; font: inherit; font-size: 13px; color: var(--navy); background: none; }
.rd-search input:focus { outline: none; }
.rd-search input::placeholder { color: var(--muted-3); }
.rd-search button { width: 40px; height: 38px; display: flex; align-items: center; justify-content: center; color: var(--red); font-size: 13px; }

.rd-postgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.rd-postcard {
  background: #fff; border: 1px solid var(--line-soft); border-radius: var(--r-card);
  padding: 14px 14px 24px; display: flex; flex-direction: column;
}
.rd-postcard-fig {
  position: relative; display: block; height: 186px; border-radius: 12px; overflow: hidden;
  background: linear-gradient(135deg, #1B4C5F 0%, #063F52 100%);
}
.rd-postcard-fig img { width: 100%; height: 100%; object-fit: cover; }
.rd-postcard-fig .rd-fig-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.45); font-size: 32px; }
.rd-postcard-body { padding: 22px 12px 0; display: flex; flex-direction: column; flex: 1; }
.rd-postcard-meta { display: flex; align-items: center; gap: 13px; flex-wrap: wrap; margin-bottom: 13px; }
.rd-postcard-cat { font-size: 10.5px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; color: var(--red); }
.rd-postcard-cat:hover { color: var(--red-ink); }
.rd-postcard-date { font-size: 11.5px; color: var(--muted-3); }
.rd-postcard h2 { font-size: 18px; line-height: 25px; letter-spacing: -.025em; margin-bottom: 14px; }
.rd-postcard h2 a { color: var(--navy); }
.rd-postcard h2 a:hover { color: var(--red); }
.rd-postcard p { font-size: 12.5px; line-height: 19px; color: var(--muted-2); margin-bottom: 22px; }
.rd-postcard .rd-link { margin-top: auto; font-size: 12.5px; }

.rd-pager { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 46px; }
.rd-pager a, .rd-pager span {
  min-width: 40px; height: 40px; padding: 0 13px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13.5px; font-weight: 600; color: var(--navy);
  background: #fff; border: 1px solid var(--line-soft);
}
.rd-pager a:hover { border-color: var(--navy); }
.rd-pager .is-current { background: var(--red); border-color: var(--red); color: #fff; }
.rd-empty { text-align: center; padding: 60px 0 20px; }
.rd-empty p { font-size: 16px; color: var(--muted); margin-bottom: 18px; }

/* ---------- single article ---------- */
.rd-article { background: #fff; }
.rd-shell { max-width: 764px; margin: 0 auto; }
.rd-post-meta {
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  padding-bottom: 24px; border-bottom: 1px solid var(--line-soft); margin-bottom: 34px;
}
.rd-post-meta > span { font-size: 12.5px; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.rd-post-meta i.fa-regular, .rd-post-meta i.fa-solid { color: var(--red); font-size: 12px; }
.rd-post-img { width: 100%; border-radius: 16px; margin-bottom: 38px; }

.rd-prose { font-size: 16.5px; line-height: 28px; color: var(--ink); letter-spacing: -.005em; }
.rd-prose > * + * { margin-top: 22px; }
.rd-prose h2 { font-size: 30px; line-height: 37px; letter-spacing: -.035em; color: var(--navy); margin-top: 46px; }
.rd-prose h3 { font-size: 22px; line-height: 29px; letter-spacing: -.03em; color: var(--navy); margin-top: 36px; }
.rd-prose h4 { font-size: 18px; line-height: 25px; letter-spacing: -.02em; color: var(--navy); margin-top: 30px; font-weight: 600; }
.rd-prose ul, .rd-prose ol { padding-left: 22px; }
.rd-prose ul li { list-style: disc; }
.rd-prose ol li { list-style: decimal; }
.rd-prose li { margin-top: 10px; padding-left: 4px; }
.rd-prose li::marker { color: var(--red); }
.rd-prose a { color: var(--red); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.rd-prose strong, .rd-prose b { font-weight: 700; color: var(--navy); }
.rd-prose blockquote {
  border-left: 3px solid var(--red); padding: 4px 0 4px 24px;
  font-size: 18px; line-height: 30px; color: var(--muted);
}
.rd-prose img { border-radius: 12px; margin: 8px 0; }
.rd-prose figure figcaption { font-size: 12.5px; color: var(--muted-3); margin-top: 10px; }
.rd-prose hr { border: 0; border-top: 1px solid var(--line-soft); margin: 34px 0; }
.rd-prose table { width: 100%; border-collapse: collapse; font-size: 14px; display: block; overflow-x: auto; }
.rd-prose th, .rd-prose td { border: 1px solid var(--line-soft); padding: 11px 13px; text-align: left; }
.rd-prose th { background: var(--bg-pale); font-weight: 700; color: var(--navy); }
.rd-prose code { background: var(--bg-light); padding: 2px 6px; border-radius: 5px; font-size: 14px; }
.rd-prose pre { background: var(--navy); color: #fff; padding: 18px 20px; border-radius: 12px; overflow-x: auto; }
.rd-prose pre code { background: none; padding: 0; color: inherit; }
.rd-prose iframe { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: 12px; }

.rd-share {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  margin-top: 46px; padding-top: 26px; border-top: 1px solid var(--line-soft);
}
.rd-share-label { font-size: 11px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--navy); }
.rd-share-links { display: flex; gap: 10px; }
.rd-share-links a {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-soft);
  display: flex; align-items: center; justify-content: center; color: var(--navy); font-size: 14px;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.rd-share-links a:hover { background: var(--red); border-color: var(--red); color: #fff; }

.rd-author {
  display: flex; gap: 20px; margin-top: 34px; padding: 26px 28px;
  background: var(--bg-pale); border: 1px solid var(--line-soft); border-radius: var(--r-card);
}
.rd-author-av {
  flex: none; width: 58px; height: 58px; border-radius: 50%; object-fit: cover;
  background: var(--navy); color: var(--amber);
  display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700;
}
.rd-author h3 { font-size: 17px; letter-spacing: -.02em; color: var(--navy); }
.rd-author h3 span { color: var(--red); }
.rd-author p { font-size: 13.5px; line-height: 21px; color: var(--muted); margin-top: 8px; }

.rd-tagrow { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin-top: 28px; }
.rd-tagrow > i { color: var(--muted-3); font-size: 12px; }
.rd-tag-chip {
  display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 999px;
  background: var(--bg-light); font-size: 12px; font-weight: 600; color: var(--navy); letter-spacing: -.01em;
}
.rd-tag-chip:hover { background: var(--navy); color: #fff; }

.rd-comments { margin-top: 54px; }
.rd-comments h2 { font-size: 26px; letter-spacing: -.03em; color: var(--navy); margin-bottom: 24px; }
.rd-flash { border-radius: 10px; padding: 14px 18px; font-size: 13.5px; font-weight: 600; margin-bottom: 24px; }
.rd-flash-success { background: #DCF0E7; color: var(--green); }
.rd-flash-error   { background: #FDE5E4; color: var(--red); }
.rd-commentlist { display: flex; flex-direction: column; gap: 18px; margin-bottom: 44px; }
.rd-comment { display: flex; gap: 16px; padding: 20px 22px; background: var(--bg-pale); border: 1px solid var(--line-soft); border-radius: 14px; }
.rd-comment-av {
  flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: var(--amber);
  display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700;
}
.rd-comment-head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-bottom: 8px; flex-wrap: wrap; }
.rd-comment-name { font-size: 14px; font-weight: 700; color: var(--navy); letter-spacing: -.01em; }
.rd-comment-date { font-size: 11.5px; color: var(--muted-3); }
.rd-comment p { font-size: 13.5px; line-height: 21px; color: var(--muted); }
.rd-cform { display: flex; flex-direction: column; gap: 16px; }
.rd-cform textarea {
  width: 100%; min-height: 150px; border-radius: 12px; background: #F7FAFB; border: 1px solid #DCE7EA;
  padding: 16px 18px; font: inherit; font-size: 15px; color: var(--navy); resize: vertical;
}
.rd-cform textarea:focus, .rd-cform input:focus { outline: none; border-color: var(--red); background: #fff; }
.rd-cform-fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rd-cform input {
  width: 100%; height: 54px; border-radius: 12px; background: #F7FAFB; border: 1px solid #DCE7EA;
  padding: 0 18px; font: inherit; font-size: 15px; color: var(--navy);
}
.rd-cform textarea::placeholder, .rd-cform input::placeholder { color: #9DAEB6; }
.rd-cform-save { display: flex; align-items: center; gap: 11px; font-size: 13px; color: var(--muted); }
.rd-cform-save input { width: 19px; height: 19px; accent-color: var(--red); flex: none; }
.rd-cform button { align-self: flex-start; }

.rd-post-cta {
  margin-top: 52px; border-radius: var(--r-card); padding: 34px 36px; color: #fff;
  background: linear-gradient(100deg, #063F52 0%, #063F52 60%, #124a52 100%);
}
.rd-post-cta h3 { font-size: 26px; letter-spacing: -.035em; color: #fff; }
.rd-post-cta p { font-size: 14px; line-height: 22px; color: rgba(255,255,255,.8); margin: 12px 0 24px; }

.rd-related { background: var(--bg-light); }
/* direct child only — a bare `.rd-related h2` would also hit the card titles
   inside .rd-postcard and blow their font size past their line-height */
.rd-related > .rd-wrap > h2 { font-size: 34px; line-height: 40px; letter-spacing: -.04em; color: var(--navy); margin-bottom: 30px; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1180px) {
  .rd { --pad: 78px; }
  .rd-hero-grid,
  .rd-flag-grid,
  .rd-price-grid { grid-template-columns: 1fr; gap: 44px; }
  .rd-herocard { max-width: 470px; }
  .rd-faq-grid { grid-template-columns: 1fr; gap: 36px; }
  .rd-stats { grid-template-columns: repeat(2, 1fr); }
  .rd-fees { grid-template-columns: repeat(2, 1fr); }
  .rd-principles { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .rd-step { grid-template-columns: 44px 1fr; gap: 18px; }
  .rd-step-col { grid-column: 2; }
  .rd-step::after { display: none; }
}
@media (max-width: 1024px) {
  .rd-nav, .rd-header-cta .rd-btn--ghost { display: none; }
  .rd-burger { display: flex; }
  .rd-splithead, .rd-clients-head, .rd-cases-head,
  .rd-reviews-head, .rd-guides-head { grid-template-columns: 1fr; gap: 26px; align-items: start; }
  .rd-cta-grid { grid-template-columns: 1fr; gap: 34px; }
  .rd-cases-grid, .rd-clients-grid, .rd-revgrid, .rd-guides-grid, .rd-postgrid { grid-template-columns: 1fr 1fr; }
  .rd-h1 { font-size: 52px; line-height: 57px; }
  .rd-h2, .rd-reviews h2, .rd-cta h2 { font-size: 38px; line-height: 43px; }
  .rd-pagehead h1 { font-size: 42px; line-height: 47px; }
  .rd-footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
  .rd-footer-about { max-width: none; }
}
@media (max-width: 860px) {
  .rd { --pad: 62px; }
  .rd-topbar-r { display: none; }
  .rd-elig-grid, .rd-cases-grid, .rd-clients-grid,
  .rd-revgrid, .rd-guides-grid, .rd-featlist, .rd-postgrid { grid-template-columns: 1fr; }
  .rd-stats { grid-template-columns: repeat(2, 1fr); }
  .rd-footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .rd-newsletter { grid-template-columns: 1fr; gap: 22px; padding: 26px 22px; }
  .rd-cform-fields { grid-template-columns: 1fr; }
  .rd-blog-toolbar { flex-direction: column; align-items: stretch; }
  .rd-search input { width: 100%; }
  .rd-search { flex: 1; }
  .rd-opts, .rd-opts--2, .rd-inputs { grid-template-columns: 1fr; }
  .rd-modal-card { padding: 30px 24px 26px; border-radius: 20px; }
  .rd-modal h2 { font-size: 30px; line-height: 36px; }
  .rd-modal-x { top: 20px; right: 20px; width: 38px; height: 38px; }
  .rd-flagcard, .rd-pricecard { padding: 28px 11px; }
  .rd-flagcard h3 { font-size: 30px; line-height: 36px; }
  .rd-quote p { font-size: 21px; line-height: 31px; }
}
@media (max-width: 620px) {
  .rd-h1 { font-size: 40px; line-height: 45px; }
  .rd-h2, .rd-reviews h2, .rd-cta h2,
  .rd-faq-side .rd-h2, .rd-guides-head .rd-h2 { font-size: 30px; line-height: 36px; }
  .rd-clients-head h3 { font-size: 30px; line-height: 36px; }
  .rd-stats, .rd-fees, .rd-principles, .rd-footer-grid { grid-template-columns: 1fr; }
  .rd-topbar-l { gap: 16px; }
  .rd-topbar a { font-size: 11px; }
  .rd-hero-btns .rd-btn, .rd-cta-btns .rd-btn { width: 100%; }
}


/* =====================================================================
   CASE STUDY PAGE
   ===================================================================== */
.rd-csmeta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 4px; }
.rd-cskicker { font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); }
.rd-cs-grid { display: grid; grid-template-columns: 1fr 372px; gap: 46px; align-items: start; }
.rd-cs-h2 { font-size: 26px; line-height: 33px; letter-spacing: -.035em; color: var(--navy); font-weight: 400; margin: 38px 0 16px; }
.rd-cs-h2:first-child { margin-top: 0; }
.rd-cs-body p { font-size: 15px; line-height: 26px; color: var(--ink); margin-bottom: 15px; letter-spacing: -.005em; }
.rd-cs-disclaimer {
  margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line-soft);
  font-size: 11px; line-height: 17px; color: var(--muted-3);
}
.rd-cs-side { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 96px; }
.rd-cs-fig {
  border-radius: var(--r-card); padding: 26px 24px;
  background: linear-gradient(120deg, #063F52 0%, #063F52 55%, #23514D 100%);
}
.rd-cs-fig b { display: block; font-size: 30px; font-weight: 700; letter-spacing: -.04em; color: var(--amber); line-height: 1; }
.rd-cs-fig span { display: block; font-size: 11.5px; color: rgba(255,255,255,.7); margin-top: 9px; }
.rd-cs-facts {
  border-radius: var(--r-card); padding: 24px; background: var(--bg-pale); border: 1px solid var(--line-soft);
}
.rd-cs-facts h3 {
  font-size: 10.5px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase;
  color: var(--red); margin-bottom: 16px;
}
.rd-cs-facts dl { display: flex; flex-direction: column; gap: 13px; }
.rd-cs-facts dl > div { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: baseline; }
.rd-cs-facts dt { font-size: 12px; color: var(--muted-2); }
.rd-cs-facts dd { font-size: 12.5px; font-weight: 700; color: var(--navy); text-align: right; letter-spacing: -.01em; }
.rd-cstimeline { display: flex; flex-direction: column; gap: 13px; }
.rd-cstimeline li { display: grid; grid-template-columns: 92px 1fr; gap: 12px; align-items: baseline; padding-left: 12px; border-left: 2px solid var(--amber); }
.rd-cstimeline b { font-size: 11.5px; font-weight: 700; color: var(--navy); }
.rd-cstimeline span { font-size: 11.5px; color: var(--muted-2); }
.rd-cs-cta {
  border-radius: var(--r-card); padding: 24px; border: 1px solid var(--line-soft);
  display: flex; flex-direction: column; gap: 11px; align-items: flex-start;
}
.rd-cs-cta p { font-size: 13.5px; font-weight: 700; color: var(--navy); letter-spacing: -.015em; margin-bottom: 4px; }
.rd-cs-cta .rd-btn { width: 100%; justify-content: center; }
.rd-cs-nav {
  margin-top: 56px; padding-top: 26px; border-top: 1px solid var(--line-soft);
  display: grid; grid-template-columns: 1fr 1fr; gap: 22px;
}
.rd-cs-navlink {
  border-radius: var(--r-card); padding: 20px 22px; border: 1px solid var(--line-soft);
  text-decoration: none; transition: border-color .18s ease, background .18s ease;
}
.rd-cs-navlink:hover { border-color: var(--line); background: var(--bg-pale); }
.rd-cs-navlink--next { text-align: right; }
.rd-cs-navlink small { display: block; font-size: 10px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; color: var(--red); margin-bottom: 8px; }
.rd-cs-navlink b { font-size: 14.5px; font-weight: 400; color: var(--navy); letter-spacing: -.02em; line-height: 21px; }

@media (max-width: 1023px) {
  .rd-cs-grid { grid-template-columns: 1fr; gap: 34px; }
  .rd-cs-side { position: static; }
}
@media (max-width: 640px) {
  .rd-cs-nav { grid-template-columns: 1fr; }
  .rd-cs-navlink--next { text-align: left; }
}

@media (max-width: 560px) {
  .rd-cta-fields { grid-template-columns: 1fr; }
  .rd-cta-form { padding: 24px 20px 22px; }
}

@media (max-width: 860px) {
  .rd-shopitem-main { flex-direction: column; gap: 10px; }
  .rd-shopitem-main p { max-width: none; }
}

/* =====================================================================
   Legacy shop pages on the design system  ·  cart.php / checkout.php
   These pages predate the redesign and load style.css first, which wins
   in three ways this block undoes:
     1. `button.btn-card` (element+class) out-ranks theme.css's `.btn-card`,
        and paints from --primary-color / --text-light. --text-light no
        longer exists, so the label fell back to inherited navy on red.
     2. `input, button { width: 100% }` plus `.grid-2`'s `1fr 1fr` stretched
        Apply to half the row; `.coupon-box button` pins 30% with !important.
     3. `.checkout-btn { background: green }` and a 6px/Bootstrap-green
        field border, neither of which is in the palette.
   Selectors carry one extra class so they out-rank style.css on
   specificity; !important appears only where style.css used it first.
   ===================================================================== */

.rd button.btn-card,
.rd a.btn-card,
.rd .coupon-box button,
.rd .cart-actions a.checkout-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: auto; height: 52px; padding: 0 26px; margin: 0;
  border: 0; border-radius: var(--r-btn);
  background: var(--red); color: #fff;
  font-family: inherit; font-size: 14.5px; font-weight: 600; letter-spacing: -.01em;
  box-shadow: 0 10px 26px rgba(240, 53, 46, .28);
  transition: background .18s ease, color .18s ease, border-color .18s ease;
  cursor: pointer; white-space: nowrap; text-decoration: none;
}
.rd button.btn-card:hover,
.rd a.btn-card:hover,
.rd .coupon-box button:hover,
.rd .cart-actions a.checkout-btn:hover { background: var(--red-ink); color: #fff; }

.rd button.btn-card:disabled,
.rd button.checkout-btn:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }

/* style.css pins the coupon button to 30% with !important — match it to release. */
.rd .coupon-box button { width: auto !important; flex: none; }

/* Place Order is the page's final commit: full-width, like the summary CTA. */
.rd button.btn-card.checkout-btn { width: 100%; }

/* Update Cart is secondary next to Proceed to Checkout — ghost, as elsewhere. */
.rd .cart-actions button.btn-card {
  background: #fff; color: var(--navy);
  border: 1px solid var(--line); box-shadow: none;
}
.rd .cart-actions button.btn-card:hover { background: #fff; border-color: var(--navy); }

/* ---- rows: field grows, button hugs its label ---- */
.rd .coupon-box { display: flex; gap: 12px; align-items: center; }
.rd .checkout-box .grid-2:has(#coupon_code) {
  grid-template-columns: 1fr auto; gap: 12px; align-items: center;
}
.rd .cart-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

/* ---- fields: match .rd-input, not the old 37px Bootstrap-green look ---- */
.rd .checkout-box input[type="text"],
.rd .checkout-box input[type="email"],
.rd .checkout-box input[type="tel"],
.rd .checkout-box input[type="password"],
.rd .checkout-box input[type="number"],
.rd .checkout-box select,
.rd .coupon-box input {
  width: 100%; height: 52px; margin: 0; padding: 0 18px;
  border: 1px solid #DCE7EA; border-radius: var(--r-btn);
  background: #F7FAFB; color: var(--navy);
  font-family: inherit; font-size: 15px; letter-spacing: -.01em;
}
.rd .checkout-box textarea {
  width: 100%; margin: 0; min-height: 110px; padding: 16px 18px;
  border: 1px solid #DCE7EA; border-radius: var(--r-btn);
  background: #F7FAFB; color: var(--navy);
  font-family: inherit; font-size: 15px; letter-spacing: -.01em;
}
.rd .checkout-box input::placeholder,
.rd .coupon-box input::placeholder { color: #9DAEB6; font-weight: 600; }
.rd .checkout-box input:focus,
.rd .checkout-box select:focus,
.rd .checkout-box textarea:focus,
.rd .coupon-box input:focus {
  outline: none; border-color: var(--red); background: #fff;
}

@media (max-width: 560px) {
  .rd .coupon-box,
  .rd .checkout-box .grid-2:has(#coupon_code) { grid-template-columns: 1fr; flex-direction: column; }
  .rd .coupon-box button { width: 100% !important; }
  .rd button.btn-card,
  .rd a.btn-card,
  .rd .cart-actions a.checkout-btn { width: 100%; }
}

/* ---- spacing + validation state (follow-up to the block above) ------------
   Zeroing the fields' margin above removed the 10px they inherited from
   style.css's `input, button` rule, so the billing fields ended up flush.
   A flex column on the box spaces every row — singles, .grid-2 pairs and the
   button — from one value. `.hidden` is restated because `.rd .checkout-box`
   out-ranks it and the multi-step flow relies on it.
   style.css also paints `input:invalid` red and `input:valid` green with no
   interaction, so every empty required field loaded red and every prefilled
   one green. `:user-invalid` restricts that to fields the visitor has
   actually touched.
   ------------------------------------------------------------------------ */

.rd .checkout-box { display: flex; flex-direction: column; gap: 18px; padding: 24px; }
.rd .checkout-box.hidden { display: none; }

/* Buttons keep their own width instead of stretching as flex children. */
.rd .checkout-box > button.btn-card { align-self: flex-start; }
.rd .checkout-box > button.btn-card.checkout-btn { align-self: stretch; }

/* Paired fields: match the vertical rhythm. */
.rd .checkout-box .grid-2 { gap: 18px; }
.rd .checkout-box .grid-2:has(#coupon_code) { gap: 12px; }

/* Neutralise the eager valid/invalid borders on the shop pages only, so the
   homepage's .rd-input rules are left untouched. */
.rd .checkout-box input:valid,   .rd .checkout-box input:invalid,
.rd .checkout-box select:valid,  .rd .checkout-box select:invalid,
.rd .checkout-box textarea:valid,.rd .checkout-box textarea:invalid,
.rd .coupon-box input:valid,     .rd .coupon-box input:invalid,
.rd .cart-table input:valid,     .rd .cart-table input:invalid {
  border-color: #DCE7EA;
}

/* Flag a field only once the visitor has actually left it wrong. */
.rd .checkout-box input:user-invalid,
.rd .checkout-box select:user-invalid,
.rd .checkout-box textarea:user-invalid { border-color: var(--red); }

/* Focus always wins over both states above. */
.rd .checkout-box input:focus,
.rd .checkout-box select:focus,
.rd .checkout-box textarea:focus,
.rd .coupon-box input:focus { border-color: var(--red); background: #fff; }

/* Cart quantity cell: same field language, sized to its content. */
.rd .cart-table input[type="number"] {
  width: 74px; height: 44px; margin: 0; padding: 0 10px; text-align: center;
  border: 1px solid #DCE7EA; border-radius: 10px;
  background: #F7FAFB; color: var(--navy);
  font-family: inherit; font-size: 15px;
}
.rd .cart-table input[type="number"]:focus { outline: none; border-color: var(--red); background: #fff; }
