:root {
  color-scheme: light;
  --ink: #17202a;
  --muted: #526170;
  --line: #d8e0e8;
  --surface: #ffffff;
  --soft: #eef5f2;
  --accent: #008060;
}

* {
  box-sizing: border-box;
}

body {
  background: #f8faf9;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  margin: 0;
}

a {
  color: #255ec5;
}

.shell {
  margin: 0 auto;
  max-width: 1120px;
  padding: 28px 20px 72px;
}

.nav {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 56px;
}

.brand {
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.nav-links a {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

.hero {
  display: grid;
  gap: 20px;
  margin-bottom: 44px;
  max-width: 900px;
}

.eyebrow {
  color: var(--accent);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: .08em;
  margin: 0;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(40px, 6vw, 70px);
  letter-spacing: 0;
  line-height: 1.02;
  margin: 0;
}

h2,
h3 {
  line-height: 1.2;
  margin: 0 0 10px;
}

p {
  margin: 0 0 16px;
}

.lede {
  color: var(--muted);
  font-size: 20px;
  max-width: 760px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button,
.secondary-button {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 750;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  text-decoration: none;
}

.button {
  background: var(--accent);
  color: #fff;
}

.secondary-button {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
}

.grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 32px 0 48px;
}

.card,
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.card p,
.panel p,
.muted {
  color: var(--muted);
}

.two-column {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
  margin: 48px 0;
}

.tool-form {
  display: grid;
  gap: 14px;
}

.tool-form label {
  display: grid;
  font-weight: 750;
  gap: 6px;
}

.tool-form select {
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  min-height: 42px;
  padding: 8px 10px;
}

.result {
  background: var(--ink);
  border-radius: 8px;
  color: #fff;
  padding: 24px;
}

.result p {
  color: #dce7e2;
}

.result a {
  color: #fff;
  font-weight: 750;
}

.score {
  font-size: 42px;
  font-weight: 850;
  line-height: 1;
}

.band {
  background: var(--soft);
  border-block: 1px solid var(--line);
  margin: 48px calc(50% - 50vw);
  padding: 44px calc(50vw - 50% + 20px);
}

.band > div {
  margin: 0 auto;
  max-width: 1120px;
}

.footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  margin-top: 56px;
  padding-top: 24px;
}

@media (max-width: 840px) {
  .nav,
  .two-column {
    display: grid;
  }

  .grid {
    grid-template-columns: 1fr;
  }
}
