:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-muted: #f9fafb;
  --border: #d9e0ea;
  --text: #1f2937;
  --text-muted: #5b6472;
  --heading: #111827;
  --accent: #1f5faa;
  --accent-hover: #174b86;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --radius: 16px;
  --max-width: 1040px;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    linear-gradient(180deg, #f8fafc 0%, #eef3f9 100%);
}

.site-shell {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 56px 24px 80px;
}

.site-header {
  margin-bottom: 40px;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

h1 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  color: var(--heading);
}

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

.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.tool-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.tool-card--placeholder {
  background: var(--surface-muted);
}

.tool-card h2 {
  margin: 0 0 12px;
  font-size: 1.3rem;
  color: var(--heading);
}

.tool-card p {
  margin: 0;
  line-height: 1.6;
  color: var(--text-muted);
}

.tool-card__actions {
  margin-top: 24px;
}

.button {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--accent);
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  transition: background 0.15s ease-in-out, transform 0.15s ease-in-out;
}

.button:hover,
.button:focus {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.button:focus {
  outline: 3px solid rgba(31, 95, 170, 0.18);
  outline-offset: 2px;
}

@media (max-width: 640px) {
  .site-shell {
    padding: 40px 18px 64px;
  }

  .tool-card {
    padding: 22px;
  }
}