/* What the home page and the inner pages share. The board calculator page
   does not load this sheet: it keeps its own. */

* {
  box-sizing: border-box;
}
/* On a short page the footer still sits at the bottom of the screen. */
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--plaster);
  color: var(--ink);
  font: 400 18px/1.5 var(--body);
}
body > main {
  flex: 1 0 auto;
}
h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  text-wrap: balance;
  letter-spacing: -0.012em;
  font-weight: 700;
}
p {
  margin: 0;
}
a {
  color: inherit;
}
/* Pictures carry their width and height (so the page keeps its shape while
   they load); the shape on the page comes from CSS. */
img {
  max-width: 100%;
  height: auto;
}
a:focus-visible,
input:focus-visible {
  outline: 3px solid var(--timber);
  outline-offset: 3px;
}
.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding-left: var(--gutter-l);
  padding-right: var(--gutter-r);
}
.label {
  font: 700 13px/1 var(--body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.phone {
  border: 7px solid var(--ink-deep);
  border-radius: 30px;
  background: var(--ink-deep);
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(17, 30, 42, 0.28);
  aspect-ratio: 600 / 1242;
}
.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}
.btn {
  display: inline-block;
  font-weight: 700;
  text-decoration: none;
  padding: 13px 20px;
  border-radius: 10px;
  border: 2px solid var(--yellow);
}
.btn.primary {
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 0 4px 0 var(--timber);
}
.btn.ghost {
  color: #fff;
}
.btn.dark {
  border-color: var(--ink);
  color: var(--ink);
}
.band {
  padding-block: clamp(48px, 8vw, 96px);
}
.band.white {
  background: var(--surface);
}
.band.dark {
  background: var(--ink);
  color: #fff;
}
.band h2 {
  font-size: clamp(30px, 4.6vw, 52px);
}
.lede {
  color: var(--muted);
  font-size: clamp(18px, 2vw, 21px);
  max-width: 52ch;
}
.band.dark .lede {
  color: #cbd5dd;
}
.intro {
  display: grid;
  gap: 14px;
  margin-bottom: clamp(24px, 4vw, 44px);
}
.closing {
  margin-top: 14px;
}
