@font-face {
  font-family: "Big Shoulders Display";
  src: url("fonts/big-shoulders-display-variable-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f3ead8;
  --paper-2: #eadfc6;
  --ink: #14301f;
  --muted: #4a6152;
  --accent-text: #b83a00;
  --orange: #ff5b14;
  --orange-edge: #b8410a;
  --gold: #ffb21a;
  --line: rgba(20, 48, 31, 0.16);
  --dots: rgba(20, 48, 31, 0.07);
  --body: #173a26;
  --body-hi: #2a5a3d;
  --body-lo: #10291b;
  --body-edge: #0a1d12;
  --shadow: rgba(20, 48, 31, 0.42);
  --display: "Big Shoulders Display", "Arial Narrow", "Helvetica Neue", system-ui, sans-serif;
  --text: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0f1d15;
    --paper-2: #132619;
    --ink: #f3ead8;
    --muted: #c9bfa9;
    --accent-text: #ff5b14;
    --line: rgba(243, 234, 216, 0.14);
    --dots: rgba(243, 234, 216, 0.045);
    --body: #1f4230;
    --body-hi: #34654a;
    --body-lo: #183526;
    --body-edge: #050d08;
    --shadow: rgba(0, 0, 0, 0.6);
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --paper: #0f1d15;
  --paper-2: #132619;
  --ink: #f3ead8;
  --muted: #c9bfa9;
  --accent-text: #ff5b14;
  --line: rgba(243, 234, 216, 0.14);
  --dots: rgba(243, 234, 216, 0.045);
  --body: #1f4230;
  --body-hi: #34654a;
  --body-lo: #183526;
  --body-edge: #050d08;
  --shadow: rgba(0, 0, 0, 0.6);
  color-scheme: dark;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--paper);
  background-image: radial-gradient(var(--dots) 1px, transparent 1.4px);
  background-size: 12px 12px;
  color: var(--ink);
  font: 400 1.0625rem/1.5 var(--text);
  overflow-x: hidden;
}

a {
  color: inherit;
}

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

.vh {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.wrap {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 16px;
}

@media (min-width: 720px) {
  .wrap {
    padding-inline: 40px;
  }
}

/* ---------- top bar ---------- */

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 14px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 800 1.6rem/1 var(--display);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
}

.mark {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 27px;
  border-radius: 4px;
  background: var(--orange);
  color: #14301f;
  font: 900 20px/1 var(--display);
  overflow: hidden;
  box-shadow: 0 2px 0 var(--orange-edge);
}

.mark::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35), transparent 32%, rgba(255, 255, 255, 0.18) 50%, transparent 68%, rgba(0, 0, 0, 0.35));
}

.theme {
  display: inline-flex;
  margin: 0;
  padding: 3px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  min-inline-size: 0;
}

.theme label {
  position: relative;
  cursor: pointer;
}

