/* Jambo Audio - site styles
   Layout: one column of wide "stage" panels over a night-city sky, like the plug-in.
   Colours are the plug-in's own palette (OrganMachine/skin/OMSkin.h). */
@font-face { font-family: "Bangers"; src: url("../fonts/Bangers-Regular.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Rubik"; font-weight: 500; src: url("../fonts/Rubik-Medium.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Rubik"; font-weight: 700; src: url("../fonts/Rubik-Bold.ttf") format("truetype"); font-display: swap; }

:root {
  --sky: #140b2e;         /* night sky */
  --sky-2: #2a1650;       /* horizon glow */
  --panel: #2b1f52;       /* purple stage panels */
  --panel-2: #1c1434;     /* deeper wells / cards */
  --ink: #120a24;         /* text on bright fills */
  --cream: #fff2d8;       /* body text */
  --cream-dim: #c8b9d9;   /* muted text */
  --teal: #37e6c2;
  --pink: #ff5fb3;
  --yellow: #ffd23f;
  --orange: #ff8a3d;
  --red: #ff4d5e;
  --line: #4a3a7a;
  --shadow: rgba(0,0,0,.45);
  --display: "Bangers", "Impact", "Arial Narrow", sans-serif;
  --body: "Rubik", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius: 18px;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1120px;
  color-scheme: dark;
}
/* This is a single, deliberately dark identity (it matches the instrument). */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.55;
  color: var(--cream);
  background: var(--sky);
  background-image: radial-gradient(1200px 600px at 50% -10%, var(--sky-2), transparent 70%);
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: .02em; line-height: 1.02; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(3rem, 9vw, 6.5rem); color: var(--yellow); text-shadow: 4px 4px 0 var(--ink), 8px 8px 0 rgba(0,0,0,.25); }
h2 { font-size: clamp(2.1rem, 5vw, 3.4rem); color: var(--pink); text-shadow: 3px 3px 0 var(--ink); }
h3 { font-size: 1.55rem; color: var(--teal); }
p { margin: 0; }
.eyebrow { font-family: var(--body); font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
.muted { color: var(--cream-dim); }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.stack { display: grid; gap: 1rem; }
.prose { max-width: 66ch; }
.prose p + p { margin-top: .9em; }
.prose h2 { margin-top: 2.2rem; margin-bottom: .8rem; font-size: 2.1rem; }
.prose h3 { margin-top: 1.6rem; margin-bottom: .4rem; }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: .35em; }

/* --- header ---------------------------------------------------------- */
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(20,11,46,.85); backdrop-filter: blur(10px); border-bottom: 2px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--cream); font-family: var(--display); font-size: 1.6rem; letter-spacing: .04em; }
.brand .moon { width: 30px; height: 30px; border-radius: 50%; background: var(--yellow); border: 3px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.nav { display: flex; gap: .2rem 1.1rem; flex-wrap: wrap; justify-content: flex-end; }
.nav a { color: var(--cream); text-decoration: none; font-weight: 700; font-size: .95rem; padding: .35rem .1rem; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--pink); }

/* --- buttons ----------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.5rem; border-radius: 999px; border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); font-family: var(--body); font-weight: 700; font-size: 1rem; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: transform .08s ease, box-shadow .08s ease; color: var(--ink); background: var(--yellow); }
.btn:hover { transform: translate(-1px,-1px); box-shadow: 5px 5px 0 var(--ink); }
.btn:active { transform: translate(2px,2px); box-shadow: 2px 2px 0 var(--ink); }
.btn-pink { background: var(--pink); }
.btn-teal { background: var(--teal); }
.btn-ghost { background: var(--panel-2); color: var(--cream); }
.btn small { font-weight: 500; text-transform: none; letter-spacing: 0; opacity: .85; }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; }

/* --- hero -------------------------------------------------------------- */
.hero { position: relative; padding-block: clamp(2.5rem, 7vw, 5rem) 0; overflow: hidden; }
.hero .wrap { position: relative; z-index: 2; display: grid; gap: 2rem; }
.hero-copy { display: grid; gap: 1.2rem; max-width: 42rem; }
.hero-copy .lead { font-size: clamp(1.1rem, 2.2vw, 1.35rem); color: var(--cream); max-width: 34rem; }
.price-tag { display: inline-grid; grid-auto-flow: column; align-items: baseline; gap: .5rem; font-family: var(--display); font-size: 2.2rem; color: var(--ink); background: var(--teal); padding: .1rem 1rem; border: 3px solid var(--ink); border-radius: 14px; box-shadow: 4px 4px 0 var(--ink); transform: rotate(-2deg); width: max-content; }
.price-tag small { font-family: var(--body); font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.hero-shot { position: relative; margin-top: 1rem; }
.hero-shot img { width: 100%; border-radius: var(--radius); border: 4px solid var(--ink); box-shadow: 0 30px 60px var(--shadow), 8px 8px 0 var(--ink); background: var(--panel-2); }
.sticker { position: absolute; font-family: var(--display); font-size: 1.15rem; letter-spacing: .04em; color: var(--ink); background: var(--yellow); border: 3px solid var(--ink); border-radius: 999px; padding: .25rem .9rem; box-shadow: 3px 3px 0 var(--ink); }
.sticker.tl { top: -14px; left: 18px; transform: rotate(-6deg); }
.sticker.br { bottom: -12px; right: 24px; transform: rotate(4deg); background: var(--pink); }

/* --- skyline ------------------------------------------------------------ */
.skyline { display: block; width: 100%; height: auto; margin-top: -1px; }
.stars { position: absolute; inset: 0; z-index: 1; pointer-events: none; }

/* --- stage sections ------------------------------------------------------- */
.stage { background: var(--panel); border-top: 4px solid var(--ink); border-bottom: 4px solid var(--ink); padding-block: clamp(3rem, 7vw, 5.5rem); }
.stage.alt { background: var(--panel-2); }
.stage.night { background: transparent; border: 0; }
.section-head { display: grid; gap: .6rem; margin-bottom: 2rem; max-width: 46rem; }
.grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.card { background: var(--panel-2); border: 3px solid var(--ink); border-radius: var(--radius); padding: 1.3rem 1.3rem 1.4rem; box-shadow: 6px 6px 0 var(--ink); display: grid; gap: .6rem; align-content: start; min-width: 0; }
.card.on-dark { background: var(--panel); }
.card .knob { width: 44px; height: 44px; border-radius: 50%; border: 3px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); position: relative; }
.card .knob::after { content: ""; position: absolute; left: 50%; top: 5px; width: 4px; height: 14px; margin-left: -2px; background: var(--ink); border-radius: 2px; }
.knob.teal { background: var(--teal); } .knob.pink { background: var(--pink); } .knob.yellow { background: var(--yellow); } .knob.orange { background: var(--orange); }
.card h3 { font-size: 1.5rem; }
.card p { color: var(--cream-dim); font-size: .98rem; }

