@font-face {
  font-family: "Poppins";
  src: url("/fonts/poppins-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("/fonts/poppins-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --navy: #004a74;
  --ink: #111b21;
  --paper: #f2f5f6;
  --white: #ffffff;
  --orange: #ff6b25;
  --muted: #566267;
  --line: #cbd4d8;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Poppins", Arial, sans-serif;
}

.site-header {
  border-top: 8px solid var(--navy);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.header-inner,
main,
footer {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.header-inner {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header-inner img {
  display: block;
  max-width: 190px;
  height: auto;
}

.header-inner span {
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

main {
  padding: 96px 0 110px;
}

.hero {
  max-width: 940px;
}

.eyebrow,
.card-label {
  margin: 0;
  color: var(--orange);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

h1 {
  max-width: 850px;
  margin: 14px 0 22px;
  color: var(--navy);
  font-size: clamp(48px, 7.5vw, 96px);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.intro {
  max-width: 730px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.55;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
  margin-top: 74px;
  background: var(--orange);
  border-bottom: 6px solid var(--orange);
}

.tool-card {
  min-height: 330px;
  padding: 38px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: 26px;
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
  transition: background-color 160ms ease, transform 160ms ease;
}

.tool-card:hover,
.tool-card:focus-visible {
  background: var(--ink);
}

.tool-card:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

.number {
  padding-top: 6px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
}

.tool-card h2 {
  max-width: 430px;
  margin: 12px 0 20px;
  font-size: clamp(30px, 4vw, 49px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.tool-card p:not(.card-label) {
  max-width: 430px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  line-height: 1.65;
}

.arrow {
  align-self: end;
  color: var(--orange);
  font-size: 34px;
  line-height: 1;
}

footer {
  min-height: 130px;
  padding: 36px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
}

footer div {
  display: grid;
  gap: 3px;
}

footer strong {
  color: var(--navy);
  font-size: 18px;
}

footer span,
footer a {
  color: var(--muted);
  font-size: 14px;
}

footer a:hover,
footer a:focus-visible {
  color: var(--navy);
}

@media (max-width: 820px) {
  .header-inner,
  main,
  footer {
    width: min(100% - 32px, 1180px);
  }

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

  .header-inner span {
    display: none;
  }

  main {
    padding: 64px 0 74px;
  }

  .tool-grid {
    grid-template-columns: 1fr;
    margin-top: 52px;
  }

  .tool-card {
    min-height: 280px;
    padding: 28px 24px;
    gap: 18px;
  }

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