﻿:root {
  --bg-a: #f0f4f8;
  --bg-b: #e4ecf3;
  --surface: #ffffff;
  --text: #102136;
  --muted: #5f7387;
  --line: #c9d6e2;
  --primary: #0f5ea8;
  --primary-dark: #0b467d;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--text);
  background: linear-gradient(160deg, var(--bg-a), var(--bg-b));
  font-family: "Segoe UI", "Open Sans", Tahoma, sans-serif;
}

.bg-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 10% 0%, #ffffff99, transparent 40%);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
  background: #ffffffcc;
  border-bottom: 1px solid #ffffff;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 42px; height: 42px; object-fit: contain; }
.brand h1 { margin: 0; font-size: 1.05rem; }
.brand p { margin: 0; font-size: 0.82rem; color: var(--muted); }
nav a {
  text-decoration: none;
  color: var(--primary-dark);
  background: #e9f0f7;
  border: 1px solid #cadef0;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 600;
}

.page {
  max-width: 1080px;
  margin: 22px auto 48px;
  padding: 0 14px;
  display: grid;
  gap: 14px;
}

.panel {
  background: var(--surface);
  border: 1px solid #e7eef5;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 8px 24px #1c2b3a10;
}

.hero h2 { margin: 8px 0 10px; font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.2; max-width: 860px; }
.hero p { margin: 6px 0; color: #334a60; }
.eyebrow { font-size: 0.82rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--primary-dark); font-weight: 700; }

.steps h3, .filter-panel h3, .result-head h3 { margin: 0 0 10px; }
.step-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.step-grid article { background: #f4f8fc; border: 1px solid #d9e5f1; border-radius: 12px; padding: 12px; display: grid; gap: 8px; }
.step-grid span {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--primary); color: #fff; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}
.step-grid p { margin: 0; color: #35506a; }

.grid-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
  align-items: end;
}

.filter-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.filter-actions .btn {
  width: auto;
  min-width: 150px;
  text-align: center;
}

label { font-size: 0.86rem; font-weight: 700; color: #2f4963; }
select, input, button {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--line);
  padding: 10px;
  font: inherit;
  background: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  cursor: pointer;
  border-radius: 10px;
  padding: 10px 14px;
  text-decoration: none;
  font-weight: 600;
}
.btn.primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  font-weight: 700;
}
.btn.primary:hover { background: var(--primary-dark); }

.filter-actions .btn:not(.primary) {
  background: #f7fbff;
  border-color: #b7d0e7;
  color: #1c4f78;
}

.filter-actions .btn:not(.primary):hover {
  background: #edf5fc;
}

.result-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  border-bottom: 1px solid #e7eef5;
  padding-bottom: 8px;
}
.result-head p { margin: 0; color: var(--muted); }

