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

:root {
    --font-body: "Manrope", "Segoe UI", Roboto, Arial, sans-serif;
    --font-heading: "Sora", "Manrope", "Segoe UI", Roboto, Arial, sans-serif;
    --accent-color: #97c5a3;
    --accent-color-dark: #539765;
    --button-color: #3b6947;
    --button-color-hover: #2f563a;
    --footer-bg: #1b1b1b;
    --accent-color-light: #e3f0e6;
    --accent-color-shadow: rgba(59, 104, 71, 0.18);
    --text-color-primary: #1a202c;
    --text-color-secondary: #4a5568;
    --bg-light-gray: #f5f8f6;
    --border-light-gray: #e2e8f0;
    --spacing-unit: 1rem;
    --padding-sm: 0.5rem;
    --padding-md: 1rem;
    --padding-lg: 1.5rem;
    --padding-xl: 2rem;
    --padding-section-y: 4.5rem;
    --padding-section-y-md: 6.5rem;
    --header-height-top-info: 30px;
    --header-height-main: 64px;
    --header-total-height: calc(var(--header-height-top-info) + var(--header-height-main));
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: var(--font-body);
    color: var(--text-color-primary);
    background: var(--bg-light-gray);
    line-height: 1.6;
    padding-top: var(--header-total-height);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    font-family: var(--font-heading);
    line-height: 1.25;
}

p {
    margin: 0;
}

a {
    color: inherit;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--padding-md);
}

.container--narrow {
    max-width: 880px;
}

.section {
    padding: var(--padding-section-y) 0;
}

.section--white {
    background: #fff;
}

