/* Resource and Signal cards on phones and small tablets.
   Each paper, report and edition reads as one bordered white card, with a calmer type scale.
   Desktop layouts are unchanged. Teal text stays at #08756d for contrast; #14919B and its tints are used for lines only. */

/* Signal sign-up: keep the success line hidden until the form succeeds (all widths). */
.signal-inbox .signal-signup-success[hidden],.signal-inbox .signal-signup-error[hidden]{display:none}

/* Signal index: one editorial lead, one current issue and one clear subscription route.
   On mobile the reading order stays introduction, latest issue, signup, archive. */
body.insights-page:not(.newsletter-page) .signal-index-lead{display:grid;grid-template-columns:minmax(280px,.92fr) minmax(0,1.08fr);grid-template-rows:auto minmax(0,1fr);grid-template-areas:"intro latest" "signup latest";column-gap:clamp(1.75rem,4vw,3.25rem);row-gap:clamp(1.5rem,3vw,2.25rem);align-items:stretch}
body.insights-page:not(.newsletter-page) .signal-index-header{grid-area:intro;align-self:start;margin:0}
body.insights-page:not(.newsletter-page) .signal-hero{grid-area:latest;align-self:stretch;height:100%;display:flex;flex-direction:column;border:1px solid #ACD8DC;border-radius:12px;box-shadow:0 1px 2px rgba(15,20,25,.04),0 10px 28px rgba(15,20,25,.06)}
body.insights-page:not(.newsletter-page) .signal-hero-copy{margin-top:auto}
body.insights-page:not(.newsletter-page) .signal-inbox{grid-area:signup;align-self:end;width:100%;margin:0}
body.insights-page:not(.newsletter-page) .signal-inbox-inner{max-width:none;padding:clamp(1.25rem,2.4vw,1.75rem);border:1px solid #ACD8DC;border-top:3px solid #14919B;border-radius:12px;background:#F3F5F6}
body.insights-page:not(.newsletter-page) .signal-inbox h2{font-size:clamp(1.45rem,2vw,1.8rem)}
body.insights-page:not(.newsletter-page) .signal-inbox .signal-inbox-inner>p{font-size:.98rem}
body.insights-page:not(.newsletter-page) .signal-hero-copy{gap:.7rem}
body.insights-page:not(.newsletter-page) .signal-hero h2{font-size:clamp(1.65rem,2.5vw,2.35rem)}
body.insights-page:not(.newsletter-page) .signal-latest-label{justify-self:start;padding:.35rem .6rem;border-radius:4px;background:#E6F3F4;color:#08756d;font-size:.72rem;font-weight:700;letter-spacing:.08em;line-height:1;text-transform:uppercase}
body.insights-page:not(.newsletter-page) .earlier-editions{margin-top:clamp(3rem,6vw,4.75rem);padding-top:clamp(2rem,4vw,3rem);border-top:1px solid #e6eaed}
body.insights-page:not(.newsletter-page) .earlier-editions h2{margin:0 0 .7rem;font-size:clamp(1.7rem,2.6vw,2.25rem);font-weight:500;letter-spacing:-.03em}
body.insights-page:not(.newsletter-page) .earlier-editions-intro{max-width:40rem;margin:0 0 clamp(1.5rem,3vw,2.25rem);color:#5a6472;font-size:1.05rem;line-height:1.5}
body.insights-page:not(.newsletter-page) .edition-features{display:flex;flex-direction:column}
body.insights-page:not(.newsletter-page) .edition-feature{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(1.5rem,4vw,3.5rem);align-items:center;padding:clamp(1.5rem,3vw,2.5rem) 0;border-top:1px solid #e6eaed;color:inherit;text-decoration:none}
body.insights-page:not(.newsletter-page) .edition-feature:nth-of-type(-n+6){order:0}
body.insights-page:not(.newsletter-page) .edition-feature:first-of-type{border-top:0;padding-top:.25rem}
body.insights-page:not(.newsletter-page) .edition-feature:nth-of-type(even) .edition-feature-media{order:-1}
body.insights-page:not(.newsletter-page) .edition-feature-media{display:block;overflow:hidden;border:1px solid #ACD8DC;border-radius:12px;background:#F3F5F6;line-height:0}
body.insights-page:not(.newsletter-page) .edition-feature-media img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;background:#F3F5F6}
body.insights-page:not(.newsletter-page) .edition-feature-copy{display:grid;gap:.7rem;align-content:center;min-width:0}
body.insights-page:not(.newsletter-page) .edition-feature-kicker{color:#08756d;font-size:.75rem;font-weight:700;letter-spacing:.08em;line-height:1.3;text-transform:uppercase}
body.insights-page:not(.newsletter-page) .edition-feature strong{color:#14181F;font-size:clamp(1.65rem,2.4vw,2.25rem);font-weight:500;letter-spacing:-.03em;line-height:1.15}
body.insights-page:not(.newsletter-page) .edition-feature-summary{max-width:36rem;color:#5a6472;font-size:1.05rem;line-height:1.5}
body.insights-page:not(.newsletter-page) .older-editions-title{display:none;order:1;margin:clamp(2rem,4vw,3rem) 0 .35rem;font-size:clamp(1.35rem,2vw,1.7rem);font-weight:500;letter-spacing:-.03em}
body.insights-page:not(.newsletter-page) .edition-feature:nth-of-type(n+7),
body.insights-page:not(.newsletter-page) .older-edition{order:2}
body.insights-page:not(.newsletter-page) .edition-features:has(.edition-feature:nth-of-type(7)) .older-editions-title,
body.insights-page:not(.newsletter-page) .edition-features:has(.older-edition) .older-editions-title{display:block}
body.insights-page:not(.newsletter-page) .edition-feature:nth-of-type(n+7),
body.insights-page:not(.newsletter-page) .older-edition{grid-template-columns:8.5rem minmax(0,1fr);gap:1.15rem;align-items:center;padding:1rem 0}
body.insights-page:not(.newsletter-page) .edition-feature:nth-of-type(n+7) .edition-feature-media,
body.insights-page:not(.newsletter-page) .older-edition .edition-feature-media{order:0;border-radius:8px}
body.insights-page:not(.newsletter-page) .edition-feature:nth-of-type(n+7) .edition-feature-summary,
body.insights-page:not(.newsletter-page) .older-edition .edition-feature-summary{display:none}
body.insights-page:not(.newsletter-page) .edition-feature:nth-of-type(n+7) strong,
body.insights-page:not(.newsletter-page) .older-edition strong{font-size:1.15rem;line-height:1.3}
@media(hover:hover) and (pointer:fine){
  body.insights-page:not(.newsletter-page) .edition-feature-media img{transition:transform .35s ease}
  body.insights-page:not(.newsletter-page) .edition-feature:hover .edition-feature-media img,
  body.insights-page:not(.newsletter-page) .edition-feature:focus-visible .edition-feature-media img{transform:scale(1.03)}
  body.insights-page:not(.newsletter-page) .edition-feature:hover strong,
  body.insights-page:not(.newsletter-page) .edition-feature:focus-visible strong{color:#08756d}
}
body.insights-page:not(.newsletter-page) .edition-feature:focus-visible{outline:3px solid #14919B;outline-offset:4px}
@media(max-width:800px){
  body.insights-page:not(.newsletter-page) .edition-feature,
  body.insights-page:not(.newsletter-page) .edition-feature:nth-of-type(n+7),
  body.insights-page:not(.newsletter-page) .older-edition{grid-template-columns:1fr;gap:1rem;padding:1.35rem 0}
  body.insights-page:not(.newsletter-page) .edition-feature .edition-feature-media,
  body.insights-page:not(.newsletter-page) .edition-feature:nth-of-type(even) .edition-feature-media{order:-1}
  body.insights-page:not(.newsletter-page) .edition-feature:nth-of-type(n+7),
  body.insights-page:not(.newsletter-page) .older-edition{grid-template-columns:5.75rem minmax(0,1fr);gap:.9rem;align-items:center}
  body.insights-page:not(.newsletter-page) .edition-feature:nth-of-type(n+7) .edition-feature-media,
  body.insights-page:not(.newsletter-page) .older-edition .edition-feature-media{order:0}
  body.insights-page:not(.newsletter-page) .edition-feature strong{font-size:1.45rem}
}
@media(prefers-reduced-motion:reduce){
  body.insights-page:not(.newsletter-page) .edition-feature-media img{transition:none}
  body.insights-page:not(.newsletter-page) .edition-feature:hover .edition-feature-media img,
  body.insights-page:not(.newsletter-page) .edition-feature:focus-visible .edition-feature-media img{transform:none}
}

@media(max-width:900px){
  body.insights-page:not(.newsletter-page) .signal-index-lead{grid-template-columns:1fr;grid-template-rows:auto;grid-template-areas:"intro" "latest" "signup";gap:1.5rem}
  body.insights-page:not(.newsletter-page) .signal-hero{height:auto}
  body.insights-page:not(.newsletter-page) .signal-inbox{align-self:stretch}
}

@media(max-width:800px){
  body.whitepapers-page .wp-index-list{gap:1.25rem;margin-top:2rem}
  body.whitepapers-page .wp-report,body.whitepapers-page .wp-report:nth-child(even){gap:0;overflow:hidden;border:1px solid #ACD8DC;border-top:3px solid #14919B;border-radius:12px;background:#fff;box-shadow:0 1px 2px rgba(15,20,25,.04),0 6px 18px rgba(15,20,25,.06)}
  body.whitepapers-page .wp-report-media,body.whitepapers-page .wp-report-media.is-wide{border-radius:0;border-bottom:1px solid #e3e6ea}
  body.whitepapers-page .wp-report-copy{padding:1rem 1.1rem 1.1rem}
  body.whitepapers-page .wp-report time{margin:0 0 .45rem;color:#08756d;font-size:.75rem;font-weight:600;letter-spacing:.07em;text-transform:uppercase}
  body.whitepapers-page .wp-report h2{font-size:1.35rem;letter-spacing:-.02em;line-height:1.22}
  body.whitepapers-page .wp-report p{margin-top:.55rem;font-size:.95rem;line-height:1.5}
  body.whitepapers-page .wp-report-read{margin-top:.9rem;padding-top:.8rem;border-top:1px solid #e3e6ea;font-size:.95rem}
}

@media(max-width:640px){
  body.insights-page .signal-hero,body.insights-page .earlier-card{border:1px solid #ACD8DC;border-radius:12px;box-shadow:0 1px 2px rgba(15,20,25,.04),0 6px 18px rgba(15,20,25,.06)}
  body.insights-page .signal-hero{border-top:3px solid #14919B}
  body.insights-page .signal-hero-media,body.insights-page .earlier-card picture{border-bottom:1px solid #e3e6ea}
  body.insights-page .signal-hero-copy{gap:.45rem;padding:1rem 1.1rem 1.15rem}
  body.insights-page .signal-hero-meta,body.insights-page .signal-hero time{font-size:.72rem}
  body.insights-page .signal-hero h2{font-size:1.45rem;letter-spacing:-.025em;line-height:1.18}
  body.insights-page .signal-hero p{font-size:.95rem}
  body.insights-page:not(.newsletter-page) .signal-index-lead{gap:1.35rem}
  body.insights-page:not(.newsletter-page) .signal-inbox{margin-top:0}
  body.insights-page:not(.newsletter-page) .signal-inbox-inner{padding:1.75rem 1.25rem;border:0;background:#111719}
  body.insights-page:not(.newsletter-page) .signal-inbox h2{max-width:none;color:#fff;font-size:1.25rem;line-height:1.1}
  body.insights-page:not(.newsletter-page) .signal-inbox .signal-inbox-inner>p{margin-top:.55rem;color:rgba(255,255,255,.86);font-size:.78rem;line-height:1.4}
  body.insights-page:not(.newsletter-page) .signal-inbox .signal-signup-consent{color:rgba(255,255,255,.85);font-size:11px;line-height:1.35}
  body.insights-page:not(.newsletter-page) .signal-inbox .signal-signup-success{color:#fff}
  body.insights-page:not(.newsletter-page) .signal-inbox .signal-signup-error{color:#ffb4aa}
  body.insights-page .earlier-editions-grid{gap:1rem}
  body.insights-page .earlier-card span{padding:.9rem 1rem 1rem}
  body.insights-page .earlier-card em.signal-hero-meta{font-style:normal}
  body.insights-page .earlier-card strong{font-size:.98rem;line-height:1.3}
}

/* Research cards, shared by /resources and the homepage.
   Portrait cover, type tag over the image, frosted title panel.
   The first three sit in one row: three across when wide, a scroll-snap carousel when narrow. */
.res-hub,.home-research{--res-gap:clamp(1rem,2vw,1.5rem);background:#fff;color:#0f1419;font-family:Inter,"Inter Fallback",var(--font-sans)}
.res-hub{padding:calc(96px + clamp(2.5rem,6vw,4.5rem)) 0 clamp(3.5rem,7vw,5.5rem)}
.res-hub h1{margin:0;font-family:Inter,var(--font-sans);font-size:clamp(3rem,6vw,4.5rem);font-weight:500;letter-spacing:-.05em;line-height:.95}
.res-intro{max-width:36rem;margin:1rem 0 0;color:#5a6472;font-size:1.15rem;line-height:1.5}
.res-filters{display:flex;flex-wrap:wrap;gap:.6rem;margin:clamp(1.5rem,3vw,2.25rem) 0 0}
.res-filters button{min-height:44px;padding:.45rem 1rem;border:1px solid #ACD8DC;border-radius:999px;background:#fff;color:#0F1419;font-family:Inter,var(--font-sans);font-size:.92rem;font-weight:600;letter-spacing:-.01em;cursor:pointer}
.res-filters button[aria-pressed="true"]{border-color:#14919B;background:#14919B;color:#fff}
.res-filters button:hover{border-color:#66B7BE}
.res-filters button[aria-pressed="true"]:hover{border-color:#14919B;background:#14919B}
.res-filters button:focus-visible{outline:3px solid #14919B;outline-offset:3px}
.res-filter-status{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;border:0}
.res-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--res-gap);margin-top:clamp(1.35rem,2.5vw,1.85rem)}
.res-follow{margin-top:var(--res-gap)}
.res-card{position:relative;display:block;overflow:hidden;border-radius:12px;background:#e7f2f3;color:inherit;text-decoration:none;font-family:Inter,"Inter Fallback",var(--font-sans)}
.res-card[hidden],.res-row[hidden],.res-follow[hidden],.res-dots[hidden]{display:none}
.res-card-media{display:block;aspect-ratio:210/297;background:#e7f2f3;line-height:0}
.res-card-media picture{display:block;height:100%}
.res-card-media img{display:block;width:100%;height:100%;object-fit:contain;background:#e7f2f3}
.res-type{position:absolute;z-index:3;top:8.5%;left:.85rem;display:inline-block;margin:0;padding:.32rem .6rem;border-radius:4px;background:#E6F3F4;color:#08756d;font-family:Inter,var(--font-sans);font-size:.72rem;font-weight:700;letter-spacing:.08em;line-height:1;text-transform:uppercase}
.res-card-panel{position:absolute;z-index:2;right:0;bottom:0;left:0;padding:1rem 1rem .95rem;border-top:1px solid rgba(255,255,255,.72);background:linear-gradient(to top,rgba(255,255,255,.94) 62%,rgba(255,255,255,.78));color:#0F1419;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}
.res-card-kicker{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:.35rem .75rem;margin:0 0 .4rem;color:#08756d;font-size:.68rem;font-weight:700;letter-spacing:.08em;line-height:1.3;text-transform:uppercase}
.res-card-kicker time{color:#5a6472;font-weight:600}
.res-card-title{margin:0;color:#0F1419;font-family:Inter,var(--font-sans);font-size:clamp(1.05rem,1.15vw,1.28rem);font-weight:600;letter-spacing:-.02em;line-height:1.25}
.res-card-read{display:block;margin-top:.55rem;color:#08756d;font-size:.88rem;font-weight:600;line-height:1.35}
.res-card-extra{display:grid;grid-template-rows:1fr}
.res-card-extra-in{overflow:hidden;min-height:0}
.res-card-summary{margin:.7rem 0 0;color:#3a3f45;font-size:.92rem;line-height:1.45}
.res-card-learn{display:inline-block;margin-top:.7rem;color:#0F1419;font-size:.92rem;font-weight:700;line-height:1.3;text-decoration:underline;text-underline-offset:.18em}
.res-card:focus-visible{outline:3px solid #14919B;outline-offset:-3px}
.res-dots{display:none;justify-content:center;gap:.15rem;margin:.75rem 0 0;padding:0}
.res-dots button{position:relative;width:24px;height:24px;padding:0;border:0;border-radius:50%;background:transparent;cursor:pointer}
.res-dots button::before{content:"";position:absolute;top:50%;left:50%;width:7px;height:7px;border-radius:50%;background:#ACD8DC;transform:translate(-50%,-50%)}
.res-dots button[aria-current="true"]::before{background:#14919B;box-shadow:0 0 0 2px #fff,0 0 0 3.5px #14919B}
.res-dots button:focus-visible{outline:3px solid #14919B;outline-offset:2px}
@media (min-width:801px){
  .res-follow .res-card{width:calc((100% - 2 * var(--res-gap)) / 3)}
  .res-dots{display:none}
}
@media (hover: hover){
  .res-card-extra{grid-template-rows:0fr;transition:grid-template-rows .28s ease}
  .res-card:hover .res-card-extra,.res-card:focus-visible .res-card-extra{grid-template-rows:1fr}
}
@media (prefers-reduced-motion: reduce){
  .res-card-extra{transition:none}
}
.home-research{padding:clamp(2.75rem,5vw,4.25rem) 0}
.home-research-head{display:flex;align-items:baseline;justify-content:space-between;gap:1rem 1.5rem;margin:0 0 clamp(1.15rem,2vw,1.5rem)}
.home-research h2{margin:0;font-family:Inter,var(--font-sans);font-size:clamp(2rem,3vw,2.75rem);font-weight:500;letter-spacing:-.04em;line-height:1}
.home-research .signal-mark{color:#1cbdad}
.home-research .text-link{flex:none;margin-top:0}
@media(max-width:800px){
  .res-hub{padding-top:calc(78px + 2.25rem)}
  .res-intro{font-size:1.02rem}
  .res-filters{flex-wrap:nowrap;gap:.4rem;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .res-filters::-webkit-scrollbar{display:none}
  .res-filters button{flex:0 0 auto;min-height:40px;padding:.35rem .7rem;font-size:.82rem}
  .res-row{display:flex;gap:.75rem;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-inline:0;overscroll-behavior-x:contain;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .res-row::-webkit-scrollbar{display:none}
  .res-row>.res-card{flex:0 0 84%;max-height:100svh;scroll-snap-align:start;scroll-snap-stop:always}
  .res-row[data-count="1"]>.res-card:not([hidden]),.res-follow .res-card{flex-basis:100%;width:100%;max-height:100svh}
  .res-card-media{max-height:calc(100svh - 6.5rem)}
  .res-dots:not([hidden]){display:flex}
  .home-research-head{align-items:flex-start;flex-direction:column;gap:.75rem}
}

@media(max-width:640px){
  /* On phones, show each complete portrait cover above its copy.
     The shared homepage cards and wider layouts keep their compact overlay treatment. */
  body.resources-page .res-row>.res-card,
  body.resources-page .res-follow .res-card{max-height:none}
  body.resources-page .res-card-media{height:auto;max-height:none;aspect-ratio:auto}
  body.resources-page .res-card-media picture{height:auto}
  body.resources-page .res-card-media img{width:100%;height:auto;aspect-ratio:auto;object-fit:contain}
  body.resources-page .res-card-panel{position:relative;right:auto;bottom:auto;left:auto;display:block;box-sizing:border-box;width:100%;border-top:1px solid #d9e2e5;background:#fff;-webkit-backdrop-filter:none;backdrop-filter:none}
}

/* Guide landing page: book beside the title, then what you'll learn. */
body.guide-page .guide-hero .hero-in{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:clamp(1.5rem,4vw,3rem);align-items:center;max-width:1180px}
body.guide-page .guide-name{margin:20px 0 0;color:#08756d;font-size:15px;font-weight:600;letter-spacing:.01em}
body.guide-page .guide-hero h1{margin:10px 0 14px;font-size:clamp(2.4rem,4.6vw,3.5rem)}
body.guide-page .guide-hero-book{display:block;margin:0;border-radius:14px;overflow:hidden;box-shadow:0 1px 2px rgba(15,20,25,.04),0 12px 32px rgba(15,20,25,.08);line-height:0;color:inherit;text-decoration:none}
body.guide-page a.guide-hero-book{cursor:pointer}
body.guide-page a.guide-hero-book:focus-visible{outline:3px solid #08756d;outline-offset:4px}
body.guide-page .guide-hero-book img{display:block;width:100%;height:auto}
/* The fixed header is 76px once the page has scrolled, and 70px below 850px. Leave a little air under it so the gate heading is fully on screen. */
body.guide-page #download{scroll-margin-top:calc(76px + 1.25rem)}
@media(max-width:850px){body.guide-page #download{scroll-margin-top:calc(70px + 1.25rem)}}
body.guide-page .guide-teaser{max-width:1180px;margin:0 auto;padding:clamp(2.25rem,4vw,3.25rem) 32px 20px}
body.guide-page .guide-teaser-in{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,.65fr);gap:clamp(1.5rem,4vw,3.5rem);align-items:start}
body.guide-page .guide-learn h2{margin:0 0 18px;font-size:clamp(1.7rem,3vw,2.2rem)}
body.guide-page .guide-points{display:grid;gap:12px;margin:0;padding:0;list-style:none;counter-reset:pt}
body.guide-page .guide-points li{position:relative;padding:14px 18px 14px 58px;border:1px solid #ACD8DC;border-radius:12px;background:#fff;color:#3a3f45;font-size:16px;line-height:1.55;counter-increment:pt}
body.guide-page .guide-points li:before{content:counter(pt);position:absolute;left:16px;top:14px;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#E6F3F4;color:#08756d;font-size:14px;font-weight:700}
body.guide-page .guide-points b{display:block;color:#0f1419}
body.guide-page .guide-aside{padding:22px 24px;border-left:3px solid #14919B;border-radius:0 12px 12px 0;background:#F3F5F6}
body.guide-page .guide-aside p{margin:0 0 12px;font-size:15px;line-height:1.55}
body.guide-page .guide-aside p:last-child{margin-bottom:0}
body.guide-page .guide-quote{color:#0f1419;font-size:20px!important;font-weight:600;letter-spacing:-.01em;line-height:1.3!important}
body.guide-page .continue-card-media img{aspect-ratio:210/297;object-fit:contain;height:auto}
@media(max-width:900px){
  body.guide-page .guide-hero .hero-in,body.guide-page .guide-teaser-in{grid-template-columns:1fr}
  body.guide-page .guide-hero-book{max-width:520px}
}
@media(max-width:760px){
  body.guide-page .guide-hero h1{font-size:2.1rem;line-height:1.1}
  body.guide-page .guide-hero .sub{font-size:1.05rem;margin-bottom:20px}
  body.guide-page .guide-teaser{padding:2rem 18px 12px}
  body.guide-page .guide-learn h2{font-size:1.6rem}
  body.guide-page .guide-points li{padding:12px 14px 12px 52px;font-size:15px}
  body.guide-page .guide-points li:before{left:13px;top:12px}
}
