/* ============================================================
   public-home.css
   Page-internal styles for the fun-run.co.uk homepage at /.
   Scoped under body.fr-public.fr-public-home.

   Foundation: donor design system (coral + warm cream + Plus
   Jakarta Sans). Selective illustrative touches — small SVG
   flourishes, numbered step circles, colour-washed sections.
   Stays in the family of the org landing + event pages.
   ============================================================ */

body.fr-public-home main {
  padding-top: var(--fr-space-7);
  padding-bottom: var(--fr-space-10);
}
@media (max-width: 900px) {
  body.fr-public-home main {
    padding-top: 0;
    padding-left: 0;
    padding-right: 0;
    max-width: 100%;
  }
}

/* ============================================================
   Photo hero — image background with text overlay
   ============================================================ */
body.fr-public-home .fr-home-hero--photo {
  position: relative;
  margin: calc(var(--fr-space-7) * -1) calc(var(--fr-container-pad-x) * -1) 0;
  padding: var(--fr-space-9) var(--fr-container-pad-x) var(--fr-space-8);
  min-height: 26rem;
  display: flex;
  align-items: flex-start;
  isolation: isolate;
  overflow: hidden;
}
/* Background photo — brightened and saturated for an optimistic feel */
body.fr-public-home .fr-home-hero--photo .fr-home-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  z-index: 0;
  filter: brightness(1.12) saturate(1.35) contrast(1.05) blur(3.8px);
  /* scale up slightly so the blur doesn't reveal soft edges */
  transform: scale(1.03);
}
/* Sky-blue wash across the top to lift mood, fading to clear */
body.fr-public-home .fr-home-hero--photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(120, 190, 235, 0.35) 0%,
      rgba(120, 190, 235, 0.10) 35%,
      rgba(120, 190, 235, 0) 55%);
  z-index: 1;
  pointer-events: none;
}
/* Very light top band — most of the legibility work is on the text panel */
body.fr-public-home .fr-home-hero--photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(0,0,0,0.20) 0%,
      rgba(0,0,0,0.05) 30%,
      rgba(0,0,0,0) 60%);
  z-index: 2;
  pointer-events: none;
}
body.fr-public-home .fr-home-hero--photo .fr-home-hero__inner {
  width: 100%;
  max-width: 48rem;
  position: relative;
  z-index: 3;
}
body.fr-public-home .fr-home-hero--photo .fr-home-hero__title,
body.fr-public-home .fr-home-hero--photo .fr-home-hero__lede,
body.fr-public-home .fr-home-hero--photo .fr-home-hero__trust {
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.55), 0 1px 3px rgba(0,0,0,0.45);
}
body.fr-public-home .fr-home-hero--photo .fr-home-hero__title {
  font-size: clamp(2.97rem, 5.94vw + 0.66rem, 5.28rem);
  margin-bottom: var(--fr-space-4);
  text-wrap: balance;
}
body.fr-public-home .fr-home-hero--photo .fr-home-hero__lede {
  font-size: clamp(var(--fr-text-lg), 1.6vw + 0.5rem, var(--fr-text-xl));
  font-weight: var(--fr-weight-bold);
  margin-bottom: var(--fr-space-5);
  text-shadow: 0 1px 4px rgba(0,0,0,0.45);
}
body.fr-public-home .fr-home-hero--photo .fr-home-hero__cta {
  margin-bottom: 0;
}
body.fr-public-home .fr-home-hero--photo .fr-home-hero__trust {
  color: #fff;
  margin-top: var(--fr-space-3);
  font-size: var(--fr-text-sm);
  text-shadow: 0 2px 10px rgba(0,0,0,0.7), 0 1px 3px rgba(0,0,0,0.55);
}
/* Pill is muted on the photo — coral button is the only bright accent */
body.fr-public-home .fr-home-hero--photo .fr-home-hero__eyebrow {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  margin: 0 0 var(--fr-space-4);
  font-size: var(--fr-text-xs);
  font-weight: var(--fr-weight-medium);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
  text-shadow: 0 1px 2px rgba(0,0,0,0.35);
}
/* Decorative SVG flourishes don't read well on the photo */
body.fr-public-home .fr-home-hero--photo .fr-home-hero__flourish { display: none; }

