:root {
  --bg: #0e1410;
  --bg-2: #141a16;
  --bg-3: #1b2420;
  --panel: #111a16;
  --border: rgba(255, 255, 255, 0.09);
  --border-2: rgba(255, 255, 255, 0.16);
  --text: #ebe6dc;
  --muted: #92a198;
  --dim: #52645b;
  --green: #23a777;
  --green-2: #36c994;
  --blue: #4a9edb;
  --amber: #d4924a;
  --red: #c05a4a;
  --mono: "Consolas", "JetBrains Mono", monospace;
  --body: "Segoe UI", "Golos Text", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(rgba(29, 158, 117, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 158, 117, 0.035) 1px, transparent 1px),
    var(--bg);
  background-size: 40px 40px;
  color: var(--text);
  font-family: var(--body);
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  min-height: 58px;
  padding: 10px 28px;
  background: rgba(14, 20, 16, 0.94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.brand {
  font-weight: 700;
  letter-spacing: 0.01em;
}

.subtle,
.muted {
  color: var(--muted);
}

.mono {
  font-family: var(--mono);
  font-size: 12px;
}

.topbarMeta,
.screenActions,
.cardActions,
.exportTabs {
  display: flex;
  gap: 8px;
  align-items: center;
}

.layout {
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 26px 0 60px;
}

.stepper {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 22px;
}

.step {
  min-height: 34px;
  border: 1px solid var(--border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 8px;
  color: var(--dim);
  font-size: 12px;
  text-align: center;
}

.step.done {
  color: var(--muted);
  border-color: rgba(74, 158, 219, 0.3);
}

.step.active {
  color: var(--green-2);
  border-color: rgba(54, 201, 148, 0.55);
  background: rgba(29, 158, 117, 0.11);
}

.heroPanel,
.screenHeader,
.resultsHeader {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

h1 {
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.15;
  max-width: 720px;
}

h2 {
  font-size: 19px;
}

h3 {
  font-size: 18px;
  margin: 7px 0;
}

h4 {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.eyebrow {
  color: var(--green-2);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.formPanel,
.shortlistCard,
.emptyState,
.exportPanel,
.assessmentPanel {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.formPanel {
  padding: 20px;
}

.formGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.formGrid:nth-of-type(3) {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 13px;
}

.field input,
.field textarea {
  width: 100%;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  outline: none;
  padding: 11px 12px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--green);
}

.formActions {
  display: flex;
  justify-content: flex-end;
}

.primaryButton,
.ghostButton {
  min-height: 34px;
  border-radius: 6px;
  padding: 8px 14px;
  font-weight: 650;
  font-size: 13px;
}

.primaryButton {
  border: 1px solid var(--green);
  background: var(--green);
  color: #07100b;
}

.ghostButton {
  border: 1px solid var(--border-2);
  background: transparent;
  color: var(--text);
}

.ghostButton.compact {
  min-height: 28px;
  padding: 5px 10px;
  font-size: 12px;
}

.primaryButton:hover,
.ghostButton:hover {
  filter: brightness(1.08);
}

.notice {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.notice.loading {
  color: var(--blue);
  background: rgba(74, 158, 219, 0.1);
}

.notice.error {
  color: var(--red);
  background: rgba(192, 90, 74, 0.1);
}

.snapshotBar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: 16px;
  padding: 12px 14px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.shortlist {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.shortlistCard {
  overflow: hidden;
}

.shortlistCard.expanded {
  border-color: rgba(54, 201, 148, 0.45);
}

.cardMain {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  padding: 16px;
}

.cardTopline,
.metaLine,
.tagList {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
}

.metaLine {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  margin-bottom: 10px;
}

.tagList {
  margin: 8px 0;
}

.tagList span {
  border: 1px solid rgba(74, 158, 219, 0.26);
  background: rgba(74, 158, 219, 0.1);
  color: var(--blue);
  border-radius: 4px;
  padding: 3px 7px;
  font-size: 11px;
}

.matchReason {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  margin: 8px 0;
}

.factGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0 0;
}

.factGrid div {
  border-top: 1px solid var(--border);
  padding-top: 8px;
}

.factGrid dt {
  color: var(--dim);
  font-size: 11px;
  margin-bottom: 3px;
}

.factGrid dd {
  margin: 0;
  color: var(--text);
  font-size: 13px;
}

.cardActions {
  align-items: flex-end;
  flex-direction: column;
}

.trustBox {
  min-width: 80px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px;
  text-align: center;
  background: var(--bg-3);
}

.trustBox strong {
  display: block;
  color: var(--green-2);
  font-size: 20px;
}

.trustBox span {
  color: var(--dim);
  font-family: var(--mono);
  font-size: 10px;
}

.rankBadge,
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 5px;
  padding: 3px 8px;
  font-family: var(--mono);
  font-size: 11px;
  border: 1px solid var(--border);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
}

.pill.good {
  color: var(--green-2);
  border-color: rgba(54, 201, 148, 0.35);
  background: rgba(29, 158, 117, 0.12);
}

.pill.warn {
  color: var(--amber);
  border-color: rgba(212, 146, 74, 0.36);
  background: rgba(212, 146, 74, 0.11);
}

.pill.risk,
.pill.negative {
  color: var(--red);
  border-color: rgba(192, 90, 74, 0.36);
  background: rgba(192, 90, 74, 0.11);
}

.detailsGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 0 16px 16px;
}

.evidenceBlock {
  border-top: 1px solid var(--border);
  padding-top: 12px;
  min-width: 0;
}

.evidenceList {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.evidenceItem,
.gapItem {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.rawPayload {
  border-top: 1px solid var(--border);
  padding: 12px 16px 16px;
}

.rawPayload summary {
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
}

pre {
  overflow: auto;
  max-height: 420px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  color: var(--muted);
  font: 12px/1.55 var(--mono);
}

.exportPanel {
  padding: 14px;
  margin-bottom: 14px;
}

.exportTabs {
  margin-bottom: 10px;
}

.exportTabs button {
  border: 1px solid var(--border);
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  padding: 6px 10px;
}

.exportTabs button.active {
  color: var(--green-2);
  border-color: rgba(54, 201, 148, 0.42);
  background: rgba(29, 158, 117, 0.12);
}

.emptyState {
  padding: 32px;
  text-align: center;
  color: var(--muted);
}

.emptyState h2 {
  color: var(--text);
  margin-bottom: 8px;
}

.emptyActions {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.assessmentGrid {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 12px;
  margin-bottom: 14px;
}

.assessmentPanel {
  padding: 14px;
}

.assessmentPanel.wide {
  min-width: 0;
}

.assessmentDetails {
  padding: 0;
}

@media (max-width: 900px) {
  .stepper,
  .formGrid,
  .formGrid:nth-of-type(3),
  .detailsGrid,
  .assessmentGrid {
    grid-template-columns: 1fr;
  }

  .heroPanel,
  .screenHeader,
  .resultsHeader,
  .cardMain,
  .topbar {
    align-items: stretch;
    flex-direction: column;
    display: flex;
  }

  .cardActions,
  .topbarMeta {
    align-items: flex-start;
  }

  .factGrid {
    grid-template-columns: 1fr;
  }
}

.landing {
  min-height: 100vh;
  background: #ffffff;
  color: #0d1b2a;
  font-family: var(--body);
}

.landing button,
.landing input {
  font: inherit;
}

.landingNav {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 32px;
  background: #0050b2;
}

.landingLogo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  color: #ffffff;
  font-weight: 700;
  font-size: 13px;
}

.landingLogoHome {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  text-decoration: none;
}

.poweredBy {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 600;
}

.poweredBy a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.landingMark {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 10px;
  letter-spacing: 0;
}

.landingNavRight {
  display: flex;
  align-items: center;
  gap: 22px;
}

.landingNavRight a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 12px;
}

.landingDemoButton,
.landingCountdown button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 7px;
  background: #ffffff;
  color: #0050b2;
  font-weight: 750;
  padding: 8px 14px;
}

.landingDemoButton::before {
  content: "";
  width: 9px;
  height: 9px;
  display: inline-flex;
  border-radius: 50%;
  background: #5ddb79;
  box-shadow: 0 0 0 8px rgba(93, 219, 121, 0.14);
}

.landingHero {
  position: relative;
  overflow: hidden;
  padding: 58px 32px 0;
  background: linear-gradient(155deg, #003a80 0%, #0050b2 55%, #1662cc 100%);
}

.landingHero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}

.landingHero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 90px;
  background: linear-gradient(to bottom, transparent, #ffffff);
  pointer-events: none;
}

.landingHeroInner {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  margin: 0 auto;
}

.landingHeroHead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 40px;
  align-items: start;
  margin-bottom: 46px;
}

.landingEyebrow,
.landingSearchLabel {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.landingEyebrow {
  color: rgba(255, 255, 255, 0.58);
  margin-bottom: 14px;
}

.landingHero h1 {
  color: #ffffff;
  font-size: 44px;
  font-weight: 900;
  line-height: 1.1;
  max-width: 620px;
  margin-bottom: 14px;
}

.landingHero h1 span {
  display: block;
}

.landingHeroAccent,
.landingStats .landingStatAccent {
  color: #8ee7a5;
}

.landingHero p {
  max-width: 500px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
  font-size: 15px;
}

.landingStats {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 28px;
}

.landingStats div {
  padding-left: 14px;
  border-left: 2px solid rgba(255, 255, 255, 0.22);
}

.landingStats strong {
  display: block;
  color: #ffffff;
  font-family: var(--mono);
  font-size: 20px;
}

.landingStats span {
  display: block;
  width: 100px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 11px;
  line-height: 1.35;
}

.landingCountdown {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: center;
  min-height: 272px;
  padding: 28px 34px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  text-align: center;
}

.landingCountdown > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.58);
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.landingCountdown > span i {
  width: 8px;
  height: 8px;
  display: inline-block;
  border-radius: 50%;
  background: #5ddb79;
}

.landingCountdownNumbers {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 12px;
  align-items: center;
}

.landingCountdownNumbers strong {
  color: #ffffff;
  font-family: var(--mono);
  font-size: 40px;
  line-height: 1;
}

.landingCountdownNumbers em {
  color: rgba(255, 255, 255, 0.34);
  font-style: normal;
  font-size: 32px;
  line-height: 1;
}

.landingCountdownUnits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  margin-top: -8px;
  color: rgba(255, 255, 255, 0.45);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landingCountdown button {
  width: 100%;
  min-height: 60px;
  border-radius: 12px;
  font-size: 18px;
}

.landingCountdown small {
  color: rgba(255, 255, 255, 0.48);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landingSearch {
  position: relative;
  z-index: 2;
  padding: 28px 28px 0;
  border-radius: 16px 16px 0 0;
  background: #ffffff;
  box-shadow: 0 -12px 48px rgba(0, 20, 80, 0.15);
  animation: landingFadeIn 0.6s cubic-bezier(0.22, 0.68, 0, 1.2) 0.05s both;
}

.landingSearchLabel {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #8a96a8;
  margin-bottom: 12px;
}

.landingSearchLabel span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0f7a5a;
}

.landingSearchRow {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.landingSearchRow input {
  flex: 1;
  height: 52px;
  border: 1.5px solid #d8e2ef;
  border-radius: 10px;
  background: #f7f9fc;
  color: #0d1b2a;
  outline: none;
  padding: 0 18px;
  font-size: 15px;
}

.landingSearchRow input:focus {
  border-color: #0050b2;
  box-shadow: 0 0 0 3px rgba(0, 80, 178, 0.1);
}

.landingSearchRow button {
  height: 52px;
  border: 0;
  border-radius: 10px;
  background: #0050b2;
  color: #ffffff;
  font-weight: 750;
  padding: 0 24px;
}

.landingSearchRow button:disabled,
.landingMore button:disabled {
  cursor: not-allowed;
  opacity: 0.56;
}

.landingSuggestions,
.landingDisambiguation {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}

.landingSuggestions.muted {
  display: block;
  color: #8a96a8;
  font-size: 12px;
}

.landingSuggestions button,
.landingDisambiguation button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #d8e2ef;
  border-radius: 8px;
  background: #f7f9fc;
  color: #0d1b2a;
  padding: 7px 10px;
  text-align: left;
}

.landingSuggestions button:hover,
.landingDisambiguation button:hover {
  border-color: #0050b2;
}

.landingSuggestions strong,
.landingDisambiguation strong {
  font-size: 12px;
}

.landingSuggestions span,
.landingDisambiguation span {
  color: #8a96a8;
  font-family: var(--mono);
  font-size: 10px;
}

.landingQuick {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  padding-bottom: 20px;
}

.landingQuick span {
  color: #8a96a8;
  font-family: var(--mono);
  font-size: 11px;
}

.landingQuick button {
  border: 1px solid #d8e2ef;
  border-radius: 20px;
  background: transparent;
  color: #3d5166;
  padding: 6px 12px;
  font-family: var(--mono);
  font-size: 12px;
}

.landingQuick button:hover,
.landingQuick button.active {
  color: #0050b2;
  border-color: #0050b2;
  background: #e8f0fd;
}

.landingResults {
  max-height: 0;
  overflow: hidden;
  border-top: 1px solid transparent;
  transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.2s ease;
}

.landingResults.open {
  max-height: 640px;
  border-top-color: #d8e2ef;
}

.landingResultsHead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 0 12px;
}

.landingResultsHead span,
.landingResultsHead strong {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.landingResultsHead span {
  color: #8a96a8;
}

.landingResultsHead strong {
  color: #0050b2;
}

.landingSource {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 0 0 12px;
  color: #3d5166;
  font-size: 12px;
}

.landingSource .pill {
  margin-right: 2px;
}

.landingBusinessState {
  border: 1px dashed #d8e2ef;
  border-radius: 10px;
  background: #f7f9fc;
  padding: 18px;
  margin-bottom: 14px;
}

.landingBusinessState h3,
.landingDisambiguation h3 {
  width: 100%;
  color: #0d1b2a;
  font-size: 15px;
  margin: 0 0 6px;
}

.landingBusinessState p {
  color: #3d5166;
  font-size: 13px;
  line-height: 1.6;
}

.landingResultList {
  padding-bottom: 20px;
}

.landingResultCard {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  padding: 12px 0;
  border-bottom: 1px solid #f2f5fa;
  animation: landingFadeUp 0.3s cubic-bezier(0.22, 0.68, 0, 1.2) both;
}

.landingResultCard:last-child {
  border-bottom: 0;
}

.landingResultRank {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #f7f9fc;
  color: #8a96a8;
  font-family: var(--mono);
  font-weight: 800;
  font-size: 13px;
  flex-shrink: 0;
}

.landingResultCard:nth-child(1) .landingResultRank {
  background: #e6f5ef;
  color: #0f7a5a;
}

.landingResultCard:nth-child(2) .landingResultRank {
  background: #e8f0fd;
  color: #0050b2;
}

.landingResultCard:nth-child(3) .landingResultRank {
  background: #fef3c7;
  color: #b45309;
}

.landingResultCard h3 {
  color: #0d1b2a;
  font-size: 14px;
  margin: 0 0 6px;
}

.landingResultCard h3 span {
  color: #8a96a8;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  margin-left: 6px;
}

.landingResultTags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 6px;
}

.landingResultTags span {
  border: 1px solid #c5d8f5;
  border-radius: 3px;
  background: #e8f0fd;
  color: #0050b2;
  padding: 2px 7px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
}

.landingResultCard p {
  color: #3d5166;
  font-size: 12px;
  line-height: 1.5;
}

.landingMiniFacts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 12px;
  margin: 7px 0;
}

.landingMiniFacts div {
  min-width: 0;
}

.landingMiniFacts dt {
  color: #8a96a8;
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
}

.landingMiniFacts dd {
  margin: 0;
  color: #0d1b2a;
  font-size: 11px;
  overflow-wrap: anywhere;
}

.landingResultSide {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 7px;
}

.landingResultSide div {
  min-width: 74px;
  padding: 7px 10px;
  border: 1px solid #d8e2ef;
  border-radius: 8px;
  background: #f7f9fc;
  text-align: center;
}

.landingResultSide strong {
  display: block;
  color: #0050b2;
  font-family: var(--mono);
  font-size: 18px;
}

.landingResultSide span {
  display: block;
  color: #8a96a8;
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
}

.landingResultSide a,
.landingResultSide button,
.landingMore button {
  display: inline-flex;
  justify-content: center;
  border: 1px solid #c5d8f5;
  border-radius: 6px;
  background: #e8f0fd;
  color: #0050b2;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 750;
  text-decoration: none;
}

.landingResultSide a:hover,
.landingMore button:hover {
  border-color: #0050b2;
}

.landingResultSide button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

@keyframes landingFadeIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes landingFadeUp {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.productPage {
  min-height: 100vh;
  background: #f4f7fd;
  color: #0d1b2a;
}

.productNav {
  position: sticky;
  top: 0;
  z-index: 30;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 28px;
  background: #0050b2;
}

.productLogo,
.productNav a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 12px;
}

.productLogo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.productLogo span {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
}

.productLogo strong {
  color: #ffffff;
  font-size: 13px;
}

.productNav div {
  display: flex;
  align-items: center;
  gap: 14px;
}

.productNav a:hover {
  color: #ffffff;
}

.productBreadcrumb {
  width: min(1000px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 15px 0 0;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #8a96a8;
  font-family: var(--mono);
  font-size: 12px;
}

.productBreadcrumb a {
  color: #0050b2;
  text-decoration: none;
}

.productLayout {
  width: min(1000px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 16px 0 60px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 20px;
  align-items: start;
}

.productCardShell,
.productSidebar section,
.productState {
  border: 1px solid #d8e2ef;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 2px 16px rgba(0, 80, 178, 0.06);
}

.productHeader {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  border-bottom: 1px solid #d8e2ef;
}

.productHeaderMain {
  display: flex;
  gap: 14px;
  padding: 22px 24px 20px;
}

.productLogoBox {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid #eef2f8;
  border-radius: 10px;
  background: #e8f0fd;
  color: #0050b2;
  font-size: 20px;
  font-weight: 800;
}

.productHeader h1 {
  color: #0d1b2a;
  font-size: 24px;
  margin-bottom: 8px;
}

.productBadges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 7px;
}

.productBadges span {
  border: 1px solid #d8e2ef;
  border-radius: 999px;
  background: #f4f7fd;
  color: #8a96a8;
  padding: 3px 9px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
}

.productBadges .good {
  border-color: #b6dfd0;
  background: #e6f5ef;
  color: #0f7a5a;
}

.productSubline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #8a96a8;
  font-family: var(--mono);
  font-size: 11px;
}

.productSubline a {
  color: #0050b2;
  text-decoration: none;
}

.productScorePanel {
  position: relative;
  overflow: hidden;
  padding: 20px;
  background: linear-gradient(150deg, #003a80 0%, #0050b2 60%, #1a6fd4 100%);
  color: #ffffff;
}

.productScorePanel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 18px 18px;
}

.productScorePanel span,
.productScorePanel strong,
.productScorePanel small,
.productScorePanel em {
  position: relative;
  display: block;
}

.productScorePanel span {
  color: rgba(255, 255, 255, 0.58);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.productScorePanel strong {
  font-family: var(--mono);
  font-size: 50px;
  line-height: 1;
}

.productScorePanel small {
  color: rgba(255, 255, 255, 0.58);
  font-family: var(--mono);
}

.productScorePanel em {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--mono);
  font-size: 10px;
  font-style: normal;
  overflow-wrap: anywhere;
}

.productTabs {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid #eef2f8;
}

.productTabs button {
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #8a96a8;
  padding: 14px 20px 12px;
  font-weight: 650;
  font-size: 13px;
}

.productTabs button.active {
  color: #0050b2;
  border-bottom-color: #0050b2;
}

.productTabBody {
  padding: 20px 24px;
}

.productSection {
  margin-bottom: 22px;
}

.productSection h2,
.productTechItem h2,
.productSidebar h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #8a96a8;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin: 0 0 12px;
}

.productSection h2::after,
.productTechItem h2::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #eef2f8;
}

