:root {
    color-scheme: light;
    --ink: #081b14;
    --ink-soft: #53615a;
    --paper: #f3f7f4;
    --paper-bright: #ffffff;
    --italy-green: #009246;
    --italy-green-dark: #006b35;
    --italy-red: #ce2b37;
    --italy-red-dark: #a51f2b;
    --line: rgba(8, 27, 20, 0.12);
    --shadow: 0 32px 90px rgba(3, 52, 32, 0.22);
}

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

html {
    min-width: 320px;
    background: var(--paper);
}

body {
    min-height: 100vh;
    min-height: 100svh;
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at 7% 4%, rgba(0, 146, 70, 0.2), transparent 29rem),
        radial-gradient(circle at 94% 92%, rgba(206, 43, 55, 0.18), transparent 31rem),
        linear-gradient(135deg, #f1f8f4 0%, #f5f7f5 52%, #fff3f4 100%);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a {
    color: inherit;
}

.closure-page {
    width: min(100% - 40px, 1180px);
    margin-inline: auto;
    padding: clamp(28px, 5vw, 68px) 0 28px;
}

.closure-card {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1.34fr) minmax(340px, 0.76fr);
    min-height: 690px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 36px;
    background: linear-gradient(138deg, #041d13 0%, #0b2018 48%, #260d12 100%);
    box-shadow: var(--shadow);
}

.closure-card::before {
    position: absolute;
    z-index: -1;
    top: -260px;
    left: -190px;
    width: 620px;
    height: 620px;
    border: 130px solid rgba(0, 146, 70, 0.5);
    border-radius: 50%;
    content: "";
}

.closure-card::after {
    position: absolute;
    z-index: -1;
    right: 28%;
    bottom: -175px;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: rgba(206, 43, 55, 0.2);
    content: "";
}

.closure-card__glow {
    position: absolute;
    z-index: -1;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(0, 146, 70, 0.08), transparent 35%, rgba(255, 255, 255, 0.04) 51%, transparent 67%, rgba(206, 43, 55, 0.1)),
        radial-gradient(circle at 47% 14%, rgba(206, 43, 55, 0.15), transparent 22rem);
    pointer-events: none;
}

.farewell {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: clamp(40px, 6vw, 76px);
    color: #ffffff;
}

.brand {
    display: inline-flex;
    align-items: center;
    filter: drop-shadow(0 9px 22px rgba(0, 0, 0, 0.28));
}

.brand img {
    display: block;
    width: auto;
    height: 52px;
    object-fit: contain;
}

.date-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: clamp(52px, 8vh, 80px) 0 22px;
    color: #ffe0e3;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    line-height: 1.2;
    text-transform: uppercase;
}

.date-badge span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--italy-red);
    box-shadow: 0 0 0 6px rgba(206, 43, 55, 0.2);
}

.farewell h1 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(4.1rem, 8.2vw, 7.5rem);
    font-weight: 850;
    letter-spacing: -0.075em;
    line-height: 0.82;
}

.farewell__copy {
    width: min(100%, 610px);
    margin-top: clamp(34px, 5vh, 52px);
    color: rgba(255, 255, 255, 0.72);
    font-size: clamp(1rem, 1.45vw, 1.12rem);
    line-height: 1.7;
}

.farewell__copy p {
    margin: 0 0 15px;
}

.farewell__lead {
    color: #ffffff;
    font-size: clamp(1.25rem, 2vw, 1.55rem);
    font-weight: 750;
    letter-spacing: -0.025em;
    line-height: 1.35;
}

.farewell__thanks {
    color: #ffffff;
    font-weight: 700;
}

.global-guide {
    position: relative;
    align-self: center;
    overflow: hidden;
    margin: 30px 30px 30px 0;
    padding: clamp(30px, 4vw, 48px);
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 28px;
    background: rgba(249, 252, 250, 0.98);
    box-shadow: 0 24px 52px rgba(0, 0, 0, 0.23);
    backdrop-filter: blur(16px);
}

.global-guide::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--italy-green) 0 33.333%, #ffffff 33.333% 66.666%, var(--italy-red) 66.666% 100%);
    content: "";
}

.global-guide__eyebrow {
    margin: 0 0 10px;
    color: var(--italy-green-dark);
    font-size: 0.75rem;
    font-weight: 850;
    letter-spacing: 0.13em;
    line-height: 1.2;
    text-transform: uppercase;
}

.global-guide h2 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(1.9rem, 3vw, 2.7rem);
    font-weight: 820;
    letter-spacing: -0.055em;
    line-height: 1.02;
}

.global-guide__intro {
    margin: 14px 0 24px;
    color: var(--ink-soft);
    font-size: 1rem;
    line-height: 1.55;
}

.country-list {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.country-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 54px;
    padding: 13px 16px 13px 18px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--paper-bright);
    color: var(--ink);
    font-size: 0.98rem;
    font-weight: 760;
    line-height: 1.25;
    text-decoration: none;
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease;
}

.country-list__arrow {
    display: grid;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    place-items: center;
    border-radius: 50%;
    background: rgba(0, 146, 70, 0.1);
    color: var(--italy-green-dark);
    font-size: 1rem;
    transition: background-color 160ms ease, color 160ms ease;
}

.country-list a:hover {
    transform: translateY(-2px);
    border-color: rgba(206, 43, 55, 0.46);
    color: var(--italy-red-dark);
    box-shadow: 0 10px 22px rgba(43, 18, 21, 0.09);
}

.country-list a:hover .country-list__arrow {
    background: var(--italy-red);
    color: #ffffff;
}

.brand:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 6px;
}

.country-list a:focus-visible {
    outline: 3px solid var(--italy-green);
    outline-offset: 4px;
}

.global-guide__note {
    margin: 22px 0 0;
    color: #657169;
    font-size: 0.82rem;
    line-height: 1.5;
}

.closure-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 10px 0;
    color: #58665e;
    font-size: 0.82rem;
    line-height: 1.5;
}

.closure-footer p {
    margin: 0;
}

@media (max-width: 900px) {
    .closure-card {
        grid-template-columns: 1fr;
    }

    .farewell {
        padding-bottom: 46px;
    }

    .global-guide {
        width: auto;
        margin: 0 24px 24px;
    }

    .closure-card::after {
        right: -100px;
        bottom: 260px;
    }
}

@media (max-width: 560px) {
    .closure-page {
        width: min(100% - 22px, 1180px);
        padding-top: 11px;
    }

    .closure-card {
        border-radius: 25px;
    }

    .closure-card::before {
        top: -230px;
        left: -270px;
    }

    .farewell {
        padding: 28px 24px 38px;
    }

    .brand img {
        height: 43px;
    }

    .date-badge {
        margin-top: 46px;
        font-size: 0.67rem;
        letter-spacing: 0.08em;
    }

    .farewell h1 {
        font-size: clamp(3.75rem, 20vw, 5.5rem);
    }

    .farewell__copy {
        margin-top: 32px;
        font-size: 0.98rem;
        line-height: 1.63;
    }

    .global-guide {
        margin: 0 12px 12px;
        padding: 28px 22px;
        border-radius: 20px;
    }

    .global-guide h2 {
        font-size: 2rem;
    }

    .closure-footer {
        flex-direction: column;
        gap: 3px;
        padding-top: 18px;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
