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

:root {
  --color-primary: #E96250;
  --color-bg: #ffffff;
  --color-text: #1d1d1f;
  --color-text-secondary: #6e6e73;
  --color-surface: #f5f5f7;
  --max-width: 1080px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Nav */

header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #e0e0e0;
  z-index: 100;
}

nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.logo {
  font-weight: 700;
  font-size: 1.25rem;
  margin-right: auto;
}

nav a {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
}

nav a:hover {
  color: var(--color-text);
}

/* Hero */

.hero {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 5rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 4rem;
}

.hero-content {
  flex: 1;
}

.hero h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.subtitle {
  font-size: 1.15rem;
  color: var(--color-text-secondary);
  margin-bottom: 2rem;
  max-width: 480px;
}

.cta-button {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  padding: 0.75rem 2rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: opacity 0.2s;
}

.cta-button:hover {
  opacity: 0.85;
}

.hero-image {
  flex: 0 0 auto;
}

.phone-mockup {
  width: 260px;
  height: 520px;
  background: var(--color-surface);
  border-radius: 36px;
  border: 4px solid #d1d1d6;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.phone-screen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 32px;
}

/* Features */

.features {
  background: var(--color-surface);
  padding: 5rem 1.5rem;
}

.features h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 3rem;
}

.feature-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--color-bg);
  border-radius: 16px;
  padding: 2rem;
}

.feature-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.75rem;
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
}

/* Download */

.download {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 5rem 1.5rem;
  text-align: center;
}

.download h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.download p {
  color: var(--color-text-secondary);
  font-size: 1.1rem;
}

.download a {
  color: var(--color-primary);
  text-decoration: none;
}

.download a:hover {
  text-decoration: underline;
}

/* Legal pages */

.legal {
  text-align: left;
}

.legal h3 {
  font-size: 1.15rem;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.legal p,
.legal ul {
  color: var(--color-text-secondary);
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.legal ul {
  padding-left: 1.5rem;
}

.legal li {
  margin-bottom: 0.35rem;
}

.legal a {
  color: var(--color-primary);
  text-decoration: none;
}

.legal a:hover {
  text-decoration: underline;
}

.legal-updated {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

main {
  flex: 1;
}

/* Footer */

footer {
  border-top: 1px solid #e0e0e0;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  padding: 2rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}

footer nav {
  padding: 0;
  gap: 1rem;
}

/* Responsive */

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    padding: 3rem 1.5rem;
    text-align: center;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  footer {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
