:root {
  --cp-accent: #6d7ce5;
  --cp-accent-hover: #5a6acf;
  --cp-success: #28a745;
  --cp-surface: #1e1e2e;
  --cp-surface-alt: #2a2a3d;
  --cp-border: #3a3a50;
  --cp-muted: #8888a0;
}

html, body {
  height: 100%;
}

body {
  overflow: hidden;
  background: #1e1e2e;
}

.card {
  background: #1e1e2e;
  border-color: #3a3a50;
}

.btn-accent {
  background: #6d7ce5;
  color: #fff;
  border: none;
}
.btn-accent:hover {
  background: #5a6acf;
  color: #fff;
}

.app-header {
  flex-shrink: 0;
  border-bottom: 1px solid #3a3a50;
  padding: 0.5rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.app-header a {
  text-decoration: none;
  color: inherit;
}
.app-header a:hover {
  text-decoration: none;
}
.app-header .app-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0;
  white-space: nowrap;
}
.app-header .app-title .app-icon {
  color: var(--cp-accent);
  margin-right: 0.4rem;
}

.help-modal-body {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--bs-body-color);
}
.help-modal-body p {
  margin-bottom: 0.65rem;
}
.help-modal-body ul {
  padding-left: 1.25rem;
  margin-bottom: 0.65rem;
}
.help-modal-body ul li {
  margin-bottom: 0.3rem;
}

.help-section-heading {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--cp-accent);
  margin-bottom: 0.6rem;
}

.help-divider {
  border-color: var(--cp-border);
  margin: 1.25rem 0;
}

#appNav {
  background: #1e1e2e;
  border-color: #3a3a50 !important;
}

#appBody {
  min-height: 0;
}

.step-hint {
  font-size: 0.72rem;
  color: #8888a0;
  line-height: 1.45;
  background: #2a2a3d;
  border: 1px solid #3a3a50;
  border-radius: 6px;
  padding: 0.45rem 0.6rem;
  margin-bottom: 0.75rem;
}

.section-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #8888a0;
  margin-bottom: 0.35rem;
  display: block;
}

.form-hint {
  font-size: 0.8rem;
  color: #8888a0;
  margin-top: 0.25rem;
}

@media (min-width: 768px) {
  #sidebar {
    height: 100% !important;
    width: 320px !important;
    flex: 0 0 320px;
    background-color: #1e1e2e !important;
    border-right: 1px solid #3a3a50 !important;
  }
  #sidebar .offcanvas-body {
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    padding: 0 !important;
    height: 100% !important;
  }
}
#preview {
  flex: 1;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bs-secondary-bg);
  overflow: auto;
  position: relative;
  flex-direction: column;
}
#previewContent {
  flex: 1;
  min-height: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
#preview #outputSvg, #preview #previewCanvas {
  object-fit: contain;
}

#previewPlaceholder {
  flex: 1;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  user-select: none;
  pointer-events: none;
  transition: background 0.15s;
}
#previewPlaceholder.drag-over {
  background: rgba(109, 124, 229, 0.08);
  outline: 2px dashed var(--cp-accent);
  outline-offset: -12px;
  border-radius: 8px;
}

#outputSvg,
#previewCanvas {
  max-width: 100%;
  max-height: 100%;
  background: transparent;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  border-radius: 4px;
  border: 1px solid var(--bs-border-color);
}

#sourceThumb {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 160px;
  height: auto;
  max-height: 40vh;
  object-fit: contain;
  border-radius: 4px;
  border: 1px solid var(--bs-border-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  background: var(--bs-body-bg);
  cursor: grab;
  user-select: none;
  z-index: 10;
}
#sourceThumb.dragging {
  cursor: grabbing;
}

.step-nav {
  display: flex;
  flex-shrink: 0;
  border-bottom: 1px solid var(--bs-border-color);
}

.step-btn {
  flex: 1;
  border: none;
  background: none;
  padding: 0.35rem 0.1rem 0.25rem;
  font-size: 0.65rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--bs-secondary-color);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  text-align: center;
  transition: color 0.12s, background 0.12s;
}
.step-btn:hover:not(.active) {
  color: var(--bs-body-color);
  background: var(--bs-tertiary-bg);
}
.step-btn.active {
  color: var(--bs-primary);
  border-bottom-color: var(--bs-primary);
  font-weight: 700;
}
.step-btn .step-num {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.1rem;
}

