:root {
  --brand: #7f1010;
  --brand-2: #a22a2a;
  --brand-deep: #990000;
  --bg: #08090b;
  --bg-soft: #111318;
  --panel: rgba(255, 255, 255, .055);
  --panel-strong: rgba(255, 255, 255, .09);
  --text: #f5f3f2;
  --muted: rgba(245, 243, 242, .68);
  --line: rgba(255, 255, 255, .13);
  --shadow: 0 26px 80px rgba(0, 0, 0, .36);
  --radius: 8px;
  --max: 1180px;
}

[data-theme="light"] {
  --bg: #f2f3f5;
  --bg-soft: #fafafa;
  --panel: #ffffff;
  --panel-strong: #ffffff;
  --text: #191b20;
  --muted: rgba(25, 27, 32, .72);
  --line: rgba(127, 16, 16, .18);
  --shadow: 0 18px 48px rgba(35, 38, 45, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(900px 540px at 86% 8%, rgba(127, 16, 16, .22), transparent 58%),
    linear-gradient(180deg, var(--bg), var(--bg-soft));
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.48;
  letter-spacing: 0;
}

[data-theme="light"] body {
  background:
    radial-gradient(720px 420px at 88% 0%, rgba(127, 16, 16, .12), transparent 62%),
    linear-gradient(180deg, #f1f2f4, #ffffff 54%, #f6f6f7);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.top-contact-bar {
  position: relative;
  z-index: 21;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg-soft) 88%, transparent);
  backdrop-filter: blur(16px);
}

[data-theme="light"] .top-contact-bar {
  background: #fff;
}

.top-contact-bar div {
  width: min(var(--max), calc(100% - 36px));
  display: flex;
  justify-content: flex-end;
  gap: 0;
  margin: 0 auto;
}

.top-contact-bar a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-left: 1px solid var(--line);
  padding: 0 28px;
  color: var(--muted);
  font-weight: 700;
}

.top-contact-bar a:last-child {
  border-right: 1px solid var(--line);
}

.top-contact-bar span {
  color: var(--brand);
  font-size: .96rem;
  line-height: 1;
}

.top-contact-bar a:hover {
  color: var(--text);
  background: color-mix(in srgb, var(--brand) 5%, transparent);
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 14px 0;
  backdrop-filter: blur(16px);
}

[data-theme="light"] .navbar {
  width: min(calc(var(--max) + 24px), calc(100% - 24px));
  margin-top: 8px;
  padding: 10px 12px;
  border: 1px solid rgba(127, 16, 16, .12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 12px 30px rgba(35, 38, 45, .08);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
}

[data-theme="light"] .brand {
  padding: 8px 12px;
  background: var(--brand-deep);
}

.brand img {
  width: 178px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a,
.theme-toggle {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0 12px;
  color: var(--muted);
  font-weight: 700;
  background: transparent;
  cursor: pointer;
}

.nav-links a:hover,
.theme-toggle:hover {
  color: var(--text);
  border-color: var(--line);
  background: var(--panel);
}

.theme-toggle {
  width: 42px;
  font-size: 18px;
}

[data-theme="dark"] .theme-toggle .sun,
[data-theme="light"] .theme-toggle .moon {
  display: none;
}

.nav-login {
  color: #fff !important;
  background: var(--brand) !important;
  border-color: var(--brand) !important;
}

.nav-menu {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.nav-menu span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
}

.hero {
  width: min(var(--max), calc(100% - 36px));
  min-height: calc(100vh - 74px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, .86fr);
  gap: 54px;
  align-items: center;
  padding: 48px 0 64px;
}

.hero-copy {
  position: relative;
}

.hero-copy::before {
  content: "";
  display: block;
  width: 72px;
  height: 5px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--brand-2);
  text-transform: uppercase;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(2.05rem, 4.15vw, 3.95rem);
  line-height: .98;
  font-weight: 950;
}

h1 span {
  color: var(--brand);
}

.lead {
  max-width: 760px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 18px;
  font-weight: 900;
}

.button.primary {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
  box-shadow: 0 18px 38px rgba(127, 16, 16, .26);
}

.button.secondary {
  color: var(--text);
  background: var(--panel);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  max-width: 760px;
}

.hero-metrics div,
.competence-grid article,
.service-grid article,
.partner-panel,
.admin-shell,
.contact,
.dashboard,
.dash-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero-metrics div {
  padding: 14px;
  box-shadow: none;
}

.hero-metrics strong,
.hero-metrics span {
  display: block;
}

.hero-metrics span {
  color: var(--muted);
  font-size: .9rem;
}

.dashboard {
  padding: 16px;
  background:
    linear-gradient(145deg, rgba(127, 16, 16, .18), transparent 42%),
    var(--panel);
}

.dash-top,
.card-head,
.editor-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.dash-top {
  padding-bottom: 14px;
  color: var(--muted);
  font-weight: 800;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .86rem;
}

.status i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #27d17f;
  box-shadow: 0 0 0 5px rgba(39, 209, 127, .12);
}

