:root {
  color-scheme: light;
  --bg: #f7f8f3;
  --ink: #202124;
  --muted: #5b6570;
  --surface: #ffffff;
  --surface-alt: #eef5f2;
  --border: #d9dfd6;
  --purple: #472f5f;
  --purple-dark: #2f1c42;
  --teal: #006d6f;
  --green: #446900;
  --gold: #965a00;
  --shadow: 0 12px 30px rgba(38, 42, 48, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}

a {
  color: var(--purple);
}

a:hover {
  color: var(--teal);
}

a:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
button:focus-visible {
  box-shadow: 0 0 0 6px #fff;
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

img {
  max-width: 100%;
  height: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 20;
  background: var(--purple-dark);
  color: #fff;
  padding: 0.75rem 1rem;
}

.skip-link:focus {
  top: 1rem;
}

.visually-hidden {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.header-inner,
.section-inner {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.brand img {
  width: 2.3rem;
  height: 2.3rem;
}

.brand span {
  display: block;
  line-height: 1.2;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 400;
}

.primary-nav {
  width: auto;
}

.primary-nav-list {
  align-items: flex-start;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-nav a,
.primary-nav summary {
  align-items: center;
  border-radius: 6px;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  min-height: 2.75rem;
  padding: 0.55rem 0.75rem;
  text-decoration: none;
}

.primary-nav a[aria-current="page"],
.primary-nav a:hover,
.primary-nav summary:hover,
.nav-disclosure[open] > summary {
  background: var(--surface-alt);
  color: var(--purple-dark);
}

.nav-disclosure {
  position: relative;
}

.nav-disclosure ul {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
  list-style: none;
  margin: 0.35rem 0 0;
  min-width: 14rem;
  padding: 0.35rem;
}

.nav-disclosure li + li {
  margin-top: 0.25rem;
}

.nav-disclosure a {
  width: 100%;
}

.nav-disclosure a[aria-current="page"] {
  font-weight: 700;
}

.primary-nav .download-link {
  background: var(--purple);
  color: #fff;
  font-weight: 700;
}

.primary-nav .download-link:hover {
  background: var(--purple-dark);
  color: #fff;
}

.site-search {
  display: flex;
  flex: 0 1 22rem;
  gap: 0.5rem;
  margin-left: auto;
}

.site-search input {
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--ink);
  flex: 1 1 12rem;
  font: inherit;
  min-height: 2.75rem;
  min-width: 0;
  padding: 0.55rem 0.75rem;
}

.site-search button {
  background: var(--teal);
  border: 0;
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  min-height: 2.75rem;
  padding: 0.55rem 0.8rem;
}

.site-search button:hover {
  background: #004f51;
}

main {
  display: block;
}

.hero,
.page-heading,
.band {
  padding: 3rem 0;
}

.hero {
  background:
    linear-gradient(135deg, rgba(71, 47, 95, 0.92), rgba(0, 109, 111, 0.84)),
    var(--purple);
  color: #fff;
}

.hero .section-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(17rem, 0.7fr);
  gap: 2rem;
  align-items: center;
}

.hero h1,
.page-heading h1 {
  margin: 0;
  font-size: 3rem;
  line-height: 1.1;
}

.hero p,
.page-heading p {
  max-width: 42rem;
  margin: 1rem 0 0;
  font-size: 1.1rem;
}

.hero-card {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  padding: 1.25rem;
}

.hero-card img {
  display: block;
  width: 4rem;
  height: 4rem;
  margin-bottom: 1rem;
}

.hero-card p {
  margin: 0;
  font-size: 1rem;
}

.page-heading {
  background: var(--surface-alt);
  border-bottom: 1px solid var(--border);
}

.breadcrumb {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
}

.breadcrumb a {
  color: var(--muted);
}

.subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

.subnav a {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--purple-dark);
  display: inline-flex;
  min-height: 2.75rem;
  padding: 0.55rem 0.75rem;
  text-decoration: none;
}

.subnav a[aria-current="page"],
.subnav a:hover {
  background: var(--purple);
  border-color: var(--purple);
  color: #fff;
}

.quick-actions,
.card-grid,
.news-list,
.split,
.doc-grid {
  display: grid;
  gap: 1rem;
}

.quick-actions,
.card-grid,
.doc-grid {
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}

.split {
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.42fr);
  align-items: start;
}

.card,
.news-item,
.note-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 1.25rem;
}

.card h2,
.card h3,
.news-item h2,
.news-item h3,
.note-box h2,
.note-box h3 {
  margin-top: 0;
}

.card p,
.news-item p,
.note-box p {
  margin-bottom: 0;
}

.quick-actions .card {
  min-height: 11rem;
}

.meta {
  color: var(--muted);
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.button {
  align-items: center;
  background: var(--purple);
  border-radius: 6px;
  color: #fff;
  display: inline-flex;
  font-weight: 700;
  min-height: 2.75rem;
  padding: 0.65rem 0.9rem;
  text-decoration: none;
}

.button:hover {
  background: var(--purple-dark);
  color: #fff;
}

.button.secondary {
  background: var(--teal);
}

.button.secondary:hover {
  background: #004f51;
}

.button.subtle {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--purple-dark);
}

.button.subtle:hover {
  background: var(--surface-alt);
}

.link-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.link-list li + li {
  border-top: 1px solid var(--border);
  margin-top: 0.7rem;
  padding-top: 0.7rem;
}

.link-list a {
  align-items: center;
  display: inline-flex;
  min-height: 2.75rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.tag-list li {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--purple-dark);
  padding: 0.2rem 0.65rem;
}

.tag-list a {
  color: var(--purple-dark);
  text-decoration: none;
}

.tag-list a:hover {
  color: var(--teal);
  text-decoration: underline;
}

.content-body {
  max-width: 46rem;
}

.content-body img,
.content-body iframe {
  max-width: 100%;
}

.simple-form {
  margin-top: 1rem;
}

.search-form {
  margin-bottom: 1.5rem;
}

.compact-search {
  margin-top: 1rem;
}

.search-form label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.search-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.search-row input {
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--ink);
  flex: 1 1 18rem;
  font: inherit;
  min-height: 2.75rem;
  min-width: 0;
  padding: 0.55rem 0.75rem;
}

.simple-form label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.simple-form input,
.simple-form select {
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--ink);
  font: inherit;
  min-height: 2.75rem;
  padding: 0.55rem 0.75rem;
  width: min(100%, 24rem);
}

.embed-frame {
  border: 0;
  max-width: 100%;
}

.content-section {
  padding: 2.5rem 0;
}

.content-section + .content-section {
  border-top: 1px solid var(--border);
}

.content-section h2 {
  color: var(--purple-dark);
  margin-top: 0;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
}

th,
td {
  border: 1px solid var(--border);
  padding: 0.75rem;
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--surface-alt);
  color: var(--purple-dark);
}

.site-footer {
  background: #202124;
  color: #f4f4f4;
  margin-top: 3rem;
  padding: 2rem 0;
}

.site-footer a {
  color: #ffffff;
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
}

.footer-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.45fr);
}

.footer-grid p {
  margin-top: 0;
}

@media (max-width: 780px) {
  .header-inner,
  .hero .section-inner,
  .split,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .header-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .primary-nav-list {
    justify-content: flex-start;
  }

  .site-search {
    margin-left: 0;
    width: 100%;
  }

  .hero,
  .page-heading,
  .band {
    padding: 2rem 0;
  }

  .hero h1,
  .page-heading h1 {
    font-size: 2.1rem;
  }
}