.productSection dl,
.productSidebar dl {
  display: grid;
  gap: 8px;
}

.productSection dl div,
.productSidebar dl div {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #eef2f8;
}

.productSection dt,
.productSidebar dt {
  color: #8a96a8;
  font-size: 12px;
}

.productSection dd,
.productSidebar dd {
  margin: 0;
  color: #0d1b2a;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.productChips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.productChips span {
  border: 1px solid #c5d8f5;
  border-radius: 6px;
  background: #e8f0fd;
  color: #0050b2;
  padding: 5px 10px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 650;
}

.productGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.productTechItem {
  border: 1px solid #d8e2ef;
  border-radius: 10px;
  background: #f7f9fc;
  padding: 14px;
}

.productMissing,
.productNotice {
  border: 1px dashed #d8e2ef;
  border-radius: 10px;
  background: #f7f9fc;
  color: #8a96a8;
  padding: 14px;
  font-size: 13px;
}

.productSidebar {
  position: sticky;
  top: 66px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.productSidebar section {
  padding: 16px 18px;
}

.productSidebar a,
.productSidebar button,
.productState a {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border: 1px solid #d8e2ef;
  border-radius: 8px;
  background: transparent;
  color: #3d5166;
  text-decoration: none;
  font-weight: 650;
  font-size: 12px;
  margin-top: 8px;
}

.productSidebar .productPrimary,
.productState a {
  border-color: #0050b2;
  background: #0050b2;
  color: #ffffff;
}

.productSidebar .productEdit {
  border-color: #0f7a5a;
  background: #0f7a5a;
  color: #ffffff;
}

.productSidebar p {
  color: #3d5166;
  font-size: 12px;
  line-height: 1.6;
}

.productState {
  width: min(760px, calc(100vw - 40px));
  margin: 48px auto;
  padding: 32px;
  text-align: center;
}

.productState h1 {
  color: #0d1b2a;
  font-size: 28px;
  margin-bottom: 10px;
}

.productState p {
  color: #3d5166;
  line-height: 1.6;
}

.vendorEditorPage {
  min-height: 100vh;
  background: #f4f7fd;
  color: #0d1b2a;
}

.vendorEditorNav {
  position: sticky;
  top: 0;
  z-index: 30;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 28px;
  background: #0050b2;
}

.vendorEditorNav div {
  display: flex;
  align-items: center;
  gap: 14px;
}

.vendorEditorNav a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 12px;
}

