:root {
  --green-900: #14351f;
  --green-800: #1c4a2b;
  --green-700: #256b3a;
  --green-600: #2e8b47;
  --green-500: #3aa655;
  --green-100: #e3f2e7;
  --green-50: #f2f9f4;
  --earth: #f7f5ef;
  --ink: #1d2b22;
  --muted: #5a6b5f;
  --card: #ffffff;
  --radius: 16px;
  --shadow: 0 8px 30px rgba(20, 53, 31, 0.10);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--earth);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--green-700); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Nav */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 245, 239, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(20, 53, 31, 0.08);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; max-width: 1080px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 1.05rem; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 0.95rem; font-weight: 500; }
.nav-links a:hover { color: var(--green-700); }
.nav-cta {
  background: var(--green-600); color: #fff !important; padding: 8px 16px;
  border-radius: 999px; font-weight: 600 !important;
}
.nav-cta:hover { background: var(--green-700); }
@media (max-width: 720px) { .nav-links a:not(.nav-cta) { display: none; } }

/* Hero */
.hero { padding: 64px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
@media (max-width: 800px) { .hero-grid { grid-template-columns: 1fr; } }
.eyebrow {
  display: inline-block; background: var(--green-100); color: var(--green-800);
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px; margin-bottom: 18px;
}
h1 { font-size: clamp(2rem, 5vw, 3.1rem); line-height: 1.12; letter-spacing: -0.02em; color: var(--green-900); }
.hero p.lead { margin: 18px 0 28px; font-size: 1.15rem; color: var(--muted); max-width: 34em; }
.store-badges { display: flex; gap: 12px; flex-wrap: wrap; }
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: #101613; color: #fff; text-decoration: none;
  padding: 10px 18px; border-radius: 12px; min-width: 172px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.badge:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.badge svg { width: 26px; height: 26px; flex-shrink: 0; }
.badge .b-txt { display: flex; flex-direction: column; line-height: 1.15; }
.badge .b-small { font-size: 0.62rem; opacity: 0.85; letter-spacing: 0.02em; }
.badge .b-big { font-size: 1.05rem; font-weight: 600; }
.hero-note { margin-top: 14px; font-size: 0.85rem; color: var(--muted); }

/* Phone mockup (real app screenshot, transparent device frame) */
.phone { width: 300px; margin: 0 auto; }
.phone img { width: 100%; height: auto; filter: drop-shadow(0 20px 40px rgba(20, 53, 31, 0.28)); }
@media (max-width: 800px) { .phone { width: 260px; } }

/* Sections */
section { padding: 64px 0; }
.sec-head { text-align: center; max-width: 620px; margin: 0 auto 44px; }
.sec-head h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); color: var(--green-900); letter-spacing: -0.01em; }
.sec-head p { color: var(--muted); margin-top: 10px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--card); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.step .num {
  width: 40px; height: 40px; border-radius: 12px; background: var(--green-600); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.1rem; margin-bottom: 14px;
}
.step h3 { color: var(--green-900); margin-bottom: 6px; font-size: 1.1rem; }
.step p { color: var(--muted); font-size: 0.95rem; }

