/* Neighbor's Envy - Shared Styles */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600&display=swap');

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

:root {
  --green-dark: #1a3a2a;
  --green-mid: #2d6147;
  --green-light: #4a9268;
  --green-pale: #e8f4ee;
  --green-ultra: #f2f9f5;
  --gold: #c9a84c;
  --gold-light: #f0dfa0;
  --text: #1c2b22;
  --text-mid: #4a5e52;
  --text-light: #7a9082;
  --border: #d0e4d8;
  --white: #ffffff;
  --shadow: 0 2px 16px rgba(26,58,42,0.08);
  --shadow-lg: 0 8px 40px rgba(26,58,42,0.13);
}

body { font-family: 'DM Sans', sans-serif; background: var(--green-ultra); color: var(--text); min-height: 100vh; line-height: 1.6; }

/* HEADER */
#site-header { background: var(--green-dark); padding: 0 2rem; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 20px rgba(0,0,0,0.2); }
.header-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 1rem; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.logo-icon { width: 42px; height: 42px; flex-shrink: 0; }
.logo-text { font-family: 'DM Serif Display', serif; color: var(--white); font-size: 1.3rem; letter-spacing: -0.02em; white-space: nowrap; }
.logo-text span { color: var(--gold); }
nav { display: flex; gap: 2px; flex-wrap: wrap; }
nav a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.82rem; font-weight: 500; padding: 6px 10px; border-radius: 6px; transition: all 0.2s; white-space: nowrap; }
nav a:hover, nav a.active { color: white; background: rgba(255,255,255,0.12); }
nav a.active { color: var(--gold); }
.nav-toggle { display: none; background: none; border: none; color: white; font-size: 1.4rem; cursor: pointer; padding: 4px 8px; }

/* PAGE HERO */
.page-hero { background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-mid) 100%); padding: 3.5rem 2rem 3rem; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle at 15% 85%, rgba(74,146,104,0.25) 0%, transparent 50%), radial-gradient(circle at 85% 15%, rgba(201,168,76,0.12) 0%, transparent 50%); }
.page-hero-content { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 1.5rem; }
.page-hero-icon { font-size: 3.5rem; line-height: 1; flex-shrink: 0; }
.page-hero-badge { display: inline-block; background: rgba(201,168,76,0.2); color: var(--gold-light); border: 1px solid rgba(201,168,76,0.4); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 12px; border-radius: 100px; margin-bottom: 0.6rem; }
.page-hero h1 { font-family: 'DM Serif Display', serif; color: white; font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.15; margin-bottom: 0.4rem; letter-spacing: -0.02em; }
.page-hero p { color: rgba(255,255,255,0.7); font-size: 1rem; font-weight: 300; max-width: 520px; }

/* LAYOUT */
.page-layout { max-width: 1200px; margin: 0 auto; padding: 2.5rem 2rem 1.5rem; display: grid; grid-template-columns: 1fr 300px; gap: 2rem; align-items: start; }

