/* ==========================================
   RESET
========================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;

    font-family: "Poppins", sans-serif;

    background: #E6E8E0;
    color: #262224;
}


/* ==========================================
   GENERAL
========================================== */

.signature-page {
    width: 100%;
    overflow-x: hidden;
}

.signature-section {
    position: relative;

    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
}

.signature-section__inner {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;
    padding: 60px 30px;
}


/* ==========================================
   TYPOGRAPHY
========================================== */

h1,
h2 {
    margin: 0;

    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: clamp(36px, 5vw, 72px);
}

h2 {
    font-size: clamp(32px, 4vw, 56px);
}

p {
    margin: 0;
}


/* ==========================================
   BUTTON
========================================== */

.signature-button {
    background: #262224;
    color: #E6E8E0;

    margin-left: auto;
    margin-right: auto;

    margin-top: 40px;
    margin-bottom: 100px;

    font-size: 18px;
    font-weight: 600;

    padding: 16.5px 29px;

    border-radius: 50px;

    display: inline-block;

    text-align: center;

    text-decoration: none;

    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}

.signature-button:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}


/* ==========================================
   SECTION 1
========================================== */

.signature-section--intro {
    min-height: 100vh;
    min-height: 100dvh;
}

.signature-section--intro .signature-section__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


/* ==========================================
   SECTION 2 — COPY
========================================== */

.signature-section--copy {
    min-height: 100vh;
    min-height: 100dvh;

    background: #ffffff;
}

.signature-section--copy .signature-section__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


/* ==========================================
   DESCRIPTION
========================================== */

.signature-description,
.instructions-description {
    margin-top: 20px;

    font-size: 17px;
    font-weight: 400;

    opacity: 0.75;
}


/* ==========================================
   SIGNATURE COPY WRAPPER
========================================== */

.signature-copy-wrapper {
    position: relative;
    text-align: left;
    display: inline-block;

    margin-top: 50px;

    cursor: pointer;

    outline: none;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.signature-copy-wrapper:hover {
    transform: translateY(-3px);
}

.signature-copy-wrapper:focus-visible {
    outline: 3px solid #262224;
    outline-offset: 8px;
}


/* ==========================================
   EMAIL SIGNATURE
========================================== */

.email-signature {
    width: 600px;
    max-width: 100%;

    border-collapse: collapse;

    background: #ffffff;

    text-align: left;

    box-shadow: 0 15px 50px rgba(38, 34, 36, 0.12);

    border-radius: 10px;

    overflow: hidden;
}

.email-signature td {
    vertical-align: middle;
}


/* LOGO */

.email-signature__logo {
    width: 190px;

    padding: 30px;
}

.email-signature__logo img {
    display: block;

    max-width: 150px;
    height: auto;
}


/* SEPARATOR */

.email-signature__separator {
    width: 1px;

    padding: 0;

    background: #262224;
}


/* INFO */

.email-signature__info {
    padding: 30px;

    font-size: 13px;
    line-height: 1.7;
}

.email-signature__info span,
.email-signature__info a {
    display: block;
}

.email-signature__name {
    display: block;

    margin-bottom: 2px;

    font-size: 18px;
    font-weight: 600;
}

.email-signature__position {
    margin-bottom: 10px;

    font-weight: 500;
}

.email-signature__info a {
    color: #262224;

    text-decoration: none;
}


/* ==========================================
   COPY NOTIFICATION
========================================== */

.copy-notification {
    position: absolute;

    left: 50%;

    bottom: 100px;

    transform: translate(-50%, 20px);

    padding: 10px 20px;

    background: #262224;
    color: #E6E8E0;

    border-radius: 50px;

    font-size: 14px;
    font-weight: 600;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease,
        transform 0.3s ease;
}

.copy-notification.is-visible {
    opacity: 1;
    visibility: visible;

    transform: translate(-50%, 0);
}


/* ==========================================
   SCROLL INDICATOR
========================================== */

.scroll-indicator {
    position: absolute;

    left: 50%;
    bottom: 25px;

    transform: translateX(-50%);

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 3px;

    color: #262224;

    font-size: 12px;
    font-weight: 500;

    pointer-events: none;
}

.scroll-arrow {
    display: flex;
    justify-content: center;
    align-items: center;

    margin-top: 5px;

}

.mouse-icon {
    position: relative;

    width: 24px;
    height: 38px;

    border: 2px solid #262224;
    border-radius: 14px;

    display: flex;
    justify-content: center;

    padding-top: 7px;
}

.mouse-wheel {
    width: 4px;
    height: 8px;

    background: #262224;

    border-radius: 4px;

    animation: wheelScroll 1.4s ease-in-out infinite;
}

@keyframes mouseScroll {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(5px);
    }
}

@keyframes wheelScroll {

    0% {
        opacity: 1;
        transform: translateY(0);
    }

    50% {
        opacity: 0.4;
        transform: translateY(8px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ==========================================
   SECTION 3 — INSTRUCTIONS
========================================== */

.signature-section--instructions {
    min-height: auto;

    background: #E6E8E0;
}

.signature-section--instructions .signature-section__inner {
    padding-top: 120px;
    padding-bottom: 120px;
}


/* ==========================================
   INSTRUCTION IMAGES
========================================== */

.instructions-images {
    width: 100%;
    max-width: 1000px;

    margin: 70px auto 0;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 50px;
}

.instruction-image {
    width: 100%;
}

.instruction-image img {
    display: block;

    width: 100%;
    height: auto;

    border-radius: 10px;

    box-shadow: 0 15px 50px rgba(38, 34, 36, 0.12);
}


/* ==========================================
   TABLET
========================================== */

@media (max-width: 768px) {

    .signature-section__inner {
        padding-left: 20px;
        padding-right: 20px;
    }

    .signature-button {
        margin-top: 30px;
        margin-bottom: 60px;

        font-size: 16px;

        padding: 15px 24px;
    }

    .email-signature {
        width: 100%;
    }

    .email-signature__logo {
        width: 130px;

        padding: 20px;
    }

    .email-signature__logo img {
        max-width: 100px;
    }

    .email-signature__info {
        padding: 20px;

        font-size: 12px;
    }

    .email-signature__name {
        font-size: 16px;
    }

    .copy-notification {
        bottom: 90px;
    }

    .signature-section--instructions .signature-section__inner {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .instructions-images {
        margin-top: 50px;

        gap: 30px;
    }
}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 480px) {

    h1 {
        font-size: 34px;
    }

    h2 {
        font-size: 30px;
    }

    .signature-description,
    .instructions-description {
        font-size: 15px;
    }

    .email-signature {
        box-shadow: 0 10px 30px rgba(38, 34, 36, 0.10);
    }

    .email-signature__logo {
        width: 100px;

        padding: 15px;
    }

    .email-signature__logo img {
        max-width: 80px;
    }

    .email-signature__info {
        padding: 15px;

        font-size: 10px;

        line-height: 1.5;
    }

    .email-signature__name {
        font-size: 14px;
    }

    .email-signature__position {
        margin-bottom: 6px;
    }

    .copy-notification {
        bottom: 80px;
    }

    .scroll-indicator {
        bottom: 15px;
    }
}