.dash-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.dash-card {
  min-height: 148px;
  padding: 16px;
  box-shadow: none;
  background: var(--panel-strong);
}

.dash-card.large,
.dash-card.wide {
  grid-column: 1 / -1;
}

.dash-card span,
.dash-card p {
  color: var(--muted);
}

.dash-card strong {
  display: block;
  font-size: 2rem;
}

.bars {
  height: 170px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: end;
  gap: 9px;
  padding-top: 22px;
}

.bars i {
  display: block;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, var(--brand-2), var(--brand));
}

.pipeline {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.pipeline b {
  display: grid;
  place-items: center;
  height: 46px;
  min-width: 72px;
  border-radius: var(--radius);
  background: rgba(127, 16, 16, .16);
}

.pipeline i {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
}

.system-visual {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(127, 16, 16, .18), transparent 42%),
    var(--panel);
  box-shadow: var(--shadow);
}

.system-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, .12), transparent 28%),
    radial-gradient(520px 260px at 18% 20%, rgba(127, 16, 16, .34), transparent 64%);
  pointer-events: none;
}

.system-visual-head,
.system-visual-foot {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px;
}

.system-visual-head span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--muted);
  background: rgba(255, 255, 255, .04);
  font-size: .78rem;
  font-weight: 900;
}

.system-visual svg {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  display: block;
}

.visual-boxes rect {
  fill: rgba(255, 255, 255, .035);
  stroke: rgba(255, 255, 255, .14);
}

.visual-boxes rect.secure {
  fill: rgba(127, 16, 16, .16);
  stroke: rgba(127, 16, 16, .38);
}

.visual-boxes text {
  fill: rgba(255, 255, 255, .92);
  font-size: 16px;
  font-weight: 900;
}

.visual-boxes text.sub {
  fill: rgba(255, 255, 255, .62);
  font-size: 13px;
  font-weight: 500;
}

.visual-dots circle {
  fill: rgba(255, 255, 255, .45);
}

.visual-dots circle.hot {
  fill: var(--brand);
}

.system-visual-foot {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.system-visual-foot span {
  color: var(--muted);
  font-size: .86rem;
}

.system-visual-foot strong {
  display: block;
  color: var(--text);
}

[data-theme="light"] .system-visual {
  border-color: rgba(127, 16, 16, .24);
  background:
    radial-gradient(760px 420px at 8% 4%, rgba(127, 16, 16, .34), transparent 58%),
    radial-gradient(620px 340px at 92% 100%, rgba(255, 255, 255, .08), transparent 58%),
    linear-gradient(145deg, #101216, #171a20 58%, #0b0d10);
  box-shadow: 0 26px 70px rgba(45, 18, 18, .20);
}

[data-theme="light"] .system-visual-head span {
  color: rgba(255, 255, 255, .84);
  border-color: rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .06);
}

[data-theme="light"] .visual-boxes rect {
  fill: rgba(255, 255, 255, .045);
  stroke: rgba(255, 255, 255, .16);
}

[data-theme="light"] .visual-boxes rect.secure {
  fill: rgba(127, 16, 16, .24);
  stroke: rgba(127, 16, 16, .42);
}

[data-theme="light"] .visual-boxes text {
  fill: rgba(255, 255, 255, .93);
}

[data-theme="light"] .visual-boxes text.sub {
  fill: rgba(255, 255, 255, .68);
}

[data-theme="light"] .visual-dots circle {
  fill: rgba(255, 255, 255, .46);
}

[data-theme="light"] .visual-dots circle.hot {
  fill: #b12424;
}

[data-theme="light"] .system-visual-foot {
  border-top-color: rgba(255, 255, 255, .14);
}

[data-theme="light"] .system-visual-foot span {
  color: rgba(255, 255, 255, .68);
}

[data-theme="light"] .system-visual-foot strong {
  color: #fff;
}

.section {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 76px 0;
}

.intro,
.split,
.contact {
  display: grid;
  grid-template-columns: .92fr 1fr;
  gap: 52px;
  align-items: center;
}

.intro {
  border-top: 1px solid var(--line);
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(1.55rem, 2.45vw, 2.65rem);
  line-height: 1.08;
}

.section-head {
  max-width: 780px;
  margin-bottom: 26px;
}

.section-head p,
.intro > p,
.split p {
  color: var(--muted);
  font-size: 1.06rem;
}

.competence-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.competence-grid article {
  min-height: 245px;
  padding: 18px;
  box-shadow: none;
}

.competence-grid span {
  color: var(--brand-2);
  font-weight: 950;
}

.competence-grid h3 {
  margin: 24px 0 12px;
  font-size: 1.08rem;
}

.competence-grid p,
.service-grid li {
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.service-grid article {
  position: relative;
  overflow: hidden;
  padding: 24px;
  box-shadow: none;
}

.service-grid article::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), rgba(127, 16, 16, 0));
}