@media (max-width: 900px) {
  body.fr-public-home .fr-home-hero--photo {
    margin: 0;
    padding: var(--fr-space-9) var(--fr-container-pad-x);
    min-height: 28rem;
  }
  body.fr-public-home .fr-home-hero--photo .fr-home-hero__inner {
    max-width: none;
  }
  body.fr-public-home .fr-home-hero--photo .fr-home-hero__lede br { display: none; }
}

/* ============================================================
   Shared section chrome — generous vertical rhythm
   ============================================================ */

body.fr-public-home section { scroll-margin-top: 4rem; }

body.fr-public-home .fr-home-section {
  padding: var(--fr-space-7) 0 var(--fr-space-8);
}
@media (max-width: 900px) {
  body.fr-public-home .fr-home-section {
    padding: var(--fr-space-6) var(--fr-container-pad-x);
  }
}

body.fr-public-home .fr-home-section__eyebrow {
  font-size: var(--fr-text-xs);
  letter-spacing: var(--fr-tracking-wide);
  text-transform: uppercase;
  font-weight: var(--fr-weight-semibold);
  color: var(--fr-color-primary);
  margin: 0 0 var(--fr-space-3);
}
body.fr-public-home .fr-home-section__title {
  font-size: clamp(var(--fr-text-2xl), 3vw + 0.5rem, var(--fr-text-3xl));
  letter-spacing: -0.03em;
  line-height: var(--fr-leading-tight);
  margin: 0 0 var(--fr-space-4);
  max-width: none;
  text-wrap: balance;
}
body.fr-public-home h1.fr-home-section__title {
  font-size: clamp(2.5rem, 4vw + 1rem, 3.5rem);
}
body.fr-public-home .fr-home-section__lede {
  font-size: var(--fr-text-md);
  line-height: var(--fr-leading-relaxed);
  color: var(--fr-color-ink-muted);
  max-width: none;
  margin: 0 0 var(--fr-space-7);
}
body.fr-public-about .fr-home-section__lede {
  margin-bottom: 0;
}

/* Section variants */
body.fr-public-home .fr-home-section--cream {
  background: var(--fr-color-bg-strong);
  margin: 0 calc(-1 * var(--fr-container-pad-x));
  padding-left: var(--fr-container-pad-x);
  padding-right: var(--fr-container-pad-x);
}
body.fr-public-home .fr-home-section--soft {
  background: linear-gradient(180deg,
    var(--fr-color-primary-soft) 0%,
    color-mix(in oklch, var(--fr-color-primary-soft) 30%, var(--fr-color-bg)) 100%);
  margin: 0 calc(-1 * var(--fr-container-pad-x));
  padding-left: var(--fr-container-pad-x);
  padding-right: var(--fr-container-pad-x);
}
@media (max-width: 900px) {
  body.fr-public-home .fr-home-section--cream,
  body.fr-public-home .fr-home-section--soft {
    margin-left: 0;
    margin-right: 0;
  }
  body.fr-public-home .fr-home-section--soft {
    padding-top: var(--fr-space-7);
  }
}

/* ============================================================
   HERO — the page anchor
   ============================================================ */

body.fr-public-home .fr-home-hero {
  position: relative;
  padding: var(--fr-space-10) 0 var(--fr-space-11);
}
@media (max-width: 900px) {
  body.fr-public-home .fr-home-hero {
    padding: var(--fr-space-9) var(--fr-container-pad-x);
  }
}

body.fr-public-home .fr-home-hero__inner {
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

body.fr-public-home .fr-home-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  background: var(--fr-color-primary-soft);
  color: var(--fr-color-primary);
  border-radius: var(--fr-radius-pill);
  font-size: var(--fr-text-sm);
  font-weight: var(--fr-weight-semibold);
  margin-bottom: var(--fr-space-5);
}

