:root {
    --primary: #f3b200;
    --text-main: #1f1f1f;
    --text-muted: #7a7a7a;
    --card: #ffffff;
    --shadow: 0 28px 70px rgba(12, 12, 12, 0.22);
    --bg-spot-1: #fff7df;
    --bg-spot-2: #f4f2ee;
    --bg-spot-3: #eef3fb;
    --accent-shadow: 0 18px 35px rgba(255, 193, 7, 0.3);
    --blob-1: rgba(255, 193, 7, 0.16);
    --blob-2: rgba(255, 193, 7, 0.04);
    --stroke: rgba(32, 32, 32, 0.06);
    --toggle-bg: rgba(0, 0, 0, 0.08);
    --toggle-shadow: 0 10px 24px rgba(30, 30, 30, 0.08);
    --footer: rgba(31, 31, 31, 0.38);
}

:root[data-theme='dark'] {
    --text-main: #e9e9e9;
    --text-muted: #c9c9c9;
    --card: #222222;
    --shadow: 0 34px 80px rgba(0, 0, 0, 0.6);
    --bg-spot-1: #262626;
    --bg-spot-2: #1a1a1a;
    --bg-spot-3: #141414;
    --accent-shadow: none;
    --blob-1: rgba(243, 178, 0, 0.12);
    --blob-2: rgba(243, 178, 0, 0.03);
    --stroke: rgba(255, 255, 255, 0.08);
    --toggle-bg: rgba(255, 255, 255, 0.08);
    --toggle-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
    --footer: rgba(242, 242, 242, 0.28);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Quicksand", sans-serif;
    color: var(--text-main);
    display: grid;
    place-items: center;
    background: radial-gradient(circle at 20% 20%, var(--bg-spot-1) 0%, var(--bg-spot-2) 45%, var(--bg-spot-3) 100%);
    padding: 28px 16px;
    overflow: hidden;
}

.bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.blob {
    position: absolute;
    border-radius: 999px;
    background: var(--blob-1);
}

.blob-one {
    width: 230px;
    height: 230px;
    top: 6%;
    left: -16%;
}

.blob-two {
    width: 60px;
    height: 60px;
    bottom: 4%;
    right: -18%;
    background: var(--blob-2);
}

.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 8px;
    border-radius: 999px;
    border: 1px solid var(--stroke);
    background: var(--card);
    color: var(--text-main);
    font-family: "Quicksand", sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    box-shadow: var(--toggle-shadow);
    cursor: pointer;
}

.toggle-track {
    width: 30px;
    height: 16px;
    background: var(--toggle-bg);
    border-radius: 999px;
    position: relative;
}

.toggle-knob {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary);
    position: absolute;
    top: 3px;
    left: 3px;
    transition: transform 0.2s ease;
}

:root[data-theme='dark'] .toggle-knob {
    transform: translateX(14px);
}

.card {
    position: relative;
    z-index: 1;
    width: min(820px, 100%);
    padding: 52px 32px 44px;
    border-radius: 22px;
    background: linear-gradient(180deg, var(--card) 0%, color-mix(in srgb, var(--card) 92%, var(--primary) 8%) 100%);
    box-shadow: var(--shadow);
    text-align: center;
    display: grid;
    gap: 18px;
    border: 1px solid var(--stroke);
}

.brand-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    justify-self: center;
    transform: translateX(4px);
}

.logo-img {
    width: 45px;
    height: 45px;
}

.logo-name {
    font-size: 1.1rem;
    font-weight: 600;
}

.content {
    display: grid;
    gap: 6px;
    padding: 6px 0 2px;
}

.headline {
    margin: 0;
    font-size: clamp(2.6rem, 5vw, 3.6rem);
    font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--text-main);
}

.subtext {
    margin: 0;
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.35;
    opacity: 0.7;
}

:root[data-theme='dark'] .subtext {
    opacity: 0.88;
}

.cta {
    display: flex;
    justify-content: center;
}

.x-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px;
    border-radius: 12px;
    text-decoration: none;
    color: #1a1a1a;
    background: var(--primary);
    box-shadow: var(--accent-shadow);
    font-weight: 500;
    transition: opacity 0.2s ease;
}

.x-link:hover {
    opacity: 0.86;
}

.x-icon {
    width: 16px;
    height: 16px;
    fill: #1a1a1a;
}

.tiny-footer {
    position: fixed;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.62rem;
    color: var(--footer);
}

@media (max-width: 640px) {
    .card {
        padding: 44px 20px 36px;
        border-radius: 20px;
    }

    .headline {
        font-size: clamp(2.1rem, 7vw, 3rem);
    }

    .brand-pill {
        padding: 8px 14px;
    }

    .logo-name {
        font-size: 1rem;
    }

    .theme-toggle {
        top: 14px;
        right: 14px;
    }
}
