:root {
  --purple: #ab45ff;
  --purple-soft: color-mix(in srgb, var(--purple) 15%, transparent);
  --ink: #ffffff;
  --body: #e8e5ec;
  --muted: #aaa4b3;
  --line: rgba(255, 255, 255, 0.14);
  --surface: rgba(15, 15, 17, 0.88);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  isolation: isolate;
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(
      circle at 50% 8%,
      color-mix(in srgb, var(--purple) 25%, transparent),
      transparent 34rem
    ),
    radial-gradient(
      circle at 92% 24%,
      color-mix(in srgb, var(--purple) 14%, transparent),
      transparent 36rem
    ),
    radial-gradient(
      circle at 12% 78%,
      color-mix(in srgb, var(--purple) 18%, transparent),
      transparent 42rem
    ),
    linear-gradient(180deg, #050506 0%, #000 48%, #070608 100%);
  color: var(--ink);
  font-family: "Lato", sans-serif;
}

.page-overlay {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.82;
  background:
    linear-gradient(rgba(255,255,255,0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px),
    radial-gradient(
      circle at 50% 16%,
      transparent 0,
      rgba(0,0,0,0.1) 38%,
      rgba(0,0,0,0.76) 100%
    );
  background-size: 44px 44px, 44px 44px, auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.section-shell {
  width: min(calc(100% - 32px), 1180px);
  margin-inline: auto;
}

.panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.055),
      rgba(255,255,255,0.025)
    ),
    var(--surface);
  box-shadow: 0 28px 90px rgba(0,0,0,0.62);
}

.eyebrow {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 66px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--purple);
  border-radius: 12px;
  background: var(--purple-soft);
  box-shadow: 0 0 24px color-mix(in srgb, var(--purple) 35%, transparent);
  color: #fff;
  font-family: "Changa One", sans-serif;
  font-size: 17px;
  font-weight: 400;
}

.brand-mark.small {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  font-size: 14px;
}

.hero {
  padding-top: 28px;
  padding-bottom: 100px;
  text-align: center;
}

.hero-copy {
  display: grid;
  justify-items: center;
}

.hero h1,
.section-heading h2,
.feature-copy h2,
.audience h2,
.contact h2 {
  font-family: "Changa One", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 1000px;
  margin: 18px 0 24px;
  /*
   * Keep the authored hero line breaks identical at every viewport.
   * One responsive font size applies to every line; narrower screens
   * simply scale the complete headline down instead of reflowing it.
   */
  width: 100%;
  font-size: clamp(32px, 8.2vw, 100px);
  line-height: 0.88;
  text-shadow: 0 22px 70px rgba(0,0,0,0.72);
}

.hero h1 span {
  display: block;
  white-space: nowrap;
}

.inline-accent {
  color: var(--purple);
}

.accent {
  color: var(--purple);
  text-shadow:
    0 0 28px color-mix(in srgb, var(--purple) 50%, transparent),
    0 22px 70px rgba(0,0,0,0.72);
}

.hero-lead {
  max-width: 760px;
  margin: 0;
  color: var(--body);
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 700;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--purple);
  border-radius: 999px;
  background: var(--purple);
  box-shadow: 0 0 24px color-mix(in srgb, var(--purple) 42%, transparent);
  color: white;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transition:
    transform 160ms ease,
    filter 160ms ease,
    background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.button.secondary {
  background: rgba(255,255,255,0.055);
  border-color: var(--line);
  box-shadow: none;
}

.product-preview {
  width: min(100%, 790px);
  margin: 70px auto 0;
  text-align: left;
}

.preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px 16px;
  border-bottom: 1px solid var(--line);
}

.preview-header > div {
  display: grid;
  gap: 5px;
}

.preview-header h2 {
  margin: 0;
  font-family: "Changa One", sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.request-count {
  flex: none;
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.045);
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.preview-body {
  padding: 22px;
}

.preview-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.preview-fields label,
.field {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.fake-input,
.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 52px;
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  outline: none;
  background: rgba(255,255,255,0.065);
  color: white;
  font-family: "Lato", sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: normal;
  text-transform: none;
}

.field select {
  appearance: none;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--purple);
  background: rgba(255,255,255,0.105);
  box-shadow:
    0 0 0 4px color-mix(in srgb, var(--purple) 13%, transparent),
    0 0 24px color-mix(in srgb, var(--purple) 42%, transparent);
}

.fake-button {
  display: grid;
  min-height: 50px;
  place-items: center;
  margin-top: 15px;
  border-radius: 999px;
  background: var(--purple);
  box-shadow: 0 0 24px color-mix(in srgb, var(--purple) 42%, transparent);
  color: white;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.submitted {
  margin-top: 25px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.song-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,0.045);
}

.song-row > div:first-child {
  display: grid;
  gap: 4px;
}

.song-row strong {
  font-size: 18px;
  font-weight: 900;
}

.song-row span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.votes {
  padding: 8px 11px;
  border: 1px solid rgba(125,255,191,0.46);
  border-radius: 999px;
  color: #7dffbf;
  font-weight: 900;
}

