/* ── TEACHERS & PARENTS PAGE ─────────────────────────── */
/* Inverted design: light cream bg, deep green text, same teal accents */

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

:root {
  --cream:       #f7f3ec;
  --cream-dark:  #ede9e0;
  --sage-light:  #eef5f1;
  --forest:      #1a3320;
  --forest-mid:  #2d5235;
  --teal-text:   #0d7a6a;
  --teal-bright: #4aeadc;
  --teal-deep:   #0a5a52;
  --border:      rgba(13,122,106,0.18);
  --shadow:      rgba(26,51,32,0.08);
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--cream);
  color: var(--forest);
  overflow-x: hidden;
  line-height: 1.7;
}

/* ── NAV ─────────────────────────────────────────────── */
.tp-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 2rem;
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  gap: 1rem;
}
.tp-nav-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--teal-text);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: color 0.2s;
}
.tp-nav-back:hover { color: var(--teal-deep); }
.tp-nav-wordmark {
  font-family: 'Crimson Text', serif;
  font-size: 1rem;
  font-style: italic;
  color: var(--forest-mid);
  text-decoration: none;
  text-align: right;
  transition: color 0.2s;
}
.tp-nav-wordmark:hover { color: var(--teal-text); }

/* ── HERO ────────────────────────────────────────────── */
.tp-hero {
  background: linear-gradient(160deg, #eef5f1 0%, var(--cream) 60%);
  border-bottom: 1px solid var(--border);
  padding: 3rem 1.5rem 2.5rem;
  text-align: center;
}
.tp-mushroom-icon {
  width: 80px;
  height: 90px;
  margin: 0 auto 1.25rem;
  opacity: 0.85;
}
.tp-mushroom-icon svg { width: 100%; height: 100%; }
.tp-h1 {
  font-family: 'Crimson Text', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--forest);
  line-height: 1.15;
  margin-bottom: 0.75rem;
}
.tp-subhead {
  font-family: 'Crimson Text', serif;
  font-size: 1.2rem;
  color: var(--forest-mid);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ── LAYOUT ──────────────────────────────────────────── */
.tp-container {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.tp-main {
  padding: 1rem 0 2rem;
}
.tp-section {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
}
.tp-section:last-child { border-bottom: none; }

/* ── HEADINGS ────────────────────────────────────────── */
.tp-h2 {
  font-family: 'Crimson Text', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--teal-text);
  margin-bottom: 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid rgba(74,234,220,0.35);
  display: inline-block;
}
.tp-subheading {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--forest-mid);
  margin: 1.25rem 0 0.5rem;
  letter-spacing: 0.02em;
}

/* ── BODY TEXT ───────────────────────────────────────── */
.tp-body {
  font-family: 'Crimson Text', serif;
  font-size: 1.1rem;
  color: var(--forest);
  line-height: 1.8;
}
.tp-intro-line {
  margin-bottom: 1.5rem;
}

/* ── THEMES GRID ─────────────────────────────────────── */
.tp-themes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 2rem;
  list-style: none;
  margin-top: 1rem;
}
.tp-themes-grid li {
  font-family: 'Crimson Text', serif;
  font-size: 1.05rem;
  color: var(--forest);
  padding: 0.4rem 0 0.4rem 1.2rem;
  position: relative;
  border-bottom: 1px solid rgba(13,122,106,0.1);
}
.tp-themes-grid li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal-bright);
}

/* ── RESOURCE CARDS ──────────────────────────────────── */
.tp-resource-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.tp-resource-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px var(--shadow);
  transition: box-shadow 0.3s, transform 0.3s;
}
.tp-resource-card:hover {
  box-shadow: 0 8px 30px rgba(13,122,106,0.12);
  transform: translateY(-2px);
}
.tp-card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
}
.tp-card-icon svg { width: 100%; height: 100%; }
.tp-card-title {
  font-family: 'Crimson Text', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--forest);
  margin-bottom: 0.4rem;
}
.tp-format-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-text);
  background: rgba(74,234,220,0.12);
  border: 1px solid rgba(74,234,220,0.3);
  border-radius: 20px;
  padding: 0.2rem 0.75rem;
  margin-bottom: 0.9rem;
}
.tp-card-desc {
  font-family: 'Crimson Text', serif;
  font-size: 1rem;
  color: var(--forest-mid);
  line-height: 1.7;
  flex-grow: 1;
  margin-bottom: 1.25rem;
}
.tp-download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: var(--forest);
  color: var(--teal-bright);
  border: 1.5px solid rgba(74,234,220,0.4);
  padding: 0.7rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: all 0.3s;
  text-align: center;
}
.tp-download-btn:hover {
  background: var(--teal-deep);
  border-color: var(--teal-bright);
  box-shadow: 0 0 20px rgba(74,234,220,0.2);
  transform: translateY(-2px);
}

