@import url('https://fonts.googleapis.com/css2?family=Afacad+Flux:wght@100..1000&display=swap');


:root {
    --navy: #000;
    --ink: #24343a;
    --red: #dd3333;
    --gold: #c3a877;
    --muted: #657174;
    --line: #e2e5df;
    --paper: #f6f4ef;
    --font:"Afacad Flux", sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font: 17px/1.5 var(--font);
    color: var(--ink);
    background: var(--paper);
}

button,
input {
    font: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
a,
input {
    -webkit-tap-highlight-color: transparent;
    transition: background .18s, border-color .18s, color .18s, box-shadow .18s;
}

button {
    cursor: pointer;
}

a:hover {
    color: var(--red);
}

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

[hidden] {
    display: none !important;
}

/* One document scroll, with room for validation messages and browser zoom. */
.layout {
    display: grid;
    grid-template-columns: minmax(0, 50fr) minmax(0, 50fr);
    min-height: 100vh;
    min-height: 100dvh;
}

.story {
    display: grid;
    grid-template-rows: auto auto minmax(240px, 1fr) auto auto;
    gap: 24px;
    min-width: 0;
    padding: 36px clamp(28px, 4vw, 68px);
    background: var(--navy);
    color: #f4f0e6;
    overflow: hidden;
}

.story>a {
    width: fit-content;
}

.logo {
    display: block;
    width: 160px;
    max-width: 100%;
}

.eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.7px;
}

.story-copy .eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--gold);
}

.story-copy .eyebrow::before {
    content: '';
    width: 28px;
    height: 1px;
    background: var(--gold);
}

h1,
h2 {
    font-family: var(--font);
    font-weight: 700;
}

.story h2 {
    margin: 14px 0;
    font-size: clamp(38px, 3.8vw, 58px);
    line-height: 1.12;
    letter-spacing: -.7px;
}

.story h2 em {
    color: #d3bd98;
    font-weight: 400;
}

.story-copy p {
    margin: 0;
    color: #bac4c4;
    font-size: 16px;
    line-height: 1.65;
}

.watch-stage {
    position: relative;
    isolation: isolate;
    align-self: center;
    width: 100%;
    height: 100%;
    min-height: 240px;
    max-height: 380px;
    border: 1px solid #c3a87738;
    border-radius: 12px;
    background: #111615;
    overflow: hidden;
}

.watch {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 53%;
    opacity: .9;
}

.edition {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 1;
    padding: 8px 12px;
    background: #101f24ed;
    color: var(--gold);
    font-size: 11px;
    letter-spacing: 1.4px;
    line-height: 1.8;
}

.edition>span {
    display: block;
    color: #ccd2cd;
    font-size: 10px;
    letter-spacing: .7px;
}

.vertical-note {
    display: none;
}

.watch-caption {
    position: absolute;
    inset: auto 0 0;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 36px 20px 18px;
    background: linear-gradient(transparent, #081212f5);
    font-size: 16px;
    color: #d0ba95;
}

.watch-caption small {
    display: block;
    margin-top: 3px;
    color: #c1c9c5;
    font-size: 13px;
}

.caption-line {
    flex-shrink: 0;
    width: 30px;
    height: 1px;
    background: var(--gold);
}

.editorial {
    border-top: 1px solid #ffffff20;
    padding-top: 18px;
}

.editorial-index {
    font-size: 11px;
    letter-spacing: 1.5px;
    color: #a8b7bd;
}

.editorial p {
    margin: 10px 0 0;
    font: 19px/1.5 var(--font);
}

.editorial p em {
    color: #d0ba95;
}

.editorial a {
    display: inline-block;
    margin-top: 10px;
    padding-bottom: 3px;
    color: #d0d9da;
    font-size: 14px;
    border-bottom: 1px solid #bea57966;
}

.editorial a span {
    margin-left: 10px;
    color: var(--gold);
}

.story-bottom {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    border-top: 1px solid #ffffff20;
    padding-top: 18px;
    color: #a8b7bd;
    font-size: 12px;
    line-height: 1.6;
}

.story-bottom strong {
    display: block;
    margin-bottom: 3px;
    color: #e0e6e4;
    font-size: 14px;
    font-weight: 700;
}

.story-bottom>div+div {
    border-left: 1px solid #ffffff20;
    padding-left: 12px;
}

.right {
    display: flex;
    flex-direction: column;
    gap: 28px;
    min-width: 0;
    padding: 28px clamp(24px, 4vw, 64px) 22px;
    background: radial-gradient(ellipse at top right, #eae4d766, transparent 65%), var(--paper);
}

.topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    color: var(--muted);
    font-size: 14px;
}

.back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
}

