:root {
    --background: #faf8f5;
    --text: #373536;
    --burgundy: #74484d;
    --accent: #a8585d;

    --lavender: #eee7ec;
    --mauve: #e4d4dc;
    --rose: #e3c5c5;
    --sand: #ead9cf;

    --line: #b66c70;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--background);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}


/* Header */

.site-header {
    width: min(860px, calc(100% - 50px));
    margin: 0 auto;
    padding: 24px 0 18px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.site-name {
    color: var(--burgundy);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.45rem;
    line-height: 1.1;
    text-decoration: none;
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: 38px;
}

.main-navigation a {
    padding: 6px 0;
    color: var(--text);
    font-size: 1rem;
    text-decoration: none;
}

.main-navigation a:hover,
.main-navigation a.current {
    color: var(--burgundy);
}

.main-navigation a.current {
    border-bottom: 2px solid var(--accent);
}




/* Main page */

.home-page {
    width: min(860px, calc(100% - 80px));
    margin: 0 auto;
    padding: 48px 0 60px;
}
.question {
    padding: 1.5rem 0;
    border-bottom: 1px solid #d8d2cc;
}

.question:last-child {
    border-bottom: none;
}

.question h2 {
    margin: 0 0 0.5rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.5rem;
    font-weight: normal;
    color: var(--burgundy);
}

.question p {
    margin: 0;
    line-height: 1.7;
}


/* Opening */

.opening h1 {
    max-width: 700px;
    margin: 0;

    color: var(--text);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.2rem;
    font-weight: normal;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.title-mark {
    width: 52px;
    height: 2px;
    margin: 18px 0 24px;
    background: var(--accent);
}

.opening-words {
    max-width: 620px;
    padding-left: 24px;
    border-left: 1px solid var(--accent);
}

.opening-words p {
    margin: 0 0 12px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    line-height: 1.5;
}

.opening-words p:last-child {
    margin-bottom: 0;
}


/* Middle divider */

.section-divider {
    margin: 34px 0 28px;
}


/* Questions */

.questions h2 {
    margin: 0 0 18px;

    color: var(--burgundy);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.questions nav {
    display: grid;
    gap: 7px;
}

.question {
    min-height: 58px;
    padding: 12px 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    border-left: 3px solid var(--burgundy);

    color: var(--burgundy);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.25;
    text-decoration: none;

    transition:
        transform 160ms ease,
        filter 160ms ease;
}

.question-one {
    background: var(--lavender);
}

.question-two {
    background: var(--mauve);
}

.question-three {
    background: var(--rose);
}

.question-four {
    background: var(--sand);
}

.question:hover {
    filter: brightness(0.98);
    transform: translateX(4px);
}

.arrow {
    flex: 0 0 auto;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.35rem;
    font-weight: 300;
}


/* Mobile */

@media (max-width: 720px) {

    .site-header {
        width: calc(100% - 36px);
        padding: 18px 0 14px;
    }

    .site-name {
        max-width: 210px;
        font-size: 1.2rem;
        line-height: 1.2;
    }

    .site-header {
    display: block;
}

.site-name {
    display: block;
    max-width: none;
    margin-bottom: 14px;
}

.main-navigation {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
}

.main-navigation a {
    font-size: 0.88rem;
}


    

    .home-page {
        width: calc(100% - 36px);
        padding: 28px 0 40px;
    }

    .opening h1 {
    font-size: 2rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

    .title-mark {
        width: 54px;
        height: 2px;
        margin: 18px 0 24px;
    }

    .opening-words {
        padding-left: 18px;
    }

    .opening-words p {
        margin-bottom: 10px;
        font-size: 1.08rem;
        line-height: 1.4;
    }

    .section-divider {
        height: 14px;
        margin: 28px 0 22px;
    }

    .questions h2 {
        margin-bottom: 14px;
        font-size: 0.72rem;
        line-height: 1.5;
        letter-spacing: 0.14em;
    }

    .questions nav {
        gap: 6px;
    }

    .question {
        min-height: 52px;
        padding: 11px 14px;
        border-left-width: 3px;
        gap: 12px;
        font-size: 1rem;
        line-height: 1.25;
    }

    .arrow {
        font-size: 1.2rem;
    }
}
.site-header {
    position: relative;
    width: min(860px, calc(100% - 80px));
    margin: 0 auto;
    padding: 24px 0;
}

.site-name {
    color: var(--burgundy);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.8rem;
    font-weight: normal;
    line-height: 1.1;
    text-decoration: none;
}

.menu-toggle {
    position: absolute;
    top: 22px;
    right: 28px;
    width: 28px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    height: 1px;
    margin: 6px 0;
    background: var(--text);
}

.site-menu {
    position: absolute;
    top: 58px;
    right: 28px;
    display: none;
    min-width: 150px;
    padding: 12px 18px;
    background: var(--background);
    border: 1px solid #ddd4d1;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    z-index: 1000;
}

.site-menu.open {
    display: block;
}

.site-menu a {
    display: block;
    padding: 7px 0;
    color: var(--text);
    text-decoration: none;
    font-size: 0.95rem;
}

.site-menu a:hover {
    text-decoration: underline;
}