/* OpenBand website: the colours and type of the app, on a page that reads well on a phone. */
:root {
  --bg: #0b0c10;
  --bg-2: #111219;
  --panel: #15161e;
  --panel-2: #1b1d26;
  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.12);
  --text: #eef0f6;
  --muted: #a3a7b7;
  --dim: #6f7386;
  --coral: #ff7a59;
  --violet: #b14cff;
  --cyan: #3cc8ff;
  --green: #34d399;
  --brand: linear-gradient(100deg, var(--coral), var(--violet) 52%, var(--cyan));
  --radius: 18px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
}
.wrap {
  width: min(1160px, 100% - 32px);
  margin: 0 auto;
}

/* ---- navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid var(--line);
}
.nav .wrap {
  display: flex;
  align-items: center;
  gap: 22px;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.brand img {
  width: 30px;
  height: 30px;
}
.nav-links {
  display: flex;
  gap: 22px;
  margin-left: 8px;
}
.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 500;
}
.nav-links a:hover,
.nav-links a[aria-current='page'] {
  color: var(--text);
}
.nav-end {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.lang {
  background: none;
  border: 1px solid var(--line-2);
  color: var(--muted);
  border-radius: 999px;
  font: 600 12px var(--font);
  padding: 6px 11px;
  cursor: pointer;
}
.lang:hover {
  color: var(--text);
}
.gh {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}
.gh:hover {
  color: var(--text);
}
.gh svg {
  width: 18px;
  height: 18px;
}

/* ---- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: 999px;
  font: 650 15.5px var(--font);
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(177, 76, 255, 0.7);
}
.btn-primary:hover {
  box-shadow: 0 14px 38px -10px rgba(177, 76, 255, 0.9);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}
.btn-small {
  padding: 8px 15px;
  font-size: 13.5px;
}
.btn svg {
  width: 18px;
  height: 18px;
}

/* ---- hero */
.hero {
  position: relative;
  padding: 84px 0 40px;
  text-align: center;
  isolation: isolate;
}
.hero::before {
  content: '';
  position: absolute;
  inset: -120px -10% auto;
  height: 720px;
  z-index: -1;
  background:
    radial-gradient(40% 50% at 25% 30%, rgba(255, 122, 89, 0.22), transparent 70%),
    radial-gradient(40% 50% at 70% 25%, rgba(177, 76, 255, 0.26), transparent 70%),
    radial-gradient(35% 45% at 55% 70%, rgba(60, 200, 255, 0.16), transparent 70%);
  filter: blur(10px);
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px var(--line-2);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.kicker .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
}
h1 {
  font-size: clamp(38px, 6.4vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 800;
  margin: 22px auto 0;
  max-width: 15ch;
}
.grad {
  background: var(--brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--muted);
  max-width: 640px;
  margin: 22px auto 0;
}
.lead strong {
  color: var(--text);
  font-weight: 600;
}
.cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 34px;
}
.cta-note {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--dim);
}
.cta-note a {
  color: var(--muted);
}

/* The studio, floating. */
.shot {
  position: relative;
  margin: 58px auto 0;
  max-width: 1080px;
  border-radius: 16px;
  padding: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02));
  box-shadow:
    0 0 0 1px var(--line-2),
    0 40px 120px -30px rgba(177, 76, 255, 0.45),
    0 30px 80px -40px rgba(0, 0, 0, 0.9);
  transform: perspective(1800px) rotateX(7deg);
  transform-origin: 50% 0;
}
.shot img {
  border-radius: 9px;
  width: 100%;
  height: auto;
}
.shot-tag {
  position: absolute;
  padding: 9px 14px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--panel) 88%, transparent);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 0 1px var(--line-2), 0 18px 40px -16px rgba(0, 0, 0, 0.8);
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 10px;
}
.shot-tag small {
  display: block;
  font-weight: 500;
  color: var(--muted);
  font-size: 11.5px;
}
.shot-tag .ico {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 15px;
  background: var(--brand);
}
.tag-1 {
  left: -22px;
  top: 22%;
}
.tag-2 {
  right: -22px;
  top: 52%;
}

/* ---- facts strip */
.facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 26px;
  padding: 26px 0 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}
.facts span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.facts b {
  color: var(--text);
}

