* {
  box-sizing: border-box;
}

:root {
  --bg: #f4f4f2;
  --card: #ffffff;
  --card-hover: #fafafa;
  --border: #dededb;
  --text: #191919;
  --muted: #6f6f6b;
  --accent: #252525;
  --accent-soft: #eeeeeb;
}

html {
  min-height: 100%;
  background: var(--bg);
}

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

a {
  color: inherit;
}

.page-shell {
  width: min(100% - 32px, 1040px);
  margin: 0 auto;
  padding: 72px 0 34px;
}

.hero {
  text-align: center;
  margin-bottom: 46px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  border-radius: 18px;
  background: var(--accent);
  color: #fff;
  font-size: 30px;
  font-weight: 900;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .15em;
}

h1 {
  margin: 0;
  font-size: clamp(42px, 8vw, 72px);
  line-height: .95;
  letter-spacing: -.04em;
  font-weight: 900;
}

.subtitle {
  max-width: 590px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 500;
}

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

.tool-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  min-height: 172px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--card);
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.tool-card:hover,
.tool-card:focus-visible {
  transform: translateY(-3px);
  border-color: #a9a9a4;
  background: var(--card-hover);
  outline: none;
}

.icon-wrap {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background: var(--accent-soft);
  color: var(--accent);
}

.icon-wrap svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card-copy {
  flex: 1;
  min-width: 0;
}

.card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.card-topline h2 {
  margin: 2px 0 11px;
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -.02em;
  font-weight: 900;
}

.card-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
  font-weight: 500;
}

.launch-icon {
  color: #999994;
  font-size: 20px;
  font-weight: 700;
  transition: color .18s ease, transform .18s ease;
}

.tool-card:hover .launch-icon,
.tool-card:focus-visible .launch-icon {
  color: var(--text);
  transform: translate(2px, -2px);
}

footer {
  margin-top: 42px;
  text-align: center;
  color: #858580;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 600;
}

footer p {
  margin: 0;
}

footer span {
  margin: 0 5px;
}

.footer-note {
  margin-top: 7px;
  color: #999994;
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 24px, 1040px);
    padding-top: 42px;
  }

  .hero {
    margin-bottom: 30px;
  }

  .tools-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .tool-card {
    min-height: 0;
    padding: 20px;
    border-radius: 19px;
  }

  .subtitle {
    font-size: 16px;
  }
}

@media (max-width: 420px) {
  .tool-card {
    gap: 14px;
  }

  .icon-wrap {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }

  .card-topline h2 {
    font-size: 19px;
  }

  .card-copy p {
    font-size: 14px;
  }
}