.service-grid .featured {
  color: #fff;
  background:
    radial-gradient(320px 180px at 88% 0%, rgba(255, 255, 255, .14), transparent 62%),
    linear-gradient(145deg, var(--brand), #4f0909);
  border-color: rgba(255, 255, 255, .2);
}

.service-grid .featured h3,
.service-grid .featured li {
  color: #fff;
}

.service-price {
  display: grid;
  gap: 2px;
  margin: 10px 0 18px;
  border: 1px solid color-mix(in srgb, var(--brand) 32%, var(--line));
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--muted);
  background: color-mix(in srgb, var(--brand) 8%, transparent);
}

.service-price span {
  text-transform: uppercase;
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .06em;
}

.service-price strong {
  color: var(--brand);
  font-size: 1.08rem;
  line-height: 1.1;
}

.service-grid .featured .service-price {
  border-color: rgba(255, 255, 255, .28);
  color: rgba(255, 255, 255, .76);
  background: rgba(255, 255, 255, .1);
}

.service-grid .featured .service-price strong {
  color: #fff;
}

.service-grid .featured li::marker {
  color: rgba(255, 255, 255, .9);
}

.service-grid ul {
  padding-left: 18px;
  margin-bottom: 0;
}

.service-grid li + li {
  margin-top: 10px;
}

.text-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 0 0 22px;
}

.text-columns p,
.detail-grid p {
  color: var(--muted);
}

.comparison-card,
.detail-grid article,
.partner-details article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.comparison-card {
  margin-top: 18px;
  padding: 22px;
}

.comparison-card h3,
.partner-details h3 {
  margin-bottom: 14px;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 12px 10px;
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--text);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}

td {
  color: var(--muted);
}

td:not(:first-child),
th:not(:first-child) {
  text-align: center;
  white-space: nowrap;
}

td.check,
td.dash {
  font-size: 1.05rem;
  font-weight: 950;
}

td.check {
  color: var(--brand);
}

td.dash {
  color: var(--muted);
  opacity: .58;
}

td.value {
  color: var(--text);
  font-weight: 800;
  font-size: .9rem;
}

tr.price-row td {
  color: var(--text);
  background: color-mix(in srgb, var(--brand) 7%, transparent);
  font-weight: 900;
}

tr.price-row td.value {
  color: var(--brand);
  font-size: .96rem;
}

tr.extra-price-row td {
  color: var(--muted);
  background: color-mix(in srgb, var(--brand) 5%, transparent);
  font-weight: 500;
}

tr.extra-price-row td.value {
  color: var(--text);
  font-weight: 600;
  font-size: .88rem;
}

tr.extra-price-row td.dash {
  color: var(--muted);
  background: color-mix(in srgb, var(--brand) 3%, transparent);
  font-size: .92rem;
  font-weight: 500;
  opacity: .72;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 18px;
}

.detail-grid article {
  display: grid;
  grid-template-columns: minmax(360px, 44%) minmax(0, 1fr);
  column-gap: 24px;
  align-items: start;
  padding: 22px;
}

.detail-grid article h3 {
  grid-column: 1 / -1;
}

.detail-grid article .service-visual {
  grid-row: 2 / span 7;
}

.detail-grid article .service-visual-gallery {
  grid-column: 1 / -1;
  grid-row: auto;
}

.detail-grid p + p {
  margin-top: 12px;
}

.service-visual {
  margin: 14px 0 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  background: linear-gradient(145deg, var(--panel-strong), var(--panel));
  box-shadow: 0 16px 44px rgba(20, 12, 12, .12);
}

.visual-title {
  margin-bottom: 12px;
  color: var(--brand);
  font-weight: 950;
  text-align: center;
}

.quality-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-soft);
}

.quality-table div {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) .55fr .9fr 22px;
  gap: 8px;
  align-items: center;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: .78rem;
}

.quality-table div:last-child {
  border-bottom: 0;
}

.quality-table strong,
.quality-table div span:first-child {
  color: var(--text);
  font-weight: 850;
}

.quality-table i,
.visual-legend span::before {
  width: 12px;
  height: 12px;
  display: inline-block;
  border-radius: 999px;
  content: "";
}

.quality-table i.red,
.visual-legend .red::before {
  background: #d64a43;
}

