/* ------------------- */
/* GLOBAL STYLES       */
/* ------------------- */
:root {
    --bg-main: #0D1117;
    --bg-secondary: #161B22;
    --border-color: #21262D;
    --text-main: #E6EDF3;
    --text-secondary: #8B949E;
    --accent-primary: #30C59B;
    --accent-primary-hover: #40e0b3;

    --font-body: 'Inter', sans-serif;
    --font-heading: 'Space Grotesk', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main {
    flex-grow: 1;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-main);
    line-height: 1.2;
}

a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-primary-hover);
}

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ------------------- */
/* HEADER              */
/* ------------------- */
.header {
    background-color: rgba(13, 17, 23, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

.header__logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
}
.header__logo:hover {
    color: var(--text-main);
}

.header__nav-list {
    display: flex;
    gap: 30px;
}

.header__nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

.header__nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-primary);
    transition: width 0.3s ease;
}

.header__nav-link:hover {
    color: var(--text-main);
}

.header__nav-link:hover::after {
    width: 100%;
}

.header__menu-button {
    display: none; /* For mobile */
    background: none;
    border: none;
    color: var(--text-main);
    cursor: pointer;
}

/* ------------------- */
/* FOOTER              */
/* ------------------- */
.footer {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 20px;
    font-size: 0.9rem;
}

.footer__container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    margin-bottom: 40px;
}

.footer__logo {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 10px;
    display: inline-block;
}
.footer__logo:hover {
    color: var(--text-main);
}

.footer__tagline {
    color: var(--text-secondary);
}

.footer__heading {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--text-main);
}

.footer__list li {
    margin-bottom: 10px;
}

.footer__link {
    color: var(--text-secondary);
}

.footer__link:hover {
    color: var(--accent-primary);
    text-decoration: underline;
}

.footer__list--contacts li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer__list--contacts .lucide {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: var(--accent-primary);
    margin-top: 2px;
}

.footer__bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
    max-width: 1300px;
    margin: 0 auto;
}

/* ------------------- */
/* RESPONSIVENESS      */
/* ------------------- */

@media (max-width: 992px) {
    .footer__container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header__nav {
        display: none; /* Will be implemented with JS later */
    }
    .header__menu-button {
        display: block;
    }
}

@media (max-width: 576px) {
    .footer__container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer__list--contacts li {
        justify-content: center;
        text-align: left;
    }
}

/* ------------------- */
/* HERO SECTION        */
/* ------------------- */
.hero {
    padding: 80px 0;
    overflow: hidden;
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.hero__content {
    /* Анимация появления */
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s 0.2s ease-out forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero__title {
    font-size: 3.5rem; /* 56px */
    font-weight: 700;
    margin-bottom: 20px;
    min-height: 140px; /* Резервируем место под 2 строки текста */
}

/* Эффект курсора для анимации текста */
.hero__title::after {
    content: '|';
    animation: blink 0.7s infinite;
    color: var(--accent-primary);
}

@keyframes blink {
    50% { opacity: 0; }
}

.hero__subtitle {
    font-size: 1.125rem; /* 18px */
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 500px;
    
    /* Анимация появления для этого элемента */
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s 0.5s ease-out forwards;
}

.hero__cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--accent-primary);
    color: var(--bg-main);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 500;
    padding: 14px 28px;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    
    /* Анимация появления для этого элемента */
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s 0.8s ease-out forwards;
}

.hero__cta-button:hover {
    background-color: var(--accent-primary-hover);
    color: var(--bg-main);
    transform: translateY(-3px);
}

.hero__visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero__image-wrapper {
    position: relative;
    max-width: 450px;
}

.hero__image {
    border-radius: 16px;
    width: 100%;
}

/* Декоративная подложка с градиентом */
.hero__image-overlay {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    z-index: -1;
    transform: translate(20px, 20px) scale(1.05);
    background: linear-gradient(45deg, var(--accent-primary), var(--border-color));
    opacity: 0.2;
    filter: blur(20px);
    animation: float 5s ease-in-out infinite;
}

