/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Nunito', system-ui, sans-serif; background: #F6F3EC; color: #26251F; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid #3E9B3F; outline-offset: 3px; }

/* ── Tokens ── */
:root {
  --cream: #F6F3EC;
  --ink:   #26251F;
  --green: #3E9B3F;
  --orange:#F2711C;
  --muted: #8C817A;
  --mint:  #D9EDE0;
  --border:#E5DFD8;
}

/* ── Utility ── */
.max-w-6xl { max-width: 72rem; margin-left: auto; margin-right: auto; }
.max-w-xl  { max-width: 36rem; margin-left: auto; margin-right: auto; }
.max-w-prose { max-width: 44rem; margin-left: auto; margin-right: auto; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.skip-link {
  position: absolute; left: 1rem; top: -3rem; z-index: 200;
  background: var(--green); color: #fff; padding: .5rem 1rem; border-radius: .5rem;
  font-weight: 700; font-size: .875rem;
}
.skip-link:focus { top: 1rem; }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; font-family: inherit; font-weight: 700; cursor: pointer; border: none; transition: background .18s, transform .1s; }
.btn:active { transform: scale(0.98); }
.btn-orange { background: var(--orange); color: #fff; border-radius: 999px; padding: .85rem 2rem; font-size: 1.0625rem; }
.btn-orange:hover { background: #d4600f; }
.btn-green  { background: var(--green);  color: #fff; border-radius: 999px; padding: .85rem 2rem; font-size: 1.0625rem; }
.btn-green:hover  { background: #348535; }
.btn-ghost  { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); border-radius: 999px; padding: .75rem 1.5rem; font-size: .9375rem; font-weight: 600; }
.btn-ghost:hover  { background: var(--ink); color: #fff; }
.btn-sm { padding: .6rem 1.25rem; font-size: .9375rem; }

/* ── Nav ── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(246,243,236,.92); backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 var(--border);
}
#nav.home-nav { background: transparent; box-shadow: none; }
#nav.scrolled { background: rgba(246,243,236,.95); backdrop-filter: blur(8px); box-shadow: 0 1px 0 var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 4rem; gap: 1rem; }
.wordmark { display: inline-flex; align-items: center; gap: .45rem; font-size: 1.375rem; font-weight: 900; color: var(--ink); letter-spacing: -.5px; }
.wordmark img { width: 1.75rem; height: 1.75rem; flex-shrink: 0; }
.wordmark span { color: var(--orange); }
.nav-links { display: flex; gap: 1.75rem; }
.nav-links a { font-size: .9375rem; font-weight: 600; color: var(--ink); }
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--green); }

/* ── Hero ── */
#hero { min-height: 100vh; background: var(--cream); display: flex; align-items: center; padding-top: 4rem; }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; padding: 5rem 1.5rem; }
.hero-sup { font-size: .8125rem; font-weight: 700; color: var(--green); letter-spacing: .05em; margin-bottom: 1.25rem; }
.hero-h1 { font-size: clamp(2.5rem, 5vw, 3.75rem); font-weight: 900; line-height: 1.07; letter-spacing: -.03em; margin-bottom: 1.5rem; }
.hero-h1 span { color: var(--orange); }
.hero-sub { font-size: 1.125rem; color: var(--muted); line-height: 1.65; max-width: 42ch; margin-bottom: 2rem; }
.hero-btns { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.25rem; }
.hero-trust { font-size: .8125rem; color: var(--muted); }

/* ── Inner page hero ── */
.page-hero { padding: 8.5rem 0 3.5rem; background: var(--cream); }
.crumb { font-size: .8125rem; font-weight: 600; color: var(--muted); margin-bottom: 1.25rem; }
.crumb a:hover { color: var(--green); }
.crumb span[aria-current="page"] { color: var(--ink); }
.page-h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; letter-spacing: -.03em; line-height: 1.1; margin-bottom: 1rem; }
.page-lead { font-size: 1.125rem; color: var(--muted); line-height: 1.7; max-width: 54ch; }

/* ── Phone mockup ── */
.phone-wrap { position: relative; display: flex; flex-direction: column; align-items: center; gap: 1.25rem; user-select: none; }
.phone-blob {
  position: absolute; inset: -2.5rem;
  border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
  background: var(--mint); z-index: 0;
  transform: rotate(-5deg);
}
.phone-shell {
  position: relative; z-index: 1;
  background: #1a1a1a; border-radius: 42px; padding: 3px;
  box-shadow: 0 25px 60px rgba(0,0,0,.3);
  width: 240px;
}
.phone-screen {
  background: #F0EDE5; border-radius: 40px; overflow: hidden; height: 480px;
  display: flex; flex-direction: column;
}
.phone-statusbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: .45rem 1.25rem .2rem;
  background: #F0EDE5; flex-shrink: 0;
}
.statusbar-time { font-size: .5rem; font-weight: 700; color: var(--ink); }
.statusbar-notch { width: 2.5rem; height: 1rem; background: #1a1a1a; border-radius: 999px; }
.statusbar-icons { display: flex; gap: .25rem; align-items: center; opacity: .8; }
.signal-bars { display: flex; gap: 1px; align-items: flex-end; }
.signal-bar { width: 2px; background: var(--ink); border-radius: 1px; }
.phone-content { flex: 1; overflow: hidden; position: relative; }
.phone-slide { position: absolute; inset: 0; transition: opacity .35s; }
.phone-slide.hidden-screen { opacity: 0; pointer-events: none; }
.phone-slide.active-screen { opacity: 1; }
.dot-nav { display: flex; gap: .5rem; align-items: center; z-index: 1; }
.dot-btn { background: none; border: none; cursor: pointer; padding: 2px; }
.dot { height: 8px; border-radius: 999px; transition: width .3s, background .3s; }
.dot.active { background: var(--green); width: 24px; }
.dot.inactive { background: var(--border); width: 8px; }
.dot-label { font-size: .6875rem; color: var(--muted); font-weight: 600; text-align: center; z-index: 1; margin-top: -.5rem; }

/* Splash */
.sc-splash {
  width: 100%; height: 100%; background: #3E9B3F;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.25rem;
}
.splash-logo {
  width: 5rem; height: 5rem; border-radius: 50%;
  background: white; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.2); overflow: hidden;
}
.splash-logo img { width: 4.25rem; height: 4.25rem; }
.splash-name { color: #fff; font-size: 1.375rem; font-weight: 900; letter-spacing: -.03em; text-align: center; }
.splash-tag  { color: rgba(255,255,255,.8); font-size: .8125rem; margin-top: .15rem; text-align: center; }

/* Login */
.sc-login {
  width: 100%; height: 100%; background: #F0EDE5;
  display: flex; flex-direction: column; padding: 1.25rem 1rem 1rem; position: relative; overflow: hidden;
}
.login-blob-tr {
  position: absolute; top: 0; right: 0; width: 6rem; height: 6rem;
  border-radius: 50%; background: #D9EDE0; opacity: .6;
  transform: translate(30%,-30%);
}
.login-blob-bl {
  position: absolute; bottom: 0; left: 0; width: 5rem; height: 5rem;
  border-radius: 50%; background: #F2E0D0; opacity: .5;
  transform: translate(-40%,40%);
}
.login-icon {
  width: 4rem; height: 4rem; border-radius: 1rem; background: white;
  border: 1px solid var(--border); display: flex; align-items: center; justify-content: center;
  margin-bottom: .75rem; box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.login-icon img { width: 2.25rem; height: 2.25rem; }
.login-title { font-size: 1.25rem; font-weight: 900; color: var(--ink); }
.login-sub   { font-size: .6875rem; color: var(--muted); margin-top: .15rem; margin-bottom: .75rem; }
.login-checks { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1rem; }
.login-check  { display: flex; align-items: center; gap: .5rem; }
.login-check span { font-size: .625rem; font-weight: 600; color: var(--ink); }
.login-card { background: white; border-radius: 1rem; padding: .75rem; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.login-card-title { font-size: .8125rem; font-weight: 900; color: var(--ink); margin-bottom: .2rem; }
.login-card-sub   { font-size: .5625rem; color: var(--muted); line-height: 1.5; margin-bottom: .75rem; }
.google-btn {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: .5rem;
  background: white; border: 1px solid var(--border); border-radius: .625rem;
  padding: .6rem; font-size: .6875rem; font-weight: 700; color: var(--ink);
  cursor: pointer; box-shadow: 0 1px 4px rgba(0,0,0,.06);
  font-family: 'Nunito', sans-serif;
}
.login-tos { display: flex; align-items: center; gap: .375rem; margin-top: .5rem; }
.tos-box { width: .875rem; height: .875rem; border-radius: .2rem; border: 1px solid var(--border); background: white; flex-shrink: 0; }
.tos-text { font-size: .5rem; color: var(--muted); }
.tos-text a { color: var(--green); font-weight: 600; }

/* Onboard */
.sc-onboard {
  width: 100%; height: 100%; background: #F0EDE5;
  display: flex; flex-direction: column; align-items: center;
  justify-content: space-between; padding: 1rem .75rem;
}
.ob-illus { flex: 1; display: flex; align-items: center; justify-content: center; width: 100%; }
.ob-card {
  background: #F8F4EE; border-radius: 1rem; padding: .75rem;
  border: 1px solid var(--border); text-align: center; width: 100%; max-width: 190px;
}
.ob-shelf { background: #E8B87A; height: .5rem; width: 100%; border-radius: 4px; margin-bottom: .5rem; }
.ob-emojis { display: flex; justify-content: space-around; }
.ob-text { text-align: center; margin-bottom: .75rem; }
.ob-title { font-size: 1.0625rem; font-weight: 900; color: var(--ink); line-height: 1.3; margin-bottom: .2rem; }
.ob-body  { font-size: .625rem; color: var(--muted); line-height: 1.6; padding: 0 .5rem; }
.ob-footer { width: 100%; }
.ob-dots { display: flex; justify-content: center; gap: .35rem; margin-bottom: .5rem; }
.ob-dot { height: 6px; border-radius: 999px; }
.ob-dot.on  { width: 18px; background: var(--green); }
.ob-dot.off { width: 6px;  background: var(--border); }
.ob-next { width: 100%; background: var(--green); color: white; border: none; border-radius: .625rem; padding: .55rem; font-size: .75rem; font-weight: 700; cursor: pointer; font-family: 'Nunito', sans-serif; }
.ob-skip { text-align: center; font-size: .625rem; color: var(--muted); margin-top: .35rem; }
.grocery-bag-area { text-align: center; }
.grocery-bag-emoji { font-size: 3rem; margin-bottom: .5rem; }
.grocery-list { display: flex; flex-direction: column; gap: .35rem; text-align: left; }
.grocery-item { display: flex; align-items: center; gap: .4rem; font-size: .5625rem; color: var(--ink); font-weight: 500; }
.gi-check { width: .6rem; height: .6rem; border-radius: .15rem; border: 1px solid var(--green); background: #EDF7EE; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.meal-grid-wrap { width: 100%; max-width: 190px; background: white; border-radius: 1rem; border: 1px solid var(--border); overflow: hidden; }
.meal-grid-head { display: grid; grid-template-columns: repeat(7,1fr); background: var(--orange); }
.meal-grid-head div { font-size: .4375rem; font-weight: 700; color: white; text-align: center; padding: .25rem 0; }
.meal-grid-row  { display: grid; grid-template-columns: repeat(7,1fr); border-top: 1px solid #F0EDE5; }
.meal-grid-row div { font-size: .875rem; text-align: center; padding: .2rem 0; }

/* ── Sections ── */
section { padding: 6rem 0; }
#problem { background: white; }
.section-head { margin-bottom: 3rem; }
.section-h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 900; color: var(--ink); margin-bottom: .5rem; }
.section-sub { font-size: 1.0625rem; color: var(--muted); max-width: 50ch; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.problem-card { border-radius: 1.25rem; border: 1px solid var(--border); background: var(--cream); padding: 1.75rem; }
.problem-card .emoji { font-size: 2.5rem; display: block; margin-bottom: .75rem; }
.problem-card h3 { font-size: 1.125rem; font-weight: 700; color: var(--ink); margin-bottom: .5rem; }
.problem-card p  { font-size: .9375rem; color: var(--muted); line-height: 1.6; }

#how { background: var(--cream); }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }
.step-num { width: 3rem; height: 3rem; border-radius: .875rem; display: flex; align-items: center; justify-content: center; font-size: 1.125rem; font-weight: 900; color: var(--ink); margin-bottom: 1rem; }
.step h3 { font-size: 1.0625rem; font-weight: 700; color: var(--ink); margin-bottom: .5rem; }
.step p  { font-size: .875rem; color: var(--muted); line-height: 1.65; }

#features { background: white; }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; }
.feat-tile { border-radius: 1.25rem; border: 1px solid var(--border); padding: 2rem; }
.feat-tile .icon { font-size: 2.5rem; display: block; margin-bottom: .75rem; }
.feat-tile h3 { font-size: 1.1875rem; font-weight: 700; color: var(--ink); margin-bottom: .5rem; }
.feat-tile p  { font-size: .9375rem; color: var(--muted); line-height: 1.65; max-width: 42ch; }

#impact { background: var(--ink); }
.impact-inner { text-align: center; }
.impact-eyebrow { font-size: .8125rem; font-weight: 700; color: var(--green); letter-spacing: .05em; margin-bottom: 1rem; }
.impact-h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 900; color: white; margin-bottom: 4rem; }
.impact-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.stat-num { font-size: 3.25rem; font-weight: 900; color: var(--orange); line-height: 1; margin-bottom: .5rem; }
.stat-label { font-size: .9375rem; color: var(--muted); max-width: 24ch; margin: 0 auto; line-height: 1.5; }

#download { background: var(--cream); text-align: center; }
.cta-blob-wrap { position: relative; display: inline-block; margin-bottom: 1.5rem; }
.cta-blob {
  position: absolute; inset: -1.5rem;
  border-radius: 55% 45% 60% 40% / 45% 55% 45% 55%;
  background: var(--mint); z-index: 0; transform: rotate(3deg);
}
.cta-h2 { position: relative; z-index: 1; font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; color: var(--ink); }
.cta-sub { font-size: 1.0625rem; color: var(--muted); line-height: 1.6; max-width: 38ch; margin: 0 auto 2rem; }
.cta-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-bottom: 1.5rem; }
.cta-trust { font-size: .8125rem; color: var(--muted); }

/* ── Inner page content ── */
.content-section { background: #fff; }
.alt-section { background: var(--cream); }
.ink-section { background: var(--ink); color: #fff; }
.step-card { background: #fff; border: 1px solid var(--border); border-radius: 1.25rem; padding: 1.75rem; height: 100%; }
.step-card .step-num { margin-bottom: 1.25rem; }
.deep-step { margin-bottom: 3rem; }
.deep-step h3 { font-size: 1.375rem; font-weight: 800; margin-bottom: .75rem; }
.deep-step p { color: var(--muted); line-height: 1.7; font-size: 1.0625rem; margin-bottom: 1rem; }
.deep-step ul { padding-left: 1.25rem; color: var(--muted); line-height: 1.7; }
.deep-step li { margin-bottom: .4rem; }
.note { background: var(--mint); border-radius: 1rem; padding: 1.25rem 1.5rem; color: var(--ink); font-size: .9375rem; line-height: 1.6; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: .75rem; }
.faq-list details {
  background: #fff; border: 1px solid var(--border); border-radius: 1rem; padding: 1.15rem 1.35rem;
}
.faq-list summary {
  font-weight: 800; font-size: 1.0625rem; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--green); font-size: 1.5rem; font-weight: 700; line-height: 1; }
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { color: var(--muted); line-height: 1.7; margin-top: .85rem; font-size: 1rem; }
.faq-list details a { color: var(--green); font-weight: 700; }

/* Prose / legal */
.prose { color: var(--ink); }
.prose h2 { font-size: 1.5rem; font-weight: 900; margin: 2.5rem 0 .85rem; }
.prose h3 { font-size: 1.125rem; font-weight: 800; margin: 1.75rem 0 .6rem; }
.prose p { color: var(--muted); line-height: 1.75; margin-bottom: 1rem; font-size: 1.03125rem; }
.prose ul, .prose ol { padding-left: 1.35rem; color: var(--muted); line-height: 1.75; margin-bottom: 1rem; }
.prose li { margin-bottom: .35rem; }
.prose a { color: var(--green); font-weight: 700; }
.prose a:hover { text-decoration: underline; }
.updated { font-size: .875rem; color: var(--muted); margin-bottom: 2rem; }

/* Contact / about */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: start; }
.card { background: #fff; border: 1px solid var(--border); border-radius: 1.25rem; padding: 1.75rem; }
.card h3 { font-size: 1.125rem; font-weight: 800; margin-bottom: .5rem; }
.card p, .card li { color: var(--muted); line-height: 1.65; font-size: .9875rem; }
.card ul { padding-left: 1.2rem; }
.contact-line { margin-top: 1rem; }
.contact-line a { color: var(--green); font-weight: 800; }
.form-grid { display: flex; flex-direction: column; gap: 1rem; }
label { font-size: .875rem; font-weight: 700; }
input, textarea, select {
  width: 100%; border: 1px solid var(--border); border-radius: .75rem;
  padding: .8rem 1rem; font: inherit; background: #fff; color: var(--ink);
}
textarea { min-height: 8rem; resize: vertical; }

/* Values / team story */
.value-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.value { background: #fff; border: 1px solid var(--border); border-radius: 1.25rem; padding: 1.75rem; }
.value h3 { font-size: 1.125rem; font-weight: 800; margin: .5rem 0; }
.value p { color: var(--muted); line-height: 1.65; }

/* Footer */
footer { background: var(--ink); padding: 2.5rem 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .8125rem; color: var(--muted); }
.footer-word { display: inline-flex; align-items: center; gap: .4rem; font-size: 1rem; font-weight: 900; }
.footer-word img { width: 1.35rem; height: 1.35rem; flex-shrink: 0; }
.footer-word .w  { color: white; }
.footer-word .o  { color: var(--orange); }
.footer-links { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer-links a:hover { color: white; }

.sticky-cta { display: none; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; padding: 4rem 1.5rem; }
  .hero-inner .phone-wrap { order: -1; }
  .grid-3, .value-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-2, .split { grid-template-columns: 1fr; }
  .impact-stats { grid-template-columns: 1fr; gap: 3rem; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
  .sticky-cta {
    display: block; position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
    padding: 1rem 1.5rem;
    background: rgba(246,243,236,.95); backdrop-filter: blur(8px);
    border-top: 1px solid var(--border);
  }
  .sticky-cta .btn-orange { width: 100%; border-radius: 1rem; }
  body { padding-bottom: 5rem; }
}
@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .hero-h1 { font-size: 2.25rem; }
}
