/* HomeSown marketing site — hand-written CSS, no framework/build.
   Designed for an older-skewing audience: large readable type, high contrast,
   big tap targets, generous spacing. Brand green #3a7d44. */

:root {
  --green: #3a7d44;
  --green-dark: #2c5f34;
  --green-light: #eaf3ec;
  --cream: #faf8f3;
  --ink: #1f2a24;
  --muted: #5b6b61;
  --line: #e3e0d8;
  --radius: 16px;
  --maxw: 1080px;
  --shadow: 0 6px 24px rgba(31, 42, 36, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 18px;            /* large base for readability */
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); margin: 0 0 0.4em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); margin: 0 0 0.5em; }
h3 { font-size: 1.25rem; margin: 0 0 0.35em; }
p { margin: 0 0 1em; }
a { color: var(--green-dark); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 14px 26px;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid var(--green);
  transition: background .15s, transform .1s;
}
.btn:hover { background: var(--green-dark); border-color: var(--green-dark); }
.btn:active { transform: translateY(1px); }
.btn-outline { background: #fff; color: var(--green-dark); }
.btn-outline:hover { background: var(--green-light); }
.btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }

/* ---- Coming-soon banner ---- */
.banner {
  background: var(--green-dark);
  color: #fff;
  text-align: center;
  font-weight: 600;
  padding: 12px 16px;
  font-size: 1.02rem;
}
.banner strong { font-weight: 800; }

/* ---- Header / nav ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 248, 243, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; max-width: var(--maxw); margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.3rem; color: var(--ink); text-decoration: none; }
.brand svg { width: 30px; height: 30px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 600; }
.nav-links a:hover { color: var(--green-dark); }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.8rem; cursor: pointer; color: var(--ink); }

/* ---- Sections ---- */
section { padding: 72px 0; }
.section-alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; font-weight: 800; color: var(--green); margin-bottom: 10px; }
.lead { font-size: 1.25rem; color: var(--muted); max-width: 60ch; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---- Hero ---- */
.hero { padding: 84px 0 64px; }
.hero .lead { margin-bottom: 28px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.store-note { color: var(--muted); font-size: .95rem; margin-top: 14px; }

/* ---- Feature grid ---- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.section-alt .card { background: var(--cream); }
.card .ico { font-size: 2rem; display: block; margin-bottom: 10px; }
.card h3 { margin-bottom: 6px; }
.card p { margin: 0; color: var(--muted); font-size: 1rem; }

/* ---- Highlight (recipes) ---- */
.highlight { background: var(--green-light); border-radius: 24px; padding: 48px; }
.highlight h2 { color: var(--green-dark); }

/* ---- Screenshot placeholders ---- */
.shot {
  background: repeating-linear-gradient(45deg, #eee, #eee 12px, #f6f6f6 12px, #f6f6f6 24px);
  border: 2px dashed #c9c9c9; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: #8a8a8a; font-weight: 600; min-height: 240px; text-align: center; padding: 16px;
}
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

/* ---- Footer ---- */
.site-footer { background: var(--ink); color: #d8e0da; padding: 48px 0 32px; }
.site-footer a { color: #d8e0da; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.foot-grid { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.foot-links { display: flex; flex-wrap: wrap; gap: 22px; }
.foot-pledge { max-width: 42ch; color: #aebbb2; font-size: .95rem; }
.foot-bottom { border-top: 1px solid #38463d; margin-top: 32px; padding-top: 20px; color: #9fb0a6; font-size: .9rem; }

/* ---- Generic prose page (mission/privacy/terms) ---- */
.prose { max-width: 70ch; }
.prose h2 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }

/* ---- Responsive ---- */
@media (max-width: 820px) {
  .grid, .shots { grid-template-columns: 1fr 1fr; }
  .highlight { padding: 32px; }
}
@media (max-width: 600px) {
  .grid, .shots { grid-template-columns: 1fr; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--cream);
    border-bottom: 1px solid var(--line); padding: 8px 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 24px; width: 100%; }
  .nav-toggle { display: block; }
  section { padding: 56px 0; }
}

/* Accessible focus */
a:focus-visible, button:focus-visible, .btn:focus-visible {
  outline: 3px solid var(--green); outline-offset: 2px; border-radius: 4px;
}
