@charset "UTF-8";

/* ==========================================================================
   [JP UNIVERSE: THE VISUAL PHYSICS ENGINE]
   ==========================================================================
   File: style.css (File 2 of 8)
   Author: Chief Software Architect & CPA Minwoo Lee
   Purpose: 정평 유니버스의 시각적 무결성을 관장하는 마스터 스타일시트.
   
   [ARCHITECTURAL PHILOSOPHY]
   "숫자는 거짓을 말하지 않으며, 코드는 타협하지 않는다."
   본 스타일시트는 얄팍한 가격 마케팅을 철저히 배제하고,
   오직 '정밀한 검토', '합리적 가치', '철저한 권익 보호'라는 세 기둥을 
   디지털 공간에 시각적으로 렌더링하기 위해 설계되었습니다.
   마우스 포인터에 반응하는 가벼운 유희는 제거하고, 
   오직 스크롤 깊이와 시간의 흐름에 반응하는 거대한 우주의 중력을 구현합니다.
   ========================================================================== */

/* --------------------------------------------------------------------------
   [CHAPTER 1: ARCHITECTURAL TOKENS & CONSTANTS]
   우주를 구성하는 근본적인 디자인 토큰. 시스템 전체를 관통하는 불변의 상수.
   -------------------------------------------------------------------------- */
:root {
    --jp-space-unit: 0.5rem;
    --jp-space-sm: 1rem;
    --jp-space-md: 2rem;
    --jp-space-lg: 3.5rem;
    --jp-font-mono: 'Fira Code', 'Consolas', monospace;
    --jp-font-sans: 'Pretendard', 'Inter', sans-serif;

    /* [1.1] Color System - The Abyss & The Logic */
    /* 절대적인 무(無)이자, 우리가 타파해야 할 기존 시장의 불투명성을 덮는 심연 */
    --jp-color-abyss-void: #010204;
    --jp-color-abyss-deep: #020617;      /* Tailwind slate-950 */
    --jp-color-abyss-base: #090e17;      
    --jp-color-surface-core: #0f172a;    /* 논리가 서는 첫 번째 단상 (slate-900) */
    --jp-color-surface-elevated: #1e293b;/* 강조되는 논리적 팩트 패널 (slate-800) */
    --jp-color-border-subtle: #334155;   /* 분할과 경계의 은밀한 선 (slate-700) */
    --jp-color-border-rigid: #475569;    /* 타협 없는 단단한 구조선 (slate-600) */
    
    /* 차가운 이성, 코드의 푸른 빛 - 객관적 데이터 파이프라인을 상징 */
    --jp-color-logic-core: #0ea5e9;      /* sky-500 */
    --jp-color-logic-muted: #0284c7;     /* sky-600 */
    --jp-color-logic-deep: #0369a1;      /* sky-700 */
    --jp-color-logic-glow-light: rgba(14, 165, 233, 0.15);
    --jp-color-logic-glow-heavy: rgba(14, 165, 233, 0.4);
    --jp-color-logic-wash: rgba(14, 165, 233, 0.05);
    
    /* 전문가의 권위, 합리적 가치, 변하지 않는 진실을 상징하는 황금빛 */
    --jp-color-truth-core: #d4af37;      /* 황금비율의 본질 */
    --jp-color-truth-muted: #aa8c2c;     /* 침묵하는 진실 */
    --jp-color-truth-deep: #80671c;      
    --jp-color-truth-bright: #fcd34d;    /* amber-300 */
    --jp-color-truth-glow-light: rgba(212, 175, 55, 0.15);
    --jp-color-truth-glow-heavy: rgba(212, 175, 55, 0.4);
    --jp-color-truth-wash: rgba(212, 175, 55, 0.05);
    
    /* 서사를 전달하는 텍스트 계층 (Hierarchy of Facts) */
    --jp-color-text-fact: #f8fafc;       /* 조세 불복의 승리, 확정된 팩트 (slate-50) */
    --jp-color-text-main: #e2e8f0;       /* 표준 서사 (slate-200) */
    --jp-color-text-muted: #94a3b8;      /* 배경 서사 및 침묵하는 주석 (slate-400) */
    --jp-color-text-ghost: #475569;      /* 시스템 이면의 메타 데이터 (slate-600) */
    
    /* Semantic Status Codes */
    --jp-color-error-core: #ef4444;      /* 과세 당국의 부당한 처분, 시스템 리스크 */
    --jp-color-error-glow: rgba(239, 68, 68, 0.2);
    --jp-color-success-core: #10b981;    /* 권익 보호 달성, 정밀한 검토 완료 */
    --jp-color-success-glow: rgba(16, 185, 129, 0.2);
    --jp-color-warning-core: #f59e0b;    /* 세무 리스크 경고 */

    /* [1.2] Fluid Typography Calculus - 유체 역학적 텍스트 스케일링 */
    /* 뷰포트의 크기에 따라 수학적으로 완벽하게 비례하여 팽창하는 clamp() 함수 */
    --jp-text-micro: clamp(0.65rem, 0.61rem + 0.15vw, 0.75rem);
    --jp-text-xs: clamp(0.75rem, 0.71rem + 0.18vw, 0.875rem);
    --jp-text-sm: clamp(0.875rem, 0.83rem + 0.22vw, 1rem);
    --jp-text-base: clamp(1rem, 0.96rem + 0.22vw, 1.125rem);
    --jp-text-lg: clamp(1.125rem, 1.08rem + 0.22vw, 1.25rem);
    --jp-text-xl: clamp(1.25rem, 1.14rem + 0.54vw, 1.5rem);
    --jp-text-2xl: clamp(1.5rem, 1.28rem + 1.07vw, 2rem);
    --jp-text-3xl: clamp(1.875rem, 1.48rem + 1.96vw, 2.5rem);
    --jp-text-4xl: clamp(2.25rem, 1.61rem + 3.21vw, 3rem);
    --jp-text-5xl: clamp(3rem, 2.14rem + 4.29vw, 4rem);
    --jp-text-6xl: clamp(3.75rem, 2.46rem + 6.43vw, 5rem);
    --jp-text-7xl: clamp(4.5rem, 2.57rem + 9.64vw, 7rem);
    --jp-text-massive: clamp(5rem, 4vw + 5rem, 12rem); /* 오프닝의 압도적 타이포그래피 */

    /* [1.3] Architectural Z-Index Topology - 레이어의 위계 질서 */
    --jp-z-void: -100;         /* 닿을 수 없는 심연, 매트릭스 그리드 */
    --jp-z-background: -10;    /* 백그라운드 효과 (노이즈, 글로우) */
    --jp-z-ground: 0;          /* 베이스 캔버스 */
    --jp-z-base: 1;            /* 기본 컨텐츠 레이어 */
    --jp-z-float: 10;          /* 떠오르는 데이터 패널 */
    --jp-z-shield: 40;         /* 권익 보호를 묘사하는 방어 레이어 */
    --jp-z-header: 50;         /* 네비게이션 마스터 셸 */
    --jp-z-overlay: 100;       /* 인터랙션 오버레이 및 스캔라인 */
    --jp-z-modal: 1000;        /* 팝업 및 긴급 알림 */
    --jp-z-noise: 9998;        /* 아날로그 텍스처는 모든 것 위에 존재 */
    --jp-z-terminal: 9999;     /* 시스템 부트 터미널의 절대적 최상위 */

    /* [1.4] Kinetic Physics & Easing - 이성과 중력의 곡선 */
    --jp-ease-mechanical: cubic-bezier(0.86, 0, 0.07, 1);     /* 기계적이고 오차 없는 시스템의 움직임 */
    --jp-ease-fluid: cubic-bezier(0.16, 1, 0.3, 1);           /* 진실이 수면 위로 떠오르는 묵직한 부드러움 */
    --jp-ease-bounce-logic: cubic-bezier(0.34, 1.56, 0.64, 1);/* 데이터 패킷의 논리적 탄성 */
    --jp-ease-terminal: steps(40, end);                       /* 터미널 타이핑의 냉혹한 끊어짐 */
    --jp-ease-linear: linear;                                 /* 영원히 변치 않는 흐름 */
    
    --jp-duration-instant: 150ms;
    --jp-duration-swift: 300ms;
    --jp-duration-steady: 600ms;
    --jp-duration-monumental: 1200ms;
    --jp-duration-eternal: 3000ms;
    --jp-duration-flow: 30s;                                  /* 거대한 장부 데이터의 순환 주기 */

    /* [1.5] Geometry & Spatial Metrics - 8px 베이스의 완벽한 리듬 */
    --jp-radius-sharp: 0px;        /* 타협 없는 직선의 논리 */
    --jp-radius-minimal: 2px;      /* 픽셀의 미세한 마모 */
    --jp-radius-panel: 4px;        /* 규격화된 시스템 데이터 패널 */
    --jp-radius-shield: 12px;      /* 유연한 법적 보호막 */
    
    --jp-spacing-section: clamp(4.5rem, 8vw, 7rem);
    --jp-spacing-component: clamp(2rem, 5vw, 4rem);
}

