@font-face {
  font-family: "STIX Two Text";
  src: url("../fonts/stix-two-text-variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --sapphire: #15489e;
  --ink: #182a45;
  --muted: #4c5e78;
  --ground: #f7f9fd;
  --paper: #ffffff;
  --wash: #eaf0fb;
  --rule: #c5d1e5;
  --serif: "STIX Two Text", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-family: var(--sans);
  font-size: 18px;
  font-synthesis: none;
  line-height: 1.65;
  color: var(--ink);
  background: var(--ground);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
button, input, select, textarea { font: inherit; }
button, input { color: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
h1, h2, h3, p, figure, ul, ol, dl { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
h1 { font-size: clamp(2.55rem, 6vw, 4.85rem); line-height: 1.12; letter-spacing: -.028em; }
h2 { font-size: clamp(1.9rem, 3.3vw, 2.8rem); line-height: 1.2; letter-spacing: -.02em; }
h3 { font-size: 1.6rem; line-height: 1.27; letter-spacing: -.01em; }
p, li { max-width: 68ch; }
p + p { margin-top: .8rem; }
a { color: var(--sapphire); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
a, button, input, select { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--sapphire); outline-offset: 5px; }
[hidden] { display: none !important; }
::selection { color: var(--paper); background: var(--sapphire); }
html { scroll-padding-bottom: 8rem; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: .8rem;
  left: 1rem;
  z-index: 20;
  padding: .65rem 1rem;
  min-height: 48px;
  background: var(--paper);
  border: 1px solid var(--sapphire);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
.eyebrow { font-family: var(--sans); font-size: 16px; line-height: 1.5; letter-spacing: .045em; color: var(--sapphire); }
.quiet { color: var(--muted); }
.text-link { display: inline-flex; align-items: center; min-height: 48px; padding: .5rem 0; gap: .6rem; font-size: 18px; }
.button-link, .action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: .65rem 1.15rem;
  border: 1px solid var(--sapphire);
  border-radius: 3px;
  color: var(--paper);
  background: var(--sapphire);
  font-size: 18px;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
}
.button-link:hover, .action-button:hover { color: var(--sapphire); background: var(--paper); text-decoration: none; }
.action-button--plain { background: var(--paper); color: var(--sapphire); }
.action-button--plain:hover { background: var(--wash); }

@media (prefers-reduced-motion: no-preference) {
  .button-link, .action-button, .dock-link { transition: color .15s ease, background-color .15s ease; }
}
@media (max-width: 600px) {
  :root { font-size: 18px; }
  h1 { font-size: 2.62rem; line-height: 1.14; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.55rem; }
}
