@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

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

:root {
  --navy:        #1b2d4f;
  --navy-mid:    #243a62;
  --teal:        #3a9688;
  --teal-light:  #f3fcfb;
  --text:        #1a1a1a;
  --text-muted:  #5a5a5a;
  --bg:          #ffffff;
  --bg-alt:      #f7f8fa;
  --border:      #e0e2e8;
  --radius:      6px;
  --max-w:       1100px;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

/* ── TOP BAR ── */
.top-bar {
  background: var(--navy);
  padding: 0 2rem;
  height: 40px;
  display: flex;
  align-items: center;
}
.top-bar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.top-bar-title {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: rgba(255,255,255,0.85);
}
.top-bar-social { display: flex; gap: 0.65rem; align-items: center; }
.top-bar-social a {
  display: flex; align-items: center; justify-content: center;
  width: 22px; height: 22px;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color 0.2s;
}
.top-bar-social a:hover { color: #fff; }
.top-bar-social svg { width: 14px; height: 14px; fill: currentColor; }

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 2rem;
}
.nav-logo img { height: 42px; width: auto; }
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--navy); }
.nav-links a.external::after { content: ' ↗'; font-size: 0.75em; }

/* Nav social icons — hidden; social links live in .top-bar now */
.nav-social { display: none; }

/* mobile hamburger */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--text); margin: 5px 0;
  transition: 0.3s;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.8rem 2rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.1s;
  border: 2px solid transparent;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: #2d4ca7;
  color: #fff;
  border-color: #2d4ca7;
}
.btn-primary:hover { background: #6dc5ab; border-color: #6dc5ab; }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-white {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}
.btn-white:hover { background: var(--teal-light); border-color: var(--teal-light); color: var(--navy); }

/* ── LAYOUT HELPERS ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}
section { padding: 5rem 0; }
section.alt { background: var(--bg-alt); }

h1, h2, h3 { font-family: 'Inter', sans-serif; line-height: 1.15; font-weight: 800; }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 1rem; }
h3 { font-size: 1.1rem; margin-bottom: 0.5rem; font-weight: 700; }

.section-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 0.75rem;
}
.section-title { margin-bottom: 0.75rem; }
.section-intro {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 640px;
  margin-bottom: 3rem;
}

/* ── SOCIAL ICONS (general) ── */
.social-links { display: flex; gap: 1rem; align-items: center; }
.social-links a {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  color: var(--text-muted);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.social-links a:hover { border-color: var(--navy); color: var(--navy); }
.social-links svg { width: 18px; height: 18px; fill: currentColor; }

/* ── HERO (home) ── */
.hero-section {
  background: var(--teal-light);
  padding: 5rem 0;
}
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-text .hero-quote {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 1.25rem;
}
.hero-text .hero-attr {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  font-style: italic;
}
.hero-image img {
  width: 100%;
  border-radius: 0;
  display: block;
}

/* ── TESTIMONIALS ── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 1.5rem;
}
.testimonial-wrap img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}
.testimonial-attr {
  margin-top: 1rem;
}
.testimonial-attr .attr-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 0.2rem;
}
.testimonial-attr .attr-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ── NEWSLETTER ARTICLES ── */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.75rem;
}
.article-card {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}
.article-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.1); transform: translateY(-2px); }
.article-card img { width: 100%; height: 180px; object-fit: cover; }
.article-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; gap: 0.5rem; }
.article-card-body h3 { font-size: 1rem; font-weight: 700; }
.article-card-body p { font-size: 0.88rem; color: var(--text-muted); flex: 1; }
.article-card-body .read-more {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--teal);
  margin-top: 0.5rem;
}

/* ── ABOUT PAGE ── */
.about-hero {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 4rem;
  align-items: start;
  padding: 5rem 0;
}
.about-photo {
  position: relative;
}
.about-photo img {
  width: 100%;
  border-radius: 12px;
  display: block;
}
.about-photo .social-links {
  position: absolute;
  bottom: 0;
  right: 0;
  flex-direction: column;
  background: #fff;
  border-top-left-radius: 12px;
  padding: 0.75rem 0.65rem;
  gap: 0.5rem;
  margin: 0;
}
.about-content .tagline {
  font-size: 1rem;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}
