:root {
  --bg: #0d1117;
  --panel: #151c25;
  --panel2: #1b2531;
  --text: #f8fafc;
  --muted: #a8b3c2;
  --line: rgba(255,255,255,.12);
  --accent: #19c6a7;
  --accent2: #f0b84f;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; text-decoration: none; }

.hero {
  min-height: 420px;
  position: relative;
  overflow: hidden;
}
.hero__image, .hero__shade {
  position: absolute;
  inset: 0;
}
.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__shade {
  background:
    linear-gradient(90deg, rgba(8,11,17,.96), rgba(8,11,17,.7) 48%, rgba(8,11,17,.22)),
    linear-gradient(180deg, rgba(8,11,17,.05), var(--bg));
}
.topbar, .hero__content, main {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  position: relative;
}
.topbar {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand__mark {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #061411;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
}
.brand strong, .brand small { display: block; }
.brand small, .hero__content p, .meta { color: var(--muted); }
.pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(21,28,37,.7);
  color: #dce7f2;
}
.hero__content {
  padding: 82px 0 92px;
  max-width: 1180px;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}
h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(40px, 7vw, 76px);
  line-height: .98;
  letter-spacing: 0;
}
.hero__content p:last-child {
  max-width: 650px;
  font-size: 18px;
  line-height: 1.55;
}
main { padding: 26px 0 58px; }
.toolbar {
  display: flex;
  gap: 14px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
input, button {
  font: inherit;
}
input {
  width: min(420px, 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #101721;
  color: var(--text);
  padding: 12px 14px;
}
.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
button {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: #dbe7f2;
  padding: 10px 12px;
  cursor: pointer;
}
button.active {
  border-color: var(--accent);
  background: rgba(25,198,167,.14);
  color: #dffdf6;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 16px 46px rgba(0,0,0,.25);
}
.card[hidden] { display: none; }
.card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  background: var(--panel2);
}
.card div {
  padding: 16px;
}
.card h2 {
  margin: 6px 0 8px;
  font-size: 23px;
}
.card p {
  min-height: 66px;
  margin: 0 0 16px;
  color: #c8d5e2;
  line-height: 1.45;
}
.card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-radius: 8px;
  background: var(--accent);
  color: #061411;
  font-weight: 900;
  padding: 10px 14px;
}
@media (max-width: 900px) {
  .toolbar { align-items: stretch; flex-direction: column; }
  .grid { grid-template-columns: 1fr; }
  h1 { font-size: 42px; }
}
