:root {
  color-scheme: dark;
  --bg: #09071a;
  --panel: rgba(22, 17, 54, 0.82);
  --panel-strong: rgba(31, 22, 70, 0.94);
  --line: rgba(211, 194, 255, 0.2);
  --text: #f7f3ff;
  --muted: #c9c0df;
  --accent: #c59bff;
  --accent-2: #ff9bcf;
  --shadow: 0 24px 70px rgba(4, 2, 18, 0.42);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 8%, rgba(111, 74, 210, 0.34), transparent 32rem),
    radial-gradient(circle at 88% 28%, rgba(255, 112, 184, 0.18), transparent 26rem),
    linear-gradient(145deg, #080614 0%, #11102b 52%, #080716 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", Arial, sans-serif;
  line-height: 1.7;
}

a { color: #e1caff; }
a:hover { color: #ffd0e9; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem clamp(1rem, 4vw, 4rem);
  border-bottom: 1px solid var(--line);
  background: rgba(8, 6, 20, 0.82);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 8px 26px rgba(147, 93, 255, 0.35);
}

.site-nav { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.site-nav a { color: var(--muted); font-size: 0.92rem; text-decoration: none; }
.site-nav a:hover { color: var(--text); }

.hero {
  position: relative;
  min-height: 72vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(7, 5, 22, 0.08) 0%, rgba(7, 5, 22, 0.35) 42%, rgba(7, 5, 22, 0.92) 73%, #080616 100%),
    url("hero.jpg") center / cover no-repeat;
}

.hero-content {
  width: min(650px, calc(100% - 2rem));
  margin-left: auto;
  margin-right: clamp(1rem, 7vw, 8rem);
  padding: 5rem 0;
  text-align: center;
}

.hero-logo { width: min(480px, 88%); height: auto; filter: drop-shadow(0 18px 26px rgba(24, 4, 58, 0.48)); }
.eyebrow { color: #f2d8ff; font-size: 0.86rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.hero h1 { margin: 0.5rem 0 0; font-size: clamp(2rem, 5vw, 4.25rem); line-height: 1.12; }
.hero p { margin: 1.1rem auto 0; color: #eee7ff; font-size: clamp(1rem, 2vw, 1.2rem); max-width: 42rem; }

.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-top: 1.7rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.65rem 1.15rem;
  border: 1px solid rgba(232, 216, 255, 0.28);
  border-radius: 999px;
  color: var(--text);
  background: rgba(18, 13, 45, 0.76);
  font-weight: 760;
  text-decoration: none;
  box-shadow: 0 10px 34px rgba(6, 3, 24, 0.26);
}
.button.primary { border-color: transparent; background: linear-gradient(120deg, #9d74ff, #f186c3); }
.button:hover { color: #fff; transform: translateY(-1px); }

.page-shell { width: min(980px, calc(100% - 2rem)); margin: 0 auto; padding: 3.5rem 0 5rem; }
.page-title { margin-bottom: 2rem; }
.page-title h1 { margin: 0.25rem 0 0.6rem; font-size: clamp(2rem, 6vw, 3.4rem); line-height: 1.18; }
.page-title p { margin: 0; color: var(--muted); }

.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 2rem 0; }
.card, .document {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
  box-shadow: var(--shadow);
}
.card { padding: 1.35rem; }
.card h2, .card h3 { margin-top: 0; }
.card p { margin-bottom: 0; color: var(--muted); }

.document { padding: clamp(1.25rem, 4vw, 3rem); }
.document + .document { margin-top: 1.25rem; }
.document h2 { margin-top: 0; font-size: 1.65rem; }
.document h3 { margin: 2rem 0 0.45rem; color: #eedfff; font-size: 1.16rem; }
.document p, .document li { color: var(--muted); }
.document strong { color: var(--text); }
.document ul { padding-left: 1.3rem; }
.meta { display: flex; flex-wrap: wrap; gap: 0.55rem; margin: 1rem 0 0; }
.pill { padding: 0.26rem 0.65rem; border: 1px solid var(--line); border-radius: 999px; color: #ddd2f2; font-size: 0.84rem; }

.notice { margin: 1rem 0; padding: 1rem 1.1rem; border-left: 3px solid var(--accent-2); border-radius: 8px 16px 16px 8px; background: rgba(255, 155, 207, 0.08); color: #eadff3; }
.contact-list { display: grid; gap: 0.65rem; padding: 0; list-style: none; }
.contact-list strong { display: inline-block; min-width: 8.6rem; }

footer {
  padding: 2rem 1rem 3rem;
  border-top: 1px solid var(--line);
  color: #aaa0c2;
  text-align: center;
  font-size: 0.88rem;
}

@media (max-width: 800px) {
  .site-header { align-items: flex-start; flex-direction: column; }
  .grid { grid-template-columns: 1fr; }
  .hero { min-height: 78vh; background-position: 39% center; }
  .hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7, 5, 22, 0.96) 0%, rgba(7, 5, 22, 0.36) 58%, rgba(7, 5, 22, 0.12) 100%); }
  .hero-content { z-index: 1; align-self: end; margin: 0 auto; padding: 8rem 0 2.5rem; }
  .contact-list strong { display: block; min-width: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
