:root {
  --black: #000;
  --charcoal: #303030;
  --white: #fff;
  --blue: #4dd3ff;
  --purple: #d105ff;
  --orange: #f15a24;
  --peach: #ffb182;
  --lavender: #c76be8;
  --slate-blue: #6ab5cc;
  --text-blue: #4176a8;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--white);
}

body {
  display: flex;
  min-height: 100vh;
  margin: 0;
  flex-direction: column;
  color: #222;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

a {
  color: inherit;
}

.site-header {
  min-height: 120px;
  padding: 10px clamp(16px, 3vw, 40px);
  background: var(--black);
}

.brand {
  display: block;
  width: 100px;
  height: 100px;
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.quick-links {
  position: relative;
  z-index: 1;
  border-bottom: 18px solid rgba(255, 255, 255, 0.9);
}

.quick-links details {
  background: var(--white);
}

.quick-links summary {
  padding: 10px 44px;
  color: var(--purple);
  cursor: pointer;
  font-size: clamp(1.45rem, 4vw, 1.875rem);
  font-weight: 700;
  line-height: 1;
  list-style: none;
  text-align: center;
  text-transform: uppercase;
}

.quick-links summary::-webkit-details-marker {
  display: none;
}

.quick-links summary::after {
  display: inline-block;
  width: 0.55em;
  height: 0.55em;
  margin-left: 0.55em;
  border-right: 0.12em solid currentColor;
  border-bottom: 0.12em solid currentColor;
  content: "";
  transform: translateY(-0.18em) rotate(45deg);
  transition: transform 180ms ease;
}

.quick-links summary:hover,
.quick-links summary:focus-visible {
  color: var(--blue);
}

.quick-links summary:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: -3px;
}

.quick-links details[open] summary {
  color: var(--purple);
}

.quick-links details[open] summary::after {
  transform: translateY(0.12em) rotate(225deg);
}

.quick-links-panel {
  padding: 30px 20px 38px;
  background: var(--charcoal);
}

.quick-links-group {
  max-width: 620px;
  margin: 0 auto;
}

.quick-links-group + .quick-links-group {
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid #666;
}

.quick-links-heading {
  margin: 0 0 10px;
  color: #73d2fb;
  font-size: 1.25rem;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
}

.quick-links ul {
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.quick-links li + li {
  margin-top: 7px;
}

.quick-links li {
  text-align: center;
}

.quick-links a {
  display: block;
  padding: 4px;
  color: var(--orange);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
  text-transform: uppercase;
}

.quick-links .quick-links-heading a {
  display: inline;
  padding: 0;
  color: #73d2fb;
  font-size: inherit;
}

.quick-links a:hover,
.quick-links a:focus-visible {
  color: #d619ff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.quick-links a:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

main {
  display: grid;
  min-height: 360px;
  padding: 64px 20px;
  flex: 1;
  align-content: center;
  text-align: center;
}

main h1 {
  margin: 0;
  color: var(--text-blue);
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 300;
}

main p {
  margin: 12px 0 0;
  color: #759734;
  font-size: clamp(1rem, 3vw, 1.35rem);
  font-weight: 600;
}

.site-footer {
  padding-top: 38px;
  background: var(--blue);
  text-align: center;
}

.site-footer nav {
  display: flex;
  justify-content: center;
  gap: clamp(30px, 10vw, 120px);
}

.site-footer nav a {
  padding: 8px 16px;
  color: #e91fff;
  font-size: clamp(1.35rem, 4vw, 1.75rem);
  font-weight: 300;
  text-decoration: none;
  text-transform: uppercase;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-footer a:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

.site-footer p {
  margin: 24px 16px 16px;
  color: var(--white);
  font-size: 0.7rem;
  line-height: 1.5;
}

.footer-stripes {
  display: grid;
  height: 36px;
  grid-template-rows: repeat(3, 12px);
}

.footer-stripes span:nth-child(1) {
  background: var(--peach);
}

.footer-stripes span:nth-child(2) {
  background: var(--lavender);
}

.footer-stripes span:nth-child(3) {
  background: var(--slate-blue);
}

@media (max-width: 600px) {
  .site-header {
    display: flex;
    justify-content: center;
  }

  main {
    min-height: 280px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .quick-links summary::after {
    transition: none;
  }
}
