/* ─── Belly-Well Marketing Site — site.css ─────────────────────────────────
   Used by: index.html, support.html
   Fonts: Fraunces (display) + DM Sans (body) via Google Fonts
   ──────────────────────────────────────────────────────────────────────────── */

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

:root {
  --green:        #2d6a4f;
  --green-dark:   #1f4d39;
  --green-mid:    #52976e;
  --green-light:  #eaf3de;
  --green-pale:   #f2f9ec;
  --yellow:       #f5c842;
  --yellow-light: #fffbe8;
  --purple:       #7c5cbf;
  --purple-light: #f0ecfb;
  --text:         #1a1a1a;
  --text-muted:   #5c6b5e;
  --bg:           #f9f8f4;
  --white:        #ffffff;
  --border:       #dde8d5;
  --radius-sm:    8px;
  --radius:       16px;
  --radius-lg:    24px;
  --shadow-sm:    0 2px 8px rgba(45,106,79,0.08);
  --shadow:       0 8px 32px rgba(45,106,79,0.12);
  --shadow-lg:    0 20px 60px rgba(45,106,79,0.16);
  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'DM Sans', system-ui, -apple-system, sans-serif;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: var(--font-body); cursor: pointer; border: none; }

/* ─── Utilities ──────────────────────────────────────────────────────────── */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ─── Nav ─────────────────────────────────────────────────────────────────── */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(249,248,244,0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(221,232,213,0.6);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-logo-icon {
  width: 36px;
  height: 36px;
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid #dde8d5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(45,106,79,0.10);
}

.nav-logo-icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 9px;
  display: block;
}

.nav-wordmark {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: -0.3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: background 0.15s, color 0.15s;
}

.nav-links a:hover, .nav-links a.active {
  background: var(--green-light);
  color: var(--green);
}

.nav-cta {
  background: var(--green);
  color: var(--white) !important;
  padding: 10px 20px !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  transition: background 0.15s, transform 0.1s !important;
}

.nav-cta:hover {
  background: var(--green-dark) !important;
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  color: var(--text);
  cursor: pointer;
}

.hamburger-icon {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 22px;
}

.hamburger-icon span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.hamburger.open .hamburger-icon span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open .hamburger-icon span:nth-child(2) { opacity: 0; }
.hamburger.open .hamburger-icon span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ─── Buttons ─────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  padding: 14px 28px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: background 0.15s, transform 0.12s, box-shadow 0.15s;
  text-decoration: none;
  white-space: nowrap;
}

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

.btn-primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(45,106,79,0.28);
}

.btn-primary:hover {
  background: var(--green-dark);
  box-shadow: 0 8px 24px rgba(45,106,79,0.36);
}

.btn-ghost {
  background: transparent;
  color: var(--green);
  border: 2px solid var(--green);
}

.btn-ghost:hover { background: var(--green-light); }

.btn-sm {
  font-size: 14px;
  padding: 10px 20px;
}

/* ─── Section wrapper ─────────────────────────────────────────────────────── */

.section {
  position: relative;
  padding: 96px 32px;
  overflow: hidden;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #3b6d11;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--text);
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 540px;
  line-height: 1.6;
}

/* ─── Hero ────────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  overflow: hidden;
  padding: 24px 32px 48px;
  background: var(--bg);
}

/* Ghost background circles via pseudo-elements (no layout impact) */
.hero::before {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  top: -40px; right: 8%;
  border-radius: 50%;
  background: #2d6a4f;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  width: 180px; height: 180px;
  bottom: 5%; right: 20%;
  border-radius: 50%;
  background: #2d6a4f;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  position: relative;
  z-index: 1;
}

.hero-content { position: relative; z-index: 2; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #eaf3de;
  color: #27500a;
  border: 0.5px solid #97c459;
  font-size: 12px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--text);
  margin-bottom: 24px;
}

.hero-title .accent { color: var(--green); }

.hero-sub {
  font-size: 19px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 460px;
  margin-bottom: 36px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}

