/* The Overview after the review story (Faiq, 3 Dec 2026): Research, Design, Method, Try it. One section per page in the
   nav's order, one idea each, one link out. Apple-like: a small kicker in Great Eastern's red, a big plain title, one
   form of evidence, white space. Each kind of fact keeps its own form: shares as lengths, counts as numerals, facts as
   a short list. */

/* (each section fills one screen under the nav, its content in the middle: Faiq, 3 Dec 2026) */
.hs {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100svh - var(--nav-h));
  padding: clamp(36px, 7svh, 88px) 0;
  border-top: 1px solid var(--line);
}
.hs-k {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font: 700 13px/1.2 var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}
.hs-h {
  max-width: 15em;
  margin: 0;
  font: 700 clamp(34px, 5vw, 72px) / 1.04 var(--sans);
  letter-spacing: -0.035em;
  text-wrap: balance;
}
/* (data still to be replaced by the re-audit) */
.ph-tag {
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--orange-soft);
  color: var(--orange);
  font: 600 11px/1.2 var(--sans);
  letter-spacing: 0.04em;
  text-transform: none;
}

@media (max-width: 699px) {
  /* (on a phone each share is its own row, its length under it) */
  
  
  
  
  
  
}

/* ====================== the sections after How I audited (Faiq, 3 Dec 2026, Tammi's skeleton) ====================== */

/* Three numbers to start with (Faiq, 3 Dec 2026, Tammi's cards): the picture, the fraction, one line */
/* (the same in the section and, on a desktop, in the story's stage: review.js moves it there) */
.nm-wrap .hs-k,
.nm-wrap .hs-h { text-align: center; justify-content: center; margin-inline: auto; }

.nm-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 24px);
  margin: clamp(36px, 4.5vw, 60px) 0 clamp(32px, 4vw, 48px);
  padding: 0;
  list-style: none;
}
.nm-list > li {
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 3vw, 48px);
  border-radius: clamp(24px, 2.4vw, 36px);
  background: var(--raise);
  box-shadow: inset 0 0 0 1px var(--line);
}
/* the pictures share one height, so the numbers under them line up */
.nm-pic {
  position: relative;
  height: clamp(84px, 8.6vw, 124px);
  margin-bottom: clamp(28px, 3vw, 44px);
}
.nm-grid {
  display: grid;
  grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
  align-content: start;
  gap: clamp(3px, 0.45vw, 7px);
}
/* (the coloured grid sits exactly over the grey one) */
.nm-lit { position: absolute; inset: 0; }
.nm-grid i {
  display: block;
  aspect-ratio: 1;
  border-radius: 22%;
  background: color-mix(in srgb, var(--fg) 14%, transparent);
}
.nm-lit i { background: none; }
.nm-lit i.on { background: #ec4232; }
/* complaints: speech bubbles, lit in the page's own ink (people's words, not the store's faults) */
.nm-pic.is-bubble i { border-radius: 50% 50% 50% 14%; }
.nm-pic.is-bubble .nm-lit i.on { background: var(--fg); }
/* screens: small tall screens with rounded corners, ten to a row, sized to the picture's height */
.nm-pic.is-screen .nm-grid {
  grid-template-columns: repeat(var(--cols), clamp(14px, 1.55vw, 24px));
  gap: clamp(5px, 0.6vw, 9px);
}
.nm-pic.is-screen i { aspect-ratio: 9 / 19.5; border-radius: 18% / 8%; }
/* past 60, one screen per cent: twenty to a row, five rows sized from the picture's height, so the tall screens
   always fit the same box as the other two pictures (118 screens ten to a row spilled out of the card, 4 Dec 2026) */
.nm-pic.is-screen.is-pc { container-type: size; }
.nm-pic.is-screen.is-pc .nm-grid {
  --g: clamp(2px, 0.3vw, 5px);
  gap: var(--g);
  grid-template-columns: repeat(var(--cols), calc((100cqh - 4 * var(--g)) / 5 * 9 / 19.5));
}
@media (max-width: 699px) {
  /* (on a phone the pictures take their height from the card's width: this one keeps the others' shape) */
  .nm-pic.is-screen.is-pc { height: auto; aspect-ratio: 4.1; }
}
.nm-n {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 0;
}
.nm-n b {
  font: 800 clamp(60px, 6.4vw, 104px) / 0.82 var(--sans);
  letter-spacing: -0.055em;
}
.nm-n span {
  font: 700 clamp(26px, 2.6vw, 42px) / 1 var(--sans);
  letter-spacing: -0.03em;
  color: var(--fg-3);
}
.nm-l {
  max-width: 17em;
  margin: 18px 0 0;
  font: 500 clamp(16px, 1.35vw, 20px) / 1.4 var(--sans);
  color: var(--fg-2);
  text-wrap: pretty;
}
/* in the stage (desktop), the section's own padding is the stage's */
.rv-cards .hs-h { margin-bottom: 0; }
@media (min-width: 700px) and (max-width: 899px) {
  .nm-list > li { padding: 22px; }
  .nm-pic { height: 64px; margin-bottom: 20px; }
  .nm-n b { font-size: 52px; }
  .nm-n span { font-size: 22px; }
  .nm-l { font-size: 15px; }
}
@media (max-width: 699px) {
  .nm-list { grid-template-columns: 1fr; gap: 14px; }
  .nm-list > li { padding: 24px; }
  .nm-pic { height: auto; margin-bottom: 24px; }
  .nm-n b { font-size: 64px; }
  .nm-n span { font-size: 28px; }
}

/* What buyers say (Faiq, 3 Dec 2026, Tammi's reviews panel): one post at a time on a raised panel, centred */
.rs-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(1000px, 100%);
  margin-inline: auto;
  padding: clamp(32px, 5vh, 60px) clamp(22px, 4vw, 64px);
  border-radius: clamp(28px, 3vw, 40px);
  background: var(--raise);
  box-shadow: inset 0 0 0 1px var(--line);
  text-align: center;
}
.rs-panel .hs-k { justify-content: center; }

