:root {
    --bg: #f7f6f2;
    --text: #1a1a1a;
    --muted: #6f6f6f;
    --accent: #f97316;
    --accent-dark: #c2410c;
    --surface: #ffffff;
    --border: rgba(25, 25, 25, 0.08);
    --shadow: 0 24px 60px rgba(10, 10, 10, 0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: "Manrope", sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
}

.bg-orb {
    position: fixed;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
    z-index: -1;
}
.bg-orb.one { background: #fde68a; top: -120px; right: -80px; }
.bg-orb.two { background: #bbf7d0; bottom: -100px; left: -120px; }

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

.site-header {
    position: sticky;
    top: 0;
    background: rgba(247, 246, 242, 0.9);
    backdrop-filter: blur(12px);
    z-index: 10;
    border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; }
.logo { font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: 22px; }
.nav a { margin-left: 18px; text-decoration: none; color: var(--text); font-weight: 500; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}
.btn.primary { background: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--accent-dark); }
.btn.ghost { border: 1px solid var(--border); background: transparent; }
.btn.dark { background: var(--text); color: #fff; }

.hero { padding: 80px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(32px, 4vw, 56px); font-family: "Space Grotesk", sans-serif; }
.hero p { margin-top: 16px; color: var(--muted); font-size: 18px; }
.hero-actions { margin-top: 24px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-metrics { margin-top: 24px; display: flex; gap: 20px; }
.hero-metrics strong { font-size: 20px; display: block; }
.hero-metrics span { color: var(--muted); font-size: 13px; }
.hero-card {
    background: var(--surface);
    padding: 32px;
    border-radius: 24px;
    box-shadow: var(--shadow);
}
.hero-card-top span { font-size: 13px; color: var(--muted); }
.hero-card-top h3 { font-size: 24px; margin: 8px 0; }
.hero-card ul { margin-top: 20px; list-style: none; }
.hero-card li { padding: 10px 0; border-bottom: 1px solid var(--border); }
.hero-card li:last-child { border-bottom: none; }

.pill {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(249, 115, 22, 0.12);
    color: var(--accent-dark);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.section { padding: 70px 0; }
.section.muted { background: #fff; }
.section-head { display: flex; justify-content: space-between; gap: 30px; margin-bottom: 30px; }
.section-head h2 { font-size: 32px; }

.filters { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.filters select { padding: 10px 14px; border-radius: 12px; border: 1px solid var(--border); background: #fff; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.card {
    background: var(--surface);
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    border: 1px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-image { height: 160px; background-size: cover; background-position: center; }
.card-body { padding: 20px; }
.card-meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.card h3 { margin: 10px 0; font-size: 20px; }
.card p { color: var(--muted); font-size: 14px; }
.card-macros { margin-top: 12px; font-weight: 600; font-size: 13px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.checklist { margin-top: 20px; list-style: none; }
.checklist li { padding-left: 26px; position: relative; margin-bottom: 12px; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

.insight { background: #fef3c7; padding: 32px; border-radius: 24px; }
.insight-grid { display: flex; gap: 24px; margin-top: 20px; }
.insight-grid strong { font-size: 22px; display: block; }

.guide-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.guide-grid div { background: #fff; padding: 24px; border-radius: 18px; border: 1px solid var(--border); }

.site-footer { padding: 50px 0 20px; border-top: 1px solid var(--border); background: #fff; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; }
.footer-grid a { display: block; color: var(--text); text-decoration: none; margin-top: 8px; }

.footer-bottom { text-align: center; margin-top: 24px; color: var(--muted); font-size: 13px; }

.recipe-layout { display: grid; grid-template-columns: 0.7fr 1fr; gap: 40px; }
.recipe-media { border-radius: 24px; min-height: 320px; background-size: cover; background-position: center; box-shadow: var(--shadow); }
.recipe-content h1 { font-size: 36px; margin-top: 14px; }
.recipe-content .lead { color: var(--muted); margin: 12px 0; }
.recipe-macros { margin: 16px 0; font-weight: 600; }
.recipe-block { margin-top: 24px; background: #fff; padding: 24px; border-radius: 18px; border: 1px solid var(--border); }
.recipe-meta { display: flex; gap: 30px; margin: 24px 0; }
.recipe-meta span { color: var(--muted); font-size: 12px; }

.admin-body { display: flex; align-items: center; justify-content: center; background: #f8fafc; min-height: 100vh; }
.admin-card, .admin-panel { background: #fff; padding: 32px; border-radius: 18px; box-shadow: var(--shadow); width: min(900px, 92vw); }
.admin-card { width: min(360px, 90vw); }
.admin-card input, .admin-form input, .admin-form textarea, .admin-form select {
    width: 100%; padding: 10px 12px; margin-bottom: 14px; border-radius: 12px; border: 1px solid var(--border);
}
.admin-form textarea { resize: vertical; }
.admin-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.admin-table .row { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.admin-table .head { font-weight: 600; }
.admin-table .actions a { margin-right: 10px; text-decoration: none; color: var(--accent-dark); }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 16px; }
.checkbox { display: flex; align-items: center; gap: 10px; margin: 12px 0; }
.error { color: #dc2626; margin-bottom: 12px; }

@media (max-width: 900px) {
    .hero-grid, .split, .recipe-layout { grid-template-columns: 1fr; }
    .section-head { flex-direction: column; }
    .nav { display: none; }
}