.vendorEditorNav a:hover {
  color: #ffffff;
}

.vendorEditorBreadcrumb {
  width: min(1080px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 15px 0 0;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #8a96a8;
  font-family: var(--mono);
  font-size: 12px;
}

.vendorEditorBreadcrumb a {
  color: #0050b2;
  text-decoration: none;
}

.vendorEditorShell {
  width: min(1080px, calc(100vw - 40px));
  margin: 16px auto 70px;
  border: 1px solid #d8e2ef;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 2px 16px rgba(0, 80, 178, 0.06);
  overflow: hidden;
}

.vendorEditorHeader {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  border-bottom: 1px solid #d8e2ef;
}

.vendorEditorHeaderMain {
  display: flex;
  gap: 14px;
  padding: 22px 24px 20px;
}

.vendorEditorHeader h1 {
  color: #0d1b2a;
  font-size: 24px;
  margin-bottom: 8px;
}

.vendorEditorSourcePanel {
  position: relative;
  overflow: hidden;
  padding: 20px;
  background: linear-gradient(150deg, #003a80 0%, #0050b2 60%, #1a6fd4 100%);
  color: #ffffff;
}

.vendorEditorSourcePanel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 18px 18px;
}

.vendorEditorSourcePanel span,
.vendorEditorSourcePanel strong,
.vendorEditorSourcePanel small {
  position: relative;
  display: block;
}

.vendorEditorSourcePanel span {
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.vendorEditorSourcePanel strong {
  font-size: 18px;
  overflow-wrap: anywhere;
}

.vendorEditorSourcePanel small {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--mono);
  font-size: 10px;
  overflow-wrap: anywhere;
}

.vendorEditorBoundary,
.vendorEditorMessage {
  margin: 18px 24px 0;
  border: 1px solid #d8e2ef;
  border-radius: 10px;
  background: #f7f9fc;
  color: #3d5166;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.5;
}

.vendorEditorBoundary strong {
  display: block;
  color: #0f7a5a;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.vendorEditorMessage {
  border-color: #b6dfd0;
  background: #e6f5ef;
  color: #0f7a5a;
  font-weight: 650;
}

.vendorEditorBody {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 20px;
  padding: 22px 24px 24px;
}

.vendorEditorGroups {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vendorEditorGroups button {
  min-height: 58px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  border: 1px solid #d8e2ef;
  border-radius: 9px;
  background: #ffffff;
  color: #0d1b2a;
  padding: 10px 12px;
  text-align: left;
}

.vendorEditorGroups button.active,
.vendorEditorGroups button:hover {
  border-color: #0f7a5a;
  background: #e6f5ef;
}

.vendorEditorGroups span {
  font-weight: 750;
  font-size: 13px;
}

.vendorEditorGroups small {
  color: #8a96a8;
  font-family: var(--mono);
  font-size: 10px;
}

.vendorEditorForm {
  min-width: 0;
  border: 1px solid #d8e2ef;
  border-radius: 10px;
  background: #ffffff;
  overflow: hidden;
}

.vendorEditorFormHead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border-bottom: 1px solid #eef2f8;
  background: #fbfcfe;
}

.vendorEditorFormHead span {
  color: #8a96a8;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.vendorEditorFormHead h2 {
  color: #0d1b2a;
  font-size: 19px;
  margin-top: 4px;
}

.vendorEditorFormHead a {
  color: #0050b2;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.vendorEditorFields {
  display: grid;
  gap: 0;
  padding: 4px 18px 10px;
}

.vendorEditorField {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid #eef2f8;
}

.vendorEditorField:last-child {
  border-bottom: 0;
}

.vendorEditorField span {
  display: block;
}

.vendorEditorField strong {
  display: block;
  color: #0d1b2a;
  font-size: 13px;
  margin-bottom: 4px;
}

.vendorEditorField em {
  color: #8a96a8;
  font-family: var(--mono);
  font-size: 10px;
  font-style: normal;
  overflow-wrap: anywhere;
}

.vendorEditorField input,
.vendorEditorField textarea {
  width: 100%;
  border: 1.5px solid #d8e2ef;
  border-radius: 7px;
  background: #ffffff;
  color: #0d1b2a;
  padding: 9px 11px;
  font: 13px var(--font);
  line-height: 1.45;
  outline: none;
}

.vendorEditorField textarea {
  resize: vertical;
}

.vendorEditorField input:focus,
.vendorEditorField textarea:focus {
  border-color: #0f7a5a;
}

.vendorEditorField input[readonly],
.vendorEditorField textarea[readonly] {
  background: #f7f9fc;
  color: #8a96a8;
}

.vendorEditorActions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px 18px;
  border-top: 1px solid #eef2f8;
  background: #fbfcfe;
}