/* ---- sections */
section {
  padding: 92px 0;
}
.section-head {
  max-width: 720px;
  margin-bottom: 44px;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.eyebrow {
  font: 700 12.5px var(--font);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--violet);
}
h2 {
  font-size: clamp(30px, 4.2vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 12px 0 0;
  font-weight: 800;
}
.section-head p {
  color: var(--muted);
  font-size: 17.5px;
  margin: 16px 0 0;
}

/* How an idea becomes a release. */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 26px 22px 24px;
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--line);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  font: 800 15px var(--mono);
  background: rgba(177, 76, 255, 0.14);
  color: #d6b2ff;
  margin-bottom: 18px;
}
.step h3 {
  margin: 0;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.step p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14.5px;
}
.pulse {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  padding: 16px 20px;
  border-radius: 14px;
  background: linear-gradient(90deg, rgba(52, 211, 153, 0.09), transparent 70%);
  box-shadow: inset 0 0 0 1px rgba(52, 211, 153, 0.18);
  font-size: 14.5px;
  color: var(--muted);
}
.pulse b {
  color: var(--text);
}
.pulse .live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: blink 1.6s infinite;
}
@keyframes blink {
  50% {
    opacity: 0.25;
  }
}

/* Features: an image and a few words each. */
.features {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.feature {
  grid-column: span 2;
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature:hover {
  transform: translateY(-3px);
  box-shadow: inset 0 0 0 1px var(--line-2), 0 20px 50px -24px rgba(177, 76, 255, 0.5);
}
.feature.wide {
  grid-column: span 3;
}
.feature figure {
  margin: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
}
.feature figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}
.feature div {
  padding: 20px 22px 24px;
}
.feature h3 {
  margin: 0;
  font-size: 18.5px;
  letter-spacing: -0.01em;
}
.feature p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14.5px;
}
.pill {
  display: inline-block;
  margin-bottom: 10px;
  padding: 3px 9px;
  border-radius: 999px;
  font: 700 10.5px var(--font);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffd0c4;
  background: rgba(255, 122, 89, 0.14);
}
.pill.new {
  color: #c8f5e4;
  background: rgba(52, 211, 153, 0.14);
}

