/* ==========================================================================
   TeenBasics.com — Design System
   Palette: teal (primary), navy (headings/text), coral (accent/CTA), yellow (highlight)
   Display type: Poppins (rounded, friendly — matches the backpack/checklist mark)
   Body type: Source Sans 3 (clean, highly legible for parents reading on mobile)
   Signature motif: the checklist tag — checkmark bullets, torn-note callouts,
   dashed "path" dividers echoing the hero illustration's dotted trail.
   ========================================================================== */

:root {
  --teal: #1B95A0;
  --teal-dark: #0E6E77;
  --teal-light: #E4F4F5;
  --navy: #142E4F;
  --navy-soft: #33506F;
  --coral: #F0604B;
  --coral-dark: #D94733;
  --yellow: #F7B733;
  --bg: #F7FBFB;
  --white: #FFFFFF;
  --text: #1B2733;
  --text-muted: #5B6B7A;
  --border: #DCEAEB;

  --font-display: "Poppins", "Segoe UI", sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 2px 8px rgba(20, 46, 79, 0.06);
  --shadow-md: 0 8px 24px rgba(20, 46, 79, 0.10);
  --shadow-lg: 0 16px 40px rgba(20, 46, 79, 0.14);

  --container: 1180px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
body { margin: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 0.5em;
  font-weight: 700;
}
h1 { font-size: clamp(2.1rem, 4.5vw, 3.2rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -0.01em; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; color: var(--text); }
.text-muted { color: var(--text-muted); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section--tight { padding: 48px 0; }
.section--alt { background: var(--white); }
.section--navy { background: var(--navy); color: #fff; }
.section--navy h2, .section--navy h3 { color: #fff; }

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 13px 26px;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-coral { background: var(--coral); color: #fff; box-shadow: var(--shadow-sm); }
.btn-coral:hover { background: var(--coral-dark); box-shadow: var(--shadow-md); }
.btn-teal { background: var(--teal); color: #fff; box-shadow: var(--shadow-sm); }
.btn-teal:hover { background: var(--teal-dark); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-outline-white { background: transparent; border-color: rgba(255,255,255,0.6); color: #fff; }
.btn-outline-white:hover { background: #fff; color: var(--navy); }
.btn-sm { padding: 9px 18px; font-size: 0.88rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247, 251, 251, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px;
}
.nav__logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav__logo img { height: 36px; width: auto; }
.nav__logo-text { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; }
.nav__logo-text .t1 { color: var(--teal); }
.nav__logo-text .t2 { color: var(--navy); }
.nav__logo-text .t3 { color: var(--coral); }

.nav__links {
  display: flex; gap: 28px; align-items: center;
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
}
.nav__links a { text-decoration: none; color: var(--navy-soft); padding: 6px 2px; border-bottom: 2px solid transparent; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--teal-dark); border-color: var(--teal); }
.nav__cta { display: flex; align-items: center; gap: 14px; }

.nav__toggle {
  display: none; background: none; border: none; cursor: pointer; padding: 6px;
}
.nav__toggle span { display: block; width: 24px; height: 2.5px; background: var(--navy); margin: 5px 0; border-radius: 2px; }

@media (max-width: 900px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); flex-direction: column; align-items: flex-start;
    gap: 0; padding: 8px 24px 18px; border-bottom: 1px solid var(--border);
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--border); }
  .nav__cta .btn span { display: none; }
}

/* Breadcrumbs */
.breadcrumbs { font-size: 0.85rem; color: var(--text-muted); padding: 16px 0 0; }
.breadcrumbs a { color: var(--teal-dark); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 56px 0 40px;
  overflow: hidden;
}
.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--teal-light); color: var(--teal-dark);
  font-family: var(--font-display); font-weight: 600; font-size: 0.82rem;
  padding: 7px 14px; border-radius: 999px; margin-bottom: 18px;
}
.hero h1 span.hl-teal { color: var(--teal); }
.hero h1 span.hl-coral { color: var(--coral); }
.hero p.lead { font-size: 1.15rem; color: var(--navy-soft); max-width: 46ch; }
.hero__actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.hero__art { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.hero__pillars {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  margin-top: 44px; padding-top: 34px; border-top: 1px solid var(--border);
}
.pillar { display: flex; align-items: center; gap: 10px; }
.pillar__icon {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.1rem;
}
.pillar__label { font-family: var(--font-display); font-weight: 600; font-size: 0.92rem; color: var(--navy); }

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__pillars { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Checklist / signature list style ---------- */
.check-list li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  width: 20px; height: 20px; border-radius: 6px;
  background: var(--teal); color: #fff; font-size: 0.72rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.check-list--coral li::before { background: var(--coral); }
.check-list--yellow li::before { background: var(--yellow); color: var(--navy); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 26px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border-radius: var(--radius-md);
  border: 1px solid var(--border); padding: 26px;
  box-shadow: var(--shadow-sm); transition: box-shadow .2s ease, transform .2s ease;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card__icon {
  width: 48px; height: 48px; border-radius: var(--radius-sm);
  background: var(--teal-light); color: var(--teal-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 14px;
}
.card__tag {
  display: inline-block; font-family: var(--font-display); font-weight: 700;
  font-size: 0.72rem; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--coral); margin-bottom: 8px;
}
.card a.card__link { text-decoration: none; color: var(--teal-dark); font-family: var(--font-display); font-weight: 600; font-size: 0.92rem; }

/* Sticky-note callout — signature element echoing the "Plan Focus Thrive" note in hero art */
.sticky-note {
  background: var(--yellow); color: var(--navy);
  border-radius: 4px 16px 4px 16px;
  padding: 26px 28px; box-shadow: var(--shadow-md);
  position: relative; font-family: var(--font-display);
  transform: rotate(-1.2deg);
}
.sticky-note strong { display: block; font-size: 1.15rem; margin-bottom: 6px; }
.sticky-note p { color: var(--navy); font-family: var(--font-body); font-weight: 400; margin: 0; }

/* Dashed path divider */
.path-divider { border: none; border-top: 2px dashed var(--border); margin: 56px 0; }

/* ---------- Blog / article list ---------- */
.post-card__meta { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 8px; font-family: var(--font-display); }
.post-card h3 a { text-decoration: none; color: var(--navy); }
.post-card h3 a:hover { color: var(--teal-dark); }

/* ---------- Article page ---------- */
.article { max-width: 760px; margin: 0 auto; }
.article__meta { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 24px; }
.article h2 { margin-top: 1.6em; }
.article ul { margin: 0 0 1.2em; }
.article ul li { margin-bottom: 8px; }
.callout {
  background: var(--teal-light); border-left: 4px solid var(--teal);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 18px 22px; margin: 24px 0;
}
.author-box {
  display: flex; gap: 16px; align-items: center; background: var(--white);
  border: 1px solid var(--border); border-radius: var(--radius-md); padding: 20px; margin-top: 40px;
}
.author-box__avatar {
  width: 52px; height: 52px; border-radius: 50%; background: var(--navy);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700;
}

/* ---------- Newsletter / lead magnet ---------- */
.lead-box {
  background: var(--navy); color: #fff; border-radius: var(--radius-lg);
  padding: 44px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center;
}
.lead-box h2 { color: #fff; }
.lead-box form { display: flex; gap: 10px; flex-wrap: wrap; }
.lead-box input[type="email"] {
  flex: 1; min-width: 200px; padding: 13px 16px; border-radius: 999px; border: none; font-size: 0.95rem;
}
@media (max-width: 760px) { .lead-box { grid-template-columns: 1fr; padding: 30px; } }

/* ---------- Product / shop ---------- */
.price-tag { font-family: var(--font-display); font-weight: 700; color: var(--coral); font-size: 1.05rem; }
.affiliate-note { font-size: 0.78rem; color: var(--text-muted); margin-top: 4px; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--border); padding: 18px 0; }
.faq-item summary {
  cursor: pointer; font-family: var(--font-display); font-weight: 600; color: var(--navy);
  list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--teal); font-weight: 400; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin-top: 12px; color: var(--text-muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #cfe0ec; padding: 56px 0 26px; margin-top: 80px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer__brand img { height: 32px; margin-bottom: 12px; }
.footer__brand p { color: #9fb4c7; font-size: 0.9rem; max-width: 32ch; }
.footer h4 { color: #fff; font-size: 0.95rem; margin-bottom: 14px; }
.footer__grid a { text-decoration: none; color: #9fb4c7; font-size: 0.9rem; line-height: 2.1; display: block; }
.footer__grid a:hover { color: var(--yellow); }
.footer__bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  border-top: 1px solid rgba(255,255,255,0.12); margin-top: 40px; padding-top: 22px;
  font-size: 0.82rem; color: #7f97ab;
}
.footer__social { display: flex; gap: 12px; }
.footer__social a {
  width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center; color: #fff;
}
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Utility ---------- */
.eyebrow {
  font-family: var(--font-display); font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--teal-dark); margin-bottom: 10px; display: block;
}
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.badge {
  display: inline-flex; align-items: center; gap: 6px; background: var(--teal-light);
  color: var(--teal-dark); font-size: 0.78rem; font-weight: 600; font-family: var(--font-display);
  padding: 5px 12px; border-radius: 999px;
}
.skip-link {
  position: absolute; left: -999px; top: auto; background: var(--navy); color: #fff;
  padding: 12px 18px; border-radius: 0 0 8px 0; z-index: 200;
}
.skip-link:focus { left: 0; top: 0; }