/* Анимация "парения" для подложки */
@keyframes float {
    0% { transform: translate(20px, 20px) scale(1.05); }
    50% { transform: translate(15px, 25px) scale(1.03); }
    100% { transform: translate(20px, 20px) scale(1.05); }
}

/* Адаптация Hero секции */
@media (max-width: 992px) {
    .hero__title {
        font-size: 2.8rem;
        min-height: 120px;
    }
    .hero__subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 60px 0;
        text-align: center;
    }
    .hero__container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero__subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    .hero__visual {
        grid-row: 1; /* Картинка становится первой на мобильных */
    }
}

/* ------------------- */
/* PRACTICES SECTION   */
/* ------------------- */
.practices {
    padding: 80px 0;
    background-color: var(--bg-secondary);
}

.practices__header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.practices__title {
    font-size: 2.5rem; /* 40px */
    margin-bottom: 15px;
}

.practices__subtitle {
    font-size: 1.125rem; /* 18px */
    color: var(--text-secondary);
}

.practices__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.practices__card {
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s ease;
    overflow: hidden;

    /* For animation */
    opacity: 0;
    transform: translateY(30px);
}

.practices__card.is-visible {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.practices__card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-primary);
}

.practices__card-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-secondary);
    border-radius: 12px;
    margin-bottom: 20px;
}

.practices__card-icon .lucide {
    width: 28px;
    height: 28px;
    color: var(--accent-primary);
}

.practices__card-title {
    font-size: 1.5rem; /* 24px */
    margin-bottom: 10px;
}

.practices__card-description {
    color: var(--text-secondary);
    margin-bottom: 20px;
    flex-grow: 1; /* Pushes the visual to the bottom */
}

.practices__card-visual {
    width: 100%;
    margin-top: auto;
}

.practices__card-visual img {
    border-radius: 8px;
    opacity: 0.5;
}

/* Delay for card animation */
.practices__card:nth-child(2).is-visible {
    animation-delay: 0.2s;
}
.practices__card:nth-child(3).is-visible {
    animation-delay: 0.4s;
}

/* Add to existing responsiveness section */
@media (max-width: 992px) {
    /* ... existing styles ... */
    .practices__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    /* ... existing styles ... */
    .practices__title {
        font-size: 2.2rem;
    }
    .practices__subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    /* ... existing styles ... */
    .practices__grid {
        grid-template-columns: 1fr;
    }
}

/* ------------------- */
/* TOOLS SECTION       */
/* ------------------- */
.tools {
    padding: 80px 0;
    background-color: var(--bg-main); /* Чередуем фон */
}

.tools__header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.tools__title {
    font-size: 2.5rem; /* 40px */
    margin-bottom: 15px;
}

.tools__subtitle {
    font-size: 1.125rem; /* 18px */
    color: var(--text-secondary);
}

.tools__list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.tools__item {
    display: flex;
    align-items: center;
    gap: 25px;
    background-color: transparent;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px 25px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    
    /* For animation */
    opacity: 0;
    transform: translateX(-30px);
}

