/* Hensley Garden & Crop Planner website
   Static HTML + CSS, no build step. Colors match the app. */

:root {
  --forest: #1B3B2B;
  --forest-2: #234734;
  --sage: #A9C39E;
  --sage-soft: #DCE6D5;
  --cream: #F7F5EE;
  --cream-2: #FAF8F3;
  --rust: #8C4A32;
  --rust-dark: #723A27;
  --ink: #1F2A22;
  --muted: #4E5B52;
  --line: #D9D4C5;
  --white: #FFFFFF;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(27, 59, 43, .06), 0 8px 24px rgba(27, 59, 43, .08);
  --serif: Georgia, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 17px/1.6 var(--sans);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest-2); text-underline-offset: 3px; }
a:hover { color: var(--rust); }
:focus-visible { outline: 3px solid var(--rust); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--serif); color: var(--forest); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

/* Header */
.site-header { background: var(--forest); color: var(--cream); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; }
.brand { display: flex; flex-direction: column; text-decoration: none; color: var(--cream); line-height: 1.1; padding: 10px 0; }
.brand:hover { color: var(--cream); }
.brand-name { font-family: var(--serif); font-size: 1.35rem; letter-spacing: .14em; font-weight: 700; }
.brand-sub { font-size: .8rem; color: var(--sage); letter-spacing: .04em; }
.nav { display: flex; gap: 4px 18px; flex-wrap: wrap; }
.nav a { color: var(--sage-soft); text-decoration: none; font-size: .95rem; padding: 6px 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); text-decoration: underline; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px; border-radius: 12px; border: 2px solid transparent;
  font: 600 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
  min-height: 48px;
}
.btn-store { background: var(--rust); color: var(--white); }
.btn-store:hover { background: var(--rust-dark); color: var(--white); }
.btn-store svg { width: 24px; height: 24px; flex: none; }
.btn-store small { display: block; font-weight: 400; font-size: .72rem; opacity: .9; letter-spacing: .02em; }
.btn-store span { display: block; }
.btn-outline { border-color: var(--forest); color: var(--forest); background: transparent; }
.btn-outline:hover { background: var(--forest); color: var(--cream); }
.store-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 16px; }

/* Hero */
.hero { background: linear-gradient(180deg, var(--forest-2) 0%, var(--forest) 100%); color: var(--cream); padding: 56px 0 64px; }
.hero h1 { color: var(--white); max-width: 18ch; }
.hero .lead { font-size: 1.15rem; color: var(--sage-soft); max-width: 60ch; }
.hero .note { color: var(--sage); font-size: .95rem; }
.trial-note { color: var(--white); margin-top: -4px; }
.trial-note strong { color: var(--sage); }
.hero .note a { color: var(--white); }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.25fr .75fr; } }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; padding: 0; list-style: none; }
.badges li { background: rgba(169, 195, 158, .18); color: var(--sage-soft); border: 1px solid rgba(169, 195, 158, .4); border-radius: 999px; padding: 4px 12px; font-size: .85rem; }
.hero .phone { margin: 0 auto; }

/* Sections */
section { padding: 64px 0; }
.section-alt { background: var(--cream-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-intro { max-width: 62ch; color: var(--muted); margin-bottom: 32px; }
.eyebrow { font: 600 .8rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--rust); margin-bottom: 10px; }

/* Feature grid */
.features { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card .icon { width: 44px; height: 44px; border-radius: 12px; background: var(--sage-soft); color: var(--forest); display: grid; place-items: center; margin-bottom: 14px; }
.card .icon svg { width: 24px; height: 24px; }
.card p { color: var(--muted); margin: 0; }
.card ul { color: var(--muted); margin: 8px 0 0; padding-left: 20px; }
.card-highlight { background: var(--forest); border-color: var(--forest); color: var(--cream); }
.card-highlight h3 { color: var(--white); }
.card-highlight p { color: var(--sage-soft); }
.card-highlight .icon { background: var(--rust); color: var(--white); }

/* Phone frames */
.gallery { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
@media (max-width: 640px) { .gallery { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
.shot { margin: 0; text-align: center; }
.phone {
  width: 100%; max-width: 230px; margin: 0 auto 12px;
  aspect-ratio: 9 / 19.5; border-radius: 34px; padding: 10px;
  background: #121A15; box-shadow: var(--shadow);
}
.phone .screen {
  width: 100%; height: 100%; border-radius: 26px; overflow: hidden;
  background: var(--sage-soft); display: grid; place-items: center;
  color: var(--forest); font-size: .9rem; text-align: center; padding: 16px;
}
.phone .screen img { width: 100%; height: 100%; object-fit: cover; }
.shot figcaption { font-weight: 600; color: var(--forest); }
.shot figcaption span { display: block; font-weight: 400; color: var(--muted); font-size: .9rem; }

/* Lead capture */
.signup { background: var(--sage-soft); border-radius: var(--radius); padding: 32px; display: grid; gap: 24px; }
@media (min-width: 800px) { .signup { grid-template-columns: 1fr 1fr; align-items: center; } }
.signup h2 { font-size: 1.6rem; }
.signup form { display: flex; flex-wrap: wrap; gap: 10px; }
.signup label { flex-basis: 100%; font-weight: 600; color: var(--forest); }
.signup input[type="email"] { flex: 1 1 220px; min-height: 48px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; font: inherit; background: var(--white); }
.signup .fine { font-size: .85rem; color: var(--muted); flex-basis: 100%; margin: 0; }
.form-status { flex-basis: 100%; font-weight: 600; color: var(--forest); margin: 0; min-height: 1.6em; }

/* CTA band */
.cta-band { background: var(--forest); color: var(--cream); text-align: center; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: var(--sage-soft); max-width: 60ch; margin: 0 auto 8px; }
.cta-band .store-row { justify-content: center; }

/* Legal / content pages */
.page-head { background: var(--forest); color: var(--cream); padding: 44px 0; }
.page-head h1 { color: var(--white); font-size: clamp(1.9rem, 4.5vw, 2.8rem); }
.page-head p { color: var(--sage-soft); margin: 0; }
.prose { max-width: 760px; padding: 48px 20px 64px; margin: 0 auto; }
.prose h2 { font-size: 1.5rem; margin-top: 1.8em; }
.prose h3 { font-size: 1.15rem; margin-top: 1.4em; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: .4em; }
.callout { background: var(--sage-soft); border-left: 4px solid var(--forest); border-radius: 10px; padding: 16px 20px; margin: 24px 0; }
.toc { background: var(--cream-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px 16px 40px; }

/* FAQ */
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--forest); padding: 16px 0; list-style-position: outside; }
.faq details[open] summary { border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); margin: 24px 0; }
.contact-card .email { font-size: 1.2rem; font-weight: 700; }

/* Footer */
.site-footer { background: var(--forest); color: var(--sage-soft); padding: 40px 0; font-size: .95rem; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: flex-start; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; margin: 0; padding: 0; }
.footer-links a { color: var(--white); }
.footer-links a:hover { color: var(--sage); }
.site-footer .disclaimer { color: var(--sage); font-size: .85rem; max-width: 70ch; margin: 20px 0 0; }
.site-footer .brand-name { color: var(--white); }
