:root {
  --leaf: #1f7a3d;
  --leaf-dark: #114a2a;
  --leaf-soft: #e7f4df;
  --mint: #f4faf0;
  --soil: #5c412a;
  --sun: #f6c95d;
  --tomato: #c95a36;
  --ink: #203327;
  --muted: #657568;
  --white: #ffffff;
  --line: rgba(31, 122, 61, 0.16);
  --shadow: 0 18px 45px rgba(17, 74, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  background:
    radial-gradient(circle at 8% 12%, rgba(246, 201, 93, 0.18), transparent 28%),
    linear-gradient(180deg, #fbfff8 0%, #eef7e9 100%);
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(31, 122, 61, 0.12);
  background: rgba(251, 255, 248, 0.88);
  backdrop-filter: blur(14px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1160px, calc(100% - 40px));
  min-height: 74px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--leaf-dark);
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, var(--leaf), #4b9f45);
  box-shadow: 0 8px 20px rgba(31, 122, 61, 0.22);
}

.brand-mark svg {
  width: 23px;
  height: 23px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
}

.nav-link,
.login-link,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 8px;
  font-weight: 700;
  line-height: 1;
}

.nav-link {
  padding: 0 13px;
  color: #3f5547;
}

.nav-link:hover {
  color: var(--leaf-dark);
  background: rgba(31, 122, 61, 0.08);
}

.login-link,
.button {
  gap: 8px;
  padding: 0 16px;
  color: var(--white);
  background: var(--leaf);
  border: 1px solid rgba(17, 74, 42, 0.16);
  box-shadow: 0 12px 28px rgba(31, 122, 61, 0.2);
}

.login-link:hover,
.button:hover {
  background: var(--leaf-dark);
}

.page {
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: calc(100vh - 74px);
  display: grid;
  align-items: center;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("assets/garden-hero.png");
  background-position: center;
  background-size: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(251, 255, 248, 0.95) 0%, rgba(251, 255, 248, 0.76) 33%, rgba(251, 255, 248, 0.24) 62%, rgba(251, 255, 248, 0.04) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(238, 247, 233, 0.5));
}

.hero-inner {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 98px;
}

