.kiparis-system-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #f7f6f9;
  color: #2d3033;
}

.system-site-header {
  background: #232638;
  color: #fff;
}

.system-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 92px;
  border: 0;
  padding: 18px 0;
}

.system-nav .brand {
  display: inline-flex;
  align-items: center;
  color: #fff;
  text-decoration: none;
}

.system-nav .brand img {
  display: block;
  width: 180px;
  max-width: 100%;
  filter: brightness(0) invert(1);
}

.system-brand-text {
  font-weight: 800;
  font-size: 18px;
}

.system-nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}

.system-nav-links a,
.system-nav .telephone {
  color: #fff;
  text-decoration: none;
}

.system-nav .telephone {
  font-size: 1.05rem;
  font-weight: 800;
  white-space: nowrap;
}

.system-main {
  flex: 1;
  padding: clamp(58px, 8vw, 110px) 0;
}

.system-shell {
  width: min(980px, calc(100% - 72px));
  margin: 0 auto;
}

.system-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  color: #55597d;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.system-breadcrumb:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.system-card {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 6vw, 72px);
  border: 1px solid #e4e2ea;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(40, 39, 60, .07);
}

.system-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #55597d, #f5c550);
}

.system-kicker {
  margin: 0 0 13px;
  color: #55597d;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.system-card h1 {
  max-width: 840px;
  margin: 0;
  color: #34354d;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(3rem, 7vw, 5.8rem);
  font-weight: 700;
  line-height: .96;
  letter-spacing: -.025em;
}

.system-card .system-lead {
  max-width: 760px;
  margin: 24px 0 0;
  color: #555765;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.65;
}

.system-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.system-actions .button.secondary {
  border: 1px solid #c8c7d2;
  background: transparent;
  color: #37394f;
}

.system-code {
  margin: 0 0 18px;
  color: #55597d;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(5rem, 15vw, 10rem);
  font-weight: 700;
  line-height: .72;
}

.legal-card h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
}

.legal-content {
  max-width: 790px;
  margin-top: 42px;
}

.legal-content h2 {
  margin: 34px 0 12px;
  color: #3d3f58;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.08;
}

.legal-content p,
.legal-content li {
  color: #4f515d;
  line-height: 1.75;
}

.legal-content ul {
  margin: 14px 0 0;
  padding-left: 22px;
}

.legal-content a {
  color: #55597d;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.system-site-footer {
  margin-top: auto;
}

.system-site-footer .footer-layout {
  padding-top: 0;
  padding-bottom: 0;
}

@media (max-width: 820px) {
  .system-nav-links {
    display: none;
  }

  .system-shell {
    width: min(100% - 36px, 980px);
  }

  .system-card {
    border-radius: 14px;
  }
}

@media (max-width: 560px) {
  .system-nav {
    min-height: 76px;
    gap: 14px;
  }

  .system-nav .brand img {
    width: 118px;
  }

  .system-nav .telephone {
    font-size: .88rem;
  }

  .system-main {
    padding: 38px 0 56px;
  }

  .system-card {
    padding: 28px 22px 32px;
  }
}
