/* =============================================
   CSS Reset
   ============================================= */
*, *::before, *::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
  display: block;
}

/* =============================================
   Brand Tokens
   ============================================= */
:root {
  --color-primary:   #2D6A4F;
  --color-secondary: #1A6B8A;
  --color-accent:    #E67E22;
  --color-bg:        #FFFFFF;
  --color-surface:   #F5F0E8;
  --color-text:      #1E2A23;
}

/* =============================================
   Base Typography
   ============================================= */
body {
  font-family: 'Inter', sans-serif;
  color: var(--color-text);
  line-height: 1.6;
  background-color: var(--color-bg);
}

/* =============================================
   Utilities
   ============================================= */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.wordmark {
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: lowercase;
  font-style: normal;
  text-decoration: none;
}

.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;
}

/* =============================================
   Navigation
   ============================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--color-bg);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  z-index: 100;
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-wordmark {
  font-size: 1.4rem;
  color: var(--color-primary);
}

/* =============================================
   Hero
   ============================================= */
.hero {
  min-height: 100vh;
  background: var(--color-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 7rem 1.5rem 4rem;
}

.hero-wordmark {
  color: #ffffff;
  font-size: clamp(3rem, 8vw, 6rem);
  display: block;
  margin-bottom: 1rem;
}

.hero-tagline {
  color: var(--color-surface);
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  font-weight: 400;
  margin-bottom: 2.5rem;
}

/* =============================================
   App Store Button
   ============================================= */
.app-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 14px;
  padding: 0.9rem 1.75rem;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s, transform 0.2s;
}

.app-store-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

/* =============================================
   Features
   ============================================= */
.features {
  padding: 5rem 1.5rem;
  background: var(--color-bg);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

.feature-card {
  background: var(--color-surface);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-text);
}

.feature-card p {
  color: #4a5568;
  line-height: 1.7;
  font-size: 0.95rem;
}

/* =============================================
   Footer
   ============================================= */
.footer {
  background: var(--color-text);
  padding: 3rem 1.5rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
}

.footer-wordmark {
  color: #ffffff;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  display: block;
}

.footer-links {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin: 1rem 0;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-copy {
  font-size: 0.85rem;
  margin-top: 1.5rem;
}

/* =============================================
   Legal Pages
   ============================================= */
.legal-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 7rem 1.5rem 4rem;
}

.legal-page h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.legal-meta {
  color: #6b7280;
  font-size: 0.9rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 1.5rem;
}

.legal-page h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
  color: var(--color-text);
}

.legal-page p,
.legal-page li {
  color: #374151;
  line-height: 1.8;
  font-size: 0.95rem;
}

.legal-page ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-page li {
  margin-bottom: 0.4rem;
}
