﻿:root {
  --bg: #e8f6e4;
  --bg-deep: #dff3da;
  --paper: rgba(255, 255, 255, 0.78);
  --ink: #1b3a28;
  --green: #1f7a32;
  --green-deep: #145c26;
  --label: #2f6844;
  --muted: #5d7464;
  --line: rgba(27, 90, 46, 0.14);
  --orange: #f26b1a;
  --shadow: 0 18px 40px rgba(40, 90, 50, 0.08);
  --radius: 28px;
  --header: 86px;
  --max: 1160px;
  --font: "Outfit", "Segoe UI", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: clip;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(900px 520px at 92% 8%, rgba(255, 255, 255, 0.72), transparent 62%),
    radial-gradient(680px 420px at 4% 92%, rgba(168, 210, 150, 0.45), transparent 60%),
    linear-gradient(180deg, #f4fbf3 0%, var(--bg) 38%, #e4f4df 100%);
  line-height: 1.5;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

body.nav-open {
  overflow: hidden;
  touch-action: none;
}

body.nav-open::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(20, 40, 28, 0.5);
  z-index: 45;
}

body.nav-open main {
  pointer-events: none;
}

img { max-width: 100%; display: block; }

a { color: var(--green-deep); }

button, input, select, textarea { font: inherit; color: inherit; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--ink);
  color: #fff;
  padding: 8px 12px;
  z-index: 80;
  border-radius: 8px;
}

.skip:focus { top: 12px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.leaf {
  position: absolute;
  width: 54px;
  height: auto;
  pointer-events: none;
  user-select: none;
  opacity: 0.85;
  z-index: 0;
  animation: drift 7s ease-in-out infinite;
}

.leaf.sm { width: 34px; opacity: 0.7; }
.leaf.lg { width: 86px; }
.leaf.blur { filter: blur(1.5px); opacity: 0.55; }
.only-wide { display: none; }

@keyframes drift {
  0%, 100% { transform: translateY(0) rotate(var(--r, -12deg)); }
  50% { transform: translateY(10px) rotate(calc(var(--r, -12deg) + 8deg)); }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(236, 247, 233, 0.78);
  backdrop-filter: blur(16px);
}

body.nav-open .site-header {
  background: rgba(244, 251, 243, 0.98);
  backdrop-filter: blur(16px);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 20px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
}

.logo img { height: 46px; width: auto; }

.nav-toggle {
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.site-nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: rgba(244, 251, 243, 0.98);
  padding: 8px 16px 18px;
  border-bottom: 1px solid var(--line);
  flex-direction: column;
  max-height: min(70vh, calc(100dvh - var(--header)));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  z-index: 60;
}

.site-nav.is-open {
  display: flex;
  box-shadow: 0 18px 40px rgba(20, 40, 28, 0.12);
}

.site-nav a {
  text-decoration: none;
  color: var(--label);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 14px 8px;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.site-nav a:last-child { border-bottom: 0; }

.site-nav a.active { color: var(--green-deep); }

.site-nav a:hover { color: var(--green); }

.site-nav a:focus-visible,
.logo:focus-visible,
.store:focus-visible,
.btn:focus-visible,
.cats a:focus-visible,
.chip:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #1f7a32;
  outline-offset: 3px;
}

main { position: relative; z-index: 1; }

.wrap {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 12px 16px 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 4px;
  overflow: hidden;
  background: #e5f6df url("../assets/hero-bg.jpg") center / cover no-repeat;
}

body[data-page="home"] .hero {
  margin-top: -74px;
  padding-top: 90px;
}

body[data-page="home"] .site-header {
  background: transparent;
  backdrop-filter: none;
}

body[data-page="home"] .site-header.is-stuck,
body[data-page="home"] .site-nav.is-open {
  background: rgba(236, 247, 233, 0.96);
  backdrop-filter: blur(16px);
}

.hero-copy {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-top: 8px;
  min-width: 0;
  max-width: 100%;
}

.cats {
  list-style: none;
  display: flex;
  gap: 14px;
  margin: 0;
  padding: 6px 4px 4px;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.cats::-webkit-scrollbar { display: none; }

.cats li { scroll-snap-align: center; flex: 0 0 auto; }

.cats a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--label);
  font-weight: 600;
  font-size: 0.92rem;
  min-width: 76px;
}

