/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-family);
    background: var(--color-bg);
    color: var(--color-text-secondary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
input, textarea, select, button { font-family: inherit; }

/* ===== LAYOUT ===== */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ===== TYPOGRAPHY ===== */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--color-card-bg-hover);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: 20px;
}
.section-badge svg { width: 16px; height: 16px; color: var(--color-accent); }

.section-heading {
    font-size: 36px;
    font-weight: 800;
    color: var(--color-text-primary);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.section-desc {
    font-size: 16px;
    color: var(--color-text-dim);
    margin-bottom: 48px;
    max-width: 700px;
    line-height: 1.7;
}

/* ===== NAVIGATION ===== */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--color-bg-nav);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border-subtle);
}
.nav-inner {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-height);
}
.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}
.nav-logo {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid var(--color-border-active);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
    color: var(--color-text-primary);
}
.nav-logo-img {
    height: 36px;
    width: auto;
}
.footer-logo-img {
    height: 32px;
    width: auto;
}
.nav-brand-text h2 {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-primary);
    line-height: 1.3;
}
.nav-brand-text span {
    font-size: 12px;
    color: var(--color-text-dim);
    font-weight: 400;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-links a {
    font-size: 14px;
    color: var(--color-text-subtle);
    font-weight: 400;
    transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--color-text-primary); }

/* ===== FOOTER ===== */
.footer {
    border-top: 1px solid var(--color-border-subtle);
    padding: 60px 0 40px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}
.footer-brand .nav-brand { margin-bottom: 8px; }
.footer-brand .footer-tagline {
    font-size: 13px;
    color: var(--color-text-dim);
    line-height: 1.6;
    max-width: 340px;
}
.footer-col h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 16px;
}
.footer-col a {
    display: block;
    font-size: 14px;
    color: var(--color-text-faint);
    padding: 4px 0;
    transition: color 0.2s;
}
.footer-col a:hover { color: var(--color-text-tertiary); }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid var(--color-border-subtle);
}
.footer-bottom .copyright {
    font-size: 13px;
    color: var(--color-text-placeholder);
}
.footer-bottom .footer-legal {
    display: flex;
    gap: 20px;
}
.footer-bottom .footer-legal a {
    font-size: 13px;
    color: var(--color-text-placeholder);
    transition: color 0.2s;
}
.footer-bottom .footer-legal a:hover { color: var(--color-text-subtle); }

/* ===== BLOCK SETTING UTILITIES ===== */
.pt-none { padding-top: 0 !important; }
.pt-small { padding-top: 40px !important; }
.pt-large { padding-top: 120px !important; }
.pb-none { padding-bottom: 0 !important; }
.pb-small { padding-bottom: 40px !important; }
.pb-large { padding-bottom: 120px !important; }
.bg-card { background: var(--color-card-bg) !important; }
.bg-accent-subtle { background: var(--color-accent-10) !important; }

/* ===== WP OVERRIDES ===== */
.wp-block-post-content { max-width: none; }
.entry-content > * { max-width: none; }
