/*
  Glossbeam: paper, ink and one highlighter.

  The highlighter is the only colour. It appears where something is marked:
  the wordmark, marked text in the examples, the main action, and whatever
  the reader selects. Everything else is ink on paper.
*/

:root {
  color-scheme: light dark;

  --paper: #faf7f1;
  --ink: #1a1a1e;
  --soft: #505158;
  --hl: #ffdd3c; /* the highlighter, full strength */
  --wash: #ffdd3c; /* the highlighter laid behind text */
  --on-hl: #1a1a1e; /* ink on full-strength highlighter, in both themes */
  --rule: rgba(26, 26, 30, 0.16);
  --line: #d9d4c7; /* the grey "text lines" in illustrations */
  --screen: #ffffff; /* the inside of an answer balloon */

  --serif: ui-serif, "New York", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Roboto, "Helvetica Neue", sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

  --gutter: max(16px, 4vw);
  --measure: 40rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0b0b0d;
    --ink: #f3f1ec;
    --soft: #a9a7a0;
    --hl: #ffd84d;
    /* On a dark page highlighter ink is see-through, so light text stays readable on it. */
    --wash: rgba(255, 216, 77, 0.4);
    --rule: rgba(243, 241, 236, 0.18);
    --line: #3a3a41;
    --screen: #151518;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 1.5rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(1.0625rem, 1rem + 0.2vw, 1.1875rem);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

/* Selected text looks highlighted. */
::selection {
  background: var(--hl);
  color: var(--on-hl);
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 700;
  margin: 0;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.5rem, 1.55rem + 4.4vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.022em;
}

h2 {
  font-size: clamp(1.7rem, 1.35rem + 1.5vw, 2.4rem);
  line-height: 1.12;
  letter-spacing: -0.012em;
}

h3 {
  font-size: 1.25rem;
  line-height: 1.25;
}

p,
ul,
ol,
dl,
figure,
pre {
  margin: 0;
}

p + p {
  margin-top: 0.9em;
}

a {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  text-decoration-color: var(--soft);
  border-radius: 0.15em;
}

/* Pointing at a link marks it. */
a:hover {
  background: var(--wash);
  text-decoration-color: currentColor;
}

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

mark {
  background: var(--wash);
  color: var(--ink);
  padding: 0.1em 0.2em;
  margin: 0 -0.2em;
  border-radius: 0.2em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

code,
kbd,
pre {
  font-family: var(--mono);
  font-size: 0.9em;
}

kbd {
  border: 1px solid var(--rule);
  border-bottom-width: 2px;
  border-radius: 0.35em;
  padding: 0.05em 0.4em;
  white-space: nowrap;
}

.soft {
  color: var(--soft);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------- Page frame ---------- */

.wrap {
  width: 100%;
  max-width: 70rem;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -4rem;
  background: var(--hl);
  color: var(--on-hl);
  padding: 0.5rem 0.8rem;
  border-radius: 0.5rem;
  text-decoration: none;
  z-index: 10;
}

.skip-link:focus {
  top: 0.75rem;
}

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding-block: 1.6rem;
}

.wordmark {
  position: relative;
  isolation: isolate;
  display: inline-block;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.45rem;
  line-height: 1;
  letter-spacing: -0.012em;
  color: var(--ink);
  text-decoration: none;
  padding-inline: 0.08em;
}

/* The highlighter stroke behind the lower half of the word. */
.wordmark::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 48% -0.08em -0.1em -0.08em;
  background: var(--wash);
  border-radius: 0.14em;
  transform: rotate(-0.7deg);
}

.wordmark:hover {
  background: none;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.5rem;
  font-size: 0.95rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--soft);
  padding: 0.15rem 0.1rem;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
}

.site-nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--hl);
  text-underline-offset: 0.35em;
}

main {
  padding-block: clamp(2rem, 5vw, 4.5rem) clamp(5rem, 10vw, 9rem);
}

main > section + section {
  margin-top: clamp(4.5rem, 9vw, 8.5rem);
}

