/* Flex Music Labs: one stylesheet for the whole site.
   Colors come from the brand rules in product-flex assets/brand/README.md:
   accents orange #FF9614, green #3CD25A, blue #4696FF; program tile #5AA4FF -> #2F7FEA. */

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-wght.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #0f1115;
  --bg-2: #13161c;
  --panel: #181b22;
  --panel-2: #1e222b;
  --line: #2a2f3a;
  --text: #e9ebf0;
  --muted: #a4abb8;
  --faint: #737b8a;
  --orange: #ff9614;
  --green: #3cd25a;
  --blue: #4696ff;
  --tile-top: #5aa4ff;
  --tile-bottom: #2f7fea;
  --radius: 14px;
  --wrap: 1120px;
  --sans: "Manrope", "Segoe UI", system-ui, sans-serif;
  --mono: "Cascadia Mono", "Cascadia Code", Consolas, ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--sans);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #7ab3ff; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 0.5em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
code, .mono { font-family: var(--mono); font-size: 0.92em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }

/* Coming-soon bar: until downloads and the store open */
.soon-bar {
  background: linear-gradient(90deg, rgba(255, 150, 20, 0.16), rgba(60, 210, 90, 0.12), rgba(70, 150, 255, 0.16));
  border-bottom: 1px solid var(--line);
  color: var(--text); font-size: 0.9rem; font-weight: 600; text-align: center; padding: 8px 16px;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(15, 17, 21, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 64px; flex-wrap: wrap;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--text); text-decoration: none; font-weight: 700; font-size: 1.08rem;
}
.brand img { width: 30px; height: 30px; }
.nav { display: flex; gap: 4px; flex-wrap: wrap; }
.nav a {
  color: var(--muted); text-decoration: none; font-weight: 600; font-size: 0.95rem;
  padding: 8px 12px; border-radius: 8px;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: var(--panel-2); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font: 700 1rem/1 var(--sans);
  padding: 14px 20px; border-radius: 10px; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
}
.btn-primary { background: linear-gradient(var(--tile-top), var(--tile-bottom)); color: #fff; }
.btn-primary:hover { color: #fff; filter: brightness(1.08); }
.btn-ghost { border-color: var(--line); color: var(--text); background: var(--panel); }
.btn-ghost:hover { color: var(--text); border-color: #3a4150; }
.btn[aria-disabled="true"] { opacity: 0.55; pointer-events: none; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* Sections */
section { padding: 72px 0; }
section + section { border-top: 1px solid var(--line); }
.eyebrow {
  font: 700 0.8rem/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 14px;
}
.lead { font-size: 1.2rem; color: var(--muted); max-width: 680px; }

/* Hero */
.hero { padding: 88px 0 72px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -40% -10% auto auto; width: 70%; height: 140%;
  background: radial-gradient(closest-side, rgba(70, 150, 255, 0.16), transparent 70%);
  pointer-events: none;
}
.hero .wave { width: 100%; max-width: 520px; height: 8px; border-radius: 99px; margin: 26px 0 30px;
  background: linear-gradient(90deg, var(--orange), var(--green), var(--blue)); }
.hero-product { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; }
.hero-product .icon { width: 88px; height: 88px; }

/* Cards */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px;
}
.card p:last-child { margin-bottom: 0; }
.muted { color: var(--muted); }
.product-card { display: flex; flex-direction: column; gap: 14px; }
.product-card header { display: flex; gap: 14px; align-items: center; }
.product-card header img { width: 56px; height: 56px; }
.product-card h3 { font-size: 1.5rem; margin: 0; }
.product-card .kind { color: var(--muted); font-size: 0.95rem; }
.product-card ul { margin: 0; padding-left: 1.1em; color: var(--muted); }
.product-card .btn-row { margin-top: auto; padding-top: 8px; }

.feature h3 { display: flex; gap: 10px; align-items: center; }
.dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.dot.o { background: var(--orange); } .dot.g { background: var(--green); } .dot.b { background: var(--blue); }

/* Screenshot frame */
.shot {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: var(--bg-2); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8);
}
.shot figcaption { font-size: 0.85rem; color: var(--faint); padding: 10px 14px; border-top: 1px solid var(--line); }

/* Spotlight: each program's standout feature */
.spotlight { background: linear-gradient(180deg, rgba(70, 150, 255, 0.07), transparent 70%); }
.spotlight .grid-2 { align-items: start; gap: 48px; }
.spotlight .scale-note { color: var(--faint); font-size: 0.95rem; }
.steps {
  list-style: none; margin: 0; padding: 22px 24px; display: grid; gap: 16px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
}
.steps-title { font: 700 0.8rem/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.steps-bar { height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--blue), var(--green), var(--orange)); }
.steps li { display: grid; grid-template-columns: 76px 1fr; gap: 14px; align-items: baseline; }
.steps .at { font-family: var(--mono); font-size: 0.9rem; color: var(--text); white-space: nowrap; }
.steps .at b { font-family: var(--sans); font-weight: 700; }
.steps .what { color: var(--muted); }

/* Callout: something a buyer must know before buying */
.callout {
  border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: 10px;
  background: var(--panel); padding: 14px 18px; max-width: 680px; color: var(--muted);
}
.callout strong { color: var(--text); }
.callout:last-child { margin-bottom: 0; }

/* Lists of facts */
.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.facts li { padding-left: 28px; position: relative; }
.facts li::before {
  content: ""; position: absolute; left: 4px; top: 0.55em; width: 10px; height: 10px; border-radius: 3px;
  background: var(--blue);
}
.specs { width: 100%; border-collapse: collapse; }
.specs th, .specs td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { width: 34%; color: var(--muted); font-weight: 600; padding-right: 16px; }

/* Pricing */
.price { font-size: 2.4rem; font-weight: 800; margin: 6px 0 2px; }
.price-note { color: var(--muted); font-size: 0.95rem; }
.card.featured { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue) inset; }

/* FAQ */
.faq details {
  border: 1px solid var(--line); border-radius: 12px; background: var(--panel);
  padding: 0 20px; margin-bottom: 12px;
}
.faq summary { cursor: pointer; font-weight: 700; padding: 18px 0; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--muted); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding-bottom: 18px; color: var(--muted); }

/* Legal text */
.legal h2 { font-size: 1.4rem; margin-top: 1.6em; }
.legal p, .legal li { color: #cfd3db; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 56px; color: var(--faint); font-size: 0.9rem; }
.site-footer .cols { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); }
.site-footer .fine { margin-top: 18px; }

@media (max-width: 860px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
  .hero { padding: 56px 0 48px; }
}
@media (max-width: 520px) {
  .wrap { padding: 0 16px; }
  .hero-product { grid-template-columns: 1fr; }
  .hero-product .icon { width: 72px; height: 72px; }
  .specs th { width: 40%; }
  .site-header .wrap { padding-top: 8px; padding-bottom: 8px; }
}
