/* ==========================================================================
   base.css — reset + global styles for the clone
   Site: bofa-signin-95464592 / page: root-8a5edab2
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html { margin: 0; padding: 0; }

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: var(--fs-16);
  line-height: var(--lh-body);
  color: var(--color-black);
  background-color: var(--color-grey-bg);   /* page nest — inner container paints white */
  -webkit-font-smoothing: antialiased;
}

img, svg { display: inline-block; vertical-align: middle; }

a { color: var(--color-link); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4, h5, h6, p, ul, ol, figure { margin: 0; padding: 0; }

ul, ol { list-style: none; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

input {
  font: inherit;
  color: inherit;
}

/* page-level white canvas — mirrors .spa-layout-container on the source page */
.page-canvas {
  background-color: var(--color-white);
  min-height: 100vh;
}

/* screen-reader-only / ADA-hidden helper (matches the source's .ada-hidden) */
.ada-hidden,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  border: 0;
}

/* skip-to-content link (visible on focus only) — source: #ada-skip-link, z 3333 */
.x-skip-link {
  position: absolute;
  top: -60px;
  left: 0;
  z-index: var(--z-skiplink);
  width: 200px;
  padding: 10px 16px;
  background: var(--color-white);
  color: var(--color-link);
  font-size: var(--fs-14);
  transition: top 0.2s ease;
}
.x-skip-link:focus {
  top: 0;
}