.rs-quote {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: clamp(190px, 28vh, 280px);
  margin: clamp(18px, 3vh, 32px) 0 0;
  transition: opacity 0.22s ease;
}
.rs-quote.is-out { opacity: 0; }
.rs-cat {
  margin: 0 0 clamp(14px, 2.2vh, 22px);
  font: 500 15px / 1.4 var(--sans);
  color: var(--fg-3);
}
.rs-cat b { font-weight: 600; color: var(--red); }
.rs-quote blockquote {
  max-width: 24ch;
  margin: 0;
  font: 500 clamp(24px, 2.6vw, 40px) / 1.15 var(--sans);
  letter-spacing: -0.03em;
  color: var(--fg);
  text-wrap: balance;
}
.rs-quote figcaption {
  margin-top: 16px;
  font: 500 14px / 1.4 var(--sans);
  color: var(--fg-3);
}
.rs-ctl {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: clamp(18px, 3vh, 30px);
}
.rs-nav {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: color-mix(in srgb, var(--fg) 8%, transparent);
  color: var(--fg);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
.rs-nav:hover { background: var(--red); color: #fff; }
.rs-nav:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.rs-nav svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rs-dots { display: flex; gap: 2px; }
.rs-dots button {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  cursor: pointer;
}
.rs-dots button::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--fg) 25%, transparent);
  transition: width 0.3s var(--ease), background-color 0.3s;
}
.rs-dots button[aria-current='true']::before { width: 22px; background: var(--fg); }
.rs-dots button:focus-visible { outline: 2px solid var(--red); outline-offset: 1px; }
.rs-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 40px;
  margin: clamp(24px, 4.5vh, 48px) 0 0;
  padding: 0;
  list-style: none;
  font: 500 15px / 1.4 var(--sans);
  color: var(--fg-3);
}
.rs-stats b {
  margin-right: 4px;
  font: 700 22px / 1 var(--sans);
  letter-spacing: -0.02em;
  color: var(--fg);
}

@media (max-width: 699px) {
  .rs-quote { min-height: 260px; }
  .rs-quote blockquote { font-size: clamp(22px, 6.4vw, 28px); }
  .rs-stats { flex-direction: column; gap: 6px; }
}

