@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url('/fonts/manrope-latin-wght-normal.woff2') format('woff2');
}

:root {
  --bg: #080909;
  --surface: #101111;
  --ink: #f2f2ee;
  --muted: #9d9f98;
  --line: rgb(242 242 238 / 0.14);
  --line-strong: rgb(242 242 238 / 0.28);
  --accent: #4a84ff;
  --pad: clamp(20px, 4vw, 48px);
  --max: 1080px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

main {
  flex: 1;
}

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

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.masthead,
.hero,
.tools,
.colophon {
  width: 100%;
  max-width: calc(var(--max) + var(--pad) * 2);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 20px;
  font-size: 14px;
  font-weight: 700;
}

.masthead nav {
  display: flex;
  gap: 24px;
}

.masthead nav a {
  color: var(--muted);
  transition: color 150ms ease;
}

.masthead nav a:hover {
  color: var(--ink);
}

.hero {
  padding-block: clamp(48px, 8vw, 88px) clamp(28px, 4vw, 40px);
}

.hero h1 {
  margin: 0;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 760;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.hero p {
  max-width: 46ch;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.tools {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  padding-bottom: clamp(56px, 8vw, 96px);
}

.tool {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  transition: border-color 200ms ease, transform 200ms ease;
}

a.tool:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.tool__media {
  order: -1;
  aspect-ratio: 1200 / 630;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.tool__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
}

.tool--soon .tool__media img {
  object-position: center;
  opacity: 0.5;
}

.tool__copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 18px 20px 20px;
}

.tool__name {
  font-size: 18px;
  font-weight: 740;
  letter-spacing: -0.01em;
}

.tool__description {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

.tool__action,
.tool__status {
  margin-top: auto;
  padding-top: 16px;
  font-size: 13px;
  font-weight: 700;
}

.tool__action {
  color: var(--accent);
}

.tool__action span {
  display: inline-block;
  transition: transform 200ms ease;
}

a.tool:hover .tool__action span {
  transform: translateX(3px);
}

.tool__status {
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 11px;
}

.colophon {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 16px;
  padding-block: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.colophon a {
  color: var(--ink);
  font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
