/* Attendance Genie — policy page design (formal document style).
   Loaded after each policy page's own styles, so it overrides them. */

:root { --doc-text: #5B6475; --doc-head: #3A4458; --ring: #1D5CA8; --dot: #E0452B; }
body { background: #FFFFFF; }
main { max-width: 1040px; padding-top: 56px; }

/* Title: centred, capitals, underlined */
.head { text-align: center; border-bottom: 0; padding-bottom: 8px; margin-bottom: 40px; }
.head h1 {
  font-family: 'Bricolage Grotesque', 'Helvetica Neue', sans-serif;
  font-size: 46px; font-weight: 700; letter-spacing: .01em; text-transform: uppercase; color: #1B2436;
  text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 10px; margin: 0 0 22px;
}
.head .dates { font-size: 15px; color: #8A93A3; }

/* Body text */
.policy p, .policy li { font-size: 18px; line-height: 1.85; color: var(--doc-text); }
.policy p { margin: 0 0 18px; }
.policy strong { color: #3A4458; font-weight: 600; }
.policy a { color: var(--ring); }

/* Section headings: large, calm, grey */
.policy h2 {
  font-family: 'Instrument Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 30px; font-weight: 500; letter-spacing: -.005em; line-height: 1.3; color: var(--doc-head); margin: 40px 0 18px;
}
.policy h2:first-child { margin-top: 0; }
.policy h3 { font-size: 22px; font-weight: 600; color: var(--doc-head); margin: 30px 0 12px; }
.policy h4 { font-size: 19px; font-weight: 600; color: var(--doc-head); margin: 24px 0 10px; }

/* Bullets: blue ring with a red centre dot */
.policy ul { list-style: none; padding-left: 0; margin: 0 0 22px; }
.policy ul > li { position: relative; padding-left: 46px; margin: 0 0 20px; }
.policy ul > li::before {
  content: ""; position: absolute; left: 2px; top: .52em; width: 20px; height: 20px; box-sizing: border-box;
  border: 2.5px solid var(--ring); border-radius: 50%;
  background: radial-gradient(circle, var(--dot) 0 3px, transparent 3.5px);
}
.policy ul ul { margin: 14px 0 0; }
.policy ul ul > li { padding-left: 34px; margin-bottom: 12px; }
.policy ul ul > li::before { width: 15px; height: 15px; border-width: 2px; top: .6em; background: none; }

/* Numbered lists: blue numbers */
.policy ol { padding-left: 0; margin: 0 0 22px; list-style: none; counter-reset: agn; }
.policy ol > li { position: relative; padding-left: 46px; margin: 0 0 20px; counter-increment: agn; }
.policy ol > li::before {
  content: counter(agn) "."; position: absolute; left: 0; top: 0; width: 32px; text-align: right;
  font-weight: 700; color: var(--ring);
}

.policy blockquote { border-left-color: var(--ring); color: var(--doc-text); }
.policy table { font-size: 16px; }
.policy th { background: #F2F4F7; }

@media (max-width: 860px) {
  main { padding-top: 32px; }
  .head h1 { font-size: 28px; text-decoration-thickness: 2px; text-underline-offset: 7px; }
  .policy p, .policy li { font-size: 16px; line-height: 1.75; }
  .policy h2 { font-size: 23px; margin-top: 32px; }
  .policy h3 { font-size: 19px; }
  .policy ul > li, .policy ol > li { padding-left: 36px; margin-bottom: 16px; }
  .policy ul > li::before { width: 17px; height: 17px; border-width: 2px; top: .5em; background: radial-gradient(circle, var(--dot) 0 2.5px, transparent 3px); }
  .policy ol > li::before { width: 26px; }
}
@media print { body { background: #fff; } }
