.tickercast-hero {
    position: relative;
    margin: -30px auto 18px auto;
    padding: 70px 20px 30px 20px;
    background-image: var(--tickercast-hero-bg);
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    text-align: center;
    overflow: hidden;
    font-family: 'Roboto', sans-serif;
}

.tickercast-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.68) 36%, rgba(255, 255, 255, 0.9) 100%);
    pointer-events: none;
}

.tickercast-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
}

.tickercast-logo-mark {
    width: 100px;
    height: 100px;
    margin: 0 auto 18px auto;
    border-radius: 50%;
    background-image: var(--tickercast-hero-logo);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 28px rgba(13, 43, 99, 0.12);
}

.tickercast-title {
    margin: 0;
    color: #111827;
    font-family: 'Roboto', sans-serif !important;
    font-size: 50px !important;
    line-height: 1.02 !important;
    font-weight: 700 !important;
    letter-spacing: 0;
}

.tickercast-eyebrow {
    margin: 22px 0 22px 0;
    color: #255cd6;
    font-size: 29px !important;
    font-family: 'Roboto', sans-serif;
    font-weight: 900 !important;
    line-height: 1.22 !important;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.tickercast-eyebrow-subline {
    display: inline-block;
    margin-top: 8px;
    font-size: 29px;
    line-height: 1.16;
}

.tickercast-week-block {
    margin: 0 0 15px 0;
    text-align: center;
}

.tickercast-week-line {
    display: inline-block;
    color: #de4c4c !important;
    font-size: 50px !important;
    line-height: 1.1 !important;
    font-family: 'Roboto', sans-serif !important;
    font-weight: 900 !important;
    letter-spacing: 0.01em;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    text-transform: uppercase;
    background: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
}

.tickercast-copy {
    margin: 0;
    color: #101010;
    font-family: 'Roboto', sans-serif !important;
    font-size: 28px !important;
    line-height: 1.35 !important;
    font-weight: 400 !important;
}

.tickercast-hero .tickercast-title,
.tickercast-hero .tickercast-eyebrow,
.tickercast-hero .tickercast-eyebrow-subline,
.tickercast-hero .tickercast-copy {
    font-family: 'Roboto', sans-serif !important;
}

.tickercast-copy-secondary {
    margin-top: 4px;
    margin-bottom: 30px;
}

.tickercast-copy-error {
    color: #de4c4c;
    font-weight: 400 !important;
}

.tickercast-signup-shell {
    max-width: 1120px;
    margin: 0 auto;
}

.tickercast-form-note {
    margin-top: 18px;
    color: #cf8f8f;
    font-size: 18px;
    line-height: 1.35;
}

.tickercast-chart-stack > div {
    width: min(80vw, 1280px);
    max-width: 1280px;
    margin: 0 auto 46px auto;
}

.tickercast-chart-stack > div img,
.tickercast-chart-stack > div .bokeh-container,
.tickercast-chart-stack > div > div {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto;
    margin-right: auto;
}

.tickercast-chart-stack > div .bokeh-container {
    height: auto !important;
    min-height: 0 !important;
}

#stats_form {
    margin: 0 auto;
}

.tickercast-lookup-form {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.tickercast-lookup-input {
    width: min(220px, 60vw);
    height: 56px;
    padding: 0 18px;
    border: 1px solid rgba(104, 129, 173, 0.5);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.92);
    color: #34405e;
    font-size: 26px;
    box-sizing: border-box;
    text-transform: uppercase;
    text-align: center;
}

.tickercast-lookup-input::placeholder {
    text-transform: none;
    font-size: 18px;
    letter-spacing: 0;
}

.tickercast-lookup-input:placeholder-shown {
    font-size: 18px;
    text-transform: none;
    text-align: center;
}

.tickercast-lookup-input:focus {
    outline: none;
    border-color: #2a67e8;
    box-shadow: 0 0 0 3px rgba(42, 103, 232, 0.14);
}

.tickercast-lookup-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 178px;
    height: 56px;
    padding: 0 24px;
    border-radius: 12px;
    background: linear-gradient(180deg, #2170ea 0%, #1458c5 100%);
    color: #ffffff !important;
    font-size: 25px;
    font-weight: 900;
    text-decoration: none !important;
    box-shadow: none;
}