.hero-copy {
  width: min(610px, 100%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--leaf-dark);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  border-radius: 999px;
  background: var(--leaf);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 11ch;
  margin-bottom: 20px;
  color: var(--leaf-dark);
  font-size: clamp(3.2rem, 8vw, 6.7rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.lead {
  max-width: 640px;
  margin-bottom: 30px;
  color: #334b3c;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.button.secondary {
  color: var(--leaf-dark);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: none;
}

.button.secondary:hover {
  background: var(--white);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 610px;
}

.stat {
  min-height: 96px;
  padding: 18px;
  border: 1px solid rgba(31, 122, 61, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 12px 30px rgba(17, 74, 42, 0.08);
}

.stat strong {
  display: block;
  color: var(--leaf-dark);
  font-size: 1.8rem;
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.92rem;
}

.section {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 76px 0;
}

.section-header {
  max-width: 680px;
  margin-bottom: 30px;
}

.section-kicker {
  margin-bottom: 9px;
  color: var(--leaf);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.section h2 {
  color: var(--leaf-dark);
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.06;
  letter-spacing: 0;
}

.section-header p {
  color: var(--muted);
  font-size: 1.05rem;
}

.feature-grid,
.plant-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow);
}

.card-icon {
  display: grid;
  width: 50px;
  height: 50px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 8px;
  color: var(--leaf-dark);
  background: var(--leaf-soft);
}

.card-icon svg {
  width: 28px;
  height: 28px;
}

.card h3 {
  margin-bottom: 10px;
  color: var(--leaf-dark);
  font-size: 1.2rem;
}

.card p {
  margin-bottom: 0;
  color: var(--muted);
}

.band {
  background: linear-gradient(135deg, #0f3f28 0%, #1f7a3d 54%, #68a33b 100%);
  color: var(--white);
}

.band .section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 42px;
}

.band h2,
.band .section-kicker {
  color: var(--white);
}

.band p {
  color: rgba(255, 255, 255, 0.84);
}

.season-list {
  display: grid;
  gap: 12px;
}

.season-item {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.season-month {
  display: grid;
  min-height: 58px;
  place-items: center;
  border-radius: 8px;
  color: var(--leaf-dark);
  font-weight: 900;
  background: var(--sun);
}

.season-item h3 {
  margin-bottom: 4px;
  color: var(--white);
}

.season-item p {
  margin-bottom: 0;
}

.page-title {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 68px 0 36px;
}

.page-title h1 {
  max-width: 760px;
  margin-bottom: 14px;
  font-size: clamp(2.5rem, 6vw, 5rem);
}

.page-title p {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.1rem;
}

.plant-card {
  overflow: hidden;
  padding: 0;
}

.plant-visual {
  height: 160px;
  background:
    radial-gradient(circle at 72% 30%, rgba(246, 201, 93, 0.52), transparent 22%),
    linear-gradient(135deg, rgba(31, 122, 61, 0.2), rgba(255, 255, 255, 0)),
    var(--leaf-soft);
}

.plant-visual.tomato {
  background:
    radial-gradient(circle at 45% 48%, rgba(201, 90, 54, 0.72) 0 14%, transparent 15%),
    radial-gradient(circle at 62% 35%, rgba(201, 90, 54, 0.62) 0 12%, transparent 13%),
    linear-gradient(145deg, #dff1d8, #fff8e7);
}

.plant-visual.herbs {
  background:
    repeating-linear-gradient(112deg, rgba(31, 122, 61, 0.28) 0 13px, transparent 13px 26px),
    linear-gradient(145deg, #d9f0ce, #ffffff);
}

.plant-visual.flowers {
  background:
    radial-gradient(circle at 30% 34%, #ffffff 0 8%, transparent 9%),
    radial-gradient(circle at 50% 54%, #fff5b7 0 6%, transparent 7%),
    radial-gradient(circle at 72% 36%, #ffffff 0 8%, transparent 9%),
    linear-gradient(145deg, #dff1d8, #f9fff5);
}

.plant-body {
  padding: 22px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tag {
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--leaf-dark);
  font-size: 0.86rem;
  font-weight: 700;
  background: var(--leaf-soft);
}

.calendar {
  display: grid;
  gap: 14px;
}

.calendar-row {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 18px;
  align-items: stretch;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 10px 28px rgba(17, 74, 42, 0.08);
}

.calendar-date {
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  font-size: 1.24rem;
  font-weight: 900;
  background: var(--leaf);
}

.calendar-row h3 {
  margin-bottom: 6px;
  color: var(--leaf-dark);
}

.calendar-row p {
  margin-bottom: 0;
  color: var(--muted);
}

.contact-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--leaf-dark);
}

.footer {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.58);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
  background:
    linear-gradient(135deg, rgba(17, 74, 42, 0.76), rgba(31, 122, 61, 0.58)),
    url("assets/garden-hero.png") center / cover;
}

.loader-box {
  display: grid;
  gap: 18px;
  justify-items: center;
  color: var(--white);
}

.spinner {
  width: 78px;
  height: 78px;
  border: 8px solid rgba(255, 255, 255, 0.26);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.85s linear infinite;
}

.loader-text {
  margin: 0;
  font-weight: 800;
  letter-spacing: 0.02em;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 860px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 14px 0;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(251, 255, 248, 0.96) 0%, rgba(251, 255, 248, 0.82) 58%, rgba(238, 247, 233, 0.7) 100%);
  }

  .hero-inner {
    padding: 58px 0 64px;
  }

  .hero-stats,
  .feature-grid,
  .plant-grid,
  .contact-grid,
  .band .section {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 54px 0;
  }
}

@media (max-width: 560px) {
  .nav,
  .section,
  .hero-inner,
  .page-title,
  .footer-inner {
    width: min(100% - 28px, 1160px);
  }

  .nav-links {
    width: 100%;
  }

  .nav-link,
  .login-link {
    min-height: 40px;
    padding: 0 10px;
    font-size: 0.92rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .stat,
  .card {
    padding: 20px;
  }

  .season-item,
  .calendar-row {
    grid-template-columns: 1fr;
  }

  .calendar-date {
    min-height: 58px;
  }
}