body.fr-public-home .fr-home-hero__title {
  font-size: clamp(2.25rem, 5vw + 0.5rem, 4rem);
  font-weight: var(--fr-weight-bold);
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 0 0 var(--fr-space-5);
  color: var(--fr-color-ink);
}
body.fr-public-home .fr-home-hero__title em {
  font-style: normal;
  color: var(--fr-color-primary);
  position: relative;
  display: inline-block;
}
/* Hand-drawn underline flourish under the emphasised phrase */
body.fr-public-home .fr-home-hero__title em::after {
  content: '';
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: -0.2em;
  height: 0.45em;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 16' preserveAspectRatio='none'><path d='M2 11 Q 50 2 100 8 T 198 6' stroke='%23e8533a' stroke-width='3' fill='none' stroke-linecap='round' opacity='0.55'/></svg>") center/100% 100% no-repeat;
  pointer-events: none;
}

body.fr-public-home .fr-home-hero__lede {
  font-size: clamp(var(--fr-text-md), 1.5vw + 0.5rem, var(--fr-text-lg));
  line-height: var(--fr-leading-relaxed);
  color: var(--fr-color-ink-muted);
  max-width: 42rem;
  margin: 0 auto var(--fr-space-7);
}

body.fr-public-home .fr-home-hero__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--fr-space-3) var(--fr-space-5);
  margin-bottom: var(--fr-space-6);
}

body.fr-public-home .fr-home-hero__trust {
  font-size: var(--fr-text-sm);
  color: var(--fr-color-ink-subtle);
  max-width: 44rem;
  margin: 0 auto;
}

/* Decorative SVG flourishes flanking the hero */
body.fr-public-home .fr-home-hero__flourish {
  position: absolute;
  pointer-events: none;
  opacity: 0.85;
  z-index: 0;
}
body.fr-public-home .fr-home-hero__flourish--heart-tl {
  top: 12%; left: 8%;
  width: 3rem; height: 3rem;
  color: var(--fr-color-primary);
}
body.fr-public-home .fr-home-hero__flourish--star-tr {
  top: 18%; right: 10%;
  width: 2.5rem; height: 2.5rem;
  color: var(--fr-color-warning);
}
body.fr-public-home .fr-home-hero__flourish--squiggle-br {
  bottom: 4%; right: 6%;
  width: 5rem; height: 2rem;
  color: var(--fr-color-success);
}
body.fr-public-home .fr-home-hero__flourish--dots-bl {
  bottom: 8%; left: 6%;
  width: 3.5rem; height: 2rem;
  color: var(--fr-color-primary);
}
@media (max-width: 768px) {
  body.fr-public-home .fr-home-hero__flourish { display: none; }
}

/* ============================================================
   HOW IT WORKS — 5 step grid with numbered circles
   ============================================================ */

body.fr-public-home .fr-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--fr-space-6) var(--fr-space-5);
}
@media (max-width: 960px) {
  body.fr-public-home .fr-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  body.fr-public-home .fr-steps { grid-template-columns: minmax(0, 1fr); }
}

