body {
  overflow-x: hidden;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  padding: var(--space-sm) var(--space-md);
  background: var(--grey-50);
  color: var(--grey-950);
  font-size: var(--font-size-sm);
  z-index: 100;
  text-decoration: none;
}

.skip-link:focus {
  top: 0;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 960px;
  padding: 3rem 1.5rem;
  flex: 1;
}

.mono {
  font-family: var(--font-mono);
}

.hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo {
  margin-bottom: 2rem;
  margin-top: 40px;
}

.logo img {
  max-width: 240px;
  height: auto;
}

.hero {
  border-top: 1px solid var(--grey-700);
  padding-top: var(--space-lg);
  text-align: center;
  margin-bottom: 3rem;
  width: 100%;
}

.hero h1 {
  font-size: var(--font-size-lg);
  font-family: var(--font-mono);
  font-weight: normal;
  line-height: 1.6;
  color: var(--grey-300);
  max-width: 480px;
  margin: 0 auto;
}

.phone-mockup {
  position: relative;
}

.phone-mockup img {
  height: 100%;
  object-fit: cover;
  border-radius: 33px;
  display: block;
  border: 5px solid rgb(17, 17, 17);
  max-width: 285px;
  transition: opacity 0.3s ease;
}

.phone-mockup .screen-hover {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.phone-mockup:hover .screen-default {
  opacity: 0;
}

.phone-mockup:hover .screen-hover {
  opacity: 1;
}

.badge {
  display: inline-block;
  padding: var(--space-xs) var(--space-md);
  color: var(--grey-900);
  border-radius: var(--radius-sm);
  font-size: var(--font-size-xs);
  background: var(--status-positive);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 3rem;
}

.go-for-launch {
  margin-top: var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 400px;
}

.app-store-link {
  display: inline-block;
  margin-bottom: 3rem;
  transition: opacity 0.2s ease;
}

.app-store-link:hover {
  opacity: 0.8;
}

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

/* container */
.feature-list {
  padding: var(--space-2xl) 0;
  background-color: var(--grey-900);
}

.feature-list p {
  font-family: var(--font-grotesk);
  font-size: var(--font-size-lg);
  line-height: 28px;
  color: var(--grey-50);
  font-weight: normal;
  margin-bottom: var(--space-md);
  max-width: 300px;
}

.feature-list p .asterisk {
  font-size: var(--font-size-xs);
  vertical-align: super;
}

.feature-list li {
  font-family: var(--font-mono);
  font-size: var(--font-size-sm);
  color: var(--grey-600);
  list-style: none;
  padding: var(--space-xs) 0;
  padding-left: var(--space-lg);
  position: relative;
}

.feature-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--grey-600);
}

.testflight-cta {
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--grey-700);
}

.testflight-label {
  display: inline-block;
  padding: var(--space-xs) var(--space-sm);
  color: var(--grey-950);
  border-radius: var(--radius-sm);
  font-size: var(--font-size-xs);
  background: var(--status-info);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}

.testflight-cta p {
  font-family: var(--font-grotesk);
  font-size: var(--font-size-sm);
  color: var(--grey-600);
  margin-bottom: var(--space-md);
  max-width: none;
}

.testflight-link {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--font-size-sm);
  color: var(--status-info);
  text-decoration: none;
  transition: opacity 0.2s ease;
  background-color: var(--status-info-tint);
  border: 1px solid var(--status-info);
  border-radius: var(--radius-sm);
  padding: var(--space-sm) var(--space-2xl);
}

.testflight-link:hover {
  opacity: 0.8;
}

.feedback-link {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--font-size-sm);
  color: var(--grey-600);
  text-decoration: none;
  transition: opacity 0.2s ease;
  margin-top: var(--space-md);
}

.feedback-link:hover {
  opacity: 0.7;
}

@media (prefers-reduced-motion: reduce) {
  .testflight-link,
  .feedback-link {
    transition: none;
  }
}

.pro-section {
  width: 100%;
  margin-top: var(--space-2xl);
  padding: var(--space-2xl) 0 var(--space-2xl);
  background-color: var(--grey-900);
  border-top: 1px solid var(--grey-700);
  margin: 0 auto;
  max-width: 400px;
}

.pro-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.pro-badge {
  display: inline-block;
  padding: var(--space-xs) var(--space-md);
  color: var(--grey-950);
  border-radius: var(--radius-sm);
  font-size: var(--font-size-xs);
  background: white;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pro-price {
  font-family: var(--font-mono);
  font-size: var(--font-size-md);
  color: var(--grey-600);
}

.pro-price strong {
  font-size: var(--font-size-lg);
  color: var(--grey-50);
  font-weight: normal;
  text-decoration: line-through;
}

.free span {
  font-size: var(--font-size-xs);
}

.pro-intro {
  font-family: var(--font-grotesk);
  font-size: var(--font-size-md);
  color: var(--grey-300);
  line-height: 1.6;
  max-width: 480px;
}

.pro-image {
  display: block;
  width: 100%;
  max-width: 360px;
  height: auto;
  border-radius: var(--radius-md);
  margin: var(--space-lg) 0;
}

.pro-benefits {
  list-style: none;
  padding: 0;
}

.pro-benefits li {
  font-family: var(--font-mono);
  font-size: var(--font-size-sm);
  color: var(--grey-600);
  padding: var(--space-xs) 0;
  padding-left: var(--space-lg);
  position: relative;
}

.pro-benefits li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: white;
}

footer .powered-by {
  font-family: var(--font-mono);
  font-size: var(--font-size-xs);
  color: var(--grey-600);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
}

footer .powered-by .asterisk {
  vertical-align: super;
  font-size: var(--font-size-xs);
}

footer .powered-by a {
  color: var(--grey-50);
  text-decoration: none;
}

footer .powered-by a:hover {
  text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
  .app-store-link {
    transition: none;
  }
}

@media (min-width: 600px) {
  main {
    padding: 4rem 2rem;
  }

  .hero-section {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 0 3rem;
    align-items: start;
  }

  .hero-content {
    align-items: flex-start;
    grid-column: 1;
    grid-row: 1;
  }

  .phone-mockup {
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: center;
    width: 300px;
    height: 600px;
    margin-bottom: 0;
  }

  .feature-list {
    grid-column: 1;
    grid-row: 2;
    padding: var(--space-2xl) 0;
  }

  .hero {
    text-align: left;
  }

  .hero h1 {
    margin: 0;
  }

  .logo img {
    max-width: 300px;
  }

  .app-store-link img {
    height: 52px;
  }

  .pro-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      'header   header'
      'intro    media'
      'benefits media';
    column-gap: var(--space-2xl);
    max-width: none;
    margin-top: 0;
  }

  .pro-header {
    grid-area: header;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-2xl);
  }

  .pro-intro {
    grid-area: intro;
    max-width: none;
    align-self: start;
  }

  .pro-media {
    grid-area: media;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
  }

  .pro-image {
    max-width: 100%;
    margin: 0;
  }

  .pro-benefits {
    grid-area: benefits;
    align-self: start;
  }
}

@media (min-width: 750px) {
  .hero h1 {
    font-size: var(--font-size-xl);
  }
}
