:root {
  --navy: #0f2d5d;
  --sky: #0d8ed7;
  --mint: #2fcc9c;
  --stone: #1f2933;
  --soft: #f5f6fb;
  --text: #0c1a2a;
  --muted: #5f6c7b;
}

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

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--soft);
  color: var(--text);
  line-height: 1.6;
}

.container {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-header {
  background: rgba(255, 255, 255, 0.95);
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(15, 45, 93, 0.08);
  backdrop-filter: blur(12px);
}

.site-header .container {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--navy);
  text-decoration: none;
}

.logo-wrap {
  display: flex;
  align-items: center;
}

.logo-mark {
  width: 46px;
  height: 46px;
}

.logo-mark,
.hero-card-logo,
.cta-logo,
.footer-logo-mark {
  object-fit: contain;
  background: white;
  border-radius: 1rem;
  padding: 0.35rem;
}

.logo-link span {
  color: var(--navy);
}

.main-nav {
  display: flex;
  gap: 1rem;
  flex: 1;
  justify-content: center;
}

.main-nav a {
  color: var(--stone);
  text-decoration: none;
  font-weight: 500;
}

.main-nav.is-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 1rem);
  background: white;
  padding: 1rem 1.5rem;
  border-radius: 0 0 1rem 1rem;
  box-shadow: 0 12px 30px rgba(15, 45, 93, 0.2);
}

.main-nav.is-open a {
  padding: 0.5rem 0;
}

.cta {
  padding: 0.65rem 1.35rem;
  background: var(--mint);
  color: white;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(47, 204, 156, 0.4);
}

.hero {
  background: linear-gradient(135deg, var(--navy), #173d6a);
  color: white;
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.grid-hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--mint);
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  margin: 0 0 1rem;
  line-height: 1.2;
}

.lead {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-height: 48px;
}

.btn.primary {
  background: var(--mint);
  color: var(--stone);
}

.btn.secondary {
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: white;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

.hero-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  text-align: center;
}

.hero-card-title {
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero-card-logo {
  width: clamp(140px, 24vw, 200px);
  margin-bottom: 0.25rem;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.35));
}

.hero-card-subtitle {
  font-size: 0.95rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.hero-card ul {
  padding-left: 1rem;
  margin: 0;
  text-align: left;
  width: 100%;
}

.section {
  padding: clamp(2.5rem, 5vw, 4.25rem) 0;
}

.section:nth-of-type(even) {
  background: white;
}

.section-header {
  margin-bottom: 2rem;
}

.section-header h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.section-text {
  max-width: 720px;
  color: var(--muted);
}

.cards .card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.card {
  background: white;
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid rgba(15, 45, 93, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 180px;
}

.card h3 {
  margin: 0;
  font-size: 1.1rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--sky), var(--mint));
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.note {
  margin-top: 1.5rem;
  font-weight: 600;
  color: var(--navy);
}

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

.steps article {
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(15, 45, 93, 0.12);
  background: white;
}

.steps span {
  display: inline-flex;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--sky);
  color: white;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* CTA download */
.cta-section {
  background: var(--navy);
  color: white;
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}

.cta-section .lead {
  color: rgba(255, 255, 255, 0.85);
}

.cta-brand {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.cta-logo {
  width: 80px;
  height: 80px;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.45));
}

.cta-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.cta-buttons .btn {
  flex: 1;
  min-width: 180px;
}

.small-text {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Footer */
.site-footer {
  background: #0b203a;
  color: white;
  padding: 3rem 0 2rem;
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
}

.footer-grid {
  align-items: flex-start;
}

.footer-brand {
  display: flex;
  gap: 1rem;
  align-items: center;
  max-width: 320px;
}

.footer-logo-mark {
  width: 56px;
  height: 56px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 160px;
}

.footer-col h4 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  color: white;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-weight: 500;
}

.footer-col p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1rem;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  color: white;
  min-width: 140px;
  flex: 1;
}

.store-badge.google {
  background: linear-gradient(135deg, #00c853, #0091ea);
}

.store-badge.ios {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.site-footer nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.foot-note,
.rights {
  margin: 0;
}

.footer-bottom {
  margin-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1rem;
  text-align: left;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 0.3rem;
  background: transparent;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--stone);
}

@media (max-width: 900px) {
  .main-nav {
    display: none;
  }

  .main-nav.is-open {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

  .site-header .container {
    justify-content: space-between;
  }
}

@media (max-width: 768px) {
  .hero-card {
    order: -1;
  }

  .cta {
    display: none;
  }

  .container {
    padding: 0 1rem;
  }

  .site-footer .container {
    gap: 1.5rem;
  }
}

@media (max-width: 600px) {
  .hero-buttons {
    grid-template-columns: 1fr;
  }

  .cta-brand {
    justify-content: flex-start;
  }

  .footer-col {
    min-width: 120px;
  }
}
