/* --------------------------------------------------------------
   Base tokens & resets
-------------------------------------------------------------- */
:root {
    --mtd-page: #040915;
    --mtd-page-alt: #0b1222;
    --mtd-surface: rgba(13, 22, 42, 0.92);
    --mtd-surface-solid: #0f172a;
    --mtd-surface-alt: rgba(24, 33, 58, 0.86);
    --mtd-surface-border: rgba(148, 163, 184, 0.22);
    --mtd-surface-glow: rgba(56, 189, 248, 0.22);
    --mtd-text: #f8fafc;
    --mtd-text-soft: rgba(226, 232, 240, 0.78);
    --mtd-muted: rgba(148, 163, 184, 0.65);
    --mtd-primary: #60a5fa;
    --mtd-primary-strong: #3b82f6;
    --mtd-primary-soft: rgba(96, 165, 250, 0.18);
    --mtd-accent: #fbbf24;
    --mtd-accent-soft: rgba(251, 191, 36, 0.24);
    --mtd-success: #22c55e;
    --mtd-warning: #f59e0b;
    --mtd-danger: #ef4444;
    --mtd-radius-large: 28px;
    --mtd-radius-medium: 18px;
    --mtd-radius-small: 12px;
    --mtd-shadow-soft: 0 20px 45px rgba(8, 15, 37, 0.35);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Ubuntu', -apple-system, 'Segoe UI', sans-serif;
    line-height: 1.7;
    letter-spacing: 0.01em;
    color: var(--mtd-text);
    background-color: var(--mtd-page);
    background-image:
        radial-gradient(circle at 10% 10%, rgba(96, 165, 250, 0.2) 0%, rgba(4, 9, 21, 0) 55%),
        radial-gradient(circle at 90% 8%, rgba(251, 191, 36, 0.2) 0%, rgba(4, 9, 21, 0) 60%),
        radial-gradient(circle at 50% 80%, rgba(37, 99, 235, 0.16) 0%, rgba(4, 9, 21, 0) 65%),
        linear-gradient(180deg, rgba(4, 9, 21, 1) 0%, rgba(4, 9, 21, 0.95) 40%, rgba(6, 12, 26, 1) 100%);
    background-attachment: fixed;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

body a {
    color: var(--mtd-primary);
    text-decoration: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

body a:hover,
body a:focus {
    color: #93c5fd;
    text-shadow: 0 0 14px rgba(96, 165, 250, 0.45);
}

::selection {
    background: rgba(96, 165, 250, 0.38);
    color: #0b1221;
}

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

p {
    margin-bottom: 1.6rem;
    color: var(--mtd-text-soft);
}

ul,
ol {
    margin: 0 0 1.6rem 1.6rem;
    color: var(--mtd-text-soft);
}

li {
    margin-bottom: 0.6rem;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Ubuntu', -apple-system, 'Segoe UI', sans-serif;
    font-weight: 600;
    color: #f1f5f9;
    line-height: 1.15;
    margin-bottom: 0.75rem;
}

h1 { font-size: clamp(2.5rem, 6vw, 3.6rem); }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h4 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); }
h5 { font-size: clamp(1.2rem, 2vw, 1.4rem); }
h6 { font-size: 1rem; }

strong { color: #e2e8f0; font-weight: 600; }

button,
input,
textarea,
select {
    font-family: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 2;
}

.site-main {
    color: var(--mtd-text);
}

.aligncenter { display: block; margin: 0 auto; }
.alignleft { float: left; margin-right: 1rem; }
.alignright { float: right; margin-left: 1rem; }
.wp-caption { max-width: 100%; }
.screen-reader-text { position: absolute; left: -9999px; top: auto; height: 1px; width: 1px; overflow: hidden; }

.skip-link {
    position: absolute;
    left: -999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.skip-link:focus {
    position: static;
    width: auto;
    height: auto;
    padding: 0.5rem 1rem;
    background: var(--mtd-primary);
    color: #0b1221;
    border-radius: var(--mtd-radius-small);
    z-index: 10000;
}
