:root {
    color-scheme: dark;
    --surface-bg: #050509;
    --surface-raised: #0d0f18;
    --line: #292633;
    --line-strong: #443846;
    --text: #f4f2f5;
    --text-muted-strong: #c0bac7;
    --accent: #d63a55;
    --accent-strong: #ef7488;
    --accent-ink: #fff7f8;
}

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

html {
    min-width: 320px;
    min-height: 100%;
    background: var(--surface-bg);
}

body {
    min-width: 320px;
    min-height: 100vh;
    min-height: 100svh;
    margin: 0;
    background: var(--surface-bg);
    color: var(--text);
    font-family: "Manrope", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.container {
    display: grid;
    min-height: 100vh;
    min-height: 100svh;
    place-items: center;
    width: 100%;
    padding: 48px 24px;
}

.content {
    display: flex;
    width: min(100%, 760px);
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.logo {
    display: block;
    width: 80px;
    height: 80px;
    margin: 0 0 34px;
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    background: var(--surface-raised);
    object-fit: cover;
}

h1 {
    max-width: 740px;
    margin: 0;
    color: var(--text);
    font-size: clamp(2.15rem, 5vw, 4.35rem);
    font-weight: 700;
    letter-spacing: -0.052em;
    line-height: 1.06;
}

h1 span {
    position: relative;
    display: inline-block;
    color: var(--text);
}

h1 span::after {
    position: absolute;
    right: 0;
    bottom: -12px;
    left: 0;
    width: 44px;
    height: 3px;
    margin: auto;
    background: var(--accent);
    content: "";
}

p {
    max-width: 590px;
    margin: 40px auto 30px;
    color: var(--text-muted-strong);
    font-size: clamp(0.95rem, 1.5vw, 1.05rem);
    font-weight: 400;
    line-height: 1.7;
}

.btn {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    border: 1px solid var(--accent);
    border-radius: 8px;
    background: var(--accent);
    color: var(--accent-ink);
    font: 700 0.875rem/1 "Manrope", Arial, sans-serif;
    letter-spacing: -0.01em;
    text-decoration: none;
    transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.btn:hover {
    border-color: var(--accent-strong);
    background: var(--accent-strong);
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0);
}

.btn:focus-visible {
    outline: 2px solid var(--text);
    outline-offset: 4px;
}

@media (max-width: 640px) {
    .container {
        padding: 36px 20px;
    }

    .logo {
        width: 64px;
        height: 64px;
        margin-bottom: 28px;
        border-radius: 9px;
    }

    h1 {
        font-size: clamp(2rem, 10.2vw, 2.75rem);
        letter-spacing: -0.047em;
    }

    p {
        margin-top: 36px;
        font-size: 0.94rem;
    }
}

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