.theme span {
  display: block;
  padding: 7px 11px 6px;
  border-radius: 999px;
  font: 700 0.75rem/1 var(--text);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.theme input:checked + span {
  background: var(--ink);
  color: var(--paper);
}

.theme input:focus-visible + span {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

/* ---------- buttons ---------- */

.btn {
  --edge: 0.26em;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  margin-bottom: var(--edge);
  padding: 0.78em 1.25em 0.72em;
  border: 0;
  border-radius: 0.45em;
  background: linear-gradient(180deg, #ff7a3d, var(--orange) 45%, #f45210);
  color: #14301f;
  font: 800 1.3rem/1 var(--display);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 var(--edge) 0 var(--orange-edge),
    0 calc(var(--edge) + 0.5em) 1.1em -0.4em var(--shadow);
  transition: transform 0.08s ease, box-shadow 0.08s ease;
  -webkit-tap-highlight-color: transparent;
}

.btn:hover {
  background: linear-gradient(180deg, #ff8a52, #ff6a28 45%, #f45a18);
}

.btn:active {
  transform: translateY(calc(var(--edge) - 0.05em));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 0.05em 0 var(--orange-edge),
    0 0.3em 0.6em -0.3em var(--shadow);
}

.btn--big {
  font-size: 1.6rem;
  padding: 0.7em 1.4em 0.64em;
}

/* ---------- hero ---------- */

.hero {
  display: grid;
  grid-template-areas: "title" "meter" "lede" "cta";
  padding-top: 8px;
  padding-bottom: 56px;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  margin: 0;
}

.hero h1 {
  grid-area: title;
}

h1 {
  font-size: clamp(4.4rem, 23.5vw, 9rem);
  line-height: 0.84;
  letter-spacing: -0.005em;
  font-feature-settings: "case";
}

h1 span {
  display: block;
}

h1 .accent {
  color: var(--accent-text);
}

.hero-meter {
  grid-area: meter;
  margin-top: 22px;
}

.lede {
  grid-area: lede;
  margin: 26px 0 0;
  max-width: 32em;
  font-size: 1.0625rem;
  line-height: 1.48;
}

.cta-row {
  grid-area: cta;
  margin: 18px 0 0;
}

@media (min-width: 960px) {
  .hero {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    grid-template-areas:
      "title meter"
      "lede meter"
      "cta meter";
    grid-template-rows: auto auto auto;
    column-gap: 48px;
    align-items: start;
    align-content: center;
    min-height: min(calc(100svh - 64px), 860px);
    padding-top: 24px;
    padding-bottom: 72px;
  }

  h1 {
    font-size: clamp(6.2rem, 10.6vw, 10.5rem);
  }

  .hero-meter {
    margin-top: 0;
    align-self: center;
    perspective: 1600px;
  }

  .lede {
    font-size: 1.3rem;
    margin-top: 34px;
  }

  .cta-row {
    margin-top: 30px;
  }
}

/* ---------- the meter ---------- */

.meter {
  --drum-w: 0.98em;
  --drum-h: 1.34em;
  position: relative;
  color: #f3ead8;
  border-radius: 1.05em;
  padding: 0.62em 0.95em 1em;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0) 30%),
    linear-gradient(180deg, var(--body-hi), var(--body) 22%, var(--body) 70%, var(--body-lo));
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    inset 0 -3px 0 rgba(0, 0, 0, 0.28),
    0 0.42em 0 var(--body-edge),
    0 1.4em 2.2em -0.7em var(--shadow);
  font-family: var(--display);
  user-select: none;
}

.meter--hero {
  font-size: clamp(14px, 4.75vw, 19px);
}

@media (min-width: 960px) {
  .meter--hero {
    font-size: clamp(18px, 2vw, 30px);
    transform: rotateY(-9deg) rotateX(5deg);
    transform-origin: 40% 50%;
  }
}

.screw {
  position: absolute;
  width: 0.5em;
  height: 0.5em;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #f6efdf, #b6ab95 55%, #6f6756);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
}

.screw::after {
  content: "";
  position: absolute;
  left: 15%;
  right: 15%;
  top: calc(50% - 0.04em);
  height: 0.08em;
  background: rgba(40, 32, 20, 0.7);
  transform: rotate(-35deg);
}

.screw[data-at="tl"] { top: 0.42em; left: 0.42em; }
.screw[data-at="tr"] { top: 0.42em; right: 0.42em; }
.screw[data-at="bl"] { bottom: 0.42em; left: 0.42em; }
.screw[data-at="br"] { bottom: 0.42em; right: 0.42em; }
.screw[data-at="tr"]::after { transform: rotate(20deg); }
.screw[data-at="bl"]::after { transform: rotate(75deg); }

.meter-cap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  margin: 0 0.4em 0.55em;
  padding-bottom: 0.45em;
  border-bottom: 1px solid rgba(243, 234, 216, 0.14);
}

.plate {
  font-weight: 700;
  font-size: 0.62em;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  opacity: 0.7;
  padding-left: 0.42em;
}

.lamp {
  width: 0.42em;
  height: 0.42em;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #8a5a40, #3a1e10);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.4);
  transition: background 0.2s, box-shadow 0.2s;
}

.meter.is-live .lamp {
  background: radial-gradient(circle at 40% 35%, #ffd9b8, #ff7a3d 45%, #ff5b14);
  box-shadow: 0 0 0.45em 0.08em rgba(255, 91, 20, 0.85), 0 0 1.2em rgba(255, 91, 20, 0.45);
}

.meter-face {
  display: grid;
  grid-template-columns: auto max-content;
  align-items: center;
  column-gap: 0.75em;
  row-gap: 0.62em;
}

.meter-row {
  display: contents;
}

.meter-label {
  font-weight: 700;
  font-size: 0.72em;
  line-height: 1.05;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.78;
  max-width: 5.6em;
}

/* the drum window */

.drums {
  position: relative;
  display: flex;
  gap: 0.16em;
  padding: 0.24em;
  border-radius: 0.38em;
  background: #050f09;
  box-shadow:
    inset 0 0.2em 0.35em rgba(0, 0, 0, 0.85),
    0 1px 0 rgba(255, 255, 255, 0.14),
    0 -1px 0 rgba(0, 0, 0, 0.35);
}

.drums::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(172deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.04) 38%, rgba(255, 255, 255, 0) 52%);
  pointer-events: none;
}