/* --------------------------------------------------------------------------
   [CHAPTER 2: CORE NORMALIZATION & BROWSER CLEANSING]
   낡은 브라우저의 관행을 파괴하고 새로운 디지털 성전의 기틀을 마련합니다.
   -------------------------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border-color: rgba(51, 65, 85, 0.5); /* jp-color-border-rigid / 50% */
}

html {
    font-size: 16px;
    scroll-behavior: smooth; /* 스크롤의 묵직한 관성 유지 */
    text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    background-color: var(--jp-color-abyss-base);
    /* Mac/iOS의 가벼운 스크롤 바운스 오버스크롤 억제 */
    overscroll-behavior-y: none; 
}

body {
    font-family: 'Pretendard', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--jp-color-text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    word-break: keep-all; /* 한글 단어 끊김 방지 - 정밀한 문서 가독성 */
    background-color: var(--jp-color-abyss-base);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* 
 * [RULE 3 ENFORCEMENT: THE DEATH OF THE MOUSE POINTER]
 * 시스템 전역에 걸쳐 불필요한 마우스 커서 변화를 원천 차단합니다.
 * 사용자의 집중을 흩트리는 시각적 유희는 제거하고, 오직 콘텐츠의 웅장함에 집중시킵니다.
 */
* {
    cursor: default !important; 
}

/* 오직 명확한 의사결정을 내리는 요소에만 시스템 상호작용(pointer)을 허가함 */
a, button, [role="button"], input[type="submit"], input[type="button"], label {
    cursor: pointer !important; 
}
input[type="text"], input[type="email"], textarea {
    cursor: text !important;
}

a, button {
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

/* 합리적 가치를 향한 포커스 (접근성 A11y 보장) */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 2px solid var(--jp-color-logic-core);
    outline-offset: 4px;
    box-shadow: 0 0 15px var(--jp-color-logic-glow-heavy);
    border-radius: var(--jp-radius-minimal);
}

/* 선택 영역 (Selection) - 드래그 시 '진실(Gold)'의 색으로 데이터가 반전됨 */
::selection {
    background-color: rgba(212, 175, 55, 0.3);
    color: var(--jp-color-text-fact);
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

::-moz-selection {
    background-color: rgba(212, 175, 55, 0.3);
    color: var(--jp-color-text-fact);
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

/* --------------------------------------------------------------------------
   [CHAPTER 3: GRAVITATIONAL SCROLLBARS (THE DESCENT INTO TRUTH)]
   운영체제가 강제하는 둥글고 가벼운 스크롤바를 덮어씁니다.
   -------------------------------------------------------------------------- */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--jp-color-abyss-void);
    border-left: 1px solid rgba(51, 65, 85, 0.4);
}

::-webkit-scrollbar-thumb {
    background: var(--jp-color-surface-elevated);
    border-radius: 0; /* 각진 형태로 코드의 논리적 단단함과 이성을 강조 */
    border: 2px solid var(--jp-color-abyss-void); /* 트랙과 겹치지 않게 여백 부여 */
    transition: background var(--jp-duration-swift) var(--jp-ease-fluid);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--jp-color-border-rigid);
}

