@font-face {
    font-family: 'MasterFont';
    src: url('../fonts/MasterFont.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --color-primary: #324fdf;
    --color-primary-dark: #06209B;
    --color-bg: #faf9f7;
    --color-surface: #ffffff;
    --color-text: #1a1a1a;
    --color-text-muted: #6b6b6b;
    --color-tag-bg: #bbc5f5;
    --color-tag-text: #021781;
    --color-border: #e5e7eb;
    --font-body: 'Lora', Georgia, serif;
    --font-ui: 'Inter', system-ui, sans-serif;
    --header-height: 64px;
    --sidebar-width: 240px;
    --max-width: 1000px;
    --radius: 8px;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

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

html {
    scroll-behavior: smooth;
    height: 100%;
}

body {
    font-family: var(--font-body);
    background-color: #ffffff;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.10) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.10) 1px, transparent 1px);
    background-size: 60px 60px;
    color: var(--color-text);
    line-height: 1.7;
    font-size: 1rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: var(--color-primary);
    text-decoration: none;
}
a:hover {
    color: var(--color-primary-dark);
    text-decoration: underline;
}

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