:root {
    --primary-bg: #ffffff;
    --primary-text: #111827;
    --secondary-bg: #f9fafb;
    --secondary-text: #4b5563;
    --accent-bg: #000000;
    --accent-text: #ffffff;
    --border-color: #e5e7eb;
    --font-main: 'Inter', sans-serif;
    --radius: 8px;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.5;
    color: var(--primary-text);
    background-color: var(--primary-bg);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}

a,
a:hover,
a:focus {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease, color 0.3s ease;
}

a:hover,
a:focus {
    opacity: 0.8;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    padding: 0;
    font-family: inherit;
    transition: opacity 0.3s ease, transform 0.2s ease;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius);
}

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

* {
    box-sizing: border-box;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 1.875rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .break-long-words {
        overflow-wrap: break-word;
        word-wrap: break-word;
        word-break: break-all;
    }
}

:focus-visible {
    outline: 2px solid var(--accent-bg);
    outline-offset: 2px;
}

/* ===== header ===== */
.js-mobile-menu.open {
    max-height: 400px;
}

/* ===== hero_section ===== */
#hero-block {
    width: 100%;
}

#hero-block .hero-shades {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: repeating-linear-gradient(180deg, var(--primary-bg), var(--primary-bg) 20vh, var(--secondary-bg) 20vh, var(--secondary-bg) 40vh);
}

#hero-block h1 {
    text-wrap: balance;
}

/* ===== car_check_cards ===== */
#info-cards {
    scroll-margin-top: 2rem;
}

.group:hover i {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* ===== main_article ===== */
.prose h2 {
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}

.prose p {
    margin-bottom: 1.25rem;
    line-height: 1.75;
}

/* ===== blog_posts ===== */
#articles-grid .article-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-text)
}

#articles-grid .article-content p {
    margin-bottom: 1.25rem;
    line-height: 1.75;
    color: var(--secondary-text);
    font-size: 1.1rem
}

#articles-grid .article-content ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-text)
}

#articles-grid .article-content li {
    margin-bottom: 0.75rem;
    line-height: 1.6
}

/* ===== about_lyxe ===== */
#about-lyxe {
    width: 100%;
}

#about-lyxe .bx {
    display: inline-block;
}

/* ===== faq_accordion ===== */
#faq-section {
    width: 100%;
}

.js-faq-content {
    transition: max-height 0.3s ease-out;
}

/* ===== contact_form ===== */
.feedback-section {
    width: 100%;
}

/* ===== footer ===== */
#site-footer {
    width: 100%;
}

.js-insta-track {
    display: flex;
}