:root {
  --orange: #e77a00;
  --coral: #d95a42;
  --pink: #d98b91;
  --cream: #e4dbc6;
  --navy: #394875;
  --teal: #59a0a3;
  --yellow: #e7c634;
  --ink: #2b2b2a;
  --white: #fffaf0;
  --shadow: rgba(43, 43, 42, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--ink);
  color: var(--ink);
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-weight: 300;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(var(--coral) 0 7.5rem, transparent 7.5rem),
    linear-gradient(180deg, var(--orange) 0 68%, var(--coral) 68% 100%);
}

a {
  color: inherit;
}

.site-header {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 2rem 0;
}

.brand-link img {
  display: block;
  width: clamp(150px, 18vw, 230px);
  height: auto;
}

.status-nav {
  display: flex;
  gap: 1rem;
  color: var(--cream);
  font-size: 0.95rem;
}

.status-nav a {
  text-decoration: none;
}

.status-nav a:hover {
  text-decoration: underline;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: center;
  width: min(1120px, calc(100% - 40px));
  min-height: 92svh;
  margin: 0 auto;
  padding: 9.5rem 0 4rem;
}

.hero::before,
.hero::after {
  position: absolute;
  left: 50%;
  width: 100vw;
  content: "";
  transform: translateX(-50%);
}

.hero::before {
  top: 7.5rem;
  height: 3.6rem;
  background:
    linear-gradient(var(--orange) 0 35%, transparent 35% 54%, var(--navy) 54% 100%);
}

.hero::after {
  bottom: 0;
  height: 1px;
  background: var(--yellow);
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding-top: 5rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--cream);
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  text-transform: uppercase;
}

h1,
h2,
p {
  letter-spacing: 0;
}

h1 {
  margin: 0;
  color: var(--cream);
  font-size: clamp(4.5rem, 14vw, 11rem);
  font-weight: 300;
  line-height: 0.85;
}

.lede {
  max-width: 590px;
  margin: 1.4rem 0 2rem;
  color: var(--cream);
  font-size: clamp(1.35rem, 3vw, 2.3rem);
  line-height: 1.12;
}

.platforms {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 220px));
  gap: 0.9rem;
}

.store-link,
.store-link:visited {
  display: grid;
  gap: 0.18rem;
  min-height: 78px;
  padding: 0.95rem 1rem;
  border: 0;
  background: var(--cream);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 8px 8px 0 var(--ink);
}

.store-link[data-state="available"] {
  background: var(--yellow);
}

.store-link small {
  color: rgba(43, 43, 42, 0.68);
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
}

.store-link strong {
  overflow-wrap: anywhere;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 400;
}

.phone-shell {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.2rem;
  padding: 1.35rem;
  border: 10px solid var(--ink);
  border-radius: 34px;
  background: var(--orange);
  box-shadow: 18px 22px 0 var(--shadow);
}

.phone-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--cream);
  font-size: 1.18rem;
}

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

.phone-top strong {
  color: var(--white);
  font-weight: 600;
}

.meter {
  height: 34px;
  padding: 7px;
  background: var(--teal);
}

.meter span {
  display: block;
  width: 84%;
  height: 100%;
  border-radius: 999px;
  background: var(--ink);
}

.dot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.85rem, 3vw, 1.35rem);
  padding: clamp(1.2rem, 4vw, 2rem);
  background: var(--cream);
}

.dot {
  aspect-ratio: 1;
  border-radius: 50%;
  border: clamp(0.65rem, 2vw, 1rem) solid color-mix(in srgb, currentColor 82%, var(--ink));
  background: currentColor;
  box-shadow: inset 0 0 0 999px rgba(255, 255, 255, 0.12);
}

.yellow { color: var(--yellow); }
.red { color: var(--coral); }
.teal { color: var(--teal); }
.pink { color: var(--pink); }
.navy { color: var(--navy); }
.orange-ring { border-color: var(--orange); }
.deep-ring { border-color: #b9432e; }

.controls {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  padding: 1.1rem;
  background: #b94735;
}

.controls span {
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--teal);
  opacity: 0.86;
}

.info-band {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 1fr);
  gap: 2rem;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 4rem 0 5rem;
  color: var(--cream);
}

.info-band h2 {
  max-width: 520px;
  margin: 0;
  font-size: clamp(2rem, 5vw, 4.8rem);
  font-weight: 300;
  line-height: 0.95;
}

.info-band p:last-child {
  align-self: end;
  margin: 0;
  color: var(--cream);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  line-height: 1.25;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem max(20px, calc((100vw - 1120px) / 2));
  background: var(--ink);
  color: var(--cream);
  font-size: 0.95rem;
}

@media (max-width: 800px) {
  body {
    background:
      linear-gradient(var(--coral) 0 6rem, transparent 6rem),
      linear-gradient(180deg, var(--orange) 0 68%, var(--coral) 68% 100%);
  }

  .site-header {
    position: relative;
    width: min(100% - 32px, 560px);
    padding: 1.2rem 0;
  }

  .status-nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    width: min(100% - 32px, 560px);
    min-height: auto;
    padding: 2.5rem 0 3rem;
  }

  .hero::before {
    top: 0;
    height: 2rem;
  }

  .hero-copy {
    padding-top: 0;
  }

  .platforms {
    grid-template-columns: 1fr;
  }

  .phone-shell {
    border-width: 8px;
    border-radius: 26px;
    box-shadow: 10px 12px 0 var(--shadow);
  }

  .info-band {
    grid-template-columns: 1fr;
    width: min(100% - 32px, 560px);
    padding: 3rem 0 4rem;
  }

  .site-footer {
    flex-direction: column;
  }
}
