:root {
  color-scheme: light;
  --brand: #7b6ee6;
  --brand-soft: #ebe8ff;
  --ink: #151824;
  --muted: #596174;
  --surface: #f7f8fb;
  --line: #dfe3ec;
  --accent: #2f7d73;
  --white: #ffffff;
  --color-bg: #f8fafc;
  --color-surface: #ffffff;
  --color-surface-alt: #eef2ff;
  --color-text: #111827;
  --color-muted: #4b5563;
  --color-subtle: #6b7280;
  --color-border: #d7dce8;
  --color-accent: #7c83d9;
  --color-accent-strong: #4f5bb8;
  --color-ink: #172033;
  --color-sage: #2f6f62;
  --shadow-soft: 0 18px 42px rgba(23, 32, 51, 0.08);
  --radius: 8px;
  --content-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(180deg, rgba(124, 131, 217, 0.12), rgba(248, 250, 252, 0) 280px),
    var(--color-bg);
}

a {
  color: var(--color-accent-strong);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

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

a:focus-visible {
  outline: 3px solid rgba(79, 91, 184, 0.36);
  outline-offset: 4px;
  border-radius: 4px;
}

button:focus-visible {
  outline: 3px solid rgba(79, 91, 184, 0.36);
  outline-offset: 4px;
}

img {
  max-width: 100%;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 10;
  transform: translateY(-160%);
  border-radius: 4px;
  background: var(--color-ink);
  color: #ffffff;
  padding: 0.55rem 0.8rem;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  border-bottom: 1px solid rgba(215, 220, 232, 0.9);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
}

.site-header__inner,
.site-footer__inner,
main > article {
  width: min(var(--content-width), calc(100% - 2rem));
  margin: 0 auto;
}

.site-header__inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

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

.brand-link img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(79, 91, 184, 0.16);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 0 0.72rem;
  border-radius: 6px;
  color: var(--color-muted);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}

.site-nav a:hover {
  background: rgba(124, 131, 217, 0.1);
  color: var(--color-accent-strong);
}

main {
  padding: 4.5rem 0 5rem;
}

.home-page,
.standard-page,
.policy-content {
  display: grid;
  gap: 2rem;
}

.hero-band {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 2rem;
  align-items: stretch;
  min-height: 520px;
}

.hero-copy,
.hero-facts,
.section-band,
.notice-band,
.policy-content,
.page-intro {
  background: var(--color-surface);
  border: 1px solid rgba(215, 220, 232, 0.86);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4.4rem);
}

.hero-facts {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 1.5rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  background:
    linear-gradient(135deg, rgba(238, 242, 255, 0.98), rgba(255, 255, 255, 0.94)),
    var(--color-surface);
}

.hero-logo {
  width: 112px;
  height: 112px;
  border-radius: 8px;
  box-shadow: 0 18px 36px rgba(79, 91, 184, 0.16);
}

.hero-logo--mobile {
  display: none;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--color-sage);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 11ch;
  margin-bottom: 1rem;
  color: var(--color-ink);
  font-size: 4rem;
  line-height: 1;
  font-weight: 760;
}

h2 {
  margin-bottom: 0.8rem;
  color: var(--color-ink);
  font-size: 1.55rem;
  line-height: 1.25;
}

h3 {
  margin-bottom: 0.45rem;
  color: var(--color-ink);
  font-size: 1.12rem;
  line-height: 1.35;
}

.lead {
  color: var(--color-ink);
  font-size: 1.18rem;
  line-height: 1.65;
}

.hero-copy p:not(.eyebrow),
.section-band p,
.notice-band p,
.page-intro p,
.policy-content p,
.policy-content li,
.policy-content td,
.policy-content th {
  color: var(--color-muted);
}

.fact-list {
  width: 100%;
  margin: 0;
}

.fact-list div {
  display: grid;
  gap: 0.2rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(215, 220, 232, 0.9);
}

.fact-list div:last-child {
  border-bottom: 0;
}

