/* Synesthesia Music: the app's neon look on the web. */
:root {
  --bg-0: #02040f;
  --bg-1: #070519;
  --cyan: #00c8ff;
  --violet: #8c61ff;
  --text: #f2f6ff;
  --muted: rgba(242, 246, 255, 0.66);
  --faint: rgba(242, 246, 255, 0.42);
  --glass: rgba(255, 255, 255, 0.055);
  --glass-edge: rgba(140, 200, 255, 0.22);
  --edge: linear-gradient(135deg, rgba(0, 200, 255, 0.9), rgba(140, 97, 255, 0.7));
  --radius: 22px;
  --font: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--text);
  background: linear-gradient(180deg, var(--bg-0), var(--bg-1) 55%, #000);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Background: stars and nebula glow behind everything. */
#stars { position: fixed; inset: 0; z-index: -2; pointer-events: none; }
.nebula { position: fixed; inset: 0; z-index: -3; pointer-events: none; overflow: hidden; }
.nebula::before, .nebula::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(110px);
}
.nebula::before { width: 60vw; height: 60vw; left: -15vw; top: -18vw; background: rgba(0, 200, 255, 0.14); }
.nebula::after { width: 70vw; height: 70vw; right: -25vw; top: 40vh; background: rgba(140, 97, 255, 0.16); }

a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }
.wrap.wide { width: min(1320px, 100% - 32px); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  background: rgba(2, 4, 15, 0.55);
  border-bottom: 1px solid rgba(140, 200, 255, 0.1);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; letter-spacing: 0.24em; font-size: 0.85rem; }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 0 16px rgba(0, 200, 255, 0.45); }
.nav { display: flex; gap: 22px; font-size: 0.95rem; }
.nav a { color: var(--muted); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); text-decoration: none; text-shadow: 0 0 12px rgba(0, 200, 255, 0.7); }
@media (max-width: 560px) {
  .brand span { display: none; }
  .nav { gap: 16px; font-size: 0.9rem; }
}

/* Type */
.eyebrow { color: var(--cyan); letter-spacing: 0.3em; text-transform: uppercase; font-size: 0.78rem; font-weight: 600; opacity: 0.85; }
h1, h2, h3 { line-height: 1.15; margin: 0; }
.glow-title {
  font-weight: 300; letter-spacing: 0.22em; text-transform: uppercase;
  font-size: clamp(2.1rem, 7vw, 4.4rem);
  text-shadow: 0 0 18px rgba(0, 200, 255, 0.85), 0 0 46px rgba(0, 200, 255, 0.45);
}
h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); font-weight: 600; text-shadow: 0 0 22px rgba(0, 200, 255, 0.35); }
h3 { font-size: 1.12rem; font-weight: 600; }
.lead { color: var(--muted); font-size: clamp(1.05rem, 2.4vw, 1.25rem); max-width: 40em; }
.muted { color: var(--muted); }

/* Hero */
.hero { padding: clamp(48px, 9vw, 110px) 0 40px; text-align: center; }
.hero .icon { width: 108px; height: 108px; border-radius: 26px; box-shadow: 0 0 40px rgba(0, 200, 255, 0.5), 0 0 90px rgba(140, 97, 255, 0.3); animation: float 6s ease-in-out infinite; }
.hero .tagline { color: var(--cyan); letter-spacing: 0.14em; font-size: clamp(1rem, 2.6vw, 1.3rem); margin: 12px 0 18px; opacity: 0.9; }
.hero .lead { margin: 0 auto 30px; }
@keyframes float { 50% { transform: translateY(-8px); } }

.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.button {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: 1rem;
  color: var(--text); background: rgba(0, 200, 255, 0.14);
  border: 1.2px solid transparent;
  background-clip: padding-box;
  position: relative; cursor: pointer; font-family: inherit;
  box-shadow: 0 0 22px rgba(0, 200, 255, 0.35);
  transition: transform 0.18s, box-shadow 0.18s, filter 0.18s;
}
.button::before {
  content: ""; position: absolute; inset: -1.2px; border-radius: inherit; padding: 1.2px;
  background: var(--edge);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.button:hover { text-decoration: none; transform: translateY(-1px); filter: brightness(1.15); box-shadow: 0 0 32px rgba(0, 200, 255, 0.55); }
.button.secondary { background: rgba(255, 255, 255, 0.04); box-shadow: none; }
.button[disabled] { opacity: 0.5; cursor: default; transform: none; }
.badge-soon { font-size: 0.8rem; color: var(--faint); margin-top: 12px; }

/* The living score: notes scrolling past a glowing playhead. */
.stage {
  margin: 46px auto 0; width: min(920px, 100%);
  height: clamp(170px, 26vw, 240px);
  border-radius: 28px; position: relative; overflow: hidden;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--glass-edge);
  box-shadow: 0 0 60px rgba(0, 200, 255, 0.12) inset, 0 30px 80px rgba(0, 0, 0, 0.5);
}
.stage canvas { width: 100%; height: 100%; display: block; }

