/* Reset plus the baseline typography every section inherits. */

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, p, figure, blockquote, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: 0;
}

h1 { font-size: var(--fs-display); line-height: 1.1; }
h2 { font-size: var(--fs-h2); line-height: 1.1; }
h3 { font-size: var(--fs-h3); line-height: 1.2; }
h4 { font-size: var(--fs-h4); line-height: 1.4; }
h5 { font-size: var(--fs-h5); line-height: 1.1; }
h6 { font-size: var(--fs-h6); line-height: 1.4; }

p { line-height: 1.4; }

a { color: inherit; text-decoration: none; }

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

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

input { font: inherit; }

::selection { background: var(--sage-soft); color: var(--ink-strong); }

/* Screen-reader-only helper, used by the skip link and icon-only buttons. */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  inset-inline-start: 50%;
  top: 8px;
  translate: -50% -200%;
  z-index: 9999;
  background: var(--white);
  color: #116dff;
  font-family: var(--font-roman);
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
  transition: translate 0.2s var(--ease);
}
.skip-link:focus-visible { translate: -50% 0; }

:focus-visible { outline: 2px solid var(--blue-deep); outline-offset: 3px; }

/* Shared layout primitives -------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { position: relative; background: var(--paper); }
.section--mist { background: var(--mist); }
.section--flush { padding-block: 0; }
.section__inner { padding-block: var(--section-y); }

/* Typographic helpers ------------------------------------------------------- */

.script {
  font-family: var(--font-script);
  font-size: var(--fs-script);
  line-height: 1.15;
  color: var(--sage-mid);
  display: block;
}
.script--lg { font-size: var(--fs-script-lg); }
.script--num { font-size: var(--fs-script-num); }
.script--tight { line-height: 1.05; }
.script--deep { color: var(--sage); }
.script--blue { color: var(--blue-deep); }
.script--ink { color: var(--ink); }

.eyebrow {
  font-family: var(--font-roman);
  font-size: var(--fs-small);
  line-height: 1.4;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink);
}
/* the CTA bands use the same face and size but keep sentence case */
.eyebrow--sentence { text-transform: none; }

.lead { font-size: var(--fs-lead); line-height: 1.4; }
.text-center { text-align: center; }
