/* Landing / home page — storefront-style layout (announcement bar, hero with
   sign-in card, USP strip, category tiles, product showcase, how-it-works,
   footer) in the app's green brand. Original design and copy. */
:root {
  --lp-ink: #16241c; --lp-ink2: #4c5b52; --lp-ink3: #7d8a82;
  --lp-green: #0f8a43; --lp-green-dark: #0b6b34; --lp-deep: #0c2e1d;
  --lp-cream: #f7f5ee; --lp-mint: #e9f5ee; --lp-line: #e3e8e4;
}
* { box-sizing: border-box; }
body.lp { margin: 0; background: #fff; color: var(--lp-ink);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.lp a { color: var(--lp-green); text-decoration: none; }
.lp-wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* header */
.lp-head { position: sticky; top: 0; z-index: 40; background: #fff;
  border-bottom: 1px solid var(--lp-line); }
.lp-head .lp-wrap { display: flex; align-items: center; gap: 26px; height: 66px; }
.lp-logo { font-size: 21px; font-weight: 800; color: var(--lp-green); letter-spacing: -.01em; }
.lp-logo small { display: block; font-size: 10px; font-weight: 700; letter-spacing: .22em;
  color: var(--lp-ink3); text-transform: uppercase; }
.lp-nav { display: flex; gap: 22px; margin-left: 8px; }
.lp-nav a { color: var(--lp-ink2); font-size: 14.5px; font-weight: 600; }
.lp-nav a:hover { color: var(--lp-green); }
.lp-head .sp { flex: 1; }
.lp-signin { background: var(--lp-green); color: #fff; font-weight: 700; font-size: 14.5px;
  border: 0; border-radius: 9px; padding: 11px 22px; cursor: pointer; }
.lp-signin:hover { background: var(--lp-green-dark); }
.lp-ver { align-self: flex-start; margin-top: 8px; font-size: 10px; font-weight: 700;
  letter-spacing: .06em; color: var(--lp-ink3); white-space: nowrap; }

/* sign-in band (no welcome banner — the auth card is the first thing on the page) */
.lp-hero { background: linear-gradient(160deg, var(--lp-mint) 0%, var(--lp-cream) 70%, #fff 100%); }
.lp-hero .lp-wrap { display: flex; justify-content: center; padding: 40px 20px 48px; }

/* auth card */
.lp-auth { background: #fff; border: 1px solid var(--lp-line); border-radius: 16px;
  box-shadow: 0 18px 50px rgba(16, 60, 36, .12); padding: 26px 26px 22px;
  width: 100%; max-width: 460px; }
.lp-auth h2 { margin: 0 0 4px; font-size: 20px; }
.lp-auth .sub { color: var(--lp-ink3); font-size: 13.5px; margin: 0 0 16px; }
.lp-auth label { display: block; font-size: 12px; font-weight: 700; color: var(--lp-ink2);
  margin: 12px 0 4px; text-transform: uppercase; letter-spacing: .05em; }
.lp-auth input, .lp-auth textarea { width: 100%; font: inherit; border: 1.5px solid #ccd6cf;
  border-radius: 9px; padding: 11px 13px; }
.lp-auth input:focus, .lp-auth textarea:focus { outline: 2px solid #bfe6cd; border-color: var(--lp-green); }
.lp-auth .go { width: 100%; margin-top: 18px; background: var(--lp-green); color: #fff;
  font-weight: 800; font-size: 15.5px; border: 0; border-radius: 10px; padding: 13px; cursor: pointer; }
.lp-auth .go:hover { background: var(--lp-green-dark); }
.lp-auth .swap { text-align: center; font-size: 13.5px; margin-top: 14px; color: var(--lp-ink3); }

/* USP strip */
.lp-usps { border-bottom: 1px solid var(--lp-line); background: #fff; }
.lp-usps .lp-wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 26px 20px; }
.lp-usp { display: flex; gap: 12px; align-items: flex-start; }
.lp-usp .ic { font-size: 26px; }
.lp-usp b { display: block; font-size: 14.5px; }
.lp-usp span { font-size: 12.5px; color: var(--lp-ink3); line-height: 1.45; }

/* sections */
.lp-sec { padding: 58px 0 8px; }
.lp-sec-h { text-align: center; margin-bottom: 34px; }
.lp-sec-h h2 { font-size: 30px; font-weight: 800; letter-spacing: -.01em; margin: 0 0 6px; }
.lp-sec-h p { color: var(--lp-ink3); margin: 0; font-size: 15px; }

/* category tiles */
.lp-cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.lp-cat { background: var(--lp-cream); border: 1px solid var(--lp-line); border-radius: 14px;
  text-align: center; padding: 24px 12px 18px; transition: transform .15s, box-shadow .15s; cursor: pointer; }
.lp-cat:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(16,60,36,.10); }
.lp-cat .art { font-size: 40px; }
.lp-cat b { display: block; margin-top: 10px; font-size: 15px; }
.lp-cat span { font-size: 12px; color: var(--lp-ink3); }

/* product cards */
.lp-prods { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.lp-prod { background: #fff; border: 1px solid var(--lp-line); border-radius: 14px; overflow: hidden;
  transition: transform .15s, box-shadow .15s; }
.lp-prod:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(16,60,36,.10); }
.lp-prod .ph { background: var(--lp-mint); text-align: center; font-size: 54px; padding: 26px 0 20px; position: relative; min-height: 120px; overflow: hidden; }
.lp-prod .ph > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lp-prod .ph .cat { z-index: 1; }
.lp-prod .cat { position: absolute; top: 10px; left: 10px; background: #fff; border-radius: 999px;
  font-size: 10.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  color: var(--lp-green-dark); padding: 4px 10px; }
.lp-prod .bd { padding: 14px 16px 16px; }
.lp-prod b { font-size: 15.5px; }
.lp-prod .vars { margin: 8px 0 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.lp-prod .var { border: 1.5px solid var(--lp-line); border-radius: 999px; font-size: 11.5px;
  font-weight: 700; color: var(--lp-ink2); padding: 3px 10px; }
.lp-prod .order { display: block; text-align: center; background: var(--lp-mint); color: var(--lp-green-dark);
  font-weight: 800; font-size: 13px; border-radius: 9px; padding: 9px; }
.lp-prod .order:hover { background: #dcefe3; }

/* how it works */
.lp-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.lp-step { background: #fff; border: 1px solid var(--lp-line); border-radius: 14px; padding: 22px 18px; position: relative; }
.lp-step .n { position: absolute; top: -14px; left: 18px; background: var(--lp-green); color: #fff;
  font-weight: 800; font-size: 13px; border-radius: 999px; padding: 4px 12px; }
.lp-step .ic { font-size: 30px; margin: 6px 0 8px; }
.lp-step b { display: block; font-size: 15px; margin-bottom: 4px; }
.lp-step span { font-size: 13px; color: var(--lp-ink3); line-height: 1.5; }
.lp-steps-band { background: var(--lp-cream); border-top: 1px solid var(--lp-line);
  border-bottom: 1px solid var(--lp-line); padding: 58px 0 46px; }

/* story / contact band */
.lp-story .lp-wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: 44px; padding: 58px 20px; align-items: center; }
.lp-story h2 { font-size: 27px; margin: 0 0 12px; }
.lp-story p { color: var(--lp-ink2); margin: 0 0 12px; }
.lp-contact { background: var(--lp-deep); color: #e7f3ec; border-radius: 16px; padding: 26px; }
.lp-contact h3 { margin: 0 0 12px; font-size: 17px; color: #fff; }
.lp-contact div { font-size: 14px; padding: 4px 0; color: #cfe9d8; }
.lp-contact a { color: #8fe0ae; }

/* footer */
.lp-foot { background: var(--lp-deep); color: #a9c6b4; margin-top: 56px; }
.lp-foot .lp-wrap { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 34px; padding: 44px 20px 30px; }
.lp-foot h4 { color: #fff; font-size: 14px; margin: 0 0 10px; letter-spacing: .05em; text-transform: uppercase; }
.lp-foot a { display: block; color: #a9c6b4; font-size: 14px; padding: 3px 0; }
.lp-foot a:hover { color: #8fe0ae; }
.lp-foot p { font-size: 13.5px; line-height: 1.6; margin: 8px 0 0; }
.lp-copy { border-top: 1px solid #1b4a30; text-align: center; font-size: 12.5px; padding: 14px; color: #7ba48c; }

#toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: #111827;
  color: #fff; padding: 11px 20px; border-radius: 999px; font-size: 14px; z-index: 100; display: none; }
#toast.err { background: #b91c1c; }

@media (max-width: 960px) {
  .lp-hero .lp-wrap { padding: 26px 16px 36px; }
  .lp-usps .lp-wrap { grid-template-columns: repeat(2, 1fr); }
  .lp-steps { grid-template-columns: repeat(2, 1fr); }
  .lp-story .lp-wrap { grid-template-columns: 1fr; }
  .lp-foot .lp-wrap { grid-template-columns: 1fr; gap: 22px; }
  .lp-nav { display: none; }
}
