/**
 * /get-started: mobile-first guided conversion flow
 */
.jl-start-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--jl-ink, #0a1628);
  color: var(--jl-text, #fff);
  font-family: var(--jl-font, 'Inter', sans-serif);
}

.jl-start-page.jl-start-has-sticky {
  padding-bottom: 7.5rem;
}

@media (min-width: 768px) {
  .jl-start-page.jl-start-has-sticky {
    padding-bottom: 0;
  }
}

/* --- Sticky header --- */
.jl-start-header {
  position: sticky;
  top: 0;
  z-index: 1020;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0.65rem 1rem;
  background: rgba(10, 22, 40, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.jl-start-header__brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.jl-start-header nav a.jl-start-header__secondary {
  color: rgba(255, 255, 255, 0.95) !important;
  opacity: 1 !important;
  font-size: 0.875rem;
  font-weight: 600;
}

.jl-start-header__cta {
  flex-shrink: 0;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: transparent;
  color: var(--jl-accent, #ffc107);
  border: 2px solid var(--jl-accent, #ffc107);
  text-decoration: none;
  white-space: nowrap;
}

.jl-start-header__cta:hover {
  background: var(--jl-accent, #ffc107);
  color: var(--jl-ink, #0a1628);
}

.jl-start-header__secondary:hover {
  opacity: 1 !important;
  text-decoration: underline;
}

/* --- Hero --- */
.jl-start-hero {
  padding: 1.5rem 1rem 1.75rem;
  text-align: center;
  background: linear-gradient(165deg, var(--jl-ink, #0a1628) 0%, var(--jl-dark-alt, #132a3d) 55%, var(--jl-dark-lighter, #1e3a4f) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.jl-start-eyebrow {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b8f6ff;
  margin-bottom: 0.65rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.jl-start-hero__title {
  font-size: clamp(1.45rem, 4.5vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
  color: #ffffff;
}

.jl-start-hero__sub {
  font-size: clamp(1rem, 2.5vw, 1.0625rem);
  line-height: 1.65;
  color: #ffffff;
  max-width: min(36rem, 92vw);
  margin: 0 auto 1.1rem;
}

.jl-start-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  max-width: min(36rem, 100%);
  margin: 0 auto;
  padding: 0 0.25rem 0.25rem;
}

.jl-start-pill {
  flex: 0 1 auto;
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #ffffff;
}

.jl-start-pill span[aria-hidden='true'] {
  margin-right: 0.2rem;
}

/* --- Step track --- */
.jl-start-track-wrap {
  padding: 1rem 1rem 0;
  max-width: 28rem;
  margin: 0 auto;
}

.jl-start-track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem;
}

.jl-start-step {
  flex: 1;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.96);
  padding: 0.55rem 0.35rem;
  border-radius: 8px;
  position: relative;
  line-height: 1.25;
}

.jl-start-step.is-active {
  color: #ffd54f;
  background: rgba(255, 193, 7, 0.1);
}

.jl-start-step.is-done {
  color: #b8f6ff;
}

.jl-start-step__num {
  display: block;
  font-size: 0.6875rem;
  font-weight: 800;
  opacity: 1;
  margin-bottom: 0.2rem;
  color: inherit;
}

/* --- Main content --- */
.jl-start-body {
  flex: 1;
  padding: 1.25rem 1rem 2.5rem;
  max-width: 48rem;
  margin: 0 auto;
  width: 100%;
}

.jl-start-section-title {
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #d2f3fc;
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.jl-start-panel .jl-start-section-title {
  color: #064e63;
}

.jl-start-section-helper {
  margin: 0 0 0.85rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #ffffff;
}

.jl-start-hero__link {
  color: #7ee8fc;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.jl-start-hero__link:hover {
  color: #fff;
}

/* --- Step 1: problem selection (card UI, matches package cards) --- */
.jl-start-problem {
  margin-bottom: 0.25rem;
}

.jl-start-problem-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

@media (min-width: 520px) {
  .jl-start-problem-cards {
    grid-template-columns: 1fr 1fr;
  }
}

button.jl-start-problem-card {
  display: block;
  width: 100%;
  text-align: left;
  padding: 1rem 1.05rem;
  font: inherit;
  color: #0a1628;
  background: #fff;
  border: 2px solid rgba(15, 23, 42, 0.1);
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(10, 22, 40, 0.07);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.15s ease;
}

button.jl-start-problem-card:hover {
  border-color: rgba(11, 101, 121, 0.35);
  box-shadow: 0 8px 24px rgba(10, 22, 40, 0.1);
}

button.jl-start-problem-card.is-selected {
  border-color: var(--jl-brand-cyan-deep, #0b6579);
  box-shadow:
    0 0 0 3px rgba(11, 101, 121, 0.22),
    0 14px 36px rgba(10, 22, 40, 0.12);
  background: linear-gradient(165deg, #ffffff 0%, #f4f8fb 100%);
}

button.jl-start-problem-card--complex.is-selected {
  border-color: rgba(11, 101, 121, 0.45);
}

.jl-start-problem-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 8px;
  background: rgba(11, 101, 121, 0.1);
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}

.jl-start-problem-card__title {
  display: block;
  font-size: 0.9375rem;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}

.jl-start-problem-card__hint {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.35;
}

.jl-start-or-packages {
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  margin: 1.25rem 0 0.65rem;
}

/* --- Service cards --- */
.jl-start-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

@media (min-width: 480px) {
  .jl-start-cards {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }
}

button.jl-start-card {
  display: block;
  width: 100%;
  text-align: left;
  padding: 1.1rem 1.05rem;
  border-radius: 12px;
  border: 2px solid rgba(15, 23, 42, 0.1);
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
  font: inherit;
  color: #0a1628;
}

.jl-start-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 8px;
  background: rgba(11, 101, 121, 0.1);
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

button.jl-start-card:hover {
  border-color: rgba(11, 101, 121, 0.35);
  box-shadow: 0 8px 24px rgba(10, 22, 40, 0.08);
}

button.jl-start-card.is-selected {
  border-color: var(--jl-brand-cyan-deep, #0b6579);
  box-shadow:
    0 0 0 3px rgba(11, 101, 121, 0.28),
    0 14px 36px rgba(10, 22, 40, 0.14);
  background: linear-gradient(165deg, #ffffff 0%, #f4f8fb 100%);
}

.jl-start-card__title {
  font-size: clamp(0.95rem, 2.1vw, 1.0625rem);
  font-weight: 800;
  margin: 0 0 0.35rem;
  letter-spacing: -0.02em;
  color: #050a12;
  line-height: 1.28;
  text-align: left;
}

.jl-start-card__outcome {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: #020617;
  margin: 0 0 0.4rem;
}

.jl-start-card__best {
  font-size: 0.875rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  line-height: 1.45;
}

.jl-start-card__price {
  font-size: 0.8125rem;
  font-weight: 800;
  color: #0d4f1c;
  margin: 0.45rem 0 0;
}

/* --- White panels --- */
.jl-start-panel {
  background: #fff;
  border-radius: 14px;
  padding: 1.35rem 1.2rem;
  margin-top: 1rem;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 12px 40px rgba(10, 22, 40, 0.06);
  /* Default ink for any unclassed text; global style.css forces li to white otherwise */
  color: #0f172a;
}

/* Beat style.css `li { color: white }` (0,0,1), recommendation bullets & CTA checklist were invisible */
.jl-start-panel li {
  color: #0f172a;
}

.jl-start-panel .jl-start-section-helper {
  color: #1e293b;
  font-size: 0.9375rem;
}

.jl-start-panel.is-visible {
  animation: jl-start-fade 0.35s ease;
}

@keyframes jl-start-fade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Recommendation panel, matches “RecommendationPanel” layout (context + headline + stack) */
.jl-start-panel--recommend {
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  border-radius: 0.75rem;
  padding: 1.5rem;
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow:
    0 10px 15px -3px rgba(10, 22, 40, 0.1),
    0 4px 6px -4px rgba(10, 22, 40, 0.08);
}

.jl-start-rec__context {
  font-size: 0.8125rem;
  font-weight: 800;
  color: #0369a1;
  margin: 0 0 0.35rem;
  line-height: 1.35;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.jl-start-rec__headline {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.jl-start-rec__desc {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #1e293b;
  margin: 0 0 1rem;
}

.jl-start-rec__benefits {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  font-size: 0.875rem;
  line-height: 1.45;
  color: #0f172a;
}

.jl-start-rec__benefits li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.jl-start-rec__benefits li:last-child {
  margin-bottom: 0;
}

.jl-start-rec__benefits li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--jl-brand-cyan-deep, #0b6579);
  font-weight: 800;
  font-size: 0.85rem;
}

.jl-start-rec__price-stack {
  margin: 0 0 1rem;
}

.jl-start-rec__price-stack .jl-start-rec__price {
  font-size: 1.125rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  line-height: 1.3;
}

.jl-start-rec__price-stack .jl-start-rec__timeline {
  font-size: 0.875rem;
  font-weight: 600;
  color: #334155;
  margin: 0.25rem 0 0;
  line-height: 1.4;
}

.jl-start-rec__price-stack .jl-start-rec__roi {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #334155;
  margin: 0.35rem 0 0;
  line-height: 1.45;
}

.jl-start-rec__landing {
  display: block;
  text-align: center;
  margin-bottom: 0.75rem;
}

.jl-start-rec__actions--stack {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: stretch;
  margin-top: 0.25rem;
}

.jl-start-rec__actions--stack .jl-start-primary {
  width: 100%;
  margin-bottom: 0;
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
  border-radius: 0.375rem;
  font-size: 0.9375rem;
}

.jl-start-secondary--rec {
  color: #2563eb !important;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none !important;
  padding: 0.35rem;
}

.jl-start-secondary--rec:hover {
  color: #1d4ed8 !important;
  text-decoration: underline !important;
}

button.jl-start-card--custom {
  grid-column: 1 / -1;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.jl-start-card__price--custom {
  color: #033948 !important;
}

@media (min-width: 480px) {
  button.jl-start-card--custom {
    grid-column: span 2;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }
}

@media (min-width: 900px) {
  button.jl-start-card--custom {
    grid-column: 1 / -1;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Form */
.jl-start-form .form-label,
.jl-start-panel .jl-start-form legend.form-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: #0a1628;
}

/* Body uses light text; white panels must force dark labels (radios, checkbox) */
.jl-start-panel .jl-start-form .form-check-label,
.jl-start-panel .jl-start-form .form-check-label.small {
  color: #0a1628;
  font-size: 0.875rem;
  font-weight: 500;
}

.jl-start-panel .jl-start-form .form-check-label strong {
  color: #0a1628;
  font-weight: 700;
}

.jl-start-form .form-control,
.jl-start-form .form-select {
  font-size: 0.9375rem;
  border: 2px solid rgba(15, 23, 42, 0.12);
  border-radius: 10px;
  padding: 0.55rem 0.75rem;
}

.jl-start-form .form-control:focus,
.jl-start-form .form-select:focus {
  border-color: var(--jl-brand-cyan-deep, #0b6579);
  box-shadow: 0 0 0 3px rgba(11, 101, 121, 0.15);
}

.jl-start-intake-panel {
  display: none;
}

.jl-start-intake-panel.is-visible {
  display: block;
}

.jl-start-sum {
  font-size: 0.875rem;
  color: var(--jl-text-dark-muted, #4a4a4a);
}

.jl-start-sum dl {
  margin: 0;
  display: grid;
  gap: 0.5rem;
}

.jl-start-sum dt {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--jl-text-dark-dim, #6b7280);
  font-weight: 800;
  margin: 0;
}

.jl-start-sum dd {
  margin: 0;
  font-weight: 600;
  color: var(--jl-ink, #0a1628);
}

/* Reassurance + CTA */
.jl-start-reassure {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.5;
}

.jl-start-reassure li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.35rem;
}

.jl-start-reassure li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: var(--jl-brand-cyan-deep, #0b6579);
  font-size: 0.85rem;
}

.jl-start-primary {
  width: 100%;
  font-weight: 800;
  font-size: 1.0625rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: none;
  background: var(--jl-accent, #ffc107);
  color: var(--jl-ink, #0a1628);
  margin-bottom: 0.65rem;
  transition: background 0.2s, transform 0.1s;
}

/* Beat style.css `button:not([class*='btn-outline']) { color: inherit }` (inherits body white on yellow) */
.jl-start-page button.jl-start-primary {
  color: #0a1628;
}

.jl-start-primary:hover:not(:disabled) {
  background: var(--jl-accent-hover, #ffd54f);
}

.jl-start-primary:disabled {
  opacity: 0.65;
}

.jl-start-primary--inline {
  width: auto;
  flex: 1 1 auto;
  min-width: min(100%, 12rem);
  margin-bottom: 0;
}

.jl-start-primary--ghost {
  background: transparent;
  color: #0a1628;
  border: 2px solid rgba(10, 22, 40, 0.35);
  margin-top: 0.5rem;
}

.jl-start-page button.jl-start-primary--ghost {
  color: #0a1628;
}

.jl-start-primary--ghost:hover:not(:disabled) {
  background: rgba(10, 22, 40, 0.06);
  border-color: rgba(10, 22, 40, 0.5);
}

.jl-start-primary--link {
  display: block;
  text-align: center;
  text-decoration: none;
  width: 100%;
  box-sizing: border-box;
}

.jl-start-reassure--muted li {
  color: #475569;
  font-weight: 600;
}

.jl-start-secondary {
  display: block;
  text-align: center;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #033948;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 0.5rem;
}

.jl-start-secondary:hover {
  color: #0a1628;
}

.jl-start-cta-note {
  margin: 0.15rem 0 0.65rem;
  text-align: center;
  font-size: 0.875rem;
  color: #334155;
  line-height: 1.45;
}

/* Sticky bottom */
.jl-start-sticky {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1030;
  padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom, 0));
  background: linear-gradient(180deg, transparent 0%, rgba(10, 22, 40, 0.97) 25%);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.jl-start-sticky.is-visible {
  display: block;
}

@media (min-width: 768px) {
  .jl-start-pills {
    flex-wrap: wrap;
    overflow-x: visible;
    justify-content: center;
  }

  .jl-start-sticky {
    display: none !important;
  }
}

@media (min-width: 1024px) {
  .jl-start-body {
    max-width: 76rem;
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
  }

  .jl-start-body > section:first-child,
  #jl-start-recommend {
    grid-column: 1 / -1;
  }

  #jl-start-intake {
    grid-column: 1;
    margin-top: 0;
  }

  #jl-start-cta-block {
    grid-column: 2;
    margin-top: 0;
    position: sticky;
    top: 5rem;
  }
}

.jl-start-sticky__inner {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  max-width: 48rem;
  margin: 0 auto;
}

.jl-start-sticky__inner .jl-start-sticky__btn {
  align-self: center;
}

.jl-start-sticky__text {
  flex: 1;
  min-width: 0;
}

.jl-start-sticky__name {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #ffffff;
  white-space: normal;
  overflow: visible;
  line-height: 1.35;
}

.jl-start-sticky__price {
  display: block;
  font-size: 0.875rem;
  font-weight: 800;
  color: #ffe082;
  margin-top: 0.15rem;
}

.jl-start-sticky__btn {
  flex-shrink: 0;
  font-size: 0.875rem;
  font-weight: 800;
  padding: 0.6rem 1rem;
  border-radius: 10px;
  border: none;
  background: var(--jl-accent, #ffc107);
  color: var(--jl-ink, #0a1628);
}

.jl-start-page button.jl-start-sticky__btn {
  color: #0a1628;
}

/* Footer */
.jl-start-footer {
  margin-top: auto;
  padding: 1.25rem 1rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--jl-ink, #0a1628);
}

.jl-start-footer small {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.8125rem;
}

/* Post-purchase intake lives on /onboarding, shared .jl-welcome-purchase styles in jl-contact-form.css */
