:root {
  --cbcs-navy: #102535;
  --cbcs-blue: #2755a3;
  --cbcs-blue-grey: #61738c;
  --cbcs-gold: #f3b51b;
  --cbcs-paper: #f7f8fa;
  --cbcs-ink: #172b3a;
  --cbcs-muted: #566572;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--cbcs-ink);
  background: linear-gradient(135deg, #edf0f3 0, #fff 42rem);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10;
  padding: .6rem 1rem;
  color: #fff;
  background: var(--cbcs-blue);
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--cbcs-navy);
  border-bottom: 5px solid var(--cbcs-gold);
}
.site-header::after {
  position: absolute;
  right: -4rem;
  top: -8rem;
  width: 26rem;
  height: 22rem;
  content: "";
  opacity: .7;
  background: linear-gradient(135deg, transparent 0 42%, #61738c 42% 57%, #3d506a 57% 72%, transparent 72%);
  transform: rotate(8deg);
}
.header-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  width: min(1100px, calc(100% - 2rem));
  min-height: 128px;
  margin: 0 auto;
}
.brand-logo { width: 90px; height: auto; object-fit: contain; }
.brand-name { max-width: 700px; font-size: clamp(1.3rem, 3vw, 2rem); font-weight: 600; letter-spacing: .01em; line-height: 1.2; }

.page-shell { width: min(1000px, calc(100% - 2rem)); margin: 2.5rem auto 4rem; }
.legal-content, .documents {
  background: #fff;
  border: 1px solid #e1e6e9;
  box-shadow: 0 10px 28px rgba(16, 37, 53, .09);
}
.legal-content { display: block; width: 100%; min-height: 900px; border: 1px solid #e1e6e9; }

.documents { margin-top: 2rem; padding: clamp(1.3rem, 4vw, 2.4rem); }
.documents h2 { margin: 0 0 1rem; color: var(--cbcs-blue); font-size: 1.3rem; }
.documents ul { display: grid; gap: .55rem; margin: 0; padding-left: 1.2rem; }
.documents a { color: var(--cbcs-blue); font-weight: 600; overflow-wrap: anywhere; }
.documents a:hover, .documents a:focus { color: var(--cbcs-navy); }

.site-footer { min-height: 80px; background: var(--cbcs-navy); }

@media (max-width: 600px) {
  .header-inner { min-height: 106px; gap: .85rem; }
  .brand-logo { width: 70px; }
  .page-shell { margin-top: 1.25rem; }
  .legal-content p { text-align: left; }
}

@media print {
  body { background: #fff; }
  .site-header { color: var(--cbcs-ink); background: #fff; border-bottom: 2px solid var(--cbcs-gold); }
  .site-header::after, .site-footer, .documents { display: none; }
  .page-shell { width: auto; margin: 0; }
  .legal-content { border: 0; box-shadow: none; }
}