::-webkit-scrollbar-corner {
    background: var(--jp-color-abyss-void);
}

/* Firefox 전용 물리 법칙 */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--jp-color-surface-elevated) var(--jp-color-abyss-void);
}

/* --------------------------------------------------------------------------
   [CHAPTER 4: TYPOGRAPHY ARCHITECTURE (WORDS OF POWER)]
   텍스트는 정보를 전달하는 매개체를 넘어, 그 자체로 권위와 증명이 됩니다.
   가독성을 극대화하기 위한 정밀한 글꼴 제어.
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Noto Serif KR', 'Georgia', serif;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--jp-color-text-fact);
    margin: 0;
}

p {
    color: var(--jp-color-text-muted);
    line-height: 1.8;
    margin: 0;
}

/* 세무 로직과 알고리즘을 표시할 때 사용되는 모노스페이스 */
.font-mono, code, pre {
    font-family: 'Fira Code', 'Consolas', monospace;
    font-variant-ligatures: contextual common-ligatures; /* ==, => 등의 프로그래밍 리거처 활성화 */
    -webkit-font-feature-settings: "calt" 1, "liga" 1;
    font-feature-settings: "calt" 1, "liga" 1;
}

/* 권위적이고 철학적인 거대 헤드라인 (Hero Section) */
.heading-monumental {
    font-size: var(--jp-text-massive);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    color: var(--jp-color-text-fact);
    text-shadow: 0 10px 40px rgba(0,0,0,0.9);
}

/* 섹션 타이틀 (논리의 시작점) */
.heading-section {
    font-family: 'Pretendard', sans-serif;
    font-size: var(--jp-text-5xl);
    font-weight: 800;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
    letter-spacing: -0.03em;
}

/* 섹션 제목 하단의 진실을 긋는 황금선 */
.heading-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--jp-color-truth-core) 0%, transparent 100%);
    transform-origin: left;
    transform: scaleX(0);
    transition: transform var(--jp-duration-monumental) var(--jp-ease-mechanical);
}

/* ScrollReveal 모듈과 연동되어 뷰포트 진입 시 선이 그려지는 애니메이션 */
.sr-reveal-up.is-visible .heading-section::after,
.is-revealed .heading-section::after,
.heading-section.force-reveal::after {
    transform: scaleX(1);
}