.section--gray {
    background-color: var(--bg-light-gray);
    background-image: radial-gradient(#cbd6e2 1px, transparent 1px);
    background-size: 20px 20px;
}

.section-heading {
    font-size: clamp(1.95rem, 1.45rem + 1.2vw, 2.65rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

@media (max-width: 480px) {
    .section-heading {
        font-size: clamp(1.6rem, 1.25rem + 2.2vw, 2.05rem);
    }
}

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

.top-info-bar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 70;
    width: 100%;
    height: var(--header-height-top-info);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    border-bottom: 1px solid #d8dee5;
    background: #fff;
    font-size: 0.9rem;
}

.top-info-bar__link {
    text-decoration: none;
    color: var(--text-color-primary);
}

.top-info-bar__link--bold {
    font-weight: 800;
}

.top-info-bar__link:hover,
.top-info-bar__link:focus-visible {
    color: var(--accent-color-dark);
}

.main-header {
    position: fixed;
    top: var(--header-height-top-info);
    left: 0;
    z-index: 65;
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.85rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.site-logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    color: var(--text-color-primary);
}

.header-logo-svg {
    height: 32px;
    width: auto;
    display: block;
}

.site-logo:hover,
.site-logo:focus-visible {
    color: var(--accent-color-dark);
}

.desktop-nav {
    display: none;
}

.header-buttons {
    position: relative;
    width: 34px;
    height: 34px;
    flex-shrink: 0;
}

.skip-link {
    position: absolute;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    width: 1px;
    height: 1px;
    overflow: hidden;
    white-space: nowrap;
    border: 0;
}

.skip-link:focus {
    position: fixed;
    top: 0.5rem;
    left: 0.5rem;
    width: auto;
    height: auto;
    clip: auto;
    clip-path: none;
    z-index: 120;
    padding: 0.65rem 0.85rem;
    background: var(--accent-color-dark);
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
}

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

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

.hero-section {
    padding: clamp(2.4rem, 5vw, 4rem) 0 clamp(2.8rem, 6vw, 4.6rem);
    background: #fff;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--padding-md);
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.35rem;
    align-items: center;
}

.hero-content {
    display: grid;
    gap: 1rem;
}

.hero__title {
    font-size: clamp(2rem, 1.45rem + 2vw, 3.1rem);
    font-weight: 900;
    letter-spacing: -0.025em;
}

.hero__logo-svg {
    max-width: 100%;
    width: clamp(220px, 45vw, 400px);
    height: auto;
    display: block;
    color: var(--text-color-primary);
    margin-bottom: 0.5rem;
}

.hero__subtitle {
    color: var(--text-color-secondary);
    font-size: clamp(1rem, 0.94rem + 0.35vw, 1.18rem);
}

.hero-media {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    background: #fff;
}

.hero-media img {
    display: block;
    width: 100%;
    height: auto;
}

.material-symbols-outlined {
    font-family: "Material Symbols Outlined";
    font-weight: normal;
    font-style: normal;
    font-size: 1em;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: "liga";
    -webkit-font-smoothing: antialiased;
    font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

.legal-content-section {
    padding-top: var(--padding-section-y);
    padding-bottom: var(--padding-section-y);
    background-color: #fff;
    line-height: 1.8;
    font-size: 1rem;
}

@media (min-width: 768px) {
    .legal-content-section {
        padding-top: var(--padding-section-y-md);
        padding-bottom: var(--padding-section-y-md);
    }
}

.legal-content-section h1 {
    font-size: clamp(1.7rem, 1.35rem + 1.7vw, 2.35rem);
    font-weight: 800;
    color: var(--text-color-primary);
    margin-top: 0;
    margin-bottom: calc(var(--spacing-unit) * 1.8);
    text-align: left;
    text-wrap: balance;
}

.legal-content-section h2 {
    font-size: clamp(1.25rem, 1.05rem + 1vw, 1.65rem);
    font-weight: 700;
    color: var(--text-color-primary);
    margin-top: calc(var(--spacing-unit) * 3);
    margin-bottom: calc(var(--spacing-unit) * 1.5);
    border-bottom: 2px solid var(--accent-color-light);
    padding-bottom: var(--padding-sm);
}

.legal-content-section h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-color-secondary);
    margin-top: calc(var(--spacing-unit) * 2);
    margin-bottom: var(--spacing-unit);
}

.legal-content-section p {
    margin-bottom: var(--spacing-unit);
    color: var(--text-color-secondary);
}

.article-meta {
    color: #6b7280;
    font-weight: 600;
    margin-top: -0.5rem;
    margin-bottom: 1.2rem;
}

.article-figure {
    margin: 0 0 1.5rem;
}

.article-figure img {
    display: block;
    width: 100%;
    max-width: 860px;
    height: auto;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.article-source {
    margin-top: 0.55rem;
    font-size: 0.92rem;
    color: #64748b;
}

.pdf-container {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

.pdf-frame {
    width: 100%;
    min-height: 600px;
    border: 0;
    border-radius: 14px;
    background: #f8fafc;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.pdf-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 1.25rem;
    border-radius: 12px;
    border: 1px solid transparent;
    font: inherit;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.button .material-symbols-outlined {
    font-size: 1.1rem;
}

.error-illustration {
    display: grid;
    place-items: center;
    min-height: 220px;
    margin: 1.5rem 0 1.25rem;
    border-radius: 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.error-illustration .material-symbols-outlined {
    font-size: clamp(4rem, 8vw, 6.5rem);
    color: var(--accent-color-dark);
}

.button--primary {
    background: var(--button-color);
    color: #fff;
    box-shadow: 0 10px 22px var(--accent-color-shadow);
}

.button--primary:hover,
.button--primary:focus-visible {
    background: var(--button-color-hover);
    box-shadow: 0 12px 24px rgba(47, 86, 58, 0.25);
}

.section-heading {
    color: var(--text-color-primary);
}

.section-heading::after {
    content: "";
    display: block;
    width: 4.5rem;
    height: 0.22rem;
    margin-top: 0.55rem;
    margin-bottom: 1.8rem;
    border-radius: 999px;
    background: var(--accent-color-dark);
    opacity: 0.92;
}

.button:active {
    transform: translateY(1px);
}

@media (min-width: 768px) {
    :root {
        --padding-section-y: 6.5rem;
    }

    .top-info-bar {
        font-size: 0.95rem;
        gap: 2rem;
    }

    .hero-inner {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
        gap: 1.95rem;
        align-items: end;
    }
}