.quality-table i.green,
.visual-legend .green::before {
  background: #9ac447;
}

.quality-table i.amber {
  background: #f3ad4f;
}

.service-visual-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 22px 0 4px;
}

.service-visual-gallery figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  background: linear-gradient(145deg, var(--panel-strong), var(--panel));
  box-shadow: 0 16px 44px rgba(20, 12, 12, .12);
}

.service-visual-gallery figure.wide {
  grid-column: 1 / -1;
}

.service-visual-gallery img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  border: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  border-radius: calc(var(--radius) - 4px);
  background: #fff;
  box-shadow: 0 12px 32px rgba(20, 12, 12, .12);
}

.service-visual-gallery figure:not(.wide) img {
  max-width: 680px;
  margin: 0 auto;
}

.service-visual-gallery-provision img {
  max-height: 560px;
}

.service-visual-gallery-provision figure:last-child img {
  max-width: 520px;
}

.service-visual-gallery figcaption {
  padding: 12px 2px 0;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 850;
  text-align: center;
}

.stock-chart {
  min-height: 188px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  align-items: end;
  gap: 10px;
  border-left: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 20px 8px 28px;
  background:
    linear-gradient(to top, var(--line) 1px, transparent 1px) 0 32px / 100% 48px,
    var(--bg-soft);
}

.stock-chart span {
  position: relative;
  min-height: 150px;
  display: grid;
  align-items: end;
}

.stock-chart span::before,
.stock-chart span::after {
  content: "";
  display: block;
  width: 62%;
  margin: 0 auto;
}

.stock-chart span::before {
  height: var(--blue);
  background: #6095e8;
}

.stock-chart span::after {
  height: calc(var(--green) + var(--red));
  background:
    linear-gradient(to top, #bd2226 0 var(--red), #2ecb35 var(--red) 100%);
}

.stock-chart b {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -24px;
  color: var(--muted);
  font-size: .72rem;
  text-align: center;
}

.visual-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 12px;
  color: var(--muted);
  font-size: .76rem;
}

.visual-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.visual-legend .blue::before {
  background: #6095e8;
}

.visual-legend .brand::before {
  background: var(--brand);
}

.matching-board {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-soft);
}

.matching-head,
.matching-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
}

.matching-head {
  border-bottom: 1px solid var(--line);
  color: var(--text);
  background: color-mix(in srgb, var(--brand) 9%, transparent);
}

.matching-head span {
  color: var(--brand);
  font-size: .76rem;
  font-weight: 900;
}

.matching-head strong:last-child {
  text-align: right;
}

.matching-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34% minmax(0, 1.12fr);
  gap: 8px;
  align-items: start;
  padding: 12px;
}

.match-list {
  display: grid;
  gap: 8px;
}

.match-list div {
  height: 32px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 16px;
  gap: 8px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 5px 7px;
  color: var(--muted);
  background: var(--panel);
  font-size: .75rem;
}

.match-list.right div {
  grid-template-columns: 34px minmax(0, 1fr) 16px;
}

.match-list b {
  color: var(--text);
}

.match-list i {
  width: 12px;
  height: 12px;
  border-radius: 999px;
}

.match-list i.ok {
  background: #74b043;
}

.match-list i.bad {
  background: #d64a43;
}

.match-list .orphan {
  border-color: color-mix(in srgb, #d64a43 58%, var(--line));
  background: color-mix(in srgb, #d64a43 10%, var(--panel));
}

.match-lines {
  width: 100%;
  height: 192px;
  align-self: start;
  overflow: visible;
  transform: translateY(-10px);
}

.match-lines path {
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
}

.match-lines path.ok {
  stroke: color-mix(in srgb, var(--brand) 65%, #56c766);
}

.match-lines path.warn {
  stroke: #d64a43;
}

.matching-footer {
  grid-template-columns: 1fr auto;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .78rem;
}

.matching-footer strong {
  color: var(--brand);
}

.provision-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.provision-kpis span {
  min-height: 64px;
  display: grid;
  align-content: center;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px;
  color: var(--muted);
  background: var(--bg-soft);
  font-size: .72rem;
  text-align: center;
}

.provision-kpis strong {
  color: var(--brand);
  font-size: 1rem;
}

.provision-rows {
  display: grid;
  gap: 9px;
}

.provision-rows div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1.1fr 56px;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: .78rem;
}

.provision-rows i {
  position: relative;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand) 14%, transparent);
}

.provision-rows i::before {
  content: "";
  display: block;
  width: inherit;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand), #d84f4f);
}

.provision-rows b {
  color: var(--text);
  font-size: .74rem;
  text-align: right;
}

.partner-panel {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.partner-panel div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--panel-strong);
}

.partner-panel strong {
  color: var(--brand-2);
  font-size: 2rem;
}

