:root {
  color-scheme: light;
  --bg: #f5f6f8;
  --surface: #ffffff;
  --surface-soft: #eef3f7;
  --ink: #12161f;
  --muted: #5c6678;
  --line: #d9dee7;
  --accent: #2563eb;
  --accent-ink: #173f98;
  --green: #0f7b55;
  --shadow: 0 18px 42px rgba(22, 31, 48, 0.1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(245, 246, 248, 0) 260px),
    var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 44px;
}

.topbar {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 54px;
}

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  text-decoration: none;
  font-weight: 900;
}

.mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
}

.status {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.55fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 24px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-ink);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 0;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.lede {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 1.03rem;
  font-weight: 650;
}

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

.tool-card {
  display: grid;
  gap: 12px;
  min-height: 250px;
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  text-decoration: none;
}

.tool-card.primary {
  background: linear-gradient(135deg, #ffffff 0%, #edf4ff 100%);
}

.tool-kicker {
  color: var(--accent-ink);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.tool-card strong {
  max-width: 520px;
  font-size: clamp(1.55rem, 3vw, 2.55rem);
  line-height: 1;
}

.tool-card span:not(.tool-kicker) {
  max-width: 520px;
  color: var(--muted);
  font-weight: 650;
}

.tool-card b {
  align-self: end;
  color: var(--accent);
}

.tool-card:hover {
  border-color: #a8b9d8;
  transform: translateY(-1px);
}

.bench {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.bench div {
  display: grid;
  gap: 4px;
  min-height: 88px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.82);
}

.bench span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.bench strong {
  font-size: 1rem;
}

@media (max-width: 780px) {
  .topbar,
  .hero {
    align-items: start;
    flex-direction: column;
    grid-template-columns: 1fr;
  }

  .topbar {
    margin-bottom: 36px;
  }

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

  .tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  h1 {
    font-size: 3.3rem;
  }
}

@media (max-width: 480px) {
  .shell {
    width: min(100% - 20px, 1120px);
    padding-top: 16px;
  }

  .status {
    display: none;
  }

  .tool-card {
    min-height: 230px;
  }

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