/* Graybridge site: contrast fixes over the Porto theme (WCAG 2.1 AA, 4.5:1 for body text) */

/* Porto's #777 body text: 4.47:1 on white */
body, p { color: #5e5e5e; }                               /* 6.4:1 on white */

/* The same grey on the dark sections is 3.8:1 */
section.bg-dark p, section.bg-dark li, #home p { color: #c4c4c4; }   /* 10:1 on #1c1c1c */

/* Section kickers ("FOR INVESTORS AND ACQUIRERS") in blue on the dark sections: #0088cc is 4.37:1 there */
section.bg-dark h3 { color: #2ea3e0; }                    /* 6:1 */

/* ... and #0088cc on the light sections is 3.9:1 */
section.bg-light h3 { color: #00689c; }                   /* 5.9:1 on white */

/* The "See where your competitors are exposed" circle: white text sits on it once it grows on scroll;
   #0088cc gives 4:1 for the small text, this shade 4.9:1 */
#circleDot { background-color: #0077b6 !important; }

/* The section is blue from the start: white text must read before, during and after the circle grows (WCAG 1.4.3),
   with or without motion */
#circleSection .section { background-color: #0077b6 !important; }

/* Skip link: hidden until focused (keyboard users jump past the header) */
.gb-skip { position: absolute; left: -9999px; top: 0; z-index: 10000; background: #fff; color: #1c1c1c; padding: 10px 16px; font-weight: 600; }
.gb-skip:focus { left: 12px; top: 12px; outline: 3px solid #0077b6; }

/* Visible keyboard focus (the theme removes it): light ring on dark sections, dark blue on light ones */
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid #0077b6 !important; outline-offset: 3px; }
section.bg-dark a:focus-visible, #home a:focus-visible, .sticky-body a:focus-visible, #circleSection a:focus-visible { outline-color: #4fb3e8 !important; }

/* Legal pages (/privacy, /terms, /data, /accessibility): dark band under the header, then the text on white */
.gb-legal-hero { padding: 190px 0 48px; }
.gb-legal-title { color: #fff; font-weight: 700; font-size: 2.4rem; line-height: 1.2; margin: 0 0 8px; }
.gb-legal-hero .gb-legal-date { color: #c4c4c4; margin: 0; }                  /* 10:1 on the dark band */
.gb-legal-body { background: #fff; padding: 56px 0 72px; min-height: calc(100vh - 380px); }   /* footer at the bottom on short pages */
.gb-legal-text { max-width: 760px; font-size: 1.05rem; line-height: 1.7; }
.gb-legal-text p, .gb-legal-text li { color: #3d3d3d; }                       /* 11:1 on white */
.gb-legal-text h2 { color: #1c1c1c; font-size: 1.4rem; font-weight: 700; margin: 32px 0 12px; }
.gb-legal-text a { color: #00689c; text-decoration: underline; }               /* 5.9:1 on white */
.gb-legal-text a:hover { color: #004d73; }
.gb-legal-hero a:focus-visible { outline-color: #4fb3e8 !important; }
@media (max-width: 991.98px) { .gb-legal-hero { padding-top: 230px; } }
@media (max-width: 575.98px) { .gb-legal-hero { padding-top: 200px; } .gb-legal-title { font-size: 1.9rem; } }
