:root {
  color-scheme: light;
  --bg: #f7f8fb;
  --surface: #ffffff;
  --surface-2: #f1f4f8;
  --text: #18202f;
  --muted: #667085;
  --line: #d8dee8;
  --blue: #2563eb;
  --teal: #0f766e;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}

.top-shell {
  height: 56px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 max(20px, calc((100vw - 1120px) / 2 + 20px));
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .92);
}

.brand,
.nav-links a,
.tool-card {
  color: inherit;
  text-decoration: none;
}

.brand {
  font-weight: 760;
}

.nav-links {
  display: flex;
  gap: 6px;
}

.nav-links a {
  border-radius: 6px;
  padding: 7px 10px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a:hover {
  background: var(--surface-2);
  color: var(--text);
}

.layout {
  max-width: 1120px;
  margin: 0 auto;
  padding: 40px 20px 56px;
}

.intro {
  max-width: 680px;
  margin-bottom: 22px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 760;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 10px;
  font-size: clamp(30px, 5vw, 48px);
  letter-spacing: 0;
  line-height: 1.08;
}

.sub {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 14px;
}

.tool-card {
  min-height: 154px;
  display: grid;
  grid-template-columns: 48px 1fr;
  grid-template-rows: 1fr auto;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.tool-card:hover {
  transform: translateY(-1px);
  border-color: #b9c3d2;
  box-shadow: 0 14px 34px -26px rgba(24, 32, 47, .5);
}

.icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: white;
  font-weight: 800;
}

.icon.news {
  background: var(--blue);
}

.icon.ca {
  background: var(--teal);
}

strong {
  display: block;
  margin-bottom: 7px;
  font-size: 21px;
}

small {
  display: block;
  color: var(--muted);
  line-height: 1.55;
}

.status {
  grid-column: 2;
  align-self: end;
  width: max-content;
  border: 1px solid #c8d8ef;
  border-radius: 999px;
  padding: 4px 9px;
  background: #eef5ff;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 620px) {
  .top-shell {
    height: auto;
    align-items: flex-start;
    flex-direction: column;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .layout {
    padding-top: 28px;
  }
}
