:root {
  --blue: #4B7541; /* Primary - Changed to green */
  --purple: #7b61ff; /* Secondary */
  --green: #4B7541; /* Waitlist button */
  --bg: #f9fafb; /* Background */
  --text: #111827; /* Text primary */
  --text-2: #6b7280; /* Text secondary */
  --border: #e5e7eb; /* Divider */
  --disabled: #9ca3af; /* Disabled */
  --safe: #18a558;
  --caution: #f0b429;
  --risky: #e24a3b;
}

* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial,
    sans-serif;
  line-height: 1.5;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) {
  .grid3 {
    grid-template-columns: 1fr;
  }
}

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
  height: 64px;
}
.site-header .container {
  height: 100%;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  text-decoration: none;
  color: var(--text);
}
.brand:hover {
  text-decoration: none;
  color: var(--text);
}
.brand.small .brand-name {
  font-size: 14px;
}
.logo {
  font-size: 22px;
}
.logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}
.brand.small .logo-img {
  width: 24px;
  height: 24px;
}
.brand-name {
  font-size: 18px;
  letter-spacing: 0.2px;
}

.nav a {
  color: var(--text);
  text-decoration: none;
  margin-left: 16px;
}
.nav a:hover {
  color: var(--blue);
}
.btn {
  display: inline-block;
  border-radius: 10px;
  padding: 12px 18px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
}
.btn[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.7;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
}
.btn-primary:hover {
  filter: brightness(0.95);
}
.btn-secondary {
  background: #fff;
  color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-secondary:hover {
  background: #f0f6ff;
}
.btn-disabled {
  background: var(--disabled);
  color: #fff;
  cursor: not-allowed;
  opacity: 0.8;
}
.btn-disabled:hover {
  background: var(--disabled);
  opacity: 0.8;
}
.btn-waitlist {
  background: var(--green);
  color: #fff;
}
.btn-waitlist:hover {
  filter: brightness(0.92);
}
.btn-header {
  padding: 8px 14px;
  font-size: 14px;
  color: #fff !important;
}

.hero {
  background: linear-gradient(
    135deg,
    rgba(75, 117, 65, 0.1),
    rgba(75, 117, 65, 0.05)
  );
  padding: 56px 0;
}
.hero-wrap {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-wrap {
    grid-template-columns: 1fr;
  }
}

.hero-copy h1 {
  font-size: 40px;
  line-height: 1.15;
  margin: 0 0 4px;
}
.release-date-hero {
  font-size: 14px;
  color: var(--blue);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 12px;
}
.lead {
  font-size: 20px;
  color: var(--text-2);
}
.subtle {
  color: var(--text-2);
  font-size: 14px;
  margin-top: 8px;
}
.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 16px 0;
}

.pill {
  padding: 2px 8px;
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
}
.pill.safe {
  background: var(--safe);
}
.pill.caution {
  background: var(--caution);
  color: #1f1f1f;
}
.pill.risky {
  background: var(--risky);
}

.hero-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
}
.scan-preview {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(180deg, #f0f5ed, #ffffff);
}
.radar {
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at 50% 50%,
      rgba(75, 117, 65, 0.25) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 50% 50%,
      rgba(75, 117, 65, 0.2) 0%,
      transparent 60%
    );
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.6;
  }
}
.scan-text {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  text-align: center;
  color: var(--text-2);
  font-weight: 600;
}

.how {
  padding: 56px 0;
  scroll-margin-top: 80px;
}
.how h2,
.features h2,
.faq h2,
.why-section h2 {
  font-size: 28px;
  margin: 0 0 16px;
}
.why-section {
  padding: 40px 0;
  background: #f7f9fc;
}
.why-section p {
  margin: 12px 0;
  line-height: 1.7;
}
.step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
}
.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  margin-bottom: 10px;
}

.features {
  padding: 40px 0;
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  scroll-margin-top: 80px;
}
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
  transition: opacity 0.3s ease;
}
.feature-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.icon {
  width: 22px;
  display: inline-block;
}

.faq {
  padding: 40px 0;
  scroll-margin-top: 80px;
}
details {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  margin: 10px 0;
}
summary {
  cursor: pointer;
  font-weight: 600;
}
.muted {
  color: var(--text-2);
}

