:root {
  --bg: #0b0e11;
  --panel: #12161c;
  --panel-2: #181d25;
  --text: #eef1f4;
  --muted: #8a939e;
  --line: #2a323c;
  --accent: #3dd68c;
  --accent-ink: #062116;
  --warn: #f0c674;
  --danger: #ff7a7a;
  --font: "Space Grotesk", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(800px 420px at 90% 8%, rgba(61, 214, 140, 0.1), transparent 55%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}

.page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.25rem 3.5rem;
}

.top {
  padding: 1.25rem 0 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.logo img {
  display: block;
  border-radius: 6px;
}

.hero {
  display: grid;
  gap: 2.5rem;
  padding-top: 1.75rem;
  align-items: start;
}

@media (min-width: 980px) {
  .hero {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: 2.25rem;
    align-items: center;
    min-height: calc(100vh - 4.5rem);
    padding-top: 0.25rem;
  }
}

.brand {
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.lede {
  margin: 1rem 0 0;
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  line-height: 1.35;
  font-weight: 500;
  max-width: 24rem;
}

.sub {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.5;
  max-width: 26rem;
}

.hl {
  color: var(--accent);
  background: rgba(61, 214, 140, 0.14);
  font-weight: 600;
  padding: 0.05em 0.2em;
  border-radius: 3px;
}

.price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem 0.65rem;
  margin: 1.4rem 0 0;
}

.now {
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.was {
  font-size: 1.05rem;
  color: var(--muted);
  text-decoration: line-through;
  font-variant-numeric: tabular-nums;
}

.deal {
  flex-basis: 100%;
  font-size: 0.88rem;
  color: var(--muted);
}

.waitlist {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1.15rem;
  max-width: 26rem;
}

@media (min-width: 520px) {
  .waitlist {
    flex-direction: row;
  }
}

.waitlist input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.8rem 0.9rem;
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--panel);
}

.waitlist input::placeholder {
  color: #66707a;
}

.waitlist input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: transparent;
}

.waitlist button {
  border: 0;
  border-radius: 8px;
  padding: 0.8rem 1.1rem;
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent-ink);
  background: var(--accent);
  cursor: pointer;
  white-space: nowrap;
}

.waitlist button:hover:not(:disabled) {
  filter: brightness(1.05);
}

.waitlist button:disabled {
  opacity: 0.65;
  cursor: wait;
}

.form-status {
  margin: 0.6rem 0 0;
  font-size: 0.95rem;
}

.form-status.ok {
  color: var(--accent);
}

.form-status.err {
  color: var(--danger);
}

.fine {
  margin: 0.65rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Distributor support */
.distro-support {
  margin-top: 1.75rem;
  max-width: 26rem;
}

.distro-label {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.distro-support ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.distro-support li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.distro-support li.live {
  border-color: rgba(61, 214, 140, 0.35);
  background: rgba(61, 214, 140, 0.06);
}

.distro-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.9rem;
  font-weight: 560;
  color: var(--text);
}

.distro-brand img {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  object-fit: cover;
  display: block;
  background: #fff;
}

.badge {
  font-size: 0.7rem;
  font-weight: 600;
  white-space: nowrap;
}

.badge.ok {
  color: var(--accent);
}

.badge.soon {
  color: var(--muted);
}

/* App mockup */
.mock-wrap {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  min-width: 0;
}

.app {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 28px 60px -30px rgba(0, 0, 0, 0.8);
}

.app-chrome {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0.85rem;
  background: #0e1217;
  border-bottom: 1px solid var(--line);
}

.dots {
  width: 52px;
  height: 10px;
  background:
    radial-gradient(circle at 6px 5px, #ff5f57 4px, transparent 5px),
    radial-gradient(circle at 22px 5px, #febc2e 4px, transparent 5px),
    radial-gradient(circle at 38px 5px, #28c840 4px, transparent 5px);
}

.chrome-title {
  font-size: 0.75rem;
  color: var(--muted);
}

.process {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 0.95rem;
  background: #0e1217;
  border-bottom: 1px solid var(--line);
}

.step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  flex: 1 1 0;
  opacity: 0.45;
}

.step.done,
.step.active {
  opacity: 1;
}

.step-num {
  flex-shrink: 0;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1;
  background: var(--line);
  color: var(--muted);
}

.step.done .step-num {
  background: rgba(61, 214, 140, 0.2);
  color: var(--accent);
}

.step.active .step-num {
  background: rgba(240, 198, 116, 0.2);
  color: var(--warn);
}

.step-copy {
  min-width: 0;
}

.step-copy strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.2;
}

.step-copy span {
  display: block;
  margin-top: 0.12rem;
  font-size: 0.62rem;
  line-height: 1.25;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.step-line {
  flex: 0 0 1.75rem;
  height: 2px;
  border-radius: 1px;
  background: var(--line);
  align-self: center;
}

.step-line.done {
  background: rgba(61, 214, 140, 0.55);
}

@media (max-width: 640px) {
  .process {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }

  .step-line {
    display: none;
  }
}

.app-shell {
  display: grid;
  grid-template-columns: 10rem 1fr;
  min-height: 24rem;
}

@media (max-width: 700px) {
  .app-shell {
    grid-template-columns: 1fr;
  }
  .sidebar {
    display: none;
  }
}

.sidebar {
  background: var(--panel-2);
  border-right: 1px solid var(--line);
  padding: 0.75rem 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.side-distro {
  display: grid;
  grid-template-columns: 20px 1fr auto;
  gap: 0.45rem;
  align-items: center;
  padding: 0.5rem;
  margin-bottom: 0.65rem;
  border-radius: 8px;
  background: rgba(61, 214, 140, 0.08);
  border: 1px solid rgba(61, 214, 140, 0.25);
}

.side-distro img {
  border-radius: 4px;
  object-fit: cover;
}

.side-distro strong {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
}

.side-distro span {
  display: block;
  font-size: 0.62rem;
  color: var(--muted);
}

.side-distro .check {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.8rem;
}

.side-label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0.3rem 0.35rem;
}

.alias {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  width: 100%;
  border: 0;
  border-radius: 6px;
  padding: 0.45rem 0.5rem;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 0.78rem;
  text-align: left;
  cursor: default;
}

.alias.active {
  background: rgba(61, 214, 140, 0.12);
}

.alias-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.status.ok {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
}

.status.busy {
  display: inline-flex;
}

.spinner {
  width: 0.75rem;
  height: 0.75rem;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-top-color: var(--warn);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: block;
}

.spinner.sm {
  width: 0.65rem;
  height: 0.65rem;
  border-width: 1.5px;
}

.side-meta {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0.55rem 0.3rem 0;
  font-size: 0.65rem;
  color: var(--warn);
}

.pulse-dot {
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--warn);
  animation: pulse 1.4s ease-in-out infinite;
}

.side-foot {
  margin-top: auto;
  padding: 0.65rem 0.3rem 0.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  font-size: 0.65rem;
  color: var(--muted);
}

.synced {
  color: var(--accent);
  font-weight: 600;
}

.main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 0.8rem 0.85rem 0.7rem;
}

.catalog-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.catalog-bar h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.catalog-bar p {
  margin: 0.15rem 0 0;
  font-size: 0.72rem;
  color: var(--muted);
}

.auto-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--warn);
  background: rgba(240, 198, 116, 0.1);
  border: 1px solid rgba(240, 198, 116, 0.25);
  border-radius: 999px;
  padding: 0.35rem 0.6rem;
  white-space: nowrap;
}

