/* ValuePicksHub — shared stylesheet */
:root {
  --brand: #1a6b3a;
  --brand-light: #e8f5ee;
  --brand-dark: #0f4022;
  --text: #1a1a1a;
  --text-muted: #555;
  --bg: #fff;
  --border: #d4d4d4;
  --link: #1a6b3a;
  --link-hover: #0f4022;
  --max-w: 900px;
  --radius: 6px;
  font-size: 16px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}

a { color: var(--link); }
a:hover { color: var(--link-hover); }
a:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 2px; }

/* ---- Skip link ---- */
.skip-link {
  position: absolute; left: -999px; top: auto;
  background: var(--brand); color: #fff; padding: .5rem 1rem;
  text-decoration: none; z-index: 9999; border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }

/* ---- Header / Nav ---- */
header {
  background: var(--brand);
  padding: 0 1.25rem;
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 56px;
  flex-wrap: wrap;
}
.site-logo {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
}
.site-logo-img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #fff;
  object-fit: contain;
}
.hero-logo {
  display: block;
  width: 96px;
  height: 96px;
  border-radius: 18px;
  margin: 0 auto 1rem;
  background: #fff;
  object-fit: contain;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
}
.site-logo:hover, .site-logo:focus { color: var(--brand-light); }
nav[aria-label="Main"] ul {
  list-style: none;
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}
nav[aria-label="Main"] a {
  color: rgba(255,255,255,.88);
  text-decoration: none;
  font-size: .93rem;
}
nav[aria-label="Main"] a:hover,
nav[aria-label="Main"] a[aria-current="page"] {
  color: #fff;
  text-decoration: underline;
}

/* ---- Main content ---- */
main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

/* ---- Hero ---- */
.hero {
  background: var(--brand-light);
  border-bottom: 1px solid #c5e0ce;
  padding: 2.5rem 1.25rem;
  text-align: center;
}
.hero-inner { max-width: var(--max-w); margin: 0 auto; }
.hero h1 { font-size: clamp(1.75rem, 4vw, 2.6rem); color: var(--brand-dark); line-height: 1.2; }
.hero .hero-tagline { margin-top: .5rem; font-size: 1.15rem; color: var(--brand); max-width: 640px; margin-left: auto; margin-right: auto; }
.hero p { margin-top: .75rem; font-size: 1.1rem; color: var(--text-muted); max-width: 640px; margin-left: auto; margin-right: auto; }
.hero-cta {
  display: inline-block;
  margin-top: 1.5rem;
  background: var(--brand);
  color: #fff;
  padding: .7rem 1.75rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
}
.hero-cta:hover { background: var(--brand-dark); color: #fff; }

/* ---- Sections ---- */
section + section { margin-top: 2.5rem; }
h2 { font-size: 1.45rem; color: var(--brand-dark); margin-bottom: .75rem; }
h3 { font-size: 1.1rem; color: var(--text); margin: 1.25rem 0 .5rem; }
p + p { margin-top: .75rem; }
ul, ol { padding-left: 1.4rem; }
li { margin-top: .4rem; }
strong { font-weight: 600; }

/* ---- Disclosure banner ---- */
.disclosure-banner {
  background: #fffbea;
  border: 1px solid #e5c84a;
  border-radius: var(--radius);
  padding: .75rem 1rem;
  font-size: .88rem;
  color: #5a4a00;
  margin-bottom: 2rem;
}
.disclosure-banner a { color: #3a2e00; }

/* ---- Contact form ---- */
.contact-form { max-width: 560px; }
.form-group { margin-bottom: 1rem; }
label { display: block; font-size: .93rem; font-weight: 500; margin-bottom: .3rem; }
input, textarea, select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .55rem .8rem;
  font-size: 1rem;
  font-family: inherit;
  color: var(--text);
  background: #fff;
}
input:focus, textarea:focus { outline: 3px solid var(--brand); outline-offset: 0; border-color: var(--brand); }
textarea { min-height: 140px; resize: vertical; }
.btn-submit {
  background: var(--brand);
  color: #fff;
  border: none;
  padding: .65rem 1.75rem;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}
.btn-submit:hover { background: var(--brand-dark); }
.btn-submit:focus-visible { outline: 3px solid var(--brand-dark); outline-offset: 2px; }

/* ---- Consent banner ---- */
#consent-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: #1a1a1a; color: #f0f0f0;
  padding: 1rem 1.25rem;
  z-index: 1000;
  box-shadow: 0 -2px 12px rgba(0,0,0,.3);
  display: none;
}
#consent-banner.visible { display: block; }
.consent-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: .75rem;
  align-items: center; justify-content: space-between;
}
.consent-inner p { flex: 1 1 300px; font-size: .88rem; }
.consent-inner a { color: #90d9aa; }
.consent-actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.consent-btn {
  border: none; padding: .5rem 1.1rem; border-radius: var(--radius);
  font-size: .88rem; cursor: pointer; font-weight: 600;
}
.consent-btn-accept { background: var(--brand); color: #fff; }
.consent-btn-accept:hover { background: #1d7d44; }
.consent-btn-decline { background: #333; color: #ddd; }
.consent-btn-decline:hover { background: #444; }

/* ---- Footer ---- */
footer {
  background: #f4f4f4;
  border-top: 1px solid var(--border);
  padding: 1.5rem 1.25rem;
  font-size: .85rem;
  color: var(--text-muted);
}
.footer-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 1rem;
  justify-content: space-between; align-items: flex-start;
}
.footer-legal p + p { margin-top: .35rem; }
.footer-nav ul {
  list-style: none;
  display: flex; flex-wrap: wrap; gap: .5rem 1.1rem;
}
.footer-nav a { color: var(--text-muted); text-decoration: none; }
.footer-nav a:hover { color: var(--brand); text-decoration: underline; }

/* ---- Policy pages ---- */
.policy-body h2 { margin-top: 2rem; }
.policy-body p, .policy-body li { font-size: .97rem; }
.effective-date { color: var(--text-muted); font-size: .88rem; margin-bottom: 1.5rem; }

/* ---- Responsive tweaks ---- */
@media (max-width: 600px) {
  .header-inner { flex-direction: column; align-items: flex-start; padding: .6rem 0; }
  .consent-inner { flex-direction: column; }
  .footer-inner { flex-direction: column; }
}
