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

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

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: #0d1117;
  color: #e6edf3;
  line-height: 1.5;
}

.wrap {
  width: min(960px, calc(100% - 2rem));
  margin: 0 auto;
}

a {
  color: #58a6ff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(13, 17, 23, 0.85);
  border-bottom: 1px solid #21262d;
}

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

.logo {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
  background: linear-gradient(135deg, #58a6ff 0%, #79c0ff 45%, #c9a227 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.header-link {
  color: #8b949e;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.header-link:hover {
  color: #e6edf3;
}

.hero {
  padding: 4rem 0 2.5rem;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(15, 52, 96, 0.55), transparent),
    linear-gradient(180deg, #1a1a2e 0%, #0d1117 100%);
}

.eyebrow {
  color: #c9a227;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 0.75rem;
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  line-height: 1.12;
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
}

.lead {
  color: #8b949e;
  font-size: 1.08rem;
  max-width: 36rem;
  margin: 0;
}

.apps {
  padding: 2rem 0 4rem;
}

.apps h2 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #8b949e;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 1.25rem;
}

.app-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.app-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: start;
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px solid #30363d;
  background: #161b22;
}

.app-card-icon img {
  display: block;
  width: 80px;
  height: 80px;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.app-card-body h3 {
  margin: 0 0 0.25rem;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.app-tagline {
  color: #c9a227;
  font-size: 0.9rem;
  margin: 0 0 0.65rem;
}

.app-desc {
  color: #8b949e;
  margin: 0 0 1rem;
  max-width: 40rem;
}

.app-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1rem;
  border-radius: 10px;
  background: linear-gradient(135deg, #c9a227, #e8c547);
  color: #1a1a2e;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
}

.btn-primary:hover {
  filter: brightness(1.05);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1rem;
  border-radius: 10px;
  border: 1px solid #484f58;
  color: #e6edf3;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}

.btn-secondary:hover {
  border-color: #8b949e;
}

.site-footer {
  border-top: 1px solid #21262d;
  padding: 2rem 0;
  color: #8b949e;
  font-size: 0.85rem;
}

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

.site-footer p {
  margin: 0;
}

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

.site-footer nav a {
  color: #8b949e;
  text-decoration: none;
}

.site-footer nav a:hover {
  color: #e6edf3;
}

@media (max-width: 560px) {
  .app-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .app-card-icon {
    display: flex;
    justify-content: center;
  }

  .app-links {
    justify-content: center;
  }
}
