/* Explain: Base reset and typography defaults */
* {
    box-sizing: border-box;
}

html {
    background: var(--background-color);
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    overflow-x: hidden;
    background: var(--background-color);
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    line-height: 1.16;
    margin: 0;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 4.2vw, 3.3rem); }
h2 { font-size: clamp(1.55rem, 2.6vw, 2.25rem); }
h3 { font-size: 1.12rem; }

p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; }

input, select, textarea, .input, .select, .textarea {
    font-family: var(--font-body);
}

.is-hidden { display: none !important; }

.cx-body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.cx-body main { flex: 1 0 auto; }

.cx-container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

.cx-section { padding: 60px 0; }
.cx-section-tight { padding: 36px 0 64px; }

@media (min-width: 1024px) {
    .cx-section { padding: 84px 0; }
    .cx-section-tight { padding: 40px 0 80px; }
}

.cx-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--accent-ink);
}

.cx-section-head { max-width: 720px; margin-bottom: 32px; }
.cx-section-head h2 { margin-top: 12px; }
.cx-section-head p { margin-top: 12px; color: var(--text-muted); }

.cx-muted { color: var(--text-muted); font-size: .92rem; }
.cx-mt { margin-top: 14px; }
.cx-block-title { margin: 28px 0 16px; font-size: 1.25rem; }

.cx-empty {
    padding: 26px;
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-muted);
    text-align: center;
    background: var(--surface-color);
}

.cx-fine-print {
    font-size: .82rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin-top: 12px;
}

.cx-form-error {
    margin-top: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    background: var(--success-soft);
    color: var(--success-color);
    font-size: .88rem;
}

.cx-form-error.is-error {
    background: var(--danger-soft);
    color: var(--danger-color);
}