:root {
  --bg: #0c111b;
  --bg-raised: #151d2c;
  --border: rgba(255, 255, 255, 0.09);
  --text: #f2f5fa;
  --text-muted: #98a4b8;
  --cyan: #00d9f2;
  --red: #ff4545;
  --shell: 62rem;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  background-image: radial-gradient(
    120% 80% at 50% 0%,
    rgba(0, 217, 242, 0.13) 0%,
    rgba(12, 17, 27, 0) 60%
  );
  background-repeat: no-repeat;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a:hover,
a:focus-visible {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 10;
  padding: 0.5rem 0.9rem;
  background: var(--bg-raised);
  border-radius: 0.5rem;
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */

.site-header {
  padding: 1.75rem 0;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

.site-nav {
  display: flex;
  gap: 1.25rem;
  font-size: 0.95rem;
}

.site-nav a {
  color: var(--text-muted);
}

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

/* Hero */

.hero {
  text-align: center;
  padding: 3.5rem 0 1rem;
}

.hero__icon {
  width: 104px;
  height: 104px;
  margin: 0 auto 1.75rem;
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
}

.hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2.1rem, 6vw, 3.1rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.hero__tagline {
  margin: 0 auto;
  max-width: 34rem;
  color: var(--text-muted);
  font-size: 1.1rem;
}

.hero__cta {
  margin-top: 2rem;
}

.badge-placeholder {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.4rem;
  border: 1px dashed var(--border);
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Screenshots */

.screenshots {
  padding: 3rem 0;
}

.screenshots__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.shot {
  margin: 0;
}

.shot img,
.shot__placeholder {
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  background: var(--bg-raised);
  aspect-ratio: 1320 / 2868;
  object-fit: cover;
}

.shot__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  text-align: center;
  padding: 1rem;
}

.shot figcaption {
  margin-top: 0.75rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  text-align: center;
}

/* Features */

.features {
  padding: 2rem 0 3.5rem;
}

.features h2 {
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  margin: 0 0 1.5rem;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1rem;
}

.feature {
  padding: 1.25rem 1.35rem;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 1rem;
}

.feature h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.feature p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Content pages */

.page {
  padding: 1.5rem 0 3.5rem;
  max-width: 44rem;
}

.page h1 {
  font-size: clamp(1.8rem, 5vw, 2.4rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.35rem;
}

.page .updated {
  margin: 0 0 2.5rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.page h2 {
  margin: 2.5rem 0 0.75rem;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}

.page h3 {
  margin: 1.75rem 0 0.5rem;
  font-size: 1rem;
}

.page p,
.page li {
  color: #d6dded;
}

.page ul {
  padding-left: 1.2rem;
}

.page li + li {
  margin-top: 0.4rem;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0 3rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-footer nav {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

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

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

@media (max-width: 34rem) {
  .screenshots__grid {
    grid-template-columns: 1fr;
    max-width: 20rem;
    margin: 0 auto;
    gap: 2rem;
  }
}
