/* Bedquit website. Plain CSS, no build step. Colors are sampled from the app icon. */
:root {
  --bg: #120b24;
  --bg-2: #1a1132;
  --surface: #231841;
  --surface-2: #2e2152;
  --border: #3b2c66;
  --text: #ffffff;
  --muted: #c9bfe3;
  --faint: #a79dc6;
  --red: #f9494c;
  --orange: #fb8e31;
  --gold: #fdb330;
  --pink: #eb6b78;
  --violet: #6939af;
  --navy: #1e2a4a;
  --sunrise: linear-gradient(180deg, #f9494c 0%, #fb8e31 28%, #fdb330 46%, #eb6b78 72%, #6939af 100%);
  --warm: linear-gradient(100deg, #fdb330, #fb8e31 55%, #f9794a);
  --font: ui-rounded, "SF Pro Rounded", "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px;
  --radius: 26px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.6;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--gold);
  text-underline-offset: 0.18em;
}

a:hover {
  color: #ffd27a;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.6rem, 11.5vw, 5.4rem);
}

h2 {
  font-size: clamp(2rem, 7.5vw, 3.4rem);
}

h3 {
  font-size: 1.3rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 800;
}

.skip:focus {
  top: 12px;
  color: var(--navy);
}

.grad {
  background: linear-gradient(95deg, #fdb330 0%, #fb8e31 40%, #f9494c 75%, #eb6b78 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lead {
  color: var(--muted);
  font-size: clamp(1.1rem, 4.4vw, 1.35rem);
  line-height: 1.5;
}

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

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(18, 11, 36, 0.88);
  border-bottom: 1px solid rgba(59, 44, 102, 0.7);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand:hover {
  color: var(--text);
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  padding: 10px 10px;
  border-radius: 12px;
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 700;
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--text);
}

.nav .wide {
  display: none;
}

@media (min-width: 720px) {
  .nav {
    gap: 10px;
  }
  .nav .wide {
    display: inline-block;
  }
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 44px 0 0;
}

.hero::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -46vw;
  width: 150vw;
  height: 100vw;
  max-height: 1100px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(253, 179, 48, 0.5), rgba(249, 73, 76, 0.32) 42%, rgba(105, 57, 175, 0.2) 68%, rgba(18, 11, 36, 0) 100%);
  pointer-events: none;
}

.hero .wrap {
  position: relative;
  display: grid;
  gap: 40px;
}

.hero-icon {
  width: 84px;
  height: 84px;
  margin-bottom: 22px;
  border-radius: 22px;
  box-shadow: 0 18px 50px rgba(249, 73, 76, 0.38);
}

.hero h1 {
  margin-bottom: 18px;
}

.hero .lead {
  max-width: 34rem;
}

.soon {
  margin-top: 28px;
  padding: 18px;
  max-width: 30rem;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(26, 17, 50, 0.82);
}

.soon-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 800;
}

.dot {
  width: 10px;
  height: 10px;
  flex: none;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(253, 179, 48, 0.22);
}

.platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.platforms li {
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--warm);
  color: var(--navy);
  font-size: 0.98rem;
  font-weight: 900;
}