.vendorGhostButton,
.vendorPrimaryButton {
  min-height: 38px;
  border-radius: 8px;
  padding: 0 14px;
  font-weight: 750;
  font-size: 12px;
}

.vendorGhostButton {
  border: 1px solid #d8e2ef;
  background: #ffffff;
  color: #3d5166;
}

.vendorPrimaryButton {
  border: 1px solid #0f7a5a;
  background: #0f7a5a;
  color: #ffffff;
}

.vendorRawPayload {
  margin: 0 24px 24px;
}

.vendorEditorState {
  margin-top: 48px;
}

@media (max-width: 900px) {
  .productNav,
  .vendorEditorNav,
  .productHeader,
  .productHeaderMain,
  .productLayout,
  .vendorEditorHeader,
  .vendorEditorHeaderMain,
  .vendorEditorBody,
  .vendorEditorFormHead,
  .vendorEditorActions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .productGrid,
  .productSection dl div,
  .productSidebar dl div,
  .vendorEditorField {
    grid-template-columns: 1fr;
  }

  .productSidebar {
    position: static;
  }
}

.landingMore {
  text-align: center;
  padding: 12px 0 20px;
}

.landingNoResults {
  padding: 26px 0;
  color: #8a96a8;
  text-align: center;
  font-size: 13px;
}

