/* ============================================================
   TARANTULAS PAGE — additional styles
   ============================================================ */

/* ---- Interval feeding table ---- */
.interval-table {
  margin: 16px 0;
  background: var(--card2);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  overflow: hidden;
}

.interval-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  font-size: 0.88rem;
}

.interval-row + .interval-row {
  border-top: 1px solid var(--border);
}

.interval-label {
  font-weight: 600;
  color: var(--text);
}

.interval-range {
  color: var(--green);
  font-weight: 600;
  font-size: 0.82rem;
}

/* ---- Cloud callout block ---- */
.cloud-callout {
  max-width: 660px;
  margin: 0 auto;
  text-align: center;
}

.cloud-callout .tag {
  margin-bottom: 18px;
}

.cloud-callout .section-sub {
  margin: 16px auto 0;
  max-width: 600px;
}

/* ---- FAQ section ---- */
.faq-list {
  max-width: 780px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 24px 28px;
  transition: border-color 0.2s;
}

.faq-item:hover {
  border-color: var(--border2);
}

.faq-q {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
  line-height: 1.4;
}

.faq-a {
  font-size: 0.92rem;
  color: var(--text2);
  line-height: 1.72;
}

/* ---- Responsive ---- */
@media (max-width: 600px) {
  .faq-item {
    padding: 20px 20px;
  }
}

/* ============================================================
   tarantula-care-tracker.html — guide-specific styles
   ============================================================ */

/* Hero variant — calmer, guide-style */
.guide-hero {
  padding: 96px 24px 64px;
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.guide-hero h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin: 20px 0 18px;
}
.guide-hero h1 em {
  font-style: normal;
  color: var(--green);
}
.guide-hero p {
  font-size: 1.08rem;
  color: var(--text2);
  line-height: 1.75;
  max-width: 680px;
  margin: 0 auto;
}
.guide-hero .guide-meta {
  margin-top: 24px;
  font-size: 0.82rem;
  color: var(--text3);
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.guide-hero .guide-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.guide-hero .guide-meta span::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text3);
}
.guide-hero .guide-meta span:first-child::before {
  display: none;
}

/* Table of contents block */
.toc-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 28px 32px;
  max-width: 760px;
  margin: 0 auto;
}
.toc-card h2 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text3);
  margin-bottom: 18px;
}
.toc-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px 32px;
}
.toc-list a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 9px 0;
  font-size: 0.93rem;
  color: var(--text2);
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.toc-list a:last-child {
  border-bottom: none;
}
.toc-list a:hover {
  color: var(--green);
}
.toc-num {
  font-size: 0.72rem;
  color: var(--text3);
  font-weight: 700;
  flex-shrink: 0;
  width: 22px;
}

/* Inline note block — for keeper-voice asides */
.keeper-note {
  background: rgba(155, 77, 255, 0.06);
  border: 1px solid rgba(155, 77, 255, 0.22);
  border-left: 3px solid var(--purple);
  border-radius: var(--r-sm);
  padding: 16px 20px;
  margin: 20px 0 0;
  font-size: 0.9rem;
  color: var(--text2);
  line-height: 1.7;
}
.keeper-note strong {
  color: var(--purple-soft);
  font-weight: 600;
}

/* Compact key-fact list (used in some sections) */
.key-facts {
  background: var(--card2);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 14px 18px;
  margin-top: 18px;
}
.key-facts li {
  font-size: 0.88rem;
  color: var(--text2);
  line-height: 1.75;
  padding-left: 18px;
  position: relative;
  list-style: none;
}
.key-facts li::before {
  content: "•";
  position: absolute;
  left: 4px;
  color: var(--green);
  font-weight: 700;
}
.key-facts li + li {
  margin-top: 4px;
}

/* Footer guide note */
.guide-footnote {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  font-size: 0.9rem;
  color: var(--text2);
  line-height: 1.8;
}
.guide-footnote a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Sign-up banner CTA */
.cta-banner {
  max-width: 880px;
  margin: 56px auto 0;
  padding: 40px 36px;
  text-align: center;
  border-radius: var(--r-md, 16px);
  border: 1px solid var(--border);
  background:
    radial-gradient(
      120% 140% at 50% 0%,
      rgba(155, 77, 255, 0.18) 0%,
      rgba(155, 77, 255, 0) 60%
    ),
    var(--card2);
  position: relative;
  overflow: hidden;
}
.cta-banner h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0 0 12px;
  color: var(--text);
}
.cta-banner h2 em {
  font-style: normal;
  color: var(--green);
}
.cta-banner p {
  font-size: 1.02rem;
  color: var(--text2);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto 28px;
}
.cta-banner .cta-btn {
  display: inline-block;
  padding: 14px 34px;
  border-radius: 999px;
  background: var(--green);
  color: #0c0a18;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
  box-shadow: 0 6px 24px rgba(158, 224, 52, 0.25);
}
.cta-banner .cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(158, 224, 52, 0.35);
}
.cta-banner .cta-sub {
  margin: 16px 0 0;
  font-size: 0.82rem;
  color: var(--text3);
}

/* Center showcase images within their blue spotlight box
   (some images are narrower than the box and were sitting left-aligned) */
.spotlight-vis img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 700px) {
  .toc-list {
    grid-template-columns: 1fr;
  }
  .toc-card {
    padding: 22px 22px;
  }
  .guide-hero {
    padding: 64px 20px 40px;
  }
}
