/* Garden Trader public marketing site — light cream / garden green */

:root {
  --cream: #f7f3e8;
  --cream-deep: #efe9dc;
  --surface-soft: #eaf2e2;
  --green-primary: #386641;
  --green-secondary: #6a994e;
  --text-primary: #253026;
  --text-secondary: #5e6b5a;
  --soil: #8b6f47;
  --harvest: #dda15e;
  --white: #fffef9;
  --on-brand: #faf6ec;
  --max-width: 920px;
  --radius: 16px;
  --shadow: 0 10px 28px rgba(37, 48, 38, 0.08);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text-primary);
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(106, 153, 78, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(221, 161, 94, 0.1), transparent 50%),
    var(--cream);
  min-height: 100vh;
}

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

a {
  color: var(--green-primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover { color: var(--green-secondary); }

a:focus-visible,
.app-store-cta:focus-visible {
  outline: 3px solid var(--harvest);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--green-primary);
  color: var(--on-brand);
  padding: 0.75rem 1rem;
  z-index: 100;
}

.skip-link:focus { left: 0; }

.site-header {
  background: rgba(255, 254, 249, 0.92);
  border-bottom: 1px solid rgba(56, 102, 65, 0.12);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.875rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.header-inner--simple {
  justify-content: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--green-primary);
  font-weight: 700;
  font-size: 1.125rem;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3.5rem;
}

/* ——— Centered hero ——— */

.hero-centered {
  text-align: center;
  max-width: 36rem;
  margin: 0.5rem auto 3.25rem;
}

.hero-wordmark {
  width: min(260px, 72vw);
  height: auto;
  margin: 0 auto 1.5rem;
}

.hero-centered h1 {
  font-size: clamp(1.75rem, 4.6vw, 2.45rem);
  line-height: 1.2;
  margin: 0 0 1rem;
  color: var(--green-primary);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin: 0 auto 1.6rem;
  max-width: 32rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* ——— CTA ——— */

.app-store-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  background: var(--green-primary);
  color: var(--on-brand);
  font-weight: 650;
  font-size: 1.05rem;
  text-decoration: none;
  border: none;
  box-shadow: 0 6px 16px rgba(56, 102, 65, 0.22);
}

a.app-store-cta:hover {
  background: var(--green-secondary);
  color: var(--on-brand);
}

.app-store-cta--soon {
  background: var(--surface-soft);
  color: var(--green-primary);
  box-shadow: none;
  border: 1px solid rgba(56, 102, 65, 0.22);
  cursor: default;
  user-select: none;
}

/* ——— Product story ——— */

.section {
  margin-bottom: 2rem;
}

.section--centered {
  text-align: center;
}

.section h2 {
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  color: var(--green-primary);
  margin: 0 0 1.35rem;
}

.story-grid {
  display: grid;
  gap: 1rem;
  text-align: left;
}

.story-grid--four {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .story-grid--four {
    grid-template-columns: repeat(2, 1fr);
  }
}

.story-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(56, 102, 65, 0.08);
}

.story-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.1rem;
  color: var(--green-primary);
}

.story-card p {
  margin: 0;
  color: var(--text-secondary);
}

.story-kicker {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--soil);
  margin-bottom: 0.4rem;
}

/* ——— Confirmation ——— */

.confirm-panel {
  max-width: 32rem;
  margin: 2rem auto 0;
  text-align: center;
  background: var(--white);
  border-radius: calc(var(--radius) + 4px);
  padding: 2.25rem 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(56, 102, 65, 0.08);
}

.confirm-wordmark {
  width: min(200px, 55vw);
  margin: 0 auto 1.35rem;
}

.page-title {
  font-size: clamp(1.75rem, 4vw, 2.15rem);
  color: var(--green-primary);
  margin: 0 0 0.5rem;
}

.page-intro,
.confirm-intro {
  color: var(--text-secondary);
  margin: 0 0 1rem;
}

.confirm-body {
  color: var(--text-secondary);
  margin: 0;
}

.confirm-body--spaced {
  margin-bottom: 1.5rem;
}

.confirm-actions {
  margin: 0;
}

/* ——— Footer ——— */

.site-footer {
  background: var(--white);
  border-top: 1px solid rgba(56, 102, 65, 0.12);
  margin-top: 2rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.75rem 1.25rem;
}

.footer-inner--simple {
  text-align: center;
}

.footer-meta {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  margin: 0;
}