.release-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.row {
  display: grid;
  grid-template-columns: 40px 1fr auto auto;
  gap: 0.55rem;
  align-items: center;
  padding: 0.4rem 0.45rem;
  border-radius: 8px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.02);
}

.row.active {
  border-color: rgba(240, 198, 116, 0.3);
  background: rgba(240, 198, 116, 0.06);
}

.row.queued {
  opacity: 0.72;
}

.row.more {
  grid-template-columns: 40px 1fr;
  opacity: 0.9;
  border: 1px dashed var(--line);
  background: transparent;
}

.row img {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  object-fit: cover;
  background: #0b0e11;
}

.row-main {
  min-width: 0;
}

.row-main strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 560;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.row-main span {
  display: block;
  font-size: 0.65rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tag {
  display: inline-block;
  font-size: 0.58rem;
  font-weight: 600;
  padding: 0.16rem 0.35rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  white-space: nowrap;
}

.tag.wav {
  background: rgba(42, 157, 143, 0.18);
  color: #7ee0d0;
}

.row-status {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--accent);
  text-align: right;
  min-width: 3.2rem;
}

.row-status.busy {
  color: var(--warn);
  display: flex;
  justify-content: flex-end;
}

.row-status.muted {
  color: var(--muted);
  font-weight: 500;
}

.more-stack {
  position: relative;
  width: 40px;
  height: 40px;
}

.more-stack img {
  position: absolute;
  width: 28px;
  height: 28px;
  border-radius: 3px;
  border: 1px solid var(--panel);
}

.more-stack img:nth-child(1) {
  left: 0;
  top: 8px;
  z-index: 1;
}
.more-stack img:nth-child(2) {
  left: 6px;
  top: 4px;
  z-index: 2;
}
.more-stack img:nth-child(3) {
  left: 12px;
  top: 0;
  z-index: 3;
}

.app-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.65rem;
  font-size: 0.7rem;
  color: var(--muted);
}

.app-foot code {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--accent);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ok-text {
  color: var(--accent);
  font-weight: 600;
  white-space: nowrap;
}

.bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.bullets li {
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--muted);
  padding-left: 0.85rem;
  border-left: 2px solid rgba(61, 214, 140, 0.35);
}

.bullets strong {
  color: var(--text);
  font-weight: 600;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.45;
  }
  50% {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .spinner,
  .pulse-dot {
    animation: none;
  }
}

/* Site footer */
.site-footer {
  margin-top: 4rem;
  padding: 1.35rem 0 1rem;
  border-top: 1px solid rgba(42, 50, 60, 0.7);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 1.5rem;
}

.footer-brand {
  font-size: 0.8rem;
  font-weight: 560;
  color: var(--muted);
  letter-spacing: -0.01em;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.35rem;
}

.footer-links a {
  font-size: 0.75rem;
  color: #6d7782;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--muted);
}

.footer-company {
  margin: 0.85rem 0 0;
  font-size: 0.72rem;
  line-height: 1.45;
  color: #5c6570;
}

.footer-company a {
  color: #6d7782;
  text-decoration: none;
}

.footer-company a:hover {
  color: var(--muted);
}

.footer-copy {
  margin: 0.45rem 0 0;
  font-size: 0.7rem;
  color: #4f5863;
}
