/*
Theme Name: NextClass
Theme URI: https://nextclass.kr
Author: NextClass
Description: NextClass 1인 출판 전자책 테마. Next.js 디자인 1:1 포팅.
Version: 1.1.0
License: GPL-2.0+
Text Domain: nextclass
Tags: woocommerce, learndash, custom
*/

/* ===== 디자인 토큰 ===== */
:root {
  --color-primary: #0067FF;
  --color-primary-hover: #005EE9;
  --color-accent: #2747f9;
  --color-ink: #0F172A;
  --color-ink-strong: #070614;
  --color-ink-body: #364151;
  --color-line: #D1DAE5;
  --color-soft: #E7F6FF;
  --color-bg-alt: #F9FAFC;
  --color-sale: #FF2552;
  --color-success: #00D255;
  --radius-card: 10px;
  --radius-box: 20px;
  --container-max: 1200px;
}

/* ===== 기본 리셋 + 한글 타이포 ===== */
*,*::before,*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0; padding: 0;
  font-family: 'Pretendard Variable', 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: -0.02em;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
  color: var(--color-ink);
  background: #fff;
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
}
h1, h2, h3, h4 {
  font-family: 'GmarketSansMedium', 'Pretendard Variable', sans-serif;
  letter-spacing: -0.025em;
  line-height: 1.3;
  word-break: keep-all;
  margin: 0;
  color: var(--color-ink-strong);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
input, textarea, select { font-family: inherit; font-size: 16px; }
p { margin: 0; color: var(--color-ink-body); }

/* GmarketSans 로드 */
@font-face {
  font-family: 'GmarketSansMedium';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansMedium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
