@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600;9..144,700&family=Manrope:wght@300;400;500;600;700&display=swap");

:root {
  color-scheme: only light;
  --ink: #0e1e12;
  --muted: #f9f3da;
  --leaf: #204828;
  --leaf-dark: #12311b;
  --sun: #ffd600;
  --sun-deep: #f1c437;
  --cream: #f9f3da;
  --card: #ffffff;
  --stroke: rgba(14, 30, 18, 0.12);
  --shadow: 0 20px 45px rgba(6, 16, 10, 0.18);
}

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

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  background: #022612;
  color: var(--ink);
}

.page {
  min-height: 100vh;
  background-color: #022612;
  background-image: linear-gradient(180deg, #022612 0%, #01a427 100%);
  padding: 32px clamp(20px, 4vw, 64px) 40px;
}

.container {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}

.brand img {
  width: 44px;
  height: 44px;
}

.ghost {
  border: 1.5px solid #ffd600;
  background: #02270c;
  color: #ffd600;
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}

main {
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 8vw, 96px);
  margin-top: clamp(32px, 6vw, 72px);
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(32px, 6vw, 64px);
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  text-align: center;
}

.hero-logo {
  width: min(240px, 70vw);
  height: auto;
  display: block;
}

h1,
h2,
h3 {
  font-family: "Fraunces", serif;
  color: var(--leaf-dark);
}

h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1.05;
  color: #f9f3da;
}

.slogan {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #f9f3da;
  max-width: 520px;
}

.lede {
  font-size: 1.05rem;
  color: #f9f3da;
  max-width: 520px;
}

.availability {
  font-weight: 600;
  color: #ffd600;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.appstore-badge img {
  height: 54px;
  width: auto;
  display: block;
}

.primary,
.secondary {
  padding: 12px 20px;
  border-radius: 999px;
  border: none;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}

.primary {
  background: #02270c;
  color: #ffd600;
  box-shadow: 0 18px 30px rgba(9, 22, 12, 0.35);
}

.secondary {
  background: #02270c;
  color: #ffd600;
  border: 1.5px solid #ffd600;
}

.quick-stats {
  display: grid;
  gap: 14px;
  margin-top: 6px;
}

.quick-stats div {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 16px;
  padding: 14px 16px;
  border: 1px solid var(--stroke);
}

.quick-stats strong {
  display: block;
  font-size: 0.95rem;
}

.quick-stats span {
  font-size: 0.85rem;
  color: var(--muted);
}

.hero-media {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 16px;
  align-self: start;
}


.phone {
  width: min(340px, 90vw);
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  margin-top: -28px;
}

.phone img {
  width: 100%;
  border-radius: 0;
  display: block;
}

.badge {
  background: #ffffff;
  border-radius: 20px;
  padding: 14px 18px;
  border: 1px solid var(--stroke);
  max-width: 280px;
  box-shadow: var(--shadow);
}

.badge span {
  display: inline-block;
  font-weight: 700;
  color: var(--leaf);
  margin-bottom: 6px;
}

.badge p {
  color: #f1f0dc;
  font-size: 0.9rem;
}

.features .section-title {
  max-width: 560px;
  margin-bottom: 24px;
}

.features p {
  color: #f1f0dc;
}

.terms,
.privacy {
  max-width: 900px;
}

.terms .section-title,
.privacy .section-title {
  text-align: left;
}

.terms-card {
  background: #02270c;
  border: 1.5px solid #ffd600;
  border-radius: 20px;
  padding: clamp(20px, 4vw, 32px);
  box-shadow: 0 18px 40px rgba(4, 20, 10, 0.35);
}

.terms-card p {
  color: #f9f3da;
  line-height: 1.65;
  margin-top: 10px;
}

.terms-card strong {
  color: #ffd600;
}

.terms-card ol {
  margin: 18px 0 0 20px;
  display: grid;
  gap: 18px;
}

.terms-card li {
  color: #f9f3da;
}

.terms-card li p {
  margin-top: 8px;
}

.terms-card li strong {
  display: inline-block;
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.terms-card .section-title h2 {
  color: #ffffff;
}

.terms-card a {
  color: #ffd600;
  text-decoration: underline;
}

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

.grid article {
  background: #02270c;
  border-radius: 18px;
  padding: 18px;
  border: 1.5px solid #ffd600;
  box-shadow: 0 12px 24px rgba(9, 22, 12, 0.25);
}

.grid article h3 {
  color: #ffd600;
}

.grid article p {
  color: rgba(249, 243, 218, 0.9);
}

.callout-card {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  background: #02270c;
  color: #f9f3da;
  border-radius: 24px;
  padding: clamp(24px, 6vw, 48px);
  border: 1.5px solid #ffd600;
}

.callout-card h2 {
  color: #f9f3da;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.callout-card p {
  color: rgba(249, 243, 218, 0.75);
  max-width: 520px;
}

.callout-card .secondary {
  color: #f9f3da;
  border-color: rgba(249, 243, 218, 0.4);
}

footer {
  margin-top: 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
}

footer a {
  color: var(--leaf-dark);
  text-decoration: none;
}

.links {
  display: flex;
  gap: 18px;
}

@media (max-width: 720px) {
  .top {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-copy {
    order: 1;
  }

  .hero-media {
    order: 2;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy,
  .hero-media,
  .grid article,
  .callout-card {
    animation: float-in 0.8s ease both;
  }

  .hero-media {
    animation-delay: 0.15s;
  }

  .grid article:nth-child(2) {
    animation-delay: 0.2s;
  }

  .grid article:nth-child(3) {
    animation-delay: 0.3s;
  }

  .grid article:nth-child(4) {
    animation-delay: 0.4s;
  }

  .grid article:nth-child(5) {
    animation-delay: 0.5s;
  }

  .callout-card {
    animation-delay: 0.2s;
  }
}

@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