.result-list { display: grid; gap: 12px; margin-top: 12px; }
.software-card {
  border: 1px solid #dbe6f0;
  border-radius: 12px;
  padding: 14px;
  background: #fbfdff;
}
.software-card h4 { margin: 0 0 8px; font-size: 1.08rem; }
.software-card p { margin: 6px 0; color: #2c455d; }
.supplier-line { color: #173e62; }
.supplier-line a { color: #FFE103; font-weight: 700; text-decoration: none; }
.supplier-line a:hover { text-decoration: underline; }
.hint { color: var(--muted); }

@media (max-width: 820px) {
  .topbar { flex-direction: column; align-items: flex-start; }
}

.landing-page {
  margin: 0;
  background: #e7e7e7;
  color: #000;
  font-family: "Segoe UI", Arial, sans-serif;
}

.landing-strip {
  background: #FFE103;
  height: 46px;
  display: flex;
  align-items: center;
}

.landing-strip-inner {
  width: min(1140px, 100%);
  margin: 0 auto;
  padding: 0 14px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
}

.strip-home-link {
  color: inherit;
  text-decoration: none;
}

.strip-home-link:hover {
  text-decoration: underline;
}

.landing-main {
  width: min(1140px, 100%);
  margin: 0 auto;
  padding: 28px 14px 36px;
}

.landing-grid {
  min-height: calc(100vh - 70px);
  display: grid;
  grid-template-columns: minmax(300px, 1fr) 360px;
  gap: 30px;
  align-items: start;
}

.landing-left h1 {
  margin: 6px 0 0;
  max-width: 760px;
  font-size: clamp(36px, 5.2vw, 58px);
  line-height: 1.06;
  font-weight: 700;
}

.landing-text {
  margin-top: 120px;
  max-width: 700px;
}

.landing-text p {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.35;
}

.landing-right {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  padding-top: 120px;
  gap: 14px;
}

.landing-actions {
  width: 100%;
  display: grid;
  gap: 12px;
}

.landing-pill {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  border-radius: 999px;
  border: 2px solid #FFE103;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 16px;
  padding: 0 56px 0 20px;
}

.landing-pill span { white-space: nowrap; }

.landing-pill b {
  position: absolute;
  right: -18px;
  top: -10px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #0f9bd8;
  color: #fff;
  border: 1px solid #0a6f9a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 500;
}

.pill-filled {
  background: #FFE103;
  color: #fff;
}

.pill-outline {
  background: white;
  color: #FFE103;
}

.search-main {
  width: min(1140px, 100%);
  margin: 0 auto;
  padding: 36px 18px 40px;
  min-height: calc(100vh - 46px);
  display: grid;
  gap: 16px;
}

.search-intro h1 {
  margin: 0;
  font-size: clamp(30px, 2.8vw, 42px);
  font-weight: 500;
}

.search-block {
  background: #f5f5f5;
  border: 1px solid #d6d6d6;
  border-radius: 14px;
  padding: 16px;
}

.search-grid-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  align-items: end;
}

.filter-field {
  background: #fff;
  border: 1px solid #d3d3d3;
  border-radius: 10px;
  padding: 10px;
  position: relative;
  display: grid;
  gap: 6px;
}

.search-page .filter-label-row {
  display: block;
  padding-right: 20px;
}

.search-page label {
  color: #202020;
  font-weight: 600;
  font-size: 12px;
  margin: 0;
  line-height: 1.25;
}

.search-page .info-trigger,
.search-page .info-modal-close {
  width: 16px;
  height: 16px;
  min-width: 16px;
  border-radius: 50%;
  border: 1px solid #000;
  background: #fff;
  color: #000;
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.search-page .info-trigger {
  position: absolute;
  top: 8px;
  right: 8px;
}

.search-page .info-trigger:hover {
  background: #FFE103;
}

.search-page .info-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
}

.search-page .info-modal.is-open {
  display: block;
}

.search-page .info-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.search-page .info-modal-dialog {
  position: relative;
  width: min(640px, calc(100% - 32px));
  margin: 8vh auto 0;
  background: #fff;
  border: 1px solid #d4d4d4;
  border-radius: 10px;
  padding: 22px;
  box-shadow: 0 24px 36px rgba(0, 0, 0, 0.2);
}

.search-page .info-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
}

.search-page .info-modal-close:hover {
  background: #FFE103;
}

.search-page .info-modal-dialog h3 {
  margin: 0 36px 12px 0;
  font-size: 20px;
}

.search-page .info-modal-dialog p {
  margin: 0;
  color: #2a2a2a;
  line-height: 1.5;
}

.search-page .info-modal-link {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #0f5ea8;
  font-weight: 600;
  text-decoration: underline;
}

.search-page .info-modal-link svg {
  width: 10px;
  height: 10px;
}

.search-page select,
.search-page input {
  border-color: #c7c7c7;
  background: #fff;
  min-height: 42px;
  font-size: 13px;
}

.search-page select {
  border-radius: 8px;
  padding: 8px 10px;
}

.search-actions {
  grid-column: 1 / -1;
  margin-top: 2px;
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  gap: 12px;
}

.search-actions .btn {
  width: 100%;
  min-width: 0;
  height: 46px;
  border-radius: 999px;
  border: 2px solid #FFE103;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 16px;
  font-weight: 600;
}

.button-primary {
  background: #FFE103;
  border-width: 2px;
  border-color: #000000;
  border-radius: 999px;
  color: #000;
  font-weight: 700;
}

.button-primary:hover {
  background: #000;
  border-width: 2px;
  border-color: #000;
  border-radius: 999px;
  color: #FFE103;
  font-weight: 700;
}

.button-secondary {
  background: #fff;
  border-width: 2px;
  border-color: #000;
  border-radius: 999px;
  color: #000;
  font-weight: 700;
}

.button-secondary:hover {
  background: #fff;
  border-width: 2px;
  border-color: #fff;
  border-radius: 999px;
  color: #000;
  font-weight: 700;
}

.search-page .result-list {
  margin-top: 14px;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.search-page .software-card {
  position: relative;
  background: #faf9f7;
  border: 1px solid #e4dfd8;
  border-radius: 8px;
  padding: 24px 24px 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.search-page .software-card:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1), 0 2px 6px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.search-page .software-card-accent {
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 2px;
  background: linear-gradient(90deg, #ffe103, #ffd000);
  border-radius: 0 0 2px 2px;
}

.search-page .software-card-header {
  margin-bottom: 10px;
}

.search-page .software-card-title {
  margin: 0 0 6px;
  font-family: inherit;
  font-size: 1.14rem;
  color: #1a1714;
  letter-spacing: -0.01em;
}

.search-page .software-card-description {
  margin: 0;
  font-size: 0.84rem;
  color: #7a7369;
  line-height: 1.5;
}

.search-page .supplier-line {
  margin: 12px 0 0;
  color: #5a5450;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.search-page .card-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #d2aa00;
  text-decoration: none;
}

.search-page .supplier-favicon {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ece7de;
  border: 1px solid #ddd8d0;
  margin-right: 2px;
  overflow: hidden;
}

.search-page .supplier-favicon.is-missing {
  background: #ece7de;
}

.search-page .supplier-favicon.is-loaded {
  background: transparent;
  border-color: #d6d0c5;
}

.search-page .supplier-favicon-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.search-page .card-link:hover {
  color: #a17f00;
}

.search-page .card-link svg {
  width: 10px;
  height: 10px;
  transition: transform 0.2s ease;
}

.search-page .card-link:hover svg {
  transform: translate(2px, -2px);
}

.search-page .software-card-divider {
  height: 1px;
  background: #ede8e2;
  margin: 18px 0;
}

.search-page .meta-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.search-page .meta-item {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.search-page .meta-label {
  min-width: 132px;
  flex-shrink: 0;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b0a89e;
}

.search-page .meta-value {
  font-size: 0.82rem;
  color: #2d2a27;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
}

.search-page .badge {
  display: inline-block;
  background: #fff9cf;
  border: 1px solid #ffe103;
  border-radius: 4px;
  font-size: 0.72rem;
  color: #5a5450;
  padding: 3px 8px;
  line-height: 1.25;
}

.search-page .result-head {
  border-bottom-color: #cfcfcf;
}

.roles-main {
  width: min(1140px, 100%);
  margin: 0 auto;
  padding: 42px 18px 36px;
  min-height: calc(100vh - 46px);
}

.roles-main h1 {
  margin: 0 0 34px;
  font-size: clamp(30px, 2.8vw, 42px);
  font-weight: 500;
}

.roles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 30px 26px;
}

.role-card {
  text-decoration: none;
  color: #202020;
  display: block;
}

.role-image {
  width: 138px;
  height: 138px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.role-card:hover .role-image {
  transform: translateY(-2px);
}

@media (max-width: 980px) {
  .landing-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .landing-left h1 { font-size: clamp(34px, 10vw, 52px); }
  .landing-text { margin-top: 44px; }
  .landing-text p { font-size: 16px; }

  .landing-right {
    align-items: stretch;
    padding-top: 10px;
    gap: 12px;
  }

  .roles-grid {
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 20px 16px;
  }

  .search-grid-form {
    grid-template-columns: 1fr;
  }

  .search-actions {
    grid-template-columns: 1fr;
  }

  .search-page .result-list {
    grid-template-columns: 1fr;
  }

  .search-page .meta-item {
    display: grid;
    gap: 6px;
  }

  .search-page .meta-label {
    min-width: 0;
  }
}
