/* Home page: the Android apps page's colours, buttons and hover motion, applied to the five tools and four apps.
   Loads after assets/styles.9f80e6f5b885.css and apps-refinements.css (which brings .ga-btn, .ga-jump, .ga-grad,
   .ga-eyebrow, .ga-bubble and the gaSway keyframes). Plain CSS on purpose: the Tailwind build is static. */

/* ---------- one colour per tool ---------- */
.gh-t-planner { --tone: var(--gv-sprout, #4f9d43); }
.gh-t-analyzer { --tone: var(--gv-skyblue, #3f8fca); }
.gh-t-calendar { --tone: var(--gv-sunflower, #d99a06); }
.gh-t-seeds { --tone: var(--gv-carrot, #dd6f1c); }
.gh-t-identify { --tone: var(--gv-echinacea, #b8438a); }
.gh-t-apps { --tone: var(--gv-plum, #6f5cc0); }
/* the apps keep the colours they have on the apps page */
.gv-app-grid > .gv-app-card.ga-t-plantid { --tone: var(--gv-sprout, #4f9d43); }
.gv-app-grid > .gv-app-card.ga-t-aerosense { --tone: var(--gv-skyblue, #3f8fca); }
.gv-app-grid > .gv-app-card.ga-t-fieldmobile { --tone: var(--gv-sunflower, #d99a06); }
.gv-app-grid > .gv-app-card.ga-t-foodlens { --tone: var(--gv-carrot, #dd6f1c); }

/* ---------- hero: title on top, then weather | photo | quick launch ---------- */
.gh-hero-head {
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  max-width: 62rem; margin: 0 auto clamp(28px, 4vw, 52px); text-align: center;
}
.gh-hero-head .ga-eyebrow { margin-bottom: 0; }
.gh-hero-head p { max-width: 44rem; margin: 0; }
.gh-hero-grid {
  display: grid; align-items: center; gap: clamp(24px, 3vw, 56px);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) minmax(0, 1fr);
  grid-template-areas: "weather photo menu";
}
.gh-hero-weather { grid-area: weather; min-width: 0; }
.gh-hero-photo { grid-area: photo; position: relative; width: 100%; }
.gh-launch { grid-area: menu; min-width: 0; }

/* both side panels share one window style */
.gh-hero-weather #garden-weather, .gh-launch {
  max-width: none; border: 1px solid rgba(255, 255, 255, .7); border-radius: 26px;
  background: radial-gradient(circle at 92% 6%, rgba(244, 211, 94, .16), transparent 16rem),
              linear-gradient(145deg, rgba(246, 250, 242, .9), rgba(226, 234, 219, .8));
  box-shadow: 14px 15px 32px rgba(169, 181, 160, .38), -12px -12px 28px rgba(255, 255, 255, .78);
}
.gh-hero-weather #garden-weather { padding: 22px; }

.gh-launch { display: flex; flex-direction: column; gap: 10px; padding: 20px; }
.gh-launch-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 2px 4px 6px; }
.gh-launch-title {
  font: 700 .72rem/1.2 Montserrat, Inter, system-ui, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #5a6b5d;
}
.gh-launch-status {
  display: inline-flex; align-items: center; gap: 7px; font: 700 .72rem/1.2 Montserrat, Inter, system-ui, sans-serif; color: #3d7a4f;
}
.gh-launch-status::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: #4f9d43; box-shadow: 0 0 0 4px rgba(79, 157, 67, .18);
}
.gh-launch-item {
  position: relative; display: flex; align-items: center; gap: 14px; padding: 11px 14px 11px 12px; overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--tone) 20%, rgba(255, 255, 255, .7)); border-radius: 16px;
  background: linear-gradient(100deg, color-mix(in srgb, var(--tone) 9%, rgba(255, 255, 255, .7)), rgba(255, 255, 255, .5));
  box-shadow: 5px 6px 14px rgba(143, 161, 136, .2), -4px -4px 10px rgba(255, 255, 255, .7);
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background-color .25s ease;
}
.gh-launch-item::before {
  content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 4px; border-radius: 0 4px 4px 0; background: var(--tone);
}
.gh-launch-item .gh-icon { width: 2.6rem; height: 2.6rem; border-radius: .8rem; }
.gh-launch-item .gh-icon svg { width: 1.2rem; height: 1.2rem; }
.gh-launch-text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.gh-launch-text strong { color: color-mix(in srgb, var(--tone) 62%, #1d2b1f); font: 700 .95rem/1.25 Montserrat, Inter, system-ui, sans-serif; }
.gh-launch-text small { margin-top: 2px; color: #5a6b5d; font-size: .78rem; line-height: 1.35; }
.gh-launch-go { flex: none; width: 18px; height: 18px; color: color-mix(in srgb, var(--tone) 70%, #5a6b5d); opacity: .55; transition: transform .25s ease, opacity .25s ease; }
.gh-launch-item:hover, .gh-launch-item:focus-visible {
  transform: translateX(4px);
  border-color: color-mix(in srgb, var(--tone) 45%, transparent);
  background: linear-gradient(100deg, color-mix(in srgb, var(--tone) 16%, rgba(255, 255, 255, .8)), rgba(255, 255, 255, .7));
  box-shadow: 8px 10px 20px color-mix(in srgb, var(--tone) 22%, transparent), -4px -4px 10px rgba(255, 255, 255, .8);
}
.gh-launch-item:hover .gh-icon, .gh-launch-item:focus-visible .gh-icon { transform: rotate(-8deg) scale(1.06); }
.gh-launch-item:hover .gh-launch-go, .gh-launch-item:focus-visible .gh-launch-go { opacity: 1; transform: translate(3px, -3px); }
.gh-launch-stats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 8px 0 0; padding-top: 14px;
  border-top: 1px solid rgba(45, 90, 61, .12);
}
.gh-launch-stats div { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.gh-launch-stats dd {
  order: -1; margin: 0; font: 800 1.45rem/1.1 Montserrat, Inter, system-ui, sans-serif; font-variant-numeric: lining-nums;
  background: linear-gradient(100deg, #4f9d43, #3f8fca 50%, #b8438a); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.gh-launch-stats dt { font: 700 .66rem/1.2 Montserrat, Inter, system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #6b7b6e; text-align: center; }

@media (min-width: 1180px) and (max-width: 1439px) {
  .gh-hero-grid { gap: 28px; grid-template-columns: minmax(0, .95fr) minmax(0, 1fr) minmax(0, 1.1fr); }
}
@media (max-width: 1179px) {
  .gh-hero-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start;
    grid-template-areas: "photo photo" "weather menu";
  }
  .gh-hero-photo { max-width: 440px; margin-inline: auto; }
}
@media (max-width: 767px) {
  .gh-hero-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "photo" "menu" "weather"; }
  .gh-hero-head { gap: 14px; }
  .gh-hero-head .ga-eyebrow { font-size: .7rem; letter-spacing: .1em; }
  .gh-hero-weather #garden-weather { padding: 16px; }
  .gh-launch { padding: 14px; }
}

/* ---------- section titles ---------- */
.gv-eyebrow, .gv-seo__eyebrow {
  font-family: Montserrat, Inter, system-ui, sans-serif; font-weight: 700; font-size: .78rem; letter-spacing: .12em; color: #2d5a3d;
}
.gv-seo__eyebrow::before { width: 3rem; height: 3px; border-radius: 3px; background: linear-gradient(90deg, #6db552, #f0b929, #d46bb0); }
.gv-section-intro h2 .ga-grad { padding-bottom: .08em; }
#android-apps { scroll-margin-top: 80px; }

/* ---------- the five tools ---------- */
.gv-feature-row {
  isolation: isolate; scroll-margin-top: 120px;
  border-color: color-mix(in srgb, var(--tone) 30%, rgba(255, 255, 255, .73));
  background:
    radial-gradient(110% 90% at 0% 0%, color-mix(in srgb, var(--tone) 16%, transparent), transparent 60%),
    linear-gradient(145deg, color-mix(in srgb, var(--tone) 13%, rgba(247, 250, 243, .9)),
                    color-mix(in srgb, var(--tone) 7%, rgba(224, 232, 217, .86)));
  transition: box-shadow .35s ease, border-color .35s ease;
}
.gv-feature-row--reverse {
  background:
    radial-gradient(110% 90% at 100% 0%, color-mix(in srgb, var(--tone) 16%, transparent), transparent 60%),
    linear-gradient(215deg, color-mix(in srgb, var(--tone) 13%, rgba(247, 250, 243, .9)),
                    color-mix(in srgb, var(--tone) 7%, rgba(224, 232, 217, .86)));
}
.gv-feature-row::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; z-index: 4;
  background: linear-gradient(90deg, var(--tone), color-mix(in srgb, var(--tone) 45%, #f0b929), var(--tone));
}
.gv-feature-row:hover {
  transform: none;
  border-color: color-mix(in srgb, var(--tone) 46%, transparent);
  box-shadow: 17px 22px 38px color-mix(in srgb, var(--tone) 22%, rgba(143, 161, 136, .42)), -12px -12px 28px rgba(255, 255, 255, .84);
}
.gh-deco {
  position: absolute; z-index: 0; width: clamp(150px, 16vw, 230px); height: auto; aspect-ratio: 1;
  color: var(--tone); opacity: .17; pointer-events: none;
  animation: gaSway 11s ease-in-out infinite alternate;
}
.gv-feature-row > .gh-deco { left: -34px; bottom: -44px; }
.gv-feature-row--reverse > .gh-deco { left: auto; right: -34px; animation-duration: 13s; }

.gh-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.gh-icon {
  flex: none; width: 3.25rem; height: 3.25rem; display: grid; place-items: center; border-radius: 1rem; color: #fff;
  background: linear-gradient(135deg, color-mix(in srgb, var(--tone) 86%, #fff), color-mix(in srgb, var(--tone) 72%, #14251a));
  box-shadow: 7px 8px 16px color-mix(in srgb, var(--tone) 30%, transparent), -5px -5px 13px rgba(255, 255, 255, .78);
  transition: transform .4s cubic-bezier(.2, .9, .3, 1.3);
}
.gh-icon svg { width: 1.55rem; height: 1.55rem; }
.gv-feature-row:hover .gh-icon, .gv-app-card:hover .gh-icon { transform: rotate(-8deg) scale(1.06); }
.gv-feature-copy h3 { color: color-mix(in srgb, var(--tone) 60%, #1d2b1f); }
.gv-feature-link { padding: 14px 24px; border-radius: 14px; font-size: .92rem; font-weight: 700; }

/* the screenshot: whole, in a small window frame; lifts, tilts and catches the light under the mouse */
.gv-feature-media {
  align-self: center; min-height: 0; flex-direction: column; align-items: stretch; justify-content: center; gap: 14px;
  padding: clamp(16px, 2.4vw, 34px); text-decoration: none;
  background:
    radial-gradient(90% 70% at 50% 0%, rgba(255, 255, 255, .55), transparent 70%),
    linear-gradient(145deg, color-mix(in srgb, var(--tone) 14%, #f1f5ec), color-mix(in srgb, var(--tone) 30%, #d8e3d2));
}
.gv-feature-media::after { content: none; }
.gv-feature-media picture, .gv-app-shot picture {
  position: relative; display: block; overflow: hidden;
  transform: perspective(1100px) rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg)) translateY(var(--lift, 0px)) rotate(var(--turn, 0deg)) scale(var(--zoom, 1));
  transition: transform .45s cubic-bezier(.2, .8, .2, 1), box-shadow .45s ease;
}
.gv-feature-media picture {
  width: 100%; padding-top: 24px; border-radius: 14px; background: #fbfdf8;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--tone) 22%, rgba(255, 255, 255, .6)),
              0 18px 36px color-mix(in srgb, var(--tone) 24%, rgba(34, 68, 44, .18));
}
.gv-feature-media picture::before {
  content: ""; position: absolute; top: 8px; left: 12px; width: 8px; height: 8px; border-radius: 50%;
  background: var(--tone); box-shadow: 14px 0 0 #f0b929, 28px 0 0 #d46bb0;
}
.gv-feature-media picture::after, .gv-app-shot picture::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 30%), rgba(255, 255, 255, .4), transparent 42%),
    linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, .3) 50%, transparent 62%);
  background-size: 100% 100%, 260% 100%; background-position: 0 0, 140% 0; background-repeat: no-repeat;
  transition: opacity .35s ease, background-position 1s ease;
}
.gv-feature-media:hover picture, .gv-feature-media:focus-visible picture {
  --lift: -6px; --zoom: 1.015;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--tone) 50%, transparent),
              0 28px 48px color-mix(in srgb, var(--tone) 32%, rgba(34, 68, 44, .22));
}
.gv-feature-media:hover picture::after, .gv-feature-media:focus-visible picture::after,
.gv-app-shot:hover picture::after, .gv-app-shot:focus-visible picture::after { opacity: 1; background-position: 0 0, -40% 0; }
.gv-feature-media img, .gv-feature-row:hover .gv-feature-media img {
  position: static; inset: auto; display: block; width: 100%; height: auto; min-height: 0; max-height: none;
  object-fit: contain; border-radius: 0; box-shadow: none; filter: none; transform: none;
}
.gv-media-label {
  position: relative; left: auto; bottom: auto; align-self: flex-start; color: #fff;
  border-color: rgba(255, 255, 255, .4);
  background: color-mix(in srgb, var(--tone) 72%, #10200f);
  box-shadow: 0 8px 18px color-mix(in srgb, var(--tone) 26%, transparent);
  transition: transform .3s ease;
}
.gv-feature-media:hover .gv-media-label { transform: translateY(-2px); }

/* ---------- the four apps ---------- */
.gv-app-card {
  isolation: isolate;
  border: 1px solid color-mix(in srgb, var(--tone) 30%, rgba(255, 255, 255, .73));
  background:
    radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--tone) 16%, transparent), transparent 60%),
    linear-gradient(145deg, color-mix(in srgb, var(--tone) 13%, rgba(247, 250, 243, .9)),
                    color-mix(in srgb, var(--tone) 7%, rgba(224, 232, 217, .86)));
  transition: box-shadow .35s ease, border-color .35s ease;
}
.gv-app-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; z-index: 3;
  background: linear-gradient(90deg, var(--tone), color-mix(in srgb, var(--tone) 45%, #f0b929), var(--tone));
}
.gv-app-card:hover { transform: none; border-color: color-mix(in srgb, var(--tone) 46%, transparent); }
.gv-app-shot {
  isolation: isolate; height: auto; display: flex; align-items: center; justify-content: center;
  padding: 28px 16px 22px; overflow: hidden;
  background:
    radial-gradient(70% 60% at 50% 38%, rgba(255, 255, 255, .62), transparent 70%),
    linear-gradient(160deg, color-mix(in srgb, var(--tone) 16%, #f3f7ee), color-mix(in srgb, var(--tone) 32%, #d9e4d3));
}
.gv-app-shot::after { content: none; }
.gv-app-shot .gh-deco { z-index: -1; top: -30px; right: -36px; width: 170px; opacity: .2; }
.gv-app-shot picture {
  height: clamp(16rem, 21vw, 20rem); aspect-ratio: 824 / 1830;
  border: 5px solid #18211b; border-radius: 24px; background: #090a0c;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .35), 0 18px 30px color-mix(in srgb, var(--tone) 30%, rgba(20, 37, 26, .25));
}
.gv-app-shot img, .gv-app-card:hover .gv-app-shot img {
  width: 100%; height: 100%; object-fit: contain; object-position: center; transform: none;
}
.gv-app-shot:hover picture, .gv-app-shot:focus-visible picture {
  --lift: -8px; --turn: -2deg;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .45), 0 28px 44px color-mix(in srgb, var(--tone) 40%, rgba(20, 37, 26, .3));
}
.gh-app-head { display: flex; align-items: center; gap: 12px; margin-bottom: .8rem; }
.gh-app-head .gh-icon { width: 2.75rem; height: 2.75rem; border-radius: .85rem; }
.gh-app-head .gh-icon svg { width: 1.3rem; height: 1.3rem; }
.gv-app-body h3 { margin: 0; color: color-mix(in srgb, var(--tone) 60%, #1d2b1f); font-size: 1.5rem; line-height: 1.1; }
.gv-app-meta { display: block; margin-top: .3rem; color: color-mix(in srgb, var(--tone) 85%, #1d2b1f); letter-spacing: .1em; }
.gv-app-actions { gap: .55rem; }
.gv-app-download, .gv-app-details { padding: 11px 14px; border-radius: 12px; font-size: .8rem; font-weight: 700; }
.gv-app-download {
  gap: 8px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--tone) 88%, #14251a), color-mix(in srgb, var(--tone) 62%, #14251a));
  box-shadow: 7px 8px 16px color-mix(in srgb, var(--tone) 26%, transparent), -5px -5px 13px rgba(255, 255, 255, .7);
}
.gv-app-download svg { width: 16px; height: 16px; transition: transform .25s ease; }
.gv-app-download:hover {
  filter: brightness(1.07);
  box-shadow: 10px 12px 22px color-mix(in srgb, var(--tone) 36%, transparent), -6px -6px 15px rgba(255, 255, 255, .8);
}
.gv-app-download:hover svg { transform: translateY(2px); }
.gv-app-details {
  color: color-mix(in srgb, var(--tone) 70%, #1d2b1f); background: rgba(255, 255, 255, .62);
  border: 1px solid color-mix(in srgb, var(--tone) 22%, transparent);
  box-shadow: 6px 7px 14px rgba(143, 161, 136, .28), -5px -5px 12px rgba(255, 255, 255, .8);
}
.gv-app-details:hover { background: rgba(255, 255, 255, .85); }

/* ---------- guides and FAQ ---------- */
#garden-guides .gv-seo__card:nth-child(1) { --tone: var(--gv-sprout, #4f9d43); }
#garden-guides .gv-seo__card:nth-child(2) { --tone: var(--gv-skyblue, #3f8fca); }
#garden-guides .gv-seo__card:nth-child(3) { --tone: var(--gv-sunflower, #d99a06); }
#garden-guides .gv-seo__card:nth-child(4) { --tone: var(--gv-carrot, #dd6f1c); }
#garden-guides .gv-seo__card:nth-child(5) { --tone: var(--gv-echinacea, #b8438a); }
#garden-guides .gv-seo__card:nth-child(6) { --tone: var(--gv-plum, #6f5cc0); }
#garden-guides .gv-seo__card {
  border-color: color-mix(in srgb, var(--tone) 26%, rgba(45, 90, 61, .1));
  background: linear-gradient(145deg, color-mix(in srgb, var(--tone) 10%, rgba(244, 248, 239, .86)),
                                      color-mix(in srgb, var(--tone) 5%, rgba(225, 233, 216, .76)));
}
#garden-guides .gv-seo__card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--tone), color-mix(in srgb, var(--tone) 45%, #f0b929), var(--tone));
}
#garden-guides .gv-seo__card::after { background: color-mix(in srgb, var(--tone) 14%, transparent); }
#garden-guides .gv-seo__card:hover { border-color: color-mix(in srgb, var(--tone) 46%, transparent); }
#garden-guides .gv-seo__icon {
  color: #fff;
  background: linear-gradient(135deg, color-mix(in srgb, var(--tone) 86%, #fff), color-mix(in srgb, var(--tone) 72%, #14251a));
  box-shadow: 5px 6px 12px color-mix(in srgb, var(--tone) 28%, transparent), -4px -4px 10px rgba(255, 255, 255, .75);
}
#garden-guides .gv-seo__number { color: color-mix(in srgb, var(--tone) 70%, transparent); }
#garden-guides .gv-seo__card h3 { color: color-mix(in srgb, var(--tone) 60%, #1d2b1f); }
#garden-guides .gv-seo__features li::before { color: var(--tone); }
#garden-guides .gv-seo__link { color: color-mix(in srgb, var(--tone) 80%, #1d2b1f); }
.gv-guide-details, #garden-guides .gv-seo__faq {
  border: 1px solid rgba(45, 90, 61, .1); border-radius: 1.75rem;
  background: radial-gradient(circle at 92% 10%, rgba(244, 211, 94, .16), transparent 20rem),
              linear-gradient(145deg, rgba(244, 248, 239, .82), rgba(225, 233, 216, .72));
  box-shadow: 14px 15px 32px rgba(169, 181, 160, .38), -14px -14px 32px rgba(255, 255, 255, .76);
}
.gv-guide-details { padding: 22px 26px; }
.gv-guide-details > summary { transition: color .2s ease; }
.gv-guide-details > summary:hover { color: #3d7a4f; }
#garden-guides .gv-seo__faq { padding: clamp(1.5rem, 4vw, 3.5rem); }
#garden-guides .gv-seo__faq summary { transition: color .2s ease; }
#garden-guides .gv-seo__faq summary:hover { color: #3d7a4f; }
#garden-guides .gv-seo__faq summary::after { color: #fff; background: linear-gradient(135deg, #6db552, #3d7a4f); }
#garden-guides .gv-seo__faq details[open] { border-color: rgba(109, 181, 82, .38); }

/* ---------- smaller screens ---------- */
@media (max-width: 860px) {
  .gv-feature-media { aspect-ratio: auto; padding: 14px; }
  .gv-feature-row > .gh-deco, .gv-feature-row--reverse > .gh-deco { top: -40px; bottom: auto; }
}
@media (max-width: 620px) {
  .gv-app-shot picture { height: 22rem; }
  .gh-deco { width: 130px; opacity: .12; }
}

/* ---------- no motion when the visitor asks for none ---------- */
@media (prefers-reduced-motion: reduce) {
  .gh-deco { animation: none !important; }
  .gv-feature-media picture, .gv-app-shot picture, .gh-icon, .gv-media-label, .gh-launch-item, .gh-launch-go { transition: none; transform: none !important; }
}