.soon small {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-phone {
  display: flex;
  justify-content: center;
}

.hero-phone .phone {
  margin-bottom: -70px;
}

@media (min-width: 880px) {
  .hero {
    padding-top: 76px;
  }
  .hero .wrap {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 56px;
  }
  .hero::before {
    left: 74%;
    bottom: -520px;
    width: 1200px;
    height: 1000px;
  }
  .hero-copy {
    padding-bottom: 80px;
  }
}

/* ---------- phone frame ---------- */

.phone {
  position: relative;
  width: min(280px, 76vw);
  margin: 0;
  padding: 10px;
  border: 1px solid #54428a;
  border-radius: 42px;
  background: #0a0516;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), inset 0 0 0 2px #1d1338;
}

.phone img {
  width: 100%;
  border-radius: 32px;
  background: #fff6ec;
}

.phone figcaption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- sections ---------- */

.section {
  padding: 76px 0;
}

.section.alt {
  background: var(--bg-2);
  border-top: 1px solid rgba(59, 44, 102, 0.6);
  border-bottom: 1px solid rgba(59, 44, 102, 0.6);
}

.section-head {
  max-width: 44rem;
  margin-bottom: 36px;
}

.section-head h2 {
  margin-bottom: 16px;
}

.split {
  display: grid;
  gap: 40px;
  align-items: center;
}

.split .phone {
  margin: 0 auto;
}

@media (min-width: 880px) {
  .section {
    padding: 112px 0;
  }
  .split {
    grid-template-columns: 1fr 340px;
    gap: 72px;
  }
  .split.flip {
    grid-template-columns: 340px 1fr;
  }
  .split.flip .split-media {
    order: -1;
  }
}

/* steps */

.steps {
  display: grid;
  gap: 14px;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding: 20px 20px 20px 76px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 18px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--warm);
  color: var(--navy);
  font-size: 1.25rem;
  font-weight: 900;
}

.steps h3 {
  margin-bottom: 6px;
}

.steps p {
  color: var(--muted);
}

/* cards */

.cards {
  display: grid;
  gap: 14px;
}

