:root {
    --brand-primary: #1c703b;
    --brand-secondary: #76aa77;
    --brand-white: #ffffff;
    --brand-dark: #1e1e1e;

    --main-color: var(--brand-dark);
    --base-color: var(--brand-white);
    --highlight-color: var(--brand-primary);
    --highlight-soft: var(--brand-secondary);
    --aux-color-1: var(--brand-secondary);
    --aux-color-2: var(--brand-dark);
    --border-color: rgba(28, 112, 59, 0.18);
    --surface-muted: #f6fbf6;
    --surface-dark: #252525;
    --shadow-soft: 0 16px 40px rgba(28, 112, 59, 0.08);
    --shadow-strong: 0 24px 60px rgba(0, 0, 0, 0.16);

    --page-bg: var(--brand-white);

    --main-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --aux-font: 'IBM Plex Sans', 'Inter', sans-serif;
    --display-font: 'Inter', 'IBM Plex Sans', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

html, body {
    width: 100%;
    min-height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: var(--page-bg);
    font-size: 18px;
    font-family: var(--main-font);
    color: var(--main-color);
    font-weight: 400;
}

body {
    line-height: 1.5;
}

body#homepage {
    background: linear-gradient(180deg, #ffffff 0%, #f8fcf8 100%);
}

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

h1, h2, h3, h4, h5, h6, p {
    margin: 0;
    padding: 0;
    font-size: inherit;
}

strong {
    font-weight: 700;
}

em {
    font-style: normal;
}

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

a {
    color: inherit;
    text-decoration: none;
}

a[href^="https://"]::after {
    content: '';
    display: inline-block;
    width: 0.8em;
    height: 0.8em;
    margin-left: 0.4ch;
    background-image: url('/~sepromat/assets/img/linkExt/green-1.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

a.clean::after,
footer a::after,
header a::after,
.button::after {
    display: none;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    min-height: 3rem;
    padding: 0.75rem 1.35rem;
    border-radius: 0.95rem;
    border: 1px solid var(--highlight-color);
    background: var(--highlight-soft);
    color: var(--brand-dark);
    font-family: var(--aux-font);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
}

.button:hover {
    transform: translateY(-1px);
    background: #8fbc90;
}

.button.secondary {
    background: transparent;
    color: var(--brand-white);
    border-color: rgba(255, 255, 255, 0.4);
}

.button.secondary:hover {
    background: rgba(255, 255, 255, 0.08);
}

.button.outline {
    background: transparent;
    color: var(--highlight-color);
    border-color: rgba(28, 112, 59, 0.26);
}

.button.outline:hover {
    background: rgba(28, 112, 59, 0.06);
}

.section-dark .button.outline,
.section-dark .button.secondary {
    color: var(--brand-white);
    border-color: rgba(255, 255, 255, 0.25);
}

.section-dark .button.outline:hover,
.section-dark .button.secondary:hover {
    background: rgba(255, 255, 255, 0.08);
}

.button.inactive {
    opacity: 0.72;
    pointer-events: none;
}

main {
    width: 100%;
    margin: 0;
    padding: 0;
}

main img {
    content-visibility: auto;
}

main > section {
    width: min(92vw, 1280px);
    margin: 0 auto;
}

.section-heading {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.section-heading.inline {
    gap: 1.5rem;
}

.section-heading .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--highlight-color);
    font-family: var(--aux-font);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.section-heading .eyebrow::before {
    content: '';
    width: 2rem;
    height: 2px;
    border-radius: 999px;
    background: var(--highlight-soft);
}

.section-heading h2 {
    font-family: var(--display-font);
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 800;
    line-height: 1.05;
    color: var(--brand-dark);
}

.section-heading p {
    max-width: 48rem;
    color: rgba(30, 30, 30, 0.72);
    font-size: 1rem;
}

.section-dark .section-heading h2,
.section-dark .section-heading p,
.section-dark .section-heading .eyebrow {
    color: var(--brand-white);
}

.section-dark .section-heading .eyebrow::before {
    background: var(--highlight-soft);
}

ol, ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

hr {
    height: 1px;
    border: none;
    background: var(--border-color);
}

@media screen and (min-width: 960px) {
    html, body {
        font-size: 19px;
    }

    .section-heading.inline {
        align-items: end;
        justify-content: space-between;
        flex-direction: row;
    }
}

@media screen and (max-width: 959px) {
    html, body {
        font-size: 16px;
    }

    .no-mobile {
        display: none !important;
    }
}
