/* Homeplate Weekly (MealSubBox template) — design system.
   Farm-table theme: deep basil green + warm squash orange on a soft oat
   cream — deliberately distinct from the plum/gold SubBoxBiz, navy-amber
   PetCareBox, forest-green LawnCareBox, teal-coral MoveInServicesBox, and
   plum/berry ResaleBox palettes sitting next to it in the same account. */

:root {
  --hp-basil: #263c2c;
  --hp-basil-2: #33502f;
  --hp-ink: #26231d;
  --hp-slate: #5c5648;
  --hp-tan: #a89a80;
  --hp-tan-light: #e3d9c4;
  --hp-cream: #faf6ed;
  --hp-oat: #f1e7d2;
  --hp-white: #ffffff;
  --hp-squash: #d97b29;
  --hp-squash-dark: #b3611b;
  --hp-tomato: #b23c2e;
  --hp-tomato-dark: #8f2f24;
  --hp-line: rgba(255, 255, 255, 0.14);
  --hp-line-dark: rgba(38, 35, 29, 0.13);
  --font-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 6px 20px rgba(38, 35, 29, 0.14);
  --shadow-lg: 0 14px 36px rgba(38, 35, 29, 0.2);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--hp-ink);
  background: var(--hp-cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--hp-squash-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-base);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--hp-basil);
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hp-squash-dark);
  margin-bottom: 10px;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; color: var(--hp-slate); }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 64px 0; }
.section-dark { background: var(--hp-basil); color: var(--hp-white); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--hp-white); }
.section-dark p { color: var(--hp-tan-light); }

/* ── Woven-stripe divider ─────────────────────────────────────────────── */
.ribbon-stripe {
  height: 10px;
  background: repeating-linear-gradient(
    -45deg, var(--hp-tomato), var(--hp-tomato) 16px, var(--hp-squash) 16px, var(--hp-squash) 32px
  );
}

/* ── Buttons ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 26px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.01em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none;
  min-height: 48px;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(0.98); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

.btn-primary { background: var(--hp-squash); color: var(--hp-white); box-shadow: var(--shadow); }
.btn-primary:hover:not(:disabled) { background: var(--hp-squash-dark); }

.btn-outline { background: transparent; border-color: currentColor; color: var(--hp-white); }
.btn-outline:hover:not(:disabled) { background: rgba(255, 255, 255, 0.1); }

.btn-outline-dark { background: transparent; border-color: var(--hp-basil); color: var(--hp-basil); }
.btn-outline-dark:hover:not(:disabled) { background: rgba(38, 60, 44, 0.06); }

.btn-block { width: 100%; }

/* ── Nav ───────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--hp-basil);
  border-bottom: 3px solid var(--hp-squash);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: 1160px;
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--hp-white);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.01em;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 36px; height: 36px;
  background: var(--hp-squash);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--hp-basil);
  font-weight: 900;
  flex-shrink: 0;
}
.nav-links {
  display: none;
  align-items: center;
  gap: 24px;
}
.nav-links a {
  color: var(--hp-tan-light);
  font-weight: 700;
  font-size: 0.9rem;
}
.nav-links a:hover { color: var(--hp-white); text-decoration: none; }
.nav-cta { display: none; }
.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  background: transparent;
  border: 2px solid var(--hp-line);
  border-radius: var(--radius);
  color: var(--hp-white);
  cursor: pointer;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--hp-basil-2);
  border-top: 1px solid var(--hp-line);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 16px 20px;
  color: var(--hp-white);
  font-weight: 700;
  border-bottom: 1px solid var(--hp-line);
  font-size: 0.95rem;
}
.mobile-menu a:hover { text-decoration: none; background: rgba(255,255,255,0.04); }
.mobile-menu .btn { margin: 16px 20px; }

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .mobile-menu { display: none !important; }
}

/* ── Hero ──────────────────────────────────────────────────────────────── */
.hero {
  background:
    linear-gradient(rgba(38,60,44,0.90), rgba(38,60,44,0.95)),
    radial-gradient(circle at 15% 25%, rgba(255,255,255,0.06) 0, transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(255,255,255,0.05) 0, transparent 50%),
    var(--hp-basil);
  color: var(--hp-white);
  padding: 56px 0 64px;
}
.hero h1 { color: var(--hp-white); }
.hero p { max-width: 560px; color: var(--hp-tan-light); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* ── Cards / grids ─────────────────────────────────────────────────────── */
.grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--hp-white);
  border: 1px solid var(--hp-line-dark);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow);
}
.card-icon {
  width: 48px; height: 48px;
  background: var(--hp-basil);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--hp-squash);
  margin-bottom: 16px;
}

.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--hp-tomato);
  color: var(--hp-white);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ── Menu items ────────────────────────────────────────────────────────── */
