:root {
  --ink: #07111f;
  --ink-soft: #14253a;
  --paper: #f3f0e8;
  --paper-soft: #fbfaf6;
  --muted: #65737b;
  --line: rgba(7, 17, 31, 0.14);
  --blue: #157eb2;
  --blue-deep: #075273;
  --lime: #c6ee62;
  --shell: min(1120px, calc(100% - 42px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(243, 240, 232, 0.92);
}

.nav,
.brand,
.footer-inner,
.access {
  display: flex;
  align-items: center;
}

.nav {
  min-height: 72px;
  justify-content: space-between;
}

.brand {
  gap: 9px;
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.brand strong {
  color: var(--blue);
}

.brand-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--lime);
  font-size: 1rem;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 17px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-outline {
  border-color: var(--line);
}

.button-outline:hover {
  border-color: var(--blue);
  color: var(--blue-deep);
}

.button-primary {
  color: var(--paper-soft);
  background: var(--ink);
}

.button-primary:hover {
  background: var(--blue-deep);
}

.button-lime {
  color: var(--ink);
  background: var(--lime);
}

.hero {
  padding-block: 122px 132px;
}

.eyebrow {
  margin: 0;
  color: var(--blue-deep);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

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

h1,
h2 {
  letter-spacing: -0.09em;
}

h1 {
  max-width: 820px;
  margin: 18px 0 22px;
  font-size: clamp(4.4rem, 8vw, 7.8rem);
  line-height: 0.87;
}

h2 {
  margin: 15px 0 0;
  font-size: clamp(3rem, 5.3vw, 5rem);
  line-height: 0.9;
}

em {
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.1em;
}

.hero-copy {
  max-width: 520px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.features {
  padding-block: 94px 104px;
  background: #edeae2;
}

.section-heading {
  margin-bottom: 45px;
}

.section-copy {
  max-width: 570px;
  margin: 17px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.tool-card {
  display: flex;
  min-height: 242px;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper-soft);
  box-shadow: 0 16px 32px rgba(7, 17, 31, 0.06);
}

.tool-card-active {
  border-color: var(--blue);
  background: linear-gradient(145deg, #ffffff, #e8f5f8);
}

.tool-card span {
  color: var(--blue);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.tool-card h3 {
  margin: 17px 0 0;
  font-size: 1.22rem;
  letter-spacing: -0.05em;
}

.tool-card p {
  margin: auto 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.supporting-tools {
  margin-top: 52px;
}

.supporting-tools ul {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.supporting-tools li {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--blue-deep);
  background: var(--paper-soft);
  font-size: 0.72rem;
  font-weight: 800;
}

.access {
  justify-content: space-between;
  gap: 32px;
  padding-block: 98px;
}

.site-footer {
  border-top: 1px solid var(--line);
}

.footer-inner {
  min-height: 90px;
  justify-content: space-between;
}

.footer-inner small {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .hero {
    padding-block: 88px 96px;
  }

  h1 {
    font-size: clamp(3.8rem, 18vw, 5.8rem);
  }

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

  .tool-card {
    min-height: 205px;
  }

  .access {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .tool-grid {
    grid-template-columns: 1fr;
  }
}