.tools__item.is-visible {
    animation: slideInLeft 0.6s ease forwards;
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.tools__item:hover {
    background-color: var(--bg-secondary);
    border-color: var(--accent-primary);
}

.tools__item-icon {
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    background-color: rgba(48, 197, 155, 0.1);
    border-radius: 10px;
}

.tools__item-icon .lucide {
    width: 24px;
    height: 24px;
}

.tools__item-content {
    flex-grow: 1;
}

.tools__item-name {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 5px;
    color: var(--text-main);
}

.tools__item-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.tools__item-tag {
    flex-shrink: 0;
    background-color: var(--bg-secondary);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    font-size: 0.8rem;
    font-weight: 500;
    padding: 5px 12px;
    border-radius: 20px;
    white-space: nowrap;
}

/* Staggered animation delays */
.tools__item:nth-child(2).is-visible { animation-delay: 0.1s; }
.tools__item:nth-child(3).is-visible { animation-delay: 0.2s; }
.tools__item:nth-child(4).is-visible { animation-delay: 0.3s; }

/* Add to existing responsiveness section */
@media (max-width: 768px) {
    /* ... existing styles ... */
    .tools__item {
        flex-wrap: wrap;
    }
    .tools__item-content {
        width: 100%;
        order: 1; /* Move content to a new line */
        margin-top: 10px;
        margin-left: 0; /* Reset margin */
    }
    .tools__item-icon {
        order: 0;
    }
    .tools__item-tag {
        order: 2;
        margin-top: 15px;
        margin-left: auto;
    }

    .tools__title {
        font-size: 2.2rem;
    }
    .tools__subtitle {
        font-size: 1rem;
    }
}

/* ------------------- */
/* IDEAS SECTION       */
/* ------------------- */
.ideas {
    padding: 80px 0;
    background-color: var(--bg-secondary);
}

.ideas__header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.ideas__title {
    font-size: 2.5rem; /* 40px */
    margin-bottom: 15px;
}

.ideas__subtitle {
    font-size: 1.125rem; /* 18px */
    color: var(--text-secondary);
}

.ideas__accordion {
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
}

.ideas__item:not(:last-child) {
    border-bottom: 1px solid var(--border-color);
}

.ideas__item-header {
    width: 100%;
    background-color: transparent;
    border: none;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    color: var(--text-main);
    transition: background-color 0.3s ease;
}

.ideas__item-header:hover {
    background-color: rgba(255, 255, 255, 0.03);
}

.ideas__item-title-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.ideas__item-title-wrapper .lucide {
    color: var(--accent-primary);
    flex-shrink: 0;
}

.ideas__item-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 500;
}

