:root {
  --bg: #f6f6f1;
  --bg-accent: #e4efe8;
  --panel: #ffffff;
  --text: #1f2420;
  --muted: #526058;
  --line: #d8ddd8;
  --brand: #0f7a55;
  --brand-dark: #0b5a3f;
  --radius: 18px;
  --shadow: 0 16px 36px rgba(12, 39, 26, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Source Sans 3", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 5% 0%, #f0f8f4 0%, #f6f6f1 34%, #f4f3ee 100%);
  line-height: 1.55;
}

.bg-glow {
  position: fixed;
  inset: -120px;
  background:
    radial-gradient(circle at 88% 12%, rgba(15, 122, 85, 0.15), transparent 35%),
    radial-gradient(circle at 20% 85%, rgba(89, 146, 116, 0.12), transparent 34%);
  pointer-events: none;
  z-index: -1;
}

.hero,
.section,
.footer {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.hero {
  padding: 1.1rem 0 3rem;
}

.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.nav-links {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.store-link {
  color: var(--brand-dark);
  text-decoration: none;
  font-weight: 600;
}

.hero-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.8rem;
  align-items: center;
}

.eyebrow {
  margin-bottom: 0.75rem;
  color: var(--brand-dark);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.12;
  margin: 0 0 0.8rem;
}

h1 {
  font-size: clamp(2.05rem, 4.4vw, 3.6rem);
  max-width: 14ch;
}

h2 {
  font-size: clamp(1.45rem, 2.4vw, 2.15rem);
}

.hero-copy p {
  max-width: 56ch;
  color: var(--muted);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.72rem 1.15rem;
  font-weight: 600;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: var(--brand);
  box-shadow: 0 8px 18px rgba(15, 122, 85, 0.24);
}

.btn-primary:hover {
  background: var(--brand-dark);
}

.btn-secondary {
  color: var(--brand-dark);
  background: #ecf6f1;
  border: 1px solid #c9ddd2;
}

.hero-shot {
  margin: 0;
  background: linear-gradient(165deg, #eef4ef, #ffffff);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
}

.hero-shot img {
  width: 100%;
  display: block;
  border-radius: 14px;
}

.hero-shot figcaption {
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.section {
  margin-top: 3.4rem;
}

.features .feature-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem;
  box-shadow: 0 8px 20px rgba(12, 39, 26, 0.08);
}

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

.icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--brand-dark);
  background: #e9f4ee;
  margin-bottom: 0.8rem;
}

.icon svg {
  width: 22px;
  height: 22px;
}

.shot-grid {
  margin-top: 1rem;
  display: flex;
  overflow-x: scroll;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  gap: 0.9rem;
  padding-block: 0.5rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.shot-grid::-webkit-scrollbar {
  display: none;
}

/* Spacers so first and last items can snap to center */
.shot-grid::before,
.shot-grid::after {
  content: '';
  flex: 0 0 calc(50% - clamp(130px, 36vw, 170px));
}

.shot {
  flex: 0 0 auto;
  width: clamp(260px, 72vw, 340px);
  scroll-snap-align: center;
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  overflow: hidden;
}

.shot img {
  width: 100%;
  display: block;
}

.shot figcaption {
  padding: 0.5rem 0.7rem 0.65rem;
  font-size: 0.9rem;
  color: #42524b;
}

.notice {
  background: linear-gradient(180deg, #f2f6f3, #ffffff);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
}

.notice p {
  color: #44564d;
}

.footer {
  margin: 3rem auto 2.2rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.last-updated {
  text-align: center;
  color: var(--muted);
  font-size: 0.78rem;
  margin: 0.6rem auto 1.2rem;
  opacity: 0.6;
}

.policy {
  width: min(860px, 92vw);
  margin: 0 auto;
  padding: 1.2rem 0 2.2rem;
}

.policy .notice {
  margin-top: 1.2rem;
}

.policy .notice p,
.policy .notice li {
  color: #44564d;
}

.policy ul {
  margin: 0;
  padding-left: 1.2rem;
}

.reveal {
  opacity: 0;
  transform: translateY(8px);
  animation: fadeUp 0.45s ease-out forwards;
}

.reveal:nth-child(2) { animation-delay: 0.06s; }
.reveal:nth-child(3) { animation-delay: 0.12s; }
.reveal:nth-child(4) { animation-delay: 0.16s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 641px) {
  .shot-grid {
    /* Break out to full viewport width */
    width: 100vw;
    margin-left: calc(-1 * (100vw - 100%) / 2);
    /* Align left edge with site content area */
    padding-left: max(4vw, calc(50vw - 560px));
    scroll-padding-left: max(4vw, calc(50vw - 560px));
    padding-right: 2rem;
  }

  /* Remove the center-snap spacers used on mobile */
  .shot-grid::before,
  .shot-grid::after {
    display: none;
  }

  .shot {
    scroll-snap-align: start;
  }
}

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

  .hero-shot {
    max-width: 540px;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 0.8rem;
  }

  .top-nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .features .feature-grid {
    grid-template-columns: 1fr;
  }

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