@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css');

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.65;
  font-size: 16px;
  letter-spacing: -0.005em;
}

img, svg, video { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: 0; background: transparent; padding: 0; color: inherit; }
a { color: inherit; text-decoration: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

h1, h2, h3, h4 { margin: 0; line-height: 1.3; letter-spacing: -0.02em; font-weight: 800; color: var(--ink); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--yellow); color: var(--ink); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

/* Utility */
.container { width: var(--container); margin: 0 auto; }
.container-narrow { width: var(--container-narrow); margin: 0 auto; }

/* Yellow highlight (펜으로 그은 듯) */
.hl {
  background: linear-gradient(180deg, transparent 60%, var(--yellow) 60%);
  padding: 0 2px;
}
.hl-blue {
  color: var(--blue);
}
.hl-red {
  color: var(--red);
}
.hl-orange {
  color: var(--orange);
}

/* Section eyebrow tag (작은 상단 라벨) */
.eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 700;
  color: var(--blue);
}
.eyebrow::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 24px;
  border-radius: var(--r-pill);
  font-weight: 700; font-size: 15px;
  transition: transform var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
}
.btn-primary:hover { background: var(--blue-hover); transform: translateY(-1px); box-shadow: var(--shadow-blue); }
.btn-outline {
  background: var(--surface);
  color: var(--blue);
  border: 1.5px solid var(--blue);
}
.btn-outline:hover { background: var(--blue-pale); }
.btn-orange {
  background: var(--orange);
  color: #fff;
}
.btn-orange:hover { background: var(--orange-deep); transform: translateY(-1px); }
.btn-outline-orange {
  background: var(--surface);
  color: var(--orange);
  border: 1.5px solid var(--orange);
}
.btn-outline-orange:hover { background: var(--orange-soft); }
.btn-ghost {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-dark {
  background: var(--ink);
  color: #fff;
}
.btn-dark:hover { background: #111; transform: translateY(-1px); }

.btn-lg { height: 56px; padding: 0 32px; font-size: 16px; }
.btn-sm { height: 36px; padding: 0 16px; font-size: 13px; }
.btn-block { width: 100%; }

.btn .arrow { transition: transform var(--dur-fast) var(--ease-out); }
.btn:hover .arrow { transform: translateX(3px); }

/* Check icon (svg before list item) */
.check-list { display: flex; flex-direction: column; gap: 10px; }
.check-list li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 15px; line-height: 1.65; color: var(--ink-soft);
}
.check-list li::before {
  content: ''; flex-shrink: 0; width: 20px; height: 20px; margin-top: 3px;
  background-color: var(--blue);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center / 14px no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center / 14px no-repeat;
}

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
