* {
  box-sizing: border-box;
}

:root {
  --bg: #f6f8fb;
  --card: rgba(255, 255, 255, 0.88);
  --text: #162033;
  --muted: #657086;
  --line: rgba(31, 46, 72, 0.12);
  --accent: #2563eb;
  --accent-2: #16a34a;
  --shadow: 0 24px 70px rgba(28, 39, 62, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.18), transparent 32rem),
    radial-gradient(circle at top right, rgba(22, 163, 74, 0.16), transparent 28rem),
    var(--bg);
  line-height: 1.8;
}

a {
  color: inherit;
}

.site-header {
  width: min(1080px, calc(100% - 32px));
  margin: 20px auto 0;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 24px;
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 12px;
}

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

.nav a {
  text-decoration: none;
}

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

main {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  min-height: 48vh;
  padding: 82px 0 60px;
  display: grid;
  align-content: center;
}

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

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(3.2rem, 10vw, 7.5rem);
  line-height: 0.95;
  letter-spacing: -0.08em;
}

.lead {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.primary-button,
.secondary-button,
.card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
}

.primary-button {
  color: white;
  background: var(--accent);
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.24);
}

.secondary-button {
  color: var(--text);
  background: white;
  border: 1px solid var(--line);
}

.section {
  padding: 46px 0;
}

.section-heading {
  margin-bottom: 20px;
}

.section h2 {
  margin-bottom: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: -0.04em;
}

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

.tool-card {
  min-height: 300px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.tool-card.is-active {
  border-color: rgba(37, 99, 235, 0.28);
}

.tool-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 18px;
  font-weight: 900;
}

.tool-status {
  margin-bottom: 8px;
  color: var(--accent-2);
  font-weight: 800;
  font-size: 0.84rem;
}

.tool-card h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
}

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

.card-link {
  width: fit-content;
  margin-top: 10px;
  color: white;
  background: var(--text);
}

.about-section {
  max-width: 820px;
}

.about-section p {
  color: var(--muted);
  font-size: 1.05rem;
}

.site-footer {
  width: min(1080px, calc(100% - 32px));
  margin: 40px auto 24px;
  padding: 18px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--accent);
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    flex-wrap: wrap;
  }

  .hero {
    padding-top: 58px;
  }

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