/* --- product strip on the home page ---------------------------------------- */
.product { display: grid; gap: 2rem; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 860px) { .product { grid-template-columns: 1.1fr 1fr; } }
.product img { border-radius: var(--radius); border: 4px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); background: var(--panel-2); }
.badges { display: flex; flex-wrap: wrap; gap: .5rem; }
.badge { font-family: var(--body); font-weight: 700; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); background: var(--teal); padding: .3rem .7rem; border-radius: 999px; border: 2px solid var(--ink); }
.badge.pink { background: var(--pink); } .badge.yellow { background: var(--yellow); } .badge.orange { background: var(--orange); }

/* --- video --------------------------------------------------------------- */
.video-frame { position: relative; aspect-ratio: 16 / 9; max-width: 100%; border-radius: var(--radius); border: 4px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); background: var(--panel-2); overflow: hidden; display: grid; place-items: center; }
.video-frame video { width: 100%; height: 100%; object-fit: cover; }
.video-placeholder { text-align: center; padding: 2rem; display: grid; gap: .6rem; justify-items: center; }
.play-glyph { width: 84px; height: 84px; border-radius: 50%; background: var(--pink); border: 4px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); display: grid; place-items: center; }
.play-glyph::after { content: ""; border-left: 26px solid var(--ink); border-top: 16px solid transparent; border-bottom: 16px solid transparent; margin-left: 6px; }

