/* 기초: 색·글꼴 변수, 초기화, 공통 글자 요소. 레이아웃과 구역별 모양은 다른 파일이 맡는다. */
:root {
  --bg: #14132b;
  --bg-deep: #0e0d22;
  --panel: rgba(38, 34, 78, 0.55);
  --line: rgba(196, 178, 255, 0.35);
  --text: #eeeaf8;
  --muted: #b9b2d3;
  --lavender: #c7b3ff;
  --neon: #f1b9ff;
  --font-sans: "Noto Sans KR", system-ui, sans-serif;
  --font-hand: "Nanum Pen Script", cursive;
  --font-brush: "Nanum Brush Script", cursive;
  --font-serif: "Noto Serif", Georgia, serif;
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.7;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--neon); outline-offset: 3px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* 공통 글자 요소 */
h1 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); line-height: 1.35; font-weight: 700; }
h2 { font-size: clamp(1.5rem, 2.5vw, 2.1rem); line-height: 1.4; font-weight: 500; }

.kicker { font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.kicker.spaced { letter-spacing: 0.35em; }

.hand {
  font-family: var(--font-hand);
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  line-height: 1.35;
  color: #e4dcf7;
  transform: rotate(-6deg);
}

.logo-large {
  font-family: var(--font-brush);
  font-size: clamp(4rem, 7vw, 6rem);
  line-height: 1;
  display: inline-flex;
  flex-direction: column;
  gap: 8px;
}
.logo-large small, .brand-sub {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.35em;
  color: var(--muted);
}
.logo-large.center { align-items: center; }

/* 버튼 */
.pill {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 13px 28px;
  border: 1.5px solid var(--neon);
  border-radius: 999px;
  background: rgba(20, 16, 50, 0.6);
  box-shadow: 0 0 14px rgba(241, 185, 255, 0.45), inset 0 0 10px rgba(241, 185, 255, 0.15);
  font-weight: 500;
  transition: box-shadow 0.2s;
}
.pill:hover { box-shadow: 0 0 22px rgba(241, 185, 255, 0.75), inset 0 0 12px rgba(241, 185, 255, 0.25); }
.pill.small { padding: 9px 22px; font-size: 13px; }

.text-link { display: inline-flex; gap: 12px; font-weight: 700; color: #fff; }
.text-link:hover { color: var(--neon); }