.story,
.how,
.features,
.audience,
.contact {
  padding-top: 80px;
  padding-bottom: 80px;
}

.section-heading {
  max-width: 790px;
  margin-bottom: 40px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2,
.feature-copy h2,
.audience h2,
.contact h2 {
  margin: 10px 0 16px;
  font-size: clamp(36px, 5.5vw, 66px);
  line-height: 0.96;
}

.section-heading > p:last-child,
.feature-copy > p:last-child,
.audience-panel > p,
.contact-copy > p:last-child {
  color: var(--body);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.7;
}

.three-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.story-card {
  padding: 25px;
}

.card-number {
  display: inline-block;
  margin-bottom: 38px;
  color: var(--purple);
  font-family: "Changa One", sans-serif;
  font-size: 20px;
}

.story-card h3,
.step h3,
.feature h3 {
  margin: 0 0 9px;
  font-size: 19px;
  font-weight: 900;
}

.story-card p,
.step p,
.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.65;
}

.steps {
  display: grid;
  max-width: 850px;
  margin: 50px auto 0;
}

.step {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  align-items: start;
}

.step-number {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid var(--purple);
  border-radius: 18px;
  background: var(--purple-soft);
  box-shadow: 0 0 26px color-mix(in srgb, var(--purple) 25%, transparent);
  font-family: "Changa One", sans-serif;
  font-size: 26px;
}

.step-line {
  width: 1px;
  height: 36px;
  margin: 8px 0 8px 29px;
  background: linear-gradient(var(--purple), transparent);
}

.features {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 70px;
  align-items: start;
}

.feature-list {
  display: grid;
  gap: 12px;
}

.feature {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 15px;
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,0.045);
}

.feature-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 14px;
  background: var(--purple-soft);
  color: var(--purple);
  font-size: 21px;
  font-weight: 900;
}

.audience-panel {
  padding: clamp(28px, 6vw, 58px);
  text-align: center;
}

.audience-panel h2 {
  max-width: 850px;
  margin-inline: auto;
}

.audience-panel p {
  max-width: 720px;
  margin: 0 auto 27px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 60px;
  align-items: start;
}

.contact-form {
  padding: 24px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-bottom: 15px;
}

.submit-button {
  width: 100%;
  margin-top: 18px;
}

