@import url('./fonts/fonts.css');
@import url('./tokens.css');

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--body);
  line-height: 1.55;
  color: var(--slate);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 500; line-height: 1.1; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: var(--h1); font-weight: 400; letter-spacing: -0.02em; }
h2 { font-size: var(--h2); font-weight: 400; }
h3 { font-size: var(--h3); }
p { margin: 0; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--slate); outline-offset: 2px; box-shadow: 0 0 0 5px var(--white); }
.on-dark :focus-visible, .side :focus-visible { outline-color: var(--white); box-shadow: 0 0 0 5px var(--slate); }

.wordmark { font-family: var(--font-mark); font-weight: 600; letter-spacing: -0.03em; text-decoration: none; color: var(--slate); }
.wordmark span { color: var(--teal-deep); }
.on-dark .wordmark, .wordmark.on-dark { color: var(--white); }
.on-dark .wordmark span, .wordmark.on-dark span { color: var(--teal); }

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

/* Buttons: the pill with a round arrow is the one primary action. */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 8px 0 24px; border-radius: var(--r-pill); border: 1px solid transparent; font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; transition: transform .15s ease, background-color .15s ease; }
.btn:active { transform: translateY(1px); }
.btn .ic { width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.btn-primary { background: var(--slate); color: var(--white); }
.btn-primary .ic { background: var(--teal); color: var(--slate); }
.btn-primary:hover { background: var(--slate-2); }
.btn-teal { background: var(--teal); color: var(--slate); }
.btn-teal .ic { background: var(--slate); color: var(--teal); }
.btn-ghost { background: transparent; color: var(--slate); border-color: var(--mist-2); padding-right: 24px; }
.btn-ghost:hover { background: var(--mist); }
.on-dark .btn-ghost { color: var(--white); border-color: rgba(255,255,255,0.25); }
.on-dark .btn-ghost:hover { background: rgba(255,255,255,0.06); }
.btn-sm { height: 40px; font-size: 14px; padding-left: 18px; }
.btn-sm.btn-ghost { padding-right: 18px; }

.muted { color: var(--ash); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
