/* FermentAdvisor site — "Crock & Brine" theme (app theme port, 2026-08-24)
   Tokens from src/constants/theme.ts palette:
   bg #F4EDE0 oat cream · surface #DDD6CA stone · chrome #FBF7EF
   text #3A2E25 umber · muted #5E5346 taupe
   primary #B4552D terracotta · secondary #6E7B4F olive
   Light-first, warm ceramic-crock direction — deliberately distinct from
   BBQAdvisor's dark smoky theme. */

:root {
  --bg: #F4EDE0;
  --bg-raised: #DDD6CA;
  --bg-chrome: #FBF7EF;
  --text: #3A2E25;
  --text-2: #5E5346;
  --accent: #B4552D;
  --accent-strong: #954726;
  --secondary: #6E7B4F;
  --healthy: #6E7B4F;
  --caution: #D8912E;
  --discard: #A2321F;
  --border: #BDB2A0;
  --radius: 14px;
  --container: 1080px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--accent-strong); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* NAV */
.site-nav {
  background: var(--bg-chrome);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}

.site-nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
}
.site-nav__brand:hover { text-decoration: none; }
.site-nav__brand img { border-radius: 8px; }

.site-nav__links {
  display: flex;
  gap: 28px;
  list-style: none;
}
@media (max-width: 640px) { .site-nav__links { display: none; } }
.site-nav__links a { color: var(--text-2); font-size: 0.95rem; }
.site-nav__links a:hover { color: var(--text); text-decoration: none; }

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
}
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--accent); color: var(--bg-chrome); }
.btn--primary:hover { background: var(--accent-strong); }
.btn--ghost { border: 1px solid var(--border); color: var(--text); }
.btn--ghost:hover { background: var(--bg-raised); }
.btn--lg { padding: 15px 30px; font-size: 1rem; }

/* HERO */
.hero { padding: 76px 0 56px; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 860px) { .hero__grid { grid-template-columns: 1fr; } }

.hero__kicker {
  color: var(--accent-strong);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 14px;
}
.hero h1 {
  font-size: 2.6rem;
  line-height: 1.15;
  margin-bottom: 18px;
}
.hero__sub {
  color: var(--text-2);
  font-size: 1.08rem;
  max-width: 520px;
}
.hero__actions { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero__note { color: var(--text-2); font-size: 0.9rem; }

.hero__jar { display: flex; justify-content: center; }
.hero__jar svg { width: 100%; max-width: 320px; height: auto; }

/* BANDS */
section.band { padding: 64px 0; }
section.band--raised { background: var(--bg-raised); }
.band__title { font-size: 1.9rem; font-weight: 700; margin-bottom: 10px; }
.band__lede { color: var(--text-2); max-width: 640px; margin-bottom: 40px; }

/* MODES */
.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 780px) { .modes { grid-template-columns: 1fr; } }
.mode-card {
  background: var(--bg-chrome);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
section.band--raised .mode-card { background: var(--bg); }
.mode-card__step {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--secondary);
  margin-bottom: 12px;
}
.mode-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.mode-card p { color: var(--text-2); font-size: 0.97rem; }
.mode-card ul { margin: 14px 0 0 18px; color: var(--text-2); font-size: 0.95rem; }
.mode-card li { margin-bottom: 6px; }

/* ROSTER / CATEGORIES */
.roster { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 780px) { .roster { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .roster { grid-template-columns: 1fr; } }
.roster-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  background: var(--bg-chrome);
}
.roster-card__kicker {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--secondary);
  margin-bottom: 8px;
}
.roster-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.roster-card__list { color: var(--text-2); font-size: 0.92rem; }

/* PRICING */
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 820px; }
@media (max-width: 620px) { .pricing { grid-template-columns: 1fr; } }
.price-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--bg-chrome);
}
.price-card--pro { border-color: rgba(180, 85, 45, 0.45); background: var(--bg-raised); }
.price-card h3 { font-size: 1.2rem; }
.price-card__price { font-size: 1.7rem; font-weight: 700; margin: 8px 0 2px; }
.price-card__price small { font-size: 0.95rem; font-weight: 500; color: var(--text-2); }
.price-card__alt { color: var(--text-2); font-size: 0.9rem; margin-bottom: 16px; }
.price-card ul { list-style: none; margin-top: 14px; }
.price-card li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  color: var(--text-2);
  font-size: 0.96rem;
}
.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.price-card--pro li::before { background: var(--accent-strong); }

/* DOWNLOAD */
.download { text-align: center; padding: 80px 0; }
.download h2 { font-size: 1.9rem; margin-bottom: 10px; }
.download p { color: var(--text-2); max-width: 520px; margin: 0 auto 26px; }
.download__note {
  display: inline-block;
  border: 1px dashed var(--border);
  color: var(--text-2);
  border-radius: 10px;
  padding: 14px 28px;
  font-size: 0.95rem;
}

/* Inner pages (privacy / terms) */
.inner-page__hero {
  padding: 56px 0 36px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-raised);
}
.inner-page__hero h1 { font-size: 2.1rem; }
.inner-page__hero p { color: var(--text-2); margin-top: 6px; }
.inner-page__body { padding: 48px 0 72px; max-width: 780px; margin: 0 auto; }
.inner-page__body { padding-left: 24px; padding-right: 24px; }
.inner-page__body section { margin-bottom: 40px; }
.inner-page__body h2 {
  font-size: 1.4rem;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.inner-page__body h3 { font-size: 1.1rem; margin: 22px 0 8px; color: var(--accent-strong); }
.inner-page__body p { margin-bottom: 12px; color: var(--text-2); }
.inner-page__body strong { color: var(--text); }
.inner-page__body ul, .inner-page__body ol { margin: 0 0 14px 22px; color: var(--text-2); }
.inner-page__body li { margin-bottom: 7px; }

/* FOOTER */
.site-footer {
  background: var(--bg-chrome);
  border-top: 1px solid var(--border);
  padding: 40px 0 24px;
}
.site-footer__grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.site-footer__brand-row { display: flex; align-items: center; gap: 10px; }
.site-footer__logo { border-radius: 8px; }
.site-footer__name { font-weight: 700; }
.site-footer__nav { display: flex; flex-direction: column; gap: 8px; }
.site-footer__nav a { color: var(--text-2); font-size: 0.92rem; }
.site-footer__nav a:hover { color: var(--text); }
.site-footer__nav-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-2);
  margin-bottom: 4px;
}
.site-footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 18px;
  color: var(--text-2);
  font-size: 0.85rem;
}
