:root {
  color-scheme: light;
  --ink: #1f2933;
  --muted: #65737e;
  --line: #d9e1e8;
  --paper: #f7fafc;
  --surface: #ffffff;
  --green: #2f7d68;
  --blue: #3267a8;
  --gold: #b7791f;
  --red: #a83f39;
  --shadow: 0 20px 60px rgba(31, 41, 51, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, #eef5f2 0%, var(--paper) 44%, #ffffff 100%);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.home-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 36px 0 28px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.maker-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.maker-link img {
  width: 24px;
  height: 24px;
}

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

.tool-card {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 14px;
  align-items: center;
  min-height: 150px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 30px rgba(31, 41, 51, 0.06);
  color: inherit;
  text-decoration: none;
  transition:
    transform 150ms ease,
    border-color 150ms ease,
    box-shadow 150ms ease;
}

.tool-card:hover,
.tool-card:focus-visible {
  border-color: rgba(47, 125, 104, 0.55);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  outline: none;
}

.tool-card.primary {
  background: #f4fbf7;
  border-color: rgba(47, 125, 104, 0.32);
}

.tool-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--green);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 850;
}

.tool-card:nth-child(2) .tool-icon {
  background: var(--blue);
}

.tool-card:nth-child(3) .tool-icon {
  background: var(--red);
}

.tool-card:nth-child(4) .tool-icon {
  background: var(--gold);
}

.tool-content {
  display: grid;
  gap: 7px;
}

.tool-label {
  font-size: 1.15rem;
  font-weight: 820;
}

.tool-copy {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.tool-arrow {
  color: var(--green);
  font-size: 1.35rem;
  font-weight: 700;
}

@media (max-width: 820px) {
  .home-shell {
    width: min(100% - 24px, 560px);
    padding-top: 22px;
  }

  .home-header {
    display: grid;
    align-items: start;
    padding-top: 20px;
  }

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

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