@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg: #faf8f3;
  --bg-soft: #f1ede3;
  --ink: #16201b;
  --ink-soft: #5d6b62;
  --brand: #0f5b48;
  --brand-deep: #0a3d30;
  --accent: #cf7a2c;
  --accent-deep: #b05e16;
  --gold-soft: #f6ead6;
  --line: #e7e1d4;
  --radius: 18px;
  --maxw: 1120px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --sh-1: 0 1px 2px rgba(16,32,27,.04), 0 6px 20px rgba(16,32,27,.06);
  --sh-2: 0 14px 40px rgba(16,32,27,.12);
  --sh-amazon: 0 10px 26px rgba(207,122,44,.32);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { font-family: var(--serif); letter-spacing: -0.01em; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }
.post-img { width: 100%; height: auto; border-radius: 14px; margin: 26px 0; box-shadow: var(--sh-1); display: block; }
.figure { margin: 26px 0; }
.figure img { width: 100%; height: auto; border-radius: 14px; box-shadow: var(--sh-1); display: block; }
.figure figcaption { font-size: 13px; color: #6b7c77; text-align: center; margin-top: 8px; }
.banner-img { width: 100%; height: auto; border-radius: 18px; box-shadow: var(--sh-2); display: block; margin: 0 0 42px; }
.img-left { width: 46%; float: left; margin: 6px 22px 14px 0; border-radius: 14px; box-shadow: var(--sh-1); }
@media (max-width: 640px){ .img-left { width: 100%; float: none; margin: 18px 0; } }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,248,243,0.82);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease, background .3s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(16,32,27,.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { display: flex; align-items: center; gap: 11px; font-family: var(--serif); font-weight: 600; font-size: 21px; color: var(--brand-deep); letter-spacing: -0.02em; }
.logo .mark { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--brand), var(--accent)); display: grid; place-items: center; color: #fff; font-size: 17px; box-shadow: 0 6px 16px rgba(15,91,72,.3); }
.nav { display: flex; gap: 26px; font-size: 15px; font-weight: 500; }
.nav a { color: var(--ink-soft); position: relative; padding: 4px 0; }
.nav a:hover, .nav a.active { color: var(--brand); text-decoration: none; }
.nav a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--brand), var(--accent)); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px 11px; font-size: 18px; cursor: pointer; color: var(--ink); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border-radius: 12px; font-weight: 600; font-size: 15px; cursor: pointer; border: none; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; font-family: var(--sans); }
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-amazon { background: linear-gradient(135deg, var(--accent), var(--accent-deep)); color: #fff; box-shadow: var(--sh-amazon); }
.btn-amazon:hover { color: #fff; box-shadow: 0 14px 34px rgba(207,122,44,.42); }
.btn-ghost { background: #fff; color: var(--brand); border: 1.5px solid var(--brand); }
.btn-ghost:hover { background: var(--bg-soft); }
.btn-sm { padding: 9px 16px; font-size: 14px; }

/* ---------- Eyebrow / section head ---------- */
.eyebrow { display: inline-block; font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 14px; }
.section-head { max-width: 680px; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 34px); margin: 0 0 10px; color: var(--brand-deep); }
.section-head .lead { color: var(--ink-soft); margin: 0; font-size: 16px; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; padding: 96px 0 104px; overflow: hidden; background: linear-gradient(155deg, #0a3d30 0%, #0f5b48 48%, #14795f 100%); }
.hero::before { content: ""; position: absolute; top: -160px; right: -120px; width: 520px; height: 520px; background: radial-gradient(circle, rgba(207,122,44,.45), transparent 62%); filter: blur(10px); }
.hero::after { content: ""; position: absolute; bottom: -200px; left: -100px; width: 460px; height: 460px; background: radial-gradient(circle, rgba(15,91,72,.6), transparent 60%); }
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(38px, 6vw, 60px); line-height: 1.05; margin: 0 0 18px; font-weight: 600; letter-spacing: -0.02em; }
.hero p { font-size: 19px; max-width: 600px; color: #d9ebe4; margin: 0 0 30px; }
.hero .btn-amazon { background: linear-gradient(135deg, var(--accent), var(--accent-deep)); }
.hero-meta { margin-top: 28px; font-size: 14px; color: #aecdc2; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero-stats .stat { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 14px; padding: 14px 20px; backdrop-filter: blur(6px); }
.hero-stats .num { font-family: var(--serif); font-size: 24px; font-weight: 600; color: #fff; }
.hero-stats .lbl { font-size: 12.5px; color: #b9d6cb; letter-spacing: .02em; }

/* ---------- Section ---------- */
.section { padding: 72px 0; }
.section.soft { background: var(--bg-soft); }
.section h2 { font-size: clamp(26px, 3.4vw, 32px); margin: 0 0 8px; color: var(--brand-deep); }
.section .lead { color: var(--ink-soft); margin: 0 0 30px; font-size: 16px; max-width: 680px; }

/* ---------- Grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 880px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .hero { padding: 72px 0 80px; }
  .nav { display: none; }
  .nav.open { display: flex; position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; background: #fff; padding: 16px 22px; border-bottom: 1px solid var(--line); gap: 14px; box-shadow: var(--sh-1); }
  .nav-toggle { display: block; }
  .layout { grid-template-columns: 1fr; }
  .toc { display: none; }
}

/* ---------- Card ---------- */
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--sh-1); display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; overflow: hidden; }
.card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--brand), var(--accent)); opacity: 0; transition: opacity .2s ease; }
.card:hover { transform: translateY(-6px); box-shadow: var(--sh-2); border-color: #d9d2c3; }
.card:hover::before { opacity: 1; }
.card .tag { font-family: var(--sans); font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 10px; }
.card h3 { margin: 0 0 10px; font-size: 21px; line-height: 1.25; }
.card p { color: var(--ink-soft); font-size: 15px; margin: 0 0 18px; flex: 1; }
.card .more { font-weight: 600; font-size: 14px; color: var(--brand); }

/* ---------- Article card (category) ---------- */
.article-card { display: flex; gap: 18px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--sh-1); transition: transform .2s ease, box-shadow .2s ease; }
.article-card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); text-decoration: none; }
.article-card .ic { width: 54px; height: 54px; border-radius: 14px; background: linear-gradient(135deg, var(--gold-soft), #fff); border: 1px solid var(--line); display: grid; place-items: center; font-size: 26px; flex: none; }
.article-card h3 { margin: 0 0 6px; font-size: 20px; font-family: var(--serif); }
.article-card p { margin: 0 0 10px; color: var(--ink-soft); font-size: 15px; }
.article-card .meta { font-size: 13px; color: var(--ink-soft); }

/* ---------- Product pick ---------- */
.pick { display: flex; gap: 18px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--sh-1); transition: transform .2s ease, box-shadow .2s ease; }
.pick:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.pick .thumb { width: 96px; height: 96px; border-radius: 14px; background: linear-gradient(135deg, var(--gold-soft), #fff); border: 1px solid var(--line); display: grid; place-items: center; font-size: 32px; flex: none; }
.pick .meta { flex: 1; }
.pick h4 { margin: 0 0 5px; font-size: 18px; font-family: var(--serif); }
.pick .price { color: var(--accent-deep); font-weight: 700; font-size: 16px; }
.pick .stars { color: #e0a32e; font-size: 14px; letter-spacing: 1px; }

/* ---------- Categories ---------- */
.cats { display: flex; flex-wrap: wrap; gap: 12px; }
.cat { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 11px 20px; font-weight: 500; font-size: 14px; color: var(--brand); transition: all .18s ease; }
.cat:hover { background: linear-gradient(135deg, var(--brand), var(--brand-deep)); color: #fff; text-decoration: none; border-color: transparent; box-shadow: var(--sh-1); }

/* ---------- Breadcrumb + article ---------- */
.article-head { padding: 44px 0 18px; border-bottom: 1px solid var(--line); }
.breadcrumb { font-size: 13px; color: var(--ink-soft); margin-bottom: 16px; }
.breadcrumb a { color: var(--ink-soft); }
.breadcrumb a:hover { color: var(--brand); }
.article-head h1 { font-size: clamp(30px, 4.4vw, 44px); line-height: 1.12; margin: 0 0 14px; color: var(--brand-deep); }
.byline { font-size: 14px; color: var(--ink-soft); display: flex; align-items: center; gap: 10px; }
.byline::before { content: ""; width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--accent)); display: inline-block; }
.layout { display: grid; grid-template-columns: 230px 1fr; gap: 46px; align-items: start; padding: 34px 0; }
.toc { position: sticky; top: 92px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px; font-size: 14px; box-shadow: var(--sh-1); }
.toc h4 { margin: 0 0 12px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); font-family: var(--sans); font-weight: 700; }
.toc a { display: block; padding: 5px 0; color: var(--ink-soft); border-left: 2px solid transparent; padding-left: 12px; margin-left: -2px; }
.toc a:hover { color: var(--brand); border-left-color: var(--accent); text-decoration: none; }

.content { font-size: 17px; color: #243029; }
.content h2 { font-size: clamp(24px, 3vw, 29px); margin: 40px 0 14px; color: var(--brand-deep); scroll-margin-top: 90px; }
.content h3 { font-size: 21px; margin: 28px 0 10px; scroll-margin-top: 90px; }
.content p { margin: 0 0 16px; }
.content ul { margin: 0 0 16px; padding-left: 22px; }
.content li { margin: 7px 0; }
.content strong { color: var(--brand-deep); }

.callout { background: linear-gradient(135deg, #fdf3e6, #fbe9d2); border: 1px solid #f1d3ad; border-left: 4px solid var(--accent); border-radius: 12px; padding: 18px 20px; margin: 24px 0; font-size: 15px; }
.callout strong { color: var(--accent-deep); }

.table-wrap { overflow-x: auto; margin: 24px 0; border-radius: 14px; box-shadow: var(--sh-1); border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; background: #fff; }
th, td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); }
thead th { background: linear-gradient(135deg, var(--brand), var(--brand-deep)); color: #fff; font-weight: 600; font-family: var(--sans); }
tbody tr:nth-child(even) { background: #faf8f3; }
tbody tr:hover { background: var(--gold-soft); }

.product { display: flex; gap: 18px; align-items: center; border: 1px solid var(--line); border-radius: 14px; padding: 18px; margin: 18px 0; box-shadow: var(--sh-1); flex-wrap: wrap; background: #fff; transition: transform .2s ease, box-shadow .2s ease; }
.product:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.product .thumb { width: 88px; height: 88px; border-radius: 12px; background: linear-gradient(135deg, var(--gold-soft), #fff); display: grid; place-items: center; font-size: 28px; flex: none; }
.product .info { flex: 1; min-width: 180px; }
.product h4 { margin: 0 0 4px; font-size: 18px; font-family: var(--serif); }
.product .stars { color: #e0a32e; font-size: 14px; letter-spacing: 1px; }
.product .price { font-weight: 700; color: var(--accent-deep); }

.faq { margin: 28px 0; }
.faq details { border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; margin-bottom: 12px; background: #fff; box-shadow: var(--sh-1); transition: border-color .2s ease; }
.faq details[open] { border-color: #d9d2c3; }
.faq summary { font-weight: 600; cursor: pointer; font-family: var(--sans); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--accent-deep); font-weight: 700; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 12px 0 0; color: var(--ink-soft); font-size: 15px; }

.disclaimer { font-size: 13px; color: var(--ink-soft); border-top: 1px dashed var(--line); padding-top: 18px; margin-top: 34px; }

/* ---------- Contact form ---------- */
.form { max-width: 540px; }
.form label { display: block; font-weight: 600; margin: 16px 0 7px; font-size: 14px; }
.form input, .form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; font-size: 15px; font-family: inherit; background: #fff; transition: border-color .15s ease, box-shadow .15s ease; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(15,91,72,.12); }
.form textarea { min-height: 130px; }

/* ---------- Footer ---------- */
.site-footer { background: linear-gradient(160deg, #0a3d30, #0f5b48); color: #cfe3dc; padding: 56px 0 30px; font-size: 14px; margin-top: 40px; }
.site-footer a { color: #aecdc2; }
.site-footer a:hover { color: #fff; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 48px; }
.footer-cols h4 { color: #fff; margin: 0 0 14px; font-size: 15px; font-family: var(--sans); font-weight: 600; }
.footer-cols ul { list-style: none; padding: 0; margin: 0; }
.footer-cols li { margin: 8px 0; }
.footer-bottom { margin-top: 38px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); font-size: 13px; color: #8fb3a9; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 16px; font-size: 13px; }
.footer-links a { color: #aecdc2; }
.footer-links a:hover { color: #fff; text-decoration: none; }

/* ---------- Related guides ---------- */
.related { margin: 40px 0 8px; padding: 22px 24px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 16px; }
.related h3 { margin: 0 0 12px; font-size: 17px; font-family: var(--serif); color: var(--ink); }
.related ul { margin: 0; padding-left: 18px; }
.related li { margin: 7px 0; }
.related a { color: var(--brand); text-decoration: none; font-weight: 500; }
.related a:hover { text-decoration: underline; }

/* ---------- Category nav (recommended.html) ---------- */
.section { scroll-margin-top: 90px; }
.cat-nav { display: flex; flex-wrap: wrap; gap: 10px; padding: 18px; margin: 28px 0 8px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--sh-1); }
.cat-chip { display: inline-flex; align-items: center; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--brand); font-size: 13.5px; font-weight: 600; font-family: var(--sans); transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease; }
.cat-chip:hover { text-decoration: none; background: var(--brand); color: #fff; border-color: var(--brand); transform: translateY(-2px); }
.tag-pick { display: inline-block; margin-left: 8px; padding: 2px 9px; border-radius: 999px; background: linear-gradient(135deg, var(--accent), var(--accent-deep)); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-family: var(--sans); vertical-align: middle; }