.form-status {
  min-height: 22px;
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  margin-top: 60px;
  padding-top: 28px;
  padding-bottom: 36px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.footer-tagline {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
}

@media (max-width: 850px) {
  .three-grid,
  .features,
  .contact {
    grid-template-columns: 1fr;
  }

  .features,
  .contact {
    gap: 35px;
  }

  .footer {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
}

@media (max-width: 639px) {
  .hero {
    padding-top: 20px;
    padding-bottom: 65px;
  }

  .brand {
    margin-bottom: 50px;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .product-preview {
    margin-top: 48px;
  }

  .preview-fields,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .preview-header,
  .preview-body {
    padding-left: 17px;
    padding-right: 17px;
  }

  .story,
  .how,
  .features,
  .audience,
  .contact {
    padding-top: 55px;
    padding-bottom: 55px;
  }

  .three-grid {
    gap: 12px;
  }

  .section-heading h2,
  .feature-copy h2,
  .audience h2,
  .contact h2 {
    font-size: clamp(34px, 11vw, 50px);
  }
}


.headline-line {
  display: block;
  white-space: nowrap;
}

.copy-line {
  display: block;
}

/* Invisible-to-humans spam trap; intentionally not display:none. */
.contact-trap {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* Keep native select menu options readable in dark UI. */
.field select,
.field select option {
  background: #111114;
  color: #ffffff;
}

.field select option:checked,
.field select option:hover {
  background: #2a1738;
  color: #ffffff;
}

/* Tell native browser controls that this is a dark interface. */
.field select {
  color-scheme: dark;
  background-color: #111114;
  color: #ffffff;
}

.field select option {
  background-color: #111114;
  color: #ffffff;
}

/* Clearly show that a successfully submitted form is finished. */
form.is-submitted input,
form.is-submitted select,
form.is-submitted textarea {
  opacity: 0.5;
  cursor: not-allowed;
  filter: grayscale(0.25);
}

form.is-submitted button {
  cursor: default;
  opacity: 0.7;
}

form.is-submitted input:disabled,
form.is-submitted select:disabled,
form.is-submitted textarea:disabled {
  color: rgba(255, 255, 255, 0.55);
  -webkit-text-fill-color: rgba(255, 255, 255, 0.55);
}

/* Preserve authored heading lines while allowing the whole title to scale down. */
.headline-line {
  display: block;
  white-space: nowrap;
  max-width: 100%;
}

/* Horizontal overflow should never escape the page after responsive fitting. */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}

/* Fixed authored title lines must stay inside their responsive cell. */
h1:has(.headline-line),
h2:has(.headline-line) {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.headline-line {
  display: block;
  white-space: nowrap;
  max-width: none;
}

/* Responsive heading variants */
.heading-variant {
  display: block;
}

.heading-variant-problem-mobile,
.heading-variant-tablet {
  display: none;
}

/*
 * PHONE
 * All section H2 titles use the same size.
 */
@media (max-width: 639px) {
  h2:has(.headline-line) {
    font-size: var(
      --mobile-section-title-size,
      clamp(34px, 11vw, 50px)
    ) !important;
  }

  .problem-responsive-title
  .heading-variant-default {
    display: none;
  }

  .problem-responsive-title
  .heading-variant-problem-mobile {
    display: block;
  }
}

/*
 * TABLET PORTRAIT
 * Same font size as before; only change the line arrangement.
 */
@media (min-width: 640px) and (max-width: 900px) {
  .tablet-responsive-title
  .heading-variant-default {
    display: none;
  }

  .tablet-responsive-title
  .heading-variant-tablet {
    display: block;
  }
}

/*
 * PHONE PORTRAIT
 * Reuse the cleaner two-line tablet arrangements for these titles.
 */
@media (max-width: 639px) and (orientation: portrait) {
  .tablet-responsive-title
  .heading-variant-default {
    display: none;
  }

  .tablet-responsive-title
  .heading-variant-tablet {
    display: block;
  }
}

/* Dedicated phone layout for the Guests get simplicity heading. */
.heading-variant-feature-mobile {
  display: none;
}

@media (max-width: 639px) and (orientation: portrait) {
  .feature-responsive-title
  .heading-variant-default,
  .feature-responsive-title
  .heading-variant-tablet {
    display: none;
  }

  .feature-responsive-title
  .heading-variant-feature-mobile {
    display: block;
  }
}

/* Your Favourite Dance Song: preserve desktop, force two lines on phones. */
.dance-title-line {
  display: inline;
}

.dance-title-line + .dance-title-line::before {
  content: " ";
}

@media (max-width: 639px) {
  .dance-title-line {
    display: block;
    white-space: nowrap;
  }

  .dance-title-line + .dance-title-line::before {
    content: none;
  }
}

/* Requests by Guests language switcher */
.rbg-language-toggle {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 10000;

  display: inline-flex;
  align-items: center;
  gap: 7px;

  padding: 7px 11px;

  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;

  background:
    rgba(12, 12, 15, 0.78);

  box-shadow:
    0 12px 35px rgba(0, 0, 0, 0.32);

  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.rbg-language-button {
  appearance: none;
  border: 0;
  padding: 0;

  background: transparent;
  color: rgba(255, 255, 255, 0.58);

  font: inherit;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.09em;

  cursor: pointer;

  transition:
    color 150ms ease,
    text-shadow 150ms ease;
}

.rbg-language-button:hover {
  color: #ffffff;
}

.rbg-language-button.is-active {
  color: var(--purple);
  text-shadow:
    0 0 18px rgba(171, 69, 255, 0.45);
}

.rbg-language-divider {
  color: rgba(255, 255, 255, 0.22);
  font-size: 11px;
}

@media (max-width: 639px) {
  .rbg-language-toggle {
    top: 10px;
    right: 10px;

    gap: 6px;
    padding: 6px 9px;
  }

  .rbg-language-button {
    font-size: 11px;
  }
}

/*
 * French responsive title refinements.
 */

/* Hidden unless a breakpoint explicitly enables it. */
.heading-variant-fr-problem-tablet {
  display: none;
}

/*
 * Tablet portrait + landscape, and typical phone-landscape widths:
 *
 * Les demandes ne devraient pas
 * venir de six endroits différents.
 */
@media (min-width: 640px) and (max-width: 1280px) {
  html[lang="fr-CA"]
  .problem-responsive-title
  .heading-variant-fr-problem-default {
    display: none;
  }

  html[lang="fr-CA"]
  .problem-responsive-title
  .heading-variant-problem-mobile {
    display: none;
  }

  html[lang="fr-CA"]
  .problem-responsive-title
  .heading-variant-fr-problem-tablet {
    display: block;
  }
}

/*
 * Narrow phone landscape can still report under 640 CSS pixels.
 * Use the same two-line French problem title there.
 */
@media (max-width: 639px) and (orientation: landscape) {
  html[lang="fr-CA"]
  .problem-responsive-title
  .heading-variant-fr-problem-default,
  html[lang="fr-CA"]
  .problem-responsive-title
  .heading-variant-problem-mobile {
    display: none;
  }

  html[lang="fr-CA"]
  .problem-responsive-title
  .heading-variant-fr-problem-tablet {
    display: block;
  }
}

/*
 * French contact title on phone landscape:
 *
 * Envie d’utiliser
 * Requests by Guests?
 *
 * Phone portrait and tablet portrait already use the tablet variant.
 */
@media (orientation: landscape) and (max-height: 600px) {
  html[lang="fr-CA"]
  .heading-variant-fr-contact-default {
    display: none !important;
  }

  html[lang="fr-CA"]
  .heading-variant-fr-contact-compact {
    display: block !important;
  }
}
