* {
  box-sizing: border-box;
}

:root {
  --accent: #254fa3;
  --ink: #2d2f39;
  --line: #e4e7eb;
  --muted: #677487;
  --success: #117213;
  --footer-bg: #eceeef;
  --statement-title-size: 18pt;
  --logo-title-anchor-shift: 72px;
}

html {
  min-height: 100%;
  background: #f5f7fb;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #f5f7fb;
  color: var(--ink);
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  line-height: 1.35;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.statement-shell {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  padding: 0 0 22px;
}

.statement-card {
  background: #fff;
  padding: 0 0 16px;
}

.statement-top-line {
  height: 8px;
  background: var(--accent);
}

.statement-header {
  display: flex;
  justify-content: center;
  padding: 14px 0 10px;
}

.cb-logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.cb-logo-image {
  width: clamp(94px, 15vw, 124px);
  height: auto;
  display: block;
  transform: translateX(calc((var(--logo-title-anchor-shift) * -1) - 17px));
}

.cb-logo-rainbow {
  position: relative;
  width: 92px;
  height: 48px;
}

.cb-band {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-style: solid;
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
  background: transparent;
}

.cb-band-red {
  top: 0;
  width: 92px;
  height: 46px;
  border-width: 8px;
  border-color: #e24a3b;
}

.cb-band-yellow {
  top: 6px;
  width: 76px;
  height: 38px;
  border-width: 7px;
  border-color: #f1be2c;
}

.cb-band-green {
  top: 12px;
  width: 60px;
  height: 30px;
  border-width: 6px;
  border-color: #55b357;
}

.cb-band-blue {
  top: 17px;
  width: 46px;
  height: 23px;
  border-width: 5px;
  border-color: var(--accent);
}

.cb-logo-wordmark {
  color: #e8a92e;
  font-size: clamp(24px, 4.6vw, 34px);
  font-weight: 700;
  letter-spacing: 0.18em;
}

.statement-title-bar {
  background: var(--accent);
  padding: 13px 10px;
}

.statement-title-bar h1 {
  margin: 0;
  color: #fff;
  font-size: var(--statement-title-size);
  font-weight: 500;
  line-height: 1.08;
  text-align: center;
  text-transform: none;
}

.verification-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 22px 10px 14px;
}

.verification-image {
  width: 72px;
  height: auto;
  display: block;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.08));
}

.verification-text {
  margin: 0;
  color: var(--success);
  font-size: 12.05pt;
  font-weight: 400;
  line-height: 1.12;
  text-align: center;
  white-space: nowrap;
}

.statement-details {
  padding: 4px 14px 0;
}

.statement-row {
  padding: 0 5px 11px 2px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 9px;
}

.statement-row h2 {
  margin: 0 0 6px;
  color: var(--accent);
  font-size: clamp(15px, 2.9vw, 21px);
  line-height: 1.15;
  font-weight: 700;
  text-align: left;
  text-transform: none;
}

.statement-row p {
  margin: 0;
  color: #2d3139;
  font-size: clamp(14px, 2.6vw, 18px);
  line-height: 1.28;
  overflow-wrap: anywhere;
}

.statement-footer {
  margin-top: 14px;
  background: var(--footer-bg);
  padding: 14px 18px 18px;
}

.statement-footer p {
  margin: 0;
  color: var(--accent);
  font-size: 11.5pt;
  line-height: 1.36;
  text-align: center;
}

.statement-footer strong {
  font-weight: 700;
}

.portal-card {
  min-height: calc(100vh - 38px);
}

.portal-panel {
  padding-top: 34px;
}

.portal-message {
  margin: 0;
  color: var(--muted);
  font-size: clamp(13px, 2.3vw, 16px);
  line-height: 1.35;
  text-align: center;
}

@media (max-width: 560px) {
  .statement-shell {
    padding-left: 0;
    padding-right: 0;
  }

  .statement-card {
    padding-left: 0;
    padding-right: 0;
  }

  .statement-top-line {
    height: 7px;
  }

  .statement-header {
    padding-top: 12px;
    padding-right: 0;
    padding-left: 0;
  }

  .cb-logo-image {
    width: clamp(88px, 24vw, 104px);
  }

  .statement-title-bar {
    padding: 11px 8px;
  }

  .verification-panel {
    padding-top: 18px;
    gap: 12px;
    padding-left: 6px;
    padding-right: 6px;
  }

  .verification-image {
    width: 68px;
  }

  .verification-text {
    font-size: 12.05pt;
  }

  .statement-details {
    padding-left: 6px;
    padding-right: 6px;
  }

  .statement-row {
    padding-bottom: 10px;
    margin-bottom: 8px;
  }

  .statement-footer {
    padding-left: 12px;
    padding-right: 12px;
  }
}
