:root{--build-id:"2e976414-c729-4baa-9f60-59ef03e71c71";}
:root {
  --primary: #4f46e5;
  --bg: #e0e7ff;
  --text: #3730a3;
  --accent: #6366f1;
  --heading: var(--text);
  --link: var(--text);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Roboto, "Noto Sans KR", "Malgun Gothic", "Segoe UI", -apple-system, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: 0em;
  color: var(--text);
  background: var(--bg);
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #000;
  color: #fff;
  padding: 8px 16px;
  text-decoration: none;
  z-index: 100;
}

.skip-link:focus {
  top: 0;
}

a:focus-visible,
input:focus-visible,
label:focus-visible {
  outline: 3px solid #0066cc;
  outline-offset: 2px;
}

header {
  background: rgba(224, 231, 255, 0.95);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(79, 70, 229, 0.1);
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
}

.search-box {
  flex: 0 1 400px;
  position: relative;
  display: none;
}

.search-box input {
  width: 100%;
  padding: 0.5rem 1rem;
  border: 2px solid var(--primary);
  border-radius: 0.375rem;
  background: #fff;
  color: var(--text);
  font-size: 0.875rem;
}

.menu-checkbox {
  display: none;
}

.menu-toggle {
  display: none;
  font-size: 1.75rem;
  cursor: pointer;
  color: var(--primary);
  background: none;
  border: none;
  padding: 0.5rem;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav a {
  color: var(--link);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

nav a:hover,
nav a[aria-current="page"] {
  color: var(--primary);
}

main {
  margin-top: 80px;
}

section {
  padding: 5rem 0;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, rgba(99, 102, 241, 0.05) 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(79, 70, 229, 0.15), transparent 50%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.625rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-decoration: underline;
  text-decoration-color: var(--primary);
  text-decoration-thickness: 4px;
  text-underline-offset: 8px;
  color: var(--heading);
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--heading);
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.875rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--heading);
  margin-bottom: 0.75rem;
}

.hero p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-button {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 0.25rem;
  font-weight: 600;
  text-decoration: none;
  transform: skew(-5deg);
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  background: var(--accent);
  transform: skew(-5deg) translateY(-2px);
}

.cta-button span {
  display: inline-block;
  transform: skew(5deg);
}

.grid {
  display: grid;
  gap: 3rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  background: #fff;
  border: 2px solid var(--primary);
  border-radius: 1rem 0 1rem 0;
  padding: 1.75rem;
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-4px);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.card h3 {
  margin-bottom: 0.75rem;
}

.slider-container {
  position: relative;
  overflow: hidden;
  padding: 2rem 0;
}

.card-slider {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) var(--bg);
  padding-bottom: 1rem;
}

.card-slider .card {
  flex: 0 0 320px;
  scroll-snap-align: start;
}

.faq-section {
  background: #fff;
  border-radius: 1rem;
  padding: 3rem;
}

.faq-item {
  border-bottom: 1px solid #e5e7eb;
  padding: 1.5rem 0;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item h3 {
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.floating-cta {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 40;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.contact-item {
  background: #fff;
  padding: 2rem;
  border-radius: 0.5rem;
  border-left: 4px solid var(--primary);
}

.contact-item strong {
  display: block;
  font-size: 1.125rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

footer {
  background: var(--primary);
  color: #fff;
  padding: 3rem 0 1.5rem;
  margin-top: 5rem;
}

.footer-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  opacity: 0.9;
  transition: opacity 0.2s;
}

.footer-links a:hover {
  opacity: 1;
}

.doc-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
}

.doc-container p {
  margin: 1rem 0;
}

@media (min-width: 768px) {
  .search-box {
    display: block;
  }
}

@media (max-width: 767px) {
  .header-container {
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: block;
    order: 3;
  }

  nav {
    order: 4;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
  }

  .menu-checkbox:checked ~ nav {
    max-height: 500px;
  }

  nav ul {
    flex-direction: column;
    gap: 0;
    padding-top: 1rem;
  }

  nav li {
    border-bottom: 1px solid rgba(79, 70, 229, 0.1);
  }

  nav a {
    display: block;
    padding: 1rem 0;
  }

  .floating-cta {
    bottom: 1rem;
    right: 1rem;
  }

  .cta-button {
    font-size: 0.875rem;
    padding: 0.875rem 1.5rem;
  }
}

@media (max-width: 480px) {
  section {
    padding: 3rem 0;
  }

  .container {
    padding: 0 1rem;
  }

  .grid {
    gap: 2rem;
  }
}