/* shared/base.css
   Sentence case, not the brand site's all-caps: the uppercase treatment is
   most of what made the earlier pass read as dated. Open Sans stays. */

/* Open Sans for the page; Montserrat only for the header, which reproduces
   mptrg.com/getstarted's and is set in Montserrat there.

   SELF-HOSTED, not @import from Google Fonts. The LP system's
   Content-Security-Policy allows style-src and font-src 'self' only, so a
   Google Fonts import is refused and the page silently falls back to the
   system UI font. Both files are the variable latin subsets (SIL OFL). */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 100%;
  font-display: swap;
  src: url('../fonts/open-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/montserrat-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

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

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

body {
  margin: 0;
  font-family: var(--ui);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--ground);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--ui);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.028em;
  margin: 0 0 var(--space-4);
  color: var(--navy-700);
  text-wrap: balance;
}

h1 { font-size: clamp(1.9rem, 4.6vw, var(--text-4xl)); }
h2 { font-size: clamp(1.45rem, 3vw, var(--text-2xl)); }
h3 { font-size: var(--text-lg); letter-spacing: -0.015em; }

p { margin: 0 0 var(--space-4); }
a { color: var(--navy-600); }
strong, b { font-weight: 700; }

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

.num { font-variant-numeric: tabular-nums; font-feature-settings: 'tnum' 1; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: var(--radius-sm); }

[hidden] { display: none !important; }

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

/* The page is one centred column, and the form is what it is for. */
.stack { width: 100%; max-width: var(--form-width); margin-inline: auto; padding-inline: var(--space-5); }

.section { padding-block: var(--space-7); }

.eyebrow {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--orange-ink);
  margin: 0 0 var(--space-3);
}

.lede { font-size: var(--text-lg); color: var(--ink-2); margin: 0 0 var(--space-5); }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

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