:root{--build-id:"a038c884-a2cc-4e2a-8c99-f8b73ad4cb44";}
/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* CSS Variables - C30 */
:root {
  --primary: #7e22ce;
  --bg: #f3e8ff;
  --text: #6b21a8;
  --accent: #9333ea;
  --heading: var(--text);
  --link: var(--text);
  --radius: 0.75rem;
}

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

/* S07: Spacing System */
.container {
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 5.5rem 0;
}

.gap {
  gap: 3.25rem;
}

/* H16: Heading Style with clamp */
h1 {
  font-size: clamp(2.5rem, 5vw, 3.875rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--heading);
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(1.875rem, 4vw, 2.906rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--heading);
  margin-bottom: 1.25rem;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.18rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--heading);
  margin-bottom: 1rem;
}

/* Links */
a {
  color: var(--link);
  text-decoration: none;
  transition: opacity 0.3s;
}

a:hover {
  opacity: 0.75;
}

/* Skip Link */
.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;
  outline: 3px solid #0066cc;
  outline-offset: 2px;
}

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

/* N03: Navigation - 상단 스크롤 + 우측 로고 + 좌측 메뉴 */
header {
  position: sticky;
  top: 0;
  background: rgba(243, 232, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(126, 34, 206, 0.1);
  z-index: 50;
  padding: 1rem 0;
}

.header-container {
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row-reverse;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

nav ul {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
}

nav a {
  font-weight: 500;
  color: var(--text);
  position: relative;
}

nav a[aria-current="page"] {
  font-weight: 700;
  color: var(--primary);
}

/* Mobile Menu */
.menu-checkbox {
  display: none;
}

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

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-top: 1px solid rgba(126, 34, 206, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

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

  nav ul {
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 1.5rem;
  }
}

/* B16: Button Style */
.btn {
  display: inline-block;
  border-radius: 0.5rem 0 0.5rem 0;
  padding: 1.125rem 2.25rem;
  font-weight: 700;
  background: var(--primary);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
}

.btn:hover {
  background: var(--accent);
  opacity: 1;
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: #fff;
}

/* K16: Card Style */
.card {
  border-radius: 0.75rem;
  border: 1px solid rgba(126, 34, 206, 0.2);
  padding: 1.5rem;
  transform: rotate(-1deg);
  background: #fff;
  transition: all 0.3s;
}

.card:hover {
  transform: rotate(0deg) translateY(-4px);
  box-shadow: 0 8px 24px rgba(126, 34, 206, 0.15);
}

/* L28: Layout - 스토리텔링 히어로 */
.hero {
  text-align: center;
  padding: 8rem 0 6rem;
  background: linear-gradient(135deg, #f3e8ff 0%, #faf5ff 100%);
  position: relative;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero p {
  font-size: 1.25rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  color: var(--text);
}

/* 3열 그리드 */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3.25rem;
  margin: 3rem 0;
}

/* 후기 섹션 */
.testimonial {
  background: #fff;
  padding: 2rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--primary);
}

.testimonial-author {
  font-weight: 700;
  color: var(--primary);
  margin-top: 1rem;
}

/* 멀티 CTA */
.cta-group {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 2rem 0;
}

/* Footer */
footer {
  background: rgba(126, 34, 206, 0.05);
  padding: 3rem 0;
  margin-top: 4rem;
  border-top: 1px solid rgba(126, 34, 206, 0.1);
}

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

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

.footer-links a {
  font-size: 0.875rem;
  color: var(--text);
}

.footer-contact {
  margin: 2rem 0;
  font-size: 0.9rem;
}

.footer-contact p {
  margin: 0.5rem 0;
}

.copyright {
  font-size: 0.875rem;
  color: rgba(107, 33, 168, 0.7);
  margin-top: 2rem;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mt-2 {
  margin-top: 2rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.icon {
  display: inline-block;
  margin-right: 0.5rem;
}

/* SVG Styles */
svg {
  max-width: 100%;
  height: auto;
}

/* Privacy/Terms Document Container */
.doc-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 2rem;
  text-align: center;
}

.doc-container h1 {
  margin-bottom: 2rem;
}

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

/* Responsive */
@media (max-width: 768px) {
  section {
    padding: 3.5rem 0;
  }

  .hero {
    padding: 5rem 0 4rem;
  }

  .grid-3 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .cta-group {
    flex-direction: column;
    align-items: stretch;
  }
}