.features { background: var(--green-900); color: #eef7f0; border-radius: 28px; padding: 56px 20px; }
.features .sec-head h2 { color: #fff; }
.features .sec-head p { color: #b9d2c1; }
.feat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 900px; margin: 0 auto; }
@media (max-width: 720px) { .feat-grid { grid-template-columns: 1fr; } }
.feat { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.09); border-radius: var(--radius); padding: 22px; }
.feat .ico { font-size: 1.5rem; margin-bottom: 10px; }
.feat h3 { font-size: 1.05rem; margin-bottom: 6px; }
.feat p { font-size: 0.92rem; color: #b9d2c1; }

/* Grass guide */
.grass-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .grass-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grass-grid { grid-template-columns: 1fr; } }
.grass { background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.grass img { width: 100%; height: 170px; object-fit: cover; }
.grass .g-body { padding: 16px 18px 18px; }
.grass h3 { font-size: 1rem; color: var(--green-900); display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tag { font-size: 0.68rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.tag-cool { background: #e0eefb; color: #1d5c96; }
.tag-warm { background: #fdeadc; color: #a35c14; }
.grass p { font-size: 0.88rem; color: var(--muted); margin-top: 6px; }
.guide-cta { text-align: center; margin-top: 34px; color: var(--muted); }

/* Screenshot gallery */
.shots {
  display: flex;
  gap: 22px;
  justify-content: center;
  overflow-x: auto;
  padding: 6px 4px 16px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.shots::-webkit-scrollbar { height: 8px; }
.shots::-webkit-scrollbar-thumb { background: rgba(20, 53, 31, 0.18); border-radius: 8px; }
.shot {
  flex: 0 0 auto;
  width: 190px;
  scroll-snap-align: center;
}
.shot img {
  width: 100%;
  height: auto;
  /* transparent device frames — shadow follows the phone shape, not a box */
  filter: drop-shadow(0 14px 26px rgba(20, 53, 31, 0.22));
}
@media (max-width: 720px) {
  .shots { justify-content: flex-start; gap: 14px; }
  .shot { width: 160px; }
}

/* Tips */
.tips { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 720px) { .tips { grid-template-columns: 1fr; } }
.tip { background: var(--card); border-left: 4px solid var(--green-500); border-radius: 12px; padding: 20px 22px; box-shadow: var(--shadow); }
.tip h3 { font-size: 1.02rem; color: var(--green-900); margin-bottom: 6px; }
.tip p { font-size: 0.93rem; color: var(--muted); }
.tip .app-hook { display: block; margin-top: 10px; font-size: 0.85rem; font-weight: 600; color: var(--green-700); }

/* Guide cards (homepage guides section) */
.guide-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 800px) { .guide-cards { grid-template-columns: 1fr; } }
.guide-card {
  background: var(--card); border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow); text-decoration: none; display: block;
  transition: transform 0.15s ease;
}
.guide-card:hover { transform: translateY(-3px); }
.guide-card .g-ico { font-size: 1.8rem; margin-bottom: 12px; }
.guide-card h3 { color: var(--green-900); font-size: 1.08rem; margin-bottom: 8px; }
.guide-card p { color: var(--muted); font-size: 0.92rem; }
.guide-card .g-more { display: inline-block; margin-top: 12px; font-weight: 600; font-size: 0.9rem; color: var(--green-700); }

/* FAQ */
.faq { max-width: 720px; margin: 0 auto; }
details { background: var(--card); border-radius: 12px; padding: 18px 22px; margin-bottom: 12px; box-shadow: var(--shadow); }
summary { cursor: pointer; font-weight: 650; color: var(--green-900); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.3rem; color: var(--green-600); font-weight: 400; flex-shrink: 0; }
details[open] summary::after { content: "–"; }
details p { margin-top: 10px; color: var(--muted); font-size: 0.95rem; }

/* Final CTA */
.cta-final { text-align: center; background: linear-gradient(150deg, var(--green-700), var(--green-500)); border-radius: 28px; color: #fff; padding: 64px 24px; }
.cta-final h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); letter-spacing: -0.01em; }
.cta-final p { margin: 12px auto 28px; max-width: 34em; color: #dff0e3; }
.cta-final .store-badges { justify-content: center; }

/* Article pages (guides) */
.breadcrumbs { font-size: 0.85rem; color: var(--muted); padding: 20px 0 0; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--green-700); }
.article { max-width: 760px; margin: 0 auto; padding: 28px 0 64px; }
.article h1 { font-size: clamp(1.8rem, 4.5vw, 2.6rem); margin-bottom: 14px; }
.article .byline { color: var(--muted); font-size: 0.9rem; margin-bottom: 28px; }
.article h2 { font-size: 1.5rem; color: var(--green-900); margin: 40px 0 14px; letter-spacing: -0.01em; }
.article h3 { font-size: 1.15rem; color: var(--green-900); margin: 26px 0 10px; }
.article p { margin-bottom: 16px; }
.article ul, .article ol { margin: 0 0 16px 22px; }
.article li { margin-bottom: 8px; }
.article img {
  border-radius: var(--radius); box-shadow: var(--shadow); margin: 20px auto;
  display: block; width: auto; height: auto; max-width: 100%; max-height: 620px;
}
.article table { width: 100%; border-collapse: collapse; margin: 20px 0; background: var(--card); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); font-size: 0.93rem; }
.article th, .article td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--green-50); }
.article th { background: var(--green-100); color: var(--green-900); font-weight: 700; }
.article tr:last-child td { border-bottom: none; }
.table-scroll { overflow-x: auto; }
.toc { background: var(--card); border-radius: 12px; padding: 18px 22px; box-shadow: var(--shadow); margin: 24px 0; font-size: 0.93rem; }
.toc strong { color: var(--green-900); display: block; margin-bottom: 8px; }
.toc a { display: block; padding: 3px 0; text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.cta-inline {
  background: linear-gradient(150deg, var(--green-700), var(--green-500));
  border-radius: var(--radius); color: #fff; padding: 26px 28px; margin: 32px 0;
}
.cta-inline h3 { color: #fff; margin: 0 0 8px; font-size: 1.15rem; }
.cta-inline p { color: #dff0e3; margin-bottom: 16px; font-size: 0.95rem; }
.cta-inline .store-badges { gap: 10px; }
.cta-inline .badge { min-width: 150px; padding: 8px 14px; }
.related { background: var(--card); border-radius: var(--radius); padding: 22px 26px; box-shadow: var(--shadow); margin-top: 40px; }
.related strong { color: var(--green-900); display: block; margin-bottom: 10px; }
.related a { display: block; padding: 4px 0; }
.prob-card { background: var(--card); border-radius: var(--radius); padding: 20px 24px; box-shadow: var(--shadow); margin-bottom: 16px; }
.prob-card h3 { margin: 0 0 8px; }
.prob-card .prob-id { font-size: 0.9rem; }
.prob-card .prob-fix { font-size: 0.9rem; margin-bottom: 0; }
.prob-card .lbl { font-weight: 700; color: var(--green-800); }

/* Footer */
footer { padding: 36px 0 48px; color: var(--muted); font-size: 0.85rem; }
.foot { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.foot .brand { font-size: 0.95rem; }
.foot .brand img { width: 28px; height: 28px; }
.foot-col strong { display: block; color: var(--green-900); margin-bottom: 8px; font-size: 0.9rem; }
.foot-col a { display: block; color: var(--muted); text-decoration: none; padding: 2px 0; }
.foot-col a:hover { color: var(--green-700); }
.foot-legal { width: 100%; border-top: 1px solid rgba(20,53,31,0.08); margin-top: 20px; padding-top: 16px; }

/* Cookie consent banner */
.consent {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 100;
  background: var(--green-900); color: #eef7f0; padding: 16px 20px;
  display: none;
}
.consent.show { display: block; }
.consent-inner { max-width: 1080px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.consent p { font-size: 0.88rem; margin: 0; }
.consent a { color: #b9d2c1; }
.consent-btns { display: flex; gap: 10px; }
.consent-btns button {
  padding: 8px 18px; border-radius: 999px; border: none; cursor: pointer;
  font-size: 0.88rem; font-weight: 600;
}
.consent-accept { background: var(--green-500); color: #fff; }
.consent-decline { background: transparent; color: #eef7f0; border: 1px solid rgba(255,255,255,0.4) !important; }
