:root {
  --bg: #efe7da;
  --paper: rgba(255, 252, 246, 0.9);
  --paper-strong: rgba(255, 252, 246, 0.97);
  --ink: #1f2330;
  --muted: #5b6272;
  --line: rgba(31, 35, 48, 0.12);
  --shadow: 0 24px 56px rgba(66, 47, 18, 0.12);
  --teal: #1f676e;
  --coral: #d56d43;
  --sage: #78907c;
  --gold: #b88a19;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(213, 109, 67, 0.18), transparent 26%),
    radial-gradient(circle at top right, rgba(31, 103, 110, 0.16), transparent 22%),
    radial-gradient(circle at 50% 110%, rgba(120, 144, 124, 0.16), transparent 30%),
    linear-gradient(140deg, #f6efe3 0%, #ebe0ce 42%, #d6c7ad 100%);
}

.shell {
  width: min(1240px, calc(100vw - 28px));
  margin: 0 auto;
  padding: 26px 0 42px;
}

.hero {
  padding: 10px 8px 20px;
}

.eyebrow {
  margin: 0 0 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--coral);
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.8rem, 6vw, 5.3rem);
  line-height: 0.94;
}

.lede {
  margin: 14px 0 0;
  max-width: 40ch;
  color: var(--muted);
  line-height: 1.55;
  font-size: 1rem;
}

.hero-chip,
.badge,
.tool-kind {
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-chip {
  background: rgba(255, 251, 244, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 20px rgba(82, 57, 20, 0.08);
}

.card {
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 24px;
  padding: 22px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.card-head,
.tool-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.card-head h2,
.tool-card h2 {
  margin: 0;
}

.badge {
  background: rgba(31, 103, 110, 0.12);
}

.small-text,
.tool-copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 240px));
  gap: 18px;
}

.tool-card {
  position: relative;
  display: grid;
  gap: 10px;
  min-height: 220px;
  aspect-ratio: 1 / 1;
  align-content: start;
  text-decoration: none;
  color: inherit;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.62), transparent 38%),
    linear-gradient(155deg, var(--paper-strong), rgba(246, 239, 228, 0.82));
  transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
}

a.tool-card:hover {
  transform: translateY(-2px);
  border-color: rgba(31, 103, 110, 0.22);
  box-shadow: 0 28px 56px rgba(66, 47, 18, 0.16);
}

.tool-status {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tool-status.live {
  background: rgba(47, 122, 68, 0.12);
  color: #2f7a44;
}

.tool-status.soon {
  background: rgba(184, 138, 25, 0.14);
  color: var(--gold);
}

.tool-kind {
  background: rgba(31, 35, 48, 0.06);
  color: rgba(31, 35, 48, 0.78);
}

.coming-soon {
  opacity: 0.95;
}

.tool-card h2 {
  font-size: 1.45rem;
  line-height: 1.05;
}

.site-footer {
  width: min(1240px, calc(100vw - 28px));
  margin: 0 auto 24px;
  padding-bottom: 10px;
  color: rgba(31, 35, 48, 0.75);
  font-size: 0.92rem;
  line-height: 1.6;
}

.site-footer p {
  margin: 0;
}

.site-footer p + p {
  margin-top: 4px;
}

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

@media (max-width: 640px) {
  .shell,
  .site-footer {
    width: min(100vw - 18px, 100%);
  }

  .card,
  .tool-card {
    border-radius: 20px;
    padding: 18px;
  }

  .card-head,
  .tool-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .tool-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }

  .tool-card {
    min-height: 180px;
    aspect-ratio: auto;
  }
}
