/* Muxvox marketing site — brand: Midnight Navy, Electric Violet, Warm Coral */

:root {
  --navy: #11162a;
  --navy-deep: #0c1020;
  --card: #171d36;
  --card-border: #262e52;
  --violet: #6a5cff;
  --violet-bright: #8578ff;
  --coral: #ff6b6b;
  --ink: #f7f8fc;
  --muted: #a9aecb;
  --lavender: #eae6ff;
  --radius: 14px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Rubik", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  background: var(--navy);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--violet-bright); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* App icons, wherever they appear */
img.appicon { display: block; }
img.appicon.remote { border-radius: 22.5%; }

/* ---------- header ---------- */

header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(12, 16, 32, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--card-border);
}

.nav {
  display: flex; align-items: center; gap: 28px;
  height: 64px;
}

.nav .brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 1.15rem; color: var(--ink);
  margin-right: auto;
}
.nav .brand:hover { text-decoration: none; }
.nav .brand img { height: 26px; }

/* On narrow screens the page links matter more than the CTA button */
@media (max-width: 640px) {
  .nav { gap: 18px; }
  .nav > .btn { display: none; }
}

.nav a.link { color: var(--muted); font-weight: 500; font-size: 0.95rem; }
.nav a.link:hover { color: var(--ink); text-decoration: none; }
.nav a.link[aria-current="page"] { color: var(--ink); }

.btn {
  display: inline-block;
  background: var(--violet);
  color: #fff; font-weight: 600;
  padding: 10px 22px; border-radius: 10px;
  transition: background 0.15s ease;
}
.btn:hover { background: var(--violet-bright); text-decoration: none; }

.btn.big { padding: 14px 30px; font-size: 1.05rem; }

.btn.ghost {
  background: transparent;
  border: 1px solid var(--card-border);
  color: var(--ink);
}
.btn.ghost:hover { border-color: var(--violet); background: rgba(106, 92, 255, 0.08); }

.btn[aria-disabled="true"] {
  background: var(--card); color: var(--muted);
  border: 1px solid var(--card-border);
  cursor: default;
}

/* ---------- kickers & titles (left-aligned by default) ---------- */

.kicker {
  color: var(--coral); font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.8rem;
}

h2.section-title {
  font-size: 1.9rem; font-weight: 600; margin: 8px 0 10px;
  letter-spacing: -0.01em;
}
p.section-sub { color: var(--muted); max-width: 640px; margin-bottom: 40px; }

section { padding: 72px 0; }
section.alt { background: var(--navy-deep); }

/* ---------- hero ---------- */

/* .hero often shares an element with .wrap — keep horizontal padding intact */
.hero { padding-top: 88px; padding-bottom: 64px; }

.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 56px; align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}

.hero h1 {
  font-size: clamp(2rem, 4.4vw, 3rem);
  font-weight: 600; line-height: 1.16;
  letter-spacing: -0.015em;
  margin: 14px 0 20px;
}
.hero h1 .accent { color: var(--violet-bright); }

.hero p.sub { color: var(--muted); font-size: 1.1rem; margin-bottom: 32px; max-width: 520px; }

.hero .cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .fineprint { margin-top: 16px; color: var(--muted); font-size: 0.85rem; }

.hero-art svg { width: 100%; height: auto; display: block; }

/* ---------- diagrams (shared SVG language) ---------- */

.diagram { margin: 8px 0 20px; }
.diagram svg { width: 100%; height: auto; display: block; }

.diagram-caption {
  color: var(--muted); font-size: 0.85rem; max-width: 640px;
}

/* ---------- feature list (no cards, no emoji) ---------- */

.features {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px 56px;
  margin-top: 12px;
}
@media (max-width: 760px) { .features { grid-template-columns: 1fr; } }

.feature {
  display: grid; grid-template-columns: 44px 1fr; gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(38, 46, 82, 0.6);
}
.feature:nth-last-child(-n+2) { border-bottom: 0; }
@media (max-width: 760px) { .feature:nth-last-child(2) { border-bottom: 1px solid rgba(38, 46, 82, 0.6); } }

.feature .glyph {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(106, 92, 255, 0.12);
  display: flex; align-items: center; justify-content: center;
}
.feature .glyph svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.02rem; font-weight: 600; margin-bottom: 4px; }
.feature p { color: var(--muted); font-size: 0.94rem; }

/* ---------- how it works ---------- */

.steps-list { counter-reset: step; max-width: 720px; margin-top: 36px; }
.steps-list li {
  list-style: none; counter-increment: step;
  display: grid; grid-template-columns: 40px 1fr; gap: 18px;
  padding: 18px 0;
}
.steps-list li + li { border-top: 1px solid rgba(38, 46, 82, 0.6); }
.steps-list li::before {
  content: counter(step);
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(106, 92, 255, 0.18); color: var(--violet-bright);
  font-weight: 600; display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.steps-list h3 { font-size: 1.02rem; font-weight: 600; margin-bottom: 4px; }
.steps-list p { color: var(--muted); font-size: 0.94rem; }

/* ---------- two apps strip ---------- */

.apps-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 36px; }
@media (max-width: 760px) { .apps-strip { grid-template-columns: 1fr; } }