/* 텍스트 그라데이션 유틸리티 - 빛의 굴절 */
.text-gradient-gold {
    background: linear-gradient(135deg, var(--jp-color-truth-core) 0%, var(--jp-color-truth-bright) 40%, var(--jp-color-truth-muted) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: inline-block;
}

.text-gradient-logic {
    background: linear-gradient(135deg, #7dd3fc 0%, var(--jp-color-logic-core) 50%, var(--jp-color-logic-deep) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: inline-block;
}

/* 철학적 서사를 위한 텍스트 유틸리티 */
.text-philosophical {
    font-family: 'Pretendard', sans-serif;
    font-size: var(--jp-text-xl);
    font-weight: 300;
    line-height: 1.8;
    color: var(--jp-color-text-main);
    max-width: 42rem; /* 가독성 최적화 폭 */
}

.text-code-core {
    font-family: 'Fira Code', monospace;
    font-size: var(--jp-text-base);
    color: var(--jp-color-logic-core);
    letter-spacing: 0.05em;
}

.text-code-muted {
    font-family: 'Fira Code', monospace;
    font-size: var(--jp-text-xs);
    color: var(--jp-color-text-ghost);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* 타이포그래피 정밀 제어 유틸리티 */
.tracking-jp-widest { letter-spacing: 0.3em; }
.tracking-jp-tight { letter-spacing: -0.05em; }
.leading-jp-relaxed { line-height: 1.8; }
.leading-jp-none { line-height: 1; }

/* --------------------------------------------------------------------------
   [CHAPTER 5: KINETIC KEYFRAMES (THE MOVEMENT OF DATA)]
   정적인 화면에 생명을 불어넣는 방대한 수학적 애니메이션 정의.
   마우스 호버에 의존하지 않고, 시간의 흐름과 스크롤 깊이에 따라 반응합니다.
   -------------------------------------------------------------------------- */

/* 5.1 Terminal Typing & System Cursor */
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.animate-blink {
    animation: blink 1s step-end infinite;
}

/* 5.2 Matrix Grid Data Flow (데이터 파이프라인 배경 이동) */
@keyframes dataFlowX {
    0% { background-position: 0% 0%; }
    100% { background-position: 120px 120px; } 
}

.animate-data-flow {
    animation: dataFlowX var(--jp-duration-flow) linear infinite;
}

/* 5.3 Scanline Sweep (화면 전체를 위에서 아래로 스캔 - 무결성 검증 레이더) */
@keyframes scanline {
    0% { transform: translateY(-100vh); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(100vh); opacity: 0; }
}

.animate-scanline {
    animation: scanline 10s linear infinite;
}

/* 5.4 Floating Elements (부유하는 패널 / 무중력이 아닌, 자기 부상의 묵직함) */
@keyframes floatHeavy {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-12px) rotate(0); }
}

.animate-float-heavy {
    animation: floatHeavy 8s ease-in-out infinite;
}

.animate-float-delayed {
    animation: floatHeavy 8s ease-in-out infinite;
    animation-delay: -4s; 
}

/* 5.5 Glowing Pulse (핵심 논리의 맥박 / 컨설팅의 안정감) */
@keyframes glowPulseLogic {
    0%, 100% { 
        box-shadow: 0 0 10px rgba(14, 165, 233, 0.1); 
        border-color: rgba(14, 165, 233, 0.2); 
    }
    50% { 
        box-shadow: 0 0 30px var(--jp-color-logic-glow-heavy); 
        border-color: rgba(14, 165, 233, 0.6); 
    }
}

.animate-glow-pulse {
    animation: glowPulseLogic 4s ease-in-out infinite;
}

/* 5.6 Gold Shield Aura (권익 보호의 아우라 파장) */
@keyframes shieldAuraExpand {
    0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.3); }
    70% { box-shadow: 0 0 0 25px rgba(212, 175, 55, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

.animate-shield-aura {
    animation: shieldAuraExpand 3s infinite;
}

/* 5.7 Code Glitch Effect (불합리한 구시대적 관행의 파괴를 묘사) */
@keyframes glitch-anim-1 {
    0% { clip-path: inset(20% 0 80% 0); transform: translate(-2px, 2px); }
    10% { clip-path: inset(60% 0 10% 0); transform: translate(2px, -2px); }
    20% { clip-path: inset(40% 0 50% 0); transform: translate(-2px, 2px); }
    30% { clip-path: inset(80% 0 5% 0); transform: translate(2px, -2px); }
    40% { clip-path: inset(10% 0 70% 0); transform: translate(-2px, 2px); }
    50% { clip-path: inset(30% 0 50% 0); transform: translate(2px, -2px); }
    60% { clip-path: inset(70% 0 20% 0); transform: translate(-2px, 2px); }
    70% { clip-path: inset(50% 0 40% 0); transform: translate(2px, -2px); }
    80% { clip-path: inset(15% 0 75% 0); transform: translate(-2px, 2px); }
    90% { clip-path: inset(85% 0 10% 0); transform: translate(2px, -2px); }
    100% { clip-path: inset(20% 0 80% 0); transform: translate(-2px, 2px); }
}

@keyframes glitch-anim-2 {
    0% { clip-path: inset(10% 0 60% 0); transform: translate(2px, -2px); }
    15% { clip-path: inset(30% 0 20% 0); transform: translate(-2px, 2px); }
    30% { clip-path: inset(70% 0 10% 0); transform: translate(2px, -2px); }
    45% { clip-path: inset(20% 0 50% 0); transform: translate(-2px, 2px); }
    60% { clip-path: inset(50% 0 30% 0); transform: translate(2px, -2px); }
    75% { clip-path: inset(5% 0 80% 0); transform: translate(-2px, 2px); }
    90% { clip-path: inset(40% 0 40% 0); transform: translate(2px, -2px); }
    100% { clip-path: inset(10% 0 60% 0); transform: translate(2px, -2px); }
}

.glitch-text {
    position: relative;
    display: inline-block;
    text-shadow: 2px 0 rgba(14, 165, 233, 0.25), -2px 0 rgba(239, 68, 68, 0.15);
}

.glitch-text::before, .glitch-text::after {
    display: none;
}

.hero-statement {
    font-size: clamp(2.6rem, 7.2vw, 7rem);
    line-height: 0.94;
    letter-spacing: -0.055em;
    max-width: 100%;
}

.jp-values-grid {
    position: relative;
    z-index: 100;
    isolation: isolate;
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    width: 100%;
}

.jp-value-card {
    --card-accent: var(--jp-color-logic-core);
    position: relative;
    z-index: 1;
    display: flex !important;
    flex-direction: column;
    min-width: 0;
    height: 100%;
    min-height: 32rem;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    border: 1px solid rgba(71, 85, 105, 0.72);
    border-top: 2px solid var(--card-accent);
    border-radius: 0.5rem;
    background: linear-gradient(155deg, rgba(30, 41, 59, 0.72), rgba(2, 6, 23, 0.92));
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.35);
    color: var(--jp-color-text-main);
    visibility: visible !important;
    opacity: 1 !important;
    overflow: visible;
}

.jp-value-card > * {
    position: relative;
    z-index: 2;
    display: block;
    visibility: visible !important;
    opacity: 1 !important;
}

.jp-value-card.is-value { --card-accent: var(--jp-color-truth-core); }
.jp-value-card.is-shield { --card-accent: var(--jp-color-success-core); }

.jp-value-icon {
    display: grid;
    place-items: center;
    width: 3.5rem;
    height: 3.5rem;
    margin-bottom: 2rem;
    border: 1px solid color-mix(in srgb, var(--card-accent) 55%, transparent);
    background: color-mix(in srgb, var(--card-accent) 10%, transparent);
    color: var(--card-accent);
    font: 600 0.75rem/1 var(--jp-font-mono);
    letter-spacing: 0.12em;
}

.jp-value-card h3 {
    margin-bottom: 1rem;
    color: #f8fafc;
    font-size: 1.5rem;
}

.jp-value-card p {
    color: #b8c5d6;
    font-size: 0.9rem;
    line-height: 1.85;
}

.jp-value-card ul {
    display: grid;
    gap: 0.7rem;
    margin: 1.75rem 0;
    color: #d7e0eb;
    font-size: 0.78rem;
    line-height: 1.55;
    list-style: none;
}

.jp-value-card li::before {
    content: '>'; 
    margin-right: 0.65rem;
    color: var(--card-accent);
    font-family: var(--jp-font-mono);
}

.jp-value-status {
    margin-top: auto;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(71, 85, 105, 0.6);
    color: var(--card-accent);
    font: 500 0.65rem/1.4 var(--jp-font-mono);
    letter-spacing: 0.14em;
}

@media (min-width: 768px) {
    .jp-values-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .jp-value-card:last-child { grid-column: 1 / -1; }
}

@media (min-width: 1200px) {
    .jp-values-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .jp-value-card:last-child { grid-column: auto; }
    .jp-value-card:nth-child(1) { grid-column: 1; }
    .jp-value-card:nth-child(2) { grid-column: 2; }
    .jp-value-card:nth-child(3) { grid-column: 3; }
}

@media (max-width: 767px) {
    .jp-value-card { min-height: auto; }
}

/* 5.8 Data Pipeline Drawing (SVG 경로 렌더링) */
@keyframes drawPipelinePath {
    to { stroke-dashoffset: 0; }
}

.path-draw-anim {
    stroke-dasharray: 2000;
    stroke-dashoffset: 2000;
    animation: drawPipelinePath 5s var(--jp-ease-fluid) forwards;
}

/* 5.9 Typing Genesis (코드가 타이핑되며 진실이 선언되는 오프닝) */
@keyframes typingGenesis {
    0% { max-width: 0; opacity: 0; }
    1% { opacity: 1; }
    100% { max-width: 100%; opacity: 1; }
}

.animate-typing-genesis {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid var(--jp-color-truth-core);
    animation: typingGenesis 4s var(--jp-ease-terminal) forwards,
               blink 1s step-end infinite;
    max-width: 0;
    opacity: 0;
}

/* --------------------------------------------------------------------------
   [CHAPTER 6: STRUCTURAL COMPONENTS & GLASSMORPHISM]
   합리적 가치를 담아내는 그릇. 유리처럼 투명하나 강철처럼 단단한 UI 패널.
   -------------------------------------------------------------------------- */

/* 6.1 Glass Panels (논리의 단상 - 정밀한 검토 보고서 패널) */
.jp-panel-glass {
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(51, 65, 85, 0.5);
    box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.05), 0 20px 40px -10px rgba(0, 0, 0, 0.6);
    border-radius: var(--jp-radius-panel);
    position: relative;
    overflow: hidden;
    transition: all var(--jp-duration-steady) var(--jp-ease-fluid);
    z-index: var(--jp-z-base);
}

