@font-face {
  font-family: "Acta Display";
  font-weight: 200;
  font-display: swap;
  src: url(https://thebeauxartsdigital.com/fonts/ActaDisplay-Light.woff2) format("woff2");
}

@font-face {
  font-family: "Acta Display";
  font-weight: 400;
  font-display: swap;
  src: url(https://thebeauxartsdigital.com/fonts/ActaDisplay-Book.woff2) format("woff2");
}

:root {
  --paper: #f8f7f6;
  --ink: #514744;
  --ink-strong: #3b3331;
  --muted: #958e7e;
  --soft: #7e6f61;
  --line: #e4ded6;
  --well: #f1eeea;
  --serif: "Acta Display", "Cormorant Garamond", Georgia, serif;
  --sans: Lato, "Helvetica Neue", Arial, sans-serif;
  --ease: 240ms ease;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--ink);
  color: var(--paper);
}

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

b {
  font-weight: 400;
  color: var(--ink-strong);
}

.label {
  margin: 0;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

.mark {
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink);
  transition: opacity var(--ease);
}

.mark span {
  font-weight: 300;
}

.mark em {
  font-family: var(--serif);
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.2em;
}

.top,
.bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px 24px;
}

main {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 72px 0;
  border-top: 1px solid var(--line);
}

.intro {
  padding: 96px 0 88px;
  border-top: 0;
}

h1,
h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 200;
  color: var(--ink-strong);
  letter-spacing: -0.005em;
}

h1 {
  margin-top: 28px;
  font-size: clamp(40px, 7vw, 64px);
  line-height: 1.08;
}

h2 {
  font-size: clamp(30px, 4.6vw, 40px);
  line-height: 1.15;
}

.lead {
  max-width: 560px;
  margin: 28px 0 0;
  font-size: 18px;
}

.note,
.intro-note,
.aside {
  margin: 12px 0 0;
  color: var(--soft);
  font-size: 15px;
}

.copy {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 16px;
  padding: 18px 22px;
  background: var(--well);
  border: 1px solid var(--line);
}

code {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 400;
  color: var(--ink-strong);
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.link {
  flex: none;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  transition: opacity var(--ease);
}

.tabs {
  display: flex;
  gap: 36px;
  margin-top: 40px;
  border-bottom: 1px solid var(--line);
}

[role="tab"] {
  margin-bottom: -1px;
  padding: 0 0 14px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid transparent;
  transition: color var(--ease);
}

[role="tab"]:hover,
[role="tab"][aria-selected="true"] {
  color: var(--ink-strong);
}

[role="tab"][aria-selected="true"] {
  border-bottom-color: var(--ink-strong);
}

:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: 4px;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding: 22px 0 22px 56px;
  border-bottom: 1px solid var(--line);
  counter-increment: step;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 21px;
  left: 0;
  font-family: var(--serif);
  font-weight: 200;
  font-size: 22px;
  line-height: 27px;
  color: var(--muted);
}

.steps a {
  border-bottom: 1px solid var(--ink);
  transition: opacity var(--ease);
}

.mark:hover,
.link:hover,
.steps a:hover {
  opacity: 0.6;
}

.intro-note {
  margin: 28px 0 4px;
}

.aside {
  margin: 24px 0 0 56px;
}

.asks {
  margin: 32px 0 12px;
  padding: 0;
  list-style: none;
}

.asks li {
  padding: 14px 0;
  font-family: var(--serif);
  font-weight: 200;
  font-size: 22px;
  line-height: 1.35;
  color: var(--ink-strong);
}

dl {
  margin: 32px 0 0;
}

dl div {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

dt {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  line-height: 2.4;
  color: var(--muted);
}

dd {
  margin: 0;
}

.bottom {
  margin-top: 48px;
  padding-bottom: 48px;
  border-top: 1px solid var(--line);
  padding-top: 40px;
}

@media (max-width: 640px) {
  .intro {
    padding: 56px 0 56px;
  }

  section {
    padding: 56px 0;
  }

  .copy {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .tabs {
    gap: 24px;
  }

  .steps li {
    padding-left: 44px;
  }

  .aside {
    margin-left: 0;
  }

  dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .top .label {
    display: none;
  }
}
