:root {
  --cream: #F9F7F2;
  --sage: #85A68D;
  --sage-dark: #6B8F74;
  --terracotta: #D98553;
  --logo-bg: #8B9C89;
  --on-cream: #2D2A26;
  --muted: #6B6560;
  --sage-light: #E8EFE9;
  --terracotta-light: #F5E6DC;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 8px 32px rgba(45, 42, 38, 0.08);
  --shadow-lg: 0 20px 60px rgba(45, 42, 38, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  background: var(--cream);
  color: var(--on-cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(249, 247, 242, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(133, 166, 141, 0.15);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
}

.nav-cta {
  background: var(--terracotta);
  color: var(--white);
  padding: 0.625rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.2s, transform 0.15s;
}

.nav-cta:hover {
  background: #c47445;
  transform: translateY(-1px);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(133, 166, 141, 0.25), transparent),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(217, 133, 83, 0.12), transparent),
    var(--cream);
}

.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding-block: 4rem;
}

.eyebrow {
  display: inline-block;
  background: var(--sage-light);
  color: var(--sage-dark);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.hero-desc {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 28rem;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 28rem;
}

.web-continue-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--sage);
  color: var(--white);
  padding: 0.875rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(133, 166, 141, 0.35);
}

.web-continue-btn--full {
  width: 100%;
}

.store-actions {
  display: flex;
  gap: 0.75rem;
  width: 100%;
}

.store-actions .store-badge {
  flex: 1;
  min-width: 0;
  justify-content: center;
}

.web-continue-btn svg {
  width: 20px;
  height: 20px;
}

.web-continue-btn:hover {
  background: var(--sage-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(133, 166, 141, 0.4);
}

.web-continue-btn--light {
  margin-top: 0.5rem;
  background: var(--white);
  color: var(--sage-dark);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.web-continue-btn--light:hover {
  background: var(--cream);
  color: var(--on-cream);
}

.store-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--on-cream);
  color: var(--cream);
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s, opacity 0.2s;
  cursor: default;
  opacity: 0.85;
}

.store-badge svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.store-badge span {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.store-badge small {
  font-size: 0.65rem;
  font-weight: 500;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.phone-mock {
  background: var(--logo-bg);
  border-radius: 32px;
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-lg);
  text-align: center;
  width: min(320px, 100%);
  aspect-ratio: 9 / 16;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.phone-logo {
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}

.phone-tagline {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: 0.08em;
}

/* Features */
.features {
  padding: 6rem 0;
  background: var(--white);
}

.section-title {
  text-align: center;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 3rem;
  letter-spacing: -0.02em;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

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

/* CTA */
.cta {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--sage) 0%, var(--logo-bg) 100%);
  color: var(--white);
  text-align: center;
}

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.cta-logo {
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.2));
}

.cta h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.cta p {
  opacity: 0.9;
  font-size: 1.05rem;
}

/* Footer */
.footer {
  padding: 2.5rem 0;
  border-top: 1px solid rgba(133, 166, 141, 0.2);
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
}

.footer-copy {
  color: var(--muted);
  font-size: 0.875rem;
}

.footer-credit a {
  color: var(--sage);
  font-size: 0.875rem;
  font-weight: 500;
}

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

/* Responsive */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    padding-block: 3rem 2rem;
  }

  .hero-desc {
    margin-inline: auto;
  }

  .hero-actions {
    margin-inline: auto;
    width: 100%;
    max-width: 22rem;
  }

  .hero-visual {
    order: -1;
  }

  .phone-mock {
    aspect-ratio: auto;
    padding: 2.5rem 2rem;
    width: min(260px, 80%);
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}
