:root {
  --stinger-blue: #0f406b;
  --hornet-yellow: #ffd600;
  --sky: #375e9e;
  --creek: #5dccd4;
  --breeze: #baeeed;
  --lemon-zest: #f5f3bf;
  --rustic: #e6605b;
  --elderberry: #1b0d42;
  --ink: #17202a;
  --muted: #5c6773;
  --surface: #ffffff;
  --soft: #f6f8fb;
  --line: #dce4ef;
  --shadow: 0 20px 45px rgba(15, 64, 107, 0.12);
  --radius: 8px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--soft);
  line-height: 1.6;
}

a {
  color: var(--stinger-blue);
}

a:hover {
  color: var(--sky);
}

img,
svg {
  max-width: 100%;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--elderberry);
  color: #fff;
  padding: 0.7rem 1rem;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 1rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  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(14px);
}

.nav-shell {
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--stinger-blue);
  color: var(--hornet-yellow);
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.8rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.nav-menu a {
  display: block;
  padding: 0.65rem 0.75rem;
  color: var(--ink);
  text-decoration: none;
  border-radius: var(--radius);
  font-size: 0.95rem;
}

.nav-menu a:hover,
.nav-menu a[aria-current="page"] {
  background: #eaf1f8;
  color: var(--stinger-blue);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
}

.nav-toggle span[aria-hidden="true"],
.nav-toggle span[aria-hidden="true"]::before,
.nav-toggle span[aria-hidden="true"]::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--stinger-blue);
  content: "";
}

.nav-toggle span[aria-hidden="true"]::before {
  transform: translateY(-7px);
}

.nav-toggle span[aria-hidden="true"]::after {
  transform: translateY(5px);
}

.hero {
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
  min-height: 0;
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.8fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  max-width: 900px;
  color: var(--elderberry);
  font-size: clamp(2.5rem, 6vw, 5.6rem);
  line-height: 1;
  letter-spacing: 0;
}

.hero-lede,
.page-hero p {
  max-width: 760px;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  color: #344454;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--stinger-blue);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.7rem 1rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  background: var(--stinger-blue);
  color: #fff;
}

.button.secondary {
  background: #fff;
  color: var(--stinger-blue);
  border-color: var(--line);
}

.button.small {
  min-height: 38px;
  font-size: 0.9rem;
}

.hero-panel {
  background:
    linear-gradient(135deg, rgba(255, 214, 0, 0.32), transparent 32%),
    linear-gradient(145deg, #143e66, #1b0d42 76%);
  color: #fff;
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  min-height: 430px;
  display: grid;
  align-content: end;
  gap: 1rem;
}

.signal-card {
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: var(--radius);
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
}

.signal-card strong,
.signal-card span {
  display: block;
}

.signal-card strong {
  font-size: 1.45rem;
  line-height: 1.2;
  margin: 0.25rem 0 0.5rem;
}

.signal-label {
  color: var(--hornet-yellow);
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.signal-grid,
.dashboard-summary,
.deadline-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.signal-grid div,
.dashboard-summary div,
.deadline-strip div {
  padding: 1rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
}

.signal-grid strong,
.signal-grid span,
.dashboard-summary strong,
.dashboard-summary span,
.deadline-strip strong,
.deadline-strip span {
  display: block;
}

.signal-grid strong,
.dashboard-summary strong,
.deadline-strip strong {
  font-size: 1.5rem;
  line-height: 1.1;
}

.signal-grid span,
.dashboard-summary span,
.deadline-strip span {
  font-size: 0.88rem;
}

.page-shell,
.section-band,
.content-grid,
.two-column,
.callout,
.question-panel,
.dashboard-summary,
.checklist-toolbar,
.checklist,
.timeline,
.deadline-strip,
.faq-list {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

.page-shell {
  padding: 3rem 0 4rem;
}

.page-hero {
  padding: clamp(2rem, 6vw, 4rem) 0;
}

.section-band,
.content-grid,
.two-column,
.callout,
.question-panel {
  margin-top: 2rem;
}

.section-band {
  padding: clamp(2rem, 4vw, 3rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.section-band.compact {
  margin-bottom: 4rem;
}

.proposal-section {
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto 2rem;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 1rem;
  align-items: stretch;
}

.proposal-intro,
.proposal-grid article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(15, 64, 107, 0.06);
}

.proposal-intro {
  padding: clamp(1.25rem, 3vw, 2rem);
}

.proposal-intro p:last-child {
  margin-bottom: 0;
  color: #344454;
  font-size: 1.05rem;
}

.proposal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.proposal-grid article {
  padding: 1.1rem;
  border-top: 5px solid var(--creek);
}

.proposal-grid article:nth-child(2) {
  border-top-color: var(--hornet-yellow);
}

.proposal-grid article:nth-child(3) {
  border-top-color: var(--sky);
}

.proposal-grid article:nth-child(4) {
  border-top-color: var(--rustic);
}

.proposal-grid span {
  display: inline-block;
  margin-bottom: 0.65rem;
  color: var(--stinger-blue);
  font-weight: 800;
  font-size: 0.8rem;
}

.proposal-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 1.5rem;
}

h2 {
  margin: 0 0 0.75rem;
  color: var(--elderberry);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.15;
}

h3 {
  margin: 0 0 0.55rem;
  color: var(--stinger-blue);
  line-height: 1.25;
}

.card-grid {
  display: grid;
  gap: 1rem;
}

.card-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card-grid.five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.card,
.panel,
.check-item,
.question-panel,
.faq-list details,
.form-embed {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(15, 64, 107, 0.06);
}

.card {
  padding: 1.1rem;
}

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--lemon-zest);
  color: var(--elderberry);
  font-weight: 800;
  font-size: 0.8rem;
}

.content-grid,
.two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}

