/* Cuevivo website — colours taken from the application's own dark theme */
:root {
  --bg: #1c1d22;
  --bg2: #25262c;
  --panel: #2c2e35;
  --line: #3a3c45;
  --text: #e1e1e6;
  --muted: #9a9aa6;
  --go: #2e9a3e;
  --go-hi: #39b54a;
  --blue: #3464aa;
  --amber: #a8861c;
  --red: #c0392b;
  --radius: 10px;
  font-size: 17px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: "Inter", "Segoe UI", "DejaVu Sans", system-ui, -apple-system, sans-serif;
  line-height: 1.6;
}
a { color: #7fb0ff; }
img { max-width: 100%; height: auto; display: block; }
code, kbd {
  font-family: "JetBrains Mono", "DejaVu Sans Mono", ui-monospace, monospace; font-size: .88em;
  background: var(--panel); border: 1px solid var(--line); border-radius: 4px; padding: .05em .35em;
}
kbd { border-bottom-width: 2px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 640px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h2 { font-size: 2rem; }
h3 { font-size: 1.1rem; }
section { padding: 80px 0; }
.sub { margin: -.6em auto 2.4em; max-width: 640px; }

/* top bar */
.topbar { position: sticky; top: 0; z-index: 10; background: rgba(28,29,34,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.topbar-in { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 1.15rem; }
nav { display: flex; gap: 22px; align-items: center; }
nav a { color: var(--text); text-decoration: none; font-size: .95rem; opacity: .85; }
nav a:hover { opacity: 1; }
nav .nav-donate { background: var(--go); padding: 6px 14px; border-radius: 6px; opacity: 1; font-weight: 600; }

/* buttons */
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 8px; font-weight: 700; text-decoration: none;
  border: 0; cursor: pointer; font-size: 1rem; font-family: inherit; transition: transform .08s, filter .15s;
}
.btn:hover { filter: brightness(1.12); }
.btn:active { transform: translateY(1px); }
.btn-go { background: var(--go); color: #fff; box-shadow: 0 4px 0 #1f6b2a; }
.btn-ghost { color: var(--text); border: 1px solid var(--line); background: var(--bg2); }
.btn-paypal { background: #ffc439; color: #111; width: 100%; font-size: 1.05rem; }
.cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.cta.center { justify-content: center; }

/* hero */
.hero { padding: 70px 0 60px; background: radial-gradient(ellipse at 80% 0%, #2a3550 0%, transparent 55%), linear-gradient(var(--bg), var(--bg)); }
.hero-in { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; color: var(--muted); margin: 0 0 12px; }
.hero h1 { font-size: 3.1rem; }
.go { background: var(--go); color: #fff; padding: 0 .25em; border-radius: 8px; }
.lead { font-size: 1.08rem; color: #c9c9d2; }
.hero-shot { margin: 0; }
.hero-shot img, .shot img { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(0,0,0,.55); }

/* intro */
.intro { background: var(--bg2); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.intro h2 { font-size: 1.6rem; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { padding: 6px 0 6px 30px; position: relative; }
.ticks li::before { content: "▶"; position: absolute; left: 0; color: var(--go-hi); font-size: .8em; top: 9px; }

/* features */
.grid-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: var(--bg2); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.feature p { margin: 0; color: #c2c2cb; font-size: .95rem; }
.ficon {
  width: 42px; height: 42px; display: grid; place-items: center; border-radius: 8px; margin-bottom: 14px;
  background: var(--panel); border: 1px solid var(--line); font-size: 1.2rem; color: var(--go-hi);
}

/* cue types */
.cuetypes { background: var(--bg2); }
.table-cues { max-width: 900px; margin: 0 auto; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cuerow { display: grid; grid-template-columns: 180px 1fr; border-top: 1px solid var(--line); }
.cuerow:first-child { border-top: 0; }
.cuerow:nth-child(odd) { background: #22232a; }
.cname { padding: 11px 18px; font-weight: 700; border-right: 1px solid var(--line); }
.cdesc { padding: 11px 18px; color: #c2c2cb; }

/* screenshots */
.gallery { display: grid; gap: 56px; }
.shot { margin: 0; }
.shot a { display: block; cursor: zoom-in; }
.shot figcaption { margin-top: 14px; display: flex; flex-direction: column; gap: 2px; }
.shot figcaption span { color: var(--muted); }

/* download */
.download { background: var(--bg2); }
.platforms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.platform { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.platform p { margin: 0 0 .6em; }
.notice {
  margin: 40px auto 0; max-width: 900px; padding: 18px 22px; border-radius: var(--radius);
  background: rgba(168,134,28,.12); border: 1px solid rgba(168,134,28,.55); color: #e8dcb4;
}

/* donate */
.donate { background: linear-gradient(180deg, var(--bg) 0%, #1a2a1e 100%); }
.donate-in { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.donate-card { background: var(--bg2); border: 1px solid var(--line); border-radius: 14px; padding: 28px; }
fieldset { border: 0; padding: 0; margin: 0 0 20px; }
legend { font-weight: 700; margin-bottom: 12px; }
.amounts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
@media (max-width: 400px) { .amounts { grid-template-columns: repeat(3, 1fr); } }
.amount input { position: absolute; opacity: 0; pointer-events: none; }
.amount span {
  display: block; text-align: center; padding: 12px 6px; border-radius: 8px; cursor: pointer; font-weight: 700;
  background: var(--panel); border: 2px solid var(--line); transition: border-color .15s, background .15s;
}
.amount input:checked + span { border-color: var(--go-hi); background: rgba(46,154,62,.18); }
.amount input:focus-visible + span { outline: 2px solid #7fb0ff; outline-offset: 2px; }
.other { margin-top: 14px; display: none; }
.other.show { display: block; }
.other label { display: block; font-size: .9rem; margin-bottom: 6px; color: var(--muted); }
.other input {
  width: 100%; padding: 11px 12px; font-size: 1rem; border-radius: 8px; font-family: inherit;
  background: var(--bg); color: var(--text); border: 1px solid var(--line);
}
.donate-card .small { margin: 12px 0 0; }
.warn { color: #f0c36b; margin: 0; }

/* simple pages */
.page { padding: 100px 0; min-height: 60vh; }
.big-go {
  display: inline-grid; place-items: center; width: 140px; height: 90px; margin-bottom: 26px; border-radius: 12px;
  background: var(--go); color: #fff; font-weight: 800; font-size: 2.6rem; box-shadow: 0 6px 0 #1f6b2a;
}

/* footer */
.footer { border-top: 1px solid var(--line); padding: 28px 0; font-size: .9rem; }
.footer-in { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(10,10,14,.94);
  display: flex; align-items: center; justify-content: center; flex-direction: column; padding: 40px 70px;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 84vh; width: auto; border-radius: 6px; }
.lb-caption { color: var(--muted); margin: 14px 0 0; text-align: center; max-width: 900px; }
.lightbox button {
  position: absolute; background: none; border: 0; color: #fff; font-size: 2.6rem; cursor: pointer; opacity: .75;
}
.lightbox button:hover { opacity: 1; }
.lb-close { top: 10px; right: 22px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }


/* group modes */
.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mode { background: var(--bg2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.mode p { margin: 0; color: #c2c2cb; font-size: .93rem; }
.mode h3 { margin-bottom: .2em; }
.mode .mode-tag { color: var(--go-hi); font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; }
.mode-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.mode-num { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--go); color: #fff; font-weight: 800; font-size: .9rem; }
.mode-sym { font-family: "DejaVu Sans Mono", ui-monospace, monospace; color: var(--muted); font-size: 1.05rem; }
.mode-tap { border-style: dashed; border-color: #5a5d68; }
.mode-tap .mode-sym { font-size: 1.6rem; color: var(--go-hi); }
.pill { display: inline-block; text-transform: none; letter-spacing: 0; font-size: .72rem; background: rgba(52,100,170,.35); color: #b9d0ff; padding: 1px 8px; border-radius: 99px; margin-left: 4px; vertical-align: 1px; }
.groups-note { max-width: 760px; margin: 28px auto 0; }

/* presets */
.presets { background: var(--bg2); }
.presets h3 { font-size: 1.3rem; }
.presets h4 { margin: 0 0 6px; font-size: 1rem; }
.stores { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 18px 0; }
.store { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.store ul { margin: 0; padding-left: 18px; color: #c2c2cb; font-size: .93rem; }
.dot { display: inline-block; width: 10px; height: 10px; transform: rotate(45deg); margin-right: 8px; }
.dot-audio { background: #5bb8f0; }
.dot-video { background: #f0913a; }
.ways { display: grid; gap: 14px; }
.way { background: var(--bg); border: 1px solid var(--line); border-left: 4px solid var(--go); border-radius: var(--radius); padding: 16px 18px; }
.way p { margin: 0; color: #c2c2cb; font-size: .95rem; }
.kf { margin-top: 44px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.kf-title { font-weight: 700; margin-bottom: 16px; }
.kf-lane { display: grid; grid-template-columns: 70px 1fr; align-items: center; margin-bottom: 12px; }
.kf-label { color: var(--muted); font-size: .85rem; }
.kf-track { position: relative; height: 44px; background: #17181c; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.kf-seg, .kf-fade { position: absolute; top: 0; bottom: 0; }
.kf-seg { background: rgba(255,255,255,.03); }
.kf-fade-v { background: linear-gradient(90deg, rgba(240,145,58,.05), rgba(240,145,58,.35)); }
.kf-fade-a { background: linear-gradient(90deg, rgba(91,184,240,.05), rgba(91,184,240,.35)); }
.kf-key { position: absolute; top: 50%; width: 13px; height: 13px; margin: -6.5px 0 0 -6.5px; transform: rotate(45deg); border: 1px solid #111; z-index: 2; }
.kf-v { background: #f0913a; }
.kf-a { background: #5bb8f0; }
.kf-txt { position: absolute; bottom: 3px; font-size: .72rem; color: #aaa; white-space: nowrap; }
.kf-axis { display: flex; justify-content: space-between; margin-left: 70px; color: var(--muted); font-size: .75rem; }
.kf-note { margin: 14px 0 0; }
@media (max-width: 1100px) { .modes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .modes, .stores { grid-template-columns: 1fr; }
  .kf-txt { display: none; }
}

/* crossfade highlight */
.feature-wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1.6fr 1fr; gap: 36px; align-items: center;
  border-color: rgba(57,181,74,.45); background: linear-gradient(135deg, #22262b 0%, #1f2a22 100%); padding: 32px; }
.feature-wide h3 { font-size: 1.4rem; }
.feature-wide .xf-lead { font-size: 1.02rem; color: var(--text); margin-bottom: 12px; }
.xf-points li { font-size: .93rem; color: #c2c2cb; }
.xf-demo { display: grid; grid-template-columns: 1fr 54px 1fr; gap: 14px; align-items: center; }
.xf-cue { background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 12px; }
.xf-cue span { display: block; font-size: .68rem; letter-spacing: .1em; color: var(--muted); }
.xf-cue b { display: block; font-size: .9rem; margin: 2px 0 10px; }
.xf-cue i { display: block; height: 8px; border-radius: 4px; background: #333640; position: relative; overflow: hidden; }
.xf-cue i::after { content: ""; position: absolute; inset: 0; background: var(--go-hi); transform-origin: left; }
.xf-a i::after { animation: xf-out 6s ease-in-out infinite; }
.xf-b i::after { animation: xf-in 6s ease-in-out infinite; }
.xf-fader { position: relative; height: 170px; display: flex; justify-content: center; }
.xf-slot { width: 6px; height: 100%; border-radius: 3px; background: #111216; border: 1px solid var(--line); }
.xf-knob { position: absolute; left: 50%; width: 44px; height: 22px; margin-left: -22px; border-radius: 4px;
  background: linear-gradient(#d9d9de, #9b9ca4); box-shadow: 0 2px 6px rgba(0,0,0,.5); animation: xf-knob 6s ease-in-out infinite; }
.xf-knob::after { content: ""; position: absolute; left: 6px; right: 6px; top: 10px; height: 2px; background: #333; }
.xf-cap { grid-column: 1 / -1; text-align: center; font-size: .78rem; color: var(--muted); }
@keyframes xf-knob { 0%, 15% { top: 0; } 50%, 65% { top: calc(100% - 22px); } 100% { top: 0; } }
@keyframes xf-out { 0%, 15% { transform: scaleX(1); } 50%, 65% { transform: scaleX(0); } 100% { transform: scaleX(1); } }
@keyframes xf-in { 0%, 15% { transform: scaleX(0); } 50%, 65% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@media (prefers-reduced-motion: reduce) { .xf-knob, .xf-cue i::after { animation: none; } .xf-knob { top: 45%; } }

/* download reminder popup */
.modal { position: fixed; inset: 0; z-index: 90; background: rgba(10,10,14,.8); backdrop-filter: blur(3px);
  display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-box { position: relative; max-width: 480px; width: 100%; background: var(--bg2); border: 1px solid var(--line);
  border-radius: 14px; padding: 32px 30px 24px; text-align: center; box-shadow: 0 30px 80px rgba(0,0,0,.6);
  animation: pop .18s ease-out; }
@keyframes pop { from { transform: scale(.95); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-box h2 { font-size: 1.6rem; }
.modal-box p { color: #c9c9d2; }
.modal-go { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,196,57,.15); color: #ffc439; font-size: 1.6rem; }
.modal-actions { display: grid; gap: 10px; margin: 22px 0 12px; }
.modal-actions .btn { width: 100%; text-align: center; }
.modal-x { position: absolute; top: 8px; right: 14px; background: none; border: 0; color: var(--muted); font-size: 1.8rem; cursor: pointer; }
.modal-x:hover { color: #fff; }

/* what's new */
.whatsnew { background: linear-gradient(180deg, #1f2433 0%, var(--bg) 100%); border-bottom: 1px solid var(--line); }
.whatsnew .eyebrow { color: var(--go-hi); }
.new-top { display: grid; grid-template-columns: 1fr 1.15fr; gap: 28px; align-items: center; margin-bottom: 22px; }
.new-shot { display: block; cursor: zoom-in; }
.new-shot img { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(0,0,0,.5); }
.new-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.new-card { background: var(--bg2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: relative; }
.new-card::before { content: attr(data-ver); position: absolute; top: 18px; right: 18px; font-size: .68rem; font-weight: 800; letter-spacing: .1em;
  color: #0f2a14; background: var(--go-hi); padding: 2px 7px; border-radius: 4px; }
.new-card p { margin: 0 0 .6em; color: #c2c2cb; font-size: .94rem; }
.new-card p:last-child { margin-bottom: 0; }
.new-grid.new-grid-single { grid-template-columns: 1fr; }
.new-grid-single .new-card p { max-width: 900px; }
.new-main { padding: 28px; border-color: rgba(57,181,74,.45); }
.new-main h3 { font-size: 1.4rem; }
.new-main p { font-size: 1rem; }
.rel-head { display: flex; align-items: baseline; gap: 12px; margin: 34px 0 14px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.rel-head:first-of-type { margin-top: 10px; }
.rel-ver { font-weight: 800; font-size: 1.15rem; color: var(--go-hi); white-space: nowrap; }
.rel-maint { display: flex; gap: 14px; align-items: baseline; margin: 10px 0 4px; padding: 12px 16px; border: 1px dashed var(--line);
  border-radius: var(--radius); color: var(--muted); font-size: .92rem; }
.rel-maint .rel-ver { font-size: .95rem; color: var(--muted); }
.newer { margin: 0 auto 20px; max-width: 760px; text-align: center; padding: 12px 18px; border-radius: var(--radius);
  background: rgba(52,100,170,.15); border: 1px solid rgba(52,100,170,.5); }
@media (max-width: 1100px) { .new-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .new-top, .new-grid { grid-template-columns: 1fr; } }

/* download buttons */
.dl-buttons { display: grid; gap: 8px; margin: 14px 0 12px; }
.btn-dl { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 14px; font-size: .95rem;
  background: var(--go); color: #fff; box-shadow: 0 3px 0 #1f6b2a; }
.btn-dl small { font-weight: 400; opacity: .8; font-size: .8rem; white-space: nowrap; }
.platform { display: flex; flex-direction: column; }
.platform .dl-buttons { margin-top: auto; }
.platform-sugg { border-color: rgba(57,181,74,.6); box-shadow: 0 0 0 1px rgba(57,181,74,.25); }
.dl-meta { margin: 20px auto 0; }
.sums { display: inline-block; text-align: left; vertical-align: top; }
.sums summary { cursor: pointer; color: #7fb0ff; display: inline; }
.sums code { display: block; margin-top: 8px; font-size: .72rem; word-break: break-all; text-align: left; }

/* system requirements */
.reqs { margin: 26px auto 0; max-width: 980px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; }
.reqs h3 { margin-bottom: 14px; }
.reqs p { margin: 12px 0 0; }
.req-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 20px; align-items: start; }
.req { display: grid; grid-template-columns: 34px 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; }
.req-ico { grid-row: 1 / 3; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 8px;
  background: var(--panel); border: 1px solid var(--line); color: var(--go-hi); font-size: 1rem; }
.req b { font-size: .82rem; color: var(--muted); font-weight: 600; }
.req span:last-child { font-weight: 600; }
@media (max-width: 760px) { .req-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .req-grid { grid-template-columns: 1fr; } }

/* documents */
.doc-card { display: flex; align-items: center; gap: 16px; max-width: 760px; margin: 22px auto 0; padding: 14px 18px;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); text-decoration: none; }
.doc-card.doc-hero { margin: 18px 0 0; max-width: none; background: var(--bg2); }
.doc-card:hover { border-color: var(--go-hi); }
.doc-ico { flex: none; width: 46px; height: 56px; display: grid; place-items: center; border-radius: 6px; background: #b3261e;
  color: #fff; font-weight: 800; font-size: .8rem; letter-spacing: .05em; }
.doc-txt { flex: 1; display: flex; flex-direction: column; }
.doc-txt span { color: var(--muted); font-size: .9rem; }
.doc-size { flex: none; color: var(--go-hi); font-weight: 700; white-space: nowrap; }
.owner-pill { position: fixed; left: 12px; bottom: 12px; z-index: 50; padding: 5px 11px; border-radius: 99px; font-size: .75rem;
  background: rgba(37,38,44,.92); border: 1px solid var(--line); color: var(--muted); pointer-events: auto; }
@media (max-width: 960px) {
  .hero-in, .two-col, .donate-in, .feature-wide { grid-template-columns: 1fr; }
  .grid-features, .platforms { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 2.4rem; }
}
@media (max-width: 640px) {
  :root { font-size: 16px; }
  section { padding: 56px 0; }
  nav a:not(.nav-donate) { display: none; }
  .grid-features, .platforms { grid-template-columns: 1fr; }
  .cuerow { grid-template-columns: 1fr; }
  .cname { border-right: 0; padding-bottom: 0; }
  .lightbox { padding: 40px 10px; }
  .lb-prev, .lb-next { display: none; }
}
