:root {
    color-scheme: light;
    --theme-bg: #f7f8fa;
    --theme-surface: #ffffff;
    --theme-text: #17202a;
    --theme-muted: #5f6f80;
    --theme-border: #dfe5eb;
    --theme-accent: #0f766e;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--theme-bg);
    color: var(--theme-text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

a {
    color: var(--theme-accent);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

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

.site-header,
.site-footer {
    background: var(--theme-surface);
    border-bottom: 1px solid var(--theme-border);
}

.site-header__inner,
.site-footer__inner,
.site-nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 64px;
}

.site-brand {
    color: var(--theme-text);
    font-size: 1.25rem;
    font-weight: 700;
}

.site-tagline,
.site-footer p {
    margin: 0;
    color: var(--theme-muted);
}

.site-nav {
    background: var(--theme-surface);
    border-bottom: 1px solid var(--theme-border);
}

.site-nav__inner {
    justify-content: flex-start;
    flex-wrap: wrap;
    min-height: 48px;
}

.site-nav__link {
    color: var(--theme-text);
    font-weight: 600;
}

.site-main {
    min-height: 60vh;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 18px 0 0;
    color: var(--theme-muted);
    font-size: .95rem;
}

.theme-section {
    padding: 56px 0;
}

.theme-section--hero {
    background: var(--theme-surface);
    border-bottom: 1px solid var(--theme-border);
}

.theme-section--hero h1,
.page-header h1,
.error-page h1 {
    margin: 0 0 12px;
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.1;
}

.theme-section--hero p,
.page-header p,
.error-page p {
    max-width: 720px;
    color: var(--theme-muted);
}

.eyebrow {
    margin: 0 0 8px;
    color: var(--theme-accent);
    font-weight: 700;
    text-transform: uppercase;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.content-card {
    min-height: 180px;
    padding: 24px;
    background: var(--theme-surface);
    border: 1px solid var(--theme-border);
    border-radius: 8px;
}

.content-card h2 {
    margin: 0 0 10px;
    font-size: 1.25rem;
}

.content-body {
    max-width: 820px;
}

.content-body img {
    max-width: 100%;
    height: auto;
}

.error-page {
    display: grid;
    min-height: 100vh;
    place-items: center;
    padding: 32px 0;
}

.error-page__content {
    text-align: center;
}

.button-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 18px;
    background: var(--theme-accent);
    color: #ffffff;
    border-radius: 6px;
    font-weight: 700;
}