.site-footer {
  border-top: 1px solid var(--rule);
  padding-block: 2.5rem 3.5rem;
  display: grid;
  gap: 2rem;
  font-size: 0.95rem;
  color: var(--soft);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--ink);
}

@media (min-width: 52rem) {
  .site-footer {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
  }

  .site-footer nav {
    justify-content: flex-end;
    max-width: 30rem;
  }
}

/* ---------- Shared pieces ---------- */

.lede {
  font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.4rem);
  line-height: 1.5;
  color: var(--soft);
  max-width: 34rem;
}

.section-head {
  max-width: var(--measure);
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.section-head p {
  margin-top: 0.9rem;
  color: var(--soft);
}

/* A margin note: a rule of ink down the left, like a line drawn beside a paragraph. */
.note {
  border-left: 2px solid var(--ink);
  padding: 0.1rem 0 0.1rem 1.1rem;
  max-width: var(--measure);
}

.button {
  display: inline-block;
  font: inherit;
  font-weight: 650;
  line-height: 1.2;
  color: var(--on-hl);
  background: var(--hl);
  border: 1.5px solid var(--on-hl);
  border-radius: 0.65rem;
  padding: 0.75rem 1.15rem;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
}

.button:hover {
  background: #ffd000;
  color: var(--on-hl);
}

.button--quiet {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.button--quiet:hover {
  background: var(--wash);
  color: var(--ink);
}

.button--large {
  font-size: 1.3rem;
  padding: 1.05rem 1.7rem;
  border-radius: 0.85rem;
}

@media (prefers-color-scheme: dark) {
  .button {
    border-color: var(--hl);
  }

  .button--quiet {
    border-color: var(--ink);
  }
}

/* ---------- The balloon: the answer card that opens beside the selection ---------- */

.balloon {
  position: relative;
  width: 100%;
  max-width: 21rem;
  background: var(--screen);
  border: 1.5px solid var(--ink);
  border-radius: 0.95rem;
  padding: 0.7rem 1rem 1rem;
  font-size: 0.92rem;
  line-height: 1.5;
}

/* The tail: a small corner that points up at the marked text. */
.balloon::before {
  content: "";
  position: absolute;
  top: -0.45rem;
  left: 1.9rem;
  width: 0.8rem;
  height: 0.8rem;
  background: var(--screen);
  border: 1.5px solid var(--ink);
  border-right: 0;
  border-bottom: 0;
  border-top-left-radius: 0.15rem;
  transform: rotate(45deg);
}

.balloon-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.55rem;
  margin-bottom: 0.65rem;
  border-bottom: 1px solid var(--rule);
  font-size: 0.8rem;
  color: var(--soft);
}

.balloon-tools {
  display: flex;
  gap: 0.6rem;
}

.balloon-tools svg {
  display: block;
  width: 0.95rem;
  height: 0.95rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.balloon-body ul {
  padding-left: 1.05rem;
  margin-top: 0.55rem;
}

.balloon-body li + li {
  margin-top: 0.3rem;
}

.balloon-body p + p,
.balloon-body ul + p {
  margin-top: 0.6rem;
}

.balloon-ask {
  margin-top: 0.9rem;
  border: 1px solid var(--rule);
  border-radius: 2rem;
  padding: 0.3rem 0.85rem;
  font-size: 0.82rem;
  color: var(--soft);
}

/* ---------- Home: hero ---------- */

.hero h1 {
  font-size: clamp(2.3rem, 1.5rem + 3.8vw, 4.2rem);
  line-height: 1.05;
  max-width: 17em;
}

.hero .lede {
  margin-top: 1.6rem;
  max-width: 38rem;
}

@media (min-width: 60rem) {
  .hero {
    padding-block: clamp(0.5rem, 2vw, 2rem) 0;
  }
}

/* ---------- Home: two ways to read the answer ---------- */

main > section.hero + section.ways {
  margin-top: clamp(3rem, 6vw, 5rem);
}

.ways-cards {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 50rem) {
  .ways-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1.25rem, 3vw, 2.25rem);
  }
}

