
/* Homepage sections added Nov 2026: the report comparison and its chart, the "What" photo,
   "Who we work with", the How-we-work cards, the quicker hero chart on phones, and section breaks.
   Ad-blocker safe: no "ad"-style class names (see lib/homepage-markup.test.ts). */
.hp-reports { display: grid; gap: 20px; margin-top: 8px; align-items: stretch; }
@media (min-width: 980px) { .hp-reports { grid-template-columns: .8fr 1.2fr; } }
.hp-report { border-radius: 24px; padding: 28px; }
.hp-report--them { background: #1c2638; color: #7d8a9c; border: 1px solid rgba(255,255,255,.05); align-self: center; }
.hp-report--them .hp-vanity b { color: #9aa6b6; }
.hp-report-tag { margin: 0; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.hp-report--them .hp-report-tag { margin-bottom: 16px; }
.hp-vanity { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hp-vanity div { background: rgba(255,255,255,.04); border-radius: 12px; padding: 12px; display: grid; }
.hp-vanity span { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; }
.hp-vanity b { font: 700 1.4rem/1.2 var(--f-display); }
.hp-vanity i { font-style: normal; font-size: .78rem; color: #6f9b88; }
.hp-verdict { margin: 20px 0 10px; font: 600 1.05rem/1.35 var(--f-display); }
.hp-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: .92rem; }
.hp-list li::before { content: "– "; }

/* the report we send: deep blue, glassy stats, an annotated chart */
.hp-report--us { position: relative; overflow: hidden; color: #eaf3ff;
  background: radial-gradient(120% 80% at 100% 0%, rgba(0,124,212,.55), transparent 60%), radial-gradient(90% 70% at 0% 100%, rgba(23,146,104,.35), transparent 60%), linear-gradient(160deg, #0d2f5c, #0a1c36);
  border: 1px solid rgba(143,208,255,.22); box-shadow: 0 40px 90px -40px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.08); }
.hp-us-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.hp-report--us .hp-report-tag { color: #8fd0ff; }
.hp-sample { font-size: .7rem; color: #a9bfd8; border: 1px solid rgba(169,191,216,.3); border-radius: 999px; padding: 4px 10px; }
.hp-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (max-width: 640px) { .hp-stats { gap: 6px; } .hp-stats div { padding: 10px; } .hp-stats b { font-size: 1.15rem; } .hp-stats em { display: none; } .hp-stats span { font-size: .58rem; } }
.hp-stats div { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: 12px 14px; display: grid; gap: 2px; backdrop-filter: blur(6px); }
.hp-stats span { font-size: .66rem; text-transform: uppercase; letter-spacing: .09em; color: #a9bfd8; }
.hp-stats b { font: 700 1.7rem/1.1 var(--f-display); color: #fff; letter-spacing: -.02em; }
.hp-stats em { font-style: normal; font-size: .76rem; color: #a9bfd8; }
.hp-stats em.up { color: #6be3b0; }
.hp-big-chart { margin: 16px 0 0; background: rgba(4,14,30,.45); border: 1px solid rgba(255,255,255,.08); border-radius: 18px; padding: 18px 18px 12px 46px; }
.hp-plot { position: relative; height: 230px; }
.hp-grid { position: absolute; left: 0; right: 0; border-top: 1px dashed rgba(255,255,255,.12); }
.hp-grid em { position: absolute; left: -40px; top: -.6em; font-style: normal; font-size: .68rem; color: #7f97b3; }
.hp-zero { border-top: 1px solid rgba(255,255,255,.3); }
.hp-bars { position: absolute; inset: 0; }
.hp-bars i { position: absolute; left: calc((var(--x) + .5) / 6 * 100%); bottom: var(--b); height: var(--h); width: 9%; translate: -50% 0; border-radius: 8px 8px 3px 3px;
  background: linear-gradient(180deg, rgba(107,227,176,.95), rgba(23,146,104,.55)); box-shadow: 0 0 24px -6px rgba(107,227,176,.6); transform-origin: 50% 100%; }
.hp-bars i.neg { background: linear-gradient(0deg, rgba(255,107,96,.95), rgba(255,107,96,.45)); border-radius: 3px 3px 8px 8px; transform-origin: 50% 0; box-shadow: 0 0 24px -6px rgba(255,107,96,.6); }
.hp-plot svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hp-line { filter: drop-shadow(0 0 6px rgba(159,216,255,.8)); }
.hp-dot { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: #fff; border: 2px solid #9fd8ff; translate: -50% 50%; }
.hp-pill { position: absolute; translate: -50% 0; white-space: nowrap; font-size: .7rem; font-weight: 600; color: #0a1c36; background: #fff; border-radius: 999px; padding: 4px 10px; box-shadow: 0 8px 20px -8px rgba(0,0,0,.6); }
.hp-now { position: absolute; translate: -50% -150%; font: 700 .8rem var(--f-display); color: #0a1c36; background: #6be3b0; border-radius: 8px; padding: 3px 8px; }
.hp-months { display: grid; grid-template-columns: repeat(6, 1fr); text-align: center; font-size: .72rem; color: #7f97b3; margin-top: 8px; }
.hp-big-chart figcaption { margin-top: 6px; font-size: .7rem; color: #7f97b3; text-align: right; }
.hp-verdict--us { color: #6be3b0; margin-top: 18px; }
.hp-list--us { grid-template-columns: 1fr 1fr; gap: 8px 16px; color: #d5e4f5; }
@media (max-width: 640px) { .hp-list--us { grid-template-columns: 1fr; } }
.hp-list--us li::before { content: "✓ "; color: #6be3b0; font-weight: 700; }
@media (max-width: 640px) { .hp-pill { font-size: .62rem; padding: 3px 7px; } .hp-big-chart { padding-left: 40px; } }

@media (prefers-reduced-motion: no-preference) {
  .js .hp-anim .hp-bars i { transform: scaleY(0); transition: transform .9s cubic-bezier(.2,.8,.2,1) calc(var(--x) * 120ms); }
  .js .hp-anim .hp-line { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s ease .5s; }
  .js .hp-anim .hp-area { opacity: 0; transition: opacity 1s ease 1.4s; }
  .js .hp-anim .hp-dot, .js .hp-anim .hp-pill, .js .hp-anim .hp-now { opacity: 0; transform: translateY(6px); transition: opacity .4s ease, transform .4s ease; transition-delay: calc(.6s + var(--d, 6) * 220ms); }
  .js .hp-anim.hp-in .hp-bars i { transform: none; }
  .js .hp-anim.hp-in .hp-line { stroke-dashoffset: 0; }
  .js .hp-anim.hp-in .hp-area { opacity: 1; }
  .js .hp-anim.hp-in .hp-dot, .js .hp-anim.hp-in .hp-pill, .js .hp-anim.hp-in .hp-now { opacity: 1; transform: none; }
}

/* What: tiles + a photo carrying a piece of the report */
.hp-what { background: #eaf3fb !important; }
.hp-what-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 980px) { .hp-what-grid { grid-template-columns: 1.25fr 1fr; } }
.hp-what .answer { margin: 1.2rem 0 1.6rem; max-width: 40rem; }
.hp-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hp-tiles div { background: #fff; border-radius: 16px; padding: 16px; box-shadow: 0 10px 30px -20px rgba(19,35,61,.35); }
.hp-tiles b { display: block; font: 600 1rem var(--f-display); margin: 6px 0 4px; }
.hp-tiles p { margin: 0; font-size: .86rem; color: #5b6676; line-height: 1.45; }
.hp-ico { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #007cd4; color: #fff; font-weight: 700; }
.hp-hero-photo { position: relative; margin: 0 24px 0 0; }
.hp-hero-photo img { display: block; width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 28px; box-shadow: 0 40px 80px -40px rgba(19,35,61,.6); }
.hp-float { position: absolute; display: grid; gap: 2px; background: rgba(255,255,255,.88); backdrop-filter: blur(10px); border-radius: 16px; padding: 12px 16px; box-shadow: 0 20px 40px -20px rgba(19,35,61,.55); }
.hp-float span { font-size: .66rem; text-transform: uppercase; letter-spacing: .09em; color: #5b6676; }
.hp-float b { font: 700 1.5rem/1.1 var(--f-display); color: #13233d; }
.hp-float em { font-style: normal; font-size: .74rem; color: #179268; }
.hp-float--a { left: -24px; bottom: 56px; } .hp-float--a b { color: #179268; }
.hp-float--b { right: -24px; top: 40px; }
.hp-hero-photo figcaption { margin-top: 10px; font-size: .72rem; color: #7a8595; }
@media (max-width: 640px) { .hp-hero-photo { margin: 0; } .hp-float--a { left: 12px; } .hp-float--b { right: 12px; } }

/* Who we work with */
.hp-who { background: #fff; padding: clamp(64px, 8vw, 110px) 0; }
.hp-who-head { display: grid; gap: 12px 40px; align-items: end; margin-bottom: 32px; }
@media (min-width: 900px) { .hp-who-head { grid-template-columns: 1.6fr 1fr; } }
.hp-who-head h2 { margin: 0; }
.hp-who-head > p { margin: 0; color: #5b6676; font-size: 1.02rem; }
.hp-who-grid { display: grid; gap: 16px; }
@media (min-width: 700px) { .hp-who-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .hp-who-grid { grid-template-columns: repeat(4, 1fr); } }
.hp-who-card { position: relative; display: block; border-radius: 22px; overflow: hidden; aspect-ratio: 3/4; color: #fff; text-decoration: none; isolation: isolate; }
.hp-who-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; z-index: -2; }
.hp-who-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,28,54,0) 35%, rgba(10,28,54,.9) 100%); }
.hp-who-card:hover img { transform: scale(1.05); }
.hp-who-card > div { position: absolute; left: 18px; right: 18px; bottom: 18px; display: grid; gap: 8px; }
.hp-who-tag { justify-self: start; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(6px); border-radius: 999px; padding: 4px 10px; }
.hp-who-card b { font: 600 1.15rem/1.25 var(--f-display); }
.hp-who-card i { font-style: normal; font-size: .82rem; color: #9fd8ff; }
.hp-note { margin: 14px 0 0; font-size: .74rem; color: #7a8595; }

/* How we work: product-style cards */
.hv { margin-top: 18px; max-width: 460px; background: #fff; border-radius: 20px; padding: 16px; border: 1px solid rgba(19,35,61,.06);
  box-shadow: 0 1px 0 rgba(19,35,61,.04), 0 24px 50px -28px rgba(19,35,61,.45); font-size: .84rem; color: #13233d; }
.hv-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.hv-head b { font: 600 .95rem var(--f-display); }
.hv-chip { font-size: .68rem; color: #0067b0; background: #e8f2fc; border-radius: 999px; padding: 3px 9px; font-weight: 600; }
.hv-label { margin: 12px 0 6px; font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #7a8595; }
.hv-grades { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 10px; }
.hv-grades span { display: flex; justify-content: space-between; align-items: center; background: #f5f7fa; border-radius: 10px; padding: 7px 10px; }
.hv-grades i { font-style: normal; color: #5b6676; }
.hv-grades b { font: 700 1rem var(--f-display); width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; color: #fff; }
.g-b { background: #179268; } .g-c { background: #d9a400; } .g-d { background: #d2453a; }
.hv-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.hv-rows li { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 12px; background: #fafbfc; }
.hv-rows b { display: block; font-weight: 600; } .hv-rows i { font-style: normal; font-size: .72rem; color: #7a8595; }
.hv-dot { width: 8px; height: 8px; border-radius: 50%; } .red { background: #d2453a; } .amber { background: #e0a800; } .green { background: #179268; }
.hv-tag { font-style: normal; font-size: .68rem; font-weight: 600; border-radius: 999px; padding: 3px 8px; white-space: nowrap; }
.bad { background: #fde8e6; color: #a2281e; } .warn { background: #fff3d6; color: #7a5200; } .good { background: #e3f6ee; color: #146c4d; }
.hv-formats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.hv-formats figure { position: relative; margin: 0; }
.hv-formats img { display: block; width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 12px; }
.hv-formats span { position: absolute; left: 6px; bottom: 6px; font-size: .64rem; font-weight: 700; color: #fff; background: rgba(10,28,54,.72); backdrop-filter: blur(4px); border-radius: 999px; padding: 3px 8px; }
.hv-play { position: absolute; right: 6px; top: 6px; width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,.9); }
.hv-play::after { content: ""; position: absolute; left: 8px; top: 6px; border: 5px solid transparent; border-left: 8px solid #13233d; }
.hv-angles { display: flex; flex-wrap: wrap; gap: 6px; }
.hv-angles span { font-size: .74rem; border: 1px solid #cfe0f1; background: #f3f8fd; color: #0f3d6b; border-radius: 999px; padding: 4px 10px; }
.hv-track { margin-top: 12px; display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; background: #0d2f5c; color: #fff; border-radius: 12px; padding: 10px 12px; }
.hv-track b { display: block; font-weight: 600; } .hv-track i { font-style: normal; font-size: .7rem; color: #a9bfd8; }
.hv-tick { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: #6be3b0; color: #0a1c36; font-weight: 700; font-size: .75rem; }
.hv-track em { font-style: normal; font-size: .68rem; font-weight: 700; color: #6be3b0; }
.hv-sets { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.hv-sets li { display: grid; grid-template-columns: 8.5rem 1fr auto 3.4rem; gap: 10px; align-items: center; }
.hv-sets b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hv-sets em { font-style: normal; font-weight: 700; font-family: var(--f-display); }
.hv-meter { position: relative; height: 8px; border-radius: 999px; background: #eef1f5; }
.hv-meter::after { content: ""; position: absolute; left: 60%; top: -4px; bottom: -4px; border-left: 2px dashed #d2453a; }
.hv-meter i { position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 999px; background: linear-gradient(90deg, #6be3b0, #179268); transform-origin: 0 50%; }
.hv-meter.low i { background: linear-gradient(90deg, #ff9a91, #d2453a); }
.hv-sets s { text-decoration: none; text-align: center; font-size: .68rem; font-weight: 700; border-radius: 999px; padding: 3px 0; }
s.up { background: #e3f6ee; color: #146c4d; } s.keep { background: #eef1f5; color: #5b6676; } s.cut { background: #fde8e6; color: #a2281e; }
.hv-chat { margin-top: 12px; display: grid; gap: 6px; }
.hv-msg { margin: 0; max-width: 86%; padding: 9px 12px; border-radius: 14px; line-height: 1.4; }
.hv-msg span { display: block; margin-top: 3px; font-size: .64rem; opacity: .7; }
.hv-msg.them { background: #f1f4f8; border-bottom-left-radius: 4px; }
.hv-msg.you { justify-self: end; background: #007cd4; color: #fff; border-bottom-right-radius: 4px; }
.hv-alloc { display: grid; gap: 8px; }
.hv-alloc > div { display: grid; grid-template-columns: 4.2rem 1fr; gap: 10px; align-items: center; }
.hv-alloc i { font-style: normal; color: #5b6676; font-size: .74rem; }
.hv-split { display: flex; height: 26px; border-radius: 8px; overflow: hidden; gap: 2px; }
.hv-split b { width: var(--w); display: grid; place-items: center; font-size: .66rem; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; transform-origin: 0 50%; }
.c1 { background: #007cd4; } .c2 { background: #179268; } .c3 { background: #9aa6b6; }
.hv-chain { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.hv-chain li { position: relative; display: grid; gap: 1px; text-align: center; background: #f3f8fd; border: 1px solid #cfe0f1; border-radius: 12px; padding: 8px 4px; }
.hv-chain li + li::before { content: "→"; position: absolute; left: -12px; top: 50%; translate: 0 -50%; color: #9aa6b6; font-size: .8rem; }
.hv-chain b { font: 700 .8rem var(--f-display); color: #0067b0; } .hv-chain i { font-style: normal; font-size: .68rem; color: #5b6676; } .hv-chain em { font-style: normal; font-weight: 700; }
.hv-kpi { margin-top: 12px; display: flex; justify-content: space-between; align-items: center; gap: 10px; background: #0d2f5c; color: #fff; border-radius: 12px; padding: 10px 12px; }
.hv-kpi span { display: block; font-size: .66rem; color: #a9bfd8; text-transform: uppercase; letter-spacing: .08em; } .hv-kpi b { font: 600 .92rem var(--f-display); }
.hv-kpi em { font-style: normal; font-size: .7rem; font-weight: 700; color: #0a1c36; background: #6be3b0; border-radius: 999px; padding: 3px 9px; white-space: nowrap; }
@media (max-width: 480px) { .hv-sets li { grid-template-columns: 6.8rem 1fr auto 3rem; gap: 7px; } .hv-chain { gap: 10px; } }
@media (prefers-reduced-motion: no-preference) {
  .js .hv.hp-anim [style*="--d"], .js .hv.hp-anim .hv-track, .js .hv.hp-anim .hv-kpi { opacity: 0; transform: translateY(8px); transition: opacity .45s ease, transform .45s ease; transition-delay: calc(var(--d, 4) * 160ms + 150ms); }
  .js .hv.hp-anim .hv-meter i, .js .hv.hp-anim .hv-split b { transform: scaleX(0); transition: transform .9s cubic-bezier(.2,.8,.2,1) .3s; }
  .js .hv.hp-anim.hp-in [style*="--d"], .js .hv.hp-anim.hp-in .hv-track, .js .hv.hp-anim.hp-in .hv-kpi { opacity: 1; transform: none; }
  .js .hv.hp-anim.hp-in .hv-meter i, .js .hv.hp-anim.hp-in .hv-split b { transform: none; }
}

/* Phones: the hero chart plays by itself (site.js) instead of needing ~3 screens of scrolling */
@media (max-width: 767px) {
  .story { height: auto !important; margin-top: 28px; }
  .story-sticky { position: relative !important; top: 0 !important; height: auto !important; display: block; }
  .story-panel .canvas-wrap { flex: none; height: 290px; }
  .hero-phone { display: none !important; }
  .scroll-hint { display: none !important; }
  .story-steps { grid-template-columns: repeat(4, 1fr) !important; gap: 6px; padding: 12px 12px 4px !important; border-top: 1px solid rgba(255,255,255,.08); }
  .story-steps::before { display: none !important; }
  .story-steps li { display: block !important; opacity: 1; cursor: pointer; text-align: center; border-radius: 10px; padding: 7px 2px 6px; background: rgba(255,255,255,.04); transition: background .3s; }
  .story-steps li.is-active { background: rgba(87,217,163,.16); }
  .story-steps li .bar { display: block !important; height: 2px; margin: 0 6px 6px; background: rgba(255,255,255,.1); }
  .story-steps li b { margin: 0; font-size: .6rem !important; color: #8fa3b8 !important; letter-spacing: .04em; }
  .story-steps li.is-active b { color: #57d9a3 !important; }
  .story-steps li p { display: none; }
  .story-caption { margin: 0; padding: 8px 16px 16px; min-height: 3.2em; font-size: 1rem; line-height: 1.35; color: #fff; }
}

/* Clearer breaks between sections that shared a background */
.paper.faq { background: #fff; border-top: 1px solid var(--paper-line); }  /* pricing (warm paper) -> FAQ (white) */
.foot { background: #0e1a2c; border-top: 1px solid rgba(255,255,255,.08) !important; }  /* audit form -> footer */

/* Phones: "Who we work with" cards become a swipeable row instead of four tall cards stacked */
@media (max-width: 699px) {
  .hp-who-grid { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 6px; scroll-padding: 0 var(--gutter); scrollbar-width: none; }
  .hp-who-grid::-webkit-scrollbar { display: none; }
  .hp-who-card { flex: 0 0 80%; aspect-ratio: 4/5; scroll-snap-align: start; }
}

/* The step text column must not grow to fit a card (it pushed past the screen edge on phones) */
.step { grid-template-columns: 46px minmax(0, 1fr); }
.hv-chip { white-space: nowrap; }
@media (max-width: 480px) { .hv-chain i { font-size: .62rem; } .hv-head b { font-size: .88rem; } }

/* Phones: the scorecard example's button and ticks sit centred under the card */
@media (max-width: 899px) {
  .sc-preview-act { text-align: center; }
  .sc-preview-act .micro-trust { justify-content: center; }
}
