/* Wood Projects Guide: warm, plain, fast */
:root {
  --bg: #faf7f2;
  --surface: #ffffff;
  --ink: #2a241d;
  --muted: #6b6155;
  --line: #e8dfd2;
  --brand: #7a4a1e;
  --brand-dark: #4a2c12;
  --brand-soft: #f5ebdd;
  --accent: #2f6b3c;
  --accent-hover: #24552f;
  --radius: 10px;
  --shadow: 0 1px 3px rgba(42, 36, 29, 0.08), 0 8px 24px rgba(42, 36, 29, 0.06);
  --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --max: 720px;
  --wide: 980px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--brand-dark); }
.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.container-wide { width: min(100% - 2rem, var(--wide)); margin-inline: auto; }

/* Header */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); padding: 0.85rem 0; position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem 1rem; flex-wrap: wrap; }
.logo { font-weight: 750; font-size: 1.15rem; color: var(--brand-dark); text-decoration: none; letter-spacing: -0.02em; }
.logo span { color: var(--accent); font-weight: 650; }
.nav { display: flex; gap: 1.1rem; flex-wrap: wrap; font-size: 0.92rem; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 550; }
.nav a:hover { color: var(--brand); }

/* Hero */
.hero { padding: 2.25rem 0 1.25rem; }
.hero-grid { display: grid; gap: 1.5rem; align-items: start; }
@media (min-width: 860px) { .hero-grid { grid-template-columns: 1.15fr 0.85fr; } }
.badge { display: inline-block; background: var(--brand-soft); color: var(--brand-dark); font-size: 0.78rem; font-weight: 650; letter-spacing: 0.04em; text-transform: uppercase; padding: 0.3rem 0.7rem; border-radius: 999px; margin-bottom: 0.9rem; }
h1 { margin: 0 0 0.85rem; font-size: clamp(1.7rem, 4.6vw, 2.35rem); line-height: 1.2; letter-spacing: -0.025em; color: var(--brand-dark); }
.lead { margin: 0 0 1.25rem; color: var(--muted); font-size: 1.07rem; }
.checks { list-style: none; padding: 0; margin: 0 0 1rem; }
.checks li { padding-left: 1.6rem; position: relative; margin-bottom: 0.45rem; }
.checks li::before { content: "\2713"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.cover { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 1rem; }
.cover svg { display: block; width: 100%; }

/* Opt-in card */
.optin { background: var(--surface); border: 2px solid var(--brand-soft); border-radius: 14px; box-shadow: var(--shadow); padding: 1.5rem 1.35rem; scroll-margin-top: 84px; }
.optin h2 { margin: 0 0 0.35rem; font-size: 1.3rem; color: var(--brand-dark); letter-spacing: -0.02em; }
.optin p { margin: 0 0 1rem; color: var(--muted); font-size: 0.98rem; }
.form-grid { display: grid; gap: 0.7rem; }
@media (min-width: 560px) { .form-grid { grid-template-columns: 1fr 1.3fr; align-items: end; } .form-grid .btn { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: 0.3rem; }
.field label { font-weight: 650; font-size: 0.9rem; }
.text-input { width: 100%; padding: 0.85rem 0.95rem; font-size: 1.02rem; font-family: var(--font); border: 2px solid var(--line); border-radius: var(--radius); background: #fffdf9; color: var(--ink); outline: none; }
.text-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(47, 107, 60, 0.18); background: #fff; }
.form-hint { margin: 0.75rem 0 0 !important; font-size: 0.84rem !important; color: var(--muted); }
.setup-note { margin: 0.6rem 0 0 !important; font-size: 0.84rem !important; background: #fff8e6; border: 1px solid #f0d78c; border-radius: 8px; padding: 0.5rem 0.7rem; color: var(--ink) !important; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem; padding: 0.9rem 1.4rem; font-size: 1rem; font-weight: 700; font-family: inherit; border: none; border-radius: var(--radius); cursor: pointer; text-decoration: none; transition: background 0.15s; }
.btn-primary { background: var(--accent); color: #fff; white-space: nowrap; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-secondary { background: var(--brand-soft); color: var(--brand-dark); }
.btn-secondary:hover { background: #ecdcc6; color: var(--brand-dark); }

/* Sections */
.section { padding: 1.6rem 0; scroll-margin-top: 84px; }
.section h2 { margin: 0 0 0.85rem; font-size: 1.4rem; letter-spacing: -0.02em; color: var(--brand-dark); }
.section h3 { margin: 0 0 0.35rem; font-size: 1.05rem; color: var(--ink); }
.section p { margin: 0 0 1rem; }
.section-intro { color: var(--muted); margin-top: -0.35rem !important; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.15rem 1.15rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.93rem; }
.card-grid { display: grid; gap: 0.9rem; }
@media (min-width: 640px) { .card-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .card-grid.three { grid-template-columns: 1fr 1fr 1fr; } }
.num { display: inline-flex; width: 1.9rem; height: 1.9rem; border-radius: 8px; background: var(--brand-soft); color: var(--brand); align-items: center; justify-content: center; font-weight: 800; font-size: 0.9rem; margin-bottom: 0.5rem; }
.meta { font-size: 0.85rem !important; color: var(--muted); margin-top: 0.35rem !important; }
.cta-band { background: var(--brand-dark); color: #f1e7d8; padding: 2rem 0; margin: 1.5rem 0 0; }
.cta-band h2 { color: #fff; margin: 0 0 0.5rem; font-size: 1.35rem; }
.cta-band p { margin: 0 0 1.15rem; color: #e1d3bf; }

/* Pages */
.page-main { padding: 2rem 0 3rem; }
.page-main h1 { font-size: 1.85rem; margin-bottom: 0.35rem; }
.page-meta { color: var(--muted); font-size: 0.9rem; margin-bottom: 1.5rem; }
.prose { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem 1.4rem; }
.prose h2 { font-size: 1.2rem; margin: 1.6rem 0 0.55rem; color: var(--brand-dark); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.03rem; margin: 1.25rem 0 0.4rem; }
.prose p, .prose li { font-size: 1rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: 0.4rem; }
.table-wrap { overflow-x: auto; margin: 0 0 1rem; }
.data-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.data-table th, .data-table td { text-align: left; vertical-align: top; padding: 0.5rem 0.6rem; border-bottom: 1px solid var(--line); }
.data-table th { background: var(--brand-soft); color: var(--brand-dark); font-weight: 700; }
.tip { background: #eef5ef; border: 1px solid #cfe3d3; border-radius: var(--radius); padding: 0.9rem 1rem; margin: 1rem 0; font-size: 0.97rem; }
.cta-box { background: var(--brand-soft); border: 1px solid #ead9c2; border-radius: var(--radius); padding: 1.3rem 1.2rem; margin: 1.85rem 0; }
.prose .cta-box h2, .cta-box h2 { margin: 0 0 0.5rem; font-size: 1.15rem; color: var(--brand-dark); }
.related { border-top: 1px solid var(--line); margin-top: 1.75rem; padding-top: 0.25rem; }
.breadcrumb { font-size: 0.85rem; color: var(--muted); margin-bottom: 0.9rem; }
.breadcrumb a { color: var(--muted); }
.post-list { display: grid; gap: 1rem; margin-bottom: 1rem; }
.post-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.3rem 1.15rem; }
.post-card h2 { margin: 0 0 0.45rem; font-size: 1.12rem; line-height: 1.35; }
.post-card h2 a { color: var(--brand-dark); text-decoration: none; }
.post-card h2 a:hover { text-decoration: underline; }
.post-card p { margin: 0 0 0.6rem; color: var(--muted); font-size: 0.96rem; }
.read-more { font-weight: 650; font-size: 0.92rem; }
.download { text-align: center; padding: 1.5rem 1rem; }
.download .btn { font-size: 1.05rem; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 0.85rem 0; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq details p { margin: 0.6rem 0 0; }

/* Footer */
.site-footer { background: #2a1d10; color: #cdbfae; padding: 2rem 0 1.5rem; margin-top: 2rem; font-size: 0.88rem; }
.footer-inner { display: flex; flex-direction: column; gap: 1.25rem; }
.footer-brand { color: #fff; font-weight: 700; font-size: 1rem; margin-bottom: 0.35rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.6rem 1.2rem; }
.footer-links a { color: #e6d9c6; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-disclosure { border-top: 1px solid #47331f; padding-top: 1rem; font-size: 0.8rem; line-height: 1.55; color: #b3a28d; }
.footer-disclosure a { color: #e6d9c6; }
.footer-copy { margin: 0; font-size: 0.8rem; color: #8f7e69; }