/* Sections */
section { padding: clamp(56px, 9vw, 96px) 0; }
.section-head { text-align: center; margin-bottom: 40px; }
.section-head .lead { margin: 12px auto 0; }

.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card {
  background: var(--glass); border: 1px solid var(--glass-edge); border-radius: var(--radius);
  padding: 24px; position: relative;
  box-shadow: 0 0 24px rgba(140, 97, 255, 0.12);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.card:hover { transform: translateY(-3px); border-color: rgba(0, 200, 255, 0.5); box-shadow: 0 0 34px rgba(0, 200, 255, 0.22); }
.card .glyph {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  font-size: 1.3rem; margin-bottom: 14px;
  background: rgba(0, 200, 255, 0.12); border: 1px solid rgba(0, 200, 255, 0.5);
  box-shadow: 0 0 16px rgba(0, 200, 255, 0.35);
}
.card p { color: var(--muted); margin: 8px 0 0; }

/* Screenshots: wide landscape captures, two to a row on larger screens. */
.shots { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 820px) { .shots { grid-template-columns: 1fr 1fr; } }
.shot { margin: 0; }
.shot img {
  width: 100%; height: auto; display: block; border-radius: 18px;
  border: 1px solid var(--glass-edge);
  box-shadow: 0 0 30px rgba(0, 200, 255, 0.18), 0 20px 50px rgba(0, 0, 0, 0.5);
}
.shot figcaption { color: var(--faint); font-size: 0.9rem; margin-top: 10px; text-align: center; }

/* Privacy promise band */
.promise {
  text-align: center; border-radius: 28px; padding: clamp(32px, 6vw, 56px);
  background: linear-gradient(135deg, rgba(0, 200, 255, 0.08), rgba(140, 97, 255, 0.1));
  border: 1px solid var(--glass-edge);
}
.promise .lead { margin: 14px auto 0; }

/* Prose pages (privacy, support) */
.prose { max-width: 760px; margin-inline: auto; }
.prose h1 { font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 600; margin-bottom: 8px; text-shadow: 0 0 24px rgba(0, 200, 255, 0.45); }
.prose h2 { font-size: 1.3rem; margin: 34px 0 8px; text-shadow: none; color: var(--text); }
.prose p, .prose li { color: var(--muted); }
.prose strong { color: var(--text); }
.prose .updated { color: var(--faint); font-size: 0.92rem; }

/* FAQ */
details {
  background: var(--glass); border: 1px solid var(--glass-edge); border-radius: 16px;
  padding: 16px 20px; margin-bottom: 12px;
}
details[open] { border-color: rgba(0, 200, 255, 0.45); }
summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--cyan); font-size: 1.3rem; line-height: 1; transition: transform 0.2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); margin: 10px 0 0; }