.partner-panel span {
  color: var(--muted);
  text-align: right;
}

.partner-details {
  grid-column: 1 / -1;
  display: block;
  margin-top: 18px;
}

.partner-details article {
  padding: 22px;
}

.portal-list {
  columns: 2;
  column-gap: 24px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.portal-list li {
  break-inside: avoid;
  margin-bottom: 8px;
}

.admin-shell {
  display: grid;
  grid-template-columns: 230px 1fr;
  min-height: 430px;
  overflow: hidden;
}

.admin-shell aside {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 18px;
  border-right: 1px solid var(--line);
  background: rgba(0, 0, 0, .08);
}

.admin-shell aside strong {
  margin-bottom: 16px;
}

.admin-shell aside a {
  padding: 10px 12px;
  border-radius: var(--radius);
  color: var(--muted);
  font-weight: 800;
}

.admin-shell aside a.active {
  color: #fff;
  background: var(--brand);
}

.editor {
  padding: 22px;
}

.editor-toolbar {
  margin-bottom: 22px;
}

.editor-toolbar button {
  min-height: 40px;
  border: 0;
  border-radius: var(--radius);
  padding: 0 15px;
  color: #fff;
  background: var(--brand);
  font-weight: 900;
}

.editor label {
  display: block;
  margin: 14px 0 8px;
  color: var(--muted);
  font-weight: 800;
}

.editor input,
.editor textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--text);
  background: var(--panel-strong);
  font: inherit;
}

.editor textarea {
  min-height: 138px;
  resize: vertical;
}

.json-note {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: var(--radius);
  color: var(--muted);
  background: rgba(127, 16, 16, .12);
}

.contact {
  padding: 34px;
}

.contact h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.contact-actions {
  display: grid;
  gap: 10px;
}

.team-contact {
  gap: 14px;
  border: 1px solid color-mix(in srgb, var(--brand) 34%, var(--line));
  border-radius: var(--radius);
  padding: 18px;
  background:
    radial-gradient(320px 180px at 100% 0%, color-mix(in srgb, var(--brand) 18%, transparent), transparent 70%),
    var(--panel-strong);
  box-shadow: var(--shadow);
}

.team-contact-head {
  margin-bottom: 2px;
}

.team-contact-head span {
  display: block;
  margin-bottom: 6px;
  color: var(--brand);
  text-transform: uppercase;
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .08em;
}

.team-contact-head strong {
  display: block;
  color: var(--text);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.12;
}

.team-contact-head p {
  max-width: 46em;
  margin: 8px 0 0;
  color: var(--muted);
}

.contact-actions > a,
.contact-actions > span {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-strong);
  font-weight: 800;
}

.contact-actions .primary-contact {
  min-height: 68px;
  border-color: color-mix(in srgb, var(--brand) 32%, var(--line));
  color: var(--text);
  background: color-mix(in srgb, var(--brand) 7%, var(--panel));
  font-size: clamp(1rem, 1.6vw, 1.2rem);
}

.contact-actions a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.contact-icon {
  width: 1em;
  height: 1em;
  display: inline-block;
  flex: 0 0 auto;
  background: var(--brand);
  line-height: 1;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.icon-mail {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 5h18v14H3V5zm2 3.2v8.8h14V8.2l-7 5.1-7-5.1zM6.4 7l5.6 4.1L17.6 7H6.4z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 5h18v14H3V5zm2 3.2v8.8h14V8.2l-7 5.1-7-5.1zM6.4 7l5.6 4.1L17.6 7H6.4z'/%3E%3C/svg%3E");
}

.icon-phone {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6.6 2.8 9.8 6c.8.8.8 2 0 2.8l-1.1 1.1c1.2 2.3 3.1 4.2 5.4 5.4l1.1-1.1c.8-.8 2-.8 2.8 0l3.2 3.2c.8.8.8 2 0 2.8l-1.7 1.7c-.5.5-1.2.8-1.9.7C9.1 21.8 2.2 14.9 1.4 6.4c-.1-.7.2-1.4.7-1.9l1.7-1.7c.8-.8 2-.8 2.8 0z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6.6 2.8 9.8 6c.8.8.8 2 0 2.8l-1.1 1.1c1.2 2.3 3.1 4.2 5.4 5.4l1.1-1.1c.8-.8 2-.8 2.8 0l3.2 3.2c.8.8.8 2 0 2.8l-1.7 1.7c-.5.5-1.2.8-1.9.7C9.1 21.8 2.2 14.9 1.4 6.4c-.1-.7.2-1.4.7-1.9l1.7-1.7c.8-.8 2-.8 2.8 0z'/%3E%3C/svg%3E");
}

.contact-person {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 22px;
  align-items: end;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--brand) 9%, transparent), transparent 52%),
    var(--panel-strong);
  box-shadow: var(--shadow);
}

