/* Shared compact layout. Keep first-screen controls in normal flow so they
   remain reachable with short viewports, browser zoom and larger text. */
:root {
  --header-height: 64px;
  --hero-gutter: 12px;
}
html { scroll-padding-top: calc(var(--header-height) + 16px); }
.site-header { background: #fff; }
.header-inner { height: var(--header-height); gap: 24px; }
.brand, .brand img { width: 126px; }
.brand img { height: 46px; }
.nav { gap: 25px; }
.nav a { font-size: .875rem; }
.nav a[aria-current="page"]::after { bottom: -7px; }
.header-cta { min-height: 40px; padding: 8px 15px; gap: 18px; }
.article-aside { top: calc(var(--header-height) + 28px); }

.hero {
  display: grid;
  grid-template-rows: 1fr auto;
  row-gap: clamp(14px, 3svh, 26px);
  min-height: min(620px, calc(100svh - var(--header-height) - 2 * var(--hero-gutter) - 2px));
  height: auto;
  margin: var(--hero-gutter) 20px;
  max-width: none;
  padding-block: clamp(18px, 3.8svh, 36px) 16px;
}
.hero > .wrap { align-self: center; }
.hero-content { padding: 0; max-width: 1040px; }
.hero .eyebrow { margin: 0 0 14px; font-size: .75rem; line-height: 1.6; max-width: none; }
.hero h1 {
  font-size: clamp(1.65rem, min(3.6vw, 6svh), 3.25rem);
  line-height: 1.48;
  letter-spacing: -.015em;
  max-width: none;
}
.hero h1 .hero-title-line { display: block; color: #fff; }
.hero h1 .hero-accent { color: #a9ccff; }
.hero-content > p:not(.eyebrow) {
  font-size: 1rem;
  line-height: 1.6;
  margin-top: 16px;
  max-width: 690px;
}
.hero-actions {
  margin-top: 20px;
  gap: 22px;
  flex-wrap: wrap;
}
.hero-actions .btn { min-height: 46px; padding: 11px 18px; }
.hero-actions .text-link { padding-block: 9px; }
.hero-bottom { position: static; }
.hero-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  row-gap: 8px;
  padding-top: 14px;
}
.hero-bottom-item {
  font-size: .75rem;
  gap: 9px;
  margin-right: 22px;
  padding-right: 22px;
}
.hero-bottom-item b { font-size: .75rem; }
.hero-bottom .image-credit { font-size: .75rem; }

.site-footer { padding: 24px 0 16px; }
.footer-grid { gap: 40px; grid-template-columns: 1fr .85fr 1.2fr; }
.footer-brand { width: 120px; height: 44px; margin-bottom: 12px; }
.footer-desc { line-height: 1.65; font-size: .8125rem; max-width: 270px; }
.footer-title { margin-bottom: 12px; }
.footer-links { gap: 4px; line-height: 1.7; }
.footer-contact { line-height: 1.65; }
.footer-contact a { margin-bottom: 4px; }
.footer-contact address { margin-top: 10px; line-height: 1.6; }
.footer-bottom { margin-top: 22px; padding-top: 14px; gap: 22px; }
.footer-bottom span { margin-bottom: 0; }
.footer-bottom span:last-child { max-width: 400px; padding-right: 40px; }
/* Close the large gap at the end of articles before the footer. */
.article-layout { padding-bottom: 36px; }
.cta-section { padding-bottom: 12px; }
.cta-panel { padding-block: 42px; }
.cta-panel h2 { font-size: clamp(1.8rem, 2.6vw, 2.4rem); }

.whatsapp-float {
  position: fixed;
  right: max(22px, env(safe-area-inset-right));
  bottom: max(22px, env(safe-area-inset-bottom));
  z-index: 60;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #168843;
  color: #fff;
  box-shadow: 0 5px 18px #04003530;
  transition: transform .18s ease, background .18s ease;
  animation: whatsapp-appear .4s ease-out both;
}
.whatsapp-float > svg { width: 29px; height: 29px; fill: currentColor; }
.whatsapp-float:hover { transform: translateY(-3px); background: #117438; }
.whatsapp-float:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.whatsapp-tooltip {
  position: absolute;
  right: calc(100% + 11px);
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  padding: 7px 12px;
  border-radius: 5px;
  background: var(--navy);
  color: white;
  font-size: .8125rem;
  line-height: 1.5;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s ease;
}
.whatsapp-float:hover .whatsapp-tooltip,
.whatsapp-float:focus-visible .whatsapp-tooltip { opacity: 1; visibility: visible; }
@keyframes whatsapp-appear {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 1500px) {
  .hero { margin-inline: 24px; }
}
@media (max-width: 1150px) {
  .header-inner { gap: 20px; }
  .hero { margin-inline: 16px; }
  .hero-bottom .image-credit { display: block; margin-left: 0; }
}
@media (max-width: 800px) {
  :root { --header-height: 60px; --hero-gutter: 10px; }
  .header-inner { height: var(--header-height); }
  .brand, .brand img { width: 115px; }
  .brand img { height: 42px; }
  .menu-toggle { padding: 6px 12px; min-height: 38px; }
  .site-header.menu-open .header-inner { min-height: var(--header-height); padding-top: 9px; }
  .hero { margin-inline: 12px; }
  .hero-bottom-item { border: none; margin-right: 16px; padding-right: 0; }
  .hero-bottom .image-credit { display: none; }
  .hero-actions { gap: 18px; }
  .footer-grid { grid-template-columns: 1fr 1.15fr; gap: 24px; }
  .footer-grid > div:first-child { gap: 30px; }
  .footer-brand { margin-bottom: 0; }
  .footer-bottom { display: flex; flex-wrap: wrap; gap: 6px 20px; }
  .footer-bottom span:last-child { text-align: left; }
  .cta-panel { padding-block: 32px; }
}
@media (max-width: 560px) {
  .hero { padding-block: 20px 14px; row-gap: 18px; }
  .hero .eyebrow { font-size: .75rem; letter-spacing: .05em; margin-bottom: 12px; }
  .hero h1 { font-size: clamp(1.3rem, min(5.6vw, 4.5svh), 1.8rem); line-height: 1.55; letter-spacing: 0; }
  .hero-content > p:not(.eyebrow) { font-size: 1rem; line-height: 1.5; margin-top: 14px; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 16px; }
  .hero-actions .btn { min-height: 44px; padding: 10px 15px; font-size: .8125rem; gap: 16px; }
  .hero-actions .text-link { font-size: .8125rem; padding-block: 7px; }
  .hero-bottom-inner { display: grid; grid-template-columns: 1fr; gap: 4px; padding-top: 11px; }
  .hero-bottom-item { font-size: .75rem; margin: 0; }
  .hero-bottom-item b { min-width: 18px; }
  .site-footer { padding-top: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 19px; }
  .footer-grid > div:first-child { display: flex; gap: 20px; align-items: center; }
  .footer-grid > div:first-child > a { flex: 0 0 104px; }
  .footer-brand { width: 104px; height: 38px; margin: 0; }
  .footer-desc { font-size: .75rem; line-height: 1.6; }
  .footer-links { flex-direction: row; flex-wrap: wrap; gap: 7px 18px; }
  .footer-title { margin-bottom: 8px; }
  .footer-contact address { max-width: none; }
  .footer-bottom { margin-top: 18px; padding-top: 12px; padding-right: 45px; }
  .footer-bottom span:last-child { padding-right: 0; }
  .whatsapp-float { width: 50px; height: 50px; right: max(14px, env(safe-area-inset-right)); bottom: max(14px, env(safe-area-inset-bottom)); }
  .whatsapp-float > svg { width: 26px; height: 26px; }
}
/* The screenshots show a shallow viewport. Reduce spacing by height too,
   without hiding controls or putting a hard cap on enlarged content. */
@media (max-height: 620px) and (min-width: 561px) {
  .hero { padding-top: 18px; padding-bottom: 12px; row-gap: 15px; }
  .hero .eyebrow { margin-bottom: 10px; }
  .hero h1 { font-size: clamp(1.55rem, 5.6svh, 2.2rem); }
  .hero-content > p:not(.eyebrow) { margin-top: 12px; font-size: .9375rem; }
  .hero-actions { margin-top: 15px; }
  .hero-bottom-inner { padding-top: 10px; }
}
@media (max-height: 430px) and (min-width: 561px) {
  .hero h1 { font-size: 1.5rem; }
  .hero-content { max-width: 1040px; }
  .hero-content > p:not(.eyebrow) { max-width: 640px; }
  .hero-bottom { display: none; }
}

/* A compact example directly after the client-access explanation. */
.report-example { padding-block: 40px; border-bottom: 1px solid var(--line); }
.report-layout { display: grid; grid-template-columns: minmax(220px, 290px) 1fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.report-preview { display: block; padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; box-shadow: 0 8px 26px #0400350a; }
.report-preview img { display: block; width: 100%; height: auto; border-radius: 4px; }
.report-copy { max-width: 710px; }
.report-copy .eyebrow { margin-bottom: 10px; }
.report-copy h2 { font-size: clamp(1.8rem, 2.8vw, 2.4rem); line-height: 1.3; margin-bottom: 14px; }
.report-copy > p:not(.eyebrow) { font-size: 1rem; line-height: 1.7; color: var(--muted); }
.report-copy > .report-note { margin-top: 10px; font-size: .875rem; }
.report-copy .text-link { margin-top: 19px; flex-wrap: wrap; gap: 12px; }
.report-format { font-size: .75rem; font-weight: 500; color: var(--muted); }
.developer-credit a { color: var(--navy); text-decoration: underline; text-decoration-color: #b6c6df; text-underline-offset: 3px; }
.developer-credit a:hover { text-decoration-color: var(--navy); }

/* Article authorship and reader actions. */
.byline { align-items: center; gap: 14px; }
.byline-photo { width: 56px; height: 56px; flex: 0 0 56px; border-radius: 50%; overflow: hidden; border: 2px solid #fff; box-shadow: 0 0 0 1px #cdd8e8; }
.byline-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.byline b { font-size: .9375rem; line-height: 1.35; }
.byline b a:hover { text-decoration: underline; text-underline-offset: 3px; }
.byline-role, .byline-meta { display: block; margin-top: 3px; line-height: 1.45; }
.byline-role { color: #515a70; font-size: .8125rem; }
.byline-meta { color: var(--muted); font-size: .75rem; }
.article-actions { margin: 35px 0 30px; padding: 26px 0 28px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.article-copy .article-actions h2 { margin: 0 0 18px; font-size: 1.125rem; }
.article-actions-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 220px)); gap: 10px; }
.article-copy .article-action { min-height: 52px; display: flex; align-items: center; justify-content: flex-start; gap: 11px; padding: 11px 16px; border: 1px solid #bfc8d7; border-radius: 7px; background: #fff; color: var(--navy); font: inherit; font-size: .875rem; font-weight: 700; line-height: 1.3; text-decoration: none; cursor: pointer; transition: border-color .18s ease, background .18s ease, transform .18s ease; }
.article-copy .article-action:hover { border-color: var(--navy); background: var(--pale); transform: translateY(-1px); }
.article-copy .article-action:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.article-action svg { width: 22px; height: 22px; flex: 0 0 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.article-action[data-share="whatsapp"] svg { fill: currentColor; stroke: none; }
.article-action[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.article-action-status { min-height: 1.4em; margin: 10px 0 0; color: #526079; font-size: .75rem; line-height: 1.4; }
@media (max-width: 700px) {
  .report-layout { grid-template-columns: 1fr; gap: 24px; }
  .report-preview { max-width: 250px; }
  .report-copy { order: -1; }
  .report-example { padding-block: 32px; }
}
@media (max-width: 480px) {
  .article-actions-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-copy .article-action { padding-inline: 12px; font-size: .8125rem; }
  .byline { align-items: flex-start; }
  .byline-role { max-width: 245px; }
}
@media (max-width: 350px) {
  .article-actions-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .whatsapp-float { animation: none; transition: none; }
  .whatsapp-tooltip { transition: none; }
}

/* Legal identity, policy pages and accessible report. */
.footer-legal { margin-top: 12px; color: #626b80; font-size: .75rem; line-height: 1.65; }
.footer-bottom, .breadcrumbs { color: #687085; }
.footer-legal strong { color: var(--navy); font-weight: 700; }
.footer-bottom { align-items: center; }
.footer-legal-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 17px; }
.footer-legal-links a { color: #596277; text-decoration: underline; text-decoration-color: #c5cfdd; text-underline-offset: 3px; }
.footer-legal-links a:hover { color: var(--navy); text-decoration-color: var(--navy); }
.report-links { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; margin-top: 19px; }
.report-links .text-link { margin-top: 0; }
.legal-layout { display: grid; grid-template-columns: minmax(220px, 280px) minmax(0, 760px); gap: clamp(45px, 8vw, 105px); justify-content: center; align-items: start; }
.legal-summary { position: sticky; top: calc(var(--header-height) + 28px); padding: 24px; border-top: 3px solid var(--blue); background: var(--pale); }
.legal-summary > p:not(.eyebrow) { color: #4f596f; font-size: .875rem; line-height: 1.75; margin-top: 16px; }
.legal-copy { color: #41495f; font-size: 1rem; line-height: 1.85; }
.legal-copy h2 { color: var(--navy); font-size: 1.45rem; line-height: 1.4; margin: 37px 0 12px; }
.legal-copy h2:first-child { margin-top: 0; }
.legal-copy p { margin-bottom: 18px; }
.legal-copy ul { padding-left: 23px; margin-block: 18px 28px; }
.legal-copy li { margin-bottom: 8px; }
.legal-copy a { color: #255799; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.accessibility-mark > span { display: block; color: var(--navy); font-size: 2.2rem; line-height: 1; }
.report-readable .wrap { max-width: 1040px; }
.report-disclaimer { margin-bottom: 36px; padding: 19px 22px; border-left: 4px solid var(--blue); background: var(--pale); color: #424b62; line-height: 1.65; }
.report-readable-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }
.report-readable h2 { font-size: 1.5rem; margin-bottom: 18px; }
.report-readable h3 { font-size: 1.15rem; margin-bottom: 10px; }
.metric-list { border-top: 1px solid var(--line); }
.metric-list > div { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.metric-list dt { color: #545d71; }
.metric-list dd { color: var(--navy); font-weight: 800; text-align: right; }
.report-breakdown { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.report-breakdown article { padding: 22px; background: var(--pale); }
.report-breakdown article p { margin-top: 7px; color: #545d71; line-height: 1.65; }
.report-breakdown article p strong { color: var(--navy); font-size: 1.35rem; }
.report-status { margin-top: 28px; color: #4e586e; }
.report-download { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 30px; }

@media (max-width: 900px) {
  .footer-bottom { align-items: flex-start; }
  .footer-legal-links { justify-content: flex-start; }
  .legal-layout { grid-template-columns: 1fr; gap: 34px; }
  .legal-summary { position: static; max-width: 600px; }
}
@media (max-width: 560px) {
  .footer-grid > div:first-child { align-items: flex-start; }
  .footer-grid > div:first-child > a { margin-top: 3px; }
  .footer-legal { margin-top: 8px; }
  .footer-bottom { padding-right: 58px; gap: 12px; }
  .footer-legal-links { gap: 9px 16px; }
  .legal-section { padding-top: 42px; }
  .legal-copy { font-size: .9375rem; line-height: 1.8; }
  .legal-copy h2 { font-size: 1.3rem; }
  .report-readable-grid { grid-template-columns: 1fr; gap: 32px; }
  .report-breakdown { margin-top: 38px; }
  .metric-list > div { gap: 13px; }
  .report-download { align-items: flex-start; flex-direction: column; }
}

/* Describe the managed service without creating a login or demo dashboard. */
.client-access { background: var(--navy); color: #dbe5f8; padding-block: 48px; }
.access-grid { display: grid; grid-template-columns: 1.05fr 1fr 1fr; gap: 40px; }
.access-intro .eyebrow { color: var(--blue); margin-bottom: 13px; }
.access-intro h2 { color: #fff; font-size: clamp(1.8rem, 2.6vw, 2.4rem); line-height: 1.2; margin-bottom: 17px; }
.access-intro > p:last-child { color: #b9c7e3; font-size: .9375rem; line-height: 1.75; max-width: 330px; }
.access-audience { border-left: 1px solid #ffffff26; padding-left: 32px; }
.access-label { color: #9fc3ff; font-size: .75rem; text-transform: uppercase; letter-spacing: .09em; font-weight: 700; margin-bottom: 13px; }
.access-audience h3 { color: #fff; font-size: 1.25rem; line-height: 1.4; letter-spacing: -.025em; margin-bottom: 13px; }
.access-audience > p:not(.access-label) { color: #c5d2e9; font-size: .875rem; line-height: 1.8; }
.access-audience ul { padding: 0; margin: 19px 0 0; list-style: none; }
.access-audience li { font-size: .875rem; line-height: 1.7; padding-block: 4px; }
.access-audience li::before { content: '✓'; color: var(--blue); margin-right: 9px; }
@media (max-width: 1000px) {
  .access-grid { grid-template-columns: 1fr 1fr; gap: 29px 35px; }
  .access-intro { grid-column: 1 / -1; }
  .access-intro > p:last-child { max-width: 650px; }
  .access-audience { padding-left: 0; border-left: 0; border-top: 1px solid #ffffff26; padding-top: 24px; }
}
@media (max-width: 560px) {
  .client-access { padding-block: 34px; }
  .access-grid { grid-template-columns: 1fr; gap: 25px; }
  .access-intro h2 { font-size: 1.8rem; }
  .access-audience { padding-top: 22px; }
  .access-audience ul { margin-top: 12px; }
}

/* Compact, visually distinct closing area. */
.site-footer {
  padding: 18px 0 10px;
  border-top: 6px solid var(--blue);
  background: #f4f7fc;
}
.footer-grid {
  grid-template-columns: 1.05fr .85fr 1.15fr;
  gap: 32px;
}
.footer-brand { width: 104px; height: 38px; margin-bottom: 7px; }
.footer-desc { max-width: 250px; font-size: .75rem; line-height: 1.5; }
.footer-legal { margin-top: 7px; line-height: 1.5; }
.footer-title { margin-bottom: 7px; }
.footer-links { gap: 2px; line-height: 1.5; }
.footer-contact { line-height: 1.5; }
.footer-contact a { margin-bottom: 2px; }
.footer-contact address { margin-top: 6px; line-height: 1.5; }
.footer-bottom {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  margin-top: 14px;
  padding-top: 10px;
  border-top-color: #b8c7dc;
  gap: 14px;
}
.footer-bottom span:last-child { max-width: none; padding-right: 0; }

@media (max-width: 900px) {
  .footer-grid { gap: 24px; }
  .footer-bottom { display: flex; align-items: flex-start; }
}

@media (max-width: 560px) {
  .site-footer { padding: 15px 0 10px; border-top-width: 5px; }
  .footer-grid { gap: 14px; }
  .footer-grid > div:first-child {
    display: grid;
    grid-template-columns: 90px 1fr;
    column-gap: 14px;
    row-gap: 4px;
  }
  .footer-grid > div:first-child > a { grid-row: 1 / span 2; margin-top: 0; }
  .footer-brand { width: 90px; height: 33px; }
  .footer-desc, .footer-legal { margin-top: 0; }
  .footer-title { margin-bottom: 5px; }
  .footer-contact address { margin-top: 4px; }
  .footer-bottom { margin-top: 12px; padding-top: 9px; padding-right: 54px; gap: 7px; }
}
