/* Suppli landing — plain CSS, mobile-first. No build step. */

:root {
  --brand: #194C20;
  --brand-hover: #0F3414;
  --ink: #14231A;
  --muted: #5B6B5E;
  --tint: #F0F4ED;
  --surface: #FFFFFF;
  --hairline: #DCE5D8;
  --pro: #8A6A1E;
  --green: #3E9B4F;
  --maxw: 1080px;
  --radius: 16px;
  --shadow: 0 6px 24px rgba(15, 20, 25, 0.08);
  --shadow-sm: 0 2px 8px rgba(15, 20, 25, 0.06);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 5.5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3.6vw, 2.25rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1rem; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-hover); }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--tint); padding: .1em .4em; border-radius: 6px; font-size: .9em; }
sup { font-size: .7em; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 760px; }
.center { text-align: center; }
.section__title { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-weight: 600;
  font-size: 1rem;
  padding: .8rem 1.4rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .08s ease, background .15s ease, box-shadow .15s ease;
  text-align: center;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--brand-hover); color: #fff; }
.btn--ghost { background: #fff; color: var(--brand); border-color: var(--hairline); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn--invert { background: #fff; color: var(--brand); }
.btn--invert:hover { background: var(--tint); color: var(--brand-hover); }
.btn--ghost-invert { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn--ghost-invert:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }
.btn--sm { padding: .55rem 1rem; font-size: .9rem; }
.btn--lg { padding: 1rem 2rem; font-size: 1.1rem; }
.btn--block { display: block; width: 100%; }
.link-cta { font-weight: 600; display: inline-block; margin-top: .5rem; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--hairline);
}
.nav__inner { display: flex; align-items: center; gap: 1rem; height: 60px; }
.nav__brand { font-weight: 700; font-size: 1.2rem; color: var(--ink); display: inline-flex; align-items: center; gap: .5rem; }
.nav__links { display: none; margin-left: auto; gap: 1.6rem; }
.nav__links a { color: var(--muted); font-weight: 600; font-size: .95rem; }
.nav__links a:hover { color: var(--ink); }
.nav .btn { margin-left: auto; }
.nav__links + .btn { margin-left: 0; }

@media (min-width: 860px) {
  .nav__links { display: flex; }
  .nav .btn { margin-left: 0; }
}

/* ---------- Sections rhythm ---------- */
section { padding: 4rem 0; }
.hero { padding-top: 3.5rem; padding-bottom: 2rem; }
.features, .pricing, .steps { background: var(--tint); }

/* ---------- Hero ---------- */
.hero__inner { text-align: center; max-width: 760px; margin: 0 auto; }
.eyebrow { color: var(--brand); font-weight: 600; font-size: .95rem; margin-bottom: .75rem; }
.hero__sub { font-size: 1.2rem; color: var(--muted); max-width: 620px; margin: 0 auto 1.75rem; }
.hero__micro { font-size: .85rem; color: var(--muted); margin-top: .75rem; }
.trustrow { list-style: none; display: flex; flex-wrap: wrap; gap: 1.25rem; justify-content: center; padding: 0; margin: 1.5rem 0 0; }
.trustrow li { color: var(--muted); font-size: .9rem; font-weight: 600; }
.trustrow li::before { content: "✓ "; color: var(--green); }

