@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=Source+Serif+4:opsz,wght@8..60,600;8..60,700&display=swap");

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #f3f1ec;
  --bg-elev: #fffcf7;
  --text: #1c1917;
  --muted: #57534e;
  --accent: #1d4ed8;
  --line: #d6d3d1;
  --font: "IBM Plex Sans", system-ui, sans-serif;
  --display: "Source Serif 4", Georgia, serif;
}

html {
  color-scheme: light;
}

body {
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(ellipse 90% 50% at 10% -10%, color-mix(in srgb, var(--accent) 14%, transparent), transparent),
    radial-gradient(ellipse 70% 40% at 100% 0%, color-mix(in srgb, #0d9488 10%, transparent), transparent),
    var(--bg);
  line-height: 1.55;
  min-height: 100vh;
}

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.catalog-hero {
  max-width: 72rem;
  margin: 0 auto;
  padding: 4.5rem 1.5rem 2.5rem;
}

.catalog-brand {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.catalog-hero h1 {
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.catalog-lede {
  max-width: 36rem;
  font-size: 1.125rem;
  color: var(--muted);
}

.catalog-main {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

.catalog-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr));
  gap: 1.75rem;
}

.catalog-demo {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  height: 100%;
  transition: transform 0.2s ease;
}

.catalog-demo:hover {
  text-decoration: none;
  transform: translateY(-3px);
}

.catalog-shot {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.catalog-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.catalog-demo:hover .catalog-shot {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
}

.catalog-meta {
  padding: 1rem 0.15rem 0;
}

.catalog-tier {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.catalog-meta h2 {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.catalog-demo:hover .catalog-meta h2 {
  color: var(--accent);
}

.catalog-meta p {
  font-size: 0.925rem;
  color: var(--muted);
  line-height: 1.5;
}

.catalog-footer {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.catalog-footer a {
  font-weight: 500;
}

.catalog-plain {
  padding-top: 3rem;
}

.catalog-plain h1 {
  font-family: var(--display);
  margin-bottom: 1rem;
}

@media (max-width: 640px) {
  .catalog-hero {
    padding-top: 3rem;
  }
}