.ideas__item-chevron {
    color: var(--text-secondary);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.ideas__item-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1), 
                padding 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.ideas__item-description {
    color: var(--text-secondary);
    padding: 0 25px 0 64px; /* Отступ слева, равный иконке + отступу */
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Active state for accordion */
.ideas__item.is-active .ideas__item-chevron {
    transform: rotate(180deg);
}

.ideas__item.is-active .ideas__item-content {
    padding-bottom: 25px;
    /* max-height будет установлен через JS */
}

/* Add to existing responsiveness section */
@media (max-width: 768px) {
    /* ... existing styles ... */
    .ideas__title {
        font-size: 2.2rem;
    }
    .ideas__subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
  
    .ideas__item-title {
        font-size: 1rem;
    }
    .ideas__item-description {
        padding: 0 20px 20px 20px;
    }
}

/* ------------------- */
/* COMMUNITY SECTION   */
/* ------------------- */
.community {
    padding: 100px 0;
    background-color: var(--bg-main);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Декоративный градиент на фоне */
.community::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(48, 197, 155, 0.08), transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.community__container {
    position: relative;
    z-index: 1;
}

.community__content {
    max-width: 650px;
    margin: 0 auto 50px;
}

.community__icon-wrapper {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    margin: 0 auto 20px;
}

.community__icon-wrapper .lucide {
    width: 30px;
    height: 30px;
    color: var(--accent-primary);
}

.community__title {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.community__subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.community__cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background-color: var(--accent-primary);
    color: var(--bg-main);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 500;
    padding: 16px 32px;
    border-radius: 10px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.community__cta-button:hover {
    background-color: var(--accent-primary-hover);
    color: var(--bg-main);
    transform: scale(1.05);
}

.community__socials {
    margin-top: 50px;
}

.community__socials-label {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.community__socials-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.community__social-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background-color: var(--bg-secondary);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.community__social-link:hover {
    color: var(--text-main);
    border-color: var(--text-secondary);
    background-color: var(--bg-main);
}

.community__content, .community__socials {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.community__content.is-visible, .community__socials.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.community__socials.is-visible {
    transition-delay: 0.2s;
}

/* ------------------- */
/* CONTACT SECTION     */
/* ------------------- */
.contact {
    padding: 80px 0;
    background-color: var(--bg-secondary);
}

.contact__wrapper {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--bg-main);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.contact__header {
    text-align: center;
    margin-bottom: 40px;
}

.contact__title {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.contact__subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
}

.contact__form-group {
    margin-bottom: 20px;
}

.contact__form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.contact__form-input {
    width: 100%;
    padding: 12px 16px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-main);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact__form-input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(48, 197, 155, 0.2);
}

.contact__form-input::placeholder {
    color: #555e68;
}

.contact__form-input.is-invalid {
    border-color: #e53e3e;
}

.contact__form-group--captcha {
    max-width: 200px;
}

.contact__form-group--checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact__form-checkbox {
    appearance: none;
    width: 20px;
    height: 20px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    cursor: pointer;
    flex-shrink: 0;
    position: relative;
    transition: all 0.2s ease;
}

.contact__form-checkbox:checked {
    background-color: var(--accent-primary);
    border-color: var(--accent-primary);
}

.contact__form-checkbox:checked::after {
    content: '✔';
    color: var(--bg-main);
    font-size: 14px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.contact__form-checkbox-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    cursor: pointer;
}

.contact__form-checkbox-label a {
    color: var(--text-secondary);
    text-decoration: underline;
}
.contact__form-checkbox-label a:hover {
    color: var(--accent-primary);
}

.contact__form-error {
    color: #e53e3e;
    font-size: 0.9rem;
    margin-top: -10px;
    margin-bottom: 20px;
    min-height: 1.2em; /* резервируем место под ошибку */
}

.contact__form-button {
    width: 100%;
    padding: 14px;
    background-color: var(--accent-primary);
    border: none;
    border-radius: 8px;
    color: var(--bg-main);
    font-size: 1.1rem;
    font-family: var(--font-heading);
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.contact__form-button:hover {
    background-color: var(--accent-primary-hover);
    transform: translateY(-2px);
}

.contact__success-message {
    display: none; /* Скрыто по умолчанию */
    text-align: center;
    padding: 40px 0;
}

.contact__success-icon {
    color: var(--accent-primary);
    margin-bottom: 20px;
}

.contact__success-icon .lucide {
    width: 60px;
    height: 60px;
}

.contact__success-title {
    font-size: 2rem;
    margin-bottom: 10px;
}

.contact__success-text {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* ------------------- */
/* COOKIE POPUP        */
/* ------------------- */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 500px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px 25px;
    z-index: 2000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    
    /* Animation setup */
    opacity: 0;
    transform: translateY(20px);
    visibility: hidden;
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s;
}

.cookie-popup.is-visible {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.cookie-popup__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-popup__text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

.cookie-popup__link {
    color: var(--text-main);
    text-decoration: underline;
}

.cookie-popup__link:hover {
    color: var(--accent-primary);
}

.cookie-popup__button {
    flex-shrink: 0;
    padding: 8px 20px;
    background-color: var(--accent-primary);
    color: var(--bg-main);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.cookie-popup__button:hover {
    background-color: var(--accent-primary-hover);
}

/* ------------------- */
/* POLICY PAGES        */
/* ------------------- */
.pages {
    padding: 60px 0;
}

.pages .container {
    max-width: 800px;
}

.pages h1 {
    font-size: 2.8rem;
    margin-bottom: 30px;
}

.pages h2 {
    font-size: 2rem;
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.pages p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.pages ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.pages li {
    margin-bottom: 10px;
}

.pages strong {
    color: var(--text-main);
    font-weight: 500;
}

.pages a {
    color: var(--accent-primary);
    text-decoration: underline;
}

.pages a:hover {
    color: var(--accent-primary-hover);
    text-decoration: none;
}