.drum {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 0.14em;
  background: linear-gradient(180deg, #cfc3a8, #f6efdf 34%, #fbf6ea 50%, #f6efdf 66%, #cfc3a8);
  color: #14301f;
  text-align: center;
  font-weight: 800;
  font-size: 1.94em;
  line-height: var(--drum-h);
  width: var(--drum-w);
  height: var(--drum-h);
}

.drum:last-child {
  background: linear-gradient(180deg, #d9420a, #ff6a28 34%, #ff7a3d 50%, #ff6a28 66%, #d9420a);
}

.drum::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(5, 15, 9, 0.62) 0%,
    rgba(5, 15, 9, 0.12) 26%,
    rgba(255, 255, 255, 0.14) 46%,
    rgba(255, 255, 255, 0) 56%,
    rgba(5, 15, 9, 0.12) 74%,
    rgba(5, 15, 9, 0.62) 100%
  );
  pointer-events: none;
}

.strip {
  display: block;
  will-change: transform;
}

.strip > span {
  display: block;
  height: var(--drum-h);
  line-height: var(--drum-h);
}

.drum:last-child .strip {
  will-change: transform, filter;
}

/* the coin tray */

.tray {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 0.3em;
  padding: 0.3em 0.42em;
  border-radius: 999px;
  background: #050f09;
  overflow: hidden;
  box-shadow:
    inset 0 0.2em 0.35em rgba(0, 0, 0, 0.85),
    0 1px 0 rgba(255, 255, 255, 0.14);
}

.socket {
  position: relative;
  display: block;
  width: 1.5em;
  height: 1.5em;
  flex: none;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 30%, #0b1f13, #020805 70%);
  box-shadow: inset 0 0.14em 0.22em rgba(0, 0, 0, 0.9), 0 1px 0 rgba(255, 255, 255, 0.08);
}

.socket::before {
  content: "";
  position: absolute;
  inset: -0.12em;
  border-radius: 50%;
  box-shadow: 0 0 0 0.08em rgba(255, 178, 26, 0);
  transition: box-shadow 0.6s ease;
}

.socket.is-clink::before {
  box-shadow: 0 0 0.6em 0.1em rgba(255, 178, 26, 0.55);
  transition: none;
}

.coin {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #fff4c4 0, #ffd66b 16%, var(--gold) 46%, #e38f00 78%, #b46c00 100%);
  box-shadow:
    inset 0 0 0 0.09em rgba(150, 88, 0, 0.6),
    inset 0 0 0 0.19em #ffc94a,
    inset 0 0 0 0.24em rgba(160, 95, 0, 0.35),
    0 0.12em 0.16em rgba(0, 0, 0, 0.55);
}

.coin::before {
  content: "";
  position: absolute;
  left: 41%;
  top: 31%;
  border-left: 0.42em solid rgba(150, 85, 0, 0.62);
  border-top: 0.26em solid transparent;
  border-bottom: 0.26em solid transparent;
  filter: drop-shadow(0 1px 0 rgba(255, 240, 190, 0.6));
}

.coin::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.75) 45%, transparent 58%);
  background-size: 260% 100%;
  background-position: 120% 0;
  opacity: 0;
}

.coin.is-shine::after {
  animation: shine 0.7s ease-out 1;
}

@keyframes shine {
  from { background-position: 120% 0; opacity: 1; }
  to { background-position: -40% 0; opacity: 1; }
}

/* ---------- play ---------- */

.play {
  position: relative;
  padding: 64px 0 72px;
  background: var(--paper-2);
  border-top: 2px dashed var(--line);
  border-bottom: 2px dashed var(--line);
}

.play-grid {
  display: grid;
  gap: 28px;
}

h2 {
  font-size: clamp(3.3rem, 15vw, 6.5rem);
  line-height: 0.86;
}

.play-copy .btn {
  margin-top: 24px;
}

.play-note-slot {
  min-height: 0;
}

.play-note {
  margin: 0;
  padding-top: 4px;
  max-width: 26em;
  color: var(--muted);
  font-size: 1rem;
}

.js .play-note {
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.5s ease, transform 0.5s ease, visibility 0s 0.5s;
}

.js .play-note.is-shown {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}

