* { box-sizing: border-box; }

:root {
  --paper: #fff;
  --ink: #0a0a0a;
  --blue: #078fca;
  --steel: #5c6268;
  --line: 3px solid var(--ink);
}

html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Arial, Helvetica, sans-serif; }
a { color: inherit; }

.hero { min-height: 415px; display: flex; flex-direction: column; padding: 30px 20px 36px; border-bottom: var(--line); }
.brand { align-self: flex-end; display: block; width: min(102px, 30vw); line-height: 0; }
.brand img { display: block; width: 100%; height: auto; }
.hero-copy { margin-top: auto; }
.eyebrow { margin: 0 0 8px; color: #006a9d; font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
h1, h2 { margin: 0; font-weight: 950; letter-spacing: -.085em; line-height: .86; text-transform: uppercase; }
h1 { font-size: clamp(4rem, 18vw, 7.5rem); }
h1 span { color: var(--blue); }
.hero-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-top: 34px; }
.hero-bottom p { max-width: 280px; margin: 0; font-size: 14px; font-weight: 800; line-height: 1.15; }
.scroll-button, .arrow { display: grid; place-items: center; background: var(--blue); border: 3px solid var(--ink); text-decoration: none; }
.scroll-button { flex: 0 0 60px; width: 60px; height: 60px; font-size: 26px; transition: transform .16s ease-out, background .16s ease-out; }
.scroll-button:hover, .scroll-button:focus-visible, .course:hover .arrow, .course:focus-visible .arrow { background: var(--ink); color: var(--paper); }
.scroll-button:active, .course:active .arrow { transform: scale(.97); }

.catalog { padding: 66px 20px 0; }
.section-heading { display: flex; flex-direction: column; gap: 28px; padding-bottom: 42px; }
h2 { font-size: clamp(3.7rem, 17vw, 7rem); }
.section-intro { max-width: 340px; margin: 0; color: var(--steel); font-size: 14px; font-weight: 800; line-height: 1.25; }
.course-list { border-top: var(--line); }
.course { display: grid; grid-template-columns: 27px minmax(0, 1fr) 36px; align-items: center; gap: 8px; min-height: 78px; padding: 12px 0; border-bottom: var(--line); text-decoration: none; transition: padding .16s ease-out, background .16s ease-out; }
.course:hover, .course:focus-visible { padding-right: 7px; padding-left: 7px; background: #f0f1f2; outline: none; }
.number { align-self: start; padding-top: 3px; color: #006a9d; font-size: 10px; font-weight: 900; }
.course-name { font-size: clamp(1.05rem, 5.2vw, 2.2rem); font-weight: 950; letter-spacing: -.055em; line-height: .94; text-transform: uppercase; }
.arrow { width: 36px; height: 36px; font-size: 21px; }

.statement { margin-top: 48px; padding: 26px 20px; color: var(--paper); background: var(--ink); border-bottom: 4px solid var(--blue); }
.statement p { max-width: 470px; margin: 0; font-size: 19px; font-weight: 900; letter-spacing: -.04em; line-height: 1; }
.site-footer { display: flex; flex-direction: column; gap: 15px; padding: 24px 20px 30px; color: var(--steel); font-size: 10px; font-weight: 900; letter-spacing: .02em; }
.site-footer a { width: fit-content; color: var(--ink); text-decoration: none; transition: color .16s ease-out; }
.site-footer a:hover, .site-footer a:focus-visible { color: var(--blue); outline: none; }

@media (min-width: 700px) {
  .hero { min-height: 590px; padding: 35px 6vw 50px; }
  .brand { width: 145px; }
  .hero-bottom { margin-top: 42px; }
  .hero-bottom p { font-size: 17px; }
  .scroll-button { flex-basis: 78px; width: 78px; height: 78px; }
  .catalog { padding: 80px 6vw 0; }
  .section-heading { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 50px; }
  .section-intro { width: min(300px, 27vw); }
  .course { grid-template-columns: 34px minmax(0, 1fr) 44px; min-height: 100px; }
  .course-name { font-size: clamp(1.45rem, 3.25vw, 3.1rem); }
  .arrow { width: 44px; height: 44px; }
  .statement { margin-top: 72px; padding: 38px 6vw; }
  .statement p { font-size: 25px; }
  .site-footer { flex-direction: row; align-items: center; justify-content: space-between; padding: 30px 6vw 36px; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
