:root {
  --navy: #0a1220;
  --white: #ffffff;
  --tint: #f8f9fa;
  --accent: #5b6cff;
  --line: rgba(10, 18, 32, 0.12);
  --line-light: rgba(255, 255, 255, 0.25);
}

body {
  background-color: var(--white);
  margin: 0;
  padding: 0;
  color: var(--navy);
  font-family: 'Inter', sans-serif;
  font-weight: 200;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', sans-serif;
  font-weight: 200;
  line-height: 1.2;
  margin: 0 0 16px;
}

h1 {
  font-size: 64px;
}

h2 {
  font-size: 40px;
}

h3 {
  font-size: 24px;
}

p, li, dd {
  font-weight: 300;
}

strong {
  font-weight: 600;
}

a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 100px;
  background-color: var(--navy);
  position: relative;
  min-height: 60px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  width: auto;
  display: block;
}

nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

nav ul li a {
  display: block;
  color: var(--white);
  text-align: center;
  padding: 16px 25px;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  position: relative;
}

nav ul li a::after {
  content: '';
  position: absolute;
  width: calc(100% - 32px);
  height: 1px;
  bottom: 12px;
  left: 16px;
  background-color: var(--white);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

nav ul li a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

nav ul li a[aria-current="page"]::after {
  background-color: var(--accent);
  transform: scaleX(1);
}

.nav-controls {
  display: flex;
  align-items: center;
}

#hamburger {
  display: none;
  cursor: pointer;
  width: 28px;
  height: 20px;
  padding: 0;
  border: none;
  background: none;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

#hamburger .bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--white);
  transition: all 0.3s ease-in-out;
  border-radius: 2px;
}

#hamburger.active .bar:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

#hamburger.active .bar:nth-child(2) {
  opacity: 0;
}

#hamburger.active .bar:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

main {
  flex-grow: 1;
}

.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 100px;
  box-sizing: border-box;
}

.section {
  padding: 96px 0;
}

.section-tint {
  background-color: var(--tint);
}

.section-dark {
  background-color: var(--navy);
  color: var(--white);
}

.hero {
  padding: 120px 0 96px;
}

.hero h2 {
  font-size: 28px;
  color: var(--accent);
  margin-bottom: 24px;
}

.eyebrow {
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  margin-right: 12px;
  background-color: var(--accent);
  vertical-align: middle;
}

.section-dark .eyebrow {
  color: var(--accent);
}

.lead {
  max-width: 640px;
  margin: 0;
  font-size: 22px;
  font-weight: 200;
}

.section-head {
  max-width: 720px;
  margin-bottom: 56px;
}

.section-head p {
  margin: 0;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
}

.button {
  display: inline-block;
  padding: 16px 32px;
  border: 1px solid var(--navy);
  background-color: var(--navy);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.button:hover,
.button:focus {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--navy);
}

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

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

.section-dark .button {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--navy);
}

.section-dark .button:hover,
.section-dark .button:focus {
  background-color: var(--white);
  border-color: var(--white);
  color: var(--navy);
}

.section-dark .button-outline {
  background-color: transparent;
  border-color: var(--white);
  color: var(--white);
}

.section-dark .button-outline:hover,
.section-dark .button-outline:focus {
  background-color: var(--white);
  border-color: var(--white);
  color: var(--navy);
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin: 72px 0 0;
  padding: 0;
  list-style: none;
}

.stats li {
  padding-top: 24px;
  border-top: 1px solid var(--accent);
}

.stats strong {
  display: block;
  margin-bottom: 8px;
  font-size: 48px;
  font-weight: 200;
  line-height: 1.1;
}

.grid {
  display: grid;
  gap: 24px;
}

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

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px;
  align-items: start;
}

.card {
  padding: 32px;
  border: 1px solid var(--line);
  background-color: var(--tint);
  transition: border-color 0.3s ease;
}

.card:hover {
  border-color: var(--accent);
}

.section-tint .card {
  background-color: var(--white);
}

.card p {
  margin: 0 0 24px;
}

.card .tag {
  margin-bottom: 16px;
}