/* CALCULATOR CARD */
.calc-card { background: white; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.calc-card-header { padding: 1.5rem 1.75rem 1.25rem; border-bottom: 1px solid var(--border); background: var(--green-ultra); }
.calc-card-header h2 { font-family: 'DM Serif Display', serif; font-size: 1.4rem; color: var(--green-dark); margin-bottom: 0.25rem; }
.calc-card-header p { font-size: 0.875rem; color: var(--text-light); }
.calc-card-body { padding: 1.75rem; }

/* FORMS */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-row.single { grid-template-columns: 1fr; }
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group label { font-size: 0.75rem; font-weight: 600; color: var(--text-mid); text-transform: uppercase; letter-spacing: 0.06em; }
.form-group input, .form-group select { background: var(--green-ultra); border: 1.5px solid var(--border); border-radius: 8px; padding: 10px 13px; font-size: 0.95rem; font-family: 'DM Sans', sans-serif; color: var(--text); transition: border-color 0.2s, box-shadow 0.2s; outline: none; width: 100%; }
.form-group input:focus, .form-group select:focus { border-color: var(--green-light); background: white; box-shadow: 0 0 0 3px rgba(74,146,104,0.12); }
.form-group .hint { font-size: 0.75rem; color: var(--text-light); line-height: 1.5; background: var(--green-pale); padding: 8px 10px; border-radius: 6px; }
.calc-btn { width: 100%; padding: 13px; background: var(--green-mid); color: white; border: none; border-radius: 10px; font-size: 1rem; font-weight: 600; font-family: 'DM Sans', sans-serif; cursor: pointer; transition: background 0.2s, transform 0.1s; margin-top: 0.75rem; }
.calc-btn:hover { background: var(--green-dark); }
.calc-btn:active { transform: scale(0.99); }

/* RESULT */
.result-box { margin-top: 1.25rem; background: var(--green-ultra); border: 1.5px solid var(--green-light); border-radius: 12px; padding: 1.25rem 1.5rem; display: none; animation: fadeUp 0.25s ease; }
.result-box.show { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.result-label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--green-light); margin-bottom: 4px; }
.result-value { font-family: 'DM Serif Display', serif; font-size: 2.2rem; color: var(--green-dark); line-height: 1.1; margin-bottom: 6px; }
.result-note { font-size: 0.83rem; color: var(--text-mid); line-height: 1.55; }
.result-warning { margin-top: 10px; padding: 9px 12px; background: #fff8e6; border: 1px solid #f0dfa0; border-radius: 8px; font-size: 0.78rem; color: #7a6020; line-height: 1.5; }

/* SIDEBAR */
.sidebar { display: flex; flex-direction: column; gap: 1.5rem; }
.other-calcs { background: white; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.other-calcs-title { background: var(--green-dark); color: white; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 10px 14px; }
.other-calcs a { display: flex; align-items: center; gap: 10px; padding: 11px 14px; text-decoration: none; color: var(--text); font-size: 0.875rem; font-weight: 500; border-bottom: 1px solid var(--border); transition: background 0.15s; }
.other-calcs a:last-child { border-bottom: none; }
.other-calcs a:hover { background: var(--green-pale); }
.info-card { background: white; border: 1px solid var(--border); border-radius: 12px; padding: 1.25rem; box-shadow: var(--shadow); }
.info-card h3 { font-family: 'DM Serif Display', serif; font-size: 1.1rem; color: var(--green-dark); margin-bottom: 0.6rem; }
.info-card p { font-size: 0.83rem; color: var(--text-mid); line-height: 1.6; }

/* PRODUCT RECOMMENDATION CARD */
.product-rec { background: white; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.product-rec-header { background: var(--green-dark); padding: 10px 16px; display: flex; align-items: center; gap: 8px; }
.product-rec-header span { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-light); }
.product-rec-header .rec-badge { background: var(--gold); color: var(--green-dark); font-size: 0.6rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 2px 8px; border-radius: 100px; }
.product-rec-body { padding: 1.25rem; display: flex; flex-direction: column; gap: 0.75rem; }
.product-rec-name { font-family: 'DM Serif Display', serif; font-size: 1.15rem; color: var(--green-dark); line-height: 1.2; }
.product-rec-tagline { font-size: 0.82rem; color: var(--text-light); font-style: italic; }
.product-rec-features { list-style: none; display: flex; flex-direction: column; gap: 5px; }
.product-rec-features li { font-size: 0.8rem; color: var(--text-mid); display: flex; align-items: flex-start; gap: 7px; line-height: 1.45; }
.product-rec-features li::before { content: '✓'; color: var(--green-light); font-weight: 700; flex-shrink: 0; }
.product-rec-btn { display: block; background: var(--green-mid); color: white; text-align: center; text-decoration: none; font-weight: 600; font-size: 0.88rem; padding: 11px; border-radius: 9px; transition: background 0.2s; margin-top: 0.25rem; }
.product-rec-btn:hover { background: var(--green-dark); }
.product-rec-disclaimer { font-size: 0.68rem; color: var(--text-light); text-align: center; line-height: 1.4; }

/* FOOTER */
#site-footer { background: var(--green-dark); padding: 2.5rem 2rem; margin-top: 2rem; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: start; }
.footer-brand strong { display: block; color: white; font-size: 1.1rem; font-family: 'DM Serif Display', serif; margin-bottom: 4px; }
.footer-brand span { color: rgba(255,255,255,0.5); font-size: 0.83rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-links a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.83rem; transition: color 0.2s; }
.footer-links a:hover { color: white; }
.footer-legal { grid-column: 1 / -1; color: rgba(255,255,255,0.35); font-size: 0.75rem; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1rem; }

/* HOME PAGE */
.home-hero { background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-mid) 100%); padding: 2.5rem 2rem 2.5rem; text-align: center; position: relative; overflow: hidden; }
.home-hero::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle at 20% 80%, rgba(74,146,104,0.3) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(201,168,76,0.15) 0%, transparent 50%); }
.home-hero-content { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.home-hero-badge { display: inline-block; background: rgba(201,168,76,0.2); color: var(--gold-light); border: 1px solid rgba(201,168,76,0.4); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 14px; border-radius: 100px; margin-bottom: 0.6rem; }
.home-hero h1 { font-family: 'DM Serif Display', serif; color: white; font-size: clamp(2.4rem, 5vw, 3.4rem); line-height: 1.12; margin-bottom: 0.5rem; letter-spacing: -0.02em; }
.home-hero h1 em { color: var(--gold); font-style: normal; }
.home-hero p { color: rgba(255,255,255,0.72); font-size: 1.1rem; font-weight: 300; max-width: 460px; margin: 0 auto 0.5rem; }
.tools-grid-section { max-width: 1200px; margin: 0 auto; padding: 2rem 2rem 3rem; }
.tools-grid-section .section-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green-light); margin-bottom: 0.4rem; }
.tools-grid-section .section-title { font-family: 'DM Serif Display', serif; font-size: 2rem; color: var(--green-dark); margin-bottom: 1.25rem; }
.tools-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.25rem; }
.tool-card-link { background: white; border: 1px solid var(--border); border-radius: 16px; padding: 1.5rem; text-decoration: none; color: var(--text); box-shadow: var(--shadow); transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s; display: flex; flex-direction: column; gap: 0.75rem; }
.tool-card-link:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--green-light); }
.tool-card-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 22px; }
.tool-card-icon.green { background: var(--green-pale); }
.tool-card-icon.gold { background: #fdf6e3; }
.tool-card-link h3 { font-weight: 600; font-size: 1rem; }
.tool-card-link p { font-size: 0.83rem; color: var(--text-light); line-height: 1.5; }
.tool-card-arrow { margin-top: auto; font-size: 0.83rem; color: var(--green-light); font-weight: 600; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .page-layout { grid-template-columns: 1fr; }
  .sidebar { flex-direction: row; flex-wrap: wrap; }
  .sidebar > * { flex: 1 1 280px; }
}
@media (max-width: 640px) {
  nav { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--green-dark); padding: 1rem; gap: 4px; }
  nav.open { display: flex; }
  .nav-toggle { display: block; }
  #site-header { position: relative; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .page-hero-content { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
}