.cats img {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 30%, #ffffff, #e7f5e8 72%);
  box-shadow: 0 10px 22px rgba(50, 110, 60, 0.08);
}

.cats a:hover img { transform: translateY(-3px); }
.cats img { transition: transform 0.2s ease; }

.tagline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 22px 8px 16px;
  color: var(--green);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  text-wrap: balance;
  max-width: 100%;
}

.tagline-rule {
  width: 36px;
  height: 2px;
  background: #7dba78;
  border-radius: 2px;
  flex: 0 0 auto;
}

.stores {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #111;
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  min-height: 48px;
  padding: 7px 14px 7px 12px;
  min-width: min(168px, 100%);
  flex: 1 1 148px;
  max-width: 220px;
  justify-content: center;
}

.store small {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  font-weight: 500;
  opacity: 0.9;
}

.store strong {
  display: block;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.store svg { flex: 0 0 auto; }

.hero-art {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-width: 0;
}

.hero-art img {
  width: min(440px, 100%);
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 8px auto 28px;
}

.band article {
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  padding: 14px 12px 12px;
  box-shadow: var(--shadow);
  min-width: 0;
}

.band strong {
  display: block;
  color: var(--green-deep);
  font-size: clamp(0.95rem, 3.6vw, 1.05rem);
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.band span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.35;
}

.section { padding: 18px 0 10px; }

.section h2, .page-hero h1, .panel h2 {
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 8px;
}

.lede { color: var(--muted); margin: 0 0 18px; max-width: 62ch; }

.panel {
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: clamp(18px, 4vw, var(--radius));
  box-shadow: var(--shadow);
  padding: 18px 16px 20px;
  min-width: 0;
}

.chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 12px;
  scrollbar-width: none;
}

.chips::-webkit-scrollbar { display: none; }

