:root {
  --sp-ink: #17231f;
  --sp-muted: #68726d;
  --sp-paper: #fffdf8;
  --sp-canvas: #f6f1e8;
  --sp-blue: #1592c2;
  --sp-blue-dark: #0b6689;
  --sp-coral: #db684a;
  --sp-sage: #8aa394;
  --sp-sun: #edb75a;
  --sp-line: #ddd8cd;
  --sp-shadow: 0 18px 50px rgba(27, 45, 38, 0.11);
  --sp-radius: 22px;
  --sp-max: 1240px;
  color: var(--sp-ink);
  background: var(--sp-paper);
  font-family: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", Inter, system-ui, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--sp-ink);
  background:
    radial-gradient(circle at 8% -6%, rgba(21, 146, 194, 0.13), transparent 30rem),
    var(--sp-paper);
  -webkit-font-smoothing: antialiased;
}
#app { width: 100%; min-height: 100vh; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
ul, ol { margin: 0; padding: 0; }
.sp-app-content { min-height: calc(100vh - 12rem); }
.sr-only,
.sound_only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.sp-shell {
  width: min(calc(100% - 2rem), var(--sp-max));
  margin-inline: auto;
}
.sp-eyebrow {
  margin: 0 0 0.65rem;
  color: var(--sp-coral);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.sp-display {
  font-family: Georgia, "Times New Roman", "Noto Serif KR", serif;
  letter-spacing: -0.04em;
}
.sp-page-heading { padding: clamp(2.5rem, 7vw, 5rem) 0 1.5rem; }
.sp-page-heading h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", "Noto Serif KR", serif;
  font-size: clamp(2.25rem, 5vw, 4.25rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
}
.sp-page-heading p:last-child {
  max-width: 44rem;
  margin: 1rem 0 0;
  color: var(--sp-muted);
  line-height: 1.7;
}

:focus-visible { outline: 3px solid rgba(21, 146, 194, 0.75); outline-offset: 3px; }
::selection { background: rgba(237, 183, 90, 0.45); }

@media (max-width: 1023px) {
  .sp-app-content { padding-bottom: 5rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
