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

html {
  background: var(--bg);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--tx);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.62;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background-color .25s ease, color .2s ease;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
}

h1, h2, h3 {
  margin: 0;
  font-weight: 400;
}

p {
  margin: 0;
}

::selection {
  background: var(--teal-s);
}

.wrap {
  width: min(1180px, calc(100% - 56px));
  margin-inline: auto;
}

.serif {
  font-family: var(--serif);
}

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--teal);
}

.accent {
  color: var(--teal);
  font-style: italic;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease, border-color .18s ease, background-color .18s ease;
}

.btn-primary {
  background: var(--teal);
  color: var(--on-teal);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
  opacity: .94;
}

.btn-ghost {
  background: var(--bg-card);
  color: var(--tx);
  border-color: var(--bdh);
}

.btn-ghost:hover {
  border-color: var(--tx2);
}

.btn-sm {
  height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  font-size: 13px;
}

.btn.is-loading {
  opacity: .7;
  pointer-events: none;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.show {
  opacity: 1;
  transform: none;
}

section.block.block-flush-top {
  padding-top: 0;
}

section.block.block-flush-top[id] {
  scroll-margin-top: 96px;
}

.closing-detail {
  margin-top: 16px;
}
