/* M Cube Innovations — company pages (landing + contact).
   Same night palette family as the Fall Asleep Fan page, with the
   MCube brand gold (#F9B42F) as the accent instead of ember amber. */

:root {
  --bg: #0b0f17;
  --bg-2: #121826;
  --panel: #1a2233;
  --line: #2a3550;
  --ink: #e8ecf4;
  --muted: #8a94a8;
  --gold: #f9b42f;
  --gold-ink: #20180c;
}

@font-face {
  font-family: 'Outfit';
  src: url('assets/fonts/outfit-400.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Outfit';
  src: url('assets/fonts/outfit-600.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('assets/fonts/jbmono-500.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}

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

html, body { height: 100%; }

body {
  font-family: 'Outfit', system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1000px 600px at 80% -10%, #1b2438 0%, rgba(27, 36, 56, 0) 60%),
    radial-gradient(900px 700px at 10% 110%, rgba(249, 180, 47, 0.07) 0%, rgba(249, 180, 47, 0) 55%),
    linear-gradient(170deg, var(--bg-2) 0%, var(--bg) 60%, #090c13 100%);
  display: flex;
  flex-direction: column;
}

.wrap {
  width: min(1100px, 100% - 48px);
  margin-inline: auto;
}

/* ---- header ---- */
header {
  padding: 22px 0;
}
header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo img { height: 44px; display: block; }
nav { display: flex; align-items: center; gap: 28px; }
nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 1.02rem;
  transition: color 0.2s;
}
nav a:hover, nav a[aria-current="page"] { color: var(--ink); }
nav a.pill {
  color: var(--gold);
  border: 1px solid rgba(249, 180, 47, 0.45);
  border-radius: 999px;
  padding: 8px 18px;
}
nav a.pill:hover { background: rgba(249, 180, 47, 0.1); color: var(--gold); }

/* ---- single-fold main ---- */
main {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 32px 0 48px;
}
.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  color: var(--gold);
}
h1 {
  font-size: clamp(2.2rem, 5.2vw, 3.6rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 18px 0 16px;
  max-width: 13em;
}
.lede {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.55;
  max-width: 34em;
}

/* featured app card (landing) */
.app-card {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  background: rgba(26, 34, 51, 0.65);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px 24px;
  max-width: 620px;
}
.app-card img.icon { width: 64px; height: 64px; border-radius: 16px; }
.app-card .meta { flex: 1; min-width: 180px; }
.app-card .meta strong { font-size: 1.15rem; font-weight: 600; }
.app-card .meta p { color: var(--muted); font-size: 0.95rem; margin-top: 4px; }
.app-card a.go {
  color: var(--gold-ink);
  background: var(--gold);
  text-decoration: none;
  font-weight: 600;
  border-radius: 999px;
  padding: 11px 22px;
  white-space: nowrap;
  transition: filter 0.2s;
}
.app-card a.go:hover { filter: brightness(1.08); }

/* contact info rows */
.contact-list { margin-top: 28px; display: grid; gap: 12px; max-width: 560px; }
.contact-list .row {
  display: flex;
  gap: 16px;
  align-items: baseline;
  background: rgba(26, 34, 51, 0.65);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 22px;
}
.contact-list .k {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--gold);
  min-width: 84px;
}
.contact-list .v { font-size: 1.06rem; line-height: 1.5; }
.contact-list a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.contact-list a:hover { border-color: var(--gold); }
.note { margin-top: 22px; color: var(--muted); font-size: 0.95rem; }

/* ---- footer ---- */
footer {
  border-top: 1px solid var(--line);
  padding: 20px 0;
}
footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.92rem;
}
footer nav { gap: 22px; }
footer nav a { font-size: 0.92rem; }

@media (max-width: 560px) {
  .logo img { height: 36px; }
  nav { gap: 16px; }
  main { padding-top: 8px; }
}
