/* CloudBridge revision 2026-11-27: section heading size, cookie banner,
   rethink layout, new section art, headline wrap, access-model art.
   Does not change Greg's .htaccess or security headers.
   JS handles anchor scrolling; keep CSS scroll-behavior from fighting it. */

html {
  scroll-padding-top: 105px;
  scroll-behavior: auto !important;
}

/* ----- Section headings match .hr-hero .hr-h1 ----- */
h1,
.page-hero h1,
.page-hero .hero-grid h1,
.wd-hero h1,
.hero h1,
.hero h1.slogan,
.closing h2,
.statement-grid h2,
.section h2,
.section-head h2,
.story h2,
h2.intro-line,
h2.quote-line,
.proof-grid h2 {
  font-family: Sora, Arial, sans-serif;
  font-weight: 600;
  font-size: clamp(40px, 3.85vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.035em;
}
@media (max-width: 600px) {
  h1,
  .page-hero h1,
  .page-hero .hero-grid h1,
  .wd-hero h1,
  .hero h1,
  .hero h1.slogan,
  .closing h2,
  .statement-grid h2,
  .section h2,
  .section-head h2,
  .story h2,
  h2.intro-line,
  h2.quote-line,
  .proof-grid h2 {
    font-size: clamp(34px, 9.4vw, 42px);
  }
}

/* Keep non-section headings at their existing small sizes */
.footer-links h2 {
  font: 500 12px/1.6 Inter, Arial, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.dialog-top h2 {
  font-size: 21px;
  letter-spacing: -0.02em;
  line-height: 1.12;
  font-weight: 600;
}
@media (max-width: 600px) {
  .dialog-top h2 { font-size: 17px; }
}
.why-cb .why-title,
h2.why-title {
  font: 500 12px/1.6 Inter, Arial, sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 26px;
}

/* ----- Cookie banner (vdcmsp pattern, CloudBridge palette) ----- */
.cb-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 180;
  background: rgba(8, 18, 33, 0.97);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  padding: 14px 24px calc(14px + env(safe-area-inset-bottom));
}
.cb-consent[hidden] { display: none !important; }
.cb-consent-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  flex-wrap: wrap;
}
.cb-consent-copy { flex: 1; min-width: 220px; }
.cb-consent-copy strong {
  display: block;
  font-family: Sora, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--paper);
  margin-bottom: 2px;
  letter-spacing: -0.01em;
}
.cb-consent-copy p {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.5;
  max-width: 720px;
  margin: 0;
}
.cb-consent-copy a {
  color: var(--sc);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cb-consent-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.cb-consent-actions .button {
  padding: 10px 18px;
  font-size: 13.5px;
  min-height: 42px;
  box-shadow: none;
}
@media (max-width: 600px) {
  .cb-consent { padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); }
  .cb-consent-actions { width: 100%; }
  .cb-consent-actions .button { flex: 1; justify-content: center; }
}

/* Footer privacy / cookie links */
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.6;
}
.footer-legal a {
  color: #6f80a3;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
}
.footer-legal a:hover,
.footer-legal a:focus-visible { color: var(--sc); border-color: var(--sc); }

/* ----- Route-to-work headline wrap (kept from prior preview) ----- */
#route-to-work .intro-line {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 1000px;
}
#route-to-work .rtw-l { display: block; }
#route-to-work .rtw-keep,
#route-to-work .rtw-l2,
#route-to-work .rtw-l4 { white-space: nowrap; }

/* ----- Application access model art (kept) ----- */
.access-model.aam {
  padding: 34px 28px 28px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 42%, rgba(100, 200, 255, 0.08), transparent 58%),
    #0b1730;
}
.access-model.aam > h3 { margin-bottom: 22px; }
.aam-art { margin: 8px 0 22px; }
.aam-art img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: #081221;
}
.aam-art img.aam-art__narrow { display: none; }
@media (max-width: 820px) {
  .access-model.aam { padding: 24px 16px 20px; }
  .aam-art { margin: 4px 0 18px; }
  .aam-art img.aam-art__wide { display: none; }
  .aam-art img.aam-art__narrow { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  .aam-art img { animation: none; }
}

/* ----- Re-think the desktop: clear before / after flow ----- */
.rethink__intro { max-width: 820px; margin: 0 0 36px; }
.rethink__intro h2 { margin: 0 0 18px; }
.rethink__intro .lead { margin: 0; }
.rethink__detail {
  max-width: 760px;
  margin: 0 0 40px;
  color: var(--muted);
}
.rethink__detail p + p { margin-top: 16px; }
.rethink__flow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 0 0 36px;
  align-items: stretch;
}
.rethink__col {
  margin: 0;
  padding: 28px 28px 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(8, 18, 33, 0.72);
}
.rethink__col .mini { margin: 0 0 14px; }
.rethink__col h3 { margin: 0 0 14px; }
.rethink__col > p { color: var(--muted); margin: 0 0 16px; }
.rethink__col ul { margin: 0; padding: 0 0 0 18px; color: var(--muted); }
.rethink__col li + li { margin-top: 8px; }
.rethink__col--after {
  border-color: rgba(100, 200, 255, 0.35);
  background:
    linear-gradient(180deg, rgba(100, 200, 255, 0.07), transparent 40%),
    rgba(8, 18, 33, 0.72);
}
.rethink .desk-split { margin: 0 0 20px; }
.rethink .noise-sources { margin: 0; }
@media (max-width: 820px) {
  .rethink__flow { grid-template-columns: 1fr; gap: 16px; }
  .rethink__col { padding: 22px 20px 20px; }
}

/* ----- Shared original-art frames ----- */
.cb-art {
  margin: 0;
  padding: 0;
}
.cb-art img,
.cb-art svg {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: #081221;
}
.guides-with-art,
.idea-with-art,
.pov-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.guides-with-art .section-head,
.idea-with-art .idea-copy { margin: 0; }
@media (max-width: 900px) {
  .guides-with-art,
  .idea-with-art,
  .pov-hero {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* About point-of-view hero: heading keeps page-hero spacing, art on the right */
.pov-hero { padding: 0; }
.page-hero.page-hero--pov .wrap.pov-hero { width: min(calc(100% - 96px), var(--max)); }
.page-hero--pov .pov-copy .lead { margin: 0; }

/* Privacy page */
.legal-page { padding: 72px 0 80px; }
.legal-page h1 { margin: 0 0 28px; }
.legal-page .lead { margin: 0 0 36px; }
.legal-block { max-width: 720px; margin: 0 0 32px; }
.legal-block h2 {
  font-family: Sora, Arial, sans-serif;
  font-weight: 600;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
}
.legal-block p, .legal-block address, .legal-block li {
  color: #c4d3ea;
  font-style: normal;
  font-size: 16px;
  line-height: 1.7;
}
.legal-block address { margin: 12px 0; }
.legal-review {
  margin: 0 0 36px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--sc);
  border-radius: 12px;
  background: rgba(17, 31, 54, 0.8);
  color: #c4d3ea;
  max-width: 760px;
}
.legal-review strong { color: var(--paper); }
.legal-review ul { margin: 8px 0 0; padding-left: 18px; }
.legal-review li + li { margin-top: 6px; }
