/* Bricks defaults to a 62.5% root size. This design system is authored against
   the browser-standard 16px rem scale used by the approved mockups. */
html {
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--pc-off-white);
  color: var(--pc-ink);
  font-family: var(--pc-font-body);
  font-size: var(--pc-text-base);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

:where(h1, h2, h3, h4, h5, h6) {
  color: var(--pc-navy);
  font-family: var(--pc-font-heading);
  font-weight: 720;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

h1 { font-size: var(--pc-text-3xl); line-height: 1.02; }
h2 { font-size: var(--pc-text-2xl); line-height: 1.08; }
h3 { font-size: var(--pc-text-xl); line-height: 1.2; }

a { color: var(--pc-blue); text-underline-offset: 0.18em; }
a:hover { color: var(--pc-navy); }

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 2px solid var(--pc-blue);
  outline-offset: 3px;
  box-shadow: var(--pc-focus-ring);
}

::selection { background: rgb(53 116 185 / 0.22); color: var(--pc-navy); }

.pc-container {
  width: min(calc(100% - 2rem), var(--pc-content-width));
  margin-inline: auto;
}

.pc-section { padding-block: var(--pc-section-space); }
.pc-section--white { background: var(--pc-white); }
.pc-section--mist { background: var(--pc-mist); }
.pc-section--navy { background: var(--pc-navy); color: var(--pc-white); }
.pc-section--navy :where(h1, h2, h3, h4, h5, h6) { color: var(--pc-white); }

.pc-eyebrow {
  color: var(--pc-blue);
  font-family: var(--pc-font-heading);
  font-size: var(--pc-text-xs);
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pc-card {
  border: 1px solid var(--pc-line);
  border-radius: var(--pc-radius-lg);
  background: var(--pc-white);
  box-shadow: var(--pc-shadow-card);
}

.pc-button,
.brxe-button.pc-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.25rem;
  border: 2px solid var(--pc-blue);
  border-radius: var(--pc-radius-pill);
  background: var(--pc-blue);
  color: var(--pc-white);
  font-family: var(--pc-font-heading);
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.pc-button:hover,
.brxe-button.pc-button:hover {
  border-color: var(--pc-navy);
  background: var(--pc-navy);
  color: var(--pc-white);
  transform: translateY(-1px);
}

.pc-button--outline,
.brxe-button.pc-button--outline {
  background: transparent;
  color: var(--pc-blue);
}

@media (max-width: 47.99rem) {
  .pc-container { width: min(calc(100% - 1.25rem), var(--pc-content-width)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}
