/* ──────────────────────────────────────────────────────────────
   Mortivox Studio
   The same shell the four app sites use: black, monospace,
   phosphor cyan, a warning red, scanlines and a vignette. The
   palette below is copied from their App.tsx so the studio page
   and the app pages stay one family.
   ────────────────────────────────────────────────────────────── */

:root {
  color-scheme: dark;

  --bg: #000000;
  --cyan: #90dde8;
  --red: #ff0504;
  --head: #c9dfe3;
  --muted: #6f8b90;
  --faint: #3d5155;
  --border: #12252a;
}

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

body {
  background: var(--bg);
  color: var(--head);
  font-family: 'SF Mono', 'Fira Mono', ui-monospace, Menlo, monospace;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a { color: var(--cyan); }

:focus-visible {
  outline: 1px solid var(--cyan);
  outline-offset: 3px;
}

/* the CRT the apps are built on */
.scanlines,
.vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
}
.scanlines {
  z-index: 20;
  background-image: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.5) 0px,
    rgba(0, 0, 0, 0.5) 1px,
    transparent 1px,
    transparent 4px
  );
}
.vignette {
  z-index: 19;
  background: radial-gradient(ellipse at center, transparent 45%, rgba(0, 0, 0, 0.85) 100%);
}

/* ─────────────── home ─────────────── */

.home {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 24px 48px;
  text-align: center;
}

.logo {
  width: 132px;
  height: 132px;
  border-radius: 28px;
  margin-bottom: 28px;
  filter: drop-shadow(0 0 34px rgba(144, 221, 232, 0.4));
}

.wordmark {
  margin: 0 0 18px;
  font-size: clamp(1.35rem, 5.4vw, 2.125rem);
  font-weight: 400;
  letter-spacing: 0.36em;
  color: var(--cyan);
  text-shadow: 0 0 26px var(--cyan), 0 0 10px var(--cyan);
}

.tagline {
  max-width: 560px;
  margin: 0 auto 28px;
  font-size: 17px;
  color: var(--muted);
}

.blurb {
  max-width: 600px;
  margin: 0 auto 36px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--faint);
}

.callout {
  margin-bottom: 12px;
  font-size: 13px;
  letter-spacing: 0.23em;
  color: var(--faint);
}

.callout-red {
  margin-bottom: 44px;
  font-size: 13px;
  letter-spacing: 0.23em;
  color: var(--red);
  text-shadow: 0 0 12px var(--red), 0 0 5px var(--red);
}

/* ─────────────── the four instruments ─────────────── */

.line {
  list-style: none;
  max-width: 600px;
  margin: 0 auto 40px;
  text-align: left;
}

.line > li {
  padding: 18px 0;
  border-top: 1px solid var(--border);
}
.line > li:first-child { border-top: 0; }

.line h2 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.18em;
  color: var(--cyan);
}

/* the house uses --faint for atmosphere, but this list is the part of the
   page people actually read, so it gets the readable tone */
.line p {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 12px;
  letter-spacing: 0.12em;
}
.links a { color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--border); }
.links a:hover { color: var(--cyan); border-bottom-color: var(--cyan); }

.stores {
  margin-bottom: 44px;
  font-size: 13px;
  color: var(--muted);
}

/* ─────────────── inner pages ─────────────── */

.shell {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px;
}

.back {
  font-size: 13px;
  letter-spacing: 0.6em;
  color: var(--cyan);
  text-decoration: none;
  text-shadow: 0 0 12px var(--cyan);
}

.shell h1 {
  margin: 32px 0 24px;
  font-size: 26px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--head);
}

.shell p {
  margin-bottom: 16px;
  color: var(--muted);
  line-height: 1.8;
}

.shell h2 {
  margin: 28px 0 12px;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.18em;
  color: var(--cyan);
}

/* ─────────────── footer ─────────────── */

footer { margin-top: 64px; }

.foot {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--faint);
}
.foot a { color: var(--muted); }
.foot p { margin-top: 10px; }

@media (max-width: 520px) {
  .home { padding: 48px 20px 40px; }
  .wordmark { letter-spacing: 0.22em; }
}