/* Support form */
.form { display: grid; gap: 16px; margin-top: 18px; }
.form .row { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }
label { display: grid; gap: 6px; font-size: 0.92rem; color: var(--muted); }
input, select, textarea {
  font: inherit; color: var(--text); width: 100%;
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(140, 200, 255, 0.25);
  border-radius: 14px; padding: 12px 14px; outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
textarea { min-height: 150px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0, 200, 255, 0.18); }
select option { background: #0b0a1f; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.5em; font-size: 0.95rem; }
.form-status.ok { color: #6ef0b5; }
.form-status.err { color: #ffb36b; }

/* Footer */
.site-footer { border-top: 1px solid rgba(140, 200, 255, 0.1); padding: 30px 0 44px; color: var(--faint); font-size: 0.9rem; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 18px; }
.site-footer a { color: var(--muted); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.shown { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* --- November 2026: looks, AR, Vision Pro and Pro sections --------------------------- */
@media (max-width: 720px) { .nav .nav-wide { display: none; } }

.platforms { list-style: none; padding: 0; margin: 18px 0 0; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.platforms li {
  font-size: 0.85rem; color: var(--muted); padding: 5px 14px; border-radius: 999px;
  border: 1px solid var(--glass-edge); background: rgba(255, 255, 255, 0.03);
}

.new-tag, .pro-pill {
  display: inline-block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 999px; vertical-align: middle;
}
.new-tag { position: absolute; top: 18px; right: 18px; color: #02040f; background: #6ef0b5; box-shadow: 0 0 14px rgba(110, 240, 181, 0.6); }
.pro-pill { color: #02040f; background: var(--edge); box-shadow: 0 0 14px rgba(0, 200, 255, 0.5); margin-left: 6px; }

/* Looks: a little staff drawn in each style. */
.looks { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.look {
  margin: 0; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--glass-edge); background: var(--glass);
  transition: transform 0.25s, border-color 0.25s;
}
.look:hover { transform: translateY(-3px); border-color: rgba(0, 200, 255, 0.5); }
.look svg { display: block; width: 100%; height: auto; padding: 22px 18px; background: #03050f; }
.look .staff path, .look .stems path { fill: none; stroke-width: 1.3; }
.look figcaption { padding: 16px 20px 20px; }
.look figcaption strong { display: block; font-size: 1.05rem; }
.look figcaption > span { display: block; color: var(--muted); margin-top: 4px; font-size: 0.95rem; }

.look.holo svg { background: linear-gradient(180deg, rgba(120, 160, 255, 0.16), rgba(140, 97, 255, 0.08)), #03050f; }
.look.holo .staff path { stroke: rgba(235, 245, 255, 0.85); filter: drop-shadow(0 0 2px rgba(200, 230, 255, 0.9)); }
.look.holo .notes ellipse { fill: #b9a6ff; filter: drop-shadow(0 0 4px #8c61ff) drop-shadow(0 0 8px #4d7dff); }
.look.holo .stems path { stroke: rgba(225, 235, 255, 0.85); }

.look.blue .staff path, .look.blue .stems path { stroke: #00c8ff; filter: drop-shadow(0 0 3px #00c8ff); }
.look.blue .notes ellipse { fill: #9be9ff; filter: drop-shadow(0 0 5px #00c8ff); }

.look.green .staff path, .look.green .stems path { stroke: #39ff9a; filter: drop-shadow(0 0 3px #39ff9a); }
.look.green .notes ellipse { fill: #b8ffd9; filter: drop-shadow(0 0 5px #39ff9a); }

.look.black svg { background: #0b0d16; }
.look.black .staff path, .look.black .stems path { stroke: #0a0a10; filter: drop-shadow(0 0 1.5px rgba(255, 255, 255, 0.85)); }
.look.black .notes ellipse { fill: #0a0a10; filter: drop-shadow(0 0 1.5px rgba(255, 255, 255, 0.9)); }

.look.art .staff path, .look.art .stems path { stroke: rgba(230, 240, 255, 0.6); }
.look.art .notes ellipse { fill: var(--c); filter: drop-shadow(0 0 5px var(--c)) drop-shadow(0 0 10px var(--c)); }

.look.paper svg { background: #fbf8f1; }
.look.paper .staff path, .look.paper .stems path { stroke: #111118; stroke-width: 1.1; }
.look.paper .notes ellipse { fill: #111118; }

/* Text beside pictures */
.split { display: grid; gap: 40px; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1.05fr; } }
.split-text h2 { margin-top: 6px; }
.split-text .lead { margin-top: 12px; }
.steps { margin: 22px 0 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 14px; }
.steps li { position: relative; padding-left: 46px; color: var(--muted); }
.steps li strong { color: var(--text); }
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: -2px; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; color: var(--cyan);
  border: 1px solid rgba(0, 200, 255, 0.55); background: rgba(0, 200, 255, 0.1);
  box-shadow: 0 0 14px rgba(0, 200, 255, 0.35);
}
.device-pair { display: flex; gap: 16px; align-items: flex-end; justify-content: center; }
.device-pair img { display: block; height: auto; border-radius: 18px; border: 1px solid var(--glass-edge); box-shadow: 0 0 30px rgba(0, 200, 255, 0.18), 0 20px 50px rgba(0, 0, 0, 0.5); }
.device-pair img:first-child { width: 36%; }
.device-pair img:last-child { width: 58%; }

/* Vision Pro band */
.vision-band {
  border-radius: 32px; padding: clamp(28px, 5vw, 56px) clamp(16px, 4vw, 48px);
  background: radial-gradient(120% 80% at 50% 0%, rgba(140, 97, 255, 0.18), transparent 70%), rgba(255, 255, 255, 0.025);
  border: 1px solid var(--glass-edge);
}
.vision-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-bottom: 34px; }

/* Pro plans */
.plans { display: grid; gap: 20px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 860px) { .plans { grid-template-columns: 0.85fr 1.15fr; } }
.plan {
  background: var(--glass); border: 1px solid var(--glass-edge); border-radius: 26px;
  padding: clamp(22px, 4vw, 34px);
}
.plan.pro {
  position: relative;
  background: linear-gradient(160deg, rgba(0, 200, 255, 0.1), rgba(140, 97, 255, 0.12));
  border-color: rgba(0, 200, 255, 0.45);
  box-shadow: 0 0 50px rgba(0, 200, 255, 0.18);
}
.plan h3 { font-size: 1.3rem; }
.price { font-size: 2.4rem; font-weight: 700; margin: 8px 0 4px; text-shadow: 0 0 20px rgba(0, 200, 255, 0.5); }
.price span { font-size: 1rem; font-weight: 500; color: var(--muted); text-shadow: none; }
.plan-note { color: var(--text); margin: 6px 0 0; font-weight: 600; }
.plan-how { color: var(--muted); margin: 18px 0 0; }
.checks { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 30px; color: var(--muted); }
.checks li strong { color: var(--text); }
.checks li::before {
  content: "✓"; position: absolute; left: 0; top: 0; color: var(--cyan); font-weight: 700;
  text-shadow: 0 0 10px rgba(0, 200, 255, 0.8);
}
.fine { color: var(--faint); font-size: 0.86rem; max-width: 60em; margin: 26px auto 0; text-align: center; }

/* Lyrics section */
.new-tag.inline { position: static; margin-left: 8px; letter-spacing: 0.12em; }
.device-pair.single img:first-child { width: min(62%, 340px); }
