.demo-page-launch {
  background: #f7f9fc;
}

.demo-page-launch main {
  overflow: hidden;
  background: #f7f9fc;
}

.demo-page-launch .topbar {
  background: rgba(255, 255, 255, .96);
}

.demo-page-launch .demo-hero {
  padding: 54px 0 28px;
  background: #f7f9fc;
}

.demo-page-launch .demo-hero h1 {
  max-width: 860px;
  margin: 0 auto 14px;
  font-size: clamp(42px, 4.5vw, 64px);
  line-height: .98;
  letter-spacing: -.06em;
}

.demo-page-launch .demo-hero .lead {
  max-width: 700px;
  margin: 0 auto;
  color: #526174;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.55;
}

.demo-page-launch .demo-shell {
  padding: 0;
  background: #f7f9fc;
}

.demo-page-launch .demo-style-switcher {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px;
  width: min(1000px, calc(100% - 40px));
  padding: 24px 0 4px;
}

.demo-page-launch .demo-style-switcher-label {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.demo-page-launch .demo-style-option {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.demo-page-launch .demo-style-option input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  margin: 0;
  border-radius: 50%;
  border: 2px solid var(--line);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: border-color .15s ease;
}

.demo-page-launch .demo-style-option input[type="radio"]::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
  transform: scale(0);
  transition: transform .15s ease;
}

.demo-page-launch .demo-style-option input[type="radio"]:checked {
  border-color: var(--blue);
}

.demo-page-launch .demo-style-option input[type="radio"]:checked::after {
  transform: scale(1);
}

.demo-page-launch .demo-style-option:has(input:checked) {
  color: var(--blue);
}

.demo-page-launch .demo-frame-wrap {
  position: relative;
  width: min(1000px, calc(100% - 40px));
  padding: 0;
}

.demo-page-launch .demo-frame {
  position: absolute;
  top: 0;
  left: 50%;
  transform-origin: top center;
  background: #f7f9fc;
}

.demo-page-launch .demo-build {
  padding: 56px 0 32px;
  background: #f7f9fc;
}

.demo-page-launch .demo-build-card {
  width: min(1000px, calc(100% - 40px));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 6px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.demo-page-launch .demo-build-card p {
  margin: 0;
  color: #34445c;
  font-size: 16px;
  font-weight: 750;
  line-height: 1.35;
  white-space: nowrap;
}

.demo-page-launch .demo-build-actions {
  width: 190px;
  gap: 11px;
}

.demo-page-launch .demo-build-actions .btn {
  width: 100%;
  min-height: 44px;
  padding-inline: 16px;
  border-radius: 12px;
}

.demo-page-launch .demo-build-checks {
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 13px;
  color: #637188;
  font-size: 10px;
  white-space: nowrap;
}

.demo-page-launch .demo-build-checks span::before {
  width: 16px;
  height: 16px;
  display: inline-grid;
  place-items: center;
  margin-right: 6px;
  color: #fff;
  border-radius: 50%;
  background: var(--blue);
  font-size: 9px;
}

.demo-page-launch .demo-pricing {
  padding: 38px 0 24px;
  background: #f7f9fc;
  scroll-margin-top: 82px;
}

.demo-page-launch .demo-pricing-inner {
  width: min(1040px, calc(100% - 40px));
}

.demo-page-launch .demo-pricing-heading {
  max-width: 650px;
  margin: 0 auto 28px;
  text-align: center;
}

.demo-page-launch .demo-pricing-heading h2 {
  margin: 0 0 12px;
  color: #071735;
  font-size: clamp(38px, 4vw, 52px);
  line-height: .98;
  letter-spacing: -.06em;
}

.demo-page-launch .bml-plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.demo-page-launch .bml-plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 440px;
  padding: 26px;
  color: #071735;
  border: 1px solid #dfe7f2;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 22px 54px -42px rgba(7, 23, 53, .42);
}

.demo-page-launch .bml-plan-premium {
  border-color: var(--blue);
  background: linear-gradient(145deg, #fff 38%, #f5f8ff 100%);
  box-shadow: 0 22px 55px -38px rgba(11, 85, 255, .34);
}

.demo-page-launch .bml-popular-badge {
  position: absolute;
  top: 0;
  right: 18px;
  z-index: 2;
  transform: translateY(-50%);
  padding: 7px 15px;
  color: #fff;
  border-radius: 999px;
  background: var(--blue);
  box-shadow: 0 9px 24px -13px rgba(11, 85, 255, .75);
  font-size: 10px;
  font-weight: 900;
  white-space: nowrap;
}

.demo-page-launch .bml-plan-header {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  min-height: 74px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e6ecf4;
}

.demo-page-launch .demo-plan-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--blue);
  border-radius: 12px;
  background: #edf4ff;
}