body.fr-public-home .fr-step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--fr-space-3);
}
body.fr-public-home .fr-step__icon {
  display: block;
  width: 4.5rem;
  height: 4.5rem;
  color: var(--fr-color-heading);
  margin-bottom: var(--fr-space-1);
}
body.fr-public-home .fr-step__num {
  order: -1;
  flex: 0 0 auto;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: var(--fr-radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--fr-weight-bold);
  font-size: var(--fr-text-sm);
  font-variant-numeric: tabular-nums;
  color: #fff;
  background: var(--fr-color-primary);
}
body.fr-public-home .fr-step:nth-child(2) .fr-step__num { background: #b95e9a; }
body.fr-public-home .fr-step:nth-child(3) .fr-step__num { background: var(--fr-color-success); }
body.fr-public-home .fr-step:nth-child(4) .fr-step__num { background: #5e60ce; }
body.fr-public-home .fr-step:nth-child(5) .fr-step__num { background: #d4811b; }

body.fr-public-home .fr-step__title {
  font-size: var(--fr-text-md);
  font-weight: var(--fr-weight-bold);
  letter-spacing: -0.015em;
  color: var(--fr-color-ink);
  margin: 0;
  line-height: var(--fr-leading-snug);
}
body.fr-public-home .fr-step__body {
  font-size: var(--fr-text-sm);
  line-height: var(--fr-leading-relaxed);
  color: var(--fr-color-ink-muted);
  margin: 0;
}
@media (max-width: 900px) {
  body.fr-public-home .fr-step {
    display: grid;
    grid-template-columns: auto auto 1fr;
    grid-template-areas:
      "num icon ."
      "title title title"
      "body body body";
    column-gap: var(--fr-space-3);
    row-gap: var(--fr-space-2);
    align-items: center;
  }
  body.fr-public-home .fr-step__num {
    grid-area: num;
    align-self: center;
  }
  body.fr-public-home .fr-step__icon {
    grid-area: icon;
    align-self: center;
    width: 3.25rem;
    height: 3.25rem;
    margin-bottom: 0;
  }
  body.fr-public-home .fr-step__title { grid-area: title; }
  body.fr-public-home .fr-step__body { grid-area: body; }
}

body.fr-public-home .fr-home-section__after-cta {
  display: flex;
  justify-content: center;
  margin-top: var(--fr-space-8);
}

/* ============================================================
   END THE CHAOS — two-column compare
   ============================================================ */

body.fr-public-home .fr-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--fr-space-5);
}
@media (max-width: 768px) {
  body.fr-public-home .fr-compare { grid-template-columns: minmax(0, 1fr); }
}

body.fr-public-home .fr-compare__col {
  padding: var(--fr-space-6) var(--fr-space-7);
  border-radius: var(--fr-radius-lg);
  background: var(--fr-color-surface);
  border: 1px solid var(--fr-color-border);
}
body.fr-public-home .fr-compare__col--old {
  background: var(--fr-color-surface-sunken);
  border-style: dashed;
  border-color: var(--fr-color-border-strong);
}
body.fr-public-home .fr-compare__col--new {
  background: linear-gradient(180deg,
    var(--fr-color-surface) 0%,
    var(--fr-color-primary-soft) 100%);
  border-color: color-mix(in oklch, var(--fr-color-primary) 25%, var(--fr-color-border));
  box-shadow: var(--fr-shadow-sm);
}
body.fr-public-home .fr-compare__label {
  font-size: var(--fr-text-xs);
  letter-spacing: var(--fr-tracking-wide);
  text-transform: uppercase;
  font-weight: var(--fr-weight-semibold);
  color: var(--fr-color-ink-subtle);
  margin: 0 0 var(--fr-space-2);
}
body.fr-public-home .fr-compare__col--new .fr-compare__label {
  color: var(--fr-color-primary);
}
body.fr-public-home .fr-compare__title {
  font-size: var(--fr-text-lg);
  font-weight: var(--fr-weight-bold);
  letter-spacing: -0.015em;
  margin: 0 0 var(--fr-space-5);
}
body.fr-public-home .fr-compare__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--fr-space-3);
}
body.fr-public-home .fr-compare__list li {
  display: flex;
  align-items: flex-start;
  gap: var(--fr-space-3);
  font-size: var(--fr-text-base);
  color: var(--fr-color-ink);
  line-height: var(--fr-leading-normal);
}
body.fr-public-home .fr-compare__list--old li {
  color: var(--fr-color-ink-muted);
}
body.fr-public-home .fr-compare__list li::before {
  content: '';
  flex: 0 0 auto;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: var(--fr-radius-pill);
  margin-top: 0.15rem;
}
body.fr-public-home .fr-compare__list--old li::before {
  background: var(--fr-color-surface);
  border: 1.5px solid var(--fr-color-border-strong);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M4 4 L 12 12 M 12 4 L 4 12' stroke='%2354607a' stroke-width='2.5' stroke-linecap='round'/></svg>");
  background-size: 70% 70%;
  background-position: center;
  background-repeat: no-repeat;
}
body.fr-public-home .fr-compare__list--new li::before {
  background: var(--fr-color-success);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M3 8 L 7 11 L 13 5' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/></svg>");
  background-size: 75% 75%;
  background-position: center;
  background-repeat: no-repeat;
}

/* ============================================================
   CALCULATOR / POTENTIAL RAISE — big-number maths
   ============================================================ */

body.fr-public-home .fr-calc {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--fr-space-4);
  align-items: stretch;
}
@media (max-width: 768px) {
  body.fr-public-home .fr-calc { grid-template-columns: minmax(0, 1fr); }
}