.tickercast-lookup-button:hover {
    filter: brightness(1.02);
}

@media (max-width: 1199px) {
    .tickercast-title {
        font-size: 52px !important;
    }

    .tickercast-copy {
        font-size: 24px !important;
    }

    .tickercast-eyebrow,
    .tickercast-eyebrow-subline {
        font-size: 24px !important;
    }
}

@media (min-width: 1025px) and (max-width: 1366px) {
    .tickercast-hero {
        margin-top: -14px;
        padding: 52px 18px 28px 18px;
        background-position: center top;
    }

    .tickercast-logo-mark {
        width: 90px;
        height: 90px;
        margin-bottom: 16px;
    }

    .tickercast-title {
        font-size: 46px !important;
        line-height: 1.03 !important;
    }

    .tickercast-eyebrow {
        margin: 18px 0 18px 0;
        font-size: 24px !important;
        line-height: 1.18 !important;
        letter-spacing: 0.035em;
    }

    .tickercast-eyebrow-subline {
        margin-top: 4px;
        font-size: 24px !important;
        line-height: 1.18 !important;
    }

    .tickercast-week-block {
        margin: 0 0 18px 0;
    }

    .tickercast-week-line {
        font-size: 40px !important;
        line-height: 1.08 !important;
    }

    .tickercast-copy {
        font-size: 24px !important;
        line-height: 1.32 !important;
    }

    .tickercast-copy-secondary {
        margin-bottom: 24px;
    }

    .tickercast-form-note {
        font-size: 16px;
        margin-top: 12px;
    }

    .tickercast-chart-stack > div {
        width: min(80vw, 1280px);
        margin-bottom: 34px;
    }
}

@media (min-width: 835px) and (max-width: 1024px) {
    .tickercast-hero {
        margin-top: -12px;
        padding: 48px 18px 28px 18px;
        background-position: center top;
    }

    .tickercast-logo-mark {
        width: 88px;
        height: 88px;
        margin-bottom: 16px;
    }

    .tickercast-title {
        font-size: 44px !important;
        line-height: 1.03 !important;
    }

    .tickercast-eyebrow {
        margin: 18px 0 18px 0;
        font-size: 23px !important;
        line-height: 1.18 !important;
        letter-spacing: 0.035em;
    }

    .tickercast-eyebrow-subline {
        margin-top: 4px;
        font-size: 23px !important;
        line-height: 1.18 !important;
    }

    .tickercast-week-line {
        font-size: 39px !important;
        line-height: 1.08 !important;
    }

    .tickercast-copy {
        font-size: 24px !important;
        line-height: 1.32 !important;
    }

    .tickercast-copy-secondary {
        margin-bottom: 24px;
    }

    .tickercast-chart-stack > div {
        width: min(80vw, 1280px);
        margin-bottom: 32px;
    }
}

@media (min-width: 768px) and (max-width: 834px) {
    .tickercast-hero {
        margin-top: -10px;
        padding: 42px 16px 28px 16px;
        background-position: center center;
    }

    .tickercast-logo-mark {
        width: 82px;
        height: 82px;
        margin-bottom: 14px;
    }

    .tickercast-title {
        font-size: 40px !important;
        line-height: 1.04 !important;
    }

    .tickercast-eyebrow {
        margin: 16px 0 18px 0;
        font-size: 21px !important;
        line-height: 1.18 !important;
        letter-spacing: 0.03em;
    }

    .tickercast-eyebrow-subline {
        margin-top: 4px;
        font-size: 21px !important;
        line-height: 1.18 !important;
    }

    .tickercast-week-line {
        font-size: 34px !important;
        line-height: 1.08 !important;
    }

    .tickercast-copy {
        font-size: 22px !important;
        line-height: 1.3 !important;
    }

    .tickercast-copy-secondary {
        margin-bottom: 22px;
    }

    .tickercast-chart-stack > div {
        width: min(80vw, 1280px);
        margin-bottom: 30px;
    }

    .tickercast-lookup-input::placeholder,
    .tickercast-lookup-input:placeholder-shown {
        font-size: 40px !important;
        text-align: center !important;
    }
}

