/* Reset, type, buttons, focus. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  padding-bottom: env(safe-area-inset-bottom);
}
button { font: inherit; color: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }

h1 { font-size: clamp(30px, 8vw, 44px); line-height: 1.1; margin: 6px 0 12px; letter-spacing: -.02em; }
h2 { font-size: 26px; line-height: 1.2; margin: 4px 0 6px; letter-spacing: -.01em; }
h3 { font-size: 21px; margin: 0 0 6px; }
h1[tabindex]:focus, h2[tabindex]:focus { outline: none; }
.eyebrow { color: var(--teal-d); font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; margin: 0; }
.lede { font-size: 18px; color: var(--muted); margin: 0 0 22px; }
.hint { color: var(--muted); margin: 0 0 18px; }
.fine { font-size: 12.5px; color: var(--muted); margin-top: 18px; }

.btn {
  border: 0; border-radius: 12px; padding: 14px 20px; min-height: 52px;
  font-weight: 700; font-size: 17px; transition: background .15s, transform .05s;
}
.btn:active { transform: scale(.98); }
.btn.big { width: 100%; font-size: 18px; min-height: 58px; }
.btn.primary { background: var(--teal); color: #fff; }
.btn.primary:hover { background: var(--teal-d); }
.btn.primary:disabled { background: #b9cfd1; cursor: not-allowed; }
.btn.ghost { background: transparent; color: var(--teal-d); border: 1.5px solid var(--line); }
.btn.accent { background: var(--accent); color: #fff; }
.btn.accent:hover { background: var(--accent-d); }
.linkish {
  background: none; border: 0; padding: 8px 0 0; color: var(--teal-d);
  font-weight: 600; font-size: 15px; text-decoration: underline; text-underline-offset: 3px;
}
.linkish.center { display: block; margin: 4px auto 0; text-align: center; }

:focus-visible { outline: 3px solid var(--teal-d); outline-offset: 2px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; color: var(--teal-d); padding: 10px 14px; border-radius: 8px; font-weight: 700; }
.skip:focus { left: 16px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
