* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--brand-bg);
  color: var(--brand-text);
}

.hub {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  padding: 100px 0 60px;
}

.header-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 20px;
}

.header-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.eyebrow {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-blue);
  font-weight: 700;
}

h1 {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.5px;
  color: var(--brand-text);
}

.intro {
  margin: 0;
  max-width: 720px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--brand-muted);
}

.header-meta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 18px;
  border: 1px solid var(--brand-border);
  background: rgba(0, 0, 0, 0.04);
  color: var(--brand-muted);
  font-size: 13px;
  font-weight: 600;
}

.tool-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.tool-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 240px;
  padding: 32px;
  border: 1px solid var(--brand-border);
  border-radius: 12px;
  background: var(--brand-surface);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.tool-card:hover,
.tool-card:focus-visible {
  transform: translateY(-2px);
  border-color: var(--brand-blue);
  box-shadow: 0 6px 18px var(--brand-ring);
  outline: none;
}

.card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.tool-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #e8f3fe;
  color: var(--brand-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tool-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tool-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-muted);
}

.tool-card h2 {
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.4px;
  color: var(--brand-text);
}

.tool-card p {
  margin: 0 0 24px;
  color: var(--brand-muted);
  font-size: 15px;
  line-height: 1.6;
}

.tool-list {
  margin: -10px 0 24px 18px;
  padding: 0;
  color: var(--brand-muted);
  font-size: 15px;
  line-height: 1.6;
}

.tool-list li + li {
  margin-top: 4px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 18px;
  background: var(--brand-surface);
  color: var(--brand-blue);
  border: 1px solid var(--brand-border);
  font-size: 13px;
  font-weight: 700;
  margin-top: auto;
}

@media (max-width: 640px) {
  .hub {
    width: min(100% - 24px, 1080px);
    padding: 84px 0 48px;
  }

  .header-section {
    align-items: flex-start;
  }

  .header-meta {
    min-height: 32px;
    padding: 0 12px;
    font-size: 12px;
  }

  h1 {
    font-size: 24px;
  }

  .intro {
    font-size: 13px;
  }

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

  .tool-card {
    min-height: auto;
    padding: 20px;
  }

  .tool-card h2 {
    font-size: 20px;
  }

  .tool-card p,
  .tool-list {
    font-size: 14px;
  }
}
