:root {
  --bg: #f7f8fb;
  --text: #172033;
  --muted: #5f6b7a;
  --card: #ffffff;
  --border: #e3e7ee;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

a {
  color: inherit;
}

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

.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}

.header-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.35rem;
  font-weight: 800;
  text-decoration: none;
}

.nav {
  display: flex;
  gap: 20px;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
}

.nav a:hover {
  color: var(--text);
}

.hero {
  padding: 72px 0;
  text-align: center;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 1.05;
}

.hero-text {
  max-width: 680px;
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: 1.15rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 10px;
  background: var(--primary);
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
}

.button:hover {
  background: var(--primary-dark);
}

.tools {
  padding: 24px 0 72px;
}

.tools h2 {
  margin: 0 0 20px;
  font-size: 1.8rem;
}

.coming-title {
  margin-top: 44px !important;
}

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

.tool-card {
  display: block;
  padding: 22px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(23, 32, 51, 0.04);
}

.tool-card:hover {
  border-color: #b8c4d8;
}

.tool-card h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

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

.tool-card.muted {
  opacity: 0.65;
}

.site-footer {
  padding: 28px 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
  background: #ffffff;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 640px) {
  .header-inner {
    flex-direction: column;
    gap: 10px;
    padding: 14px 0;
  }

  .hero {
    padding: 52px 0;
  }
}