.jp-panel-glass::before {
    content: '';
    position: absolute;
    top: -100%; left: 0; width: 100%; height: 200%;
    background: linear-gradient(to bottom, transparent 0%, rgba(14, 165, 233, 0.05) 50%, transparent 100%);
    opacity: 0;
    transition: opacity var(--jp-duration-swift);
    pointer-events: none;
    z-index: -1;
}

/* JS 이벤트나 hover 없이도 부유감을 주도록 설계되었으나, 
   인터랙션 피드백을 위해 상태 변화를 유지 */
.jp-panel-interactive:hover {
    border-color: rgba(14, 165, 233, 0.4);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.8), inset 0 0 20px rgba(14, 165, 233, 0.05);
}

.jp-panel-interactive:hover::before {
    opacity: 1;
    animation: scanline 4s linear infinite; /* 패널 내부 무결성 스캔 */
}

/* 6.2 The Golden Shield Panel (권익 보호를 상징하는 프리미엄 패널) */
.jp-panel-gold-shield {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.7) 0%, rgba(2, 6, 23, 0.9) 100%);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--jp-radius-shield);
    position: relative;
    padding: var(--jp-space-lg) var(--jp-space-md);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.jp-panel-gold-shield::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid var(--jp-color-truth-core);
    opacity: 0;
    transform: scale(0.96);
    transition: all var(--jp-duration-steady) var(--jp-ease-mechanical);
    pointer-events: none;
    border-radius: inherit;
}

.jp-panel-gold-shield:hover::after {
    opacity: 0.4;
    transform: scale(1);
}

/* 6.3 Geometric Corner Brackets (정밀성을 상징하는 모서리 UI) */
.jp-corner-brackets {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: var(--jp-z-overlay);
}

.jp-corner-brackets::before,
.jp-corner-brackets::after,
.jp-corner-brackets .bracket-bottom::before,
.jp-corner-brackets .bracket-bottom::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border-color: var(--jp-color-border-rigid);
    border-style: solid;
    transition: border-color var(--jp-duration-swift);
}

/* 모서리 브라켓 위치 계산 */
.jp-corner-brackets::before { top: -1px; left: -1px; border-width: 1px 0 0 1px; } 
.jp-corner-brackets::after { top: -1px; right: -1px; border-width: 1px 1px 0 0; } 
.jp-corner-brackets .bracket-bottom::before { bottom: -1px; left: -1px; border-width: 0 0 1px 1px; } 
.jp-corner-brackets .bracket-bottom::after { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; } 

.jp-panel-interactive:hover .jp-corner-brackets::before,
.jp-panel-interactive:hover .jp-corner-brackets::after,
.jp-panel-interactive:hover .jp-corner-brackets .bracket-bottom::before,
.jp-panel-interactive:hover .jp-corner-brackets .bracket-bottom::after {
    border-color: var(--jp-color-logic-core);
    box-shadow: 0 0 10px var(--jp-color-logic-glow-heavy);
}

/* 6.4 Data Metric Display (숫자의 본질을 보여주는 거대 데이터 블록) */
.jp-metric-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-left: 2px solid var(--jp-color-border-subtle);
    padding-left: var(--jp-space-sm);
    transition: border-color var(--jp-duration-swift);
}

.jp-metric-block:hover {
    border-left-color: var(--jp-color-truth-core);
}

.jp-metric-value {
    font-family: var(--jp-font-mono);
    font-size: var(--jp-text-5xl);
    font-weight: 900;
    color: var(--jp-color-text-fact);
    line-height: 1;
    margin-bottom: var(--jp-space-unit);
    letter-spacing: -0.05em;
}

.jp-metric-label {
    font-size: var(--jp-text-xs);
    color: var(--jp-color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* --------------------------------------------------------------------------
   [CHAPTER 7: INTERACTIVE TERMINALS & COMMIT BUTTONS]
   사용자의 의지가 시스템에 전달되는 입력/출력 인터페이스입니다.
   -------------------------------------------------------------------------- */

/* 7.1 Primary Action Button: The Commit (정밀 검토 의뢰를 확정하는 버튼) */
.jp-btn-commit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.25rem 3rem;
    background-color: transparent;
    color: var(--jp-color-truth-core);
    font-family: var(--jp-font-mono);
    font-size: var(--jp-text-sm);
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border: 1px solid rgba(212, 175, 55, 0.4);
    background: rgba(212, 175, 55, 0.03);
    position: relative;
    overflow: hidden;
    transition: all var(--jp-duration-steady) var(--jp-ease-mechanical);
    z-index: var(--jp-z-base);
}

.jp-btn-commit::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 0%; height: 100%;
    background-color: var(--jp-color-truth-core);
    transition: width var(--jp-duration-steady) var(--jp-ease-mechanical);
    z-index: -1;
}

.jp-btn-commit:hover {
    color: var(--jp-color-abyss-deep);
    border-color: var(--jp-color-truth-core);
    box-shadow: 0 0 25px var(--jp-color-truth-glow-heavy);
    transform: translateY(-2px);
}

