:root {
  --bg: #080810;
  --surface: #0e0e1c;
  --border: rgba(255, 255, 255, 0.07);
  --text: #e6e6f0;
  --text-muted: #52526a;
  --accent: #5b9af5;
  --accent-soft: rgba(91, 154, 245, 0.1);
  --accent-border: rgba(91, 154, 245, 0.22);
  --radius: 14px;
}

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Ambient glow */
body::before {
  content: '';
  position: fixed;
  top: -280px;
  left: 50%;
  transform: translateX(-50%);
  width: 960px;
  height: 520px;
  background: radial-gradient(ellipse at center, rgba(91, 154, 245, 0.07) 0%, transparent 68%);
  pointer-events: none;
  z-index: 0;
}

.container {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 1;
}

/* ─── Header ─────────────────────────────── */

.site-header {
  padding: 26px 0;
  border-bottom: 1px solid var(--border);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.wordmark-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 36% 32%, #a8d4ff, #5b9af5 50%, #1d5fd6);
  flex-shrink: 0;
}

.wordmark-text {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text);
}

/* ─── Hero ───────────────────────────────── */

.hero {
  padding: 96px 0 80px;
}

.eyebrow {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
}

.hero-heading {
  font-size: clamp(42px, 7vw, 66px);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--text);
  margin-bottom: 22px;
}

.hero-sub {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: -0.01em;
}

/* ─── Apps ───────────────────────────────── */

.apps {
  padding-bottom: 100px;
}

.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.app-list {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.app-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 24px;
  background: var(--surface);
}

.app-icon {
  width: 48px;
  height: 48px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.app-icon--memori {
  background: linear-gradient(145deg, #111126, #1e1040);
}

.app-icon span {
  font-size: 21px;
  font-weight: 600;
  color: #c8b8ff;
  letter-spacing: -0.02em;
}

.app-info {
  flex: 1;
  padding-top: 3px;
}

.app-name-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 7px;
}

.app-name {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text);
}

.badge {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: 100px;
  padding: 2px 9px;
  line-height: 1.6;
}

.app-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ─── Footer ─────────────────────────────── */

.site-footer {
  margin-top: auto;
  padding: 26px 0;
  border-top: 1px solid var(--border);
}

.site-footer p {
  font-size: 13px;
  color: var(--text-muted);
}

.site-footer a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

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

/* ─── Responsive ─────────────────────────── */

@media (max-width: 500px) {
  .hero {
    padding: 64px 0 56px;
  }

  .hero-heading {
    font-size: 38px;
  }

  .app-card {
    padding: 18px;
    gap: 14px;
  }

  .app-icon {
    width: 42px;
    height: 42px;
    border-radius: 9px;
  }

  .app-icon span {
    font-size: 18px;
  }
}
