/*
 * GMas landing page, Layout A.
 *
 * Loaded AFTER styles.css, on index.html only. Overrides the shared
 * seasonal accent system with one fixed brand palette (cream background,
 * two green shades, one gold) and swaps the system-font stack for
 * Fraunces (display) + DM Sans (body), a deliberate, permanent identity
 * for the marketing site, not meant to flip with the season the way the
 * app and the other web/landing/*.html pages still do. Those other pages
 * (privacy, terms, support, delete-account) still load styles.css alone
 * and are untouched by this file.
 */
:root {
  --cream: #FAF6EC;
  --green: #2E6B45;
  --green-dark: #1F4A31;
  --gold: #E09B30;

  /* Reassign the shared tokens styles.css's components (.btn, .card, etc.)
     already key off, so Layout A's sections and the older shared ones
     (pricing, footer) paint consistently without rewriting every rule. */
  --tint: var(--cream);
  --accent: var(--green);
  --accent-ink: #FFFFFF;
  --ink: var(--green-dark);
  --muted: #5C6B5F;
  --border: #E3DCC9;
  --season-border: #E3DCC9;
  --surface: #FFFFFF;
}

/* The animated icon's own two colors (see styles.css's #hero-icon rules),
   matched to the exact brand hex above rather than the older approximations. */
#hero-icon {
  --hero-green: #2E6B45;
  --hero-gold: #E09B30;
}

html, body {
  background: var(--cream);
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

h1, h2, h3, .brand {
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
}

/* ---- header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 246, 236, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap { padding-top: 14px; padding-bottom: 14px; }
.brand-mark { display: flex; align-items: center; gap: 10px; }
.brand-mark img { width: 32px; height: 32px; border-radius: 8px; }
.brand-mark span { font-weight: 600; font-size: 20px; color: var(--green-dark); }
.site-header .nav a { font-family: 'DM Sans', sans-serif; }
.nav-cta {
  background: var(--green);
  color: #fff !important;
  padding: 9px 16px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
}
.nav-cta:hover { text-decoration: none; opacity: 0.92; }

/* ---- hero (two columns) ---- */
.hero-a { padding: 56px 0 48px; }
.hero-a .wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}
@media (min-width: 860px) {
  .hero-a .wrap { grid-template-columns: 1.05fr 0.95fr; gap: 48px; }
}
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--green-dark);
  background: var(--gold);
  background: color-mix(in srgb, var(--gold) 28%, transparent);
  border: 1px solid color-mix(in srgb, var(--gold) 55%, transparent);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero-a h1 {
  font-size: clamp(34px, 5.5vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
  max-width: 14ch;
  color: var(--green-dark);
}
.hero-a p.lede { font-size: clamp(16px, 2vw, 19px); }

/* ---- weekly brief card (hero, right column) ---- */
.brief-card-wrap { position: relative; }
.brief-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px 24px 24px;
  box-shadow: 0 10px 30px rgba(31, 74, 49, 0.08);
}
.brief-card-title {
  font-family: 'Fraunces', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--green-dark);
  margin: 0 0 4px;
}
.brief-card-summary {
  font-size: 15px;
  color: var(--ink);
  margin: 0 0 16px;
  line-height: 1.5;
}
.brief-section { margin-bottom: 14px; }
.brief-section:last-child { margin-bottom: 0; }
.brief-section h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--green);
  margin: 0 0 6px;
}
.brief-section ul { margin: 0; padding-left: 18px; }
.brief-section li { font-size: 14px; color: var(--ink); line-height: 1.5; margin-bottom: 4px; }
.brief-section li:last-child { margin-bottom: 0; }

/* The grow/hold/fade icon, repurposed from a full-width hero banner (see
   styles.css's #hero-icon rules, reused as-is) into a small corner badge
   on the brief card. */
.brief-card-badge {
  position: absolute;
  top: -18px;
  right: -14px;
  width: 64px;
  height: 64px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(31, 74, 49, 0.12);
}
.brief-card-badge #hero-icon { width: 60%; max-width: none; }
@media (max-width: 859px) {
  .brief-card-badge { width: 48px; height: 48px; top: -12px; right: -10px; }
}

/* ---- strip: Plan / Plant / Tend / Review ---- */
.strip { padding: 8px 0 40px; }
.strip-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 640px) {
  .strip-row { grid-template-columns: repeat(4, 1fr); }
}
.strip-item {
  display: block;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 10px;
  color: var(--green-dark);
  font-weight: 600;
  font-size: 15px;
}
.strip-item:hover { border-color: var(--green); text-decoration: none; }

/* ---- feature tabs ---- */
.feature-tabs { padding: 8px 0 32px; }
.tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
  padding-bottom: 2px;
}
.tab {
  font-family: 'DM Sans', sans-serif;
  background: transparent;
  border: 0;
  border-bottom: 3px solid transparent;
  padding: 10px 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  position: relative;
}
.tab[aria-selected="true"] { color: var(--green-dark); border-bottom-color: var(--green); }
.tab:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.tab .tab-new {
  display: inline-block;
  margin-left: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--green-dark);
  background: var(--gold);
  padding: 2px 6px;
  border-radius: 999px;
  vertical-align: middle;
}
.tabpanel-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}
@media (min-width: 720px) {
  .tabpanel-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
.tabpanel-text h3 { margin: 0 0 10px; font-size: 22px; color: var(--green-dark); }
.tabpanel-text p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.tabpanel-shot {
  aspect-ratio: 9 / 16;
  max-height: 420px;
  margin: 0 auto;
  background: #EFE8D6;
  border: 1px solid var(--border);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
  padding: 16px;
}

/* ---- notifications (real examples) ---- */
.proof h2 { font-family: 'Fraunces', serif; }
.proof-card.frost { border-top: 4px solid var(--gold); }
.proof-card.brief { border-top: 4px solid var(--green); }

/* ---- story photo: the real garden bed, with a stylized grid overlay
   evoking the app's own bed-layout screen. Not a precise perspective
   match to the photo's real cell boundaries, a deliberate graphic flourish
   instead, see index.html's story section. ---- */
.story-photo-wrap {
  position: relative;
  aspect-ratio: 2 / 1;
  border-radius: 12px;
  overflow: hidden;
}
.story-photo-wrap .story-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: auto;
  background: none;
}
.story-grid-overlay {
  position: absolute;
  inset: 10%;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  border-radius: 6px;
  background-image:
    repeating-linear-gradient(
      to right,
      rgba(255, 255, 255, 0.6) 0,
      rgba(255, 255, 255, 0.6) 1.5px,
      transparent 1.5px,
      transparent calc(100% / 6)
    ),
    repeating-linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.6) 0,
      rgba(255, 255, 255, 0.6) 1.5px,
      transparent 1.5px,
      transparent calc(100% / 3)
    );
  pointer-events: none;
}