/* Founder, 2026-09-20: "a small rocket is a pointless rocket" - matches
   the View Plans modal's plan-icon size (css/billing.css
   .bml-plan-icon svg) and the homepage's own pricing section. */
.demo-page-launch .demo-plan-icon svg {
  width: 37px;
  height: 37px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.demo-page-launch .demo-plan-name h3 {
  margin: 0 0 6px;
  color: #071735;
  font-size: 21px;
  line-height: 1;
  letter-spacing: -.035em;
}

.demo-page-launch .demo-plan-name p {
  margin: 0;
  color: #758196;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
}

.demo-page-launch .bml-plan-price {
  flex: 0 0 auto;
  color: #071735;
  font-size: 40px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.055em;
}

.demo-page-launch .bml-plan-price span {
  margin-left: 3px;
  color: #758196;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
}

.demo-page-launch .bml-premium-trial-badge {
  align-self: flex-start;
  margin: 18px 0 0;
  padding: 5px 9px;
  color: #087651;
  border: 1px solid #bdebdc;
  border-radius: 999px;
  background: #e9fbf4;
  font-size: 10px;
  font-weight: 850;
  line-height: 1;
}

.demo-page-launch .bml-plan-features {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.demo-page-launch .bml-plan-features li {
  display: flex;
  align-items: flex-start;
  margin: 0;
  color: #34445c;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.35;
}

.demo-page-launch .bml-plan-features li::before {
  content: "✓";
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  display: grid;
  place-items: center;
  margin: 0 9px 0 0;
  color: #fff;
  border-radius: 50%;
  background: var(--blue);
  font-size: 9px;
  font-weight: 950;
}

.demo-page-launch .bml-comparison {
  max-width: 900px;
  margin: 24px auto 0;
}

.demo-page-launch .bml-comparison-toggle {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 0 auto;
  padding: 0 18px;
  color: #10213d;
  border: 1px solid #dbe5f1;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 28px -24px rgba(7, 23, 53, .45);
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
}

.demo-page-launch .bml-comparison-toggle svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .22s ease;
}

.demo-page-launch .bml-comparison-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.demo-page-launch .bml-comparison-panel {
  max-height: 0;
  margin-top: 20px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: max-height .48s cubic-bezier(.16, 1, .3, 1), opacity .25s ease, transform .32s ease;
}

.demo-page-launch .bml-comparison-panel.is-open {
  max-height: 1800px;
  opacity: 1;
  transform: translateY(0);
}

.demo-page-launch .bml-comparison-scroll {
  overflow-x: auto;
  border: 1px solid #dfe7f2;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 54px -42px rgba(7, 23, 53, .38);
}

.demo-page-launch .bml-comparison table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
}

.demo-page-launch .bml-comparison th,
.demo-page-launch .bml-comparison td {
  padding: 14px 20px;
  border-bottom: 1px solid #edf1f7;
  color: #3a4960;
  font-size: 13px;
  font-weight: 650;
  text-align: center;
}

.demo-page-launch .bml-comparison th {
  color: #071735;
  background: #fbfdff;
  font-weight: 850;
}

.demo-page-launch .bml-comparison th:first-child,
.demo-page-launch .bml-comparison td:first-child {
  width: 52%;
  text-align: left;
}

.demo-page-launch .bml-comparison tbody tr:last-child td {
  border-bottom: 0;
}

.demo-page-launch .comparison-check {
  color: var(--blue);
  font-size: 17px;
  font-weight: 950;
}

.demo-page-launch .comparison-empty {
  color: #aab5c3;
}

.demo-page-launch .cta {
  padding: 12px 0 40px;
  background: #f7f9fc;
}

.demo-page-launch .contact-launch-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 101;
  width: min(520px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: 32px;
  overflow-y: auto;
  color: #071735;
  border: 1px solid #dfe7f2;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(7, 23, 53, .24);
  transform: translate(-50%, -50%);
}

.demo-page-launch .contact-launch-modal[hidden],
.demo-page-launch .contact-launch-backdrop[hidden] {
  display: none;
}

.demo-page-launch .contact-launch-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(7, 23, 53, .42);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.demo-page-launch.contact-launch-open {
  overflow: hidden;
}

.demo-page-launch .contact-launch-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  color: #40516a;
  border: 0;
  border-radius: 50%;
  background: #f2f5f9;
  font: inherit;
  font-size: 24px;
  cursor: pointer;
}

.demo-page-launch .contact-launch-brand {
  width: 190px;
  display: block;
  margin-bottom: 28px;
}

.demo-page-launch .contact-launch-brand img {
  width: 100%;
  height: auto;
  display: block;
}