.landingWorkflowError {
  color: #b91c1c;
  font-size: 12px;
  margin-bottom: 8px;
}

.landingValue,
.landingHow {
  width: min(960px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 70px 0 0;
}

.landingSectionHead {
  text-align: center;
  margin-bottom: 34px;
}

.landingSectionHead h2 {
  color: #0d1b2a;
  font-size: 28px;
  margin-bottom: 8px;
}

.landingSectionHead p {
  color: #3d5166;
  font-size: 15px;
}

.landingCards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.landingCards article {
  display: block;
  min-height: 224px;
  border: 1px solid #d8e2ef;
  border-radius: 14px;
  overflow: hidden;
  padding: 24px 22px 20px;
  background: linear-gradient(135deg, #e8f0fd, #edf3fd) top / 100% 92px no-repeat, #ffffff;
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s cubic-bezier(0.22, 0.68, 0, 1.2), box-shadow 0.2s ease;
}

.landingCards article:nth-child(2) {
  background: linear-gradient(135deg, #fef3c7, #fff8e7) top / 100% 92px no-repeat, #ffffff;
}

.landingCards article:nth-child(3) {
  background: linear-gradient(135deg, #e6f5ef, #ecf8f4) top / 100% 92px no-repeat, #ffffff;
}

.landingCards article:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0, 80, 178, 0.1);
}

.landingCards span,
.landingBadge {
  color: #0050b2;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.landingCards h3 {
  color: #0d1b2a;
  font-size: 17px;
  margin: 10px 0 8px;
}

.landingCards p {
  color: #3d5166;
  font-size: 13px;
  line-height: 1.6;
}

.landingHow {
  width: auto;
  max-width: none;
  margin-top: 72px;
  padding: 64px max(32px, calc((100vw - 960px) / 2));
  background: #f7f9fc;
}

.landingSteps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  position: relative;
}

.landingSteps::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: linear-gradient(90deg, #d8e2ef, #0050b2, #d8e2ef);
}

.landingSteps div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  border: 0;
  border-radius: 0;
  padding: 0 14px;
  background: transparent;
  text-align: center;
}

