:root {
  color-scheme: dark;
  --bg: #100e0c;
  --ink: #f4efe6;
  --muted: #c9b8a4;
  --line: rgba(244, 239, 230, 0.16);
  --accent: #e25b2a;
  --paper: #1a1612;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(900px 520px at 18% 20%, rgba(226, 91, 42, 0.18), transparent 60%),
    var(--bg);
  color: var(--ink);
  font-family: "Public Sans", sans-serif;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.18;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.55'/></svg>");
}

.top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 28px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

main {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0 80px;
}

.hero {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  align-items: end;
}

.phone {
  margin: 0;
}

.screen {
  aspect-ratio: 9 / 16;
  border-radius: 28px;
  padding: 28px 22px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.55)),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='140'><rect fill='%23221814' width='80' height='140'/><path d='M0 90h80' stroke='%23c45c26' stroke-width='8' opacity='.35'/></svg>");
  background-size: cover;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.45),
    inset 0 0 0 1px rgba(244, 239, 230, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.slate,
.beat,
figcaption,
.fine,
.num {
  font-family: "IBM Plex Mono", monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.slate,
.beat,
figcaption {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.vo {
  margin: 18px 0 22px;
  font-family: Fraunces, serif;
  font-size: 34px;
  font-weight: 520;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.vo span {
  opacity: 0.45;
}

.vo .hot {
  opacity: 1;
  color: #ffe000;
  animation: punch 2.8s steps(1) infinite;
}

@keyframes punch {
  0%,
  40% {
    color: #ffe000;
  }
  41%,
  100% {
    color: #f4efe6;
  }
}

figcaption {
  margin-top: 12px;
}

.kicker {
  margin: 0 0 12px;
  color: var(--accent);
  font-family: "IBM Plex Mono", monospace;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12px;
}

h1 {
  margin: 0;
  font-family: Fraunces, serif;
  font-weight: 600;
  font-size: clamp(56px, 7vw, 92px);
  letter-spacing: -0.045em;
  line-height: 0.92;
}

.lede {
  max-width: 36em;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}

.download {
  display: inline-block;
  margin-top: 8px;
  background: var(--ink);
  color: #16120e;
  text-decoration: none;
  font-weight: 600;
  padding: 14px 22px;
}

.download:hover {
  background: var(--accent);
  color: #1a0d08;
}

.fine {
  color: var(--muted);
  font-size: 12px;
  text-transform: none;
  letter-spacing: 0;
}

code {
  color: var(--ink);
}

.strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 72px;
  border-top: 1px solid var(--line);
}

.strip article {
  padding: 28px 22px 8px 0;
  border-right: 1px solid var(--line);
}

.strip article:last-child {
  border-right: 0;
  padding-right: 0;
}

.strip article:not(:first-child) {
  padding-left: 22px;
}

.num {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 12px;
}

h2 {
  margin: 0 0 8px;
  font-family: Fraunces, serif;
  font-weight: 520;
  font-size: 32px;
}

.strip p,
.path li {
  color: var(--muted);
  line-height: 1.5;
}

.path {
  margin-top: 28px;
  padding: 28px 0 0;
  border-top: 1px solid var(--line);
}

.path ol {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  padding: 0;
  margin: 16px 0 0;
  list-style: none;
}

.path li strong {
  display: block;
  color: var(--ink);
  margin-bottom: 6px;
}

@media (max-width: 860px) {
  .hero,
  .strip,
  .path ol {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 28px;
  }

  .phone {
    max-width: 240px;
  }

  .strip article,
  .strip article:not(:first-child) {
    padding: 22px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}