.fact-list dt {
  color: var(--color-subtle);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.fact-list dd {
  margin: 0;
  color: var(--color-ink);
  font-weight: 650;
}

.section-band,
.notice-band,
.page-intro,
.policy-content {
  padding: clamp(1.4rem, 3vw, 2.4rem);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.info-card {
  display: grid;
  align-content: start;
  min-height: 140px;
  gap: 0.45rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  padding: 1.1rem;
  color: var(--color-muted);
  text-decoration: none;
}

.info-card:hover {
  border-color: rgba(79, 91, 184, 0.4);
  box-shadow: 0 12px 28px rgba(23, 32, 51, 0.08);
}

.info-card strong {
  color: var(--color-ink);
  font-size: 0.98rem;
}

.info-card span,
.info-card em {
  overflow-wrap: anywhere;
  font-style: normal;
}

.link-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.link-list a {
  display: block;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  background: #ffffff;
  padding: 0.85rem 1rem;
  font-weight: 650;
  text-decoration: none;
}

.notice-band {
  border-color: rgba(47, 111, 98, 0.28);
  background: rgba(47, 111, 98, 0.06);
}

.page-intro {
  display: grid;
  gap: 0.35rem;
}

.page-intro h1 {
  max-width: 18ch;
  font-size: 3rem;
}

.policy-content {
  width: min(820px, calc(100% - 2rem));
  margin: 0 auto;
  overflow: hidden;
}

.policy-content h1 {
  max-width: 22ch;
  font-size: 2.65rem;
}

.policy-content h2 {
  margin-top: 2rem;
}

.policy-content h2:first-child {
  margin-top: 0;
}

.policy-content table {
  display: block;
  width: 100%;
  overflow-x: auto;
  white-space: nowrap;
  border-spacing: 0;
  border-collapse: separate;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.policy-content th,
.policy-content td {
  min-width: 180px;
  border-bottom: 1px solid var(--color-border);
  padding: 0.85rem;
  text-align: left;
  vertical-align: top;
}

.policy-content th {
  color: var(--color-ink);
  font-weight: 750;
}

.policy-content tr:last-child td {
  border-bottom: 0;
}

.site-footer {
  border-top: 1px solid var(--color-border);
  background: var(--color-ink);
  color: rgba(255, 255, 255, 0.86);
  padding: 2rem 0 1.65rem;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(560px, 2.05fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

.site-footer h2,
.site-footer p,
.site-footer a {
  color: inherit;
}

.site-footer__brand {
  display: grid;
  gap: 0.45rem;
}

.site-footer__brand strong {
  display: block;
  color: #ffffff;
  font-size: 1.05rem;
}

.site-footer__brand p {
  margin-bottom: 0;
  max-width: 34rem;
  font-size: 0.94rem;
  line-height: 1.55;
}

.site-footer__copyright {
  margin-top: 0.35rem;
}

.site-footer__email-list {
  display: grid;
  gap: 0.34rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.74);
}

.site-footer__groups {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.site-footer__group h2 {
  margin-bottom: 0.55rem;
  color: #ffffff;
  font-size: 0.95rem;
}

.site-footer__group ul {
  display: grid;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__contact .site-footer__email-list a {
  display: grid;
  gap: 0.05rem;
  overflow-wrap: anywhere;
}

.site-footer__contact .site-footer__email-list span {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.site-footer__updated {
  width: min(var(--content-width), calc(100% - 2rem));
  margin: 1.25rem auto 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.9rem;
}

@media (max-width: 860px) {
  .site-header__inner {
    min-height: auto;
    align-items: flex-start;
    flex-direction: column;
    padding: 0.9rem 0;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
  }

  main {
    padding-top: 2rem;
  }

  .hero-band {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-logo--facts {
    display: none;
  }

  .hero-logo--mobile {
    display: block;
    width: 96px;
    height: 96px;
    margin-bottom: 1rem;
  }

  h1 {
    font-size: 2.35rem;
  }

  .page-intro h1,
  .policy-content h1 {
    font-size: 2.15rem;
  }

  .card-grid,
  .link-list,
  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .site-footer__groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .site-header__inner,
  .site-footer__inner,
  .site-footer__updated,
  main > article {
    width: min(100% - 1.25rem, var(--content-width));
  }

  .site-nav a {
    min-height: 32px;
    padding: 0 0.3rem;
    font-size: 0.78rem;
  }

  .site-header__inner {
    align-items: center;
    flex-direction: row;
    gap: 0.45rem;
    padding: 0.45rem 0;
  }

  .brand-link {
    gap: 0.5rem;
    font-size: 0.95rem;
  }

  .brand-link img {
    width: 32px;
    height: 32px;
  }

  .site-nav {
    width: auto;
    justify-content: flex-end;
    gap: 0.05rem;
  }

  .site-footer__groups {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .hero-facts,
  .section-band,
  .notice-band,
  .page-intro,
  .policy-content {
    padding: 1.15rem;
  }

  main {
    padding-top: 0.5rem;
  }

  .home-page {
    gap: 0.75rem;
  }

  .hero-band {
    gap: 0.5rem;
  }

  .hero-logo--mobile {
    width: 72px;
    height: 72px;
    margin-bottom: 0.55rem;
  }

  .eyebrow {
    margin-bottom: 0.35rem;
    font-size: 0.72rem;
  }

  h1 {
    margin-bottom: 0.65rem;
    font-size: 2rem;
  }

  .lead {
    font-size: 1rem;
    line-height: 1.45;
  }

  .hero-copy p:not(.eyebrow) {
    margin-bottom: 0.75rem;
    font-size: 0.94rem;
    line-height: 1.45;
  }

  .hero-facts {
    gap: 0.4rem;
  }

  .fact-list div {
    grid-template-columns: 5.5rem minmax(0, 1fr);
    align-items: start;
    padding: 0.55rem 0;
  }

  .fact-list dt {
    font-size: 0.7rem;
    line-height: 1.25;
  }

  .fact-list dd {
    font-size: 0.88rem;
    line-height: 1.3;
  }
}
