@font-face {
  font-family: "Rajdhani";
  font-weight: 300;
  font-display: swap;
  src: url("fonts/Rajdhani-Light.ttf") format("truetype");
}

@font-face {
  font-family: "Rajdhani";
  font-weight: 700;
  font-display: swap;
  src: url("fonts/Rajdhani-Bold.ttf") format("truetype");
}

:root {
  --bg: #15171c;
  --panel: #1e2128;
  --line: #2e323b;
  --text: #e4e6ea;
  --muted: #9aa0ab;
  --link: #8fb4ff;
  --accent: #3a62d6;
  --accent-hover: #4a72e6;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

a {
  color: var(--link);
}

code {
  font: 0.9em ui-monospace, Menlo, Consolas, monospace;
  background: var(--panel);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

.wordmark {
  font-family: "Rajdhani", sans-serif;
  font-weight: 300;
  letter-spacing: 0.01em;
  line-height: 1;
  color: var(--text);
  text-decoration: none;
}

.wordmark b {
  font-weight: 700;
}

/* Header */

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 16px;
}

.wordmark.small {
  font-size: 26px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
}

nav a {
  color: var(--muted);
  text-decoration: none;
}

nav a:hover {
  color: var(--text);
}

/* Intro */

main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
}

.intro {
  text-align: center;
  padding: 56px 0 32px;
}

.intro h1 {
  font-size: clamp(56px, 12vw, 96px);
  margin: 0;
}

.lede {
  font-size: 20px;
  margin: 16px 0 28px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 0;
}

.button {
  display: inline-block;
  padding: 10px 24px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}

.button:hover {
  border-color: var(--muted);
}

.button.primary {
  background: var(--accent);
  border-color: var(--accent);
}

.button.primary:hover {
  background: var(--accent-hover);
}

.note {
  color: var(--muted);
  font-size: 15px;
  margin: 16px 0 0;
}

.hero {
  margin: 0 0 24px;
}

.hero img {
  display: block;
  width: 100%;
  height: auto;
}

/* Sections */

section {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px 0;
}

#screenshots {
  max-width: none;
}

h2 {
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 1.2;
  margin: 0 0 12px;
}

ul {
  padding-left: 1.2em;
}

li {
  margin: 4px 0;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 12px;
}

.gallery a {
  display: block;
}

.gallery img {
  display: block;
  width: 100%;
  height: auto;
}

.gallery a:hover img {
  opacity: 0.85;
}

/* Footer */

footer {
  max-width: 1080px;
  margin: 32px auto 0;
  padding: 24px 16px 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
  text-align: center;
}

footer p {
  margin: 4px 0;
}

@media (max-width: 560px) {
  .top {
    flex-direction: column;
  }

  .intro {
    padding-top: 32px;
  }

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