@media (min-width: 560px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

.card {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.card h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.card p {
  color: var(--muted);
}

.tag {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tag.free {
  background: rgba(95, 224, 160, 0.16);
  color: #7cf0b6;
}

.tag.pro {
  background: var(--warm);
  color: var(--navy);
}

.group-title {
  margin: 28px 0 14px;
  color: var(--faint);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.group-title:first-child {
  margin-top: 0;
}

/* weird songs */

.songs {
  position: relative;
  overflow: hidden;
  padding: 32px 22px;
  border-radius: 34px;
  background: var(--sunrise);
}

.songs::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(18, 11, 36, 0.62);
}

.songs > * {
  position: relative;
}

.songs .eyebrow {
  color: #ffd27a;
}

.songs h2 {
  margin-bottom: 14px;
}

.songs .lead {
  max-width: 40rem;
  color: #f1ebff;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.chips li {
  padding: 9px 15px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(18, 11, 36, 0.55);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
}

@media (min-width: 880px) {
  .songs {
    padding: 64px 56px;
  }
}

/* check list */

.ticks {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.ticks li {
  position: relative;
  padding-left: 34px;
  color: var(--muted);
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28em;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--warm);
}

.ticks li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: calc(0.28em + 5px);
  width: 8px;
  height: 5px;
  border-left: 2.5px solid var(--navy);
  border-bottom: 2.5px solid var(--navy);
  transform: rotate(-45deg);
}

.ticks strong {
  color: var(--text);
}

/* pricing */

.pricing {
  display: grid;
  gap: 16px;
}

@media (min-width: 820px) {
  .pricing {
    grid-template-columns: 1fr 1fr;
  }
}

.plan {
  padding: 26px 22px;
  border: 1px solid var(--border);
  border-radius: 30px;
  background: var(--surface);
}

.plan.pro {
  border: 2px solid var(--gold);
  background: linear-gradient(180deg, #33214f, #231841 60%);
}

.plan h3 {
  font-size: 1.7rem;
}

.plan .sub {
  margin-top: 6px;
  color: var(--muted);
}

.prices {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.prices li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(18, 11, 36, 0.55);
  color: var(--muted);
  font-weight: 700;
}

.prices b {
  color: var(--text);
  font-size: 1.35rem;
  font-weight: 900;
}

.price-note {
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.98rem;
}

.banner {
  margin-bottom: 20px;
  padding: 14px 18px;
  border-radius: 18px;
  background: var(--warm);
  color: var(--navy);
  font-size: 1.15rem;
  font-weight: 900;
  text-align: center;
}

/* faq */

.faq {
  display: grid;
  gap: 12px;
  max-width: 48rem;
}

.faq details {
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
}

.faq summary {
  position: relative;
  padding: 18px 52px 18px 20px;
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1;
}

.faq details[open] summary::after {
  content: "\2212";
}

.faq summary:focus-visible {
  border-radius: 20px;
}

.faq .answer {
  padding: 0 20px 20px;
  color: var(--muted);
}

.faq .answer > * + * {
  margin-top: 12px;
}

.faq .answer ul,
.prose ul,
.prose ol {
  padding-left: 1.3em;
  list-style: disc;
}

.prose ol {
  list-style: decimal;
}

/* ---------- inner pages ---------- */

.page-head {
  padding: 56px 0 28px;
  background: radial-gradient(120% 140% at 50% -40%, rgba(249, 73, 76, 0.28), rgba(105, 57, 175, 0.16) 50%, rgba(18, 11, 36, 0) 78%);
}

.page-head h1 {
  font-size: clamp(2.3rem, 9.5vw, 4rem);
}

.page-head p {
  margin-top: 14px;
  max-width: 40rem;
}

.updated {
  display: inline-block;
  margin-top: 18px;
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 800;
}

.prose {
  max-width: 46rem;
  padding-top: 20px;
  padding-bottom: 80px;
}

.prose h2 {
  margin: 44px 0 14px;
  font-size: clamp(1.5rem, 5.6vw, 2rem);
  line-height: 1.15;
}

.prose h3 {
  margin: 26px 0 8px;
  font-size: 1.15rem;
}

.prose p,
.prose li {
  color: var(--muted);
}

.prose p + p,
.prose p + ul,
.prose ul + p,
.prose p + ol,
.prose ol + p {
  margin-top: 12px;
}

.prose li + li {
  margin-top: 8px;
}

.prose strong {
  color: var(--text);
}

.prose a {
  overflow-wrap: anywhere;
}

.prose .faq {
  margin-top: 16px;
}

.callout {
  margin: 20px 0;
  padding: 20px;
  border: 1px solid var(--border);
  border-left: 5px solid var(--gold);
  border-radius: 18px;
  background: var(--surface);
}

.callout p,
.callout li {
  color: var(--text);
}

.contact-card {
  margin-top: 8px;
  padding: 24px 22px;
  border-radius: 26px;
  background: var(--warm);
  color: var(--navy);
}

.contact-card p {
  color: var(--navy);
  font-weight: 700;
}

.contact-card a {
  display: inline-block;
  margin: 6px 0 8px;
  color: var(--navy);
  font-size: clamp(1.4rem, 6.4vw, 2rem);
  font-weight: 900;
  overflow-wrap: anywhere;
}

/* ---------- footer ---------- */

.site-footer {
  padding: 44px 0 56px;
  border-top: 1px solid var(--border);
  background: #0d0719;
  color: var(--muted);
  font-size: 0.98rem;
}

.site-footer .wrap {
  display: grid;
  gap: 24px;
}

.site-footer p {
  margin-top: 10px;
}

.site-footer nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
}

.site-footer nav a {
  display: inline-block;
  padding: 6px 0;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.site-footer nav a:hover {
  color: var(--gold);
  text-decoration: underline;
}

@media (min-width: 720px) {
  .site-footer .wrap {
    grid-template-columns: 1fr auto;
    align-items: start;
  }
}

/* ---------- 404 ---------- */

.notfound {
  display: grid;
  place-items: center;
  min-height: 70vh;
  padding: 64px 0;
  text-align: center;
}

.notfound img {
  width: 96px;
  height: 96px;
  margin: 0 auto 24px;
  border-radius: 24px;
}

.notfound p {
  margin: 16px auto 28px;
  max-width: 28rem;
}

.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--warm);
  color: var(--navy);
  font-weight: 900;
  text-decoration: none;
}

.btn:hover {
  color: var(--navy);
  filter: brightness(1.06);
}

/* ---------- scroll reveal (only when JS is on and motion is welcome) ---------- */

@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }
  .js .reveal.in {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
