:root {
  --ink: #49324f;
  --muted: #755f79;
  --pink: #ef77a7;
  --pink-dark: #c54f83;
  --purple: #8060c8;
  --cream: #fff9eb;
  --paper: rgba(255, 252, 244, 0.94);
  --line: rgba(111, 76, 132, 0.2);
  --shadow: 0 22px 60px rgba(92, 55, 111, 0.15);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", system-ui, sans-serif;
  line-height: 1.7;
  background:
    radial-gradient(circle at 8% 5%, rgba(255, 183, 211, 0.42), transparent 34%),
    radial-gradient(circle at 94% 18%, rgba(177, 154, 244, 0.36), transparent 35%),
    linear-gradient(180deg, #fff9ef 0%, #fff4f6 45%, #f7f0ff 100%);
}

a { color: inherit; }

img { max-width: 100%; display: block; }

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 16px;
  top: 12px;
  z-index: 20;
  background: #fff;
  padding: 10px 14px;
  border-radius: 10px;
}

.shell { width: min(1120px, calc(100% - 36px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 249, 239, 0.82);
  backdrop-filter: blur(16px);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.brand img { width: 42px; height: 42px; border-radius: 13px; box-shadow: 0 6px 18px rgba(119, 73, 137, .18); }

.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { text-decoration: none; font-weight: 750; color: var(--muted); }
.nav-links a:hover { color: var(--pink-dark); }

.hero { padding: 72px 0 42px; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr);
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 7px 13px;
  color: #9f3f70;
  font-weight: 850;
  font-size: .9rem;
  background: rgba(255, 226, 238, .82);
  border: 1px solid rgba(197, 79, 131, .18);
  border-radius: 999px;
}

h1, h2, h3 { line-height: 1.25; letter-spacing: -0.055em; }
h1 { margin: 0; font-size: clamp(2.55rem, 6vw, 5rem); }
h1 span { display: block; color: var(--purple); }
.lead { margin: 22px 0 30px; color: var(--muted); font-size: clamp(1.04rem, 2vw, 1.22rem); }

.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 15px;
  text-decoration: none;
  font-weight: 850;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.72);
}
.button.primary { color: #fff; border-color: transparent; background: linear-gradient(135deg, var(--pink), var(--purple)); box-shadow: 0 12px 28px rgba(177, 89, 158, .28); }
.button:hover { transform: translateY(-1px); }

.hero-art {
  overflow: hidden;
  border: 8px solid rgba(255,255,255,.78);
  border-radius: 30px;
  box-shadow: var(--shadow);
  transform: rotate(1deg);
}

.hero-art img { width: 100%; aspect-ratio: 1024 / 500; object-fit: cover; }

.section { padding: 64px 0; }
.section-heading { max-width: 720px; margin-bottom: 28px; }
.section h2 { margin: 0 0 10px; font-size: clamp(1.9rem, 4vw, 3rem); }
.section-heading p { margin: 0; color: var(--muted); }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  padding: 26px;
  border: 1px solid rgba(125, 90, 141, .15);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: 0 14px 36px rgba(99, 67, 115, .08);
}
.card .icon { font-size: 2rem; }
.card h3 { margin: 10px 0 7px; font-size: 1.3rem; }
.card p { margin: 0; color: var(--muted); }

.gallery { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; }
.gallery figure { margin: 0; overflow: hidden; border-radius: 26px; border: 7px solid rgba(255,255,255,.8); box-shadow: var(--shadow); background: #fff; }
.gallery figure:last-child { transform: translateY(38px); }
.gallery img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; }

.support {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 22px;
  padding: 34px;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(255, 242, 223, .95), rgba(246, 231, 255, .96));
  border: 1px solid rgba(125, 90, 141, .16);
}
.support h2 { margin-top: 0; }
.support p { color: var(--muted); }
.support-list { display: grid; gap: 12px; align-content: center; }
.support-item { padding: 16px 18px; border-radius: 16px; background: rgba(255,255,255,.72); border: 1px solid rgba(125, 90, 141, .14); }
.support-item strong { display: block; }
.support-item span { color: var(--muted); font-size: .93rem; }

.site-footer { margin-top: 56px; padding: 34px 0 44px; border-top: 1px solid var(--line); color: var(--muted); }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }

.legal { max-width: 860px; margin: 0 auto; padding: 66px 0; }
.legal-header { padding: 30px; margin-bottom: 22px; border-radius: 26px; background: var(--paper); border: 1px solid var(--line); }
.legal h1 { font-size: clamp(2rem, 5vw, 3.3rem); }
.legal h2 { margin-top: 34px; font-size: 1.35rem; }
.legal p, .legal li { color: var(--muted); }
.legal section { padding: 0 12px; }

@media (max-width: 820px) {
  .nav { min-height: 66px; }
  .nav-links a:not(:last-child) { display: none; }
  .hero { padding-top: 44px; }
  .hero-grid, .support { grid-template-columns: 1fr; }
  .hero-art { order: -1; transform: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gallery figure:last-child { transform: none; }
  .footer-row { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button:hover { transform: none; }
}