.contact-person img {
  width: 170px;
  max-width: 100%;
  display: block;
  align-self: end;
}

.contact-person span {
  color: var(--brand);
  text-transform: uppercase;
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .08em;
}

.contact-person h3 {
  margin: 5px 0 12px;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
}

.contact-person a {
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-top: 8px;
  color: var(--text);
  font-weight: 850;
}

.legal-page {
  width: min(980px, calc(100% - 36px));
  margin: 0 auto;
  padding: 76px 0 42px;
}

.legal-hero {
  max-width: 760px;
  margin-bottom: 24px;
}

.legal-hero h1 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

.legal-hero p {
  color: var(--muted);
  font-size: 1.02rem;
}

.legal-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.legal-card h2 {
  margin-bottom: 12px;
  font-size: 1.28rem;
}

.legal-card p {
  color: var(--muted);
}

.legal-card p:last-child {
  margin-bottom: 0;
}

.legal-facts {
  display: grid;
  gap: 10px;
  margin: 0;
}

.legal-facts div {
  display: grid;
  grid-template-columns: minmax(150px, .36fr) minmax(0, 1fr);
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
}

.legal-facts div:last-child {
  border-bottom: 0;
}

.legal-facts dt {
  color: var(--muted);
  font-weight: 900;
}

.legal-facts dd {
  margin: 0;
  color: var(--text);
}

.dashboard-section {
  padding-top: 56px;
}

.portal-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(280px, .68fr);
  gap: 38px;
  align-items: center;
}

.device-frame {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  padding: 18px 18px 28px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .04)),
    #111318;
  box-shadow: 0 32px 86px rgba(0, 0, 0, .32);
}

.device-frame::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 17px;
  border: 1px solid rgba(255, 255, 255, .08);
  pointer-events: none;
}

.device-camera {
  width: 8px;
  height: 8px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .34);
}

.device-base {
  position: absolute;
  left: 50%;
  bottom: -18px;
  width: 72%;
  height: 18px;
  transform: translateX(-50%);
  border-radius: 0 0 22px 22px;
  background: linear-gradient(180deg, #d9dce2, #8f949e);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .22);
}

[data-theme="light"] .device-frame {
  border-color: rgba(127, 16, 16, .14);
  background:
    linear-gradient(145deg, #ffffff, #d7dbe2),
    #fff;
  box-shadow: 0 30px 80px rgba(67, 35, 35, .16);
}

[data-theme="light"] .device-frame::before {
  border-color: rgba(20, 22, 28, .08);
}

[data-theme="light"] .device-camera {
  background: rgba(20, 22, 28, .28);
}

.portal-copy h3 {
  margin-bottom: 14px;
  font-size: clamp(1.35rem, 1.95vw, 1.95rem);
  line-height: 1.08;
}

.portal-copy p {
  color: var(--muted);
  font-size: .98rem;
}

.portal-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.portal-highlights span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 11px;
  color: var(--text);
  background: var(--panel);
  font-size: .86rem;
  font-weight: 900;
}

.posthub-section {
  padding-top: 48px;
}

.posthub-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: start;
  border: 1px solid rgba(127, 16, 16, .28);
  border-radius: var(--radius);
  padding: 28px;
  background:
    radial-gradient(780px 420px at 100% 10%, rgba(127, 16, 16, .26), transparent 62%),
    linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.025));
  box-shadow: var(--shadow);
}

.posthub-copy h2 {
  max-width: 12em;
}

.posthub-copy h2::first-line {
  color: var(--text);
}

.posthub-copy p {
  max-width: 780px;
  color: var(--muted);
  font-size: 1rem;
}

.posthub-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.posthub-steps article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px;
  background: rgba(255,255,255,.045);
}

.posthub-steps strong,
.posthub-steps span {
  display: block;
}

.posthub-steps strong {
  margin-bottom: 5px;
  color: var(--brand-2);
  text-transform: uppercase;
  font-size: .75rem;
  letter-spacing: .06em;
}

.posthub-steps span {
  color: var(--muted);
  font-size: .88rem;
}

.posthub-media img,
.posthub-fallback {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .34);
}

.posthub-media img {
  display: block;
  max-height: 760px;
  object-fit: cover;
}

.posthub-fallback {
  position: relative;
  min-height: 360px;
  padding: 28px;
  overflow: hidden;
  background:
    radial-gradient(520px 260px at 80% 6%, rgba(180, 34, 48, .34), transparent 62%),
    linear-gradient(145deg, #08090b, #171a20);
}

.posthub-screen {
  margin-left: auto;
  width: min(660px, 92%);
  min-height: 250px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 18px;
  padding: 18px;
  transform: perspective(900px) rotateY(-7deg) rotateX(2deg);
  background: #f5f6f8;
}

.posthub-screen-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-bottom: 12px;
  color: #fff;
  background: var(--brand);
  font-size: .7rem;
  font-weight: 900;
}

