@font-face {
        font-family: 'RM';
        src: url('fonts/Rough\ Motion.otf') format('opentype');
        font-weight: normal;
        font-style: normal;
}

@font-face {
        font-family: 'Larsseit';
        src: url('fonts/Larsseit-Bold.otf') format('opentype');
        font-weight: bold;
        font-style: normal;
}

@font-face {
        font-family: 'Larsseit';
        src: url('fonts/Larsseit-Light.otf') format('opentype');
        font-weight: bold;
        font-style: light;
}

@font-face {
        font-family: 'Larsseit';
        src: url('fonts/Larsseit Regular.ttf') format('truetype');
        font-weight: normal;
        font-style: normal;
}

:root {
        --grey: #252C34;
        --purple: #631233;
        --orange: #F68915;
        --yellow: #FFA84C;

        --pad-x: clamp(16px, 4vw, 48px);
        --pad-y: clamp(24px, 5vw, 56px);
}

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

html {
        height: 100%;
        width: 100%;
}

body {
        height: auto;
        min-height: 100vh;
        min-height: 100dvh;
        width: 100%;
        margin: 0;
        background-color: var(--grey);
        overflow-x: hidden;
        align-items: center;
        font-family: "Larsseit";
        font-weight: bold;
}

body {
        min-height: 100vh;
        display: flex;
        flex-direction: column;
}

.hero {
        width: 100%;
        position: relative;
        background-image: url("bg.png");
        background-size: cover;
        background-position: center;
        display: flex;
        /* align-items: center; */
        justify-content: center;
        flex-direction: column;
        flex: 1;
}

.header {
        width: 100%;
        background-color: var(--purple);
        height: clamp(84px, 13vh, 110px);
        --tip: clamp(32px, 6vw, 50px);
        clip-path: polygon(0 0,
                        100% 0,
                        100% calc(100% - var(--tip)),
                        50% 100%,
                        0 calc(100% - var(--tip)));
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: "RM";
        font-size: 36px;
        color: var(--orange);
        flex-direction: column;
        position: absolute;
        top: 0;
}

.logo {
        height: clamp(60px, 7vw, 70px);
}

.header-title {
        text-transform: uppercase;
        margin-bottom: 50px;
}

.highlight {
        color: var(--yellow);
}

.hero-content {
        /* height: 100%; */
        width: 100%;
        display: flex;
        flex: 1;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        background-color: rgba(37, 44, 52, 0.5);

        padding: 0 var(--pad-x) var(--pad-y);
}

.hero-header {
        margin-top: 150px;
        font-size: clamp(36px, 6vw, 64px);
        line-height: 95%;
        font-family: "RM";
        color: white;
        text-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
        text-align: center;
}

.hero-subheader {
        margin-top: 10px;
        font-size: clamp(12px, 2.2vw, 18px);
        text-align: center;
        font-weight: light;
        color: #A3A3A3;
        line-height: 120%;
        max-width: 70ch;
}

.hero-buttons {
        display: flex;
        margin-top: 20px;
        flex-wrap: wrap;
        gap: 12px;
        justify-content: center;
}

.hero-button {
        width: 230px;
        max-width: 92vw;
        height: 44px;
        margin: 0;
        font-family: "RM";
        font-size: clamp(20px, 3.6vw, 24px);
        border-radius: 2px;
        cursor: pointer;
        box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.4);
}

.hero-button-stack {
        margin: 0;
        display: inline-flex;
        flex-direction: column;
}

.hero-button-stack .hero-button {
        margin: 0;
}

.hero-button:not(.button-disabled):hover,
.faqs-button:hover {
        filter: brightness(1.1);
}

.hero-banner {
        z-index: 1;
        width: 230px;
        max-width: 92vw;
        height: 16px;
        background: var(--yellow);
        color: #111;
        font-family: "RM";
        font-size: 11px;
        letter-spacing: 1px;
        text-transform: uppercase;
        margin-top: -4px;
        padding-top: 4px;

        display: flex;
        align-items: center;
        justify-content: center;

        box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.25);
        border-radius: 0 0 2px 2px;
}

.apply-button {
        background-color: var(--yellow);
        border: 1px solid var(--yellow);
        z-index: 2;
        cursor: not-allowed;
}

.button-disabled {
        background-color: #989796;
        color: #C2C2C2;
        border: 1px solid #989796;
}

.team-button {
        background-color: var(--purple);
        border: 1px solid var(--yellow);
        color: white;
}

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

.info {
        height: auto;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;

        padding: var(--pad-y) var(--pad-x);
        gap: 2vw;
        flex-wrap: wrap;
}

.info-box {
        display: grid;
        gap: 4px;
        margin: 0 20px;
        grid-template-columns: 44px 1fr;
        column-gap: 12px;
        width: fit-content;
}

