@font-face {
    font-family: "Archivo";
    font-style: normal;
    font-weight: 100 900;
    font-stretch: 62% 125%;
    font-display: swap;
    src: url("/assets/fonts/archivo-var-latin.woff2") format("woff2");
}

@font-face {
    font-family: "JetBrains Mono";
    font-style: normal;
    font-weight: 100 800;
    font-display: swap;
    src: url("/assets/fonts/jetbrains-mono-var-latin.woff2") format("woff2");
}

:root {
    color-scheme: dark;
    font-family: "Archivo", sans-serif;
    color: #f1f2f5;
    background: #0d0f14;
    -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background-image: radial-gradient(ellipse at 50% 37%, #ff4d6d07, transparent 58%);
}

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

a:focus-visible {
    outline: 2px solid #ff718b;
    outline-offset: 6px;
    border-radius: 3px;
}

::selection { color: #fff; background: #9b2843; }

.page {
    width: min(100% - 96px, 1280px);
    min-height: 100svh;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
}

.header {
    min-height: 112px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.status, .eyebrow, .footer-note span {
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    line-height: 1.6;
}

.status {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #989ba8;
}

.status-dot {
    width: 6px;
    height: 6px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #989ba8;
}

main {
    flex: 1;
    display: grid;
    place-items: center;
    padding: 60px 0 84px;
    text-align: center;
}

.farewell { width: 100%; }

.heart {
    display: block;
    width: 92px;
    height: 92px;
    margin: 0 auto 12px;
    color: #ff4d6d;
}

.eyebrow {
    margin: 0 0 26px;
    color: #ff8096;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

h1 {
    margin: 0;
    font-size: clamp(40px, 5.9vw, 80px);
    font-weight: 650;
    letter-spacing: -0.065em;
    line-height: 1.08;
    text-wrap: balance;
}

h1 span { color: #9395a1; }

.message {
    max-width: 460px;
    margin: 30px auto 0;
    color: #a4a6b2;
    font-size: 16px;
    line-height: 1.8;
    text-wrap: pretty;
}

.thanks {
    margin: 15px 0 0;
    font-size: 16px;
    line-height: 1.8;
    color: #d4d5dd;
}

.end-mark {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-top: 42px;
}

.end-mark span { width: 4px; height: 4px; background: #4c303b; }
.end-mark span:last-child { background: #ff4d6d; }

.footer {
    min-height: 132px;
    padding: 26px 0 30px;
    border-top: 1px solid #ffffff12;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.footer-note p { margin: 0 0 7px; font-size: 14px; }
.footer-note span { color: #9093a1; }

.socials { display: flex; flex-wrap: wrap; gap: 8px 26px; }

.socials a {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: 13px;
    color: #b4b6c2;
    transition: color 150ms ease-out;
}

.socials a span { color: #707584; }
.socials a:hover, .socials a:focus-visible { color: #ff8096; }
.socials a:hover span, .socials a:focus-visible span { color: inherit; }

@media (max-width: 760px) {
    .page { width: calc(100% - 40px); }
    .header { min-height: 88px; }
    .brand { font-size: 15px; gap: 9px; }
    .brand img { width: 30px; height: 30px; }
    .status { font-size: 9px; gap: 6px; }
    main { padding: 32px 0 58px; }
    .heart { width: 80px; height: 80px; }
    .eyebrow { font-size: 9px; letter-spacing: 0.7px; margin-bottom: 22px; }
    h1 { font-size: clamp(32px, 7.5vw, 56px); letter-spacing: -0.06em; }
    .message { max-width: 370px; font-size: 15px; margin-top: 24px; }
    .thanks { font-size: 15px; }
    .footer { flex-direction: column; align-items: center; gap: 16px; text-align: center; }
    .socials { justify-content: center; gap: 4px 20px; }
}

@media (max-width: 380px) {
    .header { flex-wrap: wrap; justify-content: center; gap: 0; padding: 20px 0; }
    .status { width: 100%; justify-content: center; margin-top: 8px; }
}

@media (prefers-reduced-motion: reduce) {
    .socials a { transition: none; }
}
