/* The Attendance Reminder app's chalkboard look, for its support and privacy pages only.
   Apple devices use the app's own chalk fonts; everything else falls back to Patrick Hand. */
:root {
  --chalk: #fafaf9;
  --chalk-soft: rgba(250, 250, 249, 0.82);
  --chalk-yellow: #f2d98a;
  --board: #24352d;
  --panel: rgba(0, 0, 0, 0.28);
  --hand: "Chalkboard SE", "Patrick Hand", "Comic Sans MS", cursive;
  --title: "Chalkduster", "Chalkboard SE", "Patrick Hand", cursive;
}

* { box-sizing: border-box; }

html { background: var(--board); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--chalk);
  font-family: var(--hand);
  font-size: 1.1rem;
  line-height: 1.55;
}

/* Pinned with a fixed layer because iOS ignores background-attachment: fixed. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: var(--board) url("/images/chalkboard.jpg") center / cover no-repeat;
}

.wrap { width: min(680px, 100%); margin: 0 auto; padding: 0 16px; }

.hero { padding: 36px 0 12px; text-align: center; }
.hero img { display: block; width: 92px; height: 92px; margin: 0 auto 10px; }
.hero h1 { margin: 0; font-family: var(--title); font-size: clamp(1.45rem, 6.4vw, 2.1rem); font-weight: 400; line-height: 1.2; }
.hero p { margin: 8px 0 0; color: var(--chalk-soft); }

.tabs { display: flex; justify-content: center; gap: 10px; margin: 20px 0 24px; }
.tabs a {
  padding: 7px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  text-decoration: none;
}
.tabs a[aria-current="page"] { background: var(--chalk); color: rgba(0, 0, 0, 0.85); }

.panel { margin: 0 0 14px; padding: 16px 20px; border-radius: 20px; background: var(--panel); }
.panel h2 { margin: 0 0 6px; font-size: 1.2rem; font-weight: 700; }
.panel p { margin: 0; color: var(--chalk-soft); }
.panel p + p { margin-top: 10px; }

/* Common questions: native details/summary, so no script, and they work with VoiceOver and the keyboard. */
.section-title { margin: 22px 4px 10px; font-family: var(--title); font-size: 1.25rem; font-weight: 400; }
.faq summary { display: flex; align-items: center; gap: 12px; font-size: 1.2rem; font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex-shrink: 0; margin-left: auto; width: 9px; height: 9px; border-right: 2px solid var(--chalk-soft); border-bottom: 2px solid var(--chalk-soft); transform: rotate(45deg); transition: transform 0.2s ease; }
.faq[open] summary::after { transform: rotate(-135deg); }
.faq p { margin-top: 8px; }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }

a { color: var(--chalk-yellow); }

.studio { padding: 18px 0 32px; text-align: center; color: var(--chalk-soft); font-size: 0.92rem; }
.studio p { margin: 0; }