.feature-copy,
.panel,
.callout,
.question-panel {
  padding: clamp(1.25rem, 3vw, 2rem);
}

.question-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(320px, 1fr);
  gap: clamp(1.25rem, 4vw, 3rem);
  align-items: start;
}

.question-form {
  display: grid;
  gap: 1rem;
}

.question-link-box {
  align-content: start;
}

.letter-copy {
  max-width: 900px;
}

.letter-copy p {
  color: #344454;
}

.form-row {
  display: grid;
  gap: 0.35rem;
}

.form-row label {
  color: var(--stinger-blue);
  font-weight: 800;
}

.form-row input,
.form-row textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.75rem;
  color: var(--ink);
  font: inherit;
  background: #fff;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: 3px solid rgba(93, 204, 212, 0.35);
  border-color: var(--stinger-blue);
}

.form-row textarea {
  resize: vertical;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.span-wide {
  grid-column: 1 / -1;
}

.requirement-list {
  display: grid;
  gap: 0.75rem;
}

.requirement-list a {
  display: block;
  padding: 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 6px solid var(--creek);
  border-radius: var(--radius);
  text-decoration: none;
}

.requirement-list strong,
.requirement-list span {
  display: block;
}

.requirement-list span {
  color: var(--muted);
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.75rem;
}

.quick-links a {
  min-height: 86px;
  display: flex;
  align-items: end;
  padding: 1rem;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  background: var(--stinger-blue);
  border-radius: var(--radius);
}

.quick-links a:nth-child(2n) {
  background: var(--sky);
}

.quick-links a:nth-child(3n) {
  background: var(--elderberry);
}

.plain-list {
  margin: 0;
  padding-left: 1.15rem;
}

.plain-list li + li {
  margin-top: 0.45rem;
}

.plain-list a,
.data-table a {
  font-weight: 800;
}

.course-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.course-detail-grid details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(15, 64, 107, 0.06);
  padding: 1rem;
}

.course-detail-grid summary {
  cursor: pointer;
  color: var(--elderberry);
  font-weight: 800;
  line-height: 1.35;
}

.course-detail-grid summary span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-right: 0.45rem;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius);
  background: var(--lemon-zest);
  color: var(--elderberry);
  font-size: 0.82rem;
}

.course-detail-grid details p {
  color: var(--muted);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}

.tag-list span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius);
  background: #eaf1f8;
  color: var(--stinger-blue);
  font-weight: 800;
  font-size: 0.88rem;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
  background: #fff;
}