.menu-item {
  background: var(--hp-white);
  border: 1px solid var(--hp-line-dark);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.menu-item .menu-item-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.menu-item .menu-cat {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--hp-squash-dark);
  margin-bottom: 4px;
}
.allergen-tag {
  margin-top: 10px;
  padding: 10px 12px;
  background: var(--hp-oat);
  border-left: 4px solid var(--hp-tomato);
  border-radius: 4px;
  font-size: 0.85rem;
  color: var(--hp-ink);
  font-weight: 600;
}

/* ── Pricing / plan cards ─────────────────────────────────────────────── */
.price-card {
  background: var(--hp-white);
  border: 2px solid var(--hp-line-dark);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.price-card.featured { border-color: var(--hp-squash); box-shadow: var(--shadow-lg); position: relative; }
.price-card .price-amount { font-size: 2.4rem; font-weight: 900; color: var(--hp-basil); }
.price-card .price-amount span { font-size: 1rem; font-weight: 700; color: var(--hp-slate); }
.price-card .price-items { color: var(--hp-squash-dark); font-weight: 800; font-size: 0.9rem; }
.price-card ul { margin: 8px 0; padding-left: 18px; color: var(--hp-slate); font-size: 0.92rem; }
.price-card .btn { margin-top: auto; }

/* ── Service-area zip chips ───────────────────────────────────────────── */
.zip-grid { display: flex; flex-wrap: wrap; gap: 10px; }

/* ── Forms ─────────────────────────────────────────────────────────────── */
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 6px;
  color: var(--hp-basil);
}
.field .hint { font-size: 0.78rem; color: var(--hp-tan); margin-top: 4px; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border-radius: var(--radius);
  border: 2px solid var(--hp-line-dark);
  font-size: 16px;
  font-family: var(--font-base);
  background: var(--hp-white);
  color: var(--hp-ink);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--hp-squash);
}
.field textarea { min-height: 120px; resize: vertical; }
.field-row { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .field-row-2 { grid-template-columns: 1fr 1fr; } }

.form-card {
  background: var(--hp-white);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  box-shadow: var(--shadow-lg);
  max-width: 640px;
  margin: 0 auto;
}
.form-msg { padding: 14px; border-radius: var(--radius); margin-bottom: 18px; font-weight: 700; display: none; }
.form-msg.success { background: #e2f2ea; color: #1f7a45; display: block; }
.form-msg.error { background: #fbe6e0; color: #a5321a; display: block; }
.form-msg.info { background: var(--hp-oat); color: var(--hp-basil); display: block; }

/* ── FAQ accordion ─────────────────────────────────────────────────────── */
.faq-item {
  border-bottom: 1px solid var(--hp-line-dark);
  padding: 18px 0;
}
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 800;
  gap: 12px;
}
.faq-q .plus { flex-shrink: 0; font-size: 1.3rem; color: var(--hp-squash-dark); transition: transform 0.15s; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { display: none; margin-top: 10px; color: var(--hp-slate); }
.faq-item.open .faq-a { display: block; }

/* ── Chips ─────────────────────────────────────────────────────────────── */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  padding: 9px 16px;
  background: var(--hp-white);
  border: 1px solid var(--hp-line-dark);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--hp-basil);
}

/* ── Steps (how it works) ─────────────────────────────────────────────── */
.step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.step-num {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--hp-squash);
  color: var(--hp-white);
  font-weight: 900;
  display: flex; align-items: center; justify-content: center;
}

/* ── Footer ────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--hp-basil);
  color: var(--hp-tan-light);
  padding: 48px 0 28px;
}
.site-footer h4 { color: var(--hp-white); font-size: 1rem; letter-spacing: 0.02em; }
.site-footer p { color: var(--hp-tan-light); }
.site-footer .notice { color: var(--hp-tan); }
.site-footer a { color: var(--hp-tan-light); }
.site-footer a:hover { color: var(--hp-white); }
.footer-grid { display: grid; gap: 30px; grid-template-columns: 1fr; margin-bottom: 30px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-bottom {
  border-top: 1px solid var(--hp-line);
  padding-top: 20px;
  font-size: 0.82rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}
.footer-bottom a { margin-right: 14px; }

/* ── Trust / notice banners ───────────────────────────────────────────── */
.notice {
  background: var(--hp-oat);
  border-left: 4px solid var(--hp-squash);
  padding: 16px 18px;
  border-radius: 4px;
  font-size: 0.92rem;
  color: var(--hp-slate);
}
.notice.warn { background: #fbe6e0; border-left-color: var(--hp-tomato-dark); color: #7c2c1a; }

/* ── Utilities ─────────────────────────────────────────────────────────── */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.max-w-prose { max-width: 680px; }
.center { margin-left: auto; margin-right: auto; }
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--hp-squash); color: white; padding: 12px 16px; z-index: 200;
}
.skip-link:focus { left: 10px; top: 10px; }