.chip {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--label);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.chip.is-on, .chip[aria-selected="true"] {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.product {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: center;
  background: #fff;
  border-radius: 18px;
  padding: 12px;
  border: 1px solid rgba(31, 122, 50, 0.06);
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.info-card {
  background: #fff;
  border-radius: 22px;
  padding: 16px;
  border: 1px solid rgba(31, 122, 50, 0.06);
}

.info-card img {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  margin-bottom: 8px;
}

.info-card h3 { margin: 0 0 6px; }
.info-card p { margin: 0; color: var(--muted); }

.product img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  background: #f3faf3;
}

.product h3 { margin: 0; font-size: 1rem; font-weight: 700; }
.product p { margin: 2px 0 0; color: var(--muted); font-size: 0.85rem; }

.price {
  font-weight: 700;
  color: var(--green-deep);
  margin-top: 4px;
}

.btn {
  border: 0;
  background: var(--green);
  color: #fff;
  border-radius: 999px;
  min-height: 40px;
  padding: 8px 14px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn.ghost {
  background: #fff;
  color: var(--green-deep);
  border: 1px solid var(--line);
}

.btn:hover { background: var(--green-deep); }
.btn.ghost:hover { background: #f3faf4; }

.steps {
  display: grid;
  gap: 12px;
}

.step {
  background: var(--paper);
  border-radius: 22px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.step em {
  font-style: normal;
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  margin-bottom: 8px;
}

.why {
  display: grid;
  gap: 12px;
}

.why article {
  padding: 16px;
  border-radius: 22px;
  background: #fff;
}

.why h3 { margin: 0 0 6px; }

.form-grid {
  display: grid;
  gap: 10px;
}

input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 14px;
  padding: 12px 14px;
  min-height: 48px;
  font-size: 16px; /* avoid iOS focus zoom */
  max-width: 100%;
}

textarea { min-height: 120px; resize: vertical; }

label { font-weight: 600; font-size: 0.92rem; display: grid; gap: 6px; }

.req {
  color: #dc2626;
  font-weight: 800;
  margin-left: 2px;
}

.note { color: var(--muted); font-size: 0.88rem; }

.app-band {
  display: grid;
  gap: 16px;
  align-items: center;
  background:
    radial-gradient(400px 180px at 90% 20%, rgba(255, 255, 255, 0.7), transparent 60%),
    linear-gradient(135deg, #1f7a32, #146b32);
  color: #fff;
  border-radius: clamp(18px, 4vw, var(--radius));
  padding: 22px 18px;
  min-width: 0;
}

.app-band h2, .app-band p { color: #fff; }
.app-band p { opacity: 0.92; }
.app-band .stores { justify-content: flex-start; }
.app-band .store { background: #0d0d0d; max-width: 220px; }

.split {
  display: grid;
  gap: 16px;
}

.page-hero { padding: 18px 0 8px; }

.page-hero h1 { font-size: clamp(1.8rem, 4vw, 3rem); }

.jobs { display: grid; gap: 12px; }

.job {
  background: #fff;
  border-radius: 20px;
  padding: 16px;
  border: 1px solid rgba(31, 122, 50, 0.06);
}

.job h3 { margin: 0 0 4px; }
.meta { color: var(--green); font-weight: 700; font-size: 0.85rem; margin: 0 0 8px; }

.faq { border-bottom: 1px solid var(--line); }

.faq button {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 14px 4px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  min-height: 48px;
  font-size: 1rem;
  line-height: 1.35;
}

.faq button::after { content: "+"; color: var(--green); font-size: 1.3rem; line-height: 1; }
.faq button[aria-expanded="true"]::after { content: "\2212"; } /* minus when open */

.faq-a { padding: 0 4px 14px; color: var(--muted); margin: 0; }

.site-footer {
  margin-top: 28px;
  padding: 28px 0 18px;
  background: rgba(255, 255, 255, 0.45);
  border-top: 1px solid var(--line);
  position: relative;
  z-index: 1;
}

.footer-grid {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.footer-logo { height: 40px; width: auto; margin-bottom: 8px; }

.site-footer h2 { font-size: 0.95rem; margin: 0 0 8px; }

.site-footer a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--label);
  padding: 8px 0;
  font-weight: 600;
  min-height: 44px;
}

.legal {
  width: min(var(--max), calc(100% - 32px));
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.terms-doc article + article { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(0, 0, 0, 0.06); }
.terms-doc h2 { font-size: 1.05rem; margin: 0 0 8px; }
.terms-doc p { margin: 0; color: var(--label); line-height: 1.55; }
.terms-doc ul { margin: 0; padding-left: 1.2rem; color: var(--label); line-height: 1.55; }
.terms-doc li + li { margin-top: 4px; }
.terms-doc .policy-list {
  margin: 0;
  padding-left: 1.35rem;
  color: var(--label);
  line-height: 1.55;
}
.terms-doc .policy-list li + li { margin-top: 12px; }
.terms-doc a { overflow-wrap: anywhere; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: #fff;
  padding: 12px 16px;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transition: 0.25s ease;
  z-index: 70;
  width: max-content;
  max-width: calc(100% - 32px);
  text-align: center;
}

.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.form-success {
  background: #f3faf4;
  border-radius: 18px;
  padding: 16px;
}

.error {
  color: #9a3412;
  font-size: 0.9rem;
  font-weight: 600;
  margin: 10px 0 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff1f0;
  border: 1px solid rgba(185, 28, 28, 0.18);
}

input.is-invalid,
select.is-invalid,
textarea.is-invalid {
  border-color: #dc2626;
  background: #fff8f7;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

@media (max-width: 359px) {
  .band { grid-template-columns: 1fr; }
  .stores { flex-direction: column; align-items: stretch; }
  .store { max-width: none; }
  .wrap, .footer-grid, .legal { width: min(var(--max), calc(100% - 24px)); }
}

@media (min-width: 720px) {
  .logo img { height: 54px; }
  .band { grid-template-columns: repeat(4, 1fr); }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .steps, .why, .jobs { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.2fr 1fr; }
  .split.two { grid-template-columns: 1.1fr 0.9fr; align-items: start; }
  .form-grid.two { grid-template-columns: 1fr 1fr; }
  .tagline { font-size: 1.35rem; }
  .tagline-rule { width: 54px; }
  .info-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
  .store { flex: 0 0 auto; }
}

@media (min-width: 1040px) {
  .nav-toggle { display: none; }
  .only-wide { display: block; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  body.nav-open { overflow: visible; touch-action: auto; }
  body.nav-open::before { display: none; }
  body.nav-open main { pointer-events: auto; }

  .site-nav {
    display: flex;
    position: static;
    flex-direction: row;
    background: transparent;
    border: 0;
    padding: 0;
    gap: 8px 34px;
    align-items: center;
    max-height: none;
    overflow: visible;
    box-shadow: none;
  }

  .site-nav a {
    border: 0;
    padding: 8px 0;
    font-size: 1rem;
    font-weight: 600;
    white-space: nowrap;
  }

  .site-nav a.active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -6px;
    width: 22px;
    height: 3px;
    border-radius: 3px;
    background: var(--green);
    transform: translateX(-50%);
  }

  body[data-page="home"] .site-header {
    background: transparent;
    backdrop-filter: none;
  }

  body[data-page="home"] .site-header.is-stuck {
    background: rgba(236, 247, 233, 0.92);
    backdrop-filter: blur(16px);
  }

  .header-inner {
    max-width: none;
    justify-content: flex-start;
    padding: 16px 4vw 0;
  }
  .logo img { height: 68px; }
  .site-nav { margin-left: clamp(48px, 8vw, 160px); gap: clamp(20px, 2.2vw, 40px); }

  .hero {
    display: block;
    height: calc(100vh + 86px);
    min-height: 760px;
    margin-top: -86px;
    padding: 0;
    overflow: hidden;
    background-position: center top;
    background-size: cover;
  }

  .hero-copy {
    position: absolute;
    z-index: 2;
    left: 3.5vw;
    top: 22%;
    width: 58%;
    max-width: none;
    padding: 0;
    text-align: center;
  }

  .cats {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.4vw;
    width: 100%;
    overflow: visible;
    padding: 0;
  }

  .cats li { flex: 1 1 0; min-width: 0; }
  .cats a {
    min-width: 0;
    width: 100%;
    font-size: clamp(13px, 0.95vw, 16px);
    gap: 8px;
    font-weight: 600;
  }
  .cats img {
    width: min(100%, 108px);
    height: auto;
    aspect-ratio: 1;
    max-width: 108px;
    margin: 0 auto;
  }

  .tagline {
    margin: 26px 0 16px;
    font-size: clamp(18px, 1.45vw, 26px);
    color: #1e7a34;
  }
  .tagline-rule { width: clamp(40px, 4.2vw, 78px); height: 2px; background: #6aaf62; }

  .hero-art {
    position: absolute;
    z-index: 1;
    right: 0;
    bottom: 0;
    width: 54%;
    pointer-events: none;
    display: block;
  }
  .hero-art img {
    width: 100%;
    max-width: none;
    max-height: none;
    height: auto;
  }
  .product-grid.three { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .why { grid-template-columns: repeat(3, 1fr); }
  .app-band { grid-template-columns: 1.3fr 0.7fr; padding: 32px; }
  .panel { padding: 26px; }
}

@media (min-width: 1280px) {
  .hero-copy { top: 23%; }
  .cats img { max-width: 118px; }
}

/* -- App lifestyle mockups (never stretch; preserve intrinsic ratio) -- */
.mock-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.mock-gallery figure {
  margin: 0;
  text-align: center;
}

.mock-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 280px;
  padding: 14px;
  border-radius: 24px;
  background:
    radial-gradient(420px 220px at 70% 20%, rgba(255, 255, 255, 0.75), transparent 60%),
    linear-gradient(160deg, #eaf7e6, #d8efd2);
  border: 1px solid rgba(31, 122, 50, 0.08);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.mock-frame img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  object-position: center;
}

.mock-gallery figcaption {
  margin-top: 12px;
  font-weight: 700;
  color: var(--label);
}

.brand-moment {
  display: grid;
  gap: 22px;
  align-items: center;
  padding: 8px 0 4px;
}

.brand-moment-copy h2 {
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  letter-spacing: -0.03em;
}

.brand-moment-copy p {
  margin: 0 0 16px;
  color: var(--muted);
  max-width: 40ch;
}

.brand-moment-art {
  min-height: 0;
  max-width: 420px;
  margin: 0 auto;
}

.brand-moment-art img {
  max-height: 480px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (min-width: 720px) {
  .mock-gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    align-items: stretch;
  }

  .mock-frame {
    min-height: 360px;
    height: 100%;
  }

  .mock-frame img {
    max-height: 380px;
  }

  .brand-moment {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 36px;
  }

  .brand-moment-art {
    margin: 0;
    max-width: none;
  }
}

@media (min-width: 1040px) {
  .mock-frame {
    min-height: 420px;
    padding: 18px;
  }

  .mock-frame img {
    max-height: 440px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
