/* TeacherTimers — Pro, thanks and privacy pages. */

/* Themed hero (shorter than a tool screen) */
#stage.page-hero { height: auto; min-height: 0; padding-bottom: clamp(40px, 8vh, 90px); }
.page-hero .topbar a.icon-btn { text-decoration: none; }
.hero-copy {
  position: relative; z-index: 1;
  max-width: 760px; margin: clamp(30px, 8vh, 80px) auto 0; text-align: center;
}
.hero-copy h1 {
  margin: 14px 0 12px;
  font-family: var(--clock-font);
  font-size: clamp(2.4rem, 7vw, 4.6rem); line-height: 1.05;
  color: var(--fg); text-shadow: var(--clock-shadow);
}
.hero-copy p { font-size: clamp(1.05rem, 2.2vw, 1.3rem); line-height: 1.55; color: var(--ui); font-weight: 700; }
.hero-copy .btn { display: inline-block; margin-top: 10px; text-decoration: none; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.hero-actions .btn { margin: 0; }
.pill {
  display: inline-block; padding: 6px 14px; border-radius: 99px;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 800; font-size: .85rem; letter-spacing: .05em; text-transform: uppercase;
}
.pro-word { color: var(--accent); }
.free-note { font-size: .95rem !important; opacity: .85; margin-top: 16px; }

/* Body */
.page-body .about-inner { padding-top: 48px; }
.center { text-align: center; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 24px 0 48px; }
.feature-grid section { background: #fff; border-radius: 18px; padding: 20px; box-shadow: 0 1px 0 rgba(0,0,0,.05), 0 8px 24px -16px rgba(0,0,0,.25); }
.feature-grid h3 { margin: 10px 0 6px; font-size: 1.1rem; }
.feature-grid p { margin: 0; font-size: 1rem; }
.ico {
  width: 38px; height: 38px; border-radius: 12px;
  display: grid; place-items: center;
  background: #eef2ff; color: #4f46e5;
}
.ico svg { width: 20px; height: 20px; }
.ico.big { width: 64px; height: 64px; border-radius: 20px; margin: 0 auto; }
.ico.big svg { width: 34px; height: 34px; }

/* Waitlist form */
.join-card {
  scroll-margin-top: 20px;
  max-width: 720px; margin: 0 auto 48px; padding: clamp(20px, 4vw, 36px);
  border-radius: 24px; background: #fff;
  box-shadow: 0 0 0 2px #e0e7ff, 0 24px 60px -30px rgba(79, 70, 229, .45);
}
.join-intro h2 { margin: 0 0 6px; font-size: 1.6rem; }
.join-intro p { margin: 0 0 18px; }
#waitlistForm { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field > span, .field legend { font-weight: 800; color: #1f2937; padding: 0; margin-bottom: 4px; }
.field em { font-style: normal; font-weight: 600; color: #6b7280; }
.field input[type="email"], .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 12px;
  border: 1px solid #d6d3cc; background: #fbfaf7; color: #1f2937;
  font: 600 1rem var(--ui-font);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid #a5b4fc; outline-offset: 1px; border-color: #6366f1; }
.field textarea { resize: vertical; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.field-error { color: #b91c1c; font-weight: 700; }
.field input[aria-invalid="true"] { border-color: #dc2626; }
.checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 6px 16px; }
.checks label { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-weight: 600; color: #374151; cursor: pointer; }
.checks input { width: 18px; height: 18px; accent-color: #4f46e5; flex: none; }
.consent { margin: 0; font-size: .9rem !important; color: #6b7280 !important; }
.join-card .btn { text-decoration: none; display: inline-block; }
.join-card .btn.primary, .page-body .btn.primary { background: #4f46e5; color: #fff; }
.join-card .btn:not(.primary) { background: #f3f4f6; color: #1f2937; }
.submit { justify-self: start; min-width: 220px; }
.submit:disabled { opacity: .6; cursor: progress; }
.form-status { margin: 0; font-weight: 700; color: #b91c1c; }
.form-status:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.thanks { text-align: center; padding: 10px 0; outline: none; }
.thanks h2 { margin: 14px 0 6px; font-size: 1.8rem; }
.thanks .btn { margin: 6px 4px; }

/* FAQ + prose */
.faq { display: grid; gap: 14px; margin: 0 0 20px; }
.faq div { background: #fff; border-radius: 16px; padding: 16px 20px; box-shadow: 0 1px 0 rgba(0,0,0,.04); }
.faq dt { font-weight: 800; margin-bottom: 4px; }
.faq dd { margin: 0; color: #4b5563; line-height: 1.55; }
.prose { max-width: 760px; }
.prose h2 { margin-top: 32px; }
.muted-date { color: #6b7280 !important; font-size: .95rem !important; }

@media (max-width: 640px) {
  .submit { justify-self: stretch; }
}