.stage {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas: "phone ." "meter meter";
  align-items: end;
  row-gap: 0;
  padding-top: 8px;
}

.phone {
  grid-area: phone;
  width: 172px;
  padding: 7px;
  border-radius: 26px;
  background: linear-gradient(160deg, #24332b, #0a120d);
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.14),
    0 18px 30px -14px var(--shadow);
  transform: rotate(-4deg);
  transition: transform 0.5s cubic-bezier(0.3, 1.6, 0.5, 1);
}

.phone-top {
  display: flex;
  justify-content: center;
  padding: 3px 0 6px;
}

.phone-speaker {
  width: 38px;
  height: 5px;
  border-radius: 9px;
  background: #050906;
}

.post {
  position: relative;
  padding: 9px 9px 10px;
  border-radius: 19px;
  background: #fbf6ea;
  color: #14301f;
  font: 400 11px/1.3 var(--text);
}

.post-head {
  display: flex;
  align-items: center;
  gap: 6px;
}

.avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffd66b, var(--orange) 70%);
  box-shadow: 0 0 0 1.5px #fbf6ea, 0 0 0 2.5px #14301f;
}

.handle {
  font-weight: 700;
}

.time {
  margin-left: auto;
  color: #4a6152;
}

.post-media {
  position: relative;
  margin-top: 8px;
  aspect-ratio: 1 / 1.08;
  border-radius: 12px;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 30%, var(--gold) 0 13%, transparent 13.5%),
    repeating-linear-gradient(180deg, rgba(243, 234, 216, 0.09) 0 6px, transparent 6px 14px),
    linear-gradient(180deg, #ff6a28 0%, #ff5b14 40%, #14301f 40.5%, #173a26 100%);
}

.app-tile {
  position: absolute;
  left: 12%;
  bottom: 14%;
  width: 34%;
  aspect-ratio: 1;
  border-radius: 22%;
  background: linear-gradient(160deg, #fbf6ea, #e6dbc4);
  box-shadow: 0 6px 10px -4px rgba(0, 0, 0, 0.5);
}

.app-tile span {
  position: absolute;
  inset: 26%;
  border-radius: 50%;
  border: 3px solid #14301f;
  border-right-color: var(--orange);
}

.play-icon {
  position: absolute;
  right: 12%;
  bottom: 14%;
  width: 30%;
  height: 30%;
  fill: #fbf6ea;
  filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.35));
}

.eyes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.eye-pop {
  position: absolute;
  bottom: 8%;
  width: 24px;
  height: 24px;
  padding: 4px;
  border-radius: 50%;
  background: #fbf6ea;
  fill: #14301f;
  box-shadow: 0 0 0 2px var(--orange), 0 3px 6px rgba(0, 0, 0, 0.35);
}

.eye-pop svg {
  display: block;
  width: 100%;
  height: 100%;
}

.post-caption {
  margin: 8px 0 0;
  font-weight: 600;
}

.post-status {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  color: #4a6152;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.progress {
  height: 5px;
  border-radius: 9px;
  background: rgba(20, 48, 31, 0.12);
  overflow: hidden;
}

.progress span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: var(--orange);
}

.state {
  grid-column: 2;
  grid-row: 1;
  display: none;
  align-items: center;
  gap: 3px;
}

.state svg {
  width: 12px;
  height: 12px;
  color: #1e7a45;
}

.stage .state--draft {
  display: inline-flex;
}

.stage.is-sending .state--draft,
.stage.is-sent .state--draft {
  display: none;
}

.stage.is-sending .state--sending,
.stage.is-sent .state--sent {
  display: inline-flex;
}

.stage.is-sending .progress span {
  width: 100%;
  transition: width 0.9s cubic-bezier(0.5, 0, 0.3, 1);
}

.stage.is-sent .progress span {
  width: 100%;
  background: #1e7a45;
}

.stage.is-sent .state--sent {
  color: #1e7a45;
}

.stage.is-sent .phone {
  transform: rotate(-2deg) translateY(-4px);
}

.meter--play {
  grid-area: meter;
  justify-self: stretch;
  z-index: 1;
  margin-top: -12px;
  font-size: clamp(14px, 4.75vw, 19px);
}

.phone {
  width: 158px;
  margin-left: 10px;
}

.meter--play .meter-face {
  grid-template-columns: auto max-content;
  justify-content: space-between;
}

/* the COMING SOON flag, hinged at the meter's top right like a taxi's hire flag */

