:root {
  --paper: #f5f0e6;
  --card: #fffaf0;
  --ink: #111111;
  --yellow: #ffd93d;
  --pink: #ff90c2;
  --green: #65cf73;
  --red: #ff5a5f;
  --blue: #8fb3ff;
  --orange: #ff9f43;
  --shadow: 10px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  margin: 0;
}

a {
  color: inherit;
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}

.site {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(17, 17, 17, 0.08) 0 3px, transparent 3px 22px),
    var(--paper);
}

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: Impact, "Arial Black", sans-serif;
  font-size: clamp(28px, 5vw, 48px);
  letter-spacing: 0;
  text-decoration: none;
}

.brand img {
  width: 56px;
  height: 56px;
  border: 4px solid var(--ink);
  border-radius: 14px;
  background: var(--yellow);
  box-shadow: 6px 6px 0 var(--ink);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
  font-family: "Space Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14px;
  text-transform: uppercase;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  padding: clamp(28px, 6vw, 64px) 0 58px;
}

.hero h1,
.legal h1 {
  margin: 0;
  font-family: Impact, "Arial Black", sans-serif;
  font-size: clamp(58px, 12vw, 132px);
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero p,
.legal .lead {
  max-width: 640px;
  margin: 22px 0 0;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.35;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  border: 4px solid var(--ink);
  border-radius: 12px;
  background: var(--yellow);
  box-shadow: 7px 7px 0 var(--ink);
  padding: 0 22px;
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 20px;
  text-decoration: none;
  text-transform: uppercase;
}

.button.secondary {
  background: var(--card);
}

.play-button {
  align-items: flex-start;
  flex-direction: column;
  min-width: 190px;
  line-height: 1;
}

.play-button span {
  font-family: "Space Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}

.play-button strong {
  font-size: 24px;
}

.phone {
  position: relative;
  justify-self: center;
  width: min(300px, 74vw);
  transform: rotate(2deg);
}

.phone::after {
  content: "";
  position: absolute;
  inset: 18px -14px -18px 14px;
  z-index: 0;
  border-radius: 34px;
  background: var(--ink);
}

.phone img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  border: 5px solid var(--ink);
  border-radius: 34px;
  background: var(--card);
}

.section {
  padding: 38px 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

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

.card,
.legal section {
  border: 4px solid var(--ink);
  border-radius: 12px;
  background: var(--card);
  box-shadow: var(--shadow) var(--shadow) 0 var(--ink);
  padding: 22px;
}

.card:nth-child(1) {
  background: var(--green);
}

.card:nth-child(2) {
  background: var(--pink);
}

.card:nth-child(3) {
  background: var(--yellow);
}

.card h2,
.legal h2,
.section-head h2,
.download-panel h2 {
  margin: 0 0 10px;
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 28px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.card p,
.legal p,
.section-head p,
.download-panel p {
  margin: 0;
  font-size: 17px;
  line-height: 1.45;
}

.text-link {
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 18px;
  text-transform: uppercase;
  white-space: nowrap;
}

.carousel {
  position: relative;
}

.carousel-track {
  display: grid;
  grid-auto-columns: minmax(260px, 320px);
  grid-auto-flow: column;
  gap: 18px;
  overflow-x: auto;
  padding: 0 4px 18px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
}

.shot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin: 0;
  border: 4px solid var(--ink);
  border-radius: 12px;
  background: var(--card);
  box-shadow: var(--shadow) var(--shadow) 0 var(--ink);
  padding: 18px;
  scroll-snap-align: start;
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 620px;
  border: 4px solid var(--ink);
  border-radius: 18px;
  background: var(--paper);
  object-fit: contain;
}

.shot figcaption {
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 22px;
  line-height: 1;
  text-transform: uppercase;
}

.carousel-button {
  position: absolute;
  top: 48%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 4px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 5px 5px 0 var(--ink);
  color: var(--ink);
  cursor: pointer;
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 28px;
  line-height: 1;
}

.carousel-button.prev {
  left: -14px;
}

.carousel-button.next {
  right: -14px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
}

.carousel-dots a {
  width: 18px;
  height: 18px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 3px 3px 0 var(--ink);
}

.download-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 34px;
  border: 4px solid var(--ink);
  border-radius: 12px;
  background: var(--green);
  box-shadow: var(--shadow) var(--shadow) 0 var(--ink);
  padding: 22px;
}

.download-panel p {
  max-width: 520px;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding: 44px 0;
  font-family: "Space Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  text-transform: uppercase;
}

.legal {
  padding: 34px 0 48px;
}

.legal h1 {
  font-size: clamp(44px, 8vw, 86px);
}

.legal .lead {
  font-family: "Space Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 15px;
  text-transform: uppercase;
}

.legal-list {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

@media (max-width: 820px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 14px;
  }

  .phone {
    width: min(250px, 70vw);
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .text-link {
    white-space: normal;
  }

  .carousel-track {
    grid-auto-columns: minmax(238px, 78vw);
  }

  .carousel-button {
    display: none;
  }
}

.pair {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.pair h1 {
  font-size: clamp(40px, 8vw, 64px);
}

.pair .actions {
  justify-content: center;
}

.pair-code-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  border: 4px solid var(--ink);
  border-radius: 12px;
  background: var(--yellow);
  box-shadow: var(--shadow) var(--shadow) 0 var(--ink);
  padding: 22px;
}

.pair-code-label {
  font-family: "Space Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pair-code {
  font-family: "Space Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: clamp(32px, 9vw, 44px);
  letter-spacing: 0.15em;
}

.pair-fineprint {
  margin-top: 20px;
  font-size: 14px;
}