.demo-page-launch .contact-launch-eyebrow {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.demo-page-launch .contact-launch-modal h2 {
  margin: 0;
  font-size: 34px;
  letter-spacing: -.05em;
}

.demo-page-launch .contact-launch-modal form {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.demo-page-launch .contact-launch-modal label {
  display: grid;
  gap: 7px;
  color: #172943;
  font-size: 12px;
  font-weight: 800;
}

.demo-page-launch .contact-launch-modal input,
.demo-page-launch .contact-launch-modal textarea {
  width: 100%;
  padding: 12px 13px;
  color: #071735;
  border: 1px solid #dce5f1;
  border-radius: 10px;
  outline: 0;
  background: #fff;
  font: inherit;
  font-size: 14px;
}

.demo-page-launch .contact-launch-modal textarea {
  resize: vertical;
}

.demo-page-launch .contact-launch-modal input::placeholder,
.demo-page-launch .contact-launch-modal textarea::placeholder {
  color: #9aa8ba;
  font-weight: 400;
  opacity: 1;
}

.demo-page-launch .contact-launch-modal input:focus,
.demo-page-launch .contact-launch-modal textarea:focus {
  border-color: rgba(11, 85, 255, .6);
  box-shadow: 0 0 0 3px rgba(11, 85, 255, .1);
}

.demo-page-launch .contact-launch-direct {
  margin: 18px 0 0;
  color: #637188;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

.demo-page-launch .contact-launch-direct a {
  color: var(--blue);
  font-weight: 800;
}

@media (max-width: 960px) {
  .demo-page-launch .demo-build-card p {
    white-space: normal;
  }
}

@media (max-width: 820px) {
  .demo-page-launch .demo-hero {
    padding: 34px 0 20px;
  }

  .demo-page-launch .demo-hero h1 {
    font-size: clamp(34px, 10vw, 48px);
  }

  .demo-page-launch .demo-frame-wrap,
  .demo-page-launch .demo-build-card,
  .demo-page-launch .demo-pricing-inner {
    width: min(100% - 28px, 680px);
  }

  /* Desktop-only, founder's call - mobile already shows the app's own
     native single-column layout regardless of style, so there's nothing
     for this switcher to visibly demonstrate there. */
  .demo-page-launch .demo-style-switcher {
    display: none;
  }

  .demo-page-launch .demo-build-card {
    flex-direction: column;
    gap: 12px;
    padding: 18px 0;
  }

  .demo-page-launch .demo-frame-wrap {
    height: auto !important;
  }

  .demo-page-launch .demo-frame {
    position: static;
    width: 100% !important;
    transform: none !important;
  }

  .demo-page-launch .demo-build-actions {
    width: min(100%, 230px);
    justify-items: stretch;
  }

  .demo-page-launch .bml-plan-grid {
    grid-template-columns: 1fr;
  }

  .demo-page-launch .bml-plan-card {
    min-height: 0;
  }
}

@media (max-width: 560px) {
  .demo-page-launch .demo-hero .lead {
    font-size: 15px;
  }

  .demo-page-launch .demo-frame-wrap {
    width: 100%;
  }

  .demo-page-launch .demo-build {
    padding-bottom: 34px;
  }

  .demo-page-launch .demo-build-checks {
    grid-template-columns: 1fr;
  }

  .demo-page-launch .demo-pricing {
    padding: 42px 0 48px;
  }

  .demo-page-launch .demo-pricing-heading {
    margin-bottom: 20px;
  }

  .demo-page-launch .demo-pricing-heading h2 {
    font-size: 38px;
  }

  .demo-page-launch .bml-plan-card {
    padding: 22px 18px;
  }

  .demo-page-launch .bml-plan-header {
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 10px;
  }

  .demo-page-launch .demo-plan-icon {
    width: 42px;
    height: 42px;
  }

  .demo-page-launch .bml-plan-price {
    font-size: 34px;
  }

  .demo-page-launch .bml-comparison-panel.is-open {
    max-height: 2800px;
  }

  .demo-page-launch .bml-comparison table,
  .demo-page-launch .bml-comparison tbody,
  .demo-page-launch .bml-comparison tbody tr {
    display: block;
    min-width: 0;
  }

  .demo-page-launch .bml-comparison thead {
    display: none;
  }

  .demo-page-launch .bml-comparison tbody {
    padding: 8px;
  }

  .demo-page-launch .bml-comparison tbody tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 88px 88px;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #edf1f7;
  }

  .demo-page-launch .bml-comparison tbody td {
    width: auto;
    min-width: 0;
    display: grid;
    place-items: center;
    padding: 12px 6px;
    border: 0;
    font-size: 11px;
  }

  .demo-page-launch .bml-comparison tbody td:first-child {
    width: auto;
    place-items: center start;
    padding-left: 10px;
    text-align: left;
  }

  .demo-page-launch .bml-comparison tbody td:nth-child(2)::before,
  .demo-page-launch .bml-comparison tbody td:nth-child(3)::before {
    display: block;
    margin-bottom: 3px;
    color: #8794a6;
    font-size: 8px;
    font-weight: 850;
    text-transform: uppercase;
  }

  .demo-page-launch .bml-comparison tbody td:nth-child(2)::before {
    content: "Basic";
  }

  .demo-page-launch .bml-comparison tbody td:nth-child(3)::before {
    content: "Premium";
  }
}

/* Real Features directory - same component as index.html's "View All
   Features" (css/homepage-hybrid.css), copied here rather than linking
   that stylesheet directly, since every rule there is scoped to the
   .homepage-hybrid body class this page doesn't (and shouldn't) carry.
   Rescoped to .demo-page-launch instead; the actual rules are otherwise
   identical so the two pages' directories look and behave the same. */
.demo-page-launch .demo-feature-directory {
  width: min(1120px, calc(100% - 40px));
  margin: 30px auto 0;
  text-align: center;
}

.demo-page-launch .demo-feature-directory-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid #cfdced;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #0b1f3a;
  box-shadow: 0 8px 24px rgba(24, 71, 129, 0.08);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.demo-page-launch .demo-feature-directory-toggle:hover {
  border-color: #1465f3;
  box-shadow: 0 10px 28px rgba(20, 101, 243, 0.14);
  transform: translateY(-1px);
}

.demo-page-launch .demo-feature-directory-toggle:focus-visible {
  outline: 3px solid rgba(20, 101, 243, 0.2);
  outline-offset: 3px;
}

.demo-page-launch .demo-feature-directory-toggle svg {
  width: 17px;
  height: 17px;
  stroke: #1465f3;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 220ms ease;
}

.demo-page-launch .demo-feature-directory-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.demo-page-launch .demo-feature-directory-panel {
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10px);
  transition: max-height 620ms ease, margin-top 260ms ease, opacity 220ms ease, transform 260ms ease;
}

.demo-page-launch .demo-feature-directory-panel.is-open {
  max-height: 14000px;
  margin-top: 28px;
  opacity: 1;
  transform: translateY(0);
}

.demo-page-launch .demo-feature-directory-grid {
  /* Demo only ever has the single "Real Features, Not a Mockup" card (unlike
     the homepage directory's 8-card grid), so a 2-column track left it
     stranded in the left column with an empty column beside it. One fixed-
     width, centered column instead. */
  display: grid;
  grid-template-columns: minmax(0, 820px);
  justify-content: center;
  gap: 18px;
  text-align: left;
}

.demo-page-launch .demo-feature-group {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 25px;
  border: 1px solid #dce6f3;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 30px rgba(23, 57, 100, 0.055);
}

.demo-page-launch .demo-feature-group header {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
}

.demo-page-launch .demo-feature-group-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 13px;
  background: #edf4ff;
  color: #1465f3;
}

