* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --fg: #FAFAFA;
  --bg: #050505;
  --dim: rgba(250, 250, 250, 0.35);
  --dim2: rgba(250, 250, 250, 0.15);
}

@media (prefers-color-scheme: light) {
  :root {
    --fg: #050505;
    --bg: #FAFAFA;
    --dim: rgba(5, 5, 5, 0.35);
    --dim2: rgba(5, 5, 5, 0.15);
  }
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Accessibility */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Layout */

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 80px 0;
}

/* Hero */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 120px;
  padding-bottom: 80px;
}

.hero-icon {
  width: 80px;
  height: 80px;
  border-radius: 18px;
  margin-bottom: 32px;
}

.hero h1 {
  font-size: clamp(48px, 10vw, 80px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 16px;
}

.hero .subtitle {
  font-size: clamp(18px, 3vw, 24px);
  color: var(--dim);
  margin-bottom: 48px;
  max-width: 400px;
}

.app-store-badge {
  display: inline-block;
  transition: opacity 0.2s;
}

.app-store-badge:hover {
  opacity: 0.7;
}

.app-store-badge img {
  height: 54px;
}

.coming-soon {
  font-size: 16px;
  color: var(--dim);
  letter-spacing: 0.05em;
}

/* Screenshots */

.screenshots {
  padding: 40px 0 80px;
  overflow: hidden;
}

.screenshots-scroll {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0 24px 24px;
  scrollbar-width: none;
  justify-content: center;
}

.screenshots-scroll::-webkit-scrollbar {
  display: none;
}

.phone-frame {
  flex-shrink: 0;
  scroll-snap-align: center;
  width: 240px;
  border-radius: 32px;
  overflow: hidden;
  border: 2px solid var(--dim2);
  background: #000;
}

.phone-frame img {
  width: 100%;
  height: auto;
  display: block;
}

/* Features */

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 64px;
}

.feature h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature p {
  font-size: 16px;
  color: var(--dim);
  line-height: 1.6;
}

/* Quote */

.quote {
  padding: 120px 0;
  text-align: center;
}

.quote blockquote {
  font-size: clamp(24px, 5vw, 40px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  max-width: 600px;
  margin: 0 auto;
}

/* Footer */

footer {
  padding: 40px 0;
  border-top: 1px solid var(--dim2);
}

footer .footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

footer a {
  color: var(--dim);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

footer a:hover {
  color: var(--fg);
}

footer .credit {
  font-size: 14px;
  color: var(--dim);
}

/* Responsive */

@media (max-width: 640px) {
  section {
    padding: 60px 0;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .phone-frame {
    width: 200px;
    border-radius: 28px;
  }

  .quote {
    padding: 80px 0;
  }

  footer .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
