:root {
  --ink: #262626;
  --muted: #5e625f;
  --coral: #f56138;
  --coral-dark: #c83a18;
  --cream: #fae3ba;
  --cream-light: #fff8ec;
  --paper: #ffffff;
  --surface: #f6f6f4;
  --line: #dedfdc;
  --focus: #0c4da2;
  --content: 930px;
  --narrow: 760px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 2px;
}

img {
  display: block;
  max-width: 100%;
}

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

h1,
h2,
h3 {
  font-family: "Montserrat", Helvetica, Arial, sans-serif;
  line-height: 1.2;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 1rem;
  font-size: 58px;
  font-weight: 800;
  line-height: 1.1;
}

h2 {
  margin-bottom: 0;
  font-size: 46px;
  font-weight: 800;
}

h3 {
  margin-bottom: 0.55rem;
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.3;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  transform: translateY(-160%);
  border-radius: 4px;
  background: var(--ink);
  color: white;
}

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

.content-wrap {
  width: min(calc(100% - 2.5rem), var(--content));
  margin-inline: auto;
}

.content-wrap.narrow {
  width: min(calc(100% - 2.5rem), var(--narrow));
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.97);
}

.header-inner {
  display: flex;
  width: min(calc(100% - 2.5rem), 1120px);
  min-height: 82px;
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  flex: 0 0 auto;
}

.brand img {
  width: 150px;
  height: auto;
}

.header-link {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.header-link:hover {
  color: var(--coral-dark);
}

.intro {
  padding: 3.5rem 0 4rem;
  background: var(--surface);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  align-items: end;
  gap: 3rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 3.2rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.breadcrumb a {
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--coral-dark);
  text-decoration: underline;
}

.eyebrow,
.panel-label,
.key-message-label {
  margin-bottom: 0.65rem;
  color: var(--coral-dark);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.lead {
  max-width: 680px;
  margin-bottom: 1.4rem;
  color: #454846;
  font-size: 1.15rem;
}

.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 650;
}

.page-meta span {
  padding: 0.35rem 0.65rem;
  border: 1px solid #cfd1ce;
  border-radius: 4px;
  background: white;
}

.key-message {
  padding: 1.5rem;
  border-left: 5px solid var(--coral);
  border-radius: 0 6px 6px 0;
  background: var(--cream);
}

.key-message p:last-child {
  margin-bottom: 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.5;
}

.checks-section,
.records-section,
.other-starters,
.final-check,
.source-note {
  padding: 4.5rem 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 2.25rem;
}

.section-heading.compact {
  margin-bottom: 1.75rem;
}

.checks-list {
  display: grid;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.check-item {
  display: grid;
  min-width: 0;
  padding: 1.6rem 2rem 1.6rem 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 1rem;
}

.check-item:nth-child(even) {
  padding-right: 0;
  padding-left: 2rem;
  border-left: 1px solid var(--line);
}

.check-number {
  display: grid;
  width: 38px;
  height: 38px;
  border: 2px solid var(--coral);
  border-radius: 50%;
  color: var(--coral-dark);
  font-weight: 800;
  line-height: 1;
  place-items: center;
}

.check-item p,
.record-panel p,
.details-list p,
.source-note p {
  margin-bottom: 0;
  color: var(--muted);
}

.records-section {
  background: var(--cream-light);
}

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

.record-panel {
  padding: 1.75rem;
  border: 1px solid #e2cfa9;
  border-top: 5px solid var(--coral);
  border-radius: 6px;
  background: white;
}

.record-panel-school {
  border-top-color: var(--ink);
}

.record-panel-school .panel-label {
  color: var(--ink);
}

.details-list {
  border-top: 0;
}

details {
  border-bottom: 5px solid var(--ink);
}

summary {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  font-family: "Montserrat", Helvetica, Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  width: 0.85rem;
  height: 0.85rem;
  flex: 0 0 auto;
  transform: rotate(45deg);
  border-right: 4px solid var(--ink);
  border-bottom: 4px solid var(--ink);
  content: "";
  transition: transform 160ms ease;
}

details[open] summary::after {
  transform: rotate(225deg);
}

details p {
  max-width: 680px;
  padding: 0 3rem 1.4rem 0;
}

.final-check {
  background: var(--ink);
  color: white;
}

.final-check-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  align-items: center;
  gap: 4rem;
}

.final-check .eyebrow {
  color: #ff9a7b;
}

.final-check ul {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 0.7rem;
}

.final-check li {
  position: relative;
  min-height: 18px;
  padding-left: 1.9rem;
}

.final-check li::before {
  display: grid;
  position: absolute;
  top: 0.2em;
  left: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #0094a6;
  color: white;
  content: "\2713";
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  place-items: center;
}

.course-cta {
  padding: 4rem 0;
  background: var(--cream);
}

.course-cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  align-items: center;
  gap: 4rem;
}

.course-cta h2 {
  margin-bottom: 0.75rem;
}

.course-cta p:last-child {
  max-width: 650px;
  margin-bottom: 0;
  color: #4c4539;
}

.primary-button {
  display: inline-flex;
  min-height: 50px;
  padding: 0.8rem 1.25rem;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--coral);
  border-radius: 5px;
  background: var(--coral);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  transition:
    background-color 150ms ease,
    border-color 150ms ease,
    transform 150ms ease;
  justify-self: start;
}

.primary-button:hover {
  border-color: var(--coral-dark);
  background: var(--coral-dark);
  color: white;
  transform: translateY(-1px);
}

.primary-button:focus-visible,
summary:focus-visible,
a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.source-note {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.source-note h2 {
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
}

.source-note p {
  max-width: 760px;
  font-size: 0.87rem;
}

.source-note a {
  color: var(--ink);
  font-weight: 700;
}

.site-footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.footer-inner img {
  width: 126px;
  height: auto;
}

.footer-inner p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

@media (max-width: 760px) {
  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 32px;
  }

  .header-inner {
    min-height: 72px;
  }

  .brand img {
    width: 126px;
  }

  .header-link {
    display: none;
  }

  .intro {
    padding: 2rem 0 3rem;
  }

  .intro-grid,
  .final-check-inner,
  .course-cta-inner {
    grid-template-columns: 1fr;
  }

  .final-check-inner {
    align-items: start;
  }

  .intro-grid {
    gap: 2rem;
  }

  .breadcrumb {
    margin-bottom: 2.25rem;
  }

  .checks-section,
  .records-section,
  .other-starters,
  .final-check,
  .source-note {
    padding: 3.25rem 0;
  }

  .checks-list,
  .records-grid {
    grid-template-columns: 1fr;
  }

  .check-item,
  .check-item:nth-child(even) {
    padding: 1.35rem 0;
    border-left: 0;
  }

  .record-panel {
    padding: 1.4rem;
  }

  .course-cta-inner {
    gap: 1.5rem;
  }

  .primary-button {
    width: 100%;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 420px) {
  .content-wrap,
  .content-wrap.narrow,
  .header-inner {
    width: min(calc(100% - 2rem), var(--content));
  }

  h1 {
    font-size: 36px;
  }

  .check-item {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 0.8rem;
  }

  .check-number {
    width: 34px;
    height: 34px;
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