.step-panel {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
}

.step-footer {
  flex-shrink: 0;
  border-top: 1px solid var(--bs-border-color);
  padding: 0.5rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.compact-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}
.compact-row label {
  min-width: 54px;
  font-size: 0.8rem;
  margin: 0;
  white-space: nowrap;
}
.compact-row .form-range {
  flex: 1;
}
.compact-row .val {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--bs-secondary-color);
  min-width: 32px;
  text-align: right;
}
.compact-row .form-control {
  flex: 1;
  padding: 0.25rem 0.5rem;
  font-size: 0.85rem;
}

.neutral-thresh-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.neutral-thresh-row label {
  min-width: 54px;
  font-size: 0.8rem;
  margin: 0;
}
.neutral-thresh-row .form-range {
  flex: 1;
}
.neutral-thresh-row .val {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--bs-secondary-color);
  min-width: 28px;
  text-align: right;
}

.zone-swatch {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 3px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}

.zone-range {
  margin-left: auto;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--bs-secondary-color);
}

.neutral-range {
  margin-left: auto;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--bs-secondary-color);
}

.zone-summary {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
  padding: 0.35rem 0.6rem;
  border-radius: 0.3rem;
  font-size: 0.85rem;
  background: var(--bs-tertiary-bg);
}

.zone-card {
  margin-bottom: 0.5rem;
}
.zone-card .card-header {
  padding: 0.4rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.zone-card .card-body {
  padding: 0.6rem 0.75rem;
}

.accordion-button {
  font-size: 0.85rem;
  padding: 0.55rem 0.75rem;
}
.accordion-button .zone-range {
  margin-left: auto;
  margin-right: 0.4rem;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--bs-secondary-color);
}

.accordion-body {
  padding: 0.6rem 0.75rem;
}

body.landing-page {
  overflow: auto;
  display: block;
  min-height: 100vh;
  background: #1e1e2e;
}

.lp-header a:hover {
  text-decoration: none;
}

.lp-hero {
  padding: 5rem 0 6rem;
  position: relative;
  overflow: hidden;
}
.lp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 65% 50%, rgba(109, 124, 229, 0.1) 0%, transparent 65%);
  pointer-events: none;
}
.lp-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.lp-hero .lp-accent {
  color: #6d7ce5;
}
.lp-hero .lead {
  font-size: 1.15rem;
  color: var(--bs-secondary-color);
  max-width: 480px;
}
.lp-hero .lp-snark {
  font-size: 0.85rem;
  color: #8888a0;
  font-style: italic;
  max-width: 430px;
}

.lp-demo-card {
  position: relative;
  background: #2a2a3d;
  border: 1px solid #3a3a50;
  border-radius: 12px;
  overflow: hidden;
  height: 340px;
}
.lp-demo-card svg {
  display: block;
}

.lp-demo-zone-label {
  position: absolute;
  bottom: 0.75rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: rgba(30, 30, 46, 0.85);
  border: 1px solid #3a3a50;
}

.lp-section {
  padding: 5rem 0;
}

.lp-section-alt {
  padding: 5rem 0;
  background: #2a2a3d;
  border-top: 1px solid #3a3a50;
  border-bottom: 1px solid #3a3a50;
}

.lp-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6d7ce5;
  margin-bottom: 0.5rem;
  display: block;
}