.app-tile {
  display: grid; grid-template-columns: 72px 1fr; gap: 20px; align-items: center;
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 24px;
  color: inherit;
}
.app-tile:hover { text-decoration: none; border-color: var(--violet); }
.app-tile img { width: 72px; height: 72px; }
.app-tile h3 { font-size: 1.1rem; font-weight: 600; }
.app-tile .role { color: var(--coral); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.app-tile p { color: var(--muted); font-size: 0.92rem; margin-top: 2px; }

/* ---------- download page ---------- */

.app-head {
  display: flex; align-items: center; gap: 18px; margin-bottom: 28px;
}
/* the Desktop icon is navy-on-navy here — a soft rim keeps its tile visible */
.app-head img { width: 56px; height: 56px; filter: drop-shadow(0 0 3px rgba(133, 120, 255, 0.6)); }
.app-head h2 { font-size: 1.6rem; font-weight: 600; line-height: 1.2; }
.app-head .role { color: var(--muted); font-size: 0.92rem; }

.dl-grid { display: grid; gap: 20px; grid-template-columns: 1fr 1fr; }
@media (max-width: 760px) { .dl-grid { grid-template-columns: 1fr; } }

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

.dl-card { display: flex; flex-direction: column; }
.dl-card .platform { color: var(--muted); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; }
.dl-card h3 { font-size: 1.4rem; margin: 6px 0 10px; }
.dl-card p { color: var(--muted); flex-grow: 1; margin-bottom: 20px; }
.dl-card .meta { color: var(--muted); font-size: 0.82rem; margin-top: 12px; }

.badge {
  display: inline-block; font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 999px; margin-left: 8px;
  vertical-align: middle;
}
.badge.now { background: rgba(106, 92, 255, 0.2); color: var(--violet-bright); }
.badge.soon { background: rgba(255, 107, 107, 0.15); color: var(--coral); }

/* ---------- FAQ ---------- */

.faq-list { max-width: 760px; }
.faq-list details {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  margin-bottom: 12px; padding: 4px 22px;
}
.faq-list summary {
  cursor: pointer; font-weight: 600; padding: 16px 0;
  list-style: none; position: relative; padding-right: 32px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%;
  transform: translateY(-50%);
  color: var(--violet-bright); font-size: 1.3rem; font-weight: 400;
}
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list details p { color: var(--muted); padding-bottom: 18px; }
.faq-list details p + p { margin-top: -6px; }

/* ---------- pricing ---------- */

.pricing-hero { padding-top: 80px; padding-bottom: 24px; }
.pricing-hero h1 {
  font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 600;
  letter-spacing: -0.015em; margin: 14px 0 16px;
}
.pricing-hero p:not(.kicker) { color: var(--muted); max-width: 560px; }

.tiers { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); margin-top: 24px; }
@media (max-width: 860px) { .tiers { grid-template-columns: 1fr; } }

.tier { text-align: center; position: relative; }
.tier h3 { font-size: 1.2rem; margin-bottom: 4px; }
.tier .price { font-size: 2rem; font-weight: 600; color: var(--lavender); margin: 14px 0 2px; }
.tier .per { color: var(--muted); font-size: 0.85rem; margin-bottom: 18px; }
.tier ul { list-style: none; text-align: left; margin: 0 auto 8px; max-width: 240px; }
.tier ul li { color: var(--muted); font-size: 0.92rem; padding: 6px 0 6px 24px; position: relative; }
.tier ul li::before { content: "\2713"; position: absolute; left: 0; color: var(--violet-bright); }
.tier.featured { border-color: var(--violet); }

.notice {
  max-width: 640px; margin: 32px 0 0;
  background: rgba(106, 92, 255, 0.1);
  border: 1px solid rgba(106, 92, 255, 0.35);
  border-radius: var(--radius); padding: 18px 24px;
  color: var(--lavender); font-size: 0.95rem;
}

/* ---------- closing CTA ---------- */

.closer { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.closer h2 { font-size: 1.7rem; font-weight: 600; letter-spacing: -0.01em; }
.closer p { color: var(--muted); margin-top: 4px; max-width: 480px; }

/* ---------- legal pages ---------- */

.legal { max-width: 720px; }
.legal h2 { font-size: 1.25rem; font-weight: 600; margin: 36px 0 10px; }
.legal p, .legal li { color: var(--muted); font-size: 0.97rem; }
.legal p + p { margin-top: 10px; }
.legal ul { margin: 10px 0 10px 22px; }
.legal li { padding: 3px 0; }
.legal .updated { color: var(--muted); font-size: 0.85rem; margin-top: 6px; }
.legal address {
  font-style: normal; color: var(--muted); font-size: 0.97rem;
  border-left: 3px solid var(--violet); padding-left: 16px; margin: 14px 0;
}

/* ---------- footer ---------- */

footer {
  border-top: 1px solid var(--card-border);
  background: var(--navy-deep);
  padding: 36px 0; margin-top: 40px;
}
.foot {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  color: var(--muted); font-size: 0.88rem;
}
.foot .brand { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.foot .brand img { height: 18px; }
.foot nav { margin-left: auto; display: flex; gap: 18px; }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--ink); }