.disclaimer {
  padding: 24px 0;
  background: linear-gradient(180deg, #fff, #f7f9fc);
  border-top: 1px solid var(--border);
}

.site-footer {
  padding: 20px 0;
  background: #fff;
  border-top: 1px solid var(--border);
  margin-top: 20px;
}
.site-footer .tiny {
  padding-top: 8px;
}
.nav.small a {
  font-size: 14px;
  margin-left: 12px;
}

/* Content page styles */
.content-page {
  padding: 56px 0;
}
.content-page .container.narrow {
  max-width: 800px;
}
.content-page h1 {
  font-size: 36px;
  margin: 0 0 24px;
}
.content-page h2 {
  font-size: 24px;
  margin: 32px 0 12px;
}
.content-page p {
  line-height: 1.7;
  margin: 12px 0;
}
.content-page ul {
  line-height: 1.7;
  margin: 12px 0;
}

/* Footer legal links */
.footer-legal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.legal-links {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}
.legal-links a {
  color: var(--text-2);
  text-decoration: none;
}
.legal-links a:hover {
  color: var(--blue);
}
.legal-links .separator {
  color: var(--text-2);
}

/* Modal styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}
.modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 32px;
  border-radius: 12px;
  max-width: 600px;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  color: var(--text-2);
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}
.modal-close:hover {
  color: var(--text);
}
.modal-content h2 {
  margin: 0 0 16px;
  font-size: 24px;
}
.modal-content p {
  line-height: 1.7;
  margin: 12px 0;
}

/* LaunchList widget customization */
.launchlist-widget {
  margin-top: 20px;
}
#waitlist-modal .modal-content {
  max-width: 500px;
}


/* ... keep existing rules ... */

.hero-copy h1 {
  font-size: 42px;
  line-height: 1.15;
  margin: 0 0 10px;
}
.lead {
  font-size: 20px;
  color: var(--text);
}
.lead.small {
  font-size: 18px;
  color: var(--text-2);
  margin-top: 6px;
}
.tiny {
  font-size: 12px;
}
.btn-outline {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  background: #f7f9ff;
}

/* Pricing section */
.pricing {
  padding: 48px 0;
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  scroll-margin-top: 80px;
}
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 14px;
}
@media (max-width: 900px) {
  .price-grid {
    grid-template-columns: 1fr;
  }
}
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  position: relative;
}
.card h3 {
  margin: 6px 0 4px;
}
.card .price {
  font-size: 28px;
  font-weight: 800;
  margin: 6px 0;
}
.card .per {
  font-size: 14px;
  color: var(--text-2);
  font-weight: 600;
}
.card-blurb {
  font-size: 14px;
  color: var(--text-2);
  margin: 8px 0;
  line-height: 1.5;
}
.card .list {
  list-style: none;
  padding: 0;
  margin: 10px 0 12px;
  display: grid;
  gap: 6px;
}
.card .btn {
  width: 100%;
  text-align: center;
  margin-top: 8px;
}
.card.popular {
  border: 2px solid var(--blue);
  box-shadow: 0 4px 16px rgba(75, 117, 65, 0.12);
}
.card.best-value {
  border: 2px solid var(--blue);
  box-shadow: 0 4px 16px rgba(75, 117, 65, 0.12);
}
.card .badge {
  position: absolute;
  top: -10px;
  right: 12px;
  background: var(--blue);
  color: #fff;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.scan-preview {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(180deg, #eef5ff, #ffffff);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Food image animation */
.scan-foods {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.food-img {
  position: absolute;
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  opacity: 0;
  transform: translateY(100%);
  animation: slideFood 10s infinite;
}
.food-img:nth-child(1) {
  animation-delay: 0s;
}
.food-img:nth-child(2) {
  animation-delay: 2s;
}
.food-img:nth-child(3) {
  animation-delay: 4s;
}
.food-img:nth-child(4) {
  animation-delay: 6s;
}
.food-img:nth-child(5) {
  animation-delay: 8s;
}

@keyframes slideFood {
  0% {
    opacity: 0;
    transform: translateY(100%);
  }
  10% {
    opacity: 1;
    transform: translateY(0);
  }
  30% {
    opacity: 1;
    transform: translateY(0);
  }
  40% {
    opacity: 0;
    transform: translateY(-100%);
  }
  100% {
    opacity: 0;
    transform: translateY(100%);
  }
}

/* Flash effect like camera snap */
.camera-flash {
  position: absolute;
  inset: 0;
  background: white;
  opacity: 0;
  animation: flash 10s infinite;
}
@keyframes flash {
  0%,
  9%,
  100% {
    opacity: 0;
  }
  10% {
    opacity: 0.8;
  }
  12% {
    opacity: 0;
  }
  19%,
  29% {
    opacity: 0;
  }
  30% {
    opacity: 0.8;
  }
  32% {
    opacity: 0;
  }
  39%,
  49% {
    opacity: 0;
  }
  50% {
    opacity: 0.8;
  }
  52% {
    opacity: 0;
  }
  59%,
  69% {
    opacity: 0;
  }
  70% {
    opacity: 0.8;
  }
  72% {
    opacity: 0;
  }
  79%,
  89% {
    opacity: 0;
  }
  90% {
    opacity: 0.8;
  }
  92% {
    opacity: 0;
  }
}

.scan-text {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  text-align: center;
  color: var(--text-2);
  font-weight: 600;
  background: rgba(255, 255, 255, 0.6);
  padding: 4px 0;
  font-size: 14px;
}
