:root {
  color-scheme: light;
  --bg: #f6f7fb;
  --bg-alt: #eef0f8;
  --surface: #ffffff;
  --border: #e0e3ee;
  --ink: #171a2b;
  --ink-muted: #5b6178;
  --primary: #4338ca;
  --primary-dark: #312a92;
  --primary-soft: #e9e7fb;
  --accent: #06b6d4;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: linear-gradient(160deg, var(--bg), var(--bg-alt));
  color: var(--ink);
  min-height: 100vh;
}

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

/* Nav */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.3px;
}

.nav-brand .mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: 15px;
}

.nav-links a {
  color: var(--ink-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  margin-left: 24px;
}
.nav-links a:hover { color: var(--primary); }

/* Hero */
.hero {
  text-align: center;
  padding: 64px 0 56px;
}

.eyebrow {
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2.5px;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(38px, 6vw, 60px);
  line-height: 1.05;
  letter-spacing: -2px;
  margin: 0 0 22px;
}

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

.hero p {
  color: var(--ink-muted);
  font-size: 19px;
  line-height: 1.55;
  max-width: 620px;
  margin: 0 auto;
}

/* Section titles */
.section-title {
  text-align: center;
  font-size: 30px;
  letter-spacing: -1px;
  margin: 8px 0 8px;
}

.section-sub {
  text-align: center;
  color: var(--ink-muted);
  font-size: 16px;
  max-width: 560px;
  margin: 0 auto 40px;
}

/* App cards */
.apps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.app-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 14px 34px #171a2b0a;
  text-decoration: none;
  color: inherit;
  transition: transform .15s ease, box-shadow .15s ease;
}

.app-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 44px #171a2b14;
}

.app-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #fff;
}

.app-card h3 {
  font-size: 21px;
  margin: 0;
  letter-spacing: -0.4px;
}

.app-card p {
  color: var(--ink-muted);
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
  flex-grow: 1;
}

.app-card .tag {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
  letter-spacing: 0.3px;
}

.tag.live { background: #dcfce7; color: #15803d; }
.tag.web { background: #dbeafe; color: #1d4ed8; }
.tag.soon { background: #fef3c7; color: #92400e; }

.app-card .cta {
  font-weight: 700;
  font-size: 14px;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}

.app-card.disabled {
  opacity: 0.72;
  cursor: default;
}
.app-card.disabled:hover {
  transform: none;
  box-shadow: 0 14px 34px #171a2b0a;
}

/* Strip */
.strip {
  background: var(--ink);
  color: #fff;
  border-radius: 24px;
  padding: 48px 40px;
  text-align: center;
  margin: 72px 0;
}

.strip h2 {
  font-size: 28px;
  margin: 0 0 14px;
  letter-spacing: -0.6px;
}

.strip p {
  color: #c3c5da;
  font-size: 16px;
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 28px 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--ink-muted);
  font-size: 14px;
  flex-wrap: wrap;
  gap: 12px;
}

.footer a { color: var(--ink-muted); text-decoration: none; margin-left: 18px; }
.footer a:hover { color: var(--primary); }
.footer .links a:first-child { margin-left: 0; }

@media (max-width: 700px) {
  .apps { grid-template-columns: 1fr; }
  .hero { padding: 44px 0 40px; }
  .strip { padding: 36px 24px; margin: 48px 0; }
  .nav-links a { margin-left: 16px; }
  .footer { flex-direction: column; align-items: flex-start; }
  .footer .links { margin-top: 4px; }
  .footer a { margin-left: 0; margin-right: 18px; }
}
