*,
*::before,
*::after {
    box-sizing: border-box
}

body {
    transition: opacity ease-in 0.2s;
}

body[unresolved] {
    opacity: 0;
    display: block;
    overflow: hidden;
    position: relative;
}

html,
body {
    margin: 0;
    padding: 0;
    height: 100%
}

:root {
    --bg: #04070d;
    --ink: #f5f5f5;
    --mute: #b8c7d9;
    --accent: #f15025;
    --accent-2: #ff8a5c;
    --accent-soft: rgba(241, 80, 37, 0.16);
    --hair: rgba(255, 255, 255, 0.12);
    --pill: 999px;
}

body {
    font-family: 'DM Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    color: var(--ink);
    background: var(--bg);
    background-image:
        radial-gradient(900px 520px at 88% -8%, rgba(241, 80, 37, 0.18), transparent 55%),
        radial-gradient(700px 420px at -8% 45%, rgba(62, 58, 242, 0.08), transparent 55%);
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 24px;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.wrap {
    width: 100%;
    max-width: 440px;
    text-align: center
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 36px
}

.brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0
}

.brand-mark img {
    display: block;
    width: 40px;
    height: 40px;
    object-fit: contain
}

.brand-name {
    font-weight: 700;
    font-size: 22px;
    letter-spacing: -0.02em;
    color: var(--ink)
}

.card {
    background: rgba(16, 19, 28, 0.72);
    border: 1px solid var(--hair);
    border-radius: 16px;
    padding: 40px 32px 36px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-2);
    margin-bottom: 20px;
    font-weight: 600;
    background: var(--accent-soft);
    padding: 6px 14px;
    border-radius: var(--pill);
    border: 1px solid rgba(241, 80, 37, 0.28);
}

.tag .pip {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-soft)
}

h1 {
    font-size: clamp(26px, 5vw, 34px);
    line-height: 1.12;
    letter-spacing: -0.03em;
    margin: 0 0 14px;
    font-weight: 700;
    color: var(--ink)
}

h1 em {
    font-style: normal;
    color: var(--accent);
    font-weight: 800
}

p {
    font-size: 16px;
    line-height: 1.55;
    color: var(--mute);
    margin: 0 0 28px
}

.btn-enter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    font-weight: 600;
    font-size: 15px;
    background: linear-gradient(130deg, #ff4c22 12%, #ff4c22 62%, #ffbd17 100%);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--pill);
    padding: 14px 32px;
    cursor: pointer;
    box-shadow: 0 8px 24px -8px rgba(241, 80, 37, 0.45);
    transition: transform .12s ease, opacity .15s ease;
}

.btn-enter:hover {
    transform: translateY(-1px);
    opacity: 0.95
}

.btn-enter:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none
}

.foot {
    margin-top: 28px;
    font-size: 13px;
    color: var(--mute);
    opacity: 0.8
}

.foot .mono {
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-2)
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 6px
}

::selection {
    background: var(--accent);
    color: #fff
}