.trust-icon {
  width: 18px;
  height: 18px;
  background: var(--green-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  flex-shrink: 0;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.hero-cat-wrap {
  position: relative;
  width: 100%;
  max-width: 420px;
}

.hero-cat-blob {
  display: none;
}

.hero-cat-img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  animation: catFloat 6s ease-in-out infinite;
}

@keyframes catFloat {
  0%,100% { transform: translateY(0px); }
  50%     { transform: translateY(-12px); }
}

/* ─── Floating background shapes ─────────────────────────────────────────── */

.floaters {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.floater {
  position: absolute;
  opacity: 0.10;
  animation: floatDrift linear infinite;
}

@keyframes floatDrift {
  0%   { transform: translateY(0)   rotate(0deg); }
  50%  { transform: translateY(-30px) rotate(180deg); }
  100% { transform: translateY(0)   rotate(360deg); }
}

/* ─── CSS oval germs (new style) ─────────────────────────────────────────── */
.germ {
  position: absolute;
  border-radius: 40px;
  opacity: 0.16;
  pointer-events: none;
  animation: floatDrift linear infinite;
}

/* ─── Large ghost background circles ─────────────────────────────────────── */
.bg-circle {
  position: absolute;
  border-radius: 50%;
  background: #2d6a4f;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
}

/* bacteria shape */
.f-bacteria {
  width: 28px;
  height: 42px;
  background: var(--green);
  border-radius: 50%;
}

/* leaf shape */
.f-leaf {
  width: 22px;
  height: 38px;
  background: var(--green);
  border-radius: 50% 0 50% 0;
}

/* pickle shape */
.f-pickle {
  width: 16px;
  height: 44px;
  background: var(--green);
  border-radius: 50px;
}

/* dot */
.f-dot {
  width: 10px;
  height: 10px;
  background: var(--green);
  border-radius: 50%;
}

/* ─── Social proof bar ───────────────────────────────────────────────────── */

.proof-bar {
  position: relative;
  overflow: hidden;
  background: var(--green-light);
  padding: 24px 32px;
}

.proof-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.proof-statement {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  opacity: 0.9;
  max-width: 300px;
  line-height: 1.4;
}

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

.proof-pill {
  position: relative;
  background: rgba(45,106,79,0.08);
  border: 1px solid var(--border);
  color: var(--green);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 50px;
}
.proof-divider { display: none; }
.proof-pill:not(:last-of-type)::after {
  content: '';
  position: absolute;
  right: -21px;
  top: 50%;
  transform: translateY(-50%);
  width: 0.5px;
  height: 20px;
  background: #97c459;
  opacity: 0.5;
}

/* ─── Features ───────────────────────────────────────────────────────────── */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.feature-card {
  background: var(--green-light);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.feature-icon {
  font-size: 36px;
  margin-bottom: 20px;
  display: block;
}

.feature-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.feature-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─── How it works ───────────────────────────────────────────────────────── */

.hiw-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 56px;
  position: relative;
}

.hiw-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(100% / 6);
  right: calc(100% / 6);
  height: 2px;
  background: linear-gradient(90deg, var(--yellow), var(--green), var(--purple));
  opacity: 0.3;
}

.hiw-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 24px;
  position: relative;
}

.hiw-dot {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.hiw-dot.morning  { background: var(--yellow-light); }
.hiw-dot.meals    { background: var(--green-light); }
.hiw-dot.evening  { background: var(--purple-light); }

.hiw-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 10px;
}

.hiw-tag.morning  { background: var(--yellow-light); color: #8a6a00; }
.hiw-tag.meals    { background: var(--green-light);  color: var(--green); }
.hiw-tag.evening  { background: var(--purple-light); color: var(--purple); }

.hiw-title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.hiw-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─── Mascot moment ──────────────────────────────────────────────────────── */

.mascot-band {
  background: var(--green-light);
  padding: 80px 32px;
}

.mascot-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
}

.mascot-img-wrap {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.mascot-img {
  width: 100%;
  max-width: 340px;
  animation: catFloat 7s ease-in-out infinite;
}

.mascot-content {}

.mascot-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin-bottom: 28px;
}

.mascot-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}

.mascot-checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: var(--text);
  font-weight: 500;
}

.check-icon {
  width: 26px;
  height: 26px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 12px;
  flex-shrink: 0;
}

/* ─── Paywall teaser ─────────────────────────────────────────────────────── */

.paywall-section { background: var(--white); }

.paywall-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 640px;
  margin: 48px auto 0;
}

.plan-card {
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
  position: relative;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.plan-card.featured {
  border-color: var(--green);
  background: var(--white);
  box-shadow: var(--shadow);
}

.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: white;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
  white-space: nowrap;
}

.plan-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
}

.plan-price {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 4px;
}

.plan-price sup { font-size: 22px; vertical-align: top; margin-top: 8px; }

