/* SI Law School — flagship portal theme (deep navy + gold, same SI family as nursing/med-ed) */
:root {
  --navy: #14294a;
  --navy-dark: #0c1a31;
  --gold: #c39a3b;
  --gold-light: #f5ecd4;
  --paper: #faf9f6;
  --ink: #232a35;
  --muted: #5b6472;
  --line: #e2e0d8;
  --card: #ffffff;
  --radius: 10px;
  --link-dark: #f5ecd4; /* inline-link color on dark surfaces (14.8:1 on navy-dark) */
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.7;
  font-size: 17px;
}
h1, h2, h3, .serif {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--navy);
  line-height: 1.25;
}
body, p, li, .lede { font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
a { color: var(--navy); }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

/* Utility bar */
.util-bar { background: var(--navy-dark); color: #c9d4e2; font-size: 13px; padding: 7px 0; }
.util-bar .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.util-bar a { color: #f4ead2; text-decoration: none; }
.util-bar a:hover { text-decoration: underline; }

/* Header */
.site-header { background: var(--navy); color: #fff; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 8px; background: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: Georgia, serif; font-weight: bold; font-size: 20px; color: var(--navy-dark);
  flex: none;
}
.brand-name { font-family: Georgia, serif; font-size: 20px; letter-spacing: 0.2px; }
.brand-sub { font-size: 12px; color: #c9d4e2; letter-spacing: 1.2px; text-transform: uppercase; }
.nav { display: flex; gap: 4px; flex-wrap: wrap; }
.nav a {
  color: #dbe4f0; text-decoration: none; font-size: 15px; padding: 8px 12px;
  border-radius: 6px;
}
.nav a:hover { background: rgba(255,255,255,0.1); color: #fff; }
.nav a.active { background: rgba(255,255,255,0.14); color: #fff; font-weight: 600; }

/* Hero */
.hero { background: var(--navy-dark); color: #eef2f7; padding: 60px 0 52px; }
.hero h1 { color: #fff; font-size: clamp(30px, 4.5vw, 44px); margin: 0 0 12px; }
.hero p.lede { font-size: 19px; color: #c9d4e2; max-width: 760px; margin: 0 0 24px; line-height: 1.65; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 8px; font-size: 16px;
  font-weight: 600; text-decoration: none; border: 1px solid transparent; cursor: pointer;
  font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.btn-gold { background: var(--gold); color: var(--navy-dark); }
.btn-gold:hover { background: #d1a94a; }
.btn-outline { border-color: #8b96ad; color: #eef2f7; background: transparent; }
.btn-outline:hover { border-color: #fff; color: #fff; }
.edition-note {
  margin-top: 26px; font-size: 14px; color: #9fb0c8; max-width: 760px;
  border-left: 3px solid var(--gold); padding-left: 14px;
}

/* Link contrast on dark surfaces (2026-10-02): inline text links must meet
 * WCAG AA (4.5:1) — light high-contrast color plus a visible underline,
 * never color alone. The base link color (#14294a) is 1.2:1 on navy-dark,
 * so these rules override it anywhere a link sits on a dark background. */
.hero a:not(.btn),
.site-footer a:not(.btn),
.util-bar a:not(.btn) {
  color: var(--link-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.hero a:not(.btn):hover,
.site-footer a:not(.btn):hover,
.util-bar a:not(.btn):hover { color: #fff; }
.nav a, .brand { text-decoration: none; }

/* CTA rows: one-tap action buttons next to page suggestions.
 * Phone-first: buttons stack full-width on small screens. */
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 20px 0 8px; }
.cta-row .btn { font-size: 17px; padding: 14px 24px; }
@media (max-width: 640px) {
  .cta-row .btn { flex: 1 1 100%; text-align: center; }
}

/* Sections */
.section { padding: 48px 0; }
.section h2 { font-size: 30px; margin: 0 0 8px; }
.section .kicker { text-transform: uppercase; letter-spacing: 1.5px; font-size: 13px; color: var(--gold); font-weight: 700; margin: 0 0 6px; font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin-top: 24px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; text-decoration: none; color: inherit; display: block;
}
.card:hover { border-color: var(--gold); box-shadow: 0 4px 18px rgba(20,41,74,0.10); }
.card h3 { margin: 0 0 8px; font-size: 21px; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.card .go { color: var(--gold); font-weight: 700; font-size: 15px; margin-top: 12px; display: inline-block; }
.card .site-tag {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  color: var(--navy); background: #e8edf4; border-radius: 4px; padding: 2px 10px; margin-bottom: 10px;
  font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Prose pages */
.prose { max-width: 800px; }
.prose h2 { margin-top: 34px; font-size: 26px; }
.prose h3 { margin-top: 26px; font-size: 20px; }
.prose p, .prose li { color: var(--ink); }
.prose .muted { color: var(--muted); }
.callout {
  background: var(--gold-light); border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0; padding: 16px 20px; margin: 24px 0;
}
.callout p { margin: 6px 0; font-size: 15.5px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; background: #fff; }
.faq-item summary {
  cursor: pointer; padding: 15px 20px; font-weight: 700; color: var(--navy); font-size: 16.5px;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  font-family: Georgia, "Times New Roman", serif;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--gold); font-size: 22px; font-weight: 400; flex: none; }
.faq-item[open] summary::after { content: "\2013"; }
.faq-item > p, .faq-item > ul { padding: 0 20px 18px; margin: 0; color: var(--muted); max-width: 740px; }
.faq-item > ul { padding-left: 42px; }
.faq-item li { margin-bottom: 6px; }

/* Data tables */
.data-table { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: 15.5px; font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
.data-table th, .data-table td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; vertical-align: top; }
.data-table th { background: var(--navy); color: #fff; }
.data-table tr:nth-child(even) td { background: #f6f5f1; }
.cite { font-size: 13.5px; color: var(--muted); }
.read { background: var(--gold-light); border: 1px solid #e3d3a8; border-radius: var(--radius); padding: 16px 20px; margin: 22px 0; }
.read strong { color: #7a5a1a; }

/* State picker */
.state-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 8px; margin: 22px 0; }
.state-tile {
  border: 1px solid var(--line); border-radius: 8px; background: #fff;
  padding: 10px 4px; text-align: center; cursor: pointer;
  font: 700 14px/1.2 -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--navy);
}
.state-tile small { display: block; font-weight: 400; font-size: 10.5px; color: var(--muted); margin-top: 2px; }
.state-tile.ube { border-left: 5px solid #2e7d4f; }
.state-tile.nonube { border-left: 5px solid var(--gold); }
.state-tile.nextgen { border-left: 5px solid #7a5ad6; }
.state-tile:hover { border-color: var(--navy); }
.state-tile[aria-selected="true"] { background: var(--navy); color: #fff; }
.state-tile[aria-selected="true"] small { color: #c9d4e2; }
.state-detail { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 24px; margin-top: 18px; }
.state-detail h3 { margin-top: 0; }
.badge { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; border-radius: 4px; padding: 3px 10px; margin-bottom: 10px; font-family: -apple-system, "Segoe UI", Roboto, sans-serif; }
.badge.ube { background: #e3f2e8; color: #1f6b3f; }
.badge.nonube { background: var(--gold-light); color: #7a5a1a; }
.badge.nextgen { background: #ece8fb; color: #4b3aa8; }

/* Checklist */
.checklist { list-style: none; padding: 0; margin: 18px 0; }
.checklist li { border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 12px 16px; margin-bottom: 8px; display: flex; gap: 12px; align-items: flex-start; }
.checklist input { margin-top: 6px; transform: scale(1.25); flex: none; }
.checklist label { cursor: pointer; }
.checklist .done label { text-decoration: line-through; color: var(--muted); }
.progress-wrap { background: #eee; border-radius: 999px; height: 12px; overflow: hidden; margin: 12px 0; }
.progress-bar { background: var(--gold); height: 100%; width: 0; transition: width .3s; }

/* Print */
@media print {
  .site-header .nav, .util-bar, #eli-fab, #eli-panel, .hero-cta { display: none !important; }
  body { font-size: 12pt; }
}

/* Footer */
.site-footer { background: var(--navy-dark); color: #9fb0c8; padding: 36px 0; font-size: 14px; margin-top: 40px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.site-footer a { color: #c9d4e2; }
.site-footer strong { color: #fff; }
.unofficial-badge {
  display: inline-block; border: 1px solid var(--gold); color: var(--gold-light);
  border-radius: 999px; padding: 2px 12px; font-size: 12px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase; margin-bottom: 8px;
  font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

@media (max-width: 640px) {
  .site-header .wrap { flex-direction: column; align-items: flex-start; gap: 10px; }
  .section { padding: 34px 0; }
}
