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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #faf7f2;
    color: #2c2c2c;
    line-height: 1.7;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #fff;
    padding: 5rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.03) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.tag {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 0.4rem 1rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-family: 'DM Serif Display', serif;
    font-size: 3.5rem;
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.hero-desc {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.75);
    max-width: 500px;
    margin: 0 auto 1.5rem;
}

.meta-row {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}

.meta-row span {
    background: rgba(255,255,255,0.06);
    padding: 0.4rem 0.9rem;
    border-radius: 6px;
}

/* Main content */
.container {
    max-width: 780px;
    margin: 0 auto;
    padding: 2rem 1.5rem 4rem;
}

.card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem 2.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.06);
}

.card h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.6rem;
    font-weight: 400;
    margin-bottom: 1.25rem;
    color: #1a1a2e;
}

/* Ingredients */
.ingredient-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

@media (max-width: 600px) {
    .ingredient-grid {
        grid-template-columns: 1fr;
    }
}

.ingredient-group h3 {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #888;
    margin-bottom: 0.75rem;
}

.ingredient-group ul {
    list-style: none;
}

.ingredient-group li {
    margin-bottom: 0.3rem;
}

.ingredient-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.95rem;
    padding: 0.25rem 0;
    transition: color 0.15s;
}

.ingredient-group input[type="checkbox"] {
    accent-color: #0f3460;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.ingredient-group input[type="checkbox"]:checked + label,
.ingredient-group label:has(input:checked) {
    color: #999;
    text-decoration: line-through;
}

.note {
    font-size: 0.8rem;
    color: #999;
    font-style: italic;
}

/* Steps */
.step {
    display: flex;
    gap: 1rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid #f0ede8;
}

.step:last-child {
    border-bottom: none;
}

.step-num {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: #1a1a2e;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
}

.step-body h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: #1a1a2e;
}

.step-body p {
    margin-bottom: 0.4rem;
    color: #555;
}

.step-body ul {
    margin: 0.3rem 0 0.3rem 1.25rem;
    color: #555;
}

.step-body li {
    margin-bottom: 0.15rem;
}

.pro-tip {
    background: #fef9e7;
    border-left: 3px solid #f0b429;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.88rem;
    color: #7a6500 !important;
    margin-top: 0.5rem;
}

/* Tips section */
.tips ul {
    list-style: none;
}

.tips li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0ede8;
    font-size: 0.95rem;
    color: #555;
}

.tips li:last-child {
    border-bottom: none;
}

/* Footer */
footer {
    text-align: center;
    font-size: 0.85rem;
    color: #999;
    padding-top: 2rem;
}

footer a {
    color: #0f3460;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Print styles */
@media print {
    .hero {
        padding: 1.5rem;
    }
    .card {
        box-shadow: none;
        border: 1px solid #ddd;
        break-inside: avoid;
    }
    input[type="checkbox"] {
        print-color-adjust: exact;
    }
}