.posthub-screen-bar span {
  padding: 8px;
}

.posthub-screen i {
  display: block;
  height: 24px;
  margin-top: 7px;
  border-radius: 4px;
  background: linear-gradient(90deg, #fff, #e9edf2);
}

.posthub-api {
  position: absolute;
  right: 26px;
  bottom: 64px;
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  color: var(--brand);
  background: #fff;
  font-size: 1.45rem;
  font-weight: 950;
  box-shadow: 0 16px 36px rgba(0,0,0,.28);
}

.posthub-fallback p {
  position: absolute;
  left: 24px;
  bottom: 20px;
  margin: 0;
  color: rgba(255,255,255,.68);
  font-size: .82rem;
}

.portal-preview {
  display: grid;
  position: relative;
  z-index: 1;
  grid-template-columns: 104px 1fr;
  min-height: auto;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 12px;
  background: #f5f5f5;
  box-shadow: none;
}

.portal-sidebar {
  display: grid;
  align-content: start;
  gap: 4px;
  padding: 13px 0;
  color: #fff;
  background: var(--brand-deep);
}

.portal-sidebar strong {
  padding: 0 12px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
  font-size: .82rem;
}

.portal-sidebar a {
  margin: 0 7px;
  padding: 7px 8px;
  border-radius: 6px;
  color: rgba(255, 255, 255, .92);
  font-size: .66rem;
  font-weight: 800;
}

.portal-sidebar a.active,
.portal-sidebar a:hover {
  background: rgba(255, 255, 255, .12);
}

.portal-main {
  min-width: 0;
  padding: 12px;
  background: #f7f7f7;
}

.portal-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  margin-bottom: 10px;
}

.portal-kpis article,
.widget {
  border: 1px solid rgba(153, 0, 0, .14);
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
}

.portal-kpis article {
  min-height: 58px;
  display: grid;
  place-items: center;
  padding: 8px 6px;
  text-align: center;
  color: var(--brand-deep);
}

.portal-kpis article.hot {
  color: #fff;
  background: linear-gradient(135deg, var(--brand-deep), #bd2d2d);
}

.portal-kpis span {
  display: block;
  margin-bottom: 4px;
  color: inherit;
  opacity: .68;
  text-transform: uppercase;
  font-size: .48rem;
  letter-spacing: .08em;
  font-weight: 900;
  white-space: nowrap;
}

.portal-kpis strong {
  font-size: clamp(.76rem, 1.15vw, 1.04rem);
  line-height: 1.1;
  white-space: nowrap;
}

.portal-widgets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.widget {
  min-height: 136px;
  padding: 10px;
  color: #4e4e4e;
}

.widget h3 {
  margin-bottom: 8px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(153, 0, 0, .16);
  color: var(--brand-deep);
  font-size: .68rem;
}

.list-widget ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.list-widget li {
  color: var(--brand-deep);
  font-size: .86rem;
}

.list-widget li strong {
  float: right;
  color: var(--brand-deep);
  white-space: nowrap;
}

.list-widget a {
  color: #0069ff;
  text-decoration: underline;
}

.chart-widget,
.columns-widget {
  display: grid;
  align-content: start;
}

.donut {
  width: 92px;
  aspect-ratio: 1;
  margin: 2px auto 8px;
  border-radius: 50%;
  background: conic-gradient(#990000 0 78deg, #b52b2b 78deg 142deg, #cf5b5b 142deg 216deg, #e30032 216deg 292deg, #c63d26 292deg 340deg, #f08019 340deg 360deg);
  position: relative;
}

.donut::after {
  content: "";
  position: absolute;
  inset: 23px;
  border-radius: 50%;
  background: #fff;
}

.legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  color: #686868;
  font-size: .58rem;
}

.legend span::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 5px;
  background: var(--brand-deep);
}

.hbar {
  display: grid;
  grid-template-columns: 78px 1fr;
  align-items: center;
  gap: 7px;
  margin: 5px 0;
  color: #666;
  font-size: .58rem;
}

.hbar i {
  height: 10px;
  border-radius: 2px;
  background: var(--brand-deep);
}

.line-widget svg {
  width: 100%;
  height: 104px;
  background-image:
    linear-gradient(rgba(0, 0, 0, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, .07) 1px, transparent 1px);
  background-size: 38px 30px;
}

