:root {
  --bg: #0b0d14;
  --bg-alt: #12151f;
  --card: #171b28;
  --border: #262b3a;
  --text: #f2f3f7;
  --text-dim: #9aa0b4;
  --accent: #6c8bff;
  --accent-2: #ff7ab8;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f6f7fb;
    --bg-alt: #ffffff;
    --card: #ffffff;
    --border: #e6e8f0;
    --text: #171b28;
    --text-dim: #5b6072;
  }
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  scroll-behavior: smooth;
}

a { color: inherit; }

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

header.site {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.logo .mark {
  width: 34px;
  height: 34px;
}

nav .links {
  display: flex;
  gap: 28px;
  font-size: 0.95rem;
  color: var(--text-dim);
}

nav .links a {
  text-decoration: none;
}

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

.hero {
  padding: 96px 0 64px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  max-width: 560px;
  margin: 0 auto;
  color: var(--text-dim);
  font-size: 1.08rem;
  line-height: 1.6;
}

section {
  padding: 56px 0;
}

section h2 {
  font-size: 1.7rem;
  margin: 0 0 8px;
}

section .section-sub {
  color: var(--text-dim);
  margin: 0 0 32px;
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.app-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.app-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
}

.app-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: cover;
}

.app-card h3 {
  margin: 0;
  font-size: 1.15rem;
}

.app-card p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.92rem;
  line-height: 1.5;
  flex-grow: 1;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  background: var(--text);
  color: var(--bg);
  text-decoration: none;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
}

.store-btn:hover {
  opacity: 0.85;
}

.more-soon {
  border: 1px dashed var(--border);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  font-size: 0.95rem;
  min-height: 160px;
}

footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  color: var(--text-dim);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

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

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