.plan-period {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.plan-equiv {
  font-size: 12px;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 20px;
}

.paywall-cta {
  text-align: center;
  margin-top: 28px;
}

.paywall-cta .btn { width: 100%; max-width: 300px; }

.restore-link {
  display: block;
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.restore-link:hover { color: var(--green); }

.trial-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 8px;
}

/* ─── FAQ ─────────────────────────────────────────────────────────────────── */

.faq-list {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 760px;
}

details.faq-item {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

details.faq-item[open] { border-color: var(--green-mid); box-shadow: var(--shadow-sm); }

details.faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  user-select: none;
  color: var(--text);
}

details.faq-item summary::-webkit-details-marker { display: none; }

.faq-toggle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 300;
  flex-shrink: 0;
  transition: background 0.15s, transform 0.2s;
  line-height: 1;
}

details.faq-item[open] .faq-toggle {
  background: var(--green);
  color: white;
  transform: rotate(45deg);
}

.faq-body {
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.faq-body p { margin-bottom: 10px; }
.faq-body p:last-child { margin-bottom: 0; }
.faq-body a { color: var(--green); text-decoration: underline; text-underline-offset: 2px; }

.faq-more {
  margin-top: 28px;
}

/* ─── Support page hero ──────────────────────────────────────────────────── */

.support-hero {
  padding: 64px 32px 48px;
  text-align: center;
  background: var(--bg);
}

.support-cat {
  width: 140px;
  height: auto;
  margin: 0 auto 24px;
  animation: catFloat 6s ease-in-out infinite;
}

.support-hero-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  color: var(--text);
  letter-spacing: -1px;
  margin-bottom: 14px;
}

.support-hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ─── FAQ categories (support page) ─────────────────────────────────────── */

.faq-section {
  padding: 0 32px 96px;
}

.faq-section-inner {
  max-width: 800px;
  margin: 0 auto;
}

.faq-category {
  margin-bottom: 48px;
}

.faq-category-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--green-mid);
  padding: 0 4px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.faq-category-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ─── Contact card ───────────────────────────────────────────────────────── */

.contact-section {
  padding: 0 32px 80px;
}

.contact-section-inner {
  max-width: 800px;
  margin: 0 auto;
}

.contact-card {
  background: var(--green-light);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  display: flex;
  align-items: center;
  gap: 36px;
}

.contact-cat {
  width: 100px;
  flex-shrink: 0;
}

.contact-card-content h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.contact-card-content p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.contact-email {
  font-weight: 700;
  color: var(--green);
  font-size: 17px;
}

.contact-email:hover { text-decoration: underline; text-underline-offset: 3px; }

.response-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 8px !important;
}

/* ─── Quick links row ────────────────────────────────────────────────────── */

.quick-links-section {
  padding: 0 32px 80px;
}

.quick-links-inner {
  max-width: 800px;
  margin: 0 auto;
}

.quick-links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.quick-pill {
  background: var(--white);
  border: 1.5px solid var(--border);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 50px;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.quick-pill:hover {
  border-color: var(--green);
  color: var(--green);
  background: var(--green-pale);
}

/* ─── Footer ──────────────────────────────────────────────────────────────── */

.site-footer {
  background: #1a2e24;
  padding: 56px 32px 32px;
  color: rgba(255,255,255,0.75);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.footer-brand {}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-logo-icon {
  width: 34px;
  height: 34px;
  background: var(--green);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.footer-logo-icon img { width: 30px; height: 30px; object-fit: contain; }

.footer-wordmark {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: white;
}

.footer-tagline {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  max-width: 200px;
  line-height: 1.5;
}

.footer-links-group {}

.footer-links-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  transition: color 0.15s;
}

.footer-links a:hover { color: white; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

.footer-love {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* ─── Responsive ─────────────────────────────────────────────────────────── */

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 56px 24px 48px; }
  .hero-visual { order: -1; }
  .hero-cat-img { max-width: 280px; }
  .hero-sub { max-width: 100%; }

  .features-grid { grid-template-columns: 1fr; gap: 16px; }

  .hiw-steps { grid-template-columns: 1fr; gap: 40px; }
  .hiw-steps::before { display: none; }

  .mascot-inner { grid-template-columns: 1fr; gap: 40px; }
  .mascot-img-wrap { order: -1; }
  .mascot-img { max-width: 260px; }

  .paywall-cards { grid-template-columns: 1fr; max-width: 340px; }

  .contact-card { flex-direction: column; text-align: center; padding: 36px 28px; gap: 20px; }

  .footer-top { flex-direction: column; gap: 32px; }
}

@media (max-width: 680px) {
  .nav-inner { padding: 0 20px; }
  .nav-links { display: none; flex-direction: column; align-items: flex-start; gap: 4px; width: 100%; padding: 12px 0 16px; }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; width: 100%; padding: 10px 14px; }
  .nav-cta { display: inline-flex !important; width: auto !important; margin: 4px 14px; }
  .hamburger { display: flex; }
  .site-nav { flex-wrap: wrap; height: auto; }
  .nav-inner { flex-wrap: wrap; height: auto; padding: 12px 20px; }

  .section { padding: 64px 20px; }
  .hero { padding: 40px 20px 48px; }

  .proof-inner { flex-direction: column; align-items: flex-start; }
  .proof-statement { max-width: 100%; }

  .section-title { font-size: 28px; }
  .hero-title { font-size: 42px; letter-spacing: -1px; }

  .faq-section { padding: 0 20px 64px; }
  .contact-section { padding: 0 20px 64px; }
  .quick-links-section { padding: 0 20px 64px; }
  .mascot-band { padding: 56px 20px; }

  .site-footer { padding: 48px 20px 28px; }
}

/* ─── App Store / Google Play badge buttons ──────────────────────────────── */

.badge-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #000;
  color: #fff;
  border-radius: 12px;
  padding: 10px 18px;
  text-decoration: none;
  min-width: 155px;
  transition: opacity 0.15s, transform 0.12s;
  border: 2px solid transparent;
}

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

