:root {
    --bg: #f7f8fb;
    --surface: #ffffff;
    --surface-alt: #eff2f7;
    --text: #121722;
    --muted: rgb(35, 139, 194);
    --border: #dfe4ec;
    --accent: #2457ff;
    --accent-strong: #163fd0;
    --shadow: 0 18px 50px rgba(18, 23, 34, 0.08);
    --max-width: 1180px;
}

:root[data-theme="dark"] {
    --bg: #0d1118;
    --surface: #131923;
    --surface-alt: #0f151e;
    --text: #f5f7fb;
    --muted: #9ba6b6;
    --border: #273142;
    --accent: #7a9cff;
    --accent-strong: #a7bbff;
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    transition: background 0.2s ease, color 0.2s ease;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.container {
    width: min(calc(100% - 40px), var(--max-width));
    margin-inline: auto;
}

.section {
    padding: 110px 0;
}

.section-alt {
    background: var(--surface-alt);
}

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

h1 {
    font-size: clamp(3rem, 7vw, 6.7rem);
    line-height: 0.98;
    letter-spacing: -0.065em;
    margin-bottom: 28px;
}

h2 {
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 1.08;
    letter-spacing: -0.045em;
}

h3 {
    font-size: 1.35rem;
    line-height: 1.3;
}

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