:root {
    --font-en: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    --font-tc: 'Noto Sans TC', 'PingFang TC', 'Heiti TC', 'Microsoft JhengHei', sans-serif;
    --text-primary: #111111;
    --text-secondary: #444444;
    --text-muted: #888888;
    --text-light: #aaaaaa;
    --bg-color: #ffffff;
    --bg-alt: #fcfcfc;
    --border-color: #eeeeee;
    
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;
    --spacing-xxl: 12rem;
    
    --max-width: 720px; /* Magazine style narrow column */
}

body {
    font-family: var(--font-en);
    color: var(--text-primary);
    background-color: var(--bg-color);
    line-height: 1.8;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6, p, li, a, span {
    font-family: var(--font-tc);
}

.eng-text {
    font-family: var(--font-en);
}

h1 {
    font-size: 2.5rem;
    font-weight: 300;
    line-height: 1.3;
    letter-spacing: -0.01em;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

h2 {
    font-size: 1.8rem;
    font-weight: 300;
    line-height: 1.4;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

h3 {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
}

h4 {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
}

p {
    margin-bottom: var(--spacing-md);
    color: var(--text-secondary);
    letter-spacing: 0.02em;
}

ul, ol {
    margin-bottom: var(--spacing-md);
    color: var(--text-secondary);
    padding-left: 1.5rem;
}

li {
    margin-bottom: 0.5rem;
}

a {
    color: var(--text-primary);
    text-decoration: underline;
    text-decoration-color: var(--text-light);
    text-underline-offset: 4px;
    transition: text-decoration-color 0.3s ease;
}

a:hover {
    text-decoration-color: var(--text-primary);
}

.section-title {
    font-family: var(--font-en);
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: var(--spacing-lg);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.section-title::before {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background-color: var(--border-color);
}