/* ── LIST ────────────────────────────────────────────── */
.tp-list {
  list-style: none;
  margin-top: 0.5rem;
}
.tp-list li {
  font-family: 'Crimson Text', serif;
  font-size: 1.05rem;
  color: var(--forest);
  padding: 0.45rem 0 0.45rem 1.4rem;
  position: relative;
  border-bottom: 1px solid rgba(13,122,106,0.08);
}
.tp-list li:last-child { border-bottom: none; }
.tp-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal-bright);
}

/* ── CONTACT ─────────────────────────────────────────── */
.tp-contact-block {
  margin-top: 1.25rem;
  background: var(--sage-light);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.tp-contact-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.tp-contact-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.tp-contact-link {
  color: var(--teal-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.tp-contact-link:hover {
  color: var(--teal-deep);
  text-decoration: underline;
}
.tp-contact-text {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  font-size: 0.95rem;
}
.tp-contact-sep {
  color: var(--forest-mid);
  font-size: 0.85rem;
}

/* ── FOOTER QUOTE ────────────────────────────────────── */
.tp-footer-quote {
  background: var(--forest);
  text-align: center;
  padding: 2rem 1.5rem;
}
.tp-footer-quote p {
  font-family: 'Crimson Text', serif;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--teal-bright);
  opacity: 0.9;
  letter-spacing: 0.03em;
}

/* ── FOOTER ──────────────────────────────────────────── */
.tp-footer {
  background: #050d05;
  border-top: 1px solid rgba(74,234,220,0.1);
  text-align: center;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.tp-footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}
.tp-footer-nav-link {
  color: var(--teal-bright);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.tp-footer-nav-link:hover { color: #fff; text-decoration: underline; }
.tp-footer-nav-sep { color: rgba(74,234,220,0.35); }

.contact-popup {
  position: fixed;
  bottom: 5rem;
  left: 50%;
  transform: translateX(-50%);
  background: #122212;
  border: 1px solid rgba(74,234,220,0.35);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0,0,0,0.5), 0 0 20px rgba(74,234,220,0.1);
  z-index: 9999;
  min-width: 280px;
  animation: popupIn 0.2s ease;
}
.contact-popup.hidden { display: none; }
@keyframes popupIn {
  from { opacity: 0; transform: translateX(-50%) translateY(8px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.contact-popup-email {
  font-size: 0.95rem;
  color: #4aeadc;
  font-weight: 600;
  margin-bottom: 0.9rem;
  letter-spacing: 0.02em;
}
.contact-popup-btns {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  flex-wrap: wrap;
}
.contact-popup-open {
  background: rgba(74,234,220,0.12);
  border: 1.5px solid rgba(74,234,220,0.4);
  color: #4aeadc;
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}
.contact-popup-open:hover {
  background: rgba(74,234,220,0.22);
  box-shadow: 0 0 12px rgba(74,234,220,0.2);
}
.contact-popup-copy {
  background: transparent;
  border: 1.5px solid rgba(240,234,214,0.2);
  color: rgba(240,234,214,0.6);
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.contact-popup-copy:hover {
  border-color: rgba(240,234,214,0.4);
  color: rgba(240,234,214,0.9);
}
.contact-popup-copy.copied {
  color: #4aeadc;
  border-color: rgba(74,234,220,0.4);
}
.contact-popup-close {
  position: absolute;
  top: 0.5rem;
  right: 0.65rem;
  background: none;
  border: none;
  color: rgba(240,234,214,0.35);
  font-size: 0.8rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}
.contact-popup-close:hover { color: rgba(240,234,214,0.8); }
.tp-footer-copy {
  font-size: 0.75rem;
  color: rgba(240,234,214,0.35);
}

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 640px) {
  .tp-h1 { font-size: 2.2rem; }
  .tp-subhead { font-size: 1.05rem; }
  .tp-themes-grid { grid-template-columns: 1fr; }
  .tp-resource-grid { grid-template-columns: 1fr; }
  .tp-nav { padding: 0.75rem 1rem; }
  .tp-nav-wordmark { font-size: 0.85rem; }
  .tp-container { padding: 0 1rem; }
  .tp-contact-block { padding: 1.25rem; }
}
@media (max-width: 400px) {
  .tp-h1 { font-size: 1.9rem; }
  .tp-download-btn { font-size: 0.8rem; padding: 0.65rem 1rem; }
}