.back>span {
    font-size: 20px;
}

.support {
    color: var(--ink);
    font-weight: 700;
    margin-left: 4px;
}

.form-wrap {
    --card-padding: 32px;
    width: 100%;
    max-width: 520px;
    flex-shrink: 0;
    align-self: center;
    margin: auto 0;
    padding: var(--card-padding);
    background: #fff;
    border: 1px solid #e4e2d9;
    border-radius: 20px;
    box-shadow: 0 16px 48px #172c2410;
}

.tabs {
    display: flex;
    gap: 6px;
    padding: 5px;
    margin: 0 0 26px;
    border: 1px solid #e9e8e1;
    background: #f5f4ef;
    border-radius: 12px;
}

.tabs a {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 17px;
    font-weight: 700;
    color: var(--muted);
}

.tabs a.active {
    background: #fff;
    color: var(--red);
    box-shadow: 0 2px 8px #25342d12;
}

.tabs a:hover {
    color: var(--red);
    background: #ffffffa6;
}

.account-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.account-heading .eyebrow {
    color: #806d4e;
    font-size: 11px;
    letter-spacing: 1.1px;
}

.account-number {
    color: #89918a;
    font-size: 14px;
}

.form-wrap h1 {
    margin: 0 0 10px;
    font-size: clamp(30px, 2.7vw, 40px);
    line-height: 1.17;
    letter-spacing: -.5px;
    text-wrap: balance;
}

.title-dot {
    color: var(--red);
}

.intro {
    margin: 0 0 24px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--muted);
}

.intro br {
    display: none;
}

.field {
    margin-bottom: 18px;
}

.field label {
    display: block;
    margin-bottom: 7px;
    color: #35434a;
    font-size: 16px;
    font-weight: 700;
}

.input-wrap,
.password {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 19px;
    height: 19px;
    color: #85928e;
    pointer-events: none;
}

.field input {
    display: block;
    width: 100%;
    min-width: 0;
    height: 50px;
    padding: 0 15px 0 44px;
    border: 1px solid #d9dfd8;
    border-radius: 10px;
    background: #fcfcfa;
    color: var(--ink);
    outline: none;
    font-size: 16px;
    line-height: normal;
}

.field input::placeholder {
    color: #7d8889;
    opacity: 1;
    font-size: 16px;
}

.field input:hover {
    border-color: #adbcb0;
}

.field input:focus {
    border-color: #a3895e;
    background: #fff;
    box-shadow: 0 0 0 3px #c3a87724;
}

.input-wrap:focus-within .input-icon,
.password:focus-within .input-icon {
    color: #967649;
}

.password input {
    padding-right: 66px;
}

.reveal {
    position: absolute;
    top: 3px;
    right: 4px;
    width: 54px;
    height: 44px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #5d6b70;
    font-size: 14px;
    font-weight: 700;
}

.reveal:hover {
    background: #eeeae1;
    color: var(--red);
}

.options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin: 0 0 20px;
    font-size: 15px;
}

.options>a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
}

.options>a,
.legal-link {
    color: var(--red);
}

.legal-link {
    text-decoration: underline;
    text-decoration-color: #a52c3955;
    text-underline-offset: 3px;
}

.check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #526166;
    font-size: 15px;
    line-height: 1.55;
    cursor: pointer;
}

.options .check {
    align-items: center;
    min-height: 40px;
}

.check input {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin: 3px 0 0;
    accent-color: var(--red);
    cursor: pointer;
}

.options .check input {
    margin-top: 0;
}

.primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: 100%;
    min-height: 52px;
    padding: 10px 20px;
    border: 1px solid var(--red);
    border-radius: 10px;
    background: var(--red);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    box-shadow: 0 5px 14px #a52c3918;
}

.primary:hover:not(:disabled) {
    background: #8c2330;
    border-color: #8c2330;
    box-shadow: 0 7px 18px #a52c3926;
}

.primary:disabled {
    opacity: .65;
    cursor: not-allowed;
}

.arrow {
    font-size: 23px;
    line-height: 1;
    font-weight: 400;
}

.join {
    margin: 20px 0 0;
    text-align: center;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}

.join a {
    display: inline-block;
    padding: 4px 0;
    margin-left: 4px;
    color: var(--red);
    font-weight: 700;
}

.secure {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding-top: 16px;
    margin-top: 18px;
    border-top: 1px solid #ebede8;
    color: #64766a;
    font-size: 13px;
    text-align: center;
}

.secure-dot {
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #68876c;
}

.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 16px;
    color: #65716b;
    font-size: 13px;
}

.footer>a {
    color: #526367;
}

.demo-note {
    font-size: 12px;
}

.meter {
    display: flex;
    gap: 5px;
    margin-top: -4px;
}

.meter span {
    flex: 1;
    height: 4px;
    background: #e7e9e3;
    border-radius: 3px;
}

.meter span.on {
    background: #a38a60;
}

.helper {
    margin: 8px 0 16px;
    color: #66716c;
    font-size: 13px;
    line-height: 1.5;
}

.terms {
    margin: 16px 0 20px;
}

.error {
    margin-top: 6px;
    font-size: 14px;
    line-height: 1.5;
    color: #a12832;
}

.error:empty,
.status:empty {
    display: none;
}

.field input[aria-invalid=true] {
    border-color: #b93943;
    background: #fff8f8;
}

.check input[aria-invalid=true] {
    outline: 2px solid #b93943;
    outline-offset: 2px;
}

.status {
    margin-top: 16px;
    padding: 12px 14px;
    border: 1px solid #dfd5bf;
    border-radius: 10px;
    background: #faf7ef;
    color: #615036;
    font-size: 15px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.auth-message {
    margin: 0 0 20px;
}

.auth-message p {
    margin: 4px 0;
}

.auth-message[role=alert] {
    color: #9b2633;
    border-color: #ecc8cd;
    background: #fff6f6;
}

.auth-message[role=status] {
    color: #356349;
    border-color: #cee2d4;
    background: #f2f9f4;
}

/* Native disabled controls keep the registration tab available and the form locked. */
.auth-fields {
    min-width: 0;
    padding: 0;
    margin: 0;
    border: 0;
}

.registration-closed[role=status] {
    color: #335574;
    border-color: #ccdceb;
    background: #f0f5fa;
    display: none;
}

.auth-fields:disabled .field input {
    color: #7c888e;
    background: #f7f8f8;
    border-color: #e0e4e6;
    cursor: not-allowed;
}

.auth-fields:disabled .field input::placeholder {
    color: #98a3a9;
}

.auth-fields:disabled .reveal {
    color: #98a3a9;
    background: transparent;
    cursor: not-allowed;
}

.auth-fields:disabled .check,
.auth-fields:disabled .check input {
    cursor: not-allowed;
}

.auth-fields:disabled .primary {
    opacity: .6;
    cursor: not-allowed;
}

.auth-fields:disabled .primary:hover {
    background: var(--red);
    border-color: var(--red);
    box-shadow: 0 5px 14px #a52c3918;
}

.mobile-brand {
    display: none;
}

/* Keep registration compact without reducing input text or touch targets. */
.register .form-wrap {
    max-width: 540px;
    --card-padding: 28px;
}

.register .tabs {
    margin-bottom: 22px;
}

.register .form-wrap h1 {
    font-size: clamp(30px, 2.5vw, 36px);
}

.register .intro {
    margin-bottom: 20px;
}

.register .field {
    margin-bottom: 14px;
}

.register .field input {
    height: 48px;
}

.register .reveal {
    top: 2px;
}

.register .check {
    font-size: 14px;
}

.register .join {
    margin-top: 16px;
}

.register .secure {
    margin-top: 14px;
    padding-top: 14px;
}

@media (min-width: 960px) and (max-width: 1190px) {
    .story {
        padding: 28px;
        gap: 22px;
    }

    .story h2 {
        font-size: 42px;
    }

    .story-copy p br {
        display: none;
    }

    .story-bottom {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .story-bottom>div+div {
        padding-left: 0;
        border: 0;
    }

    .story-bottom strong {
        display: inline;
        margin-right: 5px;
    }

    .right {
        padding: 24px;
    }

    .topline>span {
        font-size: 13px;
    }

    .form-wrap,
    .register .form-wrap {
        --card-padding: 24px;
    }
}

@media (max-width: 959px) {
    .layout {
        display: block;
        min-height: 0;
    }

    .story {
        display: none;
    }

    .mobile-brand {
        display: flex;
        justify-content: center;
        padding: 18px 20px;
        background: #050a30;
    }

    .mobile-brand img {
        display: block;
        width: 140px;
        height: auto;
    }

    .right {
        min-height: calc(100dvh - 90px);
        padding: 20px 24px 24px;
        gap: 22px;
    }

    .topline,
    .footer {
        width: 100%;
        max-width: 540px;
        align-self: center;
    }

    .form-wrap,
    .register .form-wrap {
        max-width: 540px;
    }
}

@media (max-width: 480px) {
    .right {
        padding: 14px 14px 20px;
        gap: 16px;
    }

    .topline {
        font-size: 14px;
        gap: 8px;
    }

    .topline>span {
        font-size: 0;
    }

    .topline .support {
        display: inline-flex;
        align-items: center;
        min-height: 36px;
        font-size: 14px;
    }

    .form-wrap,
    .register .form-wrap {
        --card-padding: 12px;
        border-radius: 16px;
    }

    .tabs,
    .register .tabs {
        margin-bottom: 22px;
    }

    .account-heading .eyebrow {
        font-size: 10px;
        letter-spacing: .7px;
    }

    .account-number {
        display: none;
    }

    .form-wrap h1,
    .register .form-wrap h1 {
        font-size: 31px;
    }

    .intro {
        font-size: 16px;
        margin-bottom: 22px;
    }

    .options {
        font-size: 14px;
        gap: 4px 10px;
    }

    .check {
        font-size: 14px;
    }

    .footer {
        font-size: 12px;
    }

    .footer .demo-note {
        order: 3;
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 359px) {
    .right {
        padding-left: 10px;
        padding-right: 10px;
    }

    .form-wrap,
    .register .form-wrap {
        --card-padding: 18px;
    }

    .form-wrap h1,
    .register .form-wrap h1 {
        font-size: 28px;
    }

    .options {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        transition: none !important;
    }
}

/* Password recovery popup. */
.recovery-dialog {
    width: min(525px, calc(100vw - 32px));
    max-height: calc(100dvh - 32px);
    margin: auto;
    padding: 36px 40px;
    border: 1px solid #e7dfd1;
    border-radius: 20px;
    background: #fff;
    color: #182630;
    box-shadow: 0 24px 80px #0003;
    overflow: auto;
}

.recovery-dialog::before {
    content: "";
    position: absolute;
    top: 0;
    left: 20px;
    right: 20px;
    height: 3px;
    background: linear-gradient(90deg, #e6dcc7, #e52d32, #e6dcc7);
}

.recovery-dialog::backdrop {
    background: rgb(5 19 30 / 68%);
    backdrop-filter: blur(6px);
}

body.recovery-open {
    overflow: hidden;
}

.recovery-dialog h2 {
    margin: 0 36px 10px 0;
    font-size: 30px;
    font-weight: 400;
    line-height: 1.3;
}

.recovery-dialog>p {
    margin: 0 0 26px;
    font-size: 17px;
    line-height: 1.8;
    color: #161616;
}

.recovery-close {
    position: absolute;
    top: 22px;
    right: 23px;
    width: 40px;
    height: 40px;
    border: 1px solid #e1e1dc;
    border-radius: 10px;
    background: #fff;
    color: #111;
    font-size: 25px;
    cursor: pointer;
}

.recovery-dialog .field {
    margin-bottom: 0;
}

.recovery-dialog input {
    width: 100%;
}

.recovery-actions {
    display: grid;
    grid-template-columns: 1fr 1.65fr;
    gap: 13px;
    margin-top: 16px;
}

.recovery-actions button {
    min-height: 60px;
    margin: 0;
    border-radius: 10px;
}

.recovery-actions .primary {
    padding: 0 25px;
}

.recovery-cancel {
    border: 1px solid #e1e1dc;
    background: #fff;
    color: #25343a;
    font: inherit;
    cursor: pointer;
}

.recovery-status {
    margin: 12px 0 0;
    font-size: 15px;
    line-height: 1.6;
}

.recovery-status:empty {
    display: none;
}

.recovery-status.is-error {
    color: #c82129;
}

.recovery-actions button:disabled {
    opacity: .65;
    cursor: wait;
}

.recovery-dialog button:focus-visible {
    outline: 2px solid #ad8552;
    outline-offset: 3px;
}

@media (max-width: 540px) {
    .recovery-dialog {
        padding: 30px 24px 24px;
    }

    .recovery-dialog h2 {
        font-size: 26px;
    }

    .recovery-dialog>p {
        font-size: 16px;
    }

    .recovery-close {
        top: 16px;
        right: 16px;
    }

    .recovery-actions .primary {
        padding: 0 16px;
    }
}