:root {
  --brand-blue: #0d78d9;
  --brand-navy: #082945;
}

* { box-sizing: border-box; }


:lang(ko) body, body:lang(ko) {
  font-family: "DM Sans", "Pretendard", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: "DM Sans", "Pretendard", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 1rem;
  z-index: 9999;
  border-radius: 999px;
  background: #fff;
  color: #082945;
  padding: .75rem 1rem;
  font-weight: 800;
}

.skip-link:focus { left: 1rem; }

.bg-dot-grid {
  background-image:
    radial-gradient(rgba(13, 120, 217, .22) 1px, transparent 1px),
    linear-gradient(180deg, rgba(239, 248, 255, .75), rgba(255, 255, 255, 1));
  background-size: 22px 22px, 100% 100%;
}

.bg-blue-grid {
  background-image:
    linear-gradient(rgba(255,255,255,.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.10) 1px, transparent 1px);
  background-size: 32px 32px;
}

.hero-blob {
  position: absolute;
  inset: auto -14rem -16rem auto;
  width: 34rem;
  height: 34rem;
  border-radius: 9999px;
  background: radial-gradient(circle, rgba(37,150,237,.25), rgba(37,150,237,0) 68%);
  pointer-events: none;
}

.card-hover {
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.card-hover:hover {
  transform: translateY(-6px);
  border-color: rgba(13, 120, 217, .34);
  box-shadow: 0 24px 65px rgba(8, 41, 69, .12);
}

.icon-tile {
  background: linear-gradient(135deg, #eff8ff, #dbeefe);
  border: 1px solid rgba(13,120,217,.14);
}

.glass-panel {
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(18px);
}

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

.form-input {
  width: 100%;
  border-radius: 1rem;
  border: 1px solid rgb(191 219 254);
  background: white;
  padding: .9rem 1rem;
  color: rgb(15 23 42);
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.form-input:focus {
  border-color: #0d78d9;
  box-shadow: 0 0 0 4px rgba(13, 120, 217, .12);
}

.form-label {
  display: block;
  margin-bottom: .5rem;
  font-size: .875rem;
  font-weight: 900;
  color: rgb(30 41 59);
}

.required::after {
  content: " *";
  color: #0d78d9;
}

mark.blue-marker {
  background: linear-gradient(transparent 58%, rgba(147, 197, 253, .45) 58%);
  color: inherit;
}

.service-image {
  filter: drop-shadow(0 22px 35px rgba(8, 41, 69, .12));
}

details summary::-webkit-details-marker { display: none; }

details[open] .faq-plus { transform: rotate(45deg); }

.faq-plus { transition: transform .2s ease; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
}


/* Strong readability override added for white and light backgrounds. */
body { color: #0f172a; background: #ffffff; }
.bg-white, .bg-blue-50, .bg-blue-50\/70, .bg-dot-grid, .glass-panel { color: #0f172a !important; }
.text-slate-400, .text-slate-500, .text-slate-600, .text-slate-700 { color: #1e293b !important; }
.bg-white p, .bg-white li, .bg-white dd, .bg-white dt,
.bg-blue-50 p, .bg-blue-50 li, .bg-blue-50\/70 p, .bg-blue-50\/70 li,
.bg-dot-grid p, .glass-panel p { color: #1e293b !important; }
.bg-white h1, .bg-white h2, .bg-white h3, .bg-white h4,
.bg-blue-50 h1, .bg-blue-50 h2, .bg-blue-50 h3, .bg-blue-50 h4,
.bg-dot-grid h1, .bg-dot-grid h2, .bg-dot-grid h3, .bg-dot-grid h4 { color: #082945 !important; }
.bg-white a:not(.text-white), .bg-blue-50 a:not(.text-white), .bg-dot-grid a:not(.text-white) { color: #0b4a8e; }
.bg-brand-950, .bg-brand-900, .bg-brand-800, .bg-brand-700,
.bg-gradient-to-r, .bg-gradient-to-br { color: #ffffff; }
.bg-brand-950 p, .bg-brand-950 h1, .bg-brand-950 h2, .bg-brand-950 h3, .bg-brand-950 li,
.bg-brand-900 p, .bg-brand-900 h1, .bg-brand-900 h2, .bg-brand-900 h3, .bg-brand-900 li,
.bg-brand-800 p, .bg-brand-800 h1, .bg-brand-800 h2, .bg-brand-800 h3, .bg-brand-800 li,
.bg-brand-700 p, .bg-brand-700 h1, .bg-brand-700 h2, .bg-brand-700 h3, .bg-brand-700 li,
.bg-gradient-to-r p, .bg-gradient-to-r h1, .bg-gradient-to-r h2, .bg-gradient-to-r h3,
.bg-gradient-to-br p, .bg-gradient-to-br h1, .bg-gradient-to-br h2, .bg-gradient-to-br h3 { color: #ffffff !important; }
.bg-white.text-brand-700, .bg-white.text-brand-800, .bg-white.text-brand-900,
.bg-white .text-brand-700, .bg-white .text-brand-800, .bg-white .text-brand-900 { color: #0b4a8e !important; }
.bg-brand-700 .bg-white, .bg-brand-800 .bg-white, .bg-brand-950 .bg-white,
.bg-gradient-to-r .bg-white, .bg-gradient-to-br .bg-white { color: #0b4a8e !important; }
.bg-brand-700 .bg-white *, .bg-brand-800 .bg-white *, .bg-brand-950 .bg-white *,
.bg-gradient-to-r .bg-white *, .bg-gradient-to-br .bg-white * { color: #0b4a8e !important; }
.text-blue-100, .text-blue-50, .text-cyan-100, .text-cyan-200 { color: #ffffff !important; }
