/* =========================================================
   Google Fonts
   ========================================================= */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

/* =========================================================
   Design Tokens
   ========================================================= */
:root {
    --color-primary: #0f172a;
    --color-primary-soft: #1e293b;
    --color-accent: #2563eb;
    --color-accent-hover: #1d4ed8;
    --color-accent-soft: #dbeafe;
    --color-secondary: #14b8a6;
    --color-secondary-soft: #ccfbf1;
    --color-warning: #f59e0b;
    --color-danger: #dc2626;
    --color-success: #15803d;

    --color-text: #0f172a;
    --color-text-soft: #475569;
    --color-text-muted: #64748b;
    --color-white: #ffffff;
    --color-border: #dbe3ee;
    --color-border-strong: #cbd5e1;

    --bg-page: #f8fafc;
    --bg-light: #f1f5f9;
    --bg-soft: #eef4ff;
    --bg-dark: #0f172a;
    --bg-dark-soft: #162235;

    --shadow-sm: 0 4px 14px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 18px 50px rgba(15, 23, 42, 0.12);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

/* =========================================================
   Base / Reset
   ========================================================= */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.06), transparent 22%),
        radial-gradient(circle at top right, rgba(20, 184, 166, 0.05), transparent 20%),
        var(--bg-page);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: var(--color-accent);
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-accent-hover);
}

a:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.22);
    outline-offset: 3px;
    border-radius: 8px;
}

p {
    margin-top: 0;
    color: var(--color-text-soft);
}

ul,
ol {
    color: var(--color-text-soft);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--color-text);
}

h1 {
    font-size: clamp(2.4rem, 4vw, 4rem);
    font-weight: 800;
}

h2 {
    font-size: clamp(1.9rem, 3vw, 2.7rem);
    font-weight: 800;
}

h3 {
    font-size: 1.3rem;
    font-weight: 700;
}

h4 {
    font-size: 1.1rem;
    font-weight: 700;
}

.container {
    width: min(92%, 1200px);
    margin: 0 auto;
}