.jp-btn-commit:hover::before {
    width: 100%;
}

.jp-btn-commit svg {
    transition: transform var(--jp-duration-swift) var(--jp-ease-bounce-logic);
}

.jp-btn-commit:hover svg {
    transform: translateX(6px);
}

/* 7.2 Secondary Action: The Logic Query (시스템 내부 탐색 버튼) */
.jp-btn-logic {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    color: var(--jp-color-text-main);
    font-family: var(--jp-font-sans);
    font-size: var(--jp-text-sm);
    border-bottom: 1px solid var(--jp-color-border-subtle);
    transition: all var(--jp-duration-swift);
    text-decoration: none;
}

.jp-btn-logic:hover {
    color: var(--jp-color-logic-core);
    border-bottom-color: var(--jp-color-logic-core);
    text-shadow: 0 0 10px var(--jp-color-logic-glow-light);
}

/* 7.3 System State Tags (상태 배지) */
.jp-state-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.3);
    border-radius: 9999px; /* 알약 형태 */
    font-family: var(--jp-font-mono);
    font-size: var(--jp-text-micro);
    color: var(--jp-color-logic-core);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.jp-state-tag.is-gold {
    background: rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.3);
    color: var(--jp-color-truth-core);
}

.jp-state-tag.is-success {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
    color: var(--jp-color-success-core);
}

/* --------------------------------------------------------------------------
   [CHAPTER 8: SYNTAX HIGHLIGHTING ENGINE (TECH LOGIC DISPLAY)]
   [File 7]에 사용될 코드 스니펫 전시를 위한 핵심 스타일.
   세법 논리와 프로그래밍 코드가 결합된 모습을 아름답게 렌더링합니다.
   외부 JS 라이브러리 없이 순수 CSS로 구문 강조와 라인 넘버링을 처리합니다.
   -------------------------------------------------------------------------- */
.jp-ide-container {
    background: #0d1117; /* GitHub Dark 기반의 심연 텍스처 */
    border: 1px solid #30363d;
    border-radius: var(--jp-radius-panel);
    overflow: hidden;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.8);
}

.jp-ide-header {
    background: #161b22;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #30363d;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
}

.jp-ide-mac-dots {
    display: flex;
    gap: 8px;
}

