:root {
    --page-width: 1180px;

    --ink: #17231d;
    --muted: #718078;
    --soft: #f4f7f5;
    --line: #e2e9e5;
    --green: #356b51;
    --red: #d64545;
    --red-light: #fdf0f0;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    background: var(--white);
    color: var(--ink);

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;

    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}


/* =========================
   HEADER
========================= */

.gp-header {
    height: 76px;

    background: var(--white);
    border-bottom: 1px solid var(--line);
}

.gp-header-inner {
    width: min(var(--page-width), calc(100% - 48px));
    max-width: var(--page-width);

    height: 100%;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* LOGO */

.gp-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    color: var(--ink);

    font-size: 17px;
    font-weight: 750;
    letter-spacing: -0.35px;
}

.gp-logo-mark {
    width: 29px;
    height: 29px;

    position: relative;

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

.gp-logo-mark i {
    position: absolute;

    display: block;

    border: 2px solid var(--red);
    border-radius: 50%;
}

.gp-logo-mark i:nth-child(1) {
    width: 8px;
    height: 8px;

    background: var(--red);
}

.gp-logo-mark i:nth-child(2) {
    width: 17px;
    height: 17px;
}

.gp-logo-mark i:nth-child(3) {
    width: 27px;
    height: 27px;
}


/* NAV */

.gp-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.gp-nav a {
    color: var(--muted);

    font-size: 14px;
    font-weight: 600;

    transition: color 0.2s ease;
}

.gp-nav a:hover {
    color: var(--ink);
}


/* =========================
   MAIN
========================= */

main {
    min-height: 700px;

    padding-bottom: 90px;
}

.gp-container {
    width: min(var(--page-width), calc(100% - 48px));
    max-width: var(--page-width);

    margin: 0 auto;
}


/* =========================
   BREADCRUMB
========================= */

.gp-breadcrumb {
    display: flex;
    align-items: center;
    gap: 9px;

    padding: 27px 0 25px;

    color: var(--muted);

    font-size: 13px;
}

.gp-breadcrumb a {
    transition: color 0.2s ease;
}

.gp-breadcrumb a:hover {
    color: var(--red);
}


/* =========================
   ARTICLE
========================= */

.gp-article {
    width: 100%;
}


/* HEADER */

.gp-article-header {
    padding: 48px 0 42px;
}

.gp-label {
    display: inline-flex;

    margin-bottom: 20px;

    color: var(--red);

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.gp-article-header h1 {
    margin: 0;

    color: var(--ink);

    font-size: clamp(36px, 5vw, 54px);
    line-height: 1.08;

    font-weight: 800;
    letter-spacing: -2px;
}

.gp-summary {
    max-width: 800px;

    margin: 22px 0 0;

    color: var(--muted);

    font-size: 18px;
    line-height: 1.7;
}

.gp-meta {
    margin-top: 25px;

    color: var(--muted);

    font-size: 12px;
    font-weight: 600;
}


/* =========================
   DIVIDER
========================= */

.gp-divider {
    width: 100%;
    height: 1px;

    background: var(--line);
}


/* =========================
   CONTENT
========================= */

.gp-content {
    max-width: 950px;

    padding: 48px 0 55px;

    color: #29352f;

    font-size: 17px;
    line-height: 1.85;
}

.gp-content h2 {
    margin: 48px 0 18px;

    color: var(--ink);

    font-size: 27px;
    line-height: 1.3;

    font-weight: 800;
    letter-spacing: -0.6px;
}

.gp-content h2:first-child {
    margin-top: 0;
}

.gp-content p {
    margin: 0 0 22px;
}

.gp-content strong {
    color: var(--ink);
    font-weight: 750;
}

.gp-content a {
    color: var(--red);

    font-weight: 650;

    text-decoration: underline;
    text-decoration-color: rgba(214, 69, 69, 0.3);
    text-underline-offset: 3px;

    transition: text-decoration-color 0.2s ease;
}

.gp-content a:hover {
    text-decoration-color: var(--red);
}


/* =========================
   BOTTOM
========================= */

.gp-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 25px 0;

    border-top: 1px solid var(--line);
}

.gp-back,
.gp-contact {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    font-size: 13px;
    font-weight: 700;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.gp-back {
    color: var(--muted);
}

.gp-back:hover {
    color: var(--ink);
}

.gp-contact {
    color: var(--red);
}

.gp-contact:hover {
    transform: translateX(3px);
}

.gp-contact span {
    font-size: 17px;
}


/* =========================
   FOOTER
========================= */

.gp-footer {
    margin-top: 20px;

    background: var(--soft);

    border-top: 1px solid var(--line);
}

.gp-footer-inner {
    width: min(var(--page-width), calc(100% - 48px));
    max-width: var(--page-width);

    margin: 0 auto;
    padding: 45px 0;

    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 60px;
}

.gp-footer-brand {
    max-width: 360px;
}

.gp-footer-brand .gp-logo {
    margin-bottom: 14px;
}

.gp-footer-brand p {
    margin: 0;

    color: var(--muted);

    font-size: 13px;
    line-height: 1.7;
}

.gp-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;

    gap: 10px 25px;

    max-width: 500px;
}

.gp-footer-links a {
    color: var(--muted);

    font-size: 13px;
    font-weight: 600;

    transition: color 0.2s ease;
}

.gp-footer-links a:hover {
    color: var(--red);
}

.gp-footer-bottom {
    width: min(var(--page-width), calc(100% - 48px));
    max-width: var(--page-width);

    margin: 0 auto;
    padding: 18px 0;

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

    gap: 20px;

    border-top: 1px solid var(--line);

    color: var(--muted);

    font-size: 11px;
}


/* =========================
   TABLET
========================= */

@media (max-width: 900px) {

    .gp-content {
        max-width: 100%;
    }

    .gp-footer-inner {
        gap: 35px;
    }
}


/* =========================
   MOBILE
========================= */

@media (max-width: 700px) {

    .gp-header {
        height: auto;
    }

    .gp-header-inner {
        min-height: 70px;

        padding-top: 16px;
        padding-bottom: 16px;

        align-items: flex-start;

        gap: 18px;
    }

    .gp-nav {
        gap: 15px;
    }

    .gp-nav a {
        font-size: 12px;
    }

    .gp-nav a:nth-child(1),
    .gp-nav a:nth-child(3) {
        display: none;
    }


    main {
        padding-bottom: 60px;
    }


    .gp-breadcrumb {
        padding-top: 20px;
        padding-bottom: 15px;

        font-size: 11px;
    }


    .gp-article-header {
        padding: 35px 0 32px;
    }

    .gp-article-header h1 {
        font-size: 36px;
        letter-spacing: -1.5px;
    }

    .gp-summary {
        font-size: 16px;
    }


    .gp-content {
        padding-top: 35px;

        font-size: 16px;
        line-height: 1.8;
    }

    .gp-content h2 {
        margin-top: 40px;

        font-size: 24px;
    }


    .gp-bottom {
        align-items: flex-start;

        flex-direction: column;

        gap: 18px;
    }


    .gp-footer-inner {
        padding-top: 35px;
        padding-bottom: 35px;

        flex-direction: column;

        gap: 30px;
    }

    .gp-footer-links {
        justify-content: flex-start;
    }

    .gp-footer-bottom {
        padding-top: 16px;
        padding-bottom: 16px;

        align-items: flex-start;

        flex-direction: column;

        gap: 7px;
    }
}


/* =========================
   SMALL MOBILE
========================= */

@media (max-width: 430px) {

    .gp-logo {
        font-size: 15px;
    }

    .gp-logo-mark {
        width: 25px;
        height: 25px;
    }

    .gp-logo-mark i:nth-child(3) {
        width: 24px;
        height: 24px;
    }

    .gp-nav {
        gap: 11px;
    }

    .gp-nav a {
        font-size: 11px;
    }

    .gp-article-header h1 {
        font-size: 32px;
    }
}