:root {
  color-scheme: light;
  --navy: #143a52;
  --navy-dark: #0e2a3c;
  --teal: #18766f;
  --teal-dark: #115b56;
  --ink: #17232b;
  --muted: #5b6870;
  --line: #d8e0e4;
  --paper: #ffffff;
  --background: #f3f6f7;
  --soft-blue: #eaf2f6;
  --soft-teal: #e7f3f1;
  --focus: #f2b544;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.55;
}

a {
  color: var(--teal-dark);
}

a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.site-header {
  background: var(--navy);
  color: #fff;
  border-bottom: 4px solid var(--teal);
}

.header-inner {
  width: min(100% - 32px, 920px);
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: block;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.22);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.test-badge {
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 3px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

main {
  width: min(100% - 32px, 840px);
  margin: 0 auto;
  padding: 60px 0 72px;
}

.intro {
  max-width: 700px;
  margin-bottom: 36px;
}

.eyebrow {
  margin: 0 0 7px;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 12px;
  color: var(--navy-dark);
  font-size: clamp(2.15rem, 7vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h2 {
  margin-bottom: 8px;
  color: var(--navy-dark);
  font-size: 1.3rem;
  line-height: 1.25;
}

.lead {
  margin-bottom: 0;
  color: #3d4c54;
  font-size: 1.13rem;
}

.steps {
  position: relative;
}

.step-card {
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 22px;
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 5px solid var(--navy);
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(24, 46, 58, 0.07);
}

.step-number {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--soft-blue);
  color: var(--navy);
  border: 1px solid #cbdce5;
  border-radius: 50%;
  font-size: 1.25rem;
  font-weight: 700;
}

.step-content > p {
  color: var(--muted);
}

.step-connector {
  width: 2px;
  height: 26px;
  margin-left: 51px;
  background: #bdcbd1;
}

.button {
  width: fit-content;
  min-height: 50px;
  margin-top: 7px;
  padding: 12px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 2px solid transparent;
  border-radius: 4px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  line-height: 1.2;
  transition: background-color 120ms ease, border-color 120ms ease;
}

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

.button-primary:hover {
  background: var(--navy-dark);
}

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

.button-secondary:hover {
  background: var(--teal-dark);
}

.play-badge {
  width: fit-content;
  margin-top: 7px;
  display: inline-block;
  line-height: 0;
}

.play-badge img {
  width: 180px;
  max-width: 100%;
  height: auto;
}

.play-badge span {
  display: none;
}

.small-note {
  margin: 12px 0 0;
  color: #6a757b !important;
  font-size: 0.88rem;
}

.help {
  margin-top: 54px;
  padding: 30px;
  background: var(--soft-teal);
  border: 1px solid #c9dfdc;
  border-radius: 6px;
}

.help-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.help-heading h2,
.help-heading .eyebrow {
  margin-bottom: 0;
}

.help-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  background: var(--teal-dark);
  color: #fff;
  border-radius: 50%;
  font-size: 1.4rem;
  font-weight: 700;
}

.checklist {
  margin: 0;
  padding-left: 25px;
}

.checklist li {
  margin-bottom: 12px;
  padding-left: 6px;
}

footer {
  min-height: 88px;
  padding: 25px max(16px, calc((100% - 840px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #e5eaed;
  border-top: 1px solid #d1d9dd;
  color: #55636b;
  font-size: 0.9rem;
}

footer p {
  margin: 0;
}

footer nav {
  display: flex;
  gap: 22px;
}

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }

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

  .test-badge {
    display: none;
  }

  main {
    padding: 42px 0 54px;
  }

  .step-card {
    grid-template-columns: 40px 1fr;
    gap: 14px;
    padding: 22px 18px;
  }

  .step-number {
    width: 40px;
    height: 40px;
  }

  .step-connector {
    margin-left: 38px;
  }

  .button {
    width: 100%;
  }

  .play-badge img {
    width: 165px;
  }

  .help {
    padding: 24px 20px;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}

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

  .button {
    transition: none;
  }
}