.way {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--rule);
  border-radius: 1.2rem;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.way-art {
  display: block;
  width: 100%;
  max-width: 24rem;
  height: auto;
  margin: 0 auto 1.5rem;
}

.way h3 {
  font-size: 1.45rem;
}

.way > p {
  margin-top: 0.6rem;
  color: var(--soft);
}

.way ul {
  list-style: none;
  padding: 0;
  margin-top: 1.1rem;
  display: grid;
  gap: 0.5rem;
}

.way li {
  position: relative;
  padding-left: 1.15rem;
}

.way li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.5rem;
  height: 0.2rem;
  border-radius: 1rem;
  background: var(--hl);
}

.way .way-foot {
  margin-top: auto;
  padding-top: 1.4rem;
  color: var(--ink);
}

.ways-setting {
  margin-top: 1.75rem;
  max-width: 46rem;
  color: var(--soft);
}

.ways-setting strong {
  color: var(--ink);
  font-weight: 650;
}

/* The drawings use the page's own colours, so they follow light and dark. */
.art-line {
  fill: var(--line);
}

.art-ink-line {
  fill: var(--soft);
}

.art-mark {
  fill: var(--wash);
}

.art-outline {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.5;
  stroke-linejoin: round;
}

.art-surface {
  fill: var(--screen);
  stroke: var(--ink);
  stroke-width: 1.5;
  stroke-linejoin: round;
}

.art-solid {
  fill: var(--ink);
}

.art-inner {
  fill: none;
  stroke: var(--rule);
  stroke-width: 1.5;
}

/* One small moment on load: the line is marked, then the answer arrives. */
@media (prefers-reduced-motion: no-preference) {
  .art-mark {
    transform-box: fill-box;
    transform-origin: left center;
    animation: mark-across 0.7s 0.35s cubic-bezier(0.3, 0, 0.2, 1) both;
  }

  .art-answer {
    animation: answer-arrives 0.5s 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }

  @keyframes mark-across {
    from {
      transform: scaleX(0);
    }
  }

  @keyframes answer-arrives {
    from {
      opacity: 0;
      transform: translateY(-5px);
    }
  }
}

/* ---------- Home: scenes ---------- */

.scenes {
  display: grid;
  gap: clamp(3.25rem, 7vw, 5.5rem);
}

.scene {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

.scene-caption {
  margin-top: 0.5rem;
  color: var(--soft);
  max-width: 30rem;
}

.source {
  margin-top: 1.5rem;
  max-width: 36rem;
}

.source--prose {
  font-family: var(--serif);
  font-size: 1.12rem;
  line-height: 1.75;
}

.source--code {
  font-family: var(--mono);
  font-size: 0.88rem;
  line-height: 2;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.source--code mark {
  padding-block: 0.25em;
}

/* On a wide page the balloon sits to the right of the text and points back at it. */
@media (min-width: 54rem) {
  .scene {
    grid-template-columns: minmax(0, 1fr) 21rem;
    gap: clamp(2.5rem, 6vw, 5rem);
  }

  .scene .balloon {
    margin-top: 4.4rem;
  }

  .scene .balloon::before {
    top: 1.5rem;
    left: -0.45rem;
    border: 1.5px solid var(--ink);
    border-top: 0;
    border-right: 0;
    border-radius: 0 0 0 0.15rem;
  }
}

/* ---------- Home: history and memory ---------- */

.memory {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 58rem) {
  .memory {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(2.5rem, 6vw, 5rem);
  }
}

.memory-lede {
  margin-top: 0.9rem;
  color: var(--soft);
  max-width: var(--measure);
}

.memory-points {
  list-style: none;
  padding: 0;
  margin-top: 1.4rem;
  display: grid;
  gap: 0.55rem;
  max-width: var(--measure);
}

.memory-points li {
  position: relative;
  padding-left: 1.15rem;
}

.memory-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.5rem;
  height: 0.2rem;
  border-radius: 1rem;
  background: var(--hl);
}

.memory-kept {
  margin-top: 1.4rem;
  color: var(--soft);
  max-width: var(--measure);
}

/* The topic map: topics are labelled pills, each dot is one answer. */
.topic-map {
  display: block;
  width: 100%;
  max-width: 32rem;
  height: auto;
  margin-inline: auto;
}

.map-link {
  stroke: var(--soft);
  stroke-width: 1.25;
  opacity: 0.55;
}

.map-pill {
  fill: var(--screen);
  stroke: var(--ink);
  stroke-width: 1.5;
}

.map-label {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  fill: var(--ink);
}

.map-dot {
  fill: var(--ink);
}

/* The newest answer, marked with the highlighter. */
.map-dot--latest {
  fill: var(--hl);
  stroke: var(--ink);
  stroke-width: 1.5;
}

/* ---------- Home: two styles side by side ---------- */

.styles-marked {
  font-family: var(--serif);
  font-size: 1.12rem;
  line-height: 1.75;
  max-width: 36rem;
}

.styles {
  margin-top: 2.5rem;
  display: grid;
  gap: 2.75rem;
  align-items: start;
}

@media (min-width: 46rem) {
  .styles {
    grid-template-columns: repeat(2, minmax(0, 21rem));
    gap: clamp(2rem, 6vw, 4.5rem);
  }
}

.styles h3 {
  margin-bottom: 1.2rem;
}

/* ---------- Home: what is sent ---------- */

.controls {
  display: grid;
  gap: 2.75rem;
}

@media (min-width: 52rem) {
  .controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(3rem, 7vw, 6rem);
  }
}