.badge-btn.badge-light {
  background: transparent;
  border-color: rgba(255,255,255,0.5);
}

.badge-btn.badge-light:hover { border-color: white; opacity: 1; }

.badge-icon { width: 26px; height: 26px; flex-shrink: 0; fill: white; }

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

.badge-small {
  font-size: 10px;
  opacity: 0.72;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.badge-label {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.2px;
}

/* ─── Problem statement section ──────────────────────────────────────────── */

.problem-section { position: relative; overflow: hidden; padding: 96px 32px; background: var(--white); }

.problem-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 55% 45%;
  align-items: center;
  gap: 64px;
}

.problem-cat {
  max-width: 340px;
  margin: 0 auto;
  animation: catFloat 7s ease-in-out infinite;
}

.problem-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: var(--text);
  margin-bottom: 20px;
}

.problem-body {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 500px;
}

/* ─── App screenshots section — CSS phone frames ─────────────────────────── */

.screenshots-section { padding: 96px 32px; overflow: hidden; }

.screenshots-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.screenshots-track {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-top: 56px;
  overflow-x: auto;
  padding: 20px 0 32px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.phone-mockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  scroll-snap-align: center;
}

.phone-frame {
  width: 220px;
  height: 420px;
  border-radius: 36px;
  border: 5px solid #1a1a1a;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.08) inset,
    0 32px 80px rgba(0,0,0,0.22),
    0 8px 24px rgba(0,0,0,0.12);
  background: var(--bg);
  display: flex;
  flex-direction: column;
}

.phone-status {
  height: 38px;
  background: #1a1a1a;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-bottom: 4px;
  flex-shrink: 0;
}

.phone-pill {
  width: 80px;
  height: 20px;
  background: #000;
  border-radius: 0 0 12px 12px;
}

