:root {
  --navy: #0e1f2f;
  --teal: #2f6f80;
  --blue: #0077b6;
  --ink: #1a202c;
  --body: #2d3748;
  --muted: #4d6274;
  --line: #d8e4ec;
  --soft: #f5f7f8;
  --page: #f7fafc;
  --white: #fff;
  --content: 1180px;
  --narrow: 842px;
  --edge: clamp(1rem, 4vw, 1.5rem);
  --section-space: clamp(1.625rem, 3.25vw, 2.625rem);
  --section-gap: 1.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--body);
  font: 400 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

body.menu-open {
  overflow: hidden;
}

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

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid #f5a524;
  outline-offset: 3px;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--ink);
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.2;
}

h2 {
  margin-bottom: .75rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  line-height: 1.22;
}

h3 {
  margin-bottom: .55rem;
  font-size: 1.18rem;
  line-height: 1.35;
}

p {
  margin-top: 0;
}

.skip-link,
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  z-index: 1000;
  top: .5rem;
  left: .5rem;
  width: auto;
  height: auto;
  padding: .65rem 1rem;
  margin: 0;
  clip-path: none;
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
}

.site-header {
  position: relative;
  z-index: 20;
  background: var(--white);
}

.header-inner {
  display: flex;
  width: min(1290px, calc(100% - (2 * var(--edge))));
  min-height: 80px;
  align-items: center;
  justify-content: space-between;
  margin-inline: auto;
}

.brand img {
  width: 112px;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: .1rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.primary-nav a {
  display: block;
  padding: .45em .7em;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: var(--ink);
}

.menu-toggle {
  display: none;
  min-width: 44px;
  min-height: 44px;
  padding: .45rem;
  border: 1px solid var(--muted);
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
}

.hero {
  position: relative;
  display: grid;
  min-height: 430px;
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
}

.hero__image,
.hero__shade,
.hero__content {
  grid-area: 1 / 1;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__shade {
  z-index: 1;
  background: rgba(7, 20, 31, .64);
}

.hero__content {
  z-index: 2;
  align-self: center;
  width: min(900px, calc(100% - 3rem));
  margin-inline: auto;
  padding: 3.5rem 0;
  text-align: center;
}

.hero h1 {
  max-width: 820px;
  margin: 0 auto 1rem;
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.12;
}

.hero p {
  max-width: 760px;
  margin-inline: auto;
  font-size: 1.14rem;
  line-height: 1.65;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
  margin-top: 1.5rem;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: .7rem 1.15rem;
  border: 2px solid transparent;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.button--primary {
  background: var(--navy);
  color: var(--white);
}

.button--secondary {
  background: var(--teal);
  color: var(--white);
}

.button--outline {
  border-color: var(--navy);
  background: transparent;
  color: var(--navy);
}

.button:hover,
.button:focus-visible {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--white);
}

.credibility {
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.credibility ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(var(--content), calc(100% - 3rem));
  padding: .75rem 0;
  margin: 0 auto;
  list-style: none;
}

.credibility li {
  display: grid;
  min-height: 42px;
  padding: 0 1rem;
  place-items: center;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

.credibility li + li {
  border-left: 1px solid var(--line);
}

.section {
  width: min(var(--content), calc(100% - 3rem));
  padding: var(--section-space) 0;
  margin-inline: auto;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto var(--section-gap);
  text-align: center;
}

.section-heading p,
.follow > p,
.content-types p,
.video-card__body p {
  color: var(--muted);
}

.content-types > h2 {
  text-align: center;
}

.content-types__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: var(--section-gap);
}

.content-types article {
  padding: .25rem 2rem;
}

.content-types article + article {
  border-left: 1px solid var(--line);
}

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

.video-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(14, 31, 47, .07);
}

.video-card__image {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--navy);
}

.video-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .2s ease;
}

.video-card__image:hover img,
.video-card__image:focus-visible img {
  transform: scale(1.02);
}

.play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 48px;
  height: 48px;
  transform: translate(-50%, -50%);
  place-items: center;
  border: 2px solid rgba(255, 255, 255, .92);
  border-radius: 50%;
  background: rgba(14, 31, 47, .82);
  color: var(--white);
  font-size: 1rem;
  text-indent: 2px;
}

