:root {
    --bg: #05070A;
    --bg-deep: #000;
    --text: #F4F6F3;
    --text-muted: rgba(255, 255, 255, 0.62);
    --blue: #0064E0;
    --blue-light: #4D9FFF;
    --error: #FF6B7A;
    --white: #ffffff;
    --header-h: 88px;
    --col: 670px;
    --font-ui: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif;
    --font-display: "Syne", sans-serif;
    --font-serif: "Instrument Serif", Georgia, serif;
}

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

html {
    scroll-behavior: smooth;
}

html,
body {
    margin: 0;
    min-height: 100%;
    overflow-x: hidden;
}

body.goodds-talks {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-ui);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

body.goodds-talks ::selection {
    background: rgba(0, 100, 224, 0.35);
    color: var(--white);
}

.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;
}

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

.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 400;
    height: 3px;
    width: 33.333%;
    background: var(--blue);
    box-shadow: 0 0 16px rgba(0, 100, 224, 0.7);
    transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-header {
    display: none;
}

.site-main {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 56px;
    overflow: hidden;
}

.site-main::before {
    content: "";
    position: absolute;
    top: -80px;
    left: 50%;
    z-index: 0;
    width: min(980px, 100%);
    height: 520px;
    transform: translateX(-50%);
    background: radial-gradient(ellipse at 50% 0%, rgba(0, 100, 224, 0.32) 0%, rgba(0, 100, 224, 0.1) 38%, transparent 72%);
    pointer-events: none;
}

.landing {
    position: relative;
    z-index: 1;
    width: min(var(--col), 100%);
}

.landing-card {
    width: 100%;
    container-type: inline-size;
    container-name: landing;
}

.landing-intro {
    text-align: center;
    margin-bottom: 2.4rem;
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 1.1rem;
    color: var(--blue);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.kicker-star {
    width: 13px;
    height: 13px;
}

.landing-title {
    margin: 0;
    color: var(--white);
    font-family: var(--font-display);
    font-size: min(4.15rem, 9.4vw);
    font-size: min(4.15rem, 10cqi, 9.4vw);
    font-weight: 800;
    line-height: 0.96;
    letter-spacing: -0.04em;
}

.landing-title .title-line {
    display: block;
    max-width: 100%;
    white-space: nowrap;
}

.landing-title em {
    display: block;
    margin-top: 0.06em;
    color: var(--blue-light);
    font-family: var(--font-serif);
    font-size: 0.92em;
    font-style: italic;
    font-weight: 400;
    letter-spacing: 0;
}

.success-title {
    font-size: min(3.1rem, 8vw);
    font-size: min(3.1rem, 8.6cqi, 8vw);
    text-wrap: balance;
}

.landing-subtitle {
    margin: 1.2rem 0 0;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.landing-form {
    width: 100%;
}

.form-step {
    animation: stepIn 0.38s ease both;
}

.form-step[hidden] {
    display: none;
}

@keyframes stepIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.step-label {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin: 0 0 1rem;
    color: var(--white);
    font-size: clamp(1.15rem, 2.4vw, 1.45rem);
    font-weight: 700;
}

.step-num {
    color: var(--blue);
    font-size: 0.78em;
    letter-spacing: 0.06em;
}

.step-input {
    width: 100%;
    padding: 0.55rem 0 0.75rem;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.28);
    background: transparent;
    color: var(--white);
    caret-color: var(--blue);
    font-family: inherit;
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    outline: none;
    transition: border-color 0.2s ease;
}

.step-input::placeholder {
    color: rgba(255, 255, 255, 0.32);
}

.step-input:focus {
    border-bottom-color: var(--blue);
}

.step-input.is-invalid {
    border-bottom-color: var(--error);
}

.field-error {
    margin: 0.65rem 0 0;
    color: var(--error);
    font-size: 0.92rem;
}

.field-error[hidden] {
    display: none;
}

.step-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px 18px;
    margin-top: 1.5rem;
}

.btn-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 92px;
    padding: 0.78rem 1.55rem;
    border: 0;
    border-radius: 999px;
    background: var(--blue);
    color: var(--white);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.18s ease, filter 0.18s ease, opacity 0.18s ease;
}

.btn-pill:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.btn-pill:active {
    transform: none;
}

.btn-pill:disabled {
    opacity: 0.65;
    cursor: wait;
    transform: none;
}

.btn-back {
    padding: 0;
    border: 0;
    background: none;
    color: var(--text-muted);
    font-family: inherit;
    font-size: 0.95rem;
    cursor: pointer;
}

.btn-back:hover {
    color: var(--white);
}

.enter-hint {
    color: var(--text-muted);
    font-size: 0.88rem;
}

.enter-hint kbd {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.4em;
    margin-left: 2px;
    font-family: inherit;
}

.gt-hcaptcha {
    margin-top: 1.4rem;
}

.form-hint {
    margin: 1.8rem 0 0;
    color: var(--text-muted);
    font-size: 0.88rem;
}

.landing-success {
    text-align: center;
}

.landing-card-success {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.landing-card-success .landing-subtitle {
    max-width: 28rem;
}

.btn-download {
    margin-top: 1.8rem;
}

.site-footer {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 24px;
    background: var(--white);
}

.site-footer .site-logo img {
    display: block;
    height: 48px;
    width: auto;
}

.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 350;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25d366;
    color: var(--white);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
    transition: transform 0.2s ease;
}

.whatsapp-float:hover {
    transform: translateY(-2px) scale(1.04);
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
}

.admin-bar .progress-bar {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar .progress-bar {
        top: 46px;
    }
}

@media (max-width: 720px) {
    .site-main {
        padding: 104px 20px 40px;
        align-items: flex-start;
    }

    .landing-title {
        font-size: min(2.15rem, 9vw);
        font-size: min(2.15rem, 10.4cqi, 9vw);
    }

    .landing-intro {
        margin-bottom: 1.8rem;
    }

    .site-footer .site-logo img {
        height: 40px;
    }

    .whatsapp-float {
        right: max(16px, env(safe-area-inset-right));
        bottom: max(16px, env(safe-area-inset-bottom));
        width: 52px;
        height: 52px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .progress-bar,
    .site-header,
    .btn-pill,
    .whatsapp-float,
    .form-step {
        transition: none;
        animation: none;
    }
}