.line-widget path {
  fill: none;
  stroke: var(--brand-deep);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.line-widget path.fill {
  fill: rgba(153, 0, 0, .12);
  stroke: none;
}

.columns {
  height: 112px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: end;
  gap: 9px;
  padding-top: 6px;
}

.columns i {
  position: relative;
  min-height: 8px;
  background: var(--brand-deep);
}

.columns b {
  position: absolute;
  left: 50%;
  bottom: -18px;
  transform: translateX(-50%);
  color: #686868;
  font-style: normal;
  font-size: .58rem;
  font-weight: 500;
}

footer {
  width: min(var(--max), calc(100% - 36px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 auto;
  padding: 28px 0 42px;
  color: var(--muted);
}

footer nav {
  display: flex;
  gap: 16px;
}

.cookie-banner {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  color: var(--text);
  background: color-mix(in srgb, var(--bg-soft) 90%, transparent);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner strong {
  display: block;
  margin-bottom: 4px;
}

.cookie-banner p {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cookie-actions .button.secondary {
  color: var(--text);
  background: var(--panel);
}

[data-theme="dark"] .cookie-actions .button.secondary {
  color: #fff;
  background: rgba(255, 255, 255, .07);
}

@media (max-width: 1040px) {
  .hero,
  .intro,
  .split,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .competence-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .text-columns,
  .detail-grid,
  .partner-details {
    grid-template-columns: 1fr;
  }

  .detail-grid article {
    grid-template-columns: 1fr;
  }

  .detail-grid article .service-visual {
    grid-row: auto;
  }

  .detail-grid article .service-visual-gallery {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
  }

  .portal-showcase {
    grid-template-columns: 1fr;
  }

  .posthub-layout {
    grid-template-columns: 1fr;
  }

  .posthub-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portal-copy {
    max-width: 680px;
  }

  .portal-preview {
    grid-template-columns: 104px 1fr;
  }

  .portal-sidebar {
    grid-template-columns: 1fr;
    padding: 13px 0;
  }

  .portal-sidebar strong {
    grid-column: auto;
    padding: 0 12px 12px;
  }

  .portal-kpis,
  .portal-widgets {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .system-visual-foot {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .top-contact-bar div {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .top-contact-bar a {
    min-height: 36px;
    flex: 1 1 170px;
    justify-content: center;
    border: 0;
    padding: 0 10px;
    font-size: .86rem;
  }

  .top-contact-bar a:last-child {
    border-right: 0;
  }

  .nav-menu {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-soft);
  }

  .nav-links.is-open {
    display: flex;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 28px;
  }

  .dashboard {
    min-width: 0;
  }

  .system-visual {
    min-width: 0;
  }

  .hero-metrics,
  .service-grid,
  .competence-grid,
  .posthub-steps {
    grid-template-columns: 1fr;
  }

  .portal-list {
    columns: 1;
  }

  .comparison-card,
  .partner-details article {
    padding: 16px;
  }

  .table-wrap {
    overflow-x: visible;
  }

  table {
    min-width: 0;
  }

  thead {
    display: none;
  }

  tbody,
  tr,
  td {
    display: block;
    width: 100%;
  }

  tr {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 10px 12px;
    background: rgba(255, 255, 255, .025);
  }

  tr + tr {
    margin-top: 10px;
  }

  td {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    border-bottom: 1px solid var(--line);
    padding: 8px 0;
    text-align: right;
    white-space: normal;
  }

  td:last-child {
    border-bottom: 0;
  }

  td::before {
    content: attr(data-label);
    color: var(--text);
    text-align: left;
    font-size: .78rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .05em;
    white-space: normal;
  }

  td:first-child {
    display: block;
    color: var(--text);
    text-align: left;
    font-weight: 800;
  }

  td:first-child::before {
    display: block;
    margin-bottom: 4px;
    color: var(--muted);
  }

  .portal-main {
    padding: 14px;
  }

  .device-frame {
    padding: 12px 12px 22px;
  }

  .portal-preview {
    grid-template-columns: 1fr;
    aspect-ratio: auto;
  }

  .portal-sidebar {
    display: none;
  }

  .portal-kpis,
  .portal-widgets {
    grid-template-columns: 1fr;
  }

  .hbar {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .admin-shell aside {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .dash-grid {
    grid-template-columns: 1fr;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .cookie-banner {
    grid-template-columns: 1fr;
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .cookie-actions {
    justify-content: flex-start;
  }

  .cookie-actions .button {
    flex: 1 1 150px;
  }

  .legal-page {
    padding-top: 42px;
  }

  .legal-card {
    padding: 18px;
  }

  .contact-person {
    grid-template-columns: 110px minmax(0, 1fr);
    align-items: end;
    padding: 14px;
  }

  .contact-person img {
    width: 110px;
  }

  .legal-facts div {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}
