/* Buy-path chooser: landing / multipage / cabinet — cream/ink/coral, no CDN */
.by-demo {
  --by-bg: #faf7f1;
  --by-paper: #ffffff;
  --by-ink: #0a0a0a;
  --by-muted: #6b6357;
  --by-border: #ddd5c5;
  --by-accent: #ff3d2e;
  --by-accent-soft: #ffe4df;
  --by-track: #ebe4d6;
  margin: 1.5rem 0 2rem;
  padding: 1.25rem 1.25rem 1.35rem;
  background: var(--by-bg);
  border: 1px solid var(--by-border);
  border-radius: 14px;
}

.by-demo__label {
  display: inline-block;
  margin: 0 0 0.65rem;
  padding: 0.2rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--by-muted);
  background: var(--by-paper);
  border: 1px solid var(--by-border);
  border-radius: 4px;
}

.by-demo__title {
  margin: 0 0 0.35rem;
  font-family: Unbounded, Manrope, sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--by-ink);
  line-height: 1.35;
}

.by-demo__hint {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--by-muted);
  line-height: 1.45;
}

.by-demo__panel {
  background: var(--by-paper);
  border: 1px solid var(--by-border);
  border-radius: 10px;
  padding: 1rem 1rem 1.1rem;
}

.by-progress {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.by-progress__track {
  flex: 1;
  height: 8px;
  background: var(--by-track);
  border-radius: 999px;
  overflow: hidden;
}

.by-progress__fill {
  height: 100%;
  width: 0%;
  background: var(--by-accent);
  border-radius: 999px;
  transition: width 0.28s ease;
}

.by-progress__text {
  flex-shrink: 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--by-muted);
  font-variant-numeric: tabular-nums;
}

.by-q {
  margin: 0 0 1rem;
  padding: 0;
  border: none;
  min-width: 0;
}

.by-q__legend {
  margin: 0 0 0.55rem;
  padding: 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--by-ink);
}

.by-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.by-choice {
  appearance: none;
  margin: 0;
  padding: 0.55rem 0.75rem;
  font: inherit;
  font-size: 0.88rem;
  line-height: 1.35;
  text-align: left;
  color: var(--by-ink);
  background: var(--by-bg);
  border: 1px solid var(--by-border);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.by-choice:hover,
.by-choice:focus-visible {
  border-color: var(--by-ink);
  outline: none;
}

.by-choice[aria-pressed="true"] {
  background: var(--by-accent-soft);
  border-color: var(--by-accent);
  color: var(--by-ink);
  box-shadow: inset 0 0 0 1px var(--by-accent);
}

.by-result {
  margin-top: 0.35rem;
  padding-top: 1rem;
  border-top: 1px solid var(--by-border);
}

.by-result__kicker {
  margin: 0 0 0.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--by-accent);
}

.by-result__title {
  margin: 0 0 0.45rem;
  font-family: Unbounded, Manrope, sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--by-ink);
  line-height: 1.35;
}

.by-result__why {
  margin: 0 0 0.65rem;
  font-size: 0.92rem;
  color: var(--by-ink);
  line-height: 1.5;
}

.by-result__list {
  margin: 0 0 0.75rem;
  padding-left: 1.15rem;
  font-size: 0.88rem;
  color: var(--by-muted);
  line-height: 1.45;
}

.by-result__list li {
  margin-bottom: 0.25rem;
}

.by-result__note {
  margin: 0 0 0.9rem;
  font-size: 0.85rem;
  color: var(--by-muted);
  line-height: 1.45;
}

.by-result__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.by-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.85rem;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  line-height: 1.3;
}

.by-btn--primary {
  color: #fff;
  background: var(--by-accent);
  border-color: var(--by-accent);
}

.by-btn--primary:hover,
.by-btn--primary:focus-visible {
  filter: brightness(0.95);
  outline: none;
}

.by-btn--ghost {
  color: var(--by-ink);
  background: transparent;
  border-color: var(--by-border);
}

.by-btn--ghost:hover,
.by-btn--ghost:focus-visible {
  border-color: var(--by-ink);
  outline: none;
}

.by-paths {
  display: grid;
  gap: 0.65rem;
  margin-top: 1rem;
}

@media (min-width: 720px) {
  .by-paths {
    grid-template-columns: repeat(3, 1fr);
  }
}

.by-path {
  margin: 0;
  padding: 0.85rem 0.9rem;
  background: var(--by-paper);
  border: 1px solid var(--by-border);
  border-radius: 10px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.by-path.is-active {
  border-color: var(--by-accent);
  box-shadow: 0 0 0 1px var(--by-accent);
}

.by-path__name {
  margin: 0 0 0.2rem;
  font-family: Unbounded, Manrope, sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--by-ink);
}

.by-path__price {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--by-accent);
}

.by-path__text {
  margin: 0;
  font-size: 0.82rem;
  color: var(--by-muted);
  line-height: 1.4;
}

.by-live {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