/* --- audio player -------------------------------------------------------- */
.player { display: grid; gap: .6rem; }
.track { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: .9rem; background: var(--panel-2); border: 3px solid var(--ink); border-radius: 14px; padding: .6rem .8rem; box-shadow: 4px 4px 0 var(--ink); }
.track.playing { border-color: var(--teal); }
.track button.play { width: 52px; height: 52px; border-radius: 50%; border: 3px solid var(--ink); background: var(--yellow); box-shadow: 3px 3px 0 var(--ink); cursor: pointer; display: grid; place-items: center; padding: 0; }
.track button.play::after { content: ""; border-left: 18px solid var(--ink); border-top: 11px solid transparent; border-bottom: 11px solid transparent; margin-left: 4px; }
.track.playing button.play { background: var(--teal); }
.track.playing button.play::after { border: 0; width: 16px; height: 18px; background: linear-gradient(to right, var(--ink) 0 38%, transparent 38% 62%, var(--ink) 62%); margin: 0; }
.track .meta { min-width: 0; display: grid; gap: .15rem; }
.track .name { font-weight: 700; color: var(--cream); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.track .desc { font-size: .88rem; color: var(--cream-dim); }
.track .bar { height: 8px; background: var(--panel); border-radius: 4px; overflow: hidden; border: 2px solid var(--ink); }
.track .bar i { display: block; height: 100%; width: 0; background: var(--teal); }
.track .time { font-variant-numeric: tabular-nums; font-size: .85rem; color: var(--cream-dim); min-width: 4.5ch; text-align: right; }
.track.missing .name::after { content: "  (clip to be added)"; font-weight: 500; color: var(--orange); }

/* --- feature list / spec table ------------------------------------------- */
.spec { display: grid; gap: 0; border: 3px solid var(--ink); border-radius: var(--radius); overflow: hidden; background: var(--panel-2); box-shadow: 6px 6px 0 var(--ink); }
.spec > div { display: grid; grid-template-columns: minmax(120px, 200px) 1fr; gap: 1rem; padding: .9rem 1.2rem; border-top: 2px solid var(--line); }
.spec > div:first-child { border-top: 0; }
.spec dt { font-weight: 700; color: var(--yellow); }
.spec dd { margin: 0; color: var(--cream); min-width: 0; }
@media (max-width: 520px) { .spec > div { grid-template-columns: 1fr; gap: .2rem; } }

/* --- FAQ ----------------------------------------------------------------- */
.faq details { border: 3px solid var(--ink); border-radius: 14px; background: var(--panel-2); box-shadow: 4px 4px 0 var(--ink); }
.faq details + details { margin-top: .8rem; }
.faq summary { cursor: pointer; padding: 1rem 1.2rem; font-weight: 700; color: var(--cream); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--display); font-size: 1.6rem; color: var(--yellow); line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq .a { padding: 0 1.2rem 1.1rem; color: var(--cream-dim); max-width: 66ch; }

/* --- CTA band ------------------------------------------------------------ */
.cta-band { background: linear-gradient(135deg, var(--pink), var(--orange)); border-top: 4px solid var(--ink); border-bottom: 4px solid var(--ink); color: var(--ink); padding-block: clamp(2.5rem, 6vw, 4rem); }
.cta-band h2 { color: var(--ink); text-shadow: 3px 3px 0 rgba(255,255,255,.35); }
.cta-band .wrap { display: grid; gap: 1.2rem; }
.cta-band p { font-weight: 700; max-width: 44rem; }
.cta-band .btn { border-color: var(--ink); }

/* --- support / footer ----------------------------------------------------- */
.support-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.copy-line { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.copy-line code { background: var(--panel); border: 2px solid var(--line); padding: .2rem .5rem; border-radius: 8px; font-size: .95rem; color: var(--yellow); }
.copy-line button { font: inherit; font-weight: 700; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); background: var(--teal); border: 2px solid var(--ink); border-radius: 999px; padding: .25rem .7rem; cursor: pointer; }
.site-foot { border-top: 4px solid var(--ink); padding-block: 2.5rem 3rem; background: var(--sky); }
.site-foot .wrap { display: grid; gap: 1.2rem; }
.foot-links { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.foot-links a { color: var(--cream-dim); text-decoration: none; font-size: .92rem; }
.foot-links a:hover { color: var(--cream); }
.fine { font-size: .82rem; color: var(--cream-dim); max-width: 70ch; }
.placeholder-note { font-size: .8rem; color: var(--orange); border: 2px dashed var(--orange); border-radius: 10px; padding: .4rem .7rem; width: max-content; max-width: 100%; }

/* --- legal pages ----------------------------------------------------------- */
.legal { padding-block: clamp(2.5rem, 6vw, 4rem); }
.legal h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
.legal .updated { color: var(--cream-dim); font-size: .9rem; margin-top: .6rem; }
.legal .prose { margin-top: 1.6rem; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } .stars * { animation: none !important; } }

/* --- small screens ----------------------------------------------------------- */
.brand { white-space: nowrap; }
@media (max-width: 700px) {
  .hero-moon { width: 64px; height: 64px; top: 12px; right: 16px; }
  .site-head .wrap { flex-direction: column; align-items: flex-start; padding-block: .6rem; }
  .nav { justify-content: flex-start; }
  h1 { font-size: clamp(2.6rem, 14vw, 4rem); }
}

/* Preview-only: disabled Buy buttons and placeholder markers (removed at launch) */
.btn-small { padding: .45rem 1rem; font-size: .85rem; }
.btn-disabled { opacity: .55; cursor: not-allowed; box-shadow: none; transform: none; border-style: dashed; }
.btn-disabled:hover, .btn-disabled:active { transform: none; box-shadow: none; }
.btn-disabled small { font-size: .7em; text-transform: none; letter-spacing: 0; }
.ph-figure { position: relative; margin: 0; }
.ph-figure .ph-tag { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%) rotate(-6deg); font-family: var(--display); font-size: clamp(1.1rem, 3vw, 1.8rem); letter-spacing: .06em; color: var(--ink); background: var(--orange); border: 3px solid var(--ink); border-radius: 10px; padding: .3rem 1rem; box-shadow: 4px 4px 0 var(--ink); pointer-events: none; z-index: 2; }
.ph-figure .ph-tag small { display: block; font-family: var(--body); font-weight: 700; font-size: .6rem; letter-spacing: .08em; }
.sticker { z-index: 3; }
.video-placeholder { max-width: 100%; }
.video-placeholder strong, .video-placeholder .placeholder-note { max-width: 100%; overflow-wrap: anywhere; text-align: center; }
.placeholder-note { overflow-wrap: anywhere; }
@media (max-width: 720px) { .hero-moon { width: 64px; height: 64px; top: 12px !important; right: 4% !important; } .hero-copy .eyebrow { padding-right: 76px; display: block; } }
