@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url('/assets/fonts/manrope-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url('/assets/fonts/manrope-cyrillic.woff2') format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: 'Unbounded';
    font-style: normal;
    font-weight: 600 700;
    font-display: swap;
    src: url('/assets/fonts/unbounded-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Unbounded';
    font-style: normal;
    font-weight: 600 700;
    font-display: swap;
    src: url('/assets/fonts/unbounded-cyrillic.woff2') format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

:root {
    --ink: #f7f5ef;
    --muted: #abaec1;
    --night: #0b0b13;
    --panel: rgba(23, 23, 35, .76);
    --line: rgba(255, 255, 255, .11);
    --violet: #9d7cff;
    --violet-bright: #bc9dff;
    --peach: #ff9978;
    --mint: #7cf4cf;
    --shadow: 0 32px 90px rgba(0, 0, 0, .45);
    --section-space: 64px;
}

* { box-sizing: border-box; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

html { scroll-behavior: smooth; }

body {
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    color: var(--ink);
    background:
        radial-gradient(circle at 50% -20%, rgba(119, 77, 202, .18), transparent 42%),
        var(--night);
    font: 500 16px/1.6 'Manrope', sans-serif;
}

body::before {
    position: fixed;
    inset: 0;
    z-index: -2;
    content: '';
    opacity: .23;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.16'/%3E%3C/svg%3E");
    pointer-events: none;
}

.ambient {
    position: fixed;
    z-index: -1;
    width: 34rem;
    height: 34rem;
    border-radius: 50%;
    filter: blur(110px);
    opacity: .13;
    pointer-events: none;
}

.ambient-one { top: 20%; left: -15rem; background: var(--violet); }
.ambient-two { right: -17rem; bottom: 8%; background: var(--peach); }

.site-header {
    position: relative;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 28px 0;
}

.brand {
    display: inline-flex;
    gap: 12px;
    align-items: center;
    color: var(--ink);
    font: 700 14px/1 'Unbounded', sans-serif;
    letter-spacing: .08em;
    text-decoration: none;
}

.brand-mark {
    display: grid;
    width: 40px;
    height: 44px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: linear-gradient(145deg, rgba(157, 124, 255, .3), rgba(255, 153, 120, .12));
    box-shadow: inset 0 1px rgba(255, 255, 255, .12);
}

.brand-mark svg { width: 27px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 2; }
.site-logo { display: block; width: auto; max-width: 220px; height: 44px; object-fit: contain; object-position: left center; }

.header-actions { position: relative; z-index: 2; display: flex; flex: 0 0 auto; align-items: center; margin-left: auto; }
.language-switcher {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 3px;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, .025);
}
.language-switcher a {
    display: grid;
    min-width: 40px;
    height: 40px;
    padding: 0 8px;
    place-items: center;
    border-radius: 999px;
    color: var(--muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .04em;
    text-decoration: none;
    cursor: pointer;
    touch-action: manipulation;
    user-select: none;
    -webkit-tap-highlight-color: rgba(157, 124, 255, .25);
    -webkit-touch-callout: none;
}
.language-switcher a.active { color: #fff; background: rgba(157, 124, 255, .22); }
.language-switcher a.is-pressing { background: rgba(157, 124, 255, .34); transform: scale(.96); }
.language-switcher.is-touching a.active:not(.is-pressing) { color: var(--muted); background: transparent; }
.language-switcher a:focus-visible { outline: 2px solid var(--violet-bright); outline-offset: 2px; }
.language-switcher img { display: block; width: 24px; height: 18px; border-radius: 2px; object-fit: cover; box-shadow: 0 0 0 1px rgba(255, 255, 255, .16); pointer-events: none; }

main { width: min(1060px, calc(100% - 48px)); margin: 0 auto; }

.hero {
    display: grid;
    justify-items: center;
    padding: 44px 0 var(--section-space);
    text-align: center;
}

.eyebrow {
    margin-bottom: 17px;
    color: var(--violet-bright);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .2em;
    text-transform: uppercase;
}

h1, h2, p { margin-top: 0; }

h1 {
    max-width: 900px;
    margin-bottom: 24px;
    font: 700 clamp(20px, 3.5vw, 37px)/1.12 'Unbounded', sans-serif;
    letter-spacing: -.055em;
    text-wrap: balance;
    background: linear-gradient(120deg, #fff 20%, #c7b6ff 57%, #ffd0bf 93%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    overflow-wrap: anywhere;
}

.hero-copy {
    max-width: 670px;
    margin-bottom: 48px;
    color: var(--muted);
    font-size: clamp(16px, 2vw, 19px);
    text-wrap: balance;
}

.hero-visual {
    width: min(100%, 900px);
    margin: -17px 0 32px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 255, 255, .03);
    box-shadow: var(--shadow);
}

.hero-visual img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.apology-card {
    position: relative;
    width: min(100%, 640px);
    padding: 10px 34px 34px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 25px;
    background: var(--panel);
    box-shadow: var(--shadow), inset 0 1px rgba(255, 255, 255, .08);
    text-align: left;
    backdrop-filter: blur(24px);
}

.apology-card::before {
    position: absolute;
    top: -130px;
    right: -100px;
    width: 280px;
    height: 240px;
    border-radius: 50%;
    background: rgba(157, 124, 255, .17);
    filter: blur(60px);
    content: '';
}

.card-topline {
    position: relative;
    display: flex;
    justify-content: space-between;
    margin: 0 -34px 29px;
    padding: 16px 34px;
    border-bottom: 1px solid var(--line);
    color: #d7d7e3;
    font-size: 12px;
}

.secure-label { color: #85889a; }

.field { position: relative; display: grid; gap: 9px; margin-bottom: 19px; }
.field > span:first-child { color: #c8c8d4; font-size: 12px; font-weight: 700; }

input, select {
    width: 100%;
    height: 55px;
    padding: 0 17px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 13px;
    outline: none;
    color: var(--ink);
    background: rgba(4, 4, 10, .45);
    font: 600 15px 'Manrope', sans-serif;
    transition: border-color .2s, box-shadow .2s, background .2s;
}

input::placeholder { color: #6e7080; }
input:focus, select:focus {
    border-color: rgba(157, 124, 255, .72);
    background: rgba(4, 4, 10, .65);
    box-shadow: 0 0 0 4px rgba(157, 124, 255, .1);
}

.select-wrap { position: relative; }
.select-wrap::after {
    position: absolute;
    top: 50%;
    right: 18px;
    width: 8px;
    height: 8px;
    border-right: 2px solid #9091a1;
    border-bottom: 2px solid #9091a1;
    content: '';
    pointer-events: none;
    transform: translateY(-70%) rotate(45deg);
}

select { appearance: none; cursor: pointer; }
select option { color: #161620; background: #fff; }

.ai-select { display: block; position: relative; }
.ai-select::after { display: none; }

.brand-native-select {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    border: 0;
    opacity: 0;
    pointer-events: none;
    clip: rect(0 0 0 0);
}

.ai-select-trigger {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) 14px;
    gap: 12px;
    align-items: center;
    width: 100%;
    min-height: 58px;
    padding: 8px 17px 8px 10px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 13px;
    outline: none;
    color: var(--ink);
    background: rgba(4, 4, 10, .45);
    cursor: pointer;
    font: 600 15px 'Manrope', sans-serif;
    text-align: left;
    transition: border-color .2s, box-shadow .2s, background .2s;
}

.ai-select-trigger:hover { background: rgba(10, 10, 18, .72); }
.ai-select-trigger:focus-visible,
.ai-select.is-open .ai-select-trigger {
    border-color: rgba(157, 124, 255, .72);
    background: rgba(4, 4, 10, .65);
    box-shadow: 0 0 0 4px rgba(157, 124, 255, .1);
}

.ai-selected-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.ai-option-icon {
    display: grid;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .18);
}

.ai-option-icon img { display: block; width: 26px; height: 26px; object-fit: contain; }

.ai-select-chevron {
    width: 9px;
    height: 9px;
    border-right: 2px solid #999aaa;
    border-bottom: 2px solid #999aaa;
    transform: translateY(-2px) rotate(45deg);
    transition: transform .2s;
}

.ai-select.is-open .ai-select-chevron { transform: translateY(2px) rotate(225deg); }

.ai-select-menu {
    position: absolute;
    z-index: 1000;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: grid;
    max-height: 340px;
    padding: 7px;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 15px;
    background: rgba(17, 17, 27, .98);
    box-shadow: 0 22px 55px rgba(0, 0, 0, .55);
    backdrop-filter: blur(20px);
}

.ai-select-menu[hidden] { display: none; }

.ai-select-option {
    position: relative;
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) 24px;
    gap: 12px;
    align-items: center;
    min-height: 52px;
    padding: 7px 10px;
    border: 0;
    border-radius: 10px;
    color: #ededf5;
    background: transparent;
    cursor: pointer;
    font: 650 14px 'Manrope', sans-serif;
    text-align: left;
}

.ai-select-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    border: 0;
    opacity: 0;
    clip: rect(0 0 0 0);
}

.ai-select-option:hover,
.ai-select-option:focus-within { outline: none; background: rgba(157, 124, 255, .12); }
.ai-select-option.is-selected { color: #fff; background: rgba(157, 124, 255, .19); }
.ai-option-check {
    display: grid;
    width: 22px;
    height: 22px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 6px;
    color: transparent;
    background: rgba(255, 255, 255, .03);
    font-size: 13px;
    font-weight: 900;
    transition: border-color .16s, color .16s, background .16s;
}

.ai-select-option.is-selected .ai-option-check {
    border-color: #bda5ff;
    color: #17131e;
    background: #bda5ff;
}

.ai-select-actions {
    position: sticky;
    bottom: -7px;
    padding: 8px 3px 3px;
    background: linear-gradient(180deg, rgba(17, 17, 27, 0), #11111b 28%);
}

.ai-select-done {
    width: 100%;
    min-height: 42px;
    border: 0;
    border-radius: 9px;
    color: #17131e;
    background: linear-gradient(110deg, #bda5ff, #ffae91);
    cursor: pointer;
    font: 800 13px 'Manrope', sans-serif;
}

.primary-button, .secondary-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border: 0;
    border-radius: 13px;
    cursor: pointer;
    font: 800 14px 'Manrope', sans-serif;
    transition: transform .2s, box-shadow .2s, opacity .2s;
}

.primary-button {
    gap: 10px;
    height: 57px;
    margin-top: 26px;
    color: #111018;
    background: linear-gradient(110deg, #bda5ff, #ffae91);
    box-shadow: 0 12px 35px rgba(157, 124, 255, .2);
}

.primary-button svg { width: 19px; fill: none; stroke: currentColor; stroke-linejoin: round; stroke-width: 1.8; }
.primary-button:hover, .secondary-button:hover { transform: translateY(-2px); box-shadow: 0 17px 40px rgba(157, 124, 255, .25); }
.primary-button:disabled { cursor: wait; opacity: .6; transform: none; }

.form-error { min-height: 20px; margin: 12px 0 -10px; color: #ff9b9b; font-size: 12px; text-align: center; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.countries { padding: var(--section-space) 0; border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 38px; }
.section-heading .eyebrow { margin-bottom: 8px; }
.section-heading h2 { margin-bottom: 0; font: 700 clamp(30px, 4vw, 45px)/1.1 'Unbounded', sans-serif; letter-spacing: -.04em; }
.section-heading p { max-width: 390px; margin-bottom: 4px; color: var(--muted); font-size: 14px; }

.country-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.country-row {
    display: grid;
    grid-template-columns: 34px 42px 1fr auto;
    align-items: center;
    min-height: 70px;
    padding: 0 20px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 16px;
    background: rgba(255, 255, 255, .025);
    transition: border-color .2s, background .2s;
}

.country-row:hover { border-color: rgba(157, 124, 255, .25); background: rgba(157, 124, 255, .045); }
.rank { color: #686a78; font-size: 12px; font-weight: 800; }
.flag { font-size: 25px; }
.country-name { color: #dddde5; font-size: 14px; font-weight: 700; }
.country-count { padding: 5px 9px; border-radius: 8px; color: var(--violet-bright); background: rgba(157, 124, 255, .09); font-size: 12px; font-weight: 800; }

.empty-state {
    display: grid;
    min-height: 190px;
    place-items: center;
    align-content: center;
    gap: 8px;
    border: 1px dashed rgba(255, 255, 255, .13);
    border-radius: 20px;
    color: var(--muted);
    text-align: center;
}

.empty-state span { font-size: 38px; filter: grayscale(.25); }
.empty-state p { margin: 0; }

.forgiven { padding: 0 0 var(--section-space); }
.forgiven-heading { padding-top: var(--section-space); border-top: 1px solid var(--line); }
.forgiven-list {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 20px;
    background: rgba(255, 255, 255, .018);
    box-shadow: 0 20px 60px rgba(0, 0, 0, .16);
}

.forgiven-table { display: block; width: 100%; border-collapse: collapse; }
.forgiven-table thead,
.forgiven-table tbody { display: block; width: 100%; }

.forgiven-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    align-items: center;
    min-height: 72px;
    padding: 10px 22px;
    border-top: 1px solid rgba(255, 255, 255, .07);
    color: #dcdce6;
    font-size: 14px;
    transition: background .2s;
}

.forgiven-row > th,
.forgiven-row > td { min-width: 0; padding: 0; border: 0; text-align: left; }

.forgiven-table-head {
    min-height: 48px;
    border-top: 0;
    color: #737584;
    background: rgba(255, 255, 255, .02);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.forgiven-person,
.forgiven-brand { display: flex; gap: 12px; align-items: center; min-width: 0; }
.forgiven-person strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.forgiven-avatar {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    place-items: center;
    border: 1px solid rgba(189, 165, 255, .22);
    border-radius: 50%;
    color: var(--violet-bright);
    background: rgba(157, 124, 255, .1);
    font-size: 13px;
    font-weight: 800;
}

.forgiven-brand-icon {
    display: grid;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    place-items: center;
    border-radius: 10px;
    background: #fff;
}

.forgiven-brand-icon img { display: block; width: 25px; height: 25px; object-fit: contain; }
.forgiven-public-id {
    position: relative;
    z-index: 2;
    display: inline-flex;
    min-height: 44px;
    margin: -10px -4px;
    padding: 0 4px;
    align-items: center;
    color: #bfa9ff;
    font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
    font-size: 12px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    letter-spacing: .02em;
    text-decoration: none;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(157, 124, 255, .25);
}
.forgiven-public-id.is-pressing { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.forgiven-row time { color: #888a99; font-variant-numeric: tabular-nums; }

@media (hover: hover) and (pointer: fine) {
    .forgiven-row:not(.forgiven-table-head):hover { background: rgba(157, 124, 255, .045); }
    .forgiven-public-id:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
}

.public-pagination { display: flex; flex-wrap: wrap; gap: 7px; justify-content: center; margin-top: 24px; }
.public-pagination a {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 10px;
    color: #aaaaba;
    background: rgba(255, 255, 255, .025);
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.public-pagination a:hover { border-color: rgba(157, 124, 255, .45); color: #fff; }
.public-pagination a.active { border-color: var(--violet); color: #17131e; background: var(--violet-bright); }

.forgiveness-chart { padding: 0 0 var(--section-space); }
.chart-heading { padding-top: var(--section-space); border-top: 1px solid var(--line); }
.chart-card {
    display: grid;
    grid-template-columns: minmax(260px, 370px) minmax(0, 1fr);
    gap: clamp(38px, 7vw, 88px);
    align-items: center;
    padding: clamp(28px, 5vw, 58px);
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 24px;
    background:
        radial-gradient(circle at 22% 50%, rgba(157, 124, 255, .12), transparent 42%),
        rgba(255, 255, 255, .018);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .18);
}
.pie-chart {
    position: relative;
    display: grid;
    width: min(100%, 340px);
    aspect-ratio: 1;
    margin: 0 auto;
    place-items: center;
    border-radius: 50%;
    background: var(--pie-gradient);
    box-shadow: 0 28px 70px rgba(0, 0, 0, .32), inset 0 0 0 1px rgba(255, 255, 255, .09);
    cursor: help;
}
.pie-chart::before {
    position: absolute;
    width: 55%;
    aspect-ratio: 1;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 50%;
    background: #11111b;
    box-shadow: inset 0 8px 30px rgba(0, 0, 0, .35);
    content: '';
}
.pie-center { position: relative; z-index: 1; display: grid; max-width: 48%; gap: 3px; text-align: center; }
.pie-center strong { color: #fff; font: 700 clamp(24px, 4vw, 42px)/1 'Unbounded', sans-serif; letter-spacing: -.06em; }
.pie-center span { color: var(--muted); font-size: 10px; line-height: 1.25; }
.pie-tooltip {
    position: absolute;
    z-index: 4;
    display: grid;
    min-width: 132px;
    gap: 3px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 10px;
    color: #fff;
    background: rgba(8, 8, 15, .94);
    box-shadow: 0 13px 36px rgba(0, 0, 0, .45);
    pointer-events: none;
    text-align: left;
    transform: translate(-50%, calc(-100% - 12px));
}
.pie-tooltip strong { font-size: 12px; }
.pie-tooltip span { color: #bdb9cb; font-size: 10px; font-variant-numeric: tabular-nums; }
.pie-tooltip[hidden] { display: none; }
.pie-legend { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.pie-legend li {
    display: grid;
    grid-template-columns: 9px 34px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    min-height: 47px;
    padding: 6px 9px;
    border-radius: 12px;
    outline: none;
    transition: background .2s, transform .2s;
}
.pie-legend li:hover, .pie-legend li:focus-visible, .pie-legend li.is-active { background: rgba(255, 255, 255, .055); transform: translateX(3px); }
.pie-color { width: 8px; height: 26px; border-radius: 999px; background: var(--segment-color); box-shadow: 0 0 15px color-mix(in srgb, var(--segment-color), transparent 45%); }
.pie-brand-icon { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 9px; background: #fff; }
.pie-brand-icon img { display: block; width: 25px; height: 25px; object-fit: contain; }
.pie-legend strong { overflow: hidden; color: #e7e7ef; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.pie-value { color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; white-space: nowrap; }

.sponsors { padding: 0 0 var(--section-space); }
.sponsors-heading { padding-top: var(--section-space); border-top: 1px solid var(--line); }
.sponsor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, 150px);
    gap: 15px;
    justify-content: center;
}

.sponsor-card {
    position: relative;
    display: block;
    width: 150px;
    height: 150px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 17px;
    background: rgba(255, 255, 255, .025);
    box-shadow: 0 14px 40px rgba(0, 0, 0, .18);
    transition: transform .25s, border-color .25s, box-shadow .25s;
}

.sponsor-card::after {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 1px rgba(255, 255, 255, .08);
    content: '';
    pointer-events: none;
}

.sponsor-card img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.sponsor-card:hover { border-color: rgba(157, 124, 255, .38); box-shadow: 0 20px 55px rgba(0, 0, 0, .3); transform: translateY(-3px); }
.sponsor-card:hover img { transform: scale(1.018); }

footer {
    display: flex;
    justify-content: space-between;
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 27px 0 38px;
    border-top: 1px solid var(--line);
    color: #6f7180;
    font-size: 11px;
}

.footer-actions { display: flex; gap: 15px; align-items: center; }
.footer-actions button { padding: 0; border: 0; color: #aaa1d8; background: transparent; font: inherit; text-decoration: underline; text-decoration-color: rgba(170, 161, 216, .45); text-underline-offset: 3px; cursor: pointer; }
.footer-actions button:hover { color: #d8cdff; }

.modal { position: fixed; inset: 0; z-index: 100; display: none; place-items: center; padding: 20px; }
.modal.is-open { display: grid; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(3, 3, 8, .82); backdrop-filter: blur(12px); animation: fade-in .3s ease both; }
.modal-card {
    position: relative;
    width: min(100%, 540px);
    min-height: 480px;
    padding: 58px 46px 44px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 28px;
    background: #13131e;
    box-shadow: 0 40px 120px #000;
    text-align: center;
    animation: modal-in .4s cubic-bezier(.2, .8, .2, 1) both;
}

.modal-card::after { position: absolute; top: -140px; left: 25%; width: 300px; height: 250px; border-radius: 50%; background: rgba(157, 124, 255, .18); filter: blur(70px); content: ''; pointer-events: none; }
.modal-open { overflow: hidden; }

.contact-card { width: min(100%, 590px); min-height: 0; max-height: calc(100vh - 40px); padding: 42px 42px 35px; overflow-y: auto; text-align: left; }
.contact-card > * { position: relative; z-index: 1; }
.contact-card > p { min-height: 0; margin-bottom: 22px; line-height: 1.6; }
.contact-close { position: absolute; top: 15px; right: 17px; z-index: 2; display: grid; width: 34px; height: 34px; padding: 0; place-items: center; border: 1px solid rgba(255, 255, 255, .1); border-radius: 50%; color: #c7c5d1; background: rgba(255, 255, 255, .035); font-size: 23px; line-height: 1; cursor: pointer; }
.contact-close:hover { color: #fff; border-color: rgba(189, 165, 255, .35); }
.contact-form { display: grid; gap: 15px; }
.contact-form label { display: grid; gap: 7px; color: #c8c7d1; font-size: 12px; font-weight: 700; }
.contact-form input, .contact-form textarea { width: 100%; padding: 13px 14px; border: 1px solid rgba(255, 255, 255, .13); border-radius: 11px; outline: none; color: #f7f5ff; background: rgba(5, 5, 12, .62); font: 500 14px/1.45 'Inter', sans-serif; transition: border-color .2s, box-shadow .2s; }
.contact-form input { min-height: 48px; }
.contact-form textarea { min-height: 128px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { border-color: rgba(189, 165, 255, .55); box-shadow: 0 0 0 3px rgba(157, 124, 255, .1); }
.contact-form .primary-button { margin-top: 3px; }
.contact-form-status { min-height: 20px !important; margin: 0 !important; color: #ff9da9 !important; font-size: 12px !important; }
.contact-form-status.is-success { color: var(--mint) !important; }

.orbital { position: relative; width: 145px; height: 145px; margin: 0 auto 31px; }
.orb-core { position: absolute; inset: 39px; z-index: 2; display: grid; place-items: center; border-radius: 50%; color: #17131e; background: linear-gradient(145deg, #cfbdff, #ffbfa9); font: 700 17px 'Unbounded', sans-serif; box-shadow: 0 0 38px rgba(157, 124, 255, .32); }
.orbit { position: absolute; inset: 12px; border: 1px solid rgba(189, 165, 255, .28); border-radius: 50%; animation: spin 3.2s linear infinite; }
.orbit::after { position: absolute; top: 10px; left: 16px; width: 9px; height: 9px; border-radius: 50%; background: var(--violet-bright); box-shadow: 0 0 16px var(--violet); content: ''; }
.orbit-two { inset: 0; border-color: rgba(255, 174, 145, .22); animation-duration: 5s; animation-direction: reverse; }
.orbit-two::after { top: auto; right: 17px; bottom: 12px; left: auto; background: var(--peach); box-shadow: 0 0 16px var(--peach); }

.modal-kicker { margin-bottom: 10px; color: var(--violet-bright); font-size: 10px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.modal-card h2 { margin-bottom: 13px; font: 700 25px/1.25 'Unbounded', sans-serif; letter-spacing: -.035em; }
.modal-card p { min-height: 52px; margin-bottom: 24px; color: var(--muted); font-size: 14px; }
#process-status {
    position: relative;
    display: flex;
    min-height: 50px;
    align-items: center;
    margin: 20px 0 24px;
    padding: 12px 34px 12px 16px;
    overflow: hidden;
    border: 1px solid rgba(189, 165, 255, .16);
    border-radius: 11px;
    color: #bfc8ff;
    background: rgba(4, 5, 12, .72);
    box-shadow: inset 0 1px rgba(255, 255, 255, .025);
    font: 600 12px/1.5 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    overflow-wrap: anywhere;
    text-align: left;
}

#process-status::before {
    margin-right: 9px;
    color: #a98cff;
    content: '›';
    font-size: 16px;
    font-weight: 900;
}

#process-status::after {
    position: absolute;
    right: 15px;
    width: 7px;
    height: 15px;
    background: #bda5ff;
    content: '';
    animation: terminal-cursor .72s steps(1) infinite;
}
.progress-track { height: 5px; overflow: hidden; border-radius: 5px; background: rgba(255, 255, 255, .08); }
.progress-track span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--violet), var(--peach)); transition: width .85s linear; }
.timer { display: flex; justify-content: center; gap: 6px; align-items: baseline; margin-top: 13px; color: #757786; font-size: 11px; }
.timer strong { color: #d9d9e2; font-size: 17px; }

.success-view { padding-top: 42px; }
.success-icon { display: grid; width: 108px; height: 108px; margin: 0 auto 34px; place-items: center; border: 1px solid rgba(124, 244, 207, .25); border-radius: 50%; color: var(--mint); background: rgba(124, 244, 207, .08); font-size: 42px; box-shadow: 0 0 55px rgba(124, 244, 207, .08); }
.secondary-button { height: 51px; color: #16131f; background: #e2d8ff; }
.success-actions { display: grid; gap: 10px; margin-top: 24px; }
.success-certificate-link { text-decoration: none; }
.modal-done-button {
    min-height: 42px;
    border: 0;
    color: var(--muted);
    background: transparent;
    cursor: pointer;
    font: 700 12px 'Manrope', sans-serif;
}
.modal-done-button:hover { color: #fff; }

.result-main { width: min(920px, calc(100% - 48px)); padding: 42px 0 72px; }
.result-heading { margin-bottom: 30px; text-align: center; }
.result-heading h1 { max-width: 850px; margin: 14px auto 14px; font-size: clamp(30px, 5vw, 60px); }
.result-heading p { max-width: 720px; margin: 0 auto; color: var(--muted); text-wrap: balance; }
.result-certificate {
    position: relative;
    overflow: hidden;
    padding: clamp(26px, 5vw, 58px);
    border: 1px solid rgba(189, 165, 255, .25);
    border-radius: 28px;
    background:
        radial-gradient(circle at 12% 0, rgba(157, 124, 255, .23), transparent 35%),
        radial-gradient(circle at 100% 100%, rgba(255, 153, 120, .16), transparent 38%),
        rgba(18, 18, 31, .9);
    box-shadow: var(--shadow);
}
.result-certificate::before {
    position: absolute;
    inset: 13px;
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 20px;
    content: '';
    pointer-events: none;
}
.certificate-seal {
    display: grid;
    width: 92px;
    height: 92px;
    margin: 0 auto 24px;
    place-items: center;
    border: 1px solid rgba(124, 244, 207, .35);
    border-radius: 50%;
    color: var(--mint);
    background: rgba(124, 244, 207, .07);
    font: 800 36px/1 'Unbounded', sans-serif;
    box-shadow: 0 0 50px rgba(124, 244, 207, .1);
}
.certificate-kicker { color: var(--violet-bright); font-size: 10px; font-weight: 800; letter-spacing: .18em; text-align: center; text-transform: uppercase; }
.certificate-name { margin: 14px 0 6px; overflow-wrap: anywhere; font: 700 clamp(27px, 5vw, 52px)/1.15 'Unbounded', sans-serif; text-align: center; }
.certificate-ai { margin: 0 auto 34px; color: #ded7ef; font-size: clamp(15px, 2.2vw, 20px); text-align: center; }
.certificate-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.certificate-meta div { min-width: 0; padding: 18px; text-align: center; }
.certificate-meta div + div { border-left: 1px solid var(--line); }
.certificate-meta span { display: block; margin-bottom: 5px; color: #77798a; font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.certificate-meta strong, .certificate-meta time, .certificate-meta code { color: #f4f0ff; font-size: 13px; font-weight: 700; overflow-wrap: anywhere; }
.result-actions { display: grid; grid-template-columns: 1.25fr .75fr; gap: 14px; margin-top: 24px; }
.result-download, .result-back {
    display: flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}
.result-download { color: #17131e; background: linear-gradient(110deg, #bda5ff, #ffae91); }
.result-back { border: 1px solid var(--line); color: var(--ink); background: rgba(255,255,255,.03); }
.share-panel { margin-top: 30px; text-align: center; }
.share-panel h2 { margin: 0 0 15px; font-size: 17px; }
.share-buttons { display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; }
.share-button {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 0 17px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: #e8e4f3;
    background: rgba(255,255,255,.035);
    cursor: pointer;
    font: 800 12px 'Manrope', sans-serif;
    text-decoration: none;
}
.share-button:hover { border-color: rgba(189,165,255,.5); background: rgba(157,124,255,.12); }
.copy-status { min-height: 22px; margin: 10px 0 0; color: var(--mint); font-size: 11px; }
[hidden] { display: none !important; }
.noscript { position: fixed; right: 20px; bottom: 20px; z-index: 200; padding: 12px 16px; border-radius: 10px; color: #21151b; background: #ffb3b3; font-size: 13px; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes modal-in { from { opacity: 0; transform: translateY(20px) scale(.97); } }
@keyframes terminal-cursor { 50% { opacity: 0; } }

@media (max-width: 720px) {
    :root { --section-space: 44px; }
    .site-header, main, footer { width: min(100% - 30px, 1060px); }
    .site-header { flex-wrap: nowrap; gap: 10px; padding: 16px 0; }
    .brand { min-width: 0; flex: 1 1 auto; }
    .header-actions { width: auto; flex: 0 0 auto; justify-content: flex-end; order: initial; }
    .language-switcher { flex: 0 0 auto; overflow: visible; }
    .language-switcher a { min-width: 36px; height: 44px; padding: 0 5px; }
    .brand { font-size: 12px; }
    .brand-mark { width: 36px; height: 36px; }
    .site-logo { max-width: 100px; height: 36px; }
    .hero { padding-top: 24px; }
    h1 { font-size: clamp(20px, 6vw, 28px); }
    .hero-copy { margin-bottom: 35px; }
    .hero-visual { margin: -8px 0 25px; border-radius: 18px; }
    .result-main { width: min(100% - 28px, 920px); padding-top: 24px; }
    .result-certificate { padding: 28px 18px; border-radius: 20px; }
    .result-certificate::before { inset: 8px; border-radius: 15px; }
    .certificate-meta { grid-template-columns: 1fr; }
    .certificate-meta div + div { border-top: 1px solid var(--line); border-left: 0; }
    .result-actions { grid-template-columns: 1fr; }
    .apology-card { padding: 9px 19px 24px; border-radius: 20px; }
    .card-topline { margin: 0 -19px 23px; padding: 14px 19px; }
    .secure-label { display: none; }
    .section-heading { display: block; }
    .section-heading p { margin-top: 16px; }
    .country-list { grid-template-columns: 1fr; }
    .forgiven-list { border-radius: 16px; }
    .forgiven-table-head { display: none; }
    .forgiven-row {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 10px 16px;
        padding: 14px 15px;
    }
    .forgiven-row > td:first-child { grid-column: 1 / -1; }
    .forgiven-person { grid-column: 1 / -1; }
    .forgiven-row > td:nth-child(2) { grid-column: 1; padding-left: 50px; }
    .forgiven-row > td:nth-child(3) { grid-column: 1 / -1; padding-left: 50px; }
    .forgiven-row > td:nth-child(4) { grid-column: 2; grid-row: 2; align-self: center; }
    .forgiven-brand { font-size: 12px; }
    .forgiven-brand-icon { width: 30px; height: 30px; flex-basis: 30px; border-radius: 8px; }
    .forgiven-brand-icon img { width: 21px; height: 21px; }
    .forgiven-row time { font-size: 11px; }
    .chart-card { grid-template-columns: 1fr; gap: 30px; padding: 22px 16px; border-radius: 18px; }
    .pie-chart { width: min(82vw, 300px); }
    .pie-legend li { grid-template-columns: 8px 32px minmax(0, 1fr) auto; gap: 8px; padding: 5px 4px; }
    .pie-brand-icon { width: 32px; height: 32px; }
    .pie-value { font-size: 10px; }
    .sponsor-grid { gap: 10px; }
    .sponsor-card { border-radius: 14px; }
    footer { display: grid; gap: 9px; }
    .footer-actions { flex-wrap: wrap; gap: 7px 13px; }
    .modal-card { min-height: 445px; padding: 42px 24px 30px; border-radius: 23px; }
    .contact-card { min-height: 0; padding: 39px 21px 25px; }
}

@media (max-width: 340px) {
    .site-header { gap: 6px; }
    .site-logo { max-width: 80px; }
    .language-switcher { gap: 1px; padding: 3px; }
    .language-switcher a { min-width: 35px; padding: 0 3px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
