.loumi-legal-page {
  background:
    radial-gradient(circle at 14% 12%, rgba(225, 231, 184, 0.32), transparent 26%),
    radial-gradient(circle at 90% 18%, rgba(248, 229, 214, 0.74), transparent 30%),
    var(--loumi-bg);
}

.loumi-legal-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 8vw, 112px) 0 clamp(56px, 6vw, 82px);
  background: linear-gradient(135deg, #feeadc 0%, #f8e5d6 50%, #f7eadf 100%);
  border-bottom: 1px solid rgba(111, 88, 69, 0.09);
}

.loumi-legal-hero::before,
.loumi-legal-hero::after {
  content: '';
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 999px;
  pointer-events: none;
}

.loumi-legal-hero::before {
  right: -80px;
  top: -120px;
  background: rgba(225, 231, 184, 0.58);
  filter: blur(24px);
}

.loumi-legal-hero::after {
  left: -120px;
  bottom: -160px;
  background: rgba(255, 253, 248, 0.7);
  filter: blur(20px);
}

.loumi-legal-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  text-align: center;
}

.loumi-legal-hero__icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.72);
  color: var(--loumi-primary);
  font-size: 2rem;
  box-shadow: 0 18px 34px rgba(43, 33, 24, 0.07);
}

.loumi-legal-hero h1 {
  max-width: 860px;
  color: var(--loumi-primary);
}

.loumi-legal-hero p {
  max-width: 620px;
  margin-top: 16px;
  color: var(--loumi-tertiary);
  font-size: 1.08rem;
}

.loumi-legal-content {
  padding: clamp(52px, 7vw, 92px) 0;
}

.loumi-legal-layout {
  display: grid;
  grid-template-columns: minmax(210px, 270px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.loumi-legal-summary {
  position: sticky;
  top: 110px;
}

.loumi-legal-summary__card {
  padding: 22px;
  border: 2px dotted rgba(111, 88, 69, 0.72);
  border-radius: 28px;
  background: rgba(255, 253, 248, 0.76);
  box-shadow: 0 16px 38px rgba(43, 33, 24, 0.05);
}

.loumi-legal-summary h2 {
  margin-bottom: 14px;
  color: var(--loumi-neutral);
  font-size: 1.65rem;
}

.loumi-legal-summary nav {
  display: grid;
  gap: 9px;
}

.loumi-legal-summary a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--loumi-neutral);
  font-size: 0.94rem;
  font-weight: 800;
  transition: color 180ms ease, transform 180ms ease;
}

.loumi-legal-summary a:hover,
.loumi-legal-summary a:focus-visible {
  color: var(--loumi-primary);
  transform: translateX(3px);
}

.loumi-legal-sections {
  display: grid;
  gap: 24px;
}

.loumi-legal-card {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4vw, 46px);
  border-radius: 34px;
  background: var(--loumi-surface);
  box-shadow: 0 20px 54px rgba(43, 33, 24, 0.06);
}

.loumi-legal-card--large {
  border-radius: 38px;
}

.loumi-legal-card__decor {
  position: absolute;
  right: -28px;
  top: -26px;
  width: 120px;
  height: 120px;
  border: 9px solid rgba(168, 183, 154, 0.22);
  border-radius: 60% 40% 44% 56% / 42% 58% 42% 58%;
  transform: rotate(18deg);
}

.loumi-legal-card h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--loumi-primary);
  font-size: clamp(1.65rem, 2.6vw, 2.55rem);
}

.loumi-legal-card h2 > span {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #e1e7b8;
  color: var(--loumi-primary);
  font-family: var(--loumi-body);
  font-size: 1rem;
  font-weight: 900;
}

.loumi-legal-card p + p {
  margin-top: 12px;
}

.loumi-legal-card p,
.loumi-legal-card li {
  color: var(--loumi-neutral);
}

.loumi-legal-highlight {
  margin: 20px 0;
  padding: 20px;
  border-left: 4px solid var(--loumi-primary);
  border-radius: 22px;
  background: #f2dfd1;
}

.loumi-legal-highlight--soft {
  border-left: 0;
  background: #f8e5d6;
}

.loumi-legal-highlight h3 {
  margin-bottom: 8px;
  color: var(--loumi-tertiary);
  font-size: 1.5rem;
}

.loumi-legal-contact-chips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0 14px;
}

.loumi-legal-contact-chips a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  background: var(--loumi-bg);
  color: var(--loumi-tertiary);
  font-weight: 800;
  font-size: 0.92rem;
  text-align: center;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.loumi-legal-contact-chips a:hover,
.loumi-legal-contact-chips a:focus-visible {
  transform: translateY(-2px);
  background: #e1e7b8;
  color: var(--loumi-primary);
}

.loumi-legal-grid-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.loumi-legal-grid-two .loumi-legal-card {
  min-height: 100%;
}

.loumi-legal-grid-two .loumi-legal-card h2 {
  font-size: clamp(1.45rem, 2vw, 2rem);
}

@media (max-width: 980px) {
  .loumi-legal-layout {
    grid-template-columns: 1fr;
  }

  .loumi-legal-summary {
    position: static;
  }

  .loumi-legal-summary nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .loumi-legal-hero {
    padding: 54px 0;
  }

  .loumi-legal-summary {
    display: none;
  }

  .loumi-legal-grid-two,
  .loumi-legal-contact-chips {
    grid-template-columns: 1fr;
  }

  .loumi-legal-card {
    padding: 24px;
    border-radius: 28px;
  }

  .loumi-legal-card h2 {
    align-items: flex-start;
  }
}