.data-table th,
.data-table td {
  padding: 0.85rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.data-table th {
  background: #eaf1f8;
  color: var(--stinger-blue);
  font-size: 0.88rem;
}

.data-table tr:last-child td {
  border-bottom: 0;
}

.source-note {
  width: min(100% - 2rem, var(--max-width));
  margin: 1rem auto 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.placeholder-text {
  color: var(--muted);
  font-style: italic;
}

.visual-map {
  min-height: 340px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  padding: 1rem;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(93, 204, 212, 0.35), transparent),
    #122f50;
}

.visual-map span {
  display: grid;
  place-items: center;
  min-height: 90px;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  color: #fff;
  font-weight: 800;
  text-align: center;
}

.visual-map span:last-child {
  grid-column: 1 / -1;
  background: var(--hornet-yellow);
  color: var(--elderberry);
}

.callout {
  background: var(--elderberry);
  color: #fff;
  border-radius: var(--radius);
}

.callout h2,
.callout .eyebrow {
  color: #fff;
}

.callout .button {
  margin-top: 0.75rem;
  background: var(--hornet-yellow);
  color: var(--elderberry);
}

.dashboard-summary,
.deadline-strip {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.dashboard-summary div,
.deadline-strip div {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
}

.dashboard-summary strong,
.deadline-strip strong {
  color: var(--stinger-blue);
}

.checklist-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-top: 1rem;
}

.checklist-toolbar p {
  margin: 0;
  color: var(--muted);
}

.checklist {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.checklist-divider {
  margin-top: 1.25rem;
  padding: 1.25rem 0 0.25rem;
  border-top: 1px solid var(--line);
}

.checklist-divider h2 {
  margin-bottom: 0;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.check-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border-left: 8px solid var(--line);
}

.check-item h2 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.check-item p {
  margin: 0;
  color: var(--muted);
}

.check-item label {
  display: grid;
  gap: 0.35rem;
  font-weight: 800;
  color: var(--stinger-blue);
}

select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 0.75rem;
  font: inherit;
  background: #fff;
}

.status-completed {
  border-left-color: #2e7d32;
}

.status-in-progress {
  border-left-color: var(--sky);
}

.status-pending {
  border-left-color: var(--hornet-yellow);
}

.status-needs-info {
  border-left-color: var(--rustic);
}

.timeline {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.timeline article {
  position: relative;
  padding: 1.5rem 1.5rem 1.5rem 5.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  border-left: 8px solid var(--line);
}

.timeline article.is-complete {
  border-left-color: #2e7d32;
}

.timeline article.is-active {
  border-left-color: var(--sky);
}

.timeline span {
  position: absolute;
  left: 1.25rem;
  top: 1.4rem;
  width: 3.25rem;
  height: 3.25rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--hornet-yellow);
  color: var(--elderberry);
  font-weight: 800;
  font-size: 0.8rem;
  text-align: center;
}

.timeline article.is-complete span {
  background: #2e7d32;
  color: #fff;
}

.timeline article.is-active span {
  background: var(--sky);
  color: #fff;
}

.timeline h2 {
  font-size: 1.35rem;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-list details {
  padding: 1rem 1.25rem;
}

.faq-list summary {
  cursor: pointer;
  color: var(--stinger-blue);
  font-weight: 800;
  font-size: 1.1rem;
}

.embed-placeholder {
  min-height: 360px;
  display: grid;
  place-content: center;
  padding: 2rem;
  text-align: center;
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(135deg, #eef4f8, #eef4f8 10px, #f7fafc 10px, #f7fafc 20px);
}

.live-form {
  overflow: hidden;
}

.live-form iframe {
  display: block;
  width: 100%;
  height: min(5958px, 72vh);
  min-height: 720px;
  border: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
  padding: 2rem 0;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav-menu {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 78px;
    display: none;
    padding: 0.75rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .nav-menu.is-open {
    display: grid;
  }

  .hero,
  .proposal-section,
  .content-grid,
  .two-column,
  .question-panel,
  .course-detail-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .card-grid.three,
  .card-grid.four,
  .card-grid.five,
  .proposal-grid,
  .quick-links,
  .signal-grid,
  .dashboard-summary,
  .deadline-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .brand small {
    display: none;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 2.4rem;
  }

  .hero-panel {
    min-height: 0;
  }

  .section-band,
  .feature-copy,
  .panel,
  .callout {
    padding: 1rem;
  }

  .card-grid.three,
  .card-grid.four,
  .card-grid.five,
  .quick-links,
  .signal-grid,
  .dashboard-summary,
  .deadline-strip,
  .visual-map {
    grid-template-columns: 1fr;
  }

  .checklist-toolbar,
  .site-footer {
    display: grid;
  }

  .check-item {
    grid-template-columns: 1fr;
  }

  .timeline article {
    padding: 1rem;
  }

  .timeline span {
    position: static;
    margin-bottom: 1rem;
  }
}