.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }


/* ABOUT PAGE */
.about-hero { background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-mid) 100%); padding: 4rem 2rem 3.5rem; position: relative; overflow: hidden; text-align: center; }
.about-hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 20% 80%, rgba(74,146,104,0.3) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(201,168,76,0.15) 0%, transparent 50%); }
.about-hero-inner { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }
.about-badge { display: inline-block; background: rgba(201,168,76,0.2); color: var(--gold-light); border: 1px solid rgba(201,168,76,0.4); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 14px; border-radius: 100px; margin-bottom: 1rem; }
.about-hero h1 { font-family: "DM Serif Display", serif; color: white; font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 1rem; }
.about-hero h1 em { color: var(--gold); font-style: italic; }
.about-hero p { color: rgba(255,255,255,0.7); font-size: 1.05rem; font-weight: 300; line-height: 1.6; }
.about-body { max-width: 780px; margin: 0 auto; padding: 3rem 2rem 5rem; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 3rem; }
.stat-card { background: white; border: 1px solid var(--border); border-radius: 14px; padding: 1.5rem 1rem; text-align: center; box-shadow: var(--shadow); }
.stat-num { font-family: "DM Serif Display", serif; font-size: 2.6rem; color: var(--green-dark); line-height: 1; margin-bottom: 0.35rem; }
.stat-lbl { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-light); }
.about-section { margin-bottom: 2.5rem; }
.about-section h2 { font-family: "DM Serif Display", serif; font-size: 1.6rem; color: var(--green-dark); margin-bottom: 1rem; line-height: 1.2; }
.about-section p { font-size: 1rem; color: var(--text-mid); line-height: 1.75; margin-bottom: 1rem; }
.about-section p:last-child { margin-bottom: 0; }
.philo-list { list-style: none; margin: 1rem 0; display: flex; flex-direction: column; gap: 0.6rem; }
.philo-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.95rem; color: var(--text-mid); line-height: 1.55; padding: 10px 14px; background: var(--green-ultra); border-left: 3px solid var(--green-light); border-radius: 0 8px 8px 0; }
.philo-list li::before { content: "→"; color: var(--green-light); font-weight: 700; flex-shrink: 0; }
.about-cta { background: linear-gradient(135deg, var(--green-dark), var(--green-mid)); border-radius: 20px; padding: 2.5rem 2rem; text-align: center; margin-top: 3rem; }
.about-cta h3 { font-family: "DM Serif Display", serif; color: white; font-size: 1.6rem; margin-bottom: 0.75rem; }
.about-cta p { color: rgba(255,255,255,0.7); font-size: 0.95rem; margin-bottom: 1.5rem; }
.about-cta-btn { display: inline-block; background: var(--gold); color: var(--green-dark); font-weight: 700; font-size: 0.95rem; padding: 12px 28px; border-radius: 10px; text-decoration: none; transition: background 0.2s, transform 0.1s; }
.about-cta-btn:hover { background: var(--gold-light); transform: translateY(-1px); }
@media (max-width: 640px) { .stat-row { grid-template-columns: 1fr; } .about-body { padding: 2rem 1.25rem 3rem; } }

/* ── Below-fold full-width gear & tips grid ──────────── */
.below-fold-section { max-width:1200px; margin:0 auto; padding:0 2rem 4rem; }
.below-fold-label { font-size:.72rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:var(--green-light); margin-bottom:.4rem; }
.below-fold-title { font-family:'DM Serif Display',serif; font-size:1.8rem; color:var(--green-dark); margin-bottom:1.5rem; }
.below-fold-grid { display:grid; grid-template-columns:1fr 1fr; gap:1.5rem; align-items:start; max-width:calc(100% - 300px - 2rem); }