.flag {
  position: absolute;
  right: 1.6em;
  top: 0;
  width: 0;
  height: 0;
  z-index: 2;
}

.flag-post {
  position: absolute;
  right: -0.35em;
  bottom: 0;
  width: 0.7em;
  height: 1.1em;
  border-radius: 0.2em 0.2em 0 0;
  background: linear-gradient(90deg, #6f6756, #f6efdf 45%, #9a907b);
}

.flag-arm {
  position: absolute;
  right: 0;
  bottom: 0.85em;
  display: block;
  transform-origin: 100% 50%;
  transform: rotate(90deg);
  transition: transform 0.35s ease;
}

.flag-plate {
  display: block;
  white-space: nowrap;
  padding: 0.38em 0.8em 0.32em 0.7em;
  border-radius: 0.22em 0 0 0.22em;
  background: linear-gradient(180deg, #ff7a3d, var(--orange) 50%, #e94c0c);
  color: #14301f;
  font-weight: 900;
  font-size: 1em;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 0.18em 0 #a8380a, 0 0.5em 0.8em -0.3em rgba(0, 0, 0, 0.5);
}

.meter.is-flag-down .flag-arm {
  transform: rotate(0deg);
}

@media (min-width: 960px) {
  .play {
    padding: 96px 0 104px;
  }

  .play-grid {
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
    grid-template-areas: "copy stage" "note stage";
    grid-template-rows: auto 1fr;
    column-gap: 56px;
    row-gap: 0;
    align-items: end;
  }

  .play-copy {
    grid-area: copy;
  }

  .stage {
    grid-area: stage;
  }

  .play-note-slot {
    grid-area: note;
    align-self: start;
  }

  h2 {
    font-size: clamp(5rem, 7vw, 7rem);
  }

  .play-note {
    font-size: 1.1rem;
  }

  .stage {
    grid-template-columns: auto 1fr;
    grid-template-areas: "phone meter";
    column-gap: 36px;
    align-items: end;
  }

  .phone {
    width: 210px;
    transform: rotate(-5deg) translateY(-10px);
  }

  .stage.is-sent .phone {
    transform: rotate(-3deg) translateY(-16px);
  }

  .post {
    font-size: 12.5px;
  }

  .stage {
    padding-top: 72px;
  }

  .meter--play {
    margin-top: 0;
    font-size: clamp(17px, 1.6vw, 22px);
    align-self: end;
  }

  .phone {
    margin-left: 0;
  }
}

/* ---------- steps ---------- */

.steps {
  padding-top: 72px;
  padding-bottom: 72px;
}

.step-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 44px;
}

.step {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.meter--mini {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  height: 4em;
  padding: 0 0.65em 0 0.85em;
  border-radius: 0.8em;
  font-size: 16px;
  margin-bottom: 14px;
}

.meter--mini .meter-label {
  font-size: 0.7em;
}

.meter--coins .tray {
  gap: 0.36em;
}

.step h3 {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 2.6rem;
  line-height: 0.9;
}

.step-no {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--accent-text);
  transform: translateY(-0.9em);
}

.step p {
  margin: 0;
  max-width: 22em;
  font-size: 1.0625rem;
}

@media (min-width: 900px) {
  .steps {
    padding-top: 104px;
    padding-bottom: 96px;
  }

  .step-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
  }

  .step {
    padding-left: 28px;
    border-left: 2px solid var(--line);
  }

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

  .step h3 {
    font-size: 3rem;
  }
}

/* ---------- footer ---------- */

.foot {
  padding-top: 26px;
  padding-bottom: 40px;
}

.foot-line {
  margin: 0;
  padding-top: 22px;
  border-top: 2px solid var(--ink);
  font: 700 0.85rem/1.4 var(--text);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.foot-line a {
  text-underline-offset: 3px;
}

/* ---------- 404 ---------- */

.nf {
  display: grid;
  justify-items: start;
  align-content: center;
  gap: 30px;
  min-height: min(calc(100svh - 170px), 720px);
  padding-top: 24px;
  padding-bottom: 72px;
}

.nf .meter {
  margin-bottom: 18px;
}

.nf h1 {
  font-size: clamp(4.4rem, 21vw, 9rem);
}

.nf .meter--hero {
  transform: none;
}

/* ---------- calm mode ---------- */

@media (prefers-reduced-motion: reduce) {
  .btn,
  .phone,
  .flag-arm,
  .js .play-note,
  .progress span,
  .lamp {
    transition: none !important;
  }
}
