*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: var(--fs-500);
    line-height: var(--lh-base);
    color: var(--color-text-body);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, dl, dd, dt, figure { margin: 0; }

/* ── Заголовки в стиле «Я – Актёр!» ─────────────────────── */
h1, h2, h3,
.hero__title,
.section__title,
.card__title,
.plan__grade,
.person__name,
.feature__title {
    font-family: var(--font-display);
    font-weight: 400;
    letter-spacing: .01em;
    text-transform: uppercase;
    color: var(--color-text);
}

h1, .hero__title        { line-height: var(--lh-tight); }
h2, .section__title     { line-height: var(--lh-tight); }
h3, .card__title        { line-height: 1.1; }

/* Акцентные слова внутри заголовков */
.accent { color: var(--color-accent); }

:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 3px;
    border-radius: var(--radius-sm);
}

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
    position: absolute; left: -999px; top: 0; z-index: 100;
    background: var(--color-accent); color: #fff;
    padding: var(--space-3) var(--space-4);
}
.skip-link:focus { left: var(--space-4); top: var(--space-4); }

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}