:root {
  --bg: #FBF7F0;
  --card: #FFFFFF;
  --ink: #3B2A1A;
  --muted: #8A6E4A;
  --accent: #D97B29;
  --border: #E8DCC8;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: -apple-system, "Segoe UI", Roboto, sans-serif; background: var(--bg); color: var(--ink); }
header { display:flex; justify-content:space-between; align-items:center; padding: 18px 24px; border-bottom: 1px solid var(--border); background: var(--card); }
.brand { font-size: 1.3rem; font-weight: 700; }
nav a { color: var(--accent); text-decoration: none; font-weight: 600; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 28px 24px 60px; }
.wrap.narrow { max-width: 760px; }
h1 { font-size: 2rem; margin: 0 0 8px; }
h2 { color: var(--muted); font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; margin: 32px 0 14px; }
h3 { font-size: 1rem; margin: 0 0 8px; }
.meta { color: var(--muted); margin: 0 0 12px; }
.desc { font-size: 1.05rem; line-height: 1.5; color: #5C4636; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; margin-top: 18px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; text-decoration: none; color: inherit; transition: transform .15s ease, box-shadow .15s ease; }
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(59,42,26,.12); }
.thumb { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; background: #F1E8DA; }
.card-body { padding: 14px 16px 18px; }
.card h2 { font-size: 1.15rem; margin: 0 0 6px; color: var(--ink); text-transform: none; letter-spacing: 0; }
.card p { margin: 0; }
.card .desc { font-size: .92rem; color: #5C4636; margin-top: 8px; }
.ingredients { list-style: none; padding: 0; margin: 0; }
.ingredients li { padding: 8px 0; border-bottom: 1px dashed var(--border); }
.ingredients label { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.ingredients input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--accent); }
.steps { list-style: none; padding: 0; counter-reset: step; }
.steps li { position: relative; padding: 14px 0 18px 56px; border-bottom: 1px solid var(--border); }
.steps li:last-child { border-bottom: 0; }
.step-num { position: absolute; left: 0; top: 14px; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.step-time { color: var(--muted); font-size: .85rem; margin-left: 10px; }
.embed-hint { margin-top: 32px; padding: 14px 16px; background: #FFF3E3; border: 1px solid var(--border); border-radius: 10px; font-size: .9rem; }
.embed-hint code { background: #fff; padding: 2px 6px; border-radius: 4px; font-size: .85rem; }
footer { text-align: center; padding: 20px; color: var(--muted); font-size: .85rem; border-top: 1px solid var(--border); background: var(--card); }
.muted { color: var(--muted); font-size: .85rem; }
@media (max-width: 560px) { .wrap { padding: 20px 16px 40px; } h1 { font-size: 1.5rem; } }

.cta, .card-cta { display: inline-block; background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; font-weight: 700; margin-top: 10px; font-size: .95rem; }
.cta:hover, .card-cta:hover { background: #E8863A; }
.card-cta { display: inline-block; margin-top: 10px; padding: 8px 12px; font-size: .85rem; }
.card { display: block; }
