:root {
  color-scheme: light;
  --ink: #1f2933;
  --muted: #5d6b7a;
  --navy: #163b64;
  --blue: #25658f;
  --gold: #b58b36;
  --cream: #f8f5ef;
  --paper: #ffffff;
  --line: #d9e2ec;
  --shadow: 0 18px 40px rgba(31, 41, 51, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background: var(--cream);
}

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

a:hover,
a:focus {
  color: var(--navy);
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.header-inner,
.hero-inner,
.content,
.site-footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 0;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  color: var(--navy);
  text-decoration: none;
}

.brand strong {
  font-size: 1.05rem;
  line-height: 1.2;
}

.brand span {
  color: var(--muted);
  font-size: 0.85rem;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--navy);
  cursor: pointer;
}

.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: currentColor;
  content: "";
}

.nav-toggle-lines::before {
  transform: translateY(-7px);
}

.nav-toggle-lines::after {
  transform: translateY(5px);
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 14px;
  font-size: 0.93rem;
}

.main-nav a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a:focus {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(14, 42, 68, 0.92), rgba(22, 59, 100, 0.76)),
    url("../../images/online_background.jpg") center / cover no-repeat;
}

.hero-inner {
  display: block;
  min-height: 340px;
  padding: 56px 0 60px;
}

.eyebrow {
  margin: 0 0 14px;
  color: #f8d57a;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.04;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 640px;
  margin: 18px 0 0;
  color: #edf4fa;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.button.primary {
  border-color: #ffffff;
  background: #ffffff;
  color: var(--navy);
}

.content {
  padding: 56px 0 72px;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.55fr);
  gap: 32px;
  align-items: start;
  margin-bottom: 48px;
}

.section-title {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.15;
}

.lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.notice {
  padding: 22px;
  border-left: 5px solid var(--gold);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.notice h2 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 1.15rem;
}

.notice p {
  margin: 0;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.resource-card {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 10px 24px rgba(31, 41, 51, 0.08);
}

.resource-card h2 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 1.15rem;
  line-height: 1.25;
}

.resource-card p {
  margin: 0 0 18px;
  color: var(--muted);
}

.resource-card a {
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.guidance-band {
  margin-top: 42px;
  padding: 32px;
  border: 1px solid var(--line);
  background: #fffdf8;
  box-shadow: 0 10px 24px rgba(31, 41, 51, 0.06);
}

.guidance-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.9fr);
  gap: 28px;
  align-items: start;
}

.guidance-band .section-title {
  margin-bottom: 10px;
}

.guidance-lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.guidance-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--ink);
}

.guidance-list li + li {
  margin-top: 10px;
}

.quote-band {
  margin-top: 42px;
  padding: 34px;
  color: #ffffff;
  background: var(--navy);
}

blockquote {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.6;
}

blockquote footer {
  margin-top: 14px;
  color: #d8e6f2;
  font-size: 0.95rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 0 36px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

.footer-meta {
  white-space: nowrap;
}

@media (max-width: 820px) {
  .header-inner {
    display: grid;
    grid-template-columns: 1fr auto;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .main-nav {
    display: none;
    grid-column: 1 / -1;
    justify-content: flex-start;
    padding-top: 16px;
  }

  body.nav-open .main-nav {
    display: flex;
  }

  .intro {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: auto;
    padding: 42px 0 46px;
  }

  .resource-grid {
    grid-template-columns: 1fr;
  }

  .guidance-inner {
    grid-template-columns: 1fr;
  }

  .site-footer {
    display: block;
  }

  .footer-meta {
    margin-top: 8px;
  }
}

@media (max-width: 520px) {
  .hero-actions,
  .button {
    width: 100%;
  }

  .quote-band {
    padding: 24px;
  }
}