.tag {
  display: inline-block;
  margin: 0;
  padding: 4px 12px;
  border: 1px solid var(--navy);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card-link {
  display: inline-block;
  padding-bottom: 2px;
  border-bottom: 2px solid var(--accent);
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
}

.result {
  font-weight: 600;
}

.checklist {
  margin: 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.checklist li:first-child {
  border-top: 1px solid var(--line);
}

.checklist li::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 16px;
  background-color: var(--accent);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  padding-top: 24px;
  border-top: 1px solid var(--accent);
  counter-increment: step;
}

.steps li::before {
  content: '0' counter(step);
  display: block;
  margin-bottom: 16px;
  font-size: 40px;
  font-weight: 200;
  line-height: 1;
}

.steps p {
  margin: 0;
}

details {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

details:first-of-type {
  border-top: 1px solid var(--line);
}

summary {
  cursor: pointer;
  font-size: 20px;
  font-weight: 600;
}

details p {
  margin: 12px 0 0;
}

.quote {
  max-width: 800px;
  margin: 0;
}

.quote blockquote {
  margin: 0 0 24px;
}

.quote blockquote p {
  margin: 0;
  font-size: 32px;
  font-weight: 200;
  line-height: 1.4;
}

.quote figcaption {
  font-weight: 600;
}

.cta {
  text-align: center;
}

.cta .lead {
  margin: 0 auto;
}

.cta .actions {
  justify-content: center;
}

.details {
  margin: 32px 0 0;
}

.details dt {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.details dd {
  margin: 4px 0 24px;
  font-size: 18px;
}

.details a {
  border-bottom: 2px solid var(--accent);
  color: var(--navy);
  text-decoration: none;
}

.form {
  display: grid;
  gap: 20px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-size: 14px;
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 16px;
  border: 1px solid var(--navy);
  border-radius: 0;
  background-color: var(--white);
  color: var(--navy);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 300;
}

.field textarea {
  min-height: 160px;
  resize: vertical;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.consent input {
  margin-top: 5px;
}

.consent label {
  font-weight: 300;
}

.form .button {
  justify-self: start;
}

.form-status {
  min-height: 26px;
  margin: 0;
  font-weight: 600;
}

.footer {
  width: 100%;
  background-color: var(--navy);
  color: var(--white);
  text-align: left;
  padding: 72px 0 0;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
}

.footer-brand {
  margin: 0 0 12px;
  font-size: 28px;
  font-weight: 200;
}

.footer-title {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer p {
  margin: 0;
}

.footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer li {
  margin-bottom: 10px;
}

.footer a {
  color: var(--white);
  text-decoration: none;
}

.footer a:hover,
.footer a:focus {
  text-decoration: underline;
}

.footer address {
  font-style: normal;
  font-weight: 300;
}

.footer-bottom {
  margin-top: 56px;
  border-top: 1px solid var(--line-light);
}

.footer-bottom p {
  padding: 24px 0;
  font-size: 14px;
}

@media (max-width: 900px) {
  nav {
    padding: 10px 30px;
  }

  nav ul li a {
    padding: 16px 12px;
  }

  nav ul li a::after {
    width: calc(100% - 24px);
    left: 12px;
  }

  .container {
    padding: 0 30px;
  }

  .section {
    padding: 72px 0;
  }

  .hero {
    padding: 88px 0 72px;
  }

  h1 {
    font-size: 52px;
  }

  h2 {
    font-size: 34px;
  }

  .grid-3,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  nav {
    padding: 10px 20px;
  }

  #hamburger {
    display: flex;
  }

  ul#nav-links {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--navy);
    flex-direction: column;
    z-index: 999;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
    align-items: flex-start;
  }

  ul#nav-links.active {
    max-height: 600px;
  }

  ul#nav-links li {
    width: 100%;
  }

  ul#nav-links li a {
    text-align: left;
    padding: 20px 25px;
    border-bottom: 1px solid var(--white);
  }

  ul#nav-links li a::after {
    display: none;
  }

  ul#nav-links li a[aria-current="page"] {
    color: var(--accent);
  }

  .container {
    padding: 0 20px;
  }

  .section {
    padding: 56px 0;
  }

  .hero {
    padding: 64px 0 56px;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 30px;
  }

  .hero h2 {
    font-size: 22px;
  }

  .lead {
    font-size: 18px;
  }

  .stats strong {
    font-size: 40px;
  }

  .grid-2,
  .grid-3,
  .steps,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .actions .button {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
  }

  .quote blockquote p {
    font-size: 24px;
  }

  .footer {
    padding-top: 56px;
  }
}