/* Layout concept: the shared Libota brand, re-dressed in club colours.
   The opening and closing bands turn from forest green to blazer navy with
   gold, the colours of crests, sashes and old-students' ties. A year in an
   association replaces the church's week, and every word is the association's. */
:root {
  --forest: #14223f;
  --forest-2: #1e3157;
  --on-forest: #eef2f9;
  --on-forest-2: #aebad1;
  --crest: #e3b448;
  --crest-soft: #f8edcf;
  --navy-soft: #e3e9f4;
  --navy-ink: #1e3157;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --forest: #101b33; --forest-2: #1a2a4b; --on-forest: #e9eef8; --on-forest-2: #a3b0c9;
    --crest: #f0c35e; --crest-soft: #3a2f14; --navy-soft: #18243d; --navy-ink: #b9c8e6;
  }
}
:root[data-theme="dark"] {
  --forest: #101b33; --forest-2: #1a2a4b; --on-forest: #e9eef8; --on-forest-2: #a3b0c9;
  --crest: #f0c35e; --crest-soft: #3a2f14; --navy-soft: #18243d; --navy-ink: #b9c8e6;
}

/* ── Who it's for: six kinds of community ─────────────────────────────── */
.kinds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.kind {
  background: var(--surface); border: 1px solid var(--line); border-radius: 22px;
  padding: clamp(20px, 2.6vw, 28px); display: grid; gap: 10px; align-content: start;
}
.kind .crest {
  width: 44px; height: 44px; border-radius: 12px 12px 22px 22px; display: grid; place-items: center;
  background: var(--forest); color: var(--crest); font-family: var(--f-display); font-weight: 800; font-size: .95rem;
}
.kind h3 { font-size: 1.3rem; font-weight: 800; }
.kind .eg { color: var(--ink-3); font-size: .95rem; }
.kind ul { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.kind li { font-size: .82rem; font-weight: 700; padding: 5px 11px; border-radius: 999px; background: var(--navy-soft); color: var(--navy-ink); }

/* ── Your words: the terms members see ────────────────────────────────── */
.lingo-wrap { background: var(--surface); border-block: 1px solid var(--line); }
.lingo { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: var(--paper); }
.term { padding: 22px 20px; display: grid; gap: 6px; align-content: start; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-width: 0; }
.term:nth-child(4n) { border-right: 0; }
.term:nth-last-child(-n+4) { border-bottom: 0; }
.term .eyebrow { font-size: .72rem; }
.term b { font-family: var(--f-display); font-size: 1.3rem; line-height: 1.15; }
.term span:last-child { color: var(--ink-2); font-size: .93rem; }

/* The year: months instead of days */
.when .d.month { color: var(--navy-ink); }
.story .who .av { background: var(--navy-soft); color: var(--navy-ink); }
.story .org { font-family: var(--f-mono); font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; color: var(--marigold); }
.panel .role { color: var(--navy-ink); }
.panel li::before { background: var(--crest); }
.privacy .promise .k { color: var(--crest); }

@media (max-width: 1060px) {
  .kinds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lingo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .term:nth-child(4n) { border-right: 1px solid var(--line); }
  .term:nth-child(2n) { border-right: 0; }
  .term:nth-last-child(-n+4) { border-bottom: 1px solid var(--line); }
  .term:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 620px) {
  .kinds, .lingo { grid-template-columns: minmax(0, 1fr); }
  .term, .term:nth-child(2n), .term:nth-child(4n) { border-right: 0; }
  .term:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
  .term:last-child { border-bottom: 0; }
}
