:root {
  color-scheme: light;
  --ink: #111111;
  --paper: #f8d313;
  --paper-soft: #ffe46b;
  --green: #067a4b;
  --green-light: #16a66a;
  --red: #8f1717;
  --red-bright: #c52424;
  --muted: #343434;
  --card: #ffffff;
  --line: #111111;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0) 260px),
    var(--paper);
  color: var(--ink);
}

a {
  color: inherit;
  font-weight: 900;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(248, 211, 19, 0.92);
  border-bottom: 3px solid var(--line);
  backdrop-filter: blur(10px);
}

.brand,
nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand {
  text-decoration: none;
  font-size: 20px;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

nav {
  gap: clamp(10px, 2vw, 28px);
}

nav a {
  font-size: 14px;
  text-decoration: none;
  text-transform: uppercase;
}

main,
footer {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 78px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: clamp(28px, 6vw, 78px);
  padding: 52px 0 70px;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  max-width: 760px;
  font-size: clamp(52px, 8vw, 98px);
  line-height: 0.9;
  font-weight: 950;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 0.96;
  font-weight: 950;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

p,
li {
  font-size: 18px;
  line-height: 1.55;
}

.lead {
  max-width: 640px;
  color: var(--muted);
  font-size: clamp(20px, 2vw, 25px);
  font-weight: 700;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 24px;
  border: 3px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 5px 5px 0 var(--line);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translate(2px, 2px);
  box-shadow: 3px 3px 0 var(--line);
}

.button.primary {
  background: var(--red-bright);
  color: #ffffff;
}

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

.phone-card,
.card,
.launch-card,
section:not(.hero):not(.band):not(.feature-layout) {
  border: 3px solid var(--line);
  border-radius: 8px;
  box-shadow: 8px 8px 0 var(--line);
  background: var(--card);
}

.phone-card {
  position: relative;
  overflow: hidden;
  padding: 18px;
  background: #fffdf2;
}

.phone-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--red) 0 48%, #ffffff 48% 100%);
  opacity: 0.95;
}

.phone-card > * {
  position: relative;
}

.phone-top {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 18px;
  align-items: center;
  color: #ffffff;
}

.phone-top img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
}

.phone-top p,
.phone-top span {
  margin: 0;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.phone-top strong {
  display: block;
  font-size: 72px;
  line-height: 0.92;
}

.meal-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 24px;
}

.meal-strip img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.hack-card {
  margin-top: 14px;
  padding: 18px;
  border: 3px solid var(--line);
  border-radius: 8px;
  background: var(--green);
  color: #ffffff;
  box-shadow: 5px 5px 0 var(--line);
}

.hack-card p,
.hack-card span {
  margin: 0;
  font-weight: 900;
  text-transform: uppercase;
}

.hack-card strong {
  display: block;
  margin: 4px 0;
  font-size: 42px;
  color: #ffffff;
}

.band,
.feature-layout,
.launch-card {
  margin: 48px 0;
}

.section-heading {
  max-width: 660px;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  padding: 24px;
}

.number {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border: 3px solid var(--line);
  border-radius: 999px;
  background: var(--red-bright);
  color: #ffffff;
  font-weight: 950;
}

.feature-layout {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: clamp(24px, 5vw, 70px);
  align-items: start;
  padding: 42px;
  border-top: 3px solid var(--line);
  border-bottom: 3px solid var(--line);
}

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

.feature-list li {
  padding: 16px 18px;
  border: 3px solid var(--line);
  border-radius: 8px;
  background: var(--paper-soft);
  font-weight: 900;
  box-shadow: 4px 4px 0 var(--line);
}

.launch-card {
  padding: clamp(28px, 5vw, 48px);
  background: var(--red);
  color: #ffffff;
}

.launch-card .eyebrow,
.launch-card a {
  color: #ffffff;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 0 46px;
  border-top: 3px solid var(--line);
}

footer p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

footer div {
  display: flex;
  gap: 18px;
}

.page {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: 56px 0 80px;
}

.page .back {
  display: inline-block;
  margin-bottom: 36px;
  text-decoration: none;
}

.page section {
  margin-top: 34px;
  padding: 24px;
  background: var(--card);
  border: 3px solid var(--line);
  border-radius: 8px;
  box-shadow: 6px 6px 0 var(--line);
}

.updated,
.fine-print {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

@media (max-width: 840px) {
  .nav,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    flex-wrap: wrap;
  }

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

  .hero {
    min-height: auto;
    padding-top: 38px;
  }

  .phone-card {
    max-width: 440px;
  }

  .feature-layout {
    padding: 34px 0;
  }
}

@media (max-width: 520px) {
  main,
  footer {
    width: min(100% - 28px, 1180px);
  }

  h1 {
    font-size: 49px;
  }

  .phone-top {
    grid-template-columns: 76px 1fr;
  }

  .phone-top img {
    width: 76px;
    height: 76px;
  }

  .phone-top strong {
    font-size: 56px;
  }
}
