:root {
  --lacuna-ink: #1a1a1a;
  --lacuna-soft: #3d4a45;
  --lacuna-muted: #6b7a72;
  --lacuna-hair: #d4cbb8;
  --lacuna-paper: #ede7da;
  --lacuna-ground: #fdfbf6;
  --lacuna-rust: #b5502a;

  --lacuna-font-display: "Newsreader", Georgia, serif;
  --lacuna-font-body: "Public Sans", "Helvetica Neue", Arial, sans-serif;
  --lacuna-font-mono: "Spline Sans Mono", "SF Mono", Menlo, monospace;

  --lacuna-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --lacuna-duration-fast: 150ms;

  --gutter: clamp(20px, 5vw, 56px);
  --label-col: 200px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--lacuna-ground);
  color: var(--lacuna-ink);
  font-family: var(--lacuna-font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--lacuna-paper);
}

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

a:focus-visible {
  outline: 2px solid var(--lacuna-ink);
  outline-offset: 4px;
  border-radius: 2px;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* Bar */

.bar {
  position: sticky;
  top: 0;
  z-index: 1;
  background: color-mix(in srgb, var(--lacuna-ground) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
}

.bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.wordmark {
  font-family: var(--lacuna-font-display);
  font-weight: 500;
  font-size: 24px;
  letter-spacing: -0.02em;
}

.bar-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--lacuna-soft);
  transition: color var(--lacuna-duration-fast) var(--lacuna-ease);
}

.bar-link:hover {
  color: var(--lacuna-ink);
}

/* Type */

.eyebrow {
  margin: 0;
  font-family: var(--lacuna-font-mono);
  font-weight: 500;
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lacuna-muted);
}

.eyebrow-accent {
  color: var(--lacuna-rust);
}

/* Hero */

.hero {
  padding-top: clamp(72px, 14vw, 176px);
  padding-bottom: clamp(72px, 12vw, 152px);
}

.hero h1 {
  margin: 28px 0 0;
  max-width: 15ch;
  font-family: var(--lacuna-font-display);
  font-weight: 500;
  font-size: clamp(42px, 7.2vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.hero .lede {
  margin: 36px 0 0;
  max-width: 34em;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.55;
  color: var(--lacuna-soft);
  text-wrap: pretty;
}

/* Rows */

.row {
  display: grid;
  grid-template-columns: var(--label-col) minmax(0, 720px);
  column-gap: 48px;
  padding-top: 40px;
  padding-bottom: 96px;
  background-image: linear-gradient(var(--lacuna-hair), var(--lacuna-hair));
  background-size: calc(100% - 2 * var(--gutter)) 1px;
  background-position: var(--gutter) 0;
  background-repeat: no-repeat;
}

.row > .eyebrow {
  padding-top: 7px;
}

.body > * {
  margin: 0;
}

.body > * + * {
  margin-top: 20px;
}

.body p {
  color: var(--lacuna-soft);
  text-wrap: pretty;
}

.product-mark {
  display: flex;
  align-items: center;
  gap: 16px;
}

.body .product-mark {
  margin-bottom: 32px;
  color: var(--lacuna-ink);
}

.product-mark img {
  display: block;
  width: 40px;
  height: 40px;
}

.product-mark span {
  font-family: var(--lacuna-font-display);
  font-weight: 500;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -0.02em;
}

/* Facts */

.facts {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 48px;
}

.facts div {
  padding: 14px 0;
  border-bottom: 1px solid var(--lacuna-hair);
}

.facts div:nth-child(-n + 2) {
  padding-top: 0;
}

.facts dt {
  font-size: 13px;
  color: var(--lacuna-muted);
}

.facts dd {
  margin: 2px 0 0;
  font-size: 17px;
  font-weight: 500;
}

/* Links */

.links {
  list-style: none;
  padding: 0;
}

.body .links {
  margin-top: 32px;
}

.links li + li {
  margin-top: 4px;
}

.links a {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 12px;
  font-weight: 500;
  border-bottom: 1px solid var(--lacuna-hair);
  padding-bottom: 2px;
  transition: border-color var(--lacuna-duration-fast) var(--lacuna-ease);
}

.links a:hover {
  border-color: var(--lacuna-ink);
}

.dim {
  font-weight: 400;
  font-size: 15px;
  color: var(--lacuna-muted);
}

.contact {
  display: inline-block;
  font-family: var(--lacuna-font-display);
  font-weight: 400;
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  border-bottom: 1px solid var(--lacuna-hair);
  transition: border-color var(--lacuna-duration-fast) var(--lacuna-ease);
}

.contact:hover {
  border-color: var(--lacuna-ink);
}

/* Footer */

.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 28px;
  padding-bottom: 40px;
  font-size: 13px;
  color: var(--lacuna-muted);
  background-image: linear-gradient(var(--lacuna-hair), var(--lacuna-hair));
  background-size: calc(100% - 2 * var(--gutter)) 1px;
  background-position: var(--gutter) 0;
  background-repeat: no-repeat;
}

/* Small screens */

@media (max-width: 760px) {
  .row {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 24px;
    padding-top: 28px;
    padding-bottom: 72px;
  }

  .row > .eyebrow {
    padding-top: 0;
  }

  .facts {
    grid-template-columns: minmax(0, 1fr);
  }

  .facts div:nth-child(2) {
    padding-top: 14px;
  }
}

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