/* pdflaw.kr 메인 — 오픈베타 공지 모달 */

.openbeta-notice {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.openbeta-notice[hidden] {
  display: none !important;
}

.openbeta-notice__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
}

.openbeta-notice__card {
  position: relative;
  z-index: 1;
  width: min(100%, 760px);
  max-height: min(92vh, 520px);
  overflow: auto;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
}

.openbeta-notice__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #64748b;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.openbeta-notice__close:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.openbeta-notice__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 42%);
  gap: 12px 20px;
  align-items: center;
  padding: 28px 28px 24px;
}

.openbeta-notice__text {
  min-width: 0;
}

.openbeta-notice__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #2563eb;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.openbeta-notice__badge::before {
  content: "📢";
  font-size: 12px;
  line-height: 1;
}

.openbeta-notice__title {
  margin: 14px 0 0;
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.openbeta-notice__title-accent {
  color: #2563eb;
}

.openbeta-notice__rule {
  width: 56px;
  height: 4px;
  margin: 14px 0 10px;
  border-radius: 999px;
  background: #2563eb;
}

.openbeta-notice__date {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 800;
  color: #0891b2;
  letter-spacing: -0.02em;
}

.openbeta-notice__body {
  margin: 0;
  color: #475569;
  font-size: 15px;
  line-height: 1.7;
}

.openbeta-notice__body + .openbeta-notice__body {
  margin-top: 6px;
}

.openbeta-notice__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding: 14px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.24);
}

.openbeta-notice__cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 14px;
  line-height: 1;
}

.openbeta-notice__illus {
  pointer-events: none;
  user-select: none;
}

.openbeta-notice__illus img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

@media (max-width: 720px) {
  .openbeta-notice__content {
    grid-template-columns: 1fr;
    padding: 24px 20px 20px;
  }

  .openbeta-notice__illus {
    order: -1;
    max-width: 280px;
    margin: 0 auto;
  }

  .openbeta-notice__title {
    font-size: 24px;
  }
}