/* The AI. */
.ai {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: center;
}
.ai ul {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: grid;
  gap: 12px;
}
.ai li {
  display: flex;
  gap: 12px;
  color: var(--muted);
  font-size: 15.5px;
}
.ai li b {
  color: var(--text);
}
.ai li::before {
  content: '';
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--brand);
}
.ai-shot {
  justify-self: center;
  width: min(100%, 440px);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--line-2), 0 30px 80px -30px rgba(60, 200, 255, 0.35);
}
.logos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.logos span {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.ai-shot img {
  width: 100%;
  max-height: 540px;
  object-fit: cover;
  object-position: top;
}

/* Downloads. */
.downloads {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.os {
  position: relative;
  padding: 28px 24px 24px;
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.os.mine {
  box-shadow: inset 0 0 0 1.5px rgba(177, 76, 255, 0.65), 0 24px 60px -30px rgba(177, 76, 255, 0.6);
}
.os .mine-tag {
  display: none;
  position: absolute;
  top: 14px;
  right: 14px;
  font: 700 10.5px var(--font);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(177, 76, 255, 0.18);
  color: #e1c7ff;
}
.os.mine .mine-tag {
  display: block;
}
.os svg.os-ico {
  width: 34px;
  height: 34px;
  color: var(--text);
}
.os h3 {
  margin: 4px 0 0;
  font-size: 21px;
}
.os .req {
  margin: 0 0 8px;
  color: var(--dim);
  font-size: 13.5px;
}
.os .btn {
  width: 100%;
}
.os .alt {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}
.os .alt a {
  color: var(--muted);
}
.version {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
}
.more-ways {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}
.way {
  min-width: 0;
  padding: 20px 22px;
  border-radius: 14px;
  background: var(--bg-2);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 14.5px;
  color: var(--muted);
}
.way h4 {
  margin: 0 0 6px;
  color: var(--text);
  font-size: 15.5px;
}
code,
.cmd {
  font-family: var(--mono);
  font-size: 12.5px;
}
.cmd {
  display: block;
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #07080b;
  color: #cfd3e1;
  box-shadow: inset 0 0 0 1px var(--line);
  overflow-x: auto;
  white-space: nowrap;
}
.note {
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--dim);
  text-align: center;
}
.note a {
  color: var(--muted);
}

/* The closing call to contribute. */
.join {
  position: relative;
  border-radius: 28px;
  padding: 64px 40px;
  text-align: center;
  overflow: hidden;
  background: radial-gradient(60% 120% at 50% 0%, rgba(177, 76, 255, 0.28), transparent 70%), var(--panel);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.join h2 {
  max-width: 18ch;
  margin: 12px auto 0;
}
.join p {
  color: var(--muted);
  max-width: 560px;
  margin: 18px auto 0;
  font-size: 17px;
}

/* ---- contribute page */
.page-hero {
  padding: 72px 0 24px;
}
.page-hero h1 {
  margin: 14px 0 0;
  max-width: 17ch;
  text-align: left;
}
.page-hero .lead {
  margin: 18px 0 0;
  text-align: left;
}
.contrib {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 28px;
  align-items: start;
  padding-top: 32px;
}
.card {
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--line);
  padding: 30px 28px;
}
.card h2 {
  font-size: 26px;
  margin: 0;
}
.card > p {
  color: var(--muted);
  margin: 8px 0 0;
  font-size: 15px;
}
form {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}
label {
  display: grid;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
}
label small {
  font-weight: 400;
  color: var(--dim);
  font-size: 13px;
}
input[type='text'],
textarea,
select {
  width: 100%;
  font: 15px/1.5 var(--font);
  color: var(--text);
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
textarea {
  min-height: 130px;
  resize: vertical;
}
input:focus,
textarea:focus,
select:focus {
  border-color: rgba(177, 76, 255, 0.7);
  box-shadow: 0 0 0 4px rgba(177, 76, 255, 0.15);
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 500;
  color: var(--muted);
}
.check input {
  margin-top: 4px;
  accent-color: var(--violet);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chips button {
  font: 600 13px var(--font);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 6px 12px;
  cursor: pointer;
}
.chips button[aria-pressed='true'] {
  color: #fff;
  background: rgba(177, 76, 255, 0.22);
  border-color: rgba(177, 76, 255, 0.6);
}
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.form-hint {
  font-size: 13px;
  color: var(--dim);
  margin: 0;
}
.form-hint a {
  color: var(--muted);
}
.sent {
  display: none;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(52, 211, 153, 0.1);
  box-shadow: inset 0 0 0 1px rgba(52, 211, 153, 0.3);
  font-size: 14.5px;
}
.sent.show {
  display: block;
}
.error {
  color: #ff9a8a;
  font-size: 13px;
  font-weight: 500;
}
.recent {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.recent li a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  padding: 13px 15px;
  border-radius: 12px;
  background: var(--bg-2);
  box-shadow: inset 0 0 0 1px var(--line);
  text-decoration: none;
}
.recent li a:hover {
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.recent .t {
  font-size: 14.5px;
  font-weight: 600;
}
.recent .m {
  grid-column: 1;
  font-size: 12.5px;
  color: var(--dim);
}
.recent .v {
  grid-row: span 2;
  align-self: center;
  font: 600 13px var(--mono);
  color: var(--muted);
}
.recent .done {
  color: var(--green);
}
.empty {
  color: var(--dim);
  font-size: 14px;
}
.side {
  display: grid;
  gap: 20px;
}
.ways {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}
.ways a {
  display: flex;
  gap: 14px;
  padding: 15px 16px;
  border-radius: 14px;
  background: var(--bg-2);
  box-shadow: inset 0 0 0 1px var(--line);
  text-decoration: none;
}
.ways a:hover {
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.ways .e {
  font-size: 20px;
  line-height: 1.2;
}
.ways b {
  display: block;
  font-size: 15px;
}
.ways span span {
  color: var(--muted);
  font-size: 13.5px;
}

/* ---- footer */
footer {
  margin-top: 40px;
  border-top: 1px solid var(--line);
  padding: 34px 0 48px;
  color: var(--dim);
  font-size: 13.5px;
}
footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  align-items: center;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-left: auto;
}
footer a {
  color: var(--muted);
  text-decoration: none;
}
footer a:hover {
  color: var(--text);
}

/* Revealed as they scroll into view (only when motion is welcome). */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .reveal.in {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .shot {
    transform: none;
  }
}

/* ---- smaller screens */
@media (max-width: 980px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature,
  .feature.wide {
    grid-column: span 1;
  }
  .ai,
  .contrib {
    grid-template-columns: 1fr;
  }
  .downloads,
  .more-ways {
    grid-template-columns: minmax(0, 1fr);
  }
  .shot-tag {
    display: none;
  }
}
@media (max-width: 720px) {
  .nav-links {
    display: none;
  }
  .gh span {
    display: none;
  }
  .hero {
    padding-top: 56px;
  }
  section {
    padding: 64px 0;
  }
  .steps,
  .features {
    grid-template-columns: 1fr;
  }
  .join {
    padding: 44px 22px;
  }
  .card {
    padding: 24px 18px;
  }
  .cta .btn {
    width: 100%;
  }
}

/* ---- contacts and support */
.contacts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 28px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--line);
}
.contacts p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14.5px;
}
.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.btn-coffee {
  background: #ffdd00;
  color: #111;
  font-weight: 700;
}
.btn-coffee:hover {
  background: #ffe633;
}
.join-coffee {
  margin-top: 26px !important;
  font-size: 14.5px !important;
}
.join-coffee a {
  color: var(--text);
  font-weight: 600;
}