/* Against the other stores: one measure, every store a length, Great Eastern in red */
.bm {
  max-width: 980px;
  margin: clamp(40px, 5vw, 64px) 0 0;
}
.bm figcaption {
  margin-bottom: 20px;
  font-size: 15px;
  color: var(--fg-3);
}
.bm-bars {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.bm-bars li {
  display: grid;
  grid-template-columns: minmax(120px, 190px) 1fr 40px;
  align-items: center;
  gap: 16px;
}
.bm-name {
  font-size: 15px;
  color: var(--fg-2);
}
.bm-track {
  height: 12px;
  border-radius: 6px;
  background: color-mix(in srgb, var(--fg) 7%, transparent);
  overflow: hidden;
}
.bm-fill {
  display: block;
  height: 100%;
  width: calc(var(--v) * 100%);
  border-radius: inherit;
  background: color-mix(in srgb, var(--fg) 38%, transparent);
  transform-origin: 0 50%;
  transition: transform 1.1s var(--ease);
  transition-delay: calc(var(--i) * 70ms);
}
.bm-bars.is-wait .bm-fill {
  transform: scaleX(0);
}
.bm-bars b {
  font: 700 17px / 1 var(--sans);
  text-align: right;
}
.bm-bars .is-ge .bm-name,
.bm-bars .is-ge b {
  color: var(--red);
  font-weight: 700;
}
.bm-bars .is-ge .bm-fill {
  background: var(--red);
}
/* the redesign: set apart from the stores by a rule, in green (fixed, good: site.css) */
.bm-bars .is-mine {
  margin-top: 10px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.bm-bars .is-mine .bm-name,
.bm-bars .is-mine b {
  color: var(--green);
  font-weight: 700;
}
.bm-bars .is-mine .bm-fill {
  background: var(--green);
}
@media (max-width: 599px) {
  .bm-bars li { grid-template-columns: 1fr 34px; gap: 6px 12px; }
  .bm-name { grid-column: 1 / -1; }
}

/* ---------- fitting each section into one phone screen (Faiq, 3 Dec 2026) ---------- */
@media (max-width: 699px) {
  /* the three numbers: side by side, one card in view, swiped */
  .nm-list {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 84%;
    gap: 12px;
    margin-inline: calc(-1 * var(--gutter));
    padding: 4px var(--gutter);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .nm-list::-webkit-scrollbar { display: none; }
  .nm-list > li { scroll-snap-align: start; }
  /* what buyers say: a shorter quote box, the stats on two lines */
  .rs-panel { padding: 26px 18px; }
  .rs-quote { min-height: 190px; margin-top: 14px; }
  .rs-stats { flex-direction: row; gap: 4px 16px; margin-top: 18px; }
  .rs-stats b { font-size: 18px; }
  .rs-ctl { margin-top: 12px; }
  /* the benchmark: tighter rows */
  .bm { margin-top: 20px; }
  .bm figcaption { margin-bottom: 12px; }
  .bm-bars { gap: 6px; }
  .bm-bars li { grid-template-columns: 118px 1fr 26px; gap: 10px; }
  .bm-name { grid-column: auto; font-size: 13px; }
  .bm-bars b { font-size: 15px; }
  /* the redesign: the phone may be smaller on a short screen */
  
}
@media (max-width: 699px) and (max-height: 720px) {
  .rs-quote { min-height: 150px; }
  .rs-quote blockquote { font-size: 21px; }
  
}
@media (min-width: 700px) and (max-height: 760px) {
  .bm { margin-top: 24px; }
  .bm-bars { gap: 8px; }
}

/* ---------- the number pictures fill in (Faiq, 3 Dec 2026): the whole comes in grey, then the part takes its colour --- */
.nm-grid { clip-path: inset(0% 0% 0% 0%); transition: clip-path 0.7s cubic-bezier(0.65, 0, 0.35, 1); }
.nm-pic.is-wait .nm-grid, .nm-pic.is-grey .nm-lit { clip-path: inset(0% 100% 0% 0%); }
.nm-go, .rs-go, .bm-go { display: flex; width: fit-content; margin-inline: auto; }

/* ---------- what buyers say: the insurer named in the source; the panel's own button ---------- */
.rs-quote figcaption b { font-weight: 600; color: var(--fg-2); }
.rs-panel > .hs-k { margin-bottom: 0; }
.rs-go { margin-top: clamp(22px, 3.5vh, 36px); }
.rs-stats b + b, .rs-stats li > b:not(:first-child) { margin-left: 4px; }

/* ---------- the benchmark, centred (Faiq, 3 Dec 2026) ---------- */
.bm-wrap { display: flex; flex-direction: column; align-items: center; text-align: center; }
.bm-wrap .hs-k { justify-content: center; }
.bm-wrap .hs-h { margin-inline: auto; }
.bm-wrap .bm { width: min(100%, 860px); margin-inline: auto; }
.bm-wrap .bm figcaption { text-align: center; }
.bm-wrap .bm-bars { text-align: left; }
.bm-go { margin-top: clamp(28px, 4vh, 48px); }
@media (prefers-reduced-motion: reduce) { .nm-grid { transition: none; } }

/* ---------- the quote, word by word (Faiq, 3 Dec 2026): each word lifts in, a breath after the last ---------- */
.rs-quote .w { display: inline-block; }
.rs-quote.is-play .w { animation: rs-word 0.7s cubic-bezier(0.16, 1, 0.3, 1) both; animation-delay: calc(var(--i) * 40ms); }
@keyframes rs-word { from { opacity: 0; translate: 0 0.45em; } }
@media (prefers-reduced-motion: reduce) { .rs-quote.is-play .w { animation: none; } }

/* (the research panel is a shade lighter than the page, where the brand red reads 4.47:1: a touch brighter there, 4.7:1) */
.rs-panel { --red: #ee4a3a; }
:root[data-theme="light"] .rs-panel { --red: #c0241a; }