body.fr-public-home .fr-calc__cell {
  position: relative;
  padding: var(--fr-space-6) var(--fr-space-6);
  background: var(--fr-color-surface);
  border: 1px solid var(--fr-color-border);
  border-radius: var(--fr-radius-lg);
  display: flex;
  flex-direction: column;
  gap: var(--fr-space-2);
}
@media (max-width: 768px) {
  body.fr-public-home .fr-calc__cell {
    padding: var(--fr-space-4) var(--fr-space-5);
    gap: var(--fr-space-1);
  }
  body.fr-public-home .fr-calc__value { margin-top: var(--fr-space-1); }
}
body.fr-public-home .fr-calc__cell--total {
  background: linear-gradient(135deg, var(--fr-color-primary) 0%, var(--fr-color-primary-active) 100%);
  border-color: transparent;
  color: #fff;
}
body.fr-public-home .fr-calc__cell--total .fr-calc__label,
body.fr-public-home .fr-calc__cell--total .fr-calc__breakdown {
  color: rgba(255,255,255,0.85);
}
body.fr-public-home .fr-calc__cell--total .fr-calc__label {
  font-weight: var(--fr-weight-bold);
}
body.fr-public-home .fr-calc__cell--total .fr-calc__value {
  color: #fff;
  font-size: clamp(var(--fr-text-3xl), 5vw, var(--fr-text-4xl));
  font-weight: var(--fr-weight-bold);
}

body.fr-public-home .fr-calc__icon {
  display: block;
  width: 2.25rem;
  height: 2.25rem;
  line-height: 1;
}
body.fr-public-home .fr-calc__label {
  font-size: var(--fr-text-sm);
  font-weight: var(--fr-weight-semibold);
  color: var(--fr-color-ink-muted);
  letter-spacing: var(--fr-tracking-wide);
  text-transform: uppercase;
}
body.fr-public-home .fr-calc__breakdown {
  font-size: var(--fr-text-sm);
  color: var(--fr-color-ink-muted);
  line-height: var(--fr-leading-normal);
  font-variant-numeric: tabular-nums;
}
body.fr-public-home .fr-calc__value {
  font-size: clamp(var(--fr-text-2xl), 4vw, var(--fr-text-3xl));
  font-weight: var(--fr-weight-bold);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--fr-color-ink);
  line-height: 1;
  margin-top: var(--fr-space-2);
}

body.fr-public-home .fr-calc__plus {
  position: absolute;
  right: -1.6rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2.6rem;
  height: 2.6rem;
  border-radius: var(--fr-radius-pill);
  background: var(--fr-color-bg);
  border: 1.5px solid var(--fr-color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--fr-weight-bold);
  color: var(--fr-color-ink-muted);
  z-index: 1;
}
@media (max-width: 768px) {
  body.fr-public-home .fr-calc__plus {
    right: 50%;
    top: auto;
    bottom: -1.6rem;
    transform: translateX(50%);
  }
}

body.fr-public-home .fr-calc__footnote {
  margin-top: var(--fr-space-6);
  font-size: var(--fr-text-sm);
  color: var(--fr-color-ink-muted);
  max-width: none;
  line-height: var(--fr-leading-relaxed);
}

/* ============================================================
   INDIVIDUAL SPONSORSHIP PAGES — long-form prose + list
   ============================================================ */

body.fr-public-home .fr-prose-two-up {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--fr-space-8);
  align-items: start;
}
@media (max-width: 960px) {
  body.fr-public-home .fr-prose-two-up { grid-template-columns: minmax(0, 1fr); gap: var(--fr-space-6); }
}

body.fr-public-home .fr-prose-two-up p {
  font-size: var(--fr-text-md);
  line-height: var(--fr-leading-relaxed);
  color: var(--fr-color-ink);
  max-width: 56ch;
  margin: 0 0 var(--fr-space-4);
}
body.fr-public-home .fr-prose-two-up p:last-of-type { margin-bottom: 0; }
body.fr-public-home .fr-prose-two-up p strong { color: var(--fr-color-ink); }

