/* =========================
   Base
   ========================= */

:root {
    --aspect-red: #cb2020;
    --text: #262626;
    --white: #ffffff;
    --page-bg: #ffffff;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
}

a {
    color: inherit;
}

button {
    font: inherit;
}


/* =========================
   Shared header
   ========================= */

.site-header {
    position: fixed;
    z-index: 20;
    top: 0;
    right: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 72px;
    padding: 18px 36px;
    background: var(--aspect-red);
    color: var(--white);
    pointer-events: none;
}

.site-header a {
    pointer-events: auto;
}

.organization-link,
.back-link {
    color: var(--white);
    font-size: 15px;
    line-height: 1.35;
    text-decoration: none;
}

.organization-link {
    max-width: 360px;
    text-align: right;
}

.organization-link:hover,
.back-link:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.site-header--information {
    justify-content: space-between;
}


/* =========================
   Home page
   ========================= */

.home-page {
    min-height: 100vh;
    overflow: hidden;
    background: var(--white);
}

.home {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px 24px 48px;
    text-align: center;
}

.home__logo {
    display: block;
    width: min(420px, 72vw);
    height: auto;
}

.home__status {
    margin: 34px 0 0;
    color: var(--text);
    font-size: clamp(18px, 2vw, 26px);
    font-weight: 400;
}


/* =========================
   Information page
   ========================= */

.information-page {
    min-height: 100vh;
    background: var(--page-bg);
}

.information {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 125px 0 80px;
}

.information__top {
    display: grid;
    grid-template-columns: 230px 1fr;
    gap: 56px;
    align-items: center;
    margin-bottom: 46px;
}

.information__logo-link {
    display: block;
    padding: 26px 22px;
}

.information__logo {
    display: block;
    width: 100%;
    height: auto;
}

.information__title {
    margin: 0;
    font-size: clamp(34px, 5vw, 68px);
    line-height: 0.98;
    font-weight: 500;
    letter-spacing: -0.035em;
}


/* =========================
   Accordion
   ========================= */

.accordion {
    display: grid;
    gap: 12px;
}

.accordion__item {
    overflow: hidden;
    background: var(--aspect-red);
}

.accordion__button {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr 42px;
    gap: 24px;
    align-items: center;
    border: 0;
    padding: 24px 26px;
    background: transparent;
    color: var(--white);
    cursor: pointer;
    text-align: left;
    font-size: clamp(18px, 2vw, 27px);
    line-height: 1.2;
}

.accordion__button:hover {
    background: rgba(0, 0, 0, 0.07);
}

.accordion__button:focus-visible {
    outline: 3px solid var(--text);
    outline-offset: -3px;
}

.accordion__icon {
    position: relative;
    display: block;
    width: 28px;
    height: 28px;
    justify-self: end;
}

.accordion__icon::before,
.accordion__icon::after {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    content: "";
    transform: translate(-50%, -50%);
    transition: transform 180ms ease;
}

.accordion__icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.accordion__button[aria-expanded="true"] .accordion__icon::after {
    transform: translate(-50%, -50%) rotate(0deg);
}

.accordion__content {
    min-height: 42px;
    border-top: 1px solid rgba(255, 255, 255, 0.35);
    background: var(--white);
}

.accordion__content[hidden] {
    display: none;
}


/* =========================
   Responsive
   ========================= */

@media (max-width: 760px) {
    .site-header {
        min-height: 64px;
        padding: 16px 18px;
    }

    .site-header--information {
        gap: 20px;
    }

    .organization-link,
    .back-link {
        font-size: 13px;
    }

    .organization-link {
        max-width: 235px;
    }

    .information {
        width: min(100% - 28px, 1180px);
        padding-top: 104px;
    }

    .information__top {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 32px;
    }

    .information__logo-link {
        width: 170px;
    }

    .accordion__button {
        grid-template-columns: 1fr 30px;
        gap: 14px;
        padding: 20px 18px;
    }

    .accordion__icon {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 520px) {
    .site-header--information .organization-link {
        display: none;
    }

    .information__title {
        font-size: 38px;
    }
}
