:root {
  --brand: #0f7a4d;
  --brand-dark: #0b5c3a;
  --brand-soft: #e7f6ee;
  --gold: #c98a1f;
  --gold-soft: #fbf1de;
  --ink: #12201b;
  --muted: #5a6b62;
  --line: #e2e9e4;
  --bg: #ffffff;
  --bg-soft: #f5faf6;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 8px 24px rgba(15, 40, 25, 0.08);
  --shadow-lg: 0 18px 50px rgba(15, 40, 25, 0.12);
  --max: 1160px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.5em; font-weight: 800; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
.muted { color: var(--muted); }
.small { font-size: 0.85rem; }
.center { text-align: center; }
ul.plain { list-style: none; margin: 0; padding: 0; }
.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: var(--brand-dark); text-decoration: none; transform: translateY(-1px); }
.btn.outline {
  background: transparent;
  color: var(--brand);
  border: 2px solid var(--brand);
  padding: 0.75rem 1.5rem;
}
.btn.outline:hover { background: var(--brand-soft); }
.btn.gold { background: var(--gold); }
.btn.gold:hover { background: #a9740f; }

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(8px);
  z-index: 50;
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.25rem; color: var(--ink); }
.brand .mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 8px;
  background: var(--brand); color: #fff; font-size: 1rem;
}
.brand span.hi { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--ink); font-weight: 600; font-size: 0.95rem; }
.nav-links a:hover { color: var(--brand); text-decoration: none; }
.nav-links .btn { padding: 0.6rem 1.3rem; }
.nav-toggle { display: none; }

@media (max-width: 760px) {
  .nav-links { position: fixed; inset: 64px 0 0 0; background: #fff; flex-direction: column; padding: 24px; gap: 20px; transform: translateX(100%); transition: transform 0.2s ease; }
  .nav-links.open { transform: translateX(0); }
  .nav-toggle { display: block; background: none; border: none; font-size: 1.6rem; cursor: pointer; color: var(--ink); }
}

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%);
  padding: 72px 0 56px;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }
.hero-stats { display: flex; gap: 28px; margin-top: 28px; flex-wrap: wrap; }
.hero-stat { }
.hero-stat .num { font-size: 1.7rem; font-weight: 800; color: var(--brand-dark); }
.hero-stat .label { font-size: 0.82rem; color: var(--muted); }
.hero-art {
  background: var(--brand-soft);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow-lg);
}
.hero-art .tip-card {
  background: #fff; border-radius: var(--radius-sm); padding: 18px 20px;
  box-shadow: var(--shadow); margin-bottom: 14px; display: flex; gap: 12px; align-items: flex-start;
}
.hero-art .tip-card:last-child { margin-bottom: 0; }
.hero-art .tip-icon { font-size: 1.4rem; }

/* Sections */
.section { padding: 64px 0; }
.section.soft { background: var(--bg-soft); }
.section-head { max-width: 640px; margin: 0 auto 40px; text-align: center; }

/* Cards grid */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards-grid { grid-template-columns: 1fr; } }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow); transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card .icon {
  width: 48px; height: 48px; border-radius: 12px; background: var(--brand-soft);
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 16px;
}
.card h3 { margin-bottom: 8px; }
.card .save-badge {
  display: inline-block; background: var(--gold-soft); color: var(--gold);
  font-size: 0.78rem; font-weight: 800; padding: 0.25rem 0.6rem; border-radius: 999px; margin-top: 12px;
}

/* Category / tip list page */
.tip-list { display: grid; gap: 20px; }
.tip-item {
  display: grid; grid-template-columns: 56px 1fr; gap: 18px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow);
}
.tip-item .num-badge {
  width: 44px; height: 44px; border-radius: 999px; background: var(--brand);
  color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center;
}

/* Article / long-form content */
.article-body h2 { margin-top: 2em; }
.article-body h3 { margin-top: 1.6em; }
.article-body ul, .article-body ol { padding-left: 1.4em; margin-bottom: 1.2em; }
.article-body li { margin-bottom: 0.5em; }
.callout {
  background: var(--gold-soft); border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 18px 22px; margin: 1.6em 0;
}
.article-header { max-width: 760px; margin: 0 auto 40px; }
.article-wrap { max-width: 760px; margin: 0 auto; }
.breadcrumb { font-size: 0.85rem; color: var(--muted); margin-bottom: 20px; }
.breadcrumb a { color: var(--muted); }

/* CTA band */
.cta-band {
  background: var(--brand-dark); color: #fff; border-radius: 24px;
  padding: 56px 40px; text-align: center; margin: 0 24px;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.85); }

/* Footer */
.site-footer { background: #0e1f16; color: #cfe0d4; padding: 56px 0 28px; margin-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-col h4 { color: #fff; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; }
.footer-col a { color: #cfe0d4; display: block; margin-bottom: 10px; font-size: 0.92rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12); margin-top: 40px; padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.82rem; color: #8fa899;
}
.footer-bottom a { color: #8fa899; }

/* Simple content pages (about/contact/privacy/terms) */
.legal-body { max-width: 800px; margin: 0 auto; }
.legal-body h2 { margin-top: 2em; }

/* Modal */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(15,32,20,0.55); display: none;
  align-items: center; justify-content: center; z-index: 100; padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal-box { background: #fff; border-radius: var(--radius); max-width: 480px; padding: 32px; position: relative; }
.modal-close { position: absolute; top: 14px; right: 18px; background: none; border: none; font-size: 1.3rem; cursor: pointer; color: var(--muted); }

/* Contact form */
.form-grid { display: grid; gap: 16px; max-width: 560px; }
.form-grid label { font-weight: 700; font-size: 0.88rem; display: block; margin-bottom: 6px; }
.form-grid input, .form-grid textarea {
  width: 100%; padding: 0.75rem 0.9rem; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--font); font-size: 0.95rem;
}
.form-grid textarea { min-height: 140px; resize: vertical; }
