/* 세움 — 베이스 리셋 + 공통 */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--f-body);
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-rendering: geometricPrecision;
}
h1 { font-size: var(--fs-h1); font-weight: 900; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

p { font-size: var(--fs-body); }

/* 레이아웃 유틸 */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.narrow   { max-width: var(--maxw-narrow); }
.section  { padding: clamp(56px, 9vw, 110px) 0; }
.section--soft { background: var(--bg-soft); }
.section--ink  { background: var(--blue-deep); color: #fff; }
.section--ink h1, .section--ink h2, .section--ink h3 { color: #fff; }

.center { text-align: center; }

/* 섹션 헤더 공통 */
.sec-kicker {
  display: inline-block;
  font-size: var(--fs-sm);
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--blue);
  background: var(--blue-mist);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.sec-title { font-size: var(--fs-h2); margin-bottom: 14px; }
.sec-desc  { font-size: var(--fs-lead); color: var(--gray); line-height: 1.75; max-width: 640px; }
.center .sec-desc { margin-left: auto; margin-right: auto; }

/* 반응형 br */
.br-md { display: none; }
@media (min-width: 768px) { .br-md { display: inline; } }

/* 버튼 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 28px;
  border-radius: 999px; font-weight: 800; font-size: var(--fs-body);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s;
}
.btn--primary { background: var(--grad-cta); color: #fff; box-shadow: var(--sh-blue); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 44px rgba(20,92,230,0.36); }
.btn--ghost { background: #fff; color: var(--blue); border: 1.5px solid var(--blue-mist); }
.btn--ghost:hover { background: var(--blue-mist); }
.btn--lg { min-height: 60px; padding: 0 38px; font-size: var(--fs-lead); }

/* reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
