/* reset + global defaults */

/* =========================================================
   BASE / RESET
   ========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

/* =========================================================
   THEME TRANSITIONS
   ========================================================= */

html {
    transition:
        background-color 0.3s ease,
        color 0.3s ease;
}

body {
    transition:
        background-color 0.3s ease,
        color 0.3s ease;
}

a,
button,
header,
section,
footer,
div,
.card {
    transition:
        background-color 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

/* =========================================================
   GLOBAL DEFAULTS
   ========================================================= */

body {
    font-family: var(--font-primary);
    font-synthesis: none;
    font-size: var(--font-base);
    background: var(--color-bg);
    color: var(--color-text);
    margin: 0;
    line-height: 1.6;

    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-mauve);
    text-decoration: none;
    font-weight: 600;
}

p,
li {
    font-size: var(--font-base);
    line-height: 1.7;
}

p+p {
    margin-top: var(--space-md);
}

/* =========================================================
   TYPOGRAPHY
   ========================================================= */

h1 {
    font-size: var(--font-xxl);
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.02em;
}

h2 {
    font-size: var(--font-xl);
    line-height: 1.2;
    font-weight: 600;
    color: var(--color-mauve);
}

h3 {
    font-size: var(--font-lg);
    line-height: 1.3;
    font-weight: 600;
}

h1,
h2,
h3 {
    margin-top: 0;
}

h1+p,
h2+p,
h3+p {
    margin-top: var(--space-sm);
}

.mauve {
    color: var(--color-mauve);
}

.tagline,
.page-title {
    background: linear-gradient(90deg, var(--color-mauve), #e6bcbc);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    line-height: 1;
}

.lead {
    font-size: clamp(1.05rem, 1.2vw, 1.15rem);
    color: var(--color-muted);
    max-width: 680px;
    margin: var(--space-sm) auto 0;
}

section+section {
    margin-top: var(--space-xl);
}

/* =========================================================
   CONTENT FLOW
   ========================================================= */

.section-content p {
    text-align: justify;
    text-justify: inter-word;
}