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

html {
  color-scheme: light;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--atc-white);
  color: var(--atc-text);
  font-family: var(--atc-font);
  font-size: 1rem;
  line-height: 1.75;
  margin: 0;
  overflow-wrap: anywhere;
}

body.is-menu-open { overflow: hidden; }

button,
input,
select,
textarea { font: inherit; }

button { cursor: pointer; }

img,
svg,
video {
  display: block;
  height: auto;
  max-width: 100%;
}

figure { margin: 0; }

a {
  color: var(--atc-blue-dark);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}

a:hover { color: var(--atc-blue); }

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid var(--atc-yellow);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--atc-navy);
}

h1,
h2,
h3,
h4 {
  color: var(--atc-navy);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.24;
  margin: 0 0 0.75em;
}

h1 { font-size: clamp(2.15rem, 5vw, 4.4rem); }
h2 { font-size: clamp(1.65rem, 3vw, 2.65rem); }
h3 { font-size: clamp(1.12rem, 2vw, 1.4rem); }

p,
ul,
ol,
dl { margin-block: 0 1rem; }

ul,
ol { padding-inline-start: 1.4rem; }

hr {
  border: 0;
  border-top: 1px solid var(--atc-border);
  margin-block: var(--atc-step-6);
}

::selection {
  background: var(--atc-yellow);
  color: var(--atc-navy);
}

.container {
  margin-inline: auto;
  max-width: calc(var(--atc-max) + 2rem);
  padding-inline: max(1rem, env(safe-area-inset-left));
  width: 100%;
}

.container--content { max-width: calc(var(--atc-content) + 2rem); }

.site-main { min-height: 55vh; }

.entry-content > *:first-child { margin-top: 0; }
.entry-content > *:last-child { margin-bottom: 0; }
.entry-content :where(img, iframe) { border-radius: var(--atc-radius); }
.entry-content a { font-weight: 650; }

.button {
  align-items: center;
  background: var(--atc-blue);
  border: 2px solid var(--atc-blue);
  border-radius: var(--atc-radius-sm);
  color: var(--atc-white);
  display: inline-flex;
  font-weight: 800;
  gap: 0.55rem;
  justify-content: center;
  line-height: 1.25;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  text-align: center;
  text-decoration: none;
  transition: background-color var(--atc-transition), border-color var(--atc-transition), color var(--atc-transition), transform var(--atc-transition);
}

.button:hover {
  background: var(--atc-blue-dark);
  border-color: var(--atc-blue-dark);
  color: var(--atc-white);
  transform: translateY(-1px);
}

.button--small { min-height: 44px; padding: 0.65rem 1rem; }
.button--large { min-height: 56px; padding: 0.9rem 1.7rem; }
.button--full { width: 100%; }
.button--outline { background: transparent; border-color: var(--atc-navy); color: var(--atc-navy); }
.button--outline:hover { background: var(--atc-navy); border-color: var(--atc-navy); }
.button--outline-light { background: transparent; border-color: rgb(255 255 255 / 72%); color: var(--atc-white); }
.button--outline-light:hover { background: var(--atc-white); border-color: var(--atc-white); color: var(--atc-navy); }
.button--yellow { background: var(--atc-yellow); border-color: var(--atc-yellow); color: var(--atc-navy); }
.button--yellow:hover { background: #ffda2f; border-color: #ffda2f; color: var(--atc-navy); }

.button-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button-row--center { justify-content: center; }
.button-row--stack { align-items: stretch; flex-direction: column; }

.text-link {
  align-items: center;
  display: inline-flex;
  font-weight: 800;
  gap: 0.45rem;
  min-height: 44px;
  text-decoration: none;
}

.text-link svg { transition: transform var(--atc-transition); }
.text-link:hover svg { transform: translateX(4px); }
.text-link--center { justify-content: center; width: 100%; }

.eyebrow {
  color: var(--atc-blue-dark);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  line-height: 1.3;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}

.eyebrow--yellow { color: var(--atc-yellow); }

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