/* ---------- Chat demo ---------- */
.demo__inner { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 860px) { .demo__inner { grid-template-columns: 380px 1fr; } }
.chat {
  background: var(--tint);
  border: 1px solid var(--hairline);
  border-radius: 22px;
  padding: 1.1rem;
  display: flex; flex-direction: column; gap: .55rem;
  box-shadow: var(--shadow);
  max-width: 420px; margin: 0 auto; width: 100%;
}
.chat__bubble { max-width: 85%; padding: .6rem .85rem; border-radius: 16px; font-size: .95rem; line-height: 1.45; }
.chat__bubble--in { background: #fff; border: 1px solid var(--hairline); align-self: flex-start; border-bottom-left-radius: 5px; }
.chat__bubble--out { background: var(--brand); color: #fff; align-self: flex-end; border-bottom-right-radius: 5px; }
.chat__bubble--tap { opacity: .92; font-weight: 600; }
.chat__btns { display: flex; gap: .4rem; margin-top: .5rem; }
.chat__btn { font-size: .82rem; font-weight: 600; padding: .3rem .6rem; border-radius: 10px; background: var(--tint); border: 1px solid var(--hairline); color: var(--ink); }
.chat__btn--yes { color: var(--brand); border-color: var(--brand); }
.demo__copy { max-width: 460px; }

/* ---------- Grids / cards ---------- */
.grid { display: grid; gap: 1.25rem; }
.grid--2 { grid-template-columns: 1fr; }
@media (min-width: 760px) { .grid--2 { grid-template-columns: 1fr 1fr; } }

.card, .ucard {
  background: #fff; border: 1px solid var(--hairline); border-radius: var(--radius);
  padding: 1.6rem; box-shadow: var(--shadow-sm);
}
.card h3, .ucard h3 { margin-bottom: .4rem; }
.card p, .ucard p { color: var(--muted); margin: 0; }
.ucard { background: var(--tint); border-color: transparent; }

.badge { display: inline-block; font-size: .75rem; font-weight: 700; padding: .2rem .6rem; border-radius: 999px; margin-bottom: .7rem; }
.badge--pro { background: rgba(138,106,30,.14); color: var(--pro); }
.badge--invert { background: rgba(255,255,255,.18); color: #fff; }

/* ---------- Stats ---------- */
.stats__inner { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 860px) { .stats__inner { grid-template-columns: 1fr 380px; } }
.stats__copy { max-width: 460px; }
.statcard { background: #fff; border: 1px solid var(--hairline); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.statcard__title { font-weight: 700; margin-bottom: 1rem; }
.statcard__row { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: .75rem; padding: .5rem 0; border-top: 1px solid var(--hairline); }
.statcard__row span:first-child { font-weight: 600; }
.statcard__row b { color: var(--ink); min-width: 2.4rem; text-align: right; }
.dots { display: inline-flex; gap: 4px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--hairline); display: inline-block; }
.dots i.on { background: var(--green); }
.statcard__foot { color: var(--muted); font-size: .82rem; margin: 1rem 0 0; }

/* ---------- Pricing ---------- */
.pricing__grid { align-items: start; }
.plan { position: relative; background: #fff; border: 1px solid var(--hairline); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow-sm); }
.plan--pro { border-color: var(--brand); box-shadow: var(--shadow); }
.plan__name { font-size: 1.4rem; margin-bottom: .25rem; }
.plan__price { font-size: 1.8rem; font-weight: 700; margin-bottom: 1rem; }
.plan__price span { display: block; font-size: .85rem; font-weight: 600; color: var(--muted); }
.plan__price--pro { font-size: 1rem; font-weight: 600; color: var(--muted); }
.plan__list { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.plan__list li { padding: .4rem 0 .4rem 1.6rem; position: relative; color: var(--ink); }
.plan__list li::before { content: "✓"; color: var(--green); font-weight: 700; position: absolute; left: 0; }
.plan__cap { color: var(--muted); font-size: .92rem; }
.plan__fine { color: var(--muted); font-size: .8rem; margin: .75rem 0 0; }
.ribbon { position: absolute; top: -12px; right: 18px; background: var(--brand); color: #fff; font-size: .78rem; font-weight: 700; padding: .25rem .75rem; border-radius: 999px; box-shadow: var(--shadow-sm); }
.prices { width: 100%; border-collapse: collapse; margin: 0 0 1.25rem; }
.prices td { padding: .55rem 0; border-top: 1px solid var(--hairline); font-weight: 600; }
.prices td:last-child { text-align: right; }
.prices td span { color: var(--muted); font-weight: 600; font-size: .82rem; }
.pricing__note { text-align: center; color: var(--muted); font-size: .85rem; max-width: 640px; margin: 2rem auto 0; }

/* ---------- Nutritionist band ---------- */
.nutri { background: var(--brand); color: #fff; }
.nutri__inner { max-width: 760px; margin: 0 auto; text-align: center; }
.nutri h2 { color: #fff; }
.nutri p { color: rgba(255,255,255,.92); }
.nutri__cta { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin: 1.5rem 0 1rem; }
.nutri__trust { font-size: .85rem; color: rgba(255,255,255,.8); }

/* ---------- Steps ---------- */
.steps__list { list-style: none; padding: 0; max-width: 640px; margin: 0 auto 2.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.steps__list li { display: flex; gap: 1rem; align-items: flex-start; }
.steps__n { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; display: grid; place-items: center; }
.steps__list h3 { margin-bottom: .2rem; }
.steps__list p { color: var(--muted); margin: 0; }

/* ---------- FAQ ---------- */
.faq__item { border-bottom: 1px solid var(--hairline); padding: .25rem 0; }
.faq__item summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; padding: 1rem 2rem 1rem 0; position: relative; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: .2rem; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--brand); font-weight: 400; transition: transform .2s ease; }
.faq__item[open] summary::after { content: "−"; }
.faq__item p { color: var(--muted); padding: 0 0 1rem; margin: 0; }

/* ---------- Trust ---------- */
.trust__inner { text-align: center; }
.trust__inner p { color: var(--muted); }
.trust__links { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-top: 1.5rem; }

/* ---------- Final CTA ---------- */
.finalcta { background: var(--ink); color: #fff; }
.finalcta__inner { text-align: center; max-width: 620px; margin: 0 auto; }
.finalcta h2 { color: #fff; }
.finalcta p { color: rgba(255,255,255,.8); }
.finalcta__micro { font-size: .85rem; margin-top: 1rem; }

/* ---------- Footer ---------- */
.footer { background: var(--tint); padding: 3rem 0 1.5rem; }
.footer__inner { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .footer__inner { grid-template-columns: 2fr 1fr 1fr; } }
.footer__logo { font-weight: 700; font-size: 1.2rem; margin-bottom: .25rem; }
.footer__brand p { color: var(--muted); margin: 0 0 .5rem; }
.footer__bot { font-weight: 600; }
.footer__col h4 { font-size: .9rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin-bottom: .75rem; }
.footer__col a, .footer__note { display: block; color: var(--ink); padding: .25rem 0; font-size: .95rem; }
.footer__col a:hover { color: var(--brand); }
.footer__note { color: var(--muted); font-size: .85rem; }
.footer__legal { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--hairline); }
.footer__legal p { color: var(--muted); font-size: .8rem; margin: 0; }

/* ---------- Reveal animation (progressive enhancement) ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Focus visibility ---------- */
a:focus-visible, .btn:focus-visible, summary:focus-visible {
  outline: 3px solid rgba(62,155,79,.5); outline-offset: 2px; border-radius: 8px;
}

/* ---------- Logo marks ---------- */
.nav__logo { width: 30px; height: 30px; border-radius: 50%; display: block; }
.hero__logo { width: 88px; height: 88px; border-radius: 50%; display: block; margin: 0 auto 1.25rem; box-shadow: var(--shadow); }
.footer__logo-img { width: 22px; height: 22px; border-radius: 50%; vertical-align: middle; margin-right: .4rem; }