.info-header {
        font-size: clamp(22px, 4.2vw, 30px);
        font-family: "RM";
        color: var(--yellow);
}

.info-icon {
        margin-right: 0;
        width: 44px;
        height: 44px;
}

.info-box>*:nth-child(-n + 2) {
        align-self: center;
}

.info-text {
        grid-column: 2;
        color: rgb(215, 215, 215);
        font-weight: light;
        font-size: clamp(13px, 2.6vw, 14px);
        line-height: 120%;
}

.footer {
        width: 100%;
        background-color: var(--purple);
        color: white;

        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;

        padding: 22px var(--pad-x) 18px;
        gap: 12px;

        position: relative;
}

.footer-left,
.footer-right {
        display: flex;
        align-items: center;
        gap: 10px;
        cursor: pointer;
}

.footer-left {
        justify-self: start;
}

.footer-right {
        justify-self: end;
}

.footer div img {
        padding-right: 0;
}

.faqs-button {
        justify-self: center;
        align-self: start;

        padding: 10px 35px;
        background-color: var(--purple);
        font-size: clamp(18px, 3.6vw, 24px);
        font-family: "RM";
        color: white;
        border-radius: 2px;
        cursor: pointer;
        box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.35);
        border: 1px solid rgba(255, 168, 76, 0.35);
}

@media (max-width: 850px) {
        .hero-header {
                margin-top: 120px;
        }
}

@media (max-width: 600px) {
        .footer {
                grid-template-columns: 1fr;
                justify-items: center;
                text-align: center;
                padding: 18px var(--pad-x) 20px;
        }

        .footer-left,
        .footer-right {
                justify-self: center;
        }

        .faqs-button {
                order: -1;
                margin: 0 0 6px 0;
        }
}

@media (max-width: 600px) {
        .info {
                justify-content: center;
        }

        .info-box {
                display: flex;
                flex-direction: column;
                align-items: center;
                text-align: center;
                margin: 8.5px 0;
                width: min(360px, 92vw);
                gap: 8px;
        }

        .info-text {
                grid-column: auto;
        }

        .info-icon {
                margin: 0;
                width: 52px;
                height: 52px;
        }
}

@media (min-width: 601px) {
        .faqs-button {
                transform: translateY(-40px);
                margin-bottom: -40px;
        }
}

@media (max-width: 600px) {
        .faqs-button {
                transform: none;
                margin-bottom: 0;
        }

        .btn-chevron {
                margin-bottom: -2px;
                transform: scale(0.8);
        }
}

.faq-wrap {
        width: min(980px, 100%);
        margin: 0 auto;
}

.faq-title {
        font-family: "RM";
        font-size: clamp(40px, 5vw, 64px);
        line-height: 95%;
        color: white;
        text-align: center;
        margin: 0 0 8px 0;
        text-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
}

.faq-subtitle {
        margin: 0 auto 18px auto;
        text-align: center;
        color: #A3A3A3;
        font-weight: light;
        font-size: clamp(14px, 2.2vw, 18px);
        max-width: 70ch;
        line-height: 120%;
}

.faq-accordion {
        display: flex;
        flex-direction: column;
        gap: 12px;
}

.faq-item {
        background: rgba(99, 18, 51, 0.55);
        border: 1px solid rgba(255, 168, 76, 0.35);
        border-radius: 6px;
        box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.35);
        overflow: hidden;
}

.faq-q {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;

        background: rgba(99, 18, 51, 0.55);
        border: 0;
        color: white;
        cursor: pointer;

        padding: 14px 16px;
        text-align: left;
}

.faq-q:focus-visible {
        outline: 2px solid var(--yellow);
        outline-offset: 2px;
}

.faq-q-text {
        font-family: "RM";
        font-size: clamp(18px, 3vw, 26px);
        letter-spacing: 0.2px;
}

.faq-chevron {
        font-size: 18px;
        line-height: 1;
        color: var(--yellow);
        transform: rotate(0deg);
        transition: transform 180ms ease;
}

.faq-item.is-open .faq-chevron {
        transform: rotate(180deg);
}

.faq-a {
        height: 0;
        overflow: hidden;
        transition: height 220ms ease;
        background: rgba(37, 44, 52, 0.6);
        border-top: 1px solid rgba(255, 168, 76, 0.25);
}

.faq-a-inner {
        padding: 14px 16px 16px 16px;
        color: rgb(215, 215, 215);
        font-weight: light;
        font-size: clamp(13px, 2.4vw, 15px);
        line-height: 130%;
}

/* Mobile spacing tweak */
@media (max-width: 600px) {
        .faq-q {
                padding: 12px 14px;
        }

        .faq-a-inner {
                padding: 12px 14px 14px;
        }
}