.phone-screen {
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-caption {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

/* Screen interiors */
.screen-today {
  background: var(--bg);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.screen-journal {
  background: var(--white);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.screen-progress {
  background: var(--bg);
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.mock-header { height: 14px; background: var(--green-light); border-radius: 4px; }

.mock-streak {
  background: var(--green);
  border-radius: 10px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.mock-streak-num {
  color: white;
  font-size: 16px;
  font-weight: 900;
  font-family: var(--font-display);
}

.mock-streak-lbl {
  color: rgba(255,255,255,0.8);
  font-size: 9px;
  font-weight: 600;
  line-height: 1.2;
}

.mock-pill-row { display: flex; gap: 5px; }

.mock-pill { height: 26px; border-radius: 13px; flex: 1; }
.mock-pill.g { background: var(--green-light); }
.mock-pill.y { background: var(--yellow-light); }
.mock-pill.p { background: var(--purple-light); }

.mock-entry {
  background: var(--bg);
  border-radius: 8px;
  padding: 7px 9px;
}

.mock-entry-title {
  height: 10px;
  background: #dde8d5;
  border-radius: 3px;
  margin-bottom: 4px;
}

.mock-entry-sub {
  height: 8px;
  background: #eaf3de;
  border-radius: 3px;
  width: 70%;
}

.mock-entry.meal { border-left: 3px solid var(--green); }
.mock-entry.sx   { border-left: 3px solid #f59e0b; }

.mock-score-ring {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 8px solid var(--green-light);
  border-top-color: var(--green);
  border-right-color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 8px auto 4px;
}

.mock-score-num {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  color: var(--green);
}

.mock-bars {
  width: 100%;
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 44px;
  padding: 0 4px;
}

.mock-bar { flex: 1; background: var(--green-light); border-radius: 3px 3px 0 0; }
.mock-bar.hi { height: 100%; background: var(--green); }
.mock-bar.md { height: 65%; background: var(--green-mid); opacity: 0.6; }
.mock-bar.lo { height: 40%; }

/* ─── Testimonials ───────────────────────────────────────────────────────── */

.testimonials-section { padding: 96px 32px; background: var(--white); }

.testimonials-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.testimonial-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1.5px solid var(--border);
  transition: box-shadow 0.2s, transform 0.2s;
}

.testimonial-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 16px;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.testimonial-quote {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  font-style: italic;
  margin-bottom: 16px;
}

.testimonial-author {
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
}

/* ─── Final CTA band ─────────────────────────────────────────────────────── */

.cta-band { background: #2d6a4f; padding: 80px 32px; }

.cta-band-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 64px;
}

.cta-band-cat {
  max-width: 260px;
  animation: catFloat 6s ease-in-out infinite;
}

.cta-band-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 900;
  color: white;
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
}

.cta-band-sub {
  font-size: 20px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 32px;
  font-family: var(--font-display);
  font-style: italic;
}

.cta-trust {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-top: 20px;
}

/* ─── Legal page layout ──────────────────────────────────────────────────── */

.legal-main { max-width: 900px; margin: 0 auto; padding: 48px 24px 80px; }

.breadcrumb { font-size: 13px; color: var(--text-muted); margin-bottom: 24px; }
.breadcrumb a { color: var(--green); }
.breadcrumb .sep { margin: 0 6px; opacity: 0.5; }

.page-header {
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1.5px solid var(--border);
}

.page-header .eyebrow {
  font-size: 12px;
  font-weight: 700;
  color: var(--green-mid);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.page-header .subtitle { color: var(--text-muted); font-size: 17px; line-height: 1.6; }
.page-header .last-updated { font-size: 13px; color: var(--text-muted); margin-top: 8px; }

.content-section { margin-bottom: 40px; }

.content-section h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--green-light);
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.2px;
}

.s-num {
  background: var(--green-light);
  color: var(--green);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.content-section p {
  color: var(--text-muted);
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 1.7;
}

.content-section p:last-child { margin-bottom: 0; }

.content-section ul,
.content-section ol {
  padding-left: 22px;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
}

.content-section li { margin-bottom: 8px; }
.content-section a { color: var(--green); text-decoration: underline; text-underline-offset: 2px; }

.callout {
  background: var(--green-light);
  border-left: 4px solid var(--green);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: 15px;
  color: var(--text);
  margin: 20px 0;
  line-height: 1.6;
}

.callout.warn {
  background: #fff8ec;
  border-left-color: #e09b2d;
}

.callout strong { color: var(--green); }
.callout.warn strong { color: #b07820; }

/* Form styles for delete.html */
.form-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  max-width: 560px;
}

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 6px;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.15s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--green); }

.form-group textarea { resize: vertical; min-height: 100px; }
.form-note { font-size: 13px; color: var(--text-muted); margin-top: 6px; }

/* hint alias (delete.html uses .hint) */
.hint { font-size: 13px; color: var(--text-muted); margin-top: 6px; }

/* ─── Responsive additions ───────────────────────────────────────────────── */

@media (max-width: 900px) {
  .problem-inner { grid-template-columns: 1fr; gap: 40px; }
  .screenshots-track { justify-content: flex-start; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .cta-band-inner { grid-template-columns: 1fr; text-align: center; }
  .cta-band-cat { max-width: 180px; margin: 0 auto; }
  .cta-band .hero-ctas { justify-content: center; }
}

@media (max-width: 680px) {
  .problem-section { padding: 64px 20px; }
  .screenshots-section { padding: 64px 0 64px; }
  .screenshots-inner { padding: 0 20px; }
  .screenshots-track { padding: 20px 20px 32px; }
  .testimonials-section { padding: 64px 20px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 56px 20px; }
  .legal-main { padding: 32px 20px 64px; }
}
