*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
:root{
  --bg:#faf7f2;
  --bg-card:#fff;
  --text:#3d3426;
  --text-muted:#6b5e4f;
  --accent:#c8763e;
  --accent-light:#f5ebe0;
  --accent-dark:#8b4f1e;
  --green:#5a7247;
  --border:#e8dfd4;
  --radius:10px;
  --font-heading:'Georgia',serif;
  --font-body:'Segoe UI',-apple-system,BlinkMacSystemFont,sans-serif;
}
body{font-family:var(--font-body);line-height:1.7;color:var(--text);background:var(--bg)}
a{color:var(--accent-dark);text-decoration:none;transition:color .2s}
a:hover{color:var(--accent)}
img{max-width:100%;height:auto;display:block;border-radius:var(--radius)}
.container{max-width:1060px;margin:0 auto;padding:0 1.5rem}

/* Header */
header{background:var(--bg-card);border-bottom:1px solid var(--border);padding:.9rem 0}
header nav{display:flex;justify-content:space-between;align-items:center;max-width:1060px;margin:0 auto;padding:0 1.5rem}
.brand{display:flex;align-items:center;gap:.5rem;font-family:var(--font-heading);font-weight:700;font-size:1.2rem;color:var(--text);text-decoration:none}
.brand svg{width:30px;height:30px}
.nav-links{display:flex;gap:1.8rem}
.nav-links a{color:var(--text-muted);font-size:.9rem;font-weight:500}
.nav-links a:hover{color:var(--accent-dark)}

/* Hero */
.hero{padding:4.5rem 1.5rem;text-align:center;background:var(--accent-light);border-bottom:1px solid var(--border)}
.hero h1{font-family:var(--font-heading);font-size:2.6rem;font-weight:700;margin-bottom:1rem;color:var(--text)}
.hero p{font-size:1.1rem;color:var(--text-muted);max-width:580px;margin:0 auto 1.5rem}
.hero-img{max-width:850px;margin:2rem auto 0;border-radius:var(--radius);overflow:hidden;box-shadow:0 8px 30px rgba(0,0,0,.08)}
.hero-img img{width:100%;height:380px;object-fit:cover}

/* Sections */
section{padding:4rem 0}
section.alt{background:var(--bg-card)}
h2{font-family:var(--font-heading);font-size:1.7rem;font-weight:700;margin-bottom:1.2rem;color:var(--text)}
h3{font-family:var(--font-heading);font-size:1.15rem;font-weight:600;margin-bottom:.6rem;color:var(--text)}
p{margin-bottom:1rem;color:var(--text-muted)}

/* Grid */
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:1.8rem}
.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:2.5rem;align-items:center}
.card{background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius);padding:1.5rem;transition:box-shadow .2s}
.card:hover{box-shadow:0 4px 20px rgba(0,0,0,.06)}
.card img{margin-bottom:1rem;height:200px;object-fit:cover;width:100%;border-radius:8px}

/* Button */
.btn{display:inline-block;background:var(--accent);color:#fff;padding:.7rem 1.6rem;border-radius:var(--radius);font-weight:600;font-size:.95rem;transition:background .2s}
.btn:hover{background:var(--accent-dark);color:#fff}

/* Article */
.article-header{padding:4rem 1.5rem 2rem;text-align:center;background:var(--accent-light);border-bottom:1px solid var(--border)}
.article-header h1{font-family:var(--font-heading);font-size:2.1rem;color:var(--text);margin-bottom:.5rem}
.article-header .meta{color:var(--text-muted);font-size:.9rem}
.article-content{max-width:720px;margin:0 auto;padding:3rem 1.5rem}
.article-content h2{font-size:1.35rem;margin-top:2.5rem}
.article-content p{font-size:1.02rem;line-height:1.8}
.article-content img{margin:2rem 0;border-radius:var(--radius);box-shadow:0 4px 16px rgba(0,0,0,.06)}
.article-content ul,.article-content ol{margin:1rem 0 1.5rem 1.5rem;color:var(--text-muted)}
.article-content li{margin-bottom:.5rem;line-height:1.7}

/* Tip boxes */
.tip{background:var(--accent-light);border-left:4px solid var(--accent);padding:1rem 1.2rem;border-radius:0 var(--radius) var(--radius) 0;margin:1.5rem 0}
.tip p{margin:0;color:var(--text)}

/* Footer */
footer{border-top:1px solid var(--border);padding:2.5rem 0;text-align:center;color:var(--text-muted);font-size:.85rem;background:var(--bg-card)}
footer .footer-links{margin-bottom:1rem}
footer .footer-links a{margin:0 .75rem;color:var(--text-muted)}
footer .footer-links a:hover{color:var(--accent-dark)}

/* Responsive */
@media(max-width:768px){
  .grid-3{grid-template-columns:1fr}
  .grid-2{grid-template-columns:1fr}
  .hero h1{font-size:1.9rem}
  .hero{padding:3rem 1rem}
  .hero-img img{height:240px}
}
@media(max-width:480px){
  .nav-links{display:none}
  header nav{justify-content:center}
}
