/* Base resets, typography and core layout */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-deep);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Subtle global geometric texture */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(232, 80, 2, 0.015) 0%, transparent 50%),
        radial-gradient(circle at 75% 60%, rgba(193, 8, 1, 0.012) 0%, transparent 50%),
        radial-gradient(circle at 40% 85%, rgba(241, 96, 1, 0.01) 0%, transparent 50%);
    opacity: 1;
}

/* Geometric dot grid overlay */
body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: 0.7;
}

.container {
    max-width: 1200px;
    margin: 2vh auto;
    padding: 0 28px;
    position: relative;
    z-index: 1;
}

h1 {
    font-size: clamp(2.6rem, 5.2vw, 4.2rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.025em;
    color: var(--text-primary);
    margin-bottom: 24px;
}

h1 .accent-word {
    background: linear-gradient(135deg, var(--accent), var(--accent-warm));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: clamp(2rem, 3.6vw, 2.9rem);
    font-weight: 700;
    line-height: 1.22;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 18px;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

p {
    color: var(--text-muted);
    margin-bottom: 16px;
    font-size: 1.0625rem;
    line-height: 1.7;
}

.subhead {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 48px;
    line-height: 1.65;
}

.page-content,
.post-content {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1.0625rem;
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
}
