.root {
  min-height: 100vh;
  background: var(--legal-bg);
  color: var(--legal-text);
  position: relative;
  overflow: hidden;
}

.bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(
      1200px 800px at 20% 10%,
      color-mix(in srgb, var(--legal-primary) 18%, transparent),
      transparent 60%
    ),
    radial-gradient(
      900px 700px at 85% 25%,
      color-mix(in srgb, var(--legal-primary-2) 14%, transparent),
      transparent 62%
    ),
    linear-gradient(180deg, color-mix(in srgb, var(--legal-panel-2) 22%, transparent), transparent 55%);
  filter: saturate(1.15);
}

.container {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
}

.card {
  width: 100%;
  max-width: 980px;
  height: min(86vh, 860px);
  border: 1px solid color-mix(in srgb, var(--legal-border) 72%, transparent);
  background: color-mix(in srgb, var(--legal-panel) 92%, transparent);
  box-shadow: var(--legal-shadow);
  border-radius: 16px;
  overflow: hidden;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid color-mix(in srgb, var(--legal-border) 70%, transparent);
  background: color-mix(in srgb, var(--legal-panel) 82%, transparent);
  backdrop-filter: blur(10px);
}

.headerMeta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--legal-text-2);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.kicker {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--legal-border) 70%, transparent);
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--legal-primary) 18%, transparent),
    color-mix(in srgb, var(--legal-primary-2) 14%, transparent)
  );
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--legal-primary) 70%, transparent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--legal-primary) 12%, transparent);
}

.metaText {
  opacity: 0.9;
}

.body {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 18px 22px 26px;
}

.title {
  margin-bottom: 8px;
}

.subTitle {
  margin-bottom: 18px;
}

/* Mobile styles applied via root class `.is-mobile` */
:global(.is-mobile) .card {
  height: auto;
  min-height: 72vh;
  border-radius: 14px;
}

:global(.is-mobile) .body {
  padding: 14px 16px 18px;
}

@media (prefers-reduced-motion: reduce) {
  .bg {
    filter: none;
  }

  .header {
    backdrop-filter: none;
  }
}
