/* Shared styling for the GeeGii policy pages.
   Rides on shared/site/site.css for the palette and chrome, and only adds what
   long-form legal text needs: a readable measure, numbered sections that can be
   linked to, and an unmissable style for the details still to be filled in. */

.pol {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(30px, 6vw, 62px) 0 clamp(50px, 8vw, 96px);
}

.pol-head { margin-bottom: 30px; }
.pol-head h1 { margin: 8px 0 12px; }
.pol-lede { color: var(--muted); font-size: 16.5px; line-height: 1.65; margin: 0 0 14px; }

.pol-meta {
  display: flex; gap: 8px 18px; flex-wrap: wrap;
  font-size: 12.5px; color: var(--muted-2);
  padding: 12px 0 0; border-top: 1px solid var(--line);
}
.pol-meta b { color: var(--muted); font-weight: 700; }

/* Sections ------------------------------------------------------------ */
.pol section { margin-top: 34px; scroll-margin-top: 90px; }
.pol h2 {
  font-family: var(--font-display); font-size: 20px; font-weight: 700;
  margin: 0 0 12px; line-height: 1.3;
}
.pol h2 .num { color: var(--green); margin-right: 10px; font-variant-numeric: tabular-nums; }
.pol h3 { font-size: 15.5px; font-weight: 800; margin: 22px 0 8px; color: var(--fg); }
.pol p, .pol li { color: var(--muted); font-size: 15px; line-height: 1.72; }
.pol p { margin: 0 0 13px; }
.pol ul, .pol ol { margin: 0 0 13px; padding-left: 22px; }
.pol li { margin-bottom: 7px; }
.pol strong { color: var(--fg); font-weight: 700; }
.pol a { color: var(--green-hi); }

/* Table of contents --------------------------------------------------- */
.pol-toc {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: rgb(245 241 232 / .02); padding: 18px 22px; margin-bottom: 8px;
}
.pol-toc h2 { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 10px; }
.pol-toc ol { columns: 2; column-gap: 26px; margin: 0; padding-left: 18px; }
.pol-toc li { font-size: 13.5px; margin-bottom: 5px; break-inside: avoid; }
@media (max-width: 560px) { .pol-toc ol { columns: 1; } }

/* Callouts ------------------------------------------------------------ */
.pol-note {
  border: 1px solid var(--line-2); border-left: 3px solid var(--green);
  border-radius: var(--radius-sm); background: rgb(123 201 111 / .06);
  padding: 15px 18px; margin: 0 0 18px;
}
.pol-note p:last-child { margin-bottom: 0; }
.pol-note.warn { border-left-color: var(--amber); background: rgb(245 199 101 / .07); }

/* Anything still needing a human decision is marked, not quietly guessed. */
.todo {
  background: rgb(255 122 60 / .16); color: #ffb98f;
  border: 1px dashed rgb(255 122 60 / .5); border-radius: 5px;
  padding: 1px 6px; font-size: .92em; font-weight: 700; font-style: normal;
}

/* The policy index ---------------------------------------------------- */
.pol-list { display: grid; gap: 12px; margin-top: 26px; }
.pol-card {
  display: block; text-decoration: none; padding: 20px 22px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  transition: transform .18s var(--ease), border-color .18s;
}
.pol-card:hover { transform: translateY(-2px); border-color: rgb(var(--green-rgb) / .5); }
.pol-card h3 { margin: 0 0 6px; font-family: var(--font-display); font-size: 18px; color: var(--fg); }
.pol-card p { margin: 0; font-size: 14px; color: var(--muted); }
