:root {
  color-scheme: light;
  --ink: #172026;
  --muted: #59666f;
  --line: #d8e0e6;
  --paper: #f7faf9;
  --white: #ffffff;
  --accent: #0f8f7b;
  --accent-dark: #0a5f54;
  --gold: #b7832f;
  --blue: #2563a7;
}

* {
  box-sizing: border-box;
}

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

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

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 0 40px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  font-size: 20px;
  font-weight: 800;
}

nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 42px;
  align-items: center;
  max-width: 1180px;
  min-height: calc(100vh - 68px);
  margin: 0 auto;
  padding: 70px 32px 90px;
}

.hero-copy {
  max-width: 780px;
}

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

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: 34px;
  line-height: 1.08;
}

h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.lede {
  max-width: 650px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}

.signup {
  display: flex;
  width: min(100%, 560px);
  gap: 10px;
  margin-top: 32px;
}

input,
button,
.report-link {
  min-height: 48px;
  border-radius: 6px;
  font: inherit;
}

input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--line);
  padding: 0 14px;
}

button,
.report-link {
  border: 0;
  background: var(--accent);
  color: var(--white);
  padding: 0 18px;
  font-weight: 800;
  cursor: pointer;
}

.signal-panel {
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 8px;
  padding: 18px;
  box-shadow: 0 18px 50px rgba(23, 32, 38, 0.08);
}

.signal-panel div {
  display: grid;
  gap: 6px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}

.signal-panel div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.signal-panel span,
.tool-card span {
  color: var(--muted);
  font-size: 13px;
}

.signal-panel strong {
  font-size: 26px;
}

.band,
.tools,
.report {
  padding: 72px 32px;
}

.band {
  background: var(--white);
  border-block: 1px solid var(--line);
}

.section-head,
.signal-grid,
.tool-grid,
.report {
  max-width: 1180px;
  margin-inline: auto;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.signal-grid article,
.tool-card {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 8px;
  padding: 20px;
}

.signal-grid p,
.tool-card p,
.report p,
footer {
  color: var(--muted);
  line-height: 1.55;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 1180px;
  margin: 24px auto;
}

.filters button {
  min-height: 38px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  padding: 0 13px;
}

.filters button.active {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--white);
}

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

.tool-card {
  display: grid;
  min-height: 220px;
  align-content: start;
  gap: 10px;
}

.tool-card a {
  color: var(--blue);
  font-weight: 800;
}

.fit {
  width: fit-content;
  border-radius: 999px;
  background: #f2e6d0;
  color: #6c4915;
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 800;
}

.report {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: #102d35;
  color: var(--white);
}

.report p,
.report .eyebrow {
  color: #c3d6d5;
}

.report-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  background: var(--gold);
}

footer {
  padding: 28px 32px;
  background: var(--white);
  font-size: 13px;
}

@media (max-width: 860px) {
  .topbar {
    padding: 0 20px;
  }

  nav {
    gap: 12px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 52px;
  }

  .signal-grid,
  .tool-grid {
    grid-template-columns: 1fr;
  }

  .signup,
  .report {
    flex-direction: column;
    align-items: stretch;
  }

  .signup button {
    width: 100%;
  }
}
