@import "tailwindcss"; /* Self-hosted Pretendard Variable — CDN/네트워크 차단 환경에서도 동일 렌더링 보장 */ @font-face { font-family: 'Pretendard Variable'; font-weight: 45 920; font-style: normal; font-display: swap; src: url('/fonts/PretendardVariable.woff2') format('woff2-variations'); } @theme { /* fallback 체인: self-host Pretendard → CDN Pretendard → Inter → 한글 시스템 폰트 (Mac/Win/Android) → sans-serif */ --font-sans: "Pretendard Variable", "Pretendard", "Inter", "Apple SD Gothic Neo", "Malgun Gothic", "맑은 고딕", "Noto Sans KR", ui-sans-serif, system-ui, sans-serif; --font-serif: "Playfair Display", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", ui-serif, Georgia, Cambria, "Times New Roman", Times, serif; --color-primary-900: #0A1128; /* Dark Navy for text and buttons */ --color-primary-800: #1A2B5E; --color-primary-50: #F4F6FB; --color-accent: #6C5CE7; /* Purple accent */ /* 흰·밝은 배경 위 강조 텍스트. haewon이 말하는 "인디고" */ --color-indigo: #1D0024; /* 텍스트 역할 토큰. ask = 요청문. 사람에게 무엇을 해달라고 하는 문장 (읽고 끝나는 설명과 구분한다) body = 설명 본문 note = 보조 설명·출처 */ --color-text-ask: #1D0024; --color-text-body: #475569; --color-text-note: #94A3B8; --color-ask-rule: #D5CDF5; --text-ask: 1.0625rem; /* 17px. 본문(16px)보다 한 단 크게 */ --text-body: 1rem; /* 16px. 기존 text-base 와 같다 */ --text-note: 0.875rem; /* 14px. 기존 text-sm 과 같다 */ /* INFINITH Semantic Status Colors — pastel palette derived from brand gradient */ /* Critical/Negative: warm rose (peach-toned) */ --color-status-critical-bg: #FFF0F0; --color-status-critical-text: #7C3A4B; --color-status-critical-border: #F5D5DC; --color-status-critical-dot: #D4889A; /* Warning/Pending: warm sand (cream-toned) */ --color-status-warning-bg: #FFF6ED; --color-status-warning-text: #7C5C3A; --color-status-warning-border: #F5E0C5; --color-status-warning-dot: #D4A872; /* Good/Positive: soft lavender (purple-toned) */ --color-status-good-bg: #F3F0FF; --color-status-good-text: #4A3A7C; --color-status-good-border: #D5CDF5; --color-status-good-dot: #9B8AD4; /* Excellent/Info: cool periwinkle (blue-lavender) */ --color-status-info-bg: #EFF0FF; --color-status-info-text: #3A3F7C; --color-status-info-border: #C5CBF5; --color-status-info-dot: #7A84D4; --animate-blob: blob 7s infinite; } @keyframes blob { 0% { transform: translate3d(0, 0, 0) scale(1); } 33% { transform: translate3d(15px, -25px, 0) scale(1.05); } 66% { transform: translate3d(-10px, 10px, 0) scale(0.95); } 100% { transform: translate3d(0, 0, 0) scale(1); } } .animation-delay-2000 { animation-delay: 2s; } .animation-delay-4000 { animation-delay: 4s; } @layer base { html { overflow-x: hidden; scrollbar-width: thin; scrollbar-color: rgba(0,0,0,0.15) transparent; } html::-webkit-scrollbar { width: 6px; } html::-webkit-scrollbar-track { background: transparent; } html::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.15); border-radius: 3px; } body { @apply font-sans text-slate-800 bg-slate-50 antialiased; } h1, h2, h3, h4, h5, h6 { @apply font-serif text-primary-900; } /* Headings inside dark/white-text containers inherit white */ .text-white h1, .text-white h2, .text-white h3, .text-white h4, .text-white h5, .text-white h6 { @apply text-white; } } .glass-card { @apply bg-white/70 backdrop-blur-xl border border-white/40 shadow-[0_8px_32px_0_rgba(31,38,135,0.07)] rounded-2xl; } .gradient-bg { background: radial-gradient(circle at top left, #fdfbfb, #f3e7e9); @apply relative; } .gradient-bg::before { content: ""; @apply absolute inset-0 bg-white/30 backdrop-blur-[2px] pointer-events-none; } .soft-gradient { background: linear-gradient(145deg, #fdfbfb 0%, #ebedee 100%); } .text-gradient { background: linear-gradient(to right, #0A1128, #3b5998); -webkit-background-clip: text; -webkit-text-fill-color: transparent; } @keyframes blob-large { 0% { transform: translate3d(0, 0, 0) scale(1); } 33% { transform: translate3d(4vw, -4vh, 0) scale(1.05); } 66% { transform: translate3d(-4vw, 4vh, 0) scale(0.95); } 100% { transform: translate3d(0, 0, 0) scale(1); } } /* GPU-accelerate all blob animations to prevent layout jitter */ .animate-blob, .animate-blob-large { will-change: transform; contain: layout style; backface-visibility: hidden; } .animate-blob-large { animation: blob-large 25s infinite ease-in-out; } .animation-delay-7000 { animation-delay: 7s; } .animation-delay-14000 { animation-delay: 14s; } /* ────────────────────────────────────────────────────────────── 텍스트 역할 클래스 요청문(.ui-ask)과 설명문(.ui-body)을 눈에 띄게 가른다. 요청문은 사람이 무엇을 해야 하는지 말하는 문장이라, 읽고 넘어가는 설명과 같은 무게로 두면 지나친다. 색·굵기·크기를 함께 올리고 왼쪽에 규칙선을 둔다. 한글 줄바꿈: word-break: keep-all → 단어(어절) 중간에서 자르지 않는다 overflow-wrap: anywhere → 긴 URL·영문 토큰은 예외적으로 자른다 text-wrap: pretty → 마지막 줄에 한 어절만 남는 것을 줄인다 max-width 62ch → 한 줄이 길어 눈이 되돌아오는 것을 막는다 ────────────────────────────────────────────────────────────── */ .ui-ask, .ui-body, .ui-note { word-break: keep-all; overflow-wrap: anywhere; text-wrap: pretty; } .ui-ask { font-size: var(--text-ask); line-height: 1.75; font-weight: 600; color: var(--color-text-ask); max-width: 62ch; } /* 문단으로 서는 요청문. 왼쪽 규칙선으로 설명 본문과 구분한다 */ .ui-ask-block { border-left: 3px solid var(--color-ask-rule); padding-left: 0.875rem; } .ui-body { font-size: var(--text-body); line-height: 1.75; color: var(--color-text-body); max-width: 62ch; } .ui-note { font-size: var(--text-note); line-height: 1.7; color: var(--color-text-note); } /* 다크 섹션 위에서는 같은 역할을 밝은 값으로 뒤집는다 */ .on-dark .ui-ask { color: #FFFFFF; } .on-dark .ui-ask-block { border-left-color: rgba(213, 205, 245, 0.45); } .on-dark .ui-body { color: rgba(255, 255, 255, 0.72); } .on-dark .ui-note { color: rgba(255, 255, 255, 0.45); } /* 다크 섹션 안의 흰 카드는 다시 라이트 값으로 되돌린다. 이걸 두지 않으면 흰 글씨가 흰 배경에 얹혀 보이지 않는다. 흰 카드에 .on-light 를 붙인다. */ .on-dark .on-light .ui-ask, .on-light .ui-ask { color: var(--color-text-ask); } .on-dark .on-light .ui-ask-block, .on-light .ui-ask-block { border-left-color: var(--color-ask-rule); } .on-dark .on-light .ui-body, .on-light .ui-body { color: var(--color-text-body); } .on-dark .on-light .ui-note, .on-light .ui-note { color: var(--color-text-note); } /* 제목도 어절 단위로 끊는다. 한글 제목이 글자 중간에서 잘리면 읽기 나쁘다 */ h1, h2, h3, h4, h5, h6 { word-break: keep-all; text-wrap: balance; } /* 다크 섹션(#0A1128) 위의 주 버튼. 기본 CTA 그라디언트(#4F1DA1 → #021341)는 흰 배경용이라 다크 위에 올리면 배경에 묻힌다. 밝은 보라 + 글로우로 떼어 놓는다. */ .btn-on-dark { display: inline-flex; align-items: center; gap: 0.625rem; border-radius: 9999px; padding: 1rem 2rem; font-size: 1.0625rem; font-weight: 700; color: #FFFFFF; background-image: linear-gradient(to right, #7C6DD8, #6C5CE7); box-shadow: 0 6px 28px rgba(108, 92, 231, 0.55); outline: 1px solid rgba(255, 255, 255, 0.25); outline-offset: -1px; transition: transform 0.15s ease, box-shadow 0.15s ease; } .btn-on-dark:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 10px 34px rgba(108, 92, 231, 0.7); } .btn-on-dark:disabled { opacity: 0.6; }