/* MSP Devel — shared site styles. Plain CSS, no build step, no framework. */

:root {
  --bg: #15110c;
  --surface: #221b14;
  --text: #f4ece0;
  --text-muted: #ab9c8b;
  --accent: #f2903f;
  --accent-dark: #ffb066;
  --border: #3c3123;
  --shadow: rgba(0, 0, 0, 0.45);
  --max-width: 880px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

a {
  color: var(--accent-dark);
}

a:hover {
  color: var(--accent);
}

.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.site-header .wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--text);
  letter-spacing: 0.01em;
}

.brand span {
  color: var(--accent);
}

.site-header nav a {
  margin-left: 20px;
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
}

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

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 20px 72px;
}

.hero {
  text-align: center;
  padding: 24px 0 8px;
}

.hero h1 {
  font-size: 2.4rem;
  margin: 0 0 8px;
}

.hero p {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 46ch;
  margin: 0 auto;
}

h1, h2, h3 {
  line-height: 1.2;
}

.section-title {
  font-size: 1.4rem;
  margin: 48px 0 18px;
}

/* Portfolio-style app grid on the homepage. To add another app later,
   copy one .app-card block and point it at that app's own page. */
.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 18px;
}

.app-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  text-decoration: none;
  color: var(--text);
  display: block;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.app-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--shadow);
  border-color: var(--accent);
}

.app-card img {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: block;
  margin-bottom: 14px;
}

.app-card h3 {
  margin: 0 0 6px;
  font-size: 1.1rem;
}

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

/* Apps that don't have their own page yet — not clickable, dimmed, with a
   placeholder icon and an "in development" badge instead of a description. */
.app-card.coming-soon {
  opacity: 0.7;
  cursor: default;
}

.app-card.coming-soon:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--border);
}

.app-card .placeholder-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: var(--border);
  color: var(--text-muted);
}

.dev-badge {
  display: inline-block;
  margin-top: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--border);
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* App detail page */
.app-hero {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.app-hero img {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  box-shadow: 0 6px 18px var(--shadow);
}

.app-hero h1 {
  margin: 0 0 6px;
}

.app-hero p {
  margin: 0;
  color: var(--text-muted);
}

.badge {
  display: inline-block;
  margin-top: 14px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--border);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
}

.feature-list {
  padding-left: 20px;
}

.feature-list li {
  margin-bottom: 10px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
}

.site-footer {
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.site-footer .wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

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

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.9rem;
  }

  .site-header .wrap {
    flex-direction: column;
    gap: 8px;
  }

  .site-header nav a {
    margin: 0 10px;
  }
}