.terms {
  margin-top: 1rem;
  border-top: 1px solid var(--rule);
}

.terms > div {
  padding-block: 0.95rem;
  border-bottom: 1px solid var(--rule);
}

.terms dt {
  font-weight: 650;
}

.terms dd {
  margin: 0.15rem 0 0;
  color: var(--soft);
}

.never {
  margin-top: 2.75rem;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.6rem);
  line-height: 1.4;
  max-width: 40rem;
}

/* ---------- Plans ---------- */

.plans {
  display: grid;
  border-top: 1px solid var(--ink);
}

.plan {
  padding-block: 1.75rem 2rem;
  border-bottom: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 52rem) {
  .plans {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-bottom: 1px solid var(--rule);
  }

  .plan {
    padding-inline: 2rem;
    border-bottom: 0;
    border-left: 1px solid var(--rule);
  }

  .plan:first-child {
    padding-left: 0;
    border-left: 0;
  }

  .plan:last-child {
    padding-right: 0;
  }
}

.plan-price {
  font-family: var(--serif);
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.plan-price small {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--soft);
}

.plan ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.plan li {
  padding-left: 1.1rem;
  position: relative;
}

.plan li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.5rem;
  height: 0.2rem;
  border-radius: 1rem;
  background: var(--hl);
}

.plan-actions {
  margin-top: auto;
  padding-top: 0.75rem;
  display: grid;
  gap: 0.6rem;
}

.plan-actions .button {
  width: 100%;
}

.fineprint {
  font-size: 0.92rem;
  color: var(--soft);
}

.columns {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 52rem) {
  .columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(3rem, 7vw, 6rem);
  }
}

.columns h2 {
  font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.75rem);
  margin-bottom: 0.8rem;
}

.columns p {
  color: var(--soft);
}

/* ---------- Download: the Mac app and the companion, side by side ---------- */

.apps {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 50rem) {
  .apps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1.25rem, 3vw, 2.25rem);
  }
}

.app {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  border: 1px solid var(--rule);
  border-radius: 1.2rem;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.app h2 {
  font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.75rem);
}

.app p,
.app li {
  color: var(--soft);
}

.app ul {
  padding-left: 1.15rem;
  display: grid;
  gap: 0.35rem;
}

.app .app-action {
  margin-top: auto;
  padding-top: 0.6rem;
  color: var(--ink);
  font-weight: 650;
}

.app .app-action .button {
  font-weight: 650;
}

/* ---------- Questions ---------- */

