:root {
  --navy: #153E75;
  --green: #4E8B5C;
  --sky: #6FABC6;
  --tan: #EBD8B5;
  --charcoal: #333333;
  --off-white: #F7F5F0;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--charcoal);
  background: #ffffff;
}

h1, h2 {
  font-family: 'Libre Baskerville', serif;
  color: var(--navy);
  margin: 0;
}

a { color: inherit; }

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Header */
header {
  background: #ffffff;
  border-bottom: 1px solid #eee;
}

header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 20px;
}

header img { height: 64px; width: auto; display: block; }

nav a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.5px;
  color: var(--navy);
  text-decoration: none;
  margin-left: 28px;
}

nav a:hover { color: var(--green); }

/* Hero */
.hero {
  position: relative;
  background-image: linear-gradient(rgba(21,62,117,0.55), rgba(21,62,117,0.35)), url('/assets/hero.jpg');
  background-size: cover;
  background-position: center 30%;
  min-height: 480px;
  display: flex;
  align-items: center;
}

.hero .wrap { width: 100%; }

.hero-content { max-width: 480px; padding: 60px 0; }

.hero h1 {
  color: #ffffff;
  font-size: 40px;
  line-height: 1.25;
  margin-bottom: 22px;
}

.btn {
  display: inline-block;
  background: var(--green);
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.5px;
  padding: 14px 30px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.btn:hover { background: #3f7449; }

/* Intro */
.intro {
  text-align: center;
  padding: 64px 0;
}

.intro p {
  max-width: 620px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.75;
  color: #444;
}

/* Footer */
footer {
  background: var(--off-white);
  border-top: 1px solid #e5e2da;
}

footer .wrap {
  padding: 32px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: #777;
}

footer .links a {
  text-decoration: none;
  color: #777;
  margin-left: 18px;
}

footer .links a:hover { color: var(--navy); }

/* Simple content pages (privacy / disclosure / contact) */
.page-content {
  padding: 56px 0 72px;
  max-width: 760px;
}

.page-content h2 { font-size: 28px; margin-bottom: 20px; }
.page-content p { line-height: 1.7; margin-bottom: 16px; color: #444; }
.page-content a.back { display: inline-block; margin-bottom: 28px; font-size: 13px; color: var(--green); text-decoration: none; font-family: 'Montserrat', sans-serif; font-weight: 600; }

@media (max-width: 640px) {
  header .wrap { flex-direction: column; gap: 14px; padding: 20px 0; }
  nav a { margin: 0 12px; }
  .hero { min-height: 420px; }
  .hero h1 { font-size: 30px; }
  .hero-content { padding: 40px 0; }
  header img { height: 50px; }
}

/* Legal pages (Privacy Policy, Terms of Service, Affiliate Disclosure) */
.legal-hero {
  background: var(--navy);
  padding: 48px 24px;
  text-align: center;
}

.legal-hero h1 {
  color: #ffffff;
  font-size: clamp(26px, 4vw, 36px);
  margin-bottom: 10px;
}

.legal-hero p {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  margin: 0;
}

.legal-wrap {
  max-width: 740px;
  margin: 0 auto;
  padding: 56px 24px 72px;
}

.legal-wrap > p {
  font-size: 15px;
  color: #444;
  margin-bottom: 16px;
  line-height: 1.75;
}

.legal-wrap h2 {
  font-size: 20px;
  margin: 36px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--tan);
}

.legal-wrap h2:first-of-type { margin-top: 0; }

.legal-wrap h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--navy);
  margin: 20px 0 8px;
}

.legal-wrap p {
  font-size: 15px;
  color: #444;
  margin-bottom: 16px;
  line-height: 1.75;
}

.legal-wrap ul {
  margin: 0 0 16px 20px;
}

.legal-wrap ul li {
  font-size: 15px;
  color: #444;
  margin-bottom: 8px;
  line-height: 1.65;
}

.legal-wrap a {
  color: var(--green);
  text-decoration: underline;
}

.legal-toc {
  background: var(--off-white);
  border: 1px solid #e5e2da;
  border-radius: 10px;
  padding: 24px 28px;
  margin-bottom: 36px;
}

.legal-toc h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 14px;
}

.legal-toc ol {
  margin-left: 18px;
}

.legal-toc ol li {
  font-size: 14px;
  color: #444;
  margin-bottom: 6px;
}

.legal-toc ol li a {
  color: var(--green);
  text-decoration: none;
}

.legal-toc ol li a:hover { text-decoration: underline; }

@media (max-width: 640px) {
  .legal-wrap { padding: 40px 20px 56px; }
}
