:root {
    --bg: #f4f4f4;
    --surface: #ffffff;
    --surface-soft: #f8fafc;
    --text: #1f2937;
    --title: #0b1324;
    --muted: #6b7280;
    --line: #e5e7eb;
    --accent: #2563eb;
    --accent-pressed: #1d4ed8;
    --cover: #0f172a;
    --shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
    --radius: 20px;
    --max-width: 1200px;
}

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

html,
body {
    margin: 0;
    padding: 0;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
}

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

a {
    color: var(--text);
    text-decoration: none;
    transition: color .2s ease, text-decoration-color .2s ease;
}

a:hover {
    color: var(--accent);
    text-decoration: underline;
    text-decoration-color: currentColor;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

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

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
}

.skip-link:focus {
    left: 12px;
    z-index: 1000;
    background: #111827;
    color: #fff;
    padding: 8px 10px;
    border-radius: 6px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.btn-main {
    display: inline-block;
    border: 1px solid var(--accent);
    background: var(--accent);
    color: #fff;
    border-radius: 999px;
    padding: 10px 18px;
    font-weight: 500;
}

.btn-main:hover {
    background: var(--accent-pressed);
    border-color: var(--accent-pressed);
    color: #fff;
    text-decoration: none;
}

.btn-main:active {
    transform: translateY(1px);
}

.btn-main:disabled,
.btn-main[disabled] {
    background: #9ca3af;
    border-color: #9ca3af;
    cursor: not-allowed;
}