body.fr-public-home .fr-bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--fr-space-3);
}
body.fr-public-home .fr-bullets li {
  display: flex;
  align-items: flex-start;
  gap: var(--fr-space-3);
  font-size: var(--fr-text-base);
  line-height: var(--fr-leading-relaxed);
  color: var(--fr-color-ink);
}
body.fr-public-home .fr-bullets li::before {
  content: '';
  flex: 0 0 auto;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: var(--fr-radius-pill);
  background: var(--fr-color-primary);
  margin-top: 0.6rem;
}

/* ============================================================
   EVENT TYPES — pill cloud
   ============================================================ */

body.fr-public-home .fr-event-types {
  display: flex;
  flex-wrap: wrap;
  gap: var(--fr-space-2) var(--fr-space-3);
  margin: 0 0 var(--fr-space-6);
}
body.fr-public-home .fr-event-types__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  background: var(--fr-color-surface);
  border: 1.5px solid var(--fr-color-border);
  border-radius: var(--fr-radius-pill);
  font-size: var(--fr-text-base);
  font-weight: var(--fr-weight-semibold);
  color: var(--fr-color-ink);
  text-decoration: none;
  transition: border-color var(--fr-duration-base) var(--fr-ease),
              background var(--fr-duration-base) var(--fr-ease);
}
body.fr-public-home a.fr-event-types__pill:hover {
  background: var(--fr-color-primary);
  border-color: var(--fr-color-primary);
  color: #fff;
}
body.fr-public-home .fr-event-types__pill > span {
  font-size: 1.05em;
}

/* ============================================================
   GUIDE / EXTRAS — soft-section pair
   ============================================================ */

body.fr-public-home .fr-side-by-side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--fr-space-5);
}
@media (max-width: 768px) {
  body.fr-public-home .fr-side-by-side { grid-template-columns: minmax(0, 1fr); }
}

body.fr-public-home .fr-side-card {
  display: flex;
  flex-direction: column;
  gap: var(--fr-space-3);
  padding: var(--fr-space-6) var(--fr-space-6) var(--fr-space-5);
  background: var(--fr-color-surface);
  border: 1px solid var(--fr-color-border);
  border-radius: var(--fr-radius-lg);
}
body.fr-public-home .fr-side-card__icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--fr-radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fr-text-xl);
  background: var(--fr-color-primary-soft);
  color: var(--fr-color-primary);
  margin-bottom: var(--fr-space-2);
}
body.fr-public-home .fr-side-card__title {
  font-size: var(--fr-text-lg);
  font-weight: var(--fr-weight-bold);
  letter-spacing: -0.015em;
  margin: 0;
}
body.fr-public-home .fr-side-card__body {
  color: var(--fr-color-ink-muted);
  line-height: var(--fr-leading-relaxed);
  margin: 0;
}
body.fr-public-home .fr-side-card__sublist {
  list-style: none;
  margin: var(--fr-space-2) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--fr-space-1) var(--fr-space-4);
  font-size: var(--fr-text-sm);
  color: var(--fr-color-ink);
}
body.fr-public-home .fr-side-card__sublist li::before {
  content: '·  ';
  color: var(--fr-color-primary);
  font-weight: var(--fr-weight-bold);
}
body.fr-public-home .fr-side-card__link {
  margin-top: auto;
  padding-top: var(--fr-space-3);
  font-size: var(--fr-text-base);
  font-weight: var(--fr-weight-semibold);
  color: var(--fr-color-primary);
  text-decoration: none;
}
body.fr-public-home .fr-side-card__link:hover {
  text-decoration: underline;
}

/* ============================================================
   FINAL CTA — repeat the headline, page closer
   ============================================================ */

