:root {
  --primary: #1f5a41;
  --bg: #faf7f2;
  --surface: #ffffff;
  --text: #1e1e1c;
  --muted: #5f5a52;
  --border: #e7e1d8;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
header, main, footer { max-width: 720px; margin: 0 auto; padding: 0 16px; }
header {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px;
  padding-top: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--border);
}
.brand { font-weight: 700; font-size: 20px; color: var(--primary); text-decoration: none; }
nav { display: flex; flex-wrap: wrap; gap: 4px 16px; }
nav a { color: var(--muted); text-decoration: none; padding: 6px 0; }
nav a[aria-current="page"] { color: var(--primary); font-weight: 600; }
main { padding-top: 32px; padding-bottom: 48px; }
h1 { font-size: 32px; line-height: 1.2; margin: 0 0 8px; }
h2 { font-size: 21px; margin: 32px 0 8px; }
h3 { font-size: 17px; margin: 24px 0 4px; }
.meta { color: var(--muted); font-size: 15px; margin: 0 0 24px; }
a { color: var(--primary); }
ul { padding-left: 20px; }
li { margin: 6px 0; }
.links { list-style: none; padding: 0; }
.links a { display: inline-block; padding: 8px 0; font-weight: 600; }
footer { color: var(--muted); font-size: 15px; padding-top: 24px; padding-bottom: 32px; border-top: 1px solid var(--border); }

/* Tarif sayfaları (scripts/web/build-recipes.mjs üretir) */
.recipe main { padding-top: 16px; padding-bottom: 96px; }
.lead { color: var(--muted); margin: 0 0 24px; }
.hero { position: relative; margin: 0 -16px; overflow: hidden; background: var(--primary); }
.hero img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.hero .placeholder { display: block; aspect-ratio: 3 / 2; background: linear-gradient(135deg, #2f6b52, var(--primary)); }
.hero figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 16px 14px; color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, 0.72)); }
.hero h1 { color: #fff; margin: 0; font-size: 30px; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.credit { color: var(--muted); font-size: 13px; margin: 6px 0 0; }
.chips { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { margin: 0; padding: 4px 12px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); font-size: 14px; }
.ingredients { margin-top: 20px; padding: 4px 16px 12px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); }
.ingredients h2 { margin-top: 12px; }
.ingredients ul { list-style: none; padding: 0; margin: 0; }
.ingredients li { display: flex; justify-content: space-between; gap: 16px; margin: 0; padding: 9px 0; border-top: 1px solid var(--border); }
.ingredients li strong { color: var(--muted); font-weight: 600; text-align: right; }
.note { color: var(--muted); font-size: 14px; margin: 8px 0 0; }
.steps ol { padding-left: 22px; }
.steps li { margin: 0 0 12px; }
.recipe-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.recipe-card { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: var(--surface); color: var(--text); text-decoration: none; }
.recipe-card img, .recipe-card .placeholder { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.recipe-card .placeholder { background: linear-gradient(135deg, #e9f1ec, #d5e5dc); }
.recipe-card-name { padding: 8px 10px 0; font-weight: 600; font-size: 15px; line-height: 1.3; }
.recipe-card-meta { padding: 2px 10px 10px; color: var(--muted); font-size: 13px; }
.download { margin-top: 32px; padding: 16px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); }
.download h2 { margin-top: 0; }
.stores { display: flex; flex-wrap: wrap; gap: 10px; }
.store { display: inline-block; min-height: 44px; padding: 11px 16px; border-radius: 10px; background: #111; color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; }
.cta-bar { position: fixed; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--primary); color: #fff; }
.cta-bar div { flex: 1; display: flex; flex-direction: column; font-size: 14px; line-height: 1.35; max-width: 640px; margin-left: auto; }
.cta-button { min-height: 44px; display: inline-flex; align-items: center; padding: 0 18px; border-radius: 999px; background: #fff; color: var(--primary); font-weight: 700; text-decoration: none; margin-right: auto; }
@media (min-width: 752px) { .hero { margin: 0; border-radius: 16px; } }
