:root {
  --grey1: #e2e2e2;
  --orange1: #f39308;
  --orange2: rgb(250 237 214);
  --darkGrey: rgb(78, 78, 78);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, system-ui, BlinkMacSystemFont;
  background-color: var(--orange2);
  color: var(--darkGrey);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

/* Brown grid flourish, upper right */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(122, 85, 46, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(122, 85, 46, 0.18) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 70% 65% at 100% 0%, black 25%, transparent 72%);
  mask-image: radial-gradient(ellipse 70% 65% at 100% 0%, black 25%, transparent 72%);
}

nav,
.hero {
  position: relative;
  z-index: 1;
}

a {
  color: var(--darkGrey);
}

/* Nav */

nav {
  background-color: var(--orange2);
}

.nav-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05em;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

/* Hero */

.hero {
  text-align: center;
  padding: 104px 24px 88px;
  max-width: 720px;
  margin: 0 auto;
}

.app-icon-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 32px;
}

.app-icon {
  width: 132px;
  height: 132px;
  border-radius: 30px;
  box-shadow: 0 12px 32px rgba(78, 78, 78, 0.25);
  display: block;
}

.beta-badge {
  position: absolute;
  top: -10px;
  right: -18px;
  background-color: var(--orange1);
  color: white;
  font-size: 0.8em;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(243, 147, 8, 0.4);
  transform: rotate(6deg);
}

.hero h1 {
  font-size: 3em;
  line-height: 1.1;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.subhead {
  font-size: 1.2em;
  line-height: 1.55;
  opacity: 0.75;
  max-width: 520px;
  margin: 0 auto 32px;
}

.app-store-link img {
  height: 56px;
  width: auto;
}

.hero-note {
  margin-top: 16px;
  font-size: 0.9em;
  opacity: 0.6;
}

/* Footer */

footer {
  position: relative;
  overflow: hidden;
  margin-top: auto;
  background: linear-gradient(180deg, var(--darkGrey) 0%, rgb(58, 58, 58) 100%);
  color: var(--orange2);
  text-align: center;
  padding: 64px 24px 80px;
}

footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 90% 100% at 50% 0%, black 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 90% 100% at 50% 0%, black 30%, transparent 75%);
  pointer-events: none;
}

footer > * {
  position: relative;
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin: 0 0 20px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--orange2);
  text-decoration: none;
  opacity: 0.85;
}

.footer-links a:hover {
  opacity: 1;
}

.fine-print {
  font-size: 0.8em;
  opacity: 0.5;
}

.fine-print a {
  color: var(--orange2);
}

.fine-print .divider {
  margin: 0 8px;
}

/* Responsive */

@media screen and (max-width: 700px) {
  .hero {
    padding: 72px 20px 64px;
  }

  .hero h1 {
    font-size: 2.2em;
  }

  .app-icon {
    width: 108px;
    height: 108px;
    border-radius: 25px;
  }
}
