/* Legal pages — privacy, terms, cookies (flat prose, minimal nesting) */
.ie-legal {
  --ie-legal-text: #475467;
  --ie-legal-heading: #0b0d28;
  --ie-legal-border: #e8ebf0;
  --ie-legal-muted: #667085;
  --ie-legal-accent: #2f5bff;
  max-width: 920px;
  width: 100%;
  margin: 0 auto;
}

.ie-legal__intro {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--ie-legal-border);
}

.ie-legal__intro-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eef4ff;
  color: var(--ie-legal-accent);
  font-size: 16px;
}

.ie-legal__intro-text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ie-legal-text);
}

.ie-legal__intro-text + .ie-legal__intro-text {
  margin-top: 10px;
}

.ie-legal__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin: 12px 0 0;
}

.ie-legal__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ie-legal-muted);
}

.ie-legal__badge i {
  color: var(--ie-legal-accent);
}

.ie-legal__stack {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ie-legal__section {
  padding: 0 0 28px;
  margin: 0 0 28px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  border-bottom: 1px solid var(--ie-legal-border);
}

.ie-legal__section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.ie-legal__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.ie-legal__icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.ie-legal__icon--blue {
  background: #e8f0ff;
  color: #2f5bff;
}

.ie-legal__icon--teal {
  background: #e6f7f3;
  color: #0f766e;
}

.ie-legal__icon--amber {
  background: #fff4e5;
  color: #b54708;
}

.ie-legal__icon--rose {
  background: #fef3f2;
  color: #b42318;
}

.ie-legal__icon--violet {
  background: #f4ebff;
  color: #6941c6;
}

.ie-legal__icon--slate {
  background: #f2f4f7;
  color: #475467;
}

.ie-legal__icon--cyan {
  background: #e0f7fa;
  color: #0e7490;
}

.ie-legal__icon--green {
  background: #ecfdf3;
  color: #027a48;
}

.ie-legal__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 650;
  line-height: 1.35;
  color: var(--ie-legal-heading);
}

.ie-legal__body {
  padding-left: 46px;
}

.ie-legal__body > p,
.ie-legal p {
  margin: 0 0 12px;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--ie-legal-text);
  font-weight: 400;
}

.ie-legal__body > p:last-child,
.ie-legal p:last-child {
  margin-bottom: 0;
}

.ie-legal a {
  color: var(--ie-legal-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ie-legal a:hover {
  color: #1d3fcc;
}

.ie-legal__facts {
  margin: 0 0 14px;
  display: grid;
  gap: 10px;
}

.ie-legal__facts > div {
  display: grid;
  grid-template-columns: minmax(110px, 150px) 1fr;
  gap: 4px 16px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.ie-legal__facts dt {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 650;
  color: var(--ie-legal-muted);
  line-height: 1.45;
}

.ie-legal__facts dd {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--ie-legal-heading);
  font-weight: 500;
}

.ie-legal__list {
  margin: 0;
  padding: 0 0 0 1.15rem;
  display: block;
  list-style: disc;
}

.ie-legal__list > li {
  position: static;
  padding: 0;
  margin: 0 0 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--ie-legal-text);
  font-weight: 400;
}

.ie-legal__list > li:last-child {
  margin-bottom: 0;
}

.ie-legal__list > li::before {
  content: none;
  display: none;
}

.ie-legal__list--numbered {
  list-style: decimal;
  counter-reset: none;
}

.ie-legal__list--numbered > li {
  padding-left: 0;
}

.ie-legal__list--numbered > li::before {
  content: none;
  display: none;
}

.ie-legal__list strong {
  color: var(--ie-legal-heading);
  font-weight: 650;
}

.ie-legal__note {
  margin-top: 12px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  border-left: 3px solid #fbbf24;
  padding-left: 12px;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #92400e;
}

.ie-legal__links {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.ie-legal__links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ie-legal-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-size: 0.9rem;
  font-weight: 550;
}

.ie-legal__links a:hover {
  background: transparent;
  border-color: transparent;
  color: #1d3fcc;
}

.ie-legal__links i {
  width: auto;
  height: auto;
  border-radius: 0;
  display: inline;
  background: transparent;
  color: inherit;
  font-size: 14px;
}

/* Cookie prefs panel is interactive — one real container is fine */
.ie-legal .ie-cookie-page-panel.ie-legal__section {
  margin: 0 0 28px;
  padding: 20px;
  border: 1px solid var(--ie-legal-border);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.ie-legal .ie-cookie-page-panel .ie-legal__body {
  padding-left: 46px;
}

.ie-legal .ie-cookie-page-divider {
  margin: 8px 0 4px;
}

@media (max-width: 640px) {
  .ie-legal__body,
  .ie-legal .ie-cookie-page-panel .ie-legal__body {
    padding-left: 0;
    margin-top: 4px;
  }

  .ie-legal__facts > div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .ie-legal__intro {
    padding-bottom: 18px;
    margin-bottom: 24px;
  }

  .ie-legal .ie-cookie-page-panel {
    padding: 16px;
  }
}