.about-content p { margin-bottom: 1.25rem; color: var(--text-muted); font-size: 1.02rem; }
.about-ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }

/* ── BOOK PAGE ── */
.book-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 5rem 0;
}
.book-hero-image img {
  width: 100%;
  border-radius: 0;
}
.book-hero-text .pull-quote {
  font-size: 1.3rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text);
  border-left: 4px solid var(--teal);
  padding-left: 1.25rem;
  margin-bottom: 1.5rem;
}
.book-hero-text .quote-attr {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}
.book-section { max-width: 760px; margin: 0 auto; }
.book-section p { color: var(--text-muted); margin-bottom: 1rem; font-size: 1.02rem; }
.audience-tags {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 1.25rem 0;
}
.audience-tag {
  background: var(--teal-light);
  color: var(--teal);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.88rem;
  font-weight: 600;
}
.book-cta-bar {
  background: var(--navy);
}
.book-cta-bar .container { text-align: center; padding: 4rem 2rem; }
.book-cta-bar h2 { color: #fff; margin-bottom: 1.25rem; font-size: 1.6rem; }

/* ── WORKBOOK PAGE ── */
.workbook-hero {
  text-align: center;
  padding: 5rem 2rem;
  background: var(--teal-light);
}
.workbook-hero h1 { margin-bottom: 1rem; }
.workbook-hero .lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 2.5rem;
}
.workbook-bonus {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem 2rem;
  max-width: 560px;
  margin: 0 auto 2.5rem;
  text-align: left;
}
.workbook-bonus .bonus-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.5rem;
}
.workbook-bonus p { font-size: 0.95rem; color: var(--text-muted); }

.workbook-form-wrap {
  max-width: 420px;
  margin: 0 auto;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem;
  text-align: left;
}
.workbook-form-wrap h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text);
}
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 500; margin-bottom: 0.35rem; }
.form-group input {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus { border-color: var(--navy); }
.form-submit { width: 100%; padding: 0.8rem; font-size: 1rem; margin-top: 0.5rem; }
.form-note { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.75rem; text-align: center; }

/* ── PRIVACY PAGE ── */
.privacy-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 4rem 2rem;
}
.privacy-content h1 { margin-bottom: 0.5rem; }
.privacy-content .updated { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 2.5rem; }
.privacy-content h2 { font-size: 1.2rem; margin: 2rem 0 0.75rem; font-weight: 700; }
.privacy-content p { color: var(--text-muted); margin-bottom: 1rem; }

/* ── FOOTER ── */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 2.5rem 0;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
footer .social-links a {
  border-color: rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.6);
}
footer .social-links a:hover { border-color: #fff; color: #fff; }
footer a { color: rgba(255,255,255,0.7); text-decoration: none; }
footer a:hover { color: #fff; }
.footer-copy { font-size: 0.85rem; }
.footer-links { display: flex; gap: 1.5rem; font-size: 0.85rem; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .top-bar { display: none; }
  .nav-links { gap: 1.25rem; }
}

@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--border); padding: 1rem 2rem; gap: 1rem; z-index: 99; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }

  .hero, .book-hero { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-image { order: -1; }
  .hero-text .hero-quote { font-size: 2rem; }

  .about-hero { grid-template-columns: 1fr; gap: 2rem; }
  .about-photo img { max-width: 100%; }
  .about-photo .social-links {
    position: static;
    flex-direction: row;
    justify-content: center;
    background: none;
    border-radius: 0;
    padding: 0;
    margin-top: 1.25rem;
  }

  .testimonials-grid { grid-template-columns: 1fr; }
  .articles-grid { grid-template-columns: 1fr; }

  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
  .social-links { justify-content: center; }
}
