:root {
  --bg: #fffdf6;
  --surface: #ffffff;
  --ink: #222222;
  --muted: #6b7280;
  --brand: #2e7d32; /* green */
  --accent: #ff7043; /* orange */
  --ring: rgba(46, 125, 50, 0.35);
  --shadow: 0 1px 2px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.06);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--ink);
  background: linear-gradient(180deg, var(--bg), #fff);
  line-height: 1.6;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: min(1100px, 92%); margin: 0 auto; }

/* Header */
.site-header {
  background: var(--surface);
  box-shadow: var(--shadow);
  position: sticky; top: 0; z-index: 10;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 0.8rem 0; }
.brand { font-weight: 700; font-size: 1.1rem; color: var(--ink); }

.site-nav { display: flex; gap: 1rem; align-items: center; }
.site-nav a { color: var(--ink); padding: 0.4rem 0.6rem; border-radius: 6px; }
.site-nav a[aria-current="page"] { background: #eaf6ec; color: #1b5e20; }

.nav-toggle { display: none; border: 0; background: transparent; font-size: 1.4rem; }

/* Hero */
.hero { padding: 3.2rem 0 2.2rem; background: radial-gradient(60% 80% at 10% 10%, #eaf6ec 0%, transparent 60%), radial-gradient(60% 80% at 90% 0%, #fff0e9 0%, transparent 60%); }
.hero-inner { text-align: center; }
.hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 0.5rem; }
.hero p { color: var(--muted); margin: 0 auto 1.2rem; max-width: 52ch; }
.hero-cta { display: flex; gap: 0.6rem; justify-content: center; flex-wrap: wrap; }

.btn { display: inline-block; padding: 0.6rem 0.9rem; border-radius: 10px; background: var(--surface); border: 1px solid #e5e7eb; color: var(--ink); box-shadow: var(--shadow); }
.btn.primary { background: var(--brand); color: #fff; border-color: transparent; }
.btn:hover { transform: translateY(-1px); transition: transform 120ms ease; text-decoration: none; }

/* Sections */
.section { padding: 2rem 0; }
.section.alt { background: #fafaf9; border-top: 1px solid #f0f0ef; border-bottom: 1px solid #f0f0ef; }
.two-col { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.4rem; align-items: start; }
.callout { background: var(--surface); border: 1px solid #e5e7eb; border-radius: 12px; padding: 1rem; box-shadow: var(--shadow); }

.lead { color: var(--muted); }

/* Cards */
.grid { display: grid; gap: 1rem; }
.cards { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin-top: 0.8rem; }
.card { background: var(--surface); border: 1px solid #e5e7eb; border-radius: 12px; padding: 1rem; box-shadow: var(--shadow); }
.card-emoji { font-size: 1.8rem; }

/* Recipes */
.recipe { background: var(--surface); border: 1px solid #e5e7eb; border-radius: 12px; padding: 1rem; margin: 1rem 0; box-shadow: var(--shadow); }
.recipe-meta { color: var(--muted); font-size: 0.95rem; margin-top: -0.4rem; margin-bottom: 0.6rem; }
.recipe-body { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }

/* Tips */
.tips { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 1rem; }
.tip { background: var(--surface); border: 1px solid #e5e7eb; border-radius: 12px; padding: 1rem; box-shadow: var(--shadow); }

/* Lists */
.checklist li::marker { content: "✔  "; color: var(--brand); }
.dash { padding-left: 1.1rem; }
.dash li { list-style: '–  '; }

/* Footer */
.site-footer { border-top: 1px solid #eee; margin-top: 2rem; background: var(--surface); }
.footer-inner { padding: 1rem 0; color: var(--muted); font-size: 0.95rem; text-align: center; }

/* Backlinks */
.backlinks { margin-top: 1rem; display: flex; gap: 0.6rem; flex-wrap: wrap; }

/* Responsive nav */
@media (max-width: 760px) {
  .nav-toggle { display: inline-block; }
  .site-nav { position: absolute; right: 4%; top: 56px; background: var(--surface); border: 1px solid #e5e7eb; border-radius: 10px; padding: 0.4rem; flex-direction: column; gap: 0.2rem; min-width: 160px; box-shadow: var(--shadow); display: none; }
  .site-nav.open { display: flex; }
  .two-col { grid-template-columns: 1fr; }
}

/* Focus styles */
:is(a, button, .btn):focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; border-radius: 10px; }

