*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-block: calc(var(--bar-top) + 16px) calc(var(--bar-bottom) + var(--safe) + 16px);
}
body {
  margin: 0;
  background: var(--panel);
  color: var(--ink);
  font: 400 var(--step-0) / 1.55 var(--serif);
  font-variant-numeric: oldstyle-nums proportional-nums;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
main { display: block; padding-bottom: calc(var(--bar-bottom) + var(--safe)); }
h1, h2, h3, p, figure, ol, ul { margin: 0; }
h1, h2 { font-weight: 500; letter-spacing: -0.01em; line-height: 1.1; text-wrap: balance; }
h2 { font-size: var(--step-2); }
h2:focus { outline: none; }
p { max-width: 34em; text-wrap: pretty; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration-color: var(--walnut); text-decoration-thickness: 1px; text-underline-offset: 0.2em; transition: text-decoration-color 150ms ease; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.btn:focus-visible, .tab:focus-visible { outline-color: var(--ink); }
.skiplink a, .socials a, .plain-checkout .links a, .wordmark { display: inline-flex; align-items: center; min-height: 44px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 8px; top: -80px; z-index: 100; background: var(--pearl); padding: 12px 16px; border: 1px solid var(--ink); }
.skip:focus { top: 8px; }

/* labels are italic sentence case; small caps are only the wordmark */
.label, .cap, .note, .fine, figcaption { font-style: italic; font-size: var(--step--1); line-height: 1.4; }
.label { margin-bottom: var(--s1); color: var(--walnut); }
.note { color: var(--ink); }
.note b { font-weight: 500; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px;
  background: var(--green); color: var(--pearl);
  border: 0; border-radius: 2px;
  font: 500 var(--step-0) / 1 var(--serif); letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer;
  transition: background-color 150ms ease, transform 140ms var(--ease-settle);
}
.btn:active { transform: translateX(2px); background: var(--green-deep); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 1.0625rem; }
.linkish { background: none; border: 0; padding: 12px 4px; min-height: 44px; font: italic 400 var(--step--1) var(--serif); color: var(--ink); text-decoration: underline; text-decoration-color: var(--walnut); cursor: pointer; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--green-deep); }
  a:hover { text-decoration-color: var(--green); }
}