@media (min-width: 431px) and (max-width: 767px) {
    .tickercast-hero {
        margin-top: -6px;
        padding: 54px 18px 34px 18px;
        background-position: center center;
    }

    .tickercast-logo-mark {
        width: 112px;
        height: 112px;
        margin-bottom: 20px;
    }

    .tickercast-title {
        font-size: 72px !important;
        line-height: 1.02 !important;
    }

    .tickercast-eyebrow {
        margin: 20px 0 22px 0;
        font-size: 46px !important;
        line-height: 1.18 !important;
        letter-spacing: 0.03em;
    }

    .tickercast-eyebrow-subline {
        margin-top: 4px;
        font-size: 46px !important;
        line-height: 1.18 !important;
    }

    .tickercast-week-block {
        margin: 0 0 20px 0;
    }

    .tickercast-week-line {
        font-size: 74px !important;
        line-height: 1.08 !important;
    }

    .tickercast-copy {
        font-size: 40px !important;
        line-height: 1.28 !important;
    }

    .tickercast-copy-secondary {
        margin-bottom: 28px;
    }

    .tickercast-form-note {
        font-size: 15px;
        margin-top: 12px;
    }

    .tickercast-chart-stack > div {
        width: min(80vw, 1280px);
        margin-bottom: 30px;
    }

    .tickercast-lookup-form {
        gap: 12px;
        max-width: min(86vw, 420px);
        margin-left: auto;
        margin-right: auto;
    }

    .tickercast-lookup-input,
    .tickercast-lookup-button {
        width: 100%;
        min-width: 0;
    }

    .tickercast-lookup-input {
        height: 72px;
        padding: 0 18px;
        border-radius: 14px;
        font-size: 34px;
    }

    .tickercast-lookup-input::placeholder,
    .tickercast-lookup-input:placeholder-shown {
        font-size: 24px;
    }

    .tickercast-lookup-button {
        height: 72px;
        padding: 0 22px;
        border-radius: 14px;
        font-size: 32px;
    }
}

@media (max-width: 430px) {
    .tickercast-hero {
        margin-top: -4px;
        padding: 48px 14px 28px 14px;
        background-position: center center;
    }

    .tickercast-logo-mark {
        width: 104px;
        height: 104px;
        margin-bottom: 18px;
    }

    .tickercast-title {
        font-size: 64px !important;
        line-height: 1.03 !important;
    }

    .tickercast-eyebrow {
        margin: 18px 0 20px 0;
        font-size: 40px !important;
        line-height: 1.18 !important;
        letter-spacing: 0.025em;
    }

    .tickercast-eyebrow-subline {
        margin-top: 4px;
        font-size: 40px !important;
        line-height: 1.18 !important;
    }

    .tickercast-week-line {
        font-size: 66px !important;
        line-height: 1.08 !important;
    }

    .tickercast-copy {
        font-size: 38px !important;
        line-height: 1.26 !important;
    }

    .tickercast-copy-secondary {
        margin-bottom: 26px;
    }

    .tickercast-form-note {
        font-size: 14px;
        margin-top: 10px;
    }

    .tickercast-chart-stack > div {
        width: min(80vw, 1280px);
        margin-bottom: 26px;
    }

    .tickercast-lookup-form {
        gap: 10px;
        max-width: min(90vw, 360px);
        margin-left: auto;
        margin-right: auto;
    }

    .tickercast-lookup-input,
    .tickercast-lookup-button {
        width: 100%;
        min-width: 0;
    }

    .tickercast-lookup-input {
        height: 62px;
        padding: 0 16px;
        border-radius: 12px;
        font-size: 26px;
    }

    .tickercast-lookup-input::placeholder,
    .tickercast-lookup-input:placeholder-shown {
        font-size: 20px;
    }

    .tickercast-lookup-button {
        height: 62px;
        padding: 0 18px;
        border-radius: 12px;
        font-size: 24px;
    }
}

