버튼만 두면 무엇에 동의하는지 모른 채 누르게 된다. 진단을 요약하고, 이 빌드가 무엇을 보완하는지 말한 뒤 누르게 한다. 처음 만든 판은 실행 항목을 카테고리로 갈라 "이 빌드로 채워지는 항목 5건"이라고 했는데 그 5건이 깨진 JSON-LD 수정·GBP 전화번호 등록·H1 재설계처럼 전부 병원 홈페이지 몫이었다. 카테고리는 무엇에 관한 문제인지를 말할 뿐 누가 고치는지를 말하지 않는다. 지키지 못할 약속이라 프레임을 바꿨다. 빌드는 홈페이지를 한 줄도 고치지 않는다. AI가 인용할 새 표면을 하나 더 만들어 약한 카테고리(콘텐츠·엔티티·표면)를 우회 보완할 뿐이다. 화면도 그렇게 말한다. "이 빌드가 대신할 수 없는 것"으로 실행 항목이 그대로 병원 몫임을 밝힌다. - 다크 섹션 위 주 버튼을 .btn-on-dark 로 뺀다. 기본 CTA 그라디언트(#4F1DA1→#021341)는 끝 색이 배경(#0A1128)과 거의 같아 버튼으로 읽히지 않았다. 밝은 보라와 글로우로 떼어 놓는다. - 문구에서 "결과"를 뺀다. 빌드가 끝나도 사진 확인과 확인 항목이 남아 최종이 아니고, 누른 적 없는 사람에게 "결과 보기"부터 보이는 것도 맞지 않는다. - 이전 단계로 가는 플로팅 버튼을 왼쪽 아래에 고정한다. 오른쪽 아래는 주 행동 자리이고, 좁은 화면에서는 상단 절차 메뉴가 가로 스크롤 안으로 밀린다. 첫 단계에서는 띄우지 않는다. - 떠 있던 승인 바와 BuildSiteCta 는 이 섹션과 역할이 겹쳐 지운다. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
273 lines
8.2 KiB
CSS
273 lines
8.2 KiB
CSS
@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; }
|