* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Work Sans', system-ui, sans-serif;
  background: #faf7f2;
  color: #1f2937;
}
.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 16px 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.header {
  width: 100%;
  max-width: 640px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.header h1 {
  font-family: 'Baloo 2', system-ui, sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: #0f766e;
  margin: 0;
}

.hero {
  width: 100%;
  max-width: 640px;
  text-align: center;
  margin: 24px 0 32px;
}
.hero h2 {
  font-family: 'Baloo 2', system-ui, sans-serif;
  font-size: 22px;
  margin: 0 0 10px;
  color: #111827;
}
.hero p {
  font-size: 14px;
  line-height: 1.7;
  color: #6b7280;
  margin: 0;
}

.course-grid {
  width: 100%;
  max-width: 640px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
  margin-bottom: 32px;
}

.course-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 22px 20px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.course-card:hover {
  box-shadow: 0 6px 18px rgba(15, 118, 110, 0.12);
  transform: translateY(-2px);
}

.course-icon { font-size: 30px; margin-bottom: 10px; }
.course-name {
  font-family: 'Baloo 2', system-ui, sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 6px;
}
.course-desc {
  font-size: 13px;
  line-height: 1.6;
  color: #6b7280;
  margin-bottom: 14px;
  flex-grow: 1;
}
.course-cta {
  font-size: 13px;
  font-weight: 700;
  color: #0f766e;
}

.footer-note {
  width: 100%;
  max-width: 640px;
  text-align: center;
  font-size: 12px;
  color: #9ca3af;
  line-height: 1.7;
}

.site-footer {
  width: 100%;
  max-width: 640px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  justify-content: center;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid #eee;
  font-size: 12px;
}
.site-footer a { color: #6b7280; text-decoration: none; }
.site-footer a:hover { color: #0f766e; text-decoration: underline; }

/* ---- Why / How tabs ---- */
.tabs {
  width: 100%;
  max-width: 640px;
  display: flex;
  border-bottom: 2px solid #e5e7eb;
  margin-bottom: 20px;
}
.tab-btn {
  flex: 1;
  padding: 12px 8px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  color: #6b7280;
  font-family: inherit;
}
.tab-btn.active { color: #0f766e; border-bottom-color: #0f766e; }

.card {
  width: 100%;
  max-width: 640px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 20px 22px;
  margin-bottom: 32px;
}
.tab-panel[hidden] { display: none; }
.tab-panel p { margin: 0 0 10px; font-size: 14px; line-height: 1.7; color: #374151; }
.tab-panel ol,
.tab-panel ul { margin: 0; padding-left: 20px; font-size: 14px; line-height: 1.9; color: #374151; }
.benefits-title { font-family: 'Baloo 2', system-ui, sans-serif; font-size: 15px; font-weight: 700; margin: 0 0 8px; color: #111827; }

/* ---- Legal pages (privacy / terms / refund / contact) ---- */
.back-link {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: #0f766e;
  text-decoration: none;
  margin-bottom: 20px;
}
.back-link:hover { text-decoration: underline; }

.legal-card h2 {
  font-family: 'Baloo 2', system-ui, sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 4px;
}
.legal-updated {
  font-size: 12px;
  color: #9ca3af;
  margin: 0 0 20px;
}
.legal-card h3 {
  font-family: 'Baloo 2', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #0f766e;
  margin: 24px 0 8px;
}
.legal-card h3:first-of-type { margin-top: 0; }
.legal-card p {
  font-size: 14px;
  line-height: 1.7;
  color: #374151;
  margin: 0 0 12px;
}
.legal-card ul {
  font-size: 14px;
  line-height: 1.9;
  color: #374151;
  margin: 0 0 12px;
  padding-left: 20px;
}