@media screen and (max-device-width: 430px) and (orientation: portrait) {
    .tickercast-hero {
        margin-top: -4px;
        padding: 52px 14px 30px 14px;
        background-size: 100% auto;
        background-position: center top;
    }

    .tickercast-logo-mark {
        width: 150px;
        height: 150px;
        margin-bottom: 18px;
    }

    .tickercast-title {
        font-size: 65px !important;
        line-height: 1.02 !important;
    }

    .tickercast-eyebrow {
        margin: 18px 0 20px 0;
        font-size: 38px !important;
        line-height: 1.18 !important;
        letter-spacing: 0.025em;
    }

    .tickercast-eyebrow-subline {
        margin-top: 4px;
        font-size: 38px !important;
        line-height: 1.18 !important;
    }

    .tickercast-week-line {
        font-size: 65px !important;
        line-height: 1.08 !important;
    }

    .tickercast-copy {
        font-size: 32px !important;
        line-height: 1.26 !important;
    }

    .tickercast-copy-secondary {
        margin-bottom: 26px;
    }

    .tickercast-lookup-form {
        gap: 12px;
        max-width: min(96vw, 600px);
        margin-left: auto;
        margin-right: auto;
    }

    .tickercast-lookup-input,
    .tickercast-lookup-button {
        width: 100%;
        min-width: 0;
    }

    .tickercast-lookup-input {
        height: 90px;
        padding: 0 24px;
        border-radius: 14px;
        font-size: 56px !important;
        text-align: center !important;
        margin-bottom: 12px;
    }

    .tickercast-lookup-input::placeholder,
    .tickercast-lookup-input:placeholder-shown {
        font-size: 46px !important;
        text-align: center !important;
    }

    .tickercast-lookup-button {
        height: 90px;
        padding: 0 22px;
        border-radius: 14px;
        font-size: 52px !important;
    }
}

@media screen and (min-device-width: 431px) and (max-device-width: 767px) and (orientation: portrait) {
    .tickercast-hero {
        margin-top: -4px;
        padding: 56px 18px 34px 18px;
        background-size: 100% auto;
        background-position: center top;
    }

    .tickercast-logo-mark {
        width: 138px;
        height: 138px;
        margin-bottom: 20px;
    }

    .tickercast-title {
        font-size: 68px !important;
        line-height: 1.02 !important;
    }

    .tickercast-eyebrow {
        margin: 20px 0 22px 0;
        font-size: 41px !important;
        line-height: 1.18 !important;
        letter-spacing: 0.03em;
    }

    .tickercast-eyebrow-subline {
        margin-top: 4px;
        font-size: 41px !important;
        line-height: 1.18 !important;
    }

    .tickercast-week-line {
        font-size: 70px !important;
        line-height: 1.08 !important;
    }

    .tickercast-copy {
        font-size: 32px !important;
        line-height: 1.28 !important;
    }

    .tickercast-copy-secondary {
        margin-bottom: 28px;
    }

    .tickercast-lookup-form {
        gap: 12px;
        max-width: min(96vw, 600px);
        margin-left: auto;
        margin-right: auto;
    }

    .tickercast-lookup-input,
    .tickercast-lookup-button {
        width: 100%;
        min-width: 0;
    }

    .tickercast-lookup-input {
        height: 90px;
        padding: 0 24px;
        border-radius: 14px;
        font-size: 56px !important;
        text-align: center !important;
        margin-bottom: 12px;
    }

    .tickercast-lookup-input::placeholder,
    .tickercast-lookup-input:placeholder-shown {
        font-size: 46px !important;
        text-align: center !important;
    }

    .tickercast-lookup-button {
        height: 90px;
        padding: 0 22px;
        border-radius: 14px;
        font-size: 52px !important;
    }
}

@media screen and (min-width: 500px) and (max-width: 620px) and (min-height: 680px) and (max-height: 760px) {
    .tickercast-lookup-form {
        gap: 16px !important;
    }

    .tickercast-lookup-input {
        font-size: 42px !important;
        margin-bottom: 12px;
    }

    .tickercast-lookup-input::placeholder,
    .tickercast-lookup-input:placeholder-shown {
        font-size: 42px !important;
    }

    .tickercast-lookup-button {
        font-size: 48px !important;
    }
}