.landingSteps strong {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #e8f0fd;
  color: #0050b2;
  border: 3px solid #f7f9fc;
  box-shadow: 0 0 0 1px #d8e2ef;
  font-family: var(--mono);
  font-size: 18px;
}

.landingSteps span {
  color: #3d5166;
  font-size: 13px;
}

.landingDemoDay {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
  overflow: hidden;
  padding: 56px max(32px, calc((100vw - 960px) / 2));
  background: #0050b2;
  color: #ffffff;
}

.landingDemoDay::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
}

.landingDemoDay > * {
  position: relative;
  z-index: 1;
}

.landingDemoDay h2 {
  color: #ffffff;
  font-size: 30px;
  margin: 12px 0 10px;
}

.landingDemoDay p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
}

.landingNumbers {
  width: min(960px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 54px 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.landingNumbers div {
  min-height: 132px;
  border: 1px solid #d8e2ef;
  border-radius: 12px;
  background: #f7f9fc;
  padding: 20px 16px;
  text-align: center;
}

.landingNumbers strong {
  display: block;
  color: #0050b2;
  font-family: var(--mono);
  font-size: 27px;
  margin-bottom: 8px;
}

.landingNumbers span {
  color: #3d5166;
  font-size: 12px;
  line-height: 1.5;
}

.landingPrimaryLink {
  flex-shrink: 0;
  border-radius: 10px;
  background: #ffffff;
  color: #0050b2;
  font-weight: 800;
  text-decoration: none;
  padding: 13px 18px;
}

.landingFooter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px max(32px, calc((100vw - 960px) / 2));
  background: #0d1b2a;
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
}

.landingFooter span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-weight: 700;
}

.landingFooter span::before {
  content: "RSO";
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  background: #0050b2;
  color: #ffffff;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
}

.landingFooter a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

@media (max-width: 800px) {
  .landingNav,
  .landingHeroHead,
  .landingSearchRow,
  .landingResultCard,
  .landingDemoDay,
  .landingFooter {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .landingCards,
  .landingSteps,
  .landingNumbers {
    grid-template-columns: 1fr;
  }

  .landingHero {
    padding-left: 20px;
    padding-right: 20px;
  }

  .landingHero h1 {
    font-size: 34px;
  }

  .landingSearch {
    padding: 20px;
  }

  .landingResultSide {
    align-items: flex-start;
  }

  .landingMiniFacts {
    grid-template-columns: 1fr;
  }

  .landingSteps {
    gap: 18px;
  }

  .landingSteps::before {
    display: none;
  }
}