body.fr-public-home .fr-final-cta {
  text-align: center;
  padding: var(--fr-space-10) var(--fr-space-6) var(--fr-space-11);
  background: var(--fr-color-heading);
  color: #fff;
  border-radius: var(--fr-radius-xl);
  margin: var(--fr-space-9) 0 var(--fr-space-7);
  position: relative;
  overflow: hidden;
}
@media (max-width: 900px) {
  body.fr-public-home .fr-final-cta {
    margin: var(--fr-space-7) var(--fr-container-pad-x) var(--fr-space-6);
    padding: var(--fr-space-8) var(--fr-space-5) var(--fr-space-9);
    border-radius: var(--fr-radius-lg);
  }
}
body.fr-public-home .fr-final-cta::before {
  content: '';
  position: absolute;
  inset: -30% -20% auto auto;
  width: 30rem;
  height: 30rem;
  background: radial-gradient(circle, color-mix(in oklch, var(--fr-color-primary) 60%, transparent) 0%, transparent 65%);
  pointer-events: none;
  opacity: 0.55;
}
body.fr-public-home .fr-final-cta > * { position: relative; z-index: 1; }

body.fr-public-home .fr-final-cta__title {
  font-size: clamp(var(--fr-text-2xl), 3vw + 0.5rem, 2.5rem);
  font-weight: var(--fr-weight-bold);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 var(--fr-space-4);
  color: #fff;
  max-width: none;
  margin-inline: auto;
}
body.fr-public-home .fr-final-cta__lede {
  font-size: var(--fr-text-md);
  color: rgba(255,255,255,0.78);
  margin: 0 auto var(--fr-space-5);
  max-width: 60ch;
  line-height: var(--fr-leading-relaxed);
  text-wrap: balance;
}
body.fr-public-home .fr-final-cta__credibility {
  font-size: var(--fr-text-sm);
  color: rgba(255,255,255,0.72);
  margin: 0 auto var(--fr-space-7);
  max-width: 56ch;
  line-height: var(--fr-leading-relaxed);
}
body.fr-public-home .fr-final-cta__fineprint {
  font-size: var(--fr-text-sm);
  color: rgba(255,255,255,0.78);
  margin: var(--fr-space-5) auto 0;
  max-width: 56ch;
  line-height: var(--fr-leading-relaxed);
}
body.fr-public-home .fr-final-cta__fineprint-link {
  color: #fff;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  white-space: nowrap;
}
body.fr-public-home .fr-final-cta__fineprint-link:hover {
  text-decoration-thickness: 2px;
}
body.fr-public-home .fr-final-cta__fineprint-link:focus-visible {
  text-decoration: none;
  background: rgba(255,255,255,0.18);
  border-radius: var(--fr-radius-sm);
  outline: none;
}
body.fr-public-home .fr-final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--fr-space-3);
}
body.fr-public-home .fr-final-cta__actions .fr-btn--secondary {
  background: transparent;
  border-color: rgba(255,255,255,0.4);
  color: #fff;
}
body.fr-public-home .fr-final-cta__actions .fr-btn--secondary:hover:not(:disabled) {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
}

/* ============================================================
   TRUST — calm reassurance panel, deliberately understated
   ============================================================ */

body.fr-public-home .fr-trust-points {
  list-style: none;
  margin: 0 0 var(--fr-space-6);
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--fr-space-5) var(--fr-space-6);
  border-top: 1px solid var(--fr-color-border);
  padding-top: var(--fr-space-6);
}
@media (max-width: 720px) {
  body.fr-public-home .fr-trust-points { grid-template-columns: minmax(0, 1fr); gap: var(--fr-space-5); }
}

body.fr-public-home .fr-trust-point {
  display: flex;
  flex-direction: column;
  gap: var(--fr-space-2);
}
body.fr-public-home .fr-trust-point__title {
  font-size: var(--fr-text-base);
  font-weight: var(--fr-weight-semibold);
  color: var(--fr-color-ink);
  letter-spacing: -0.01em;
  margin: 0;
}
body.fr-public-home .fr-trust-point__body {
  font-size: var(--fr-text-sm);
  line-height: var(--fr-leading-relaxed);
  color: var(--fr-color-ink-muted);
  margin: 0;
}

body.fr-public-home .fr-trust-footnote {
  font-size: var(--fr-text-sm);
  line-height: var(--fr-leading-relaxed);
  color: var(--fr-color-ink-subtle);
  margin: 0;
  padding-top: var(--fr-space-4);
  border-top: 1px solid var(--fr-color-border);
}
body.fr-public-home .fr-trust-footnote a {
  color: var(--fr-color-ink);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
body.fr-public-home .fr-trust-footnote a:hover {
  color: var(--fr-color-primary);
}
