html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans KR', 'Inter', sans-serif;
  background-color: #ffffff;
  color: #1a1a2e;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.text-balance {
  text-wrap: balance;
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale.is-visible {
  opacity: 1;
  transform: scale(1);
}

.animation-delay-100 {
  transition-delay: 100ms;
}

.animation-delay-200 {
  transition-delay: 200ms;
}

.animation-delay-300 {
  transition-delay: 300ms;
}

.animation-delay-400 {
  transition-delay: 400ms;
}

.animation-delay-500 {
  transition-delay: 500ms;
}

.animation-delay-600 {
  transition-delay: 600ms;
}

.gradient-blob {
  background: radial-gradient(circle, rgba(15,35,71,0.08) 0%, rgba(15,35,71,0.02) 50%, transparent 70%);
}

/* Policy & Terms Markdown Rendering Custom Styles */
.prose-policy h2 {
  font-size: 1.125rem !important; /* text-lg */
  font-weight: 700 !important; /* font-bold */
  color: #030712 !important; /* text-foreground-950 */
  margin-top: 2.5rem !important;
  margin-bottom: 1.25rem !important;
  display: block !important;
}

.prose-policy h3 {
  font-size: 1rem !important; /* text-base */
  font-weight: 700 !important; /* font-bold */
  color: #030712 !important; /* text-foreground-950 */
  margin-top: 1.75rem !important;
  margin-bottom: 0.75rem !important;
  display: block !important;
}

.prose-policy h4 {
  font-size: 0.875rem !important; /* text-sm */
  font-weight: 600 !important; /* font-semibold */
  color: #1f2937 !important; /* text-foreground-800 */
  margin-top: 1.25rem !important;
  margin-bottom: 0.5rem !important;
  display: block !important;
}

.prose-policy p {
  font-size: 0.875rem !important; /* text-sm */
  color: #374151 !important; /* text-foreground-700 */
  line-height: 1.625 !important; /* leading-relaxed */
  margin-bottom: 0.75rem !important;
}

.prose-policy strong {
  font-weight: 700 !important;
  color: #1f2937 !important; /* text-foreground-800 */
}

/* Lists */
.prose-policy ol {
  list-style-type: decimal !important;
  padding-left: 1.25rem !important;
  margin-bottom: 1.25rem !important;
  font-size: 0.875rem !important;
  color: #374151 !important;
}

.prose-policy ol li {
  margin-bottom: 0.5rem !important;
}

.prose-policy ul {
  list-style-type: disc !important;
  padding-left: 1.25rem !important;
  margin-bottom: 1.25rem !important;
  font-size: 0.875rem !important;
  color: #374151 !important;
}

.prose-policy ul li {
  margin-bottom: 0.375rem !important;
}

/* Tables */
.prose-policy table {
  width: 100% !important;
  font-size: 0.875rem !important; /* text-sm */
  border-collapse: collapse !important;
  border: 1px solid #e5e7eb !important; /* border-gray-200 */
  margin-top: 1.25rem !important;
  margin-bottom: 1.25rem !important;
}

.prose-policy th {
  background-color: #f3f4f6 !important; /* bg-gray-100 */
  color: #374151 !important; /* text-gray-700 */
  font-weight: 600 !important;
  padding: 0.75rem 1rem !important;
  border: 1px solid #e5e7eb !important;
  text-align: left !important;
}

.prose-policy td {
  color: #4b5563 !important; /* text-gray-600 */
  padding: 0.75rem 1rem !important;
  border: 1px solid #e5e7eb !important;
  background-color: #ffffff !important;
}