:root {
  color-scheme: light;
  --bg: #f8fafc;
  --panel: #ffffff;
  --text: #111827;
  --muted: #64748b;
  --line: #e2e8f0;
  --purple: #7c3aed;
  --orange: #f97316;
  --indigo: #4f46e5;
  --blue: #2563eb;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header,
.site-footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-header {
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.brand-mark {
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  background: #111827;
  color: #ffffff;
  font-size: 15px;
}

.top-nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.top-nav a:hover,
.site-footer a:hover {
  color: var(--text);
}

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

.hero {
  min-height: 430px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 48px;
  align-items: center;
  padding: 56px 0 42px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: .94;
  letter-spacing: 0;
}

.lede {
  max-width: 640px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 18px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
}

.button.primary {
  background: var(--text);
  color: #ffffff;
}

.button.secondary {
  border: 1px solid var(--line);
  background: #ffffff;
}

.status-panel {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(15, 23, 42, .08);
}

.status-panel div {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  color: #334155;
  font-size: 14px;
  border-bottom: 1px solid #eef2f7;
}

.status-panel div:last-child {
  border-bottom: 0;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.status-dot.purple,
.tool-card.purple .tool-icon {
  background: var(--purple);
}

.status-dot.orange,
.tool-card.orange .tool-icon {
  background: var(--orange);
}

.status-dot.indigo,
.tool-card.indigo .tool-icon {
  background: var(--indigo);
}

.status-dot.blue,
.tool-card.blue .tool-icon {
  background: var(--blue);
}

.tools-section,
.info-grid {
  padding: 20px 0 52px;
}

.section-heading {
  max-width: 640px;
  margin-bottom: 22px;
}

.section-heading h2,
.info-grid h2,
.content-page h1,
.content-page h2 {
  margin-bottom: 8px;
}

.section-heading p,
.info-grid p,
.content-page p,
.content-page li {
  color: var(--muted);
}

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

.tool-card {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.tool-card:hover {
  transform: translateY(-2px);
  border-color: #cbd5e1;
  box-shadow: 0 16px 32px rgba(15, 23, 42, .08);
}

.tool-icon {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
}

.tool-title {
  font-size: 18px;
  font-weight: 800;
}

.tool-desc {
  color: var(--muted);
  font-size: 14px;
}

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

.info-grid article,
.content-page {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 22px;
}

.content-page {
  max-width: 820px;
  margin: 36px auto 64px;
}

.content-page ul {
  padding-left: 22px;
}

.site-footer {
  min-height: 84px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 860px) {
  .hero,
  .tool-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 24px;
    padding-top: 34px;
  }

  .tool-card {
    min-height: 0;
  }
}

@media (max-width: 560px) {
  .site-header,
  .site-footer {
    width: min(100% - 24px, 1120px);
  }

  .site-header {
    align-items: flex-start;
    height: auto;
    padding: 16px 0;
    flex-direction: column;
  }

  .top-nav,
  .site-footer nav {
    flex-wrap: wrap;
    gap: 12px;
  }

  main {
    width: min(100% - 24px, 1120px);
  }

  h1 {
    font-size: 42px;
  }

  .site-footer {
    align-items: flex-start;
    padding: 20px 0;
    flex-direction: column;
  }
}