.demo-page-launch .demo-feature-group-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.demo-page-launch .demo-feature-group small {
  display: block;
  margin-bottom: 3px;
  color: #1465f3;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.demo-page-launch .demo-feature-group h3 {
  margin: 0;
  color: #071a35;
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.demo-page-launch .demo-feature-group > p {
  margin: 17px 0 16px;
  color: #53657d;
  font-size: 13px;
  line-height: 1.55;
}

.demo-page-launch .demo-feature-group-icon img {
  width: 27px;
  height: 27px;
  object-fit: contain;
}

/* "This is Everything Your Booking App Can Do" checklist - a grouped,
   scannable summary rather than a long single bullet list. */
.demo-page-launch .feature-everything-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 32px;
  margin-top: 20px;
}

.demo-page-launch .feature-everything-category strong {
  display: block;
  margin-bottom: 8px;
  color: #1465f3;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

/* Reuses the same .demo-feature-group ul/li/li::before dot-bullet list
   styling as every other feature card below (defined further down this
   file) - just forced to a single column per category instead of that
   shared rule's default 2-column grid, since these are already split into
   4 grouped quadrants. */
.demo-page-launch .demo-feature-group .feature-everything-category ul {
  grid-template-columns: 1fr;
  gap: 7px;
}

@media (max-width: 700px) {
  .demo-page-launch .feature-everything-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

.demo-page-launch .demo-feature-group ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.demo-page-launch .demo-feature-group li {
  position: relative;
  min-width: 0;
  padding-left: 16px;
  color: #263b57;
  font-size: 12px;
  line-height: 1.35;
}

.demo-page-launch .demo-feature-group li::before {
  content: "";
  position: absolute;
  top: 0.45em;
  left: 1px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #1465f3;
  box-shadow: 0 0 0 3px #eaf2ff;
}

@media (max-width: 700px) {
  /* Desktop-only, founder's call - mobile has no separate demo page to put
     this under, so the equivalent block lives on index.html under the
     hero's own booking app instead. */
  .demo-page-launch .demo-feature-directory {
    display: none;
  }
}
