/* 공통: 폰트, 디자인 토큰, 리셋 (랜딩 style.css / 관리자 console.css 가 함께 사용) */

/* ---------- 폰트 (자체 호스팅, OFL) ---------- */
@font-face {
    font-family: "Pretendard";
    src: url("../fonts/PretendardVariable.woff2") format("woff2-variations");
    font-weight: 100 900;
    font-display: swap;
}
@font-face {
    font-family: "Cormorant Garamond";
    src: url("../fonts/CormorantGaramond-Medium.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Cormorant Garamond";
    src: url("../fonts/CormorantGaramond-SemiBoldItalic.woff2") format("woff2");
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}

/* ---------- 디자인 토큰 ---------- */
:root {
    --bg-cream: #f5f0e6;
    --bg-cream-subtle: #ebe4d7;
    --bg-white: #fffdf8;
    --bg-dark: #172c34;
    --text-primary: #172c34;
    --text-secondary: #5f6867;
    --text-tertiary: #8a8e89;
    --text-inverse: #f5f0e6;
    --text-accent: #c7603b;
    --border-default: #cfc8ba;
    --border-subtle: #e3dccf;
    --border-strong: #172c34;
    --sp-4: 4px; --sp-8: 8px; --sp-12: 12px; --sp-16: 16px; --sp-24: 24px; --sp-32: 32px; --sp-48: 48px; --sp-64: 64px;
    --r-6: 6px; --r-8: 8px; --r-pill: 24px;
    --font-sans: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
    --font-serif: "Cormorant Garamond", Georgia, serif;
}

/* ---------- 리셋 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg-cream-subtle); /* PC에서 컬럼 바깥 배경 (임시) */
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 14px; line-height: 22px;
    word-break: keep-all;
    overflow-wrap: break-word;
}
h1, h2, h3, p, ul, figure { margin: 0; padding: 0; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; -webkit-appearance: none; appearance: none; }
input, textarea, select { font-family: inherit; }
/* 각 input 클래스는 자체 CSS에서 font-size 16px 이상 유지 (iOS Safari 자동 확대 방지) */
:focus-visible { outline: 2px solid var(--text-accent); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* iOS 터치 하이라이트 톤 조정 */
a, button, label, [role="button"] { -webkit-tap-highlight-color: rgba(199, 96, 59, 0.1); }