.faq {
  max-width: 46rem;
  border-top: 1px solid var(--rule);
}

.faq details {
  border-bottom: 1px solid var(--rule);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: baseline;
  padding-block: 1.05rem;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.3;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--soft);
}

.faq details[open] summary::after {
  content: "\2212";
}

.faq details > div {
  padding-bottom: 1.3rem;
  max-width: 38rem;
  color: var(--soft);
}

/* ---------- Reading pages (how it handles your text, privacy, terms, support) ---------- */

.page-head {
  max-width: 46rem;
}

.page-head .lede {
  margin-top: 1.4rem;
  max-width: 38rem;
}

.reading-layout {
  display: grid;
  gap: 3rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.toc {
  display: none;
}

@media (min-width: 62rem) {
  .reading-layout {
    grid-template-columns: minmax(0, var(--measure)) minmax(0, 15rem);
    justify-content: space-between;
  }

  .toc {
    display: block;
    position: sticky;
    top: 2rem;
    align-self: start;
    font-size: 0.9rem;
    border-left: 1px solid var(--rule);
    padding-left: 1.25rem;
  }

  .toc p {
    color: var(--soft);
    margin-bottom: 0.6rem;
  }

  .toc ol {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 0.4rem;
  }

  .toc a {
    text-decoration: none;
    color: var(--soft);
  }

  .toc a:hover {
    color: var(--ink);
  }
}

.reading {
  max-width: var(--measure);
}

.reading > * + * {
  margin-top: 1rem;
}

.reading h2 {
  font-size: clamp(1.45rem, 1.25rem + 0.8vw, 1.8rem);
  margin-top: 3rem;
  scroll-margin-top: 1.5rem;
}

.reading > h2:first-child {
  margin-top: 0;
}

.reading h3 {
  margin-top: 1.9rem;
}

.reading ul,
.reading ol {
  padding-left: 1.25rem;
}

.reading li + li {
  margin-top: 0.4rem;
}

.reading li::marker {
  color: var(--soft);
}

.draft-note {
  display: inline-block;
  margin-top: 1.4rem;
  font-weight: 650;
}

/* Where the text goes: a route drawn as stops joined by a line. */
.route {
  list-style: none;
  padding: 0 !important;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0;
  font-weight: 650;
}

.route li {
  display: flex;
  align-items: center;
  margin: 0 !important;
}

.route li + li::before {
  content: "";
  width: clamp(1.25rem, 5vw, 2.75rem);
  height: 1.5px;
  background: var(--ink);
  margin-inline: 0.6rem;
}

.route span {
  border: 1.5px solid var(--ink);
  border-radius: 0.6rem;
  padding: 0.3rem 0.7rem;
  white-space: nowrap;
}

.route .route-skipped {
  border-style: dashed;
  color: var(--soft);
  border-color: var(--soft);
  font-weight: 400;
}

/* Numbered steps: a real sequence, so the numbers stay. */
.steps {
  list-style: none;
  padding: 0 !important;
  counter-reset: step;
}

.steps > li {
  counter-increment: step;
  position: relative;
  padding: 0 0 1.6rem 3rem;
  margin: 0 !important;
}

.steps > li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -0.1rem;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.3;
  width: 2rem;
}

.steps h3 {
  margin: 0 0 0.3rem;
}

.steps p {
  color: var(--soft);
}

/* ---------- Welcome ---------- */

.welcome {
  max-width: 38rem;
}

.welcome h1 {
  font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.3rem);
  line-height: 1.08;
}

.welcome .lede {
  margin-top: 1.4rem;
}

.welcome-action {
  margin-top: 2.5rem;
}

.activation-code {
  display: inline-block;
  margin-top: 0.6rem;
  font-family: var(--mono);
  font-size: clamp(2rem, 1.2rem + 4.5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.2;
  user-select: all;
  -webkit-user-select: all;
}

.welcome-next {
  margin-top: 3rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--rule);
}

.welcome-next > * + * {
  margin-top: 0.8rem;
}

.welcome-next p {
  color: var(--soft);
}
