:root {
    --body-max-width: min(1400px, 94vw);
    --color-white: #ffffff;
    --color-black: #000000;
    --color-slate: #404c60;
    --color-steel: #8497b0;
    --color-sky: #009eff;
    --color-neutral: #d0cece;
    --color-sand: #fff2cc;
    --color-amber: #ffe699;
    --color-orange: #ed7d31;
    --color-orange-dark: #f26d13;
    --color-background: var(--color-white);
    --color-surface: #f6f7fa;
    --color-surface-alt: #eef2f6;
    --color-divider: #cad1d9;
    --color-text: var(--color-slate);
    --color-muted: #5c6880;
    --color-soft: #7b879e;
    --color-accent: var(--color-sky);
    --color-accent-dark: #0078c2;
    --color-highlight: var(--color-amber);
    --color-highlight-soft: var(--color-sand);
    --color-accent-strong: var(--color-orange);
    --divider-circle-color: var(--color-neutral);
    --line-width: 1px;
    --font-sans: "Bahnschrift SemiLight", "Bahnschrift", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    --font-display: "Bahnschrift", "Bahnschrift SemiLight", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}
*,
*::before,
*::after {
    box-sizing: border-box;
}
html {
    font-size: 16px;
    scroll-behavior: smooth;
}
body {
    margin: 0;
    min-height: 100vh;
    background: var(--color-background);
    color: var(--color-text);
    font-family: var(--font-sans);
    line-height: 1.6;
    letter-spacing: 0.01em;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
body,
h1,
h2,
h3,
h4,
p {
    margin: 0;
    font-weight: 400;
    word-break: break-word;
    overflow-wrap: anywhere;
    text-wrap-style: pretty;
}
li,
a {
    word-break: break-word;
    overflow-wrap: anywhere;
}
h1,
h2,
h3 {
    font-family: var(--font-display);
    font-weight: 500;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    font-size: 1.25em;
    line-height: 1.25em;
}
p {
    max-width: 70ch;
}
a {
    text-decoration: none;
    color:inherit;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
section{
    background-color: var(--section-background, var(--color-white));
}
.section-block {
    --padding-section: clamp(2.5rem, 4vw, 4.2rem);
    position: relative;
    justify-items: center;
    width: 100%;
    margin: 0 auto;
    padding-block: var(--padding-section);
    transition: padding-inline 180ms ease, width 180ms ease;
    background-color: var(--section-background, var(--color-white));
}
:not(:first-of-type:last-of-type) .section-block::after {
    content: "";
    width: clamp(3rem, 5vw, 4rem);
    height: clamp(3rem, 5vw, 4rem);
    border-radius: 50%;
    left: 50%;
    bottom: calc(-0.5 * clamp(3rem, 5vw, 4rem));
    transform: translateX(-50%);
    position: absolute;
    background: var(--divider-circle-color, var(--color-neutral));
    z-index: 2;
    pointer-events: none;
}
.section-block > *:not(.article__media) {
    max-width: var(--body-max-width);
}
.button-group {
    margin-top: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}
.article.section-block:not(.article--with-media) .button-group{
    justify-content: center;
}
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.6rem;
    padding: 0 1.75rem;
    border: var(--line-width) solid var(--color-orange);
    background: transparent;
    color: var(--color-accent);
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}
.button:hover,
.button:focus-visible {
    background: var(--color-orange);
    color: var(--color-white);
    border-color: var(--color-orange);
    outline: none;
}
.button--primary {
    background: var(--color-orange);
    color: var(--color-white);
}
.button--primary:hover,
.button--primary:focus-visible {
    background: var(--color-orange-dark);
    border-color: var(--color-orange-dark);
}
.button--ghost {
    background: transparent;
    color: var(--color-slate);
    border-color: var(--color-slate);
}
.button--ghost:hover,
.button--ghost:focus-visible {
    background: var(--color-slate);
    color: var(--color-white);
}
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.2rem 0.6rem;
    border: var(--line-width) solid var(--color-divider);
    color: var(--color-muted);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    .section-block {
        --padding-section: clamp(2rem, 5vw, 3.5rem);
        width: min(96vw, 640px);
    }
    .button {
        width: 100%;
        justify-content: center;
    }
    .button-group {
        gap: 0.6rem;
    }
}
@media (max-width: 640px) {
    html {
        font-size: 14.8px;
    }
    body {
        line-height: 1.7;
    }
    .section-block {
        width: min(100%, 96vw);
    }
    .button-group {
        width: 100%;
        justify-content: center;
    }
}
@media (max-width: 520px) {
    html {
        font-size: 14.4px;
    }
    .section-block {
        width: 100%;
        --padding-section: clamp(1.8rem, 8vw, 2.4rem);
        padding-inline: clamp(1.1rem, 7vw, 1.6rem);
    }
    .button-group {
        flex-direction: column;
        align-items: stretch;
    }
    .button {
        width: 100%;
    }
}
