/* ═══════════════════════════════════════════
   DataDeep — Base / Reset / Typography
   ═══════════════════════════════════════════ */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-relaxed);
    color: var(--dd-body);
    background: var(--dd-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: var(--line-height-tight);
    letter-spacing: var(--letter-spacing-tight);
    color: var(--dd-navy);
}

h1 { font-size: var(--font-size-hero); }
h2 { font-size: var(--font-size-4xl); }
h3 { font-size: var(--font-size-2xl); }
h4 { font-size: var(--font-size-xl); }
h5 { font-size: var(--font-size-lg); }
h6 { font-size: var(--font-size-md); }

p {
    margin-bottom: var(--space-4);
    color: var(--dd-body);
}

p:last-child { margin-bottom: 0; }

a {
    color: var(--dd-purple);
    text-decoration: none;
    transition: color var(--duration-fast) var(--ease-smooth);
}
a:hover { color: var(--dd-blue); }

strong, b { font-weight: 700; }

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

ul, ol { list-style: none; }

/* Selection */
::selection {
    background: rgba(187, 49, 199, 0.15);
    color: var(--dd-navy);
}

/* Focus visible */
:focus-visible {
    outline: 2px solid var(--dd-purple);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

/* Gradient text utility */
.gradient-text {
    background: var(--dd-gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-purple { color: var(--dd-purple); }
.text-blue { color: var(--dd-blue); }
.text-pink { color: var(--dd-pink); }
.text-white { color: var(--dd-white); }
.text-muted { color: var(--dd-muted); }
.text-center { text-align: center; }

/* Section label (small uppercase) */
.section-label {
    display: inline-block;
    font-size: var(--font-size-xs);
    font-weight: 700;
    letter-spacing: var(--letter-spacing-wide);
    text-transform: uppercase;
    color: var(--dd-purple);
    margin-bottom: var(--space-3);
}

.section-title {
    font-size: var(--font-size-4xl);
    margin-bottom: var(--space-5);
}

.section-subtitle {
    font-size: var(--font-size-md);
    line-height: var(--line-height-relaxed);
    color: var(--dd-muted);
    max-width: 640px;
}

/* Dark section text */
.dark-section { background: var(--dd-navy); }
.dark-section h1,
.dark-section h2,
.dark-section h3,
.dark-section h4,
.dark-section h5,
.dark-section h6 { color: var(--dd-white); }
.dark-section p { color: rgba(255, 255, 255, 0.7); }
.dark-section .section-label { color: var(--dd-purple-light); }
.dark-section .section-subtitle { color: rgba(255, 255, 255, 0.6); }