.video-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.25rem;
}

.video-card__body p {
  margin-bottom: 1.1rem;
  font-size: .96rem;
}

.text-link {
  align-self: flex-start;
  margin-top: auto;
  color: var(--blue);
  font-weight: 700;
  text-underline-offset: 3px;
}

.section-action {
  margin-top: var(--section-gap);
  text-align: center;
}

.created-by {
  width: 100%;
  background: var(--soft);
}

.section__inner {
  width: min(820px, calc(100% - 3rem));
  margin-inline: auto;
}

.section__inner p + p {
  margin-top: 1rem;
}

.section__inner .button {
  margin-top: .5rem;
}

.follow {
  max-width: 760px;
  text-align: center;
}

.page-shell {
  width: min(1290px, calc(100% - (2 * var(--edge))));
  padding: 1.5rem 0 2.5rem;
  margin-inline: auto;
}

.page-card {
  padding: 0 clamp(1.5rem, 4vw, 2.5rem) clamp(1.5rem, 4vw, 2.5rem);
  background: var(--white);
  box-shadow: 0 15px 15px -10px rgba(0, 0, 0, .05);
}

.page-card--narrow {
  max-width: var(--narrow);
  margin-inline: auto;
}

.page-title {
  padding: 1.5rem clamp(1.5rem, 4vw, 2.5rem);
  margin: 0;
  background: var(--soft);
}

.check-list {
  padding-left: 1.25rem;
}

.embed-list {
  display: grid;
  gap: 2.25rem;
  margin-top: 2.25rem;
}

.embed-item h2 {
  font-size: clamp(1.35rem, 3vw, 1.65rem);
}

.video-embed {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  margin-bottom: 1rem;
  border-radius: 4px;
  background: var(--navy);
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

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

.contact-option {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 5px;
}

.site-footer {
  padding: 1.5rem var(--edge);
  color: var(--body);
  text-align: center;
}

.site-footer p {
  margin: .35rem 0;
}

.footer-links {
  font-size: .95rem;
}

.footer-links span {
  padding: 0 .3rem;
}

.error-page {
  min-height: 55vh;
  display: grid;
  align-items: center;
}

@media (max-width: 900px) {
  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .video-card:last-child {
    grid-column: 1 / -1;
    width: min(50%, 560px);
    justify-self: center;
  }
}

@media (max-width: 768px) {
  .header-inner {
    min-height: 72px;
  }

  .brand img {
    width: 88px;
  }

  .menu-toggle {
    display: inline-block;
    border: 0;
    border-radius: 0;
    font-size: 0;
  }

  .menu-toggle::before {
    content: "☰";
    font-size: 1.35rem;
    line-height: 1;
  }

  .primary-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    padding: .5rem var(--edge) 1rem;
    background: var(--navy);
  }

  .primary-nav[data-open="true"] {
    display: block;
  }

  .primary-nav ul {
    display: block;
  }

  .primary-nav a {
    padding: .9rem;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    color: #edf2f7;
    font-size: .95rem;
  }

  .primary-nav a:hover,
  .primary-nav a[aria-current="page"] {
    color: var(--white);
  }

  .hero {
    min-height: 460px;
  }

  .hero__content,
  .section,
  .section__inner,
  .credibility ul {
    width: min(100% - 2rem, var(--content));
  }

  .hero h1 {
    font-size: clamp(2rem, 10vw, 2.7rem);
  }

  .hero p {
    font-size: 1rem;
  }

  .credibility ul,
  .content-types__grid,
  .video-grid,
  .contact-options {
    grid-template-columns: 1fr;
  }

  .credibility li {
    padding: .7rem .5rem;
  }

  .credibility li + li {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .content-types article {
    padding: 1rem 0;
  }

  .content-types article + article {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .video-card:last-child {
    grid-column: auto;
    width: 100%;
  }

  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .actions .button {
    width: 100%;
  }

  .page-shell {
    padding-top: 1rem;
  }

  .page-title {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
}

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

  .button,
  .video-card__image img {
    transition: none;
  }
}
