﻿/* Digimprese Landing — conversion lane */
.page-landing {
  --ld-navy: #0b1645;
  --ld-blue: #3170b2;
  --ld-yellow: #f5b006;
  --ld-ink: #10142a;
  --ld-paper: #f7f6f2;
  background: linear-gradient(180deg, #0b1645 0%, #142669 28%, var(--ld-paper) 28%);
  color: var(--ld-ink);
  font-family: var(--font-body);
  min-height: 100vh;
}
.page-landing h1, .page-landing h2, .page-landing h3 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}
.ld-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11, 22, 69, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.ld-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}
.ld-header__nav {
  display: flex;
  gap: 1.25rem;
}
.ld-header__nav a { color: #fff; text-decoration: none; font-size: 0.95rem; }
.ld-kicker {
  color: var(--ld-yellow);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
  margin: 0 0 0.75rem;
}
.ld-hero {
  color: #fff;
  padding: clamp(3rem, 8vw, 5.5rem) 0 4rem;
}
.ld-hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.1;
  max-width: 16ch;
  margin: 0 0 1rem;
  color: #fff;
}
.ld-hero h1 em {
  font-style: normal;
  color: var(--ld-yellow);
  display: inline;
}
.ld-lead { max-width: 38rem; line-height: 1.6; color: inherit; opacity: 0.9; }
.ld-promise { max-width: 36rem; font-weight: 600; }
.ld-note { font-size: 0.92rem; opacity: 0.8; }
.ld-hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.ld-section {
  padding: clamp(3rem, 7vw, 5rem) 0;
  background: var(--ld-paper);
}
.ld-section h2 { margin-top: 0; color: var(--ld-navy); }
.ld-value-list, .ld-process {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.ld-value-list li, .ld-process li {
  background: #fff;
  border: 1px solid rgba(16,20,42,0.1);
  padding: 1.1rem 1.2rem;
  border-radius: 12px;
}
.ld-value-list strong, .ld-process strong { display: block; color: var(--ld-navy); margin-bottom: 0.35rem; }
.ld-value-list span, .ld-process span { color: #4a5168; }
.ld-quiz-card {
  margin-top: 1.25rem;
  background: #fff;
  border-radius: 16px;
  padding: 1.25rem;
  border: 1px solid rgba(16,20,42,0.1);
}
.ld-quiz-progress {
  height: 6px;
  background: rgba(16,20,42,0.08);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 1rem;
}
.ld-quiz-progress span {
  display: block;
  height: 100%;
  width: 25%;
  background: var(--ld-yellow);
  transition: width var(--motion-base);
}
.ld-quiz-options { display: grid; gap: 0.65rem; margin-top: 1rem; }
.ld-quiz-opt {
  text-align: left;
  padding: 0.9rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(16,20,42,0.14);
  background: #fff;
  font: inherit;
  cursor: pointer;
}
.ld-quiz-opt:hover, .ld-quiz-opt:focus-visible {
  border-color: var(--ld-blue);
  outline: none;
  box-shadow: var(--focus-ring);
}
.ld-form-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2rem;
}
.ld-form, .ld-analysis-form {
  display: grid;
  gap: 0.85rem;
  background: #fff;
  padding: 1.25rem;
  border-radius: 16px;
  border: 1px solid rgba(16,20,42,0.1);
}
.ld-form label, .ld-analysis-form label { display: grid; gap: 0.35rem; }
.ld-form input, .ld-form textarea, .ld-form select,
.ld-analysis-form input {
  border: 1px solid rgba(16,20,42,0.18);
  border-radius: 8px;
  padding: 0.7rem 0.8rem;
  font: inherit;
}
.ld-radio { display: inline-flex !important; align-items: center; gap: 0.4rem; margin-right: 1rem; }
.hp-field { position: absolute; left: -9999px; opacity: 0; width: 1px; height: 1px; }
.ld-form-status { margin: 0; }
.ld-form-status.is-ok { color: #0f7a3c; }
.ld-form-status.is-err { color: #b42318; }
.ld-analysis-result {
  white-space: pre-wrap;
  background: #0b1645;
  color: #fff;
  padding: 1rem;
  border-radius: 10px;
  font-size: 0.9rem;
}
.ld-final { background: #0b1645; color: #fff; }
.ld-final h2, .ld-final .ld-lead { color: #fff; }
.ld-footer {
  background: #0b1645;
  color: rgba(255,255,255,0.75);
  padding: 1.5rem 0;
  font-size: 0.9rem;
}
.ld-footer a { color: var(--ld-yellow); }
.ld-chat-fab {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
  border: 0;
  border-radius: 999px;
  background: var(--ld-yellow);
  color: #10142a;
  font-weight: 700;
  padding: 0.85rem 1.2rem;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}
.ld-chat {
  position: fixed;
  right: 1rem;
  bottom: 4.5rem;
  z-index: 55;
  width: min(360px, calc(100vw - 2rem));
  max-height: min(70vh, 520px);
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(16,20,42,0.12);
  box-shadow: 0 16px 40px rgba(0,0,0,0.2);
}
.ld-chat__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  background: var(--ld-navy);
  color: #fff;
  border-radius: 16px 16px 0 0;
}
.ld-chat__close { background: transparent; border: 0; color: #fff; font-size: 1.4rem; cursor: pointer; }
.ld-chat__log {
  flex: 1;
  overflow: auto;
  padding: 0.85rem;
  display: grid;
  gap: 0.55rem;
}
.ld-chat__log .msg {
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  font-size: 0.92rem;
  line-height: 1.4;
}
.ld-chat__log .msg.user { background: #eef3fb; justify-self: end; }
.ld-chat__log .msg.bot { background: #f3f1ea; justify-self: start; }
.ld-chat__form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  padding: 0.75rem;
  border-top: 1px solid rgba(16,20,42,0.08);
}
.ld-ty {
  min-height: 60vh;
  display: grid;
  place-items: center;
  padding: 4rem 1rem;
  color: #fff;
  text-align: center;
}
@media (max-width: 900px) {
  .ld-header__nav { display: none; }
  .ld-form-wrap { grid-template-columns: 1fr; }
  .ld-chat-fab { bottom: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .ld-quiz-progress span { transition: none; }
}