.jp-ide-dot {
    width: 12px; height: 12px;
    border-radius: 50%;
}
.jp-ide-dot.btn-close { background-color: #ff5f56; } /* 오류(불법) 차단 */
.jp-ide-dot.btn-min { background-color: #ffbd2e; }   /* 리스크 최소화 */
.jp-ide-dot.btn-max { background-color: #27c93f; }   /* 합리적 가치 극대화 */

.jp-ide-title {
    color: #8b949e;
    font-family: var(--jp-font-mono);
    font-size: var(--jp-text-xs);
    letter-spacing: 0.05em;
    flex-grow: 1;
    text-align: center;
    pointer-events: none;
}

.jp-ide-body {
    padding: 1.5rem;
    overflow-x: auto;
    font-family: var(--jp-font-mono);
    font-size: var(--jp-text-sm);
    line-height: 1.6;
    color: #c9d1d9;
    counter-reset: ide-line-number;
}

/* 터미널 내부 스크롤바 제어 */
.jp-ide-body::-webkit-scrollbar { height: 8px; }
.jp-ide-body::-webkit-scrollbar-track { background: #0d1117; }
.jp-ide-body::-webkit-scrollbar-thumb { background: #30363d; border-radius: 4px; }

/* CSS-Only 라인 넘버 생성기 */
.jp-code-row {
    display: block;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    position: relative;
    padding-left: 3rem;
    padding-top: 0.1rem;
    padding-bottom: 0.1rem;
}

.jp-code-row::before {
    counter-increment: ide-line-number;
    content: counter(ide-line-number);
    position: absolute;
    left: 0;
    width: 2rem;
    text-align: right;
    color: #484f58;
    user-select: none;
}

/* 정밀 검토 중인 핵심 로직 하이라이트 */
.jp-code-row.highlight-active {
    background-color: rgba(14, 165, 233, 0.1);
    border-left: 2px solid var(--jp-color-logic-core);
}
.jp-code-row.highlight-active::before {
    color: #c9d1d9;
}

/* Syntax Highlighting Tokens (Python & JS & Tax Logic 혼합 대응) */
.token.keyword  { color: #ff7b72; font-weight: 600; }    /* import, def, class, return */
.token.function { color: #d2a8ff; font-weight: 500; }    /* verify_logic, calculate_value */
.token.string   { color: #a5d6ff; }                      /* "합리적 가치", "정밀한 검토" */
.token.number   { color: #79c0ff; }                      /* 10000, 0.1, 2026 */
.token.comment  { color: #8b949e; font-style: italic; }  /* # 납세자의 권익 보호를 위한 로직 */
.token.operator { color: #79c0ff; }                      /* =, +, -, >, < */
.token.class    { color: #ffa657; font-weight: 500; }    /* UniverseCore, TaxEngine */
.token.variable { color: #e06c75; }                      /* data_frame, final_amount */
.token.boolean  { color: #79c0ff; font-weight: 600; }    /* True, False */

/* --------------------------------------------------------------------------
   [CHAPTER 9: BACKGROUND MESH & GEOMETRY (THE ECOSYSTEM)]
   단순한 단색 배경이 아닌, 수학적 좌표계와 시스템 노이즈를 입혀
   공간의 깊이와 정보의 밀도를 물리적으로 표현합니다.
   -------------------------------------------------------------------------- */

/* 9.1 System Noise Overlay (아날로그 필름의 무게감, 가벼움을 억제) */
.bg-noise-texture {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    mix-blend-mode: overlay;
    pointer-events: none;
    z-index: 0;
}

/* 9.2 Grid Matrix (데이터 기반 세무 컨설팅을 상징하는 정밀 좌표계) */
.bg-grid-tech {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(to right, rgba(51, 65, 85, 0.1) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(51, 65, 85, 0.1) 1px, transparent 1px);
    background-size: 40px 40px; /* 8px 그리드의 5배수 */
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 80%);
    pointer-events: none;
    z-index: var(--jp-z-background);
}

/* 9.3 Ambient Orbs (우주의 안개, 블러 처리된 심연의 조명) */
.jp-ambient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: var(--jp-z-void);
    opacity: 0.4;
    pointer-events: none;
    animation: glowPulseLogic 10s infinite alternate ease-in-out;
}
.orb-logic-blue { 
    background: radial-gradient(circle, rgba(14, 165, 233, 0.2) 0%, transparent 70%); 
}
.orb-truth-gold { 
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%); 
}

/* 9.4 Section Separators (섹션 간의 부드러운 연결을 위한 기하학적 분리선) */
.jp-section-divider {
    position: relative;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(51, 65, 85, 0.6) 50%, transparent 100%);
    margin: var(--jp-spacing-section) 0;
}
.jp-section-divider::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 10px; height: 10px;
    border: 1px solid var(--jp-color-truth-core);
    background: var(--jp-color-abyss-base);
}

/* --------------------------------------------------------------------------
   [CHAPTER 10: LAYOUT & GRID ARCHITECTURE (SPACE ALLOCATION)]
   각 하위 섹션(File 3 ~ 7)이 마운트될 공간의 뼈대. 
   비대칭적 구조를 통해 시각적 긴장감과 전문가적 권위를 부여합니다.
   -------------------------------------------------------------------------- */
.jp-section-wrapper {
    position: relative;
    width: 100%;
    padding: var(--jp-spacing-section) 0;
    overflow: hidden;
}

/* 10.1 Asymmetric Grid (서사와 논리의 교차 배치 - 비대칭의 균형) */
.jp-grid-asymmetric {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--jp-space-lg);
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.jp-grid-asymmetric > * {
    min-width: 0;
}

@media (min-width: 1024px) {
    .jp-grid-asymmetric {
        grid-template-columns: 5fr 7fr;
        align-items: center;
    }
    .jp-grid-asymmetric.is-reversed {
        grid-template-columns: 7fr 5fr;
    }
    .jp-grid-asymmetric.is-reversed > :first-child { order: 2; }
    .jp-grid-asymmetric.is-reversed > :last-child { order: 1; }
}

/* 10.2 Ecosystem Pipeline Architecture (File 6용 데이터 파이프라인 공간) */
.jp-pipeline-container {
    display: flex;
    flex-direction: column;
    position: relative;
    gap: var(--jp-space-md);
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding-inline: var(--jp-space-sm);
}

@media (min-width: 1024px) {
    .jp-pipeline-container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding-inline: 0;
    }
}

.jp-pipeline-connector {
    flex-grow: 1;
    height: 2px;
    background: var(--jp-color-border-subtle);
    position: relative;
    margin: 0 var(--jp-space-sm);
    display: none;
}

@media (min-width: 1024px) {
    .jp-pipeline-connector { display: block; }
}

/* 파이프라인을 타고 흐르는 데이터 패킷 (권익 보호 실행) */
.jp-pipeline-connector::after {
    content: '';
    position: absolute;
    top: -3px; left: 0;
    width: 8px; height: 8px;
    background-color: var(--jp-color-logic-core);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--jp-color-logic-glow-heavy);
    animation: moveAlongPath 3s linear infinite;
}

@keyframes moveAlongPath {
    0% { left: 0; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}

/* --------------------------------------------------------------------------
   [CHAPTER 11: IMAGE FALLBACK SYSTEM (RULE 2 ENFORCEMENT)]
   인라인 이미지 오류 처리기가 대체 이미지를 렌더링했을 때의 안전망 스타일링.
   무결성 유지를 위한 에러 핸들링 UI.
   -------------------------------------------------------------------------- */
.fallback-rendered {
    filter: grayscale(100%) contrast(120%);
    position: relative;
    overflow: hidden;
    border: 1px dashed var(--jp-color-border-rigid);
    background-color: var(--jp-color-surface-core);
    display: block;
    width: 100%;
}

.fallback-rendered::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        45deg,
        rgba(14, 165, 233, 0.05),
        rgba(14, 165, 233, 0.05) 10px,
        transparent 10px,
        transparent 20px
    );
    pointer-events: none;
}

/* --------------------------------------------------------------------------
   [CHAPTER 12: RESPONSIVE DYNAMICS (MEDIA PHYSICS)]
   디바이스의 크기가 변해도 '정밀한 검토'의 논리와 비율은 붕괴되지 않습니다.
   -------------------------------------------------------------------------- */

/* 12.1 Mobile View (초소형 화면에서의 정보 압축 및 최적화) */
@media (max-width: 768px) {
    .jp-section-wrapper {
        padding-block: 5rem;
    }

    .jp-grid-asymmetric {
        gap: var(--jp-space-md);
    }

    .jp-panel-glass {
        padding: var(--jp-space-md);
        backdrop-filter: blur(8px); /* 모바일 렌더링 성능 고려 */
    }
    
    .jp-btn-commit {
        width: 100%; /* 모바일에서는 터치 영역 극대화 */
    }
    
    /* 타이핑 및 글리치 애니메이션 부하 간소화 */
    .text-glitch-fx::before, .text-glitch-fx::after {
        animation-duration: 4s;
    }
    
    .jp-ide-body {
        padding: var(--jp-space-sm);
        font-size: 0.75rem;
    }

    .jp-code-row {
        padding-left: 2rem;
    }

    .jp-code-row::before {
        width: 1.25rem;
    }

    .hero-statement {
        font-size: clamp(2.35rem, 13vw, 4rem);
        line-height: 1;
    }
}

.jp-footer-link {
    display: inline-flex;
    align-items: center;
    min-height: 2.25rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid rgba(71, 85, 105, 0.65);
    background: rgba(15, 23, 42, 0.7);
    color: #cbd5e1;
    font: 500 0.72rem/1.3 var(--jp-font-sans);
    transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.jp-footer-link:hover,
.jp-footer-link:focus-visible {
    border-color: var(--jp-color-truth-core);
    background: rgba(212, 175, 55, 0.08);
    color: #f8fafc;
}

.jp-directory-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(1, 2, 4, 0.92);
    backdrop-filter: blur(12px);
}

.jp-directory-modal.is-open { display: flex; }

.sr-reveal-up,
.sr-reveal-bottom,
.sr-fade-in {
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    transition-delay: 0ms !important;
}

/* 12.2 Tablet View (화면 전환기의 여백 제어) */
@media (min-width: 769px) and (max-width: 1024px) {
    .jp-panel-gold-shield {
        padding: var(--jp-space-md);
    }
}

/* 12.3 Ultra-Wide Adjustments (초대형 관제 모니터에서의 압도감 극대화) */
@media (min-width: 1920px) {
    .jp-container {
        max-width: 1600px;
    }
    .jp-ide-body {
        font-size: 0.95rem; /* 대형 화면에서 코드 가독성 향상 */
    }
}

/* --------------------------------------------------------------------------
   [CHAPTER 13: ACCESSIBILITY (A11Y) - 권익 보호의 기본]
   모든 사용자에게 왜곡 없는 진실을 전달하기 위한 강제 규칙.
   -------------------------------------------------------------------------- */

/* 13.1 Reduced Motion (모션 감소) 
   사용자가 OS에서 애니메이션 축소를 요청했을 때 강제로 중지하여 어지러움을 방지. 
   애니메이션은 사라지지만 팩트(데이터)는 남습니다. */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    /* 배경의 어지러운 움직임 전면 차단 */
    .animate-scanline, .animate-data-flow, .bg-noise-texture, .jp-ambient-orb {
        display: none !important;
    }
    
    .animate-typing-genesis {
        animation: none;
        max-width: 100%;
        opacity: 1;
        border-right: none;
    }
}

/* 13.2 Screen Reader Only Utility */
.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* 13.3 High Contrast Mode (고대비 모드 지원) */
@media (prefers-contrast: more) {
    :root {
        --jp-color-border-subtle: #ffffff;
        --jp-color-text-muted: #e2e8f0;
    }
    .jp-panel-glass {
        border: 2px solid #ffffff;
        background: #000000;
        box-shadow: none;
    }
}

/* --------------------------------------------------------------------------
   [CHAPTER 14: PRINT STYLESHEET (THE PHYSICAL LEDGER)]
   회계사의 무결성은 디지털을 넘어 인쇄된 물리적 종이 위에서도 완벽해야 합니다.
   '정밀한 세무 검토 보고서'를 출력할 때 적용되는 레이아웃 규격입니다.
   어두운 심연의 배경은 잉크 낭비를 막고 합리적 가치를 보존하기 위해 하얗게 반전됩니다.
   -------------------------------------------------------------------------- */
@media print {
    @page {
        margin: 2cm;
        size: A4 portrait;
    }
    
    :root {
        --jp-color-abyss-base: #ffffff;
        --jp-color-surface-core: #ffffff;
        --jp-color-truth-core: #000000;
        --jp-color-logic-core: #333333;
    }
    
    html, body {
        background-color: #ffffff !important;
        color: #000000 !important;
        font-size: 11pt !important;
        font-family: 'Noto Serif KR', serif !important; /* 문서의 권위를 위한 세리프 강제 */
    }

    /* 화면용 시각적 장식물 전면 제거 */
    .bg-noise-texture, .bg-grid-tech, .animate-scanline, .jp-ambient-orb,
    header, footer, .jp-btn-commit, #jp-preloader, .jp-corner-brackets {
        display: none !important;
    }

    /* 패널을 깔끔한 보고서 테두리로 변환 */
    .jp-panel-glass, .jp-panel-gold-shield, .jp-ide-container {
        background: transparent !important;
        border: 1px solid #cccccc !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        page-break-inside: avoid;
        margin-bottom: 2cm;
    }

    h1, h2, h3, h4, h5, h6, p, span, div {
        color: #000000 !important;
        text-shadow: none !important;
        page-break-after: avoid;
    }

    /* 그라데이션 텍스트를 흑백 볼드체로 치환 */
    .text-gradient-gold, .text-gradient-logic {
        background: none !important;
        -webkit-text-fill-color: #000000 !important;
        color: #000000 !important;
        font-weight: bold;
    }

    /* 링크 URL 명시적 출력 (합리적이고 투명한 정보 제공) */
    a[href^="http"]::after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
        color: #555555;
        font-family: 'Fira Code', monospace;
    }

    /* 코드 스니펫(Tech Logic) 인쇄 최적화 (흑백 명암비 우선) */
    .jp-ide-container {
        background-color: #f8fafc !important;
        border: 1px solid #cbd5e1 !important;
        color: #0f172a !important;
    }
    .jp-ide-header { display: none !important; }
    
    .token { color: #000000 !important; font-weight: bold; }
    .token.comment { font-style: italic !important; color: #64748b !important; font-weight: normal; }
    .jp-code-row::before { color: #94a3b8 !important; }

    /* ScrollReveal.js 미작동 상태를 가정한 투명도 리셋 */
    .sr-reveal-up, .sr-reveal-bottom, .sr-fade-in {
        opacity: 1 !important;
        transform: none !important;
        visibility: visible !important;
    }

    /* 물리적 장부 출력 시 바닥글 규격 */
    body::after {
        content: "본 문서는 코딩하는 회계사 이민우의 정밀한 세무 검토를 거쳐 산출된 데이터입니다. 납세자의 권익 보호를 위한 합리적 가치 산정의 근거로 사용될 수 있습니다.";
        display: block;
        text-align: center;
        margin-top: 3cm;
        padding-top: 1cm;
        border-top: 1px solid #000;
        font-family: 'Pretendard', sans-serif;
        font-size: 9pt;
        color: #666;
        page-break-inside: avoid;
    }
}

/* ==========================================================================
   END OF STYLESHEET MANIFESTO
   수석 아키텍트의 모든 철학적 의도와 시각적 물리 법칙이 CSS로 완벽히 컴파일되었습니다.
   ========================================================================== */