.lp-heading {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.lp-sub {
  color: var(--bs-secondary-color);
  font-size: 1.05rem;
  max-width: 580px;
}

.lp-feature-card {
  background: #1e1e2e;
  border: 1px solid #3a3a50;
  border-radius: 10px;
  padding: 1.5rem;
  height: 100%;
  transition: border-color 0.2s, transform 0.15s;
}
.lp-feature-card:hover {
  border-color: rgba(109, 124, 229, 0.45);
  transform: translateY(-2px);
}

.lp-feature-icon {
  width: 42px;
  height: 42px;
  background: rgba(109, 124, 229, 0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #6d7ce5;
  margin-bottom: 1rem;
}

.lp-step-num {
  width: 32px;
  height: 32px;
  background: rgba(109, 124, 229, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: #6d7ce5;
  flex-shrink: 0;
}

.lp-step-connector {
  width: 1px;
  height: 22px;
  background: #3a3a50;
  margin-left: 15px;
  margin-top: 3px;
  margin-bottom: 3px;
}

.lp-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(109, 124, 229, 0.1);
  border: 1px solid rgba(109, 124, 229, 0.2);
  border-radius: 2rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.85rem;
  color: #6d7ce5;
}

.lp-cta-banner {
  background: linear-gradient(135deg, rgba(109, 124, 229, 0.14) 0%, rgba(109, 124, 229, 0.04) 100%);
  border: 1px solid rgba(109, 124, 229, 0.22);
  border-radius: 16px;
  padding: 4rem 2rem;
}
.lp-cta-banner h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
}

.lp-btn-cta {
  background: #6d7ce5;
  color: #fff;
  border: none;
  padding: 0.85rem 2.2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 0.6rem;
  transition: background 0.2s, transform 0.15s;
  text-decoration: none;
  display: inline-block;
}
.lp-btn-cta:hover {
  background: #5a6acf;
  color: #fff;
  transform: translateY(-1px);
}

.lp-faq .accordion-item {
  background: transparent;
  border-color: #3a3a50;
}
.lp-faq .accordion-button {
  background: transparent;
  color: var(--bs-body-color);
  font-weight: 600;
  font-size: 0.95rem;
}
.lp-faq .accordion-button:not(.collapsed) {
  color: #6d7ce5;
  box-shadow: none;
  background: transparent;
}
.lp-faq .accordion-button::after {
  filter: invert(1) brightness(0.6);
}
.lp-faq .accordion-button:focus {
  box-shadow: none;
}
.lp-faq .accordion-body {
  font-size: 0.9rem;
  line-height: 1.6;
}
.lp-faq .accordion-body a {
  color: #6d7ce5;
  text-decoration: none;
}
.lp-faq .accordion-body a:hover {
  text-decoration: underline;
}

.lp-footer {
  border-top: 1px solid #3a3a50;
  color: #8888a0;
  font-size: 0.85rem;
  padding: 0.75rem 0;
}
.lp-footer a {
  color: #6d7ce5;
  text-decoration: none;
}
.lp-footer a:hover {
  text-decoration: underline;
}

.lp-policy {
  max-width: 720px;
}
.lp-policy h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}
.lp-policy code {
  background: #2a2a3d;
  border: 1px solid #3a3a50;
  border-radius: 4px;
  padding: 0.15rem 0.4rem;
  font-size: 0.85em;
  color: #6d7ce5;
}
.lp-policy a {
  color: #6d7ce5;
}

.lp-consent-btn {
  background: transparent;
  color: #6d7ce5;
  border: 1px solid #6d7ce5;
  padding: 0.35rem 1rem;
  border-radius: 0.4rem;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.lp-consent-btn:hover {
  background: rgba(109, 124, 229, 0.12);
}

.lp-anim {
  opacity: 0;
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.lp-anim.fade-up {
  transform: translateY(24px);
}
.lp-anim.slide-right {
  transform: translateX(-24px);
}
.lp-anim.slide-left {
  transform: translateX(24px);
}
.lp-anim.scale-in {
  transform: scale(0.95);
}
.lp-anim.visible {
  opacity: 1;
  transform: none;
}

.lp-stagger > .lp-anim:nth-child(1) {
  transition-delay: 0s;
}
.lp-stagger > .lp-anim:nth-child(2) {
  transition-delay: 0.1s;
}
.lp-stagger > .lp-anim:nth-child(3) {
  transition-delay: 0.2s;
}
.lp-stagger > .lp-anim:nth-child(4) {
  transition-delay: 0.3s;
}
.lp-stagger > .lp-anim:nth-child(5) {
  transition-delay: 0.4s;
}
.lp-stagger > .lp-anim:nth-child(6) {
  transition-delay: 0.5s;
}

/*# sourceMappingURL=styles.css.map */
