.trial-creator-page {
    position: relative;
    overflow: hidden;
    overflow-x: clip;
    min-height: 72vh;
    background: #eef2f7;
    color: #0f172a;
    font-family: var(--font-body);
}

.trial-creator-page::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 5px;
    background: linear-gradient(90deg, #f43f93 0 18%, #0f172a 18% 74%, #2563eb 74% 100%);
}

.trial-creator-page::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 42%;
    background: #fff;
    clip-path: polygon(0 34%, 100% 0, 100% 100%, 0 100%);
}

.trial-creator-hero {
    position: relative;
    z-index: 1;
    padding: 88px 0 92px;
}

.trial-creator-page .container {
    width: min(100% - 40px, 1240px);
    max-width: 1240px;
    margin: 0 auto;
    box-sizing: border-box;
}

.trial-creator-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 520px;
    gap: 72px;
    align-items: center;
}

.trial-creator-copy {
    max-width: 760px;
}

.trial-creator-kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 22px;
    color: #475569;
    font-family: var(--font-body);
    font-size: .95rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.trial-creator-kicker span {
    display: inline-block;
    width: 42px;
    height: 3px;
    background: linear-gradient(90deg, #f43f93, #2563eb);
}

.trial-creator-title {
    max-width: 640px;
    margin: 0;
    color: #0f172a;
    font-family: var(--font-head);
    font-size: clamp(2.15rem, 3.9vw, 3.7rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: 0;
}

.trial-creator-title span {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.trial-creator-lead {
    max-width: 540px;
    margin: 24px 0 0;
    color: #475569;
    font-family: var(--font-body);
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.7;
}

.trial-creator-actions {
    position: relative;
    display: inline-flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    margin-top: 34px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.trial-creator-actions::before {
    display: none;
}

.trial-creator-button--primary {
    --pc-button-min-width: 285px;
}

.trial-creator-button--secondary {
    --pc-button-min-width: 170px;
}

.trial-creator-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    max-width: 680px;
    margin-top: 36px;
}

.trial-creator-facts div {
    display: flex;
    min-height: 68px;
    align-items: center;
    gap: 11px;
    padding: 14px;
    border: 1px solid #dbe2ea;
    border-radius: 8px;
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 18px 44px -38px rgba(15, 23, 42, .55);
}

.trial-creator-facts i {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #eff6ff;
    color: #2563eb;
}

.trial-creator-facts strong {
    color: #0f172a;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.25;
}

.trial-creator-panel {
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, .12);
    border-radius: 8px;
    background: #fff;
    box-shadow: none;
}

.trial-creator-panel-head {
    display: flex;
    min-height: 58px;
    align-items: center;
    gap: 8px;
    padding: 0 18px;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
}

.trial-creator-panel-head span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #cbd5e1;
}

.trial-creator-panel-head span:first-child {
    background: #f43f93;
}

.trial-creator-panel-head span:nth-child(2) {
    background: #2563eb;
}

.trial-creator-panel-head strong {
    margin-left: 8px;
    color: #334155;
    font-size: 13px;
    font-weight: 900;
}

.trial-creator-workspace {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) 160px;
    gap: 14px;
    min-height: 360px;
    padding: 18px;
    background:
        linear-gradient(rgba(15, 23, 42, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, .045) 1px, transparent 1px),
        #f8fafc;
    background-size: 28px 28px;
}

.trial-creator-toolbar {
    display: grid;
    gap: 10px;
    align-content: start;
}

.trial-creator-toolbar i {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid #dbe2ea;
    border-radius: 8px;
    background: #fff;
    color: #0f172a;
    box-shadow: 0 14px 26px -22px rgba(15, 23, 42, .6);
}

.trial-creator-canvas {
    display: flex;
    min-height: 320px;
    flex-direction: column;
    justify-content: center;
    padding: 28px;
    border: 1px solid #dbe2ea;
    border-radius: 8px;
    background: #fff;
}

.trial-creator-canvas-label {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 24px;
    padding: 7px 10px;
    border-radius: 8px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 12px;
    font-weight: 900;
}

.trial-creator-placeholder {
    width: 58%;
    height: 13px;
    margin-top: 12px;
    border-radius: 8px;
    background: #dbe2ea;
}

.trial-creator-placeholder--wide {
    width: 82%;
    height: 20px;
    margin-top: 0;
    background: #0f172a;
}

.trial-creator-placeholder--short {
    width: 42%;
}

.trial-creator-mini-actions {
    display: flex;
    gap: 10px;
    margin-top: 32px;
}

.trial-creator-mini-actions span {
    width: 46px;
    height: 40px;
    border-radius: 8px;
    background: #eef2ff;
}

.trial-creator-mini-actions span:nth-child(2) {
    background: #fce7f3;
}

.trial-creator-mini-actions span:nth-child(3) {
    background: #e0f2fe;
}

.trial-creator-settings {
    display: grid;
    gap: 12px;
    align-content: start;
}

.trial-creator-settings div {
    padding: 13px;
    border: 1px solid #dbe2ea;
    border-radius: 8px;
    background: #fff;
}

.trial-creator-settings strong {
    display: block;
    color: #0f172a;
    font-size: 13px;
    font-weight: 900;
}

.trial-creator-settings span {
    display: block;
    width: 100%;
    height: 8px;
    margin-top: 12px;
    border-radius: 8px;
    background: linear-gradient(90deg, #f43f93, #2563eb);
}

.trial-creator-panel-foot {
    display: flex;
    min-height: 62px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 0 18px;
    border-top: 1px solid rgba(16, 185, 129, .24);
    background:
        linear-gradient(135deg, rgba(220, 252, 231, .98) 0%, rgba(239, 246, 255, .98) 62%, rgba(253, 242, 248, .96) 100%);
    color: #047857;
}

.trial-creator-panel-foot span {
    font-size: 13px;
    font-weight: 900;
}

.trial-creator-panel-foot strong {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    padding: 0 12px;
    border: 1px solid rgba(16, 185, 129, .28);
    border-radius: 999px;
    background: #fff;
    color: #0f172a;
    font-size: 20px;
    font-weight: 950;
    box-shadow: 0 14px 26px -22px rgba(15, 23, 42, .55);
}

html.trial-login-modal-open,
body.trial-login-modal-open {
    overflow: hidden;
}

.trial-login-modal[hidden] {
    display: none !important;
}

.trial-login-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: grid;
    place-items: center;
    width: 100vw;
    max-width: 100vw;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .18s ease, visibility .18s ease;
}

.trial-login-modal,
.trial-login-modal * {
    box-sizing: border-box;
}

.trial-login-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.trial-login-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .62);
    backdrop-filter: blur(10px);
}

.trial-login-dialog {
    position: relative;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    --login-ink: var(--pc-account-ink);
    --login-panel: var(--pc-account-paper);
    --login-line: var(--pc-account-line);
    --login-muted: var(--pc-account-muted);
    --login-blue: var(--pc-account-blue);
    --login-pink: var(--pc-account-pink);
    --login-green: var(--pc-account-green);
    --login-field: var(--pc-account-field);
    --login-field-border: var(--pc-account-field-border);
    --login-focus: var(--pc-account-focus);
    --login-btn-height: 54px;
    --login-btn-radius: var(--pc-account-radius-md);
    --login-btn-font-size: 15px;
    --login-btn-font-weight: 900;
    width: min(100%, 520px);
    max-width: calc(100vw - 48px);
    max-height: min(760px, calc(100vh - 48px));
    max-height: min(760px, calc(100dvh - 48px));
    overflow: hidden;
    padding: 0;
    border: 1px solid rgba(226, 232, 240, .96);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 28px 80px -38px rgba(15, 23, 42, .72);
    transform: translateY(12px) scale(.98);
    transition: transform .18s ease;
}

.trial-login-dialog::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    z-index: 2;
    height: 5px;
    background: linear-gradient(90deg, var(--login-pink), var(--login-blue));
}

.trial-login-modal.is-open .trial-login-dialog {
    transform: translateY(0) scale(1);
}

.trial-login-close {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 4;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    color: #334155;
    background: #fff;
    cursor: pointer;
}

.trial-login-close:hover,
.trial-login-close:focus-visible {
    color: #2563eb;
    border-color: #bfdbfe;
    outline: none;
}

.trial-login-intro {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 18px;
    align-items: flex-start;
    padding: 32px 88px 24px 32px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
    background: #ffffff;
}

.trial-login-head-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border: 1px solid rgba(37, 99, 235, 0.16);
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(236, 72, 153, 0.14), rgba(37, 99, 235, 0.12)),
        #ffffff;
    color: var(--login-blue);
    font-size: 1.25rem;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.10);
}

.trial-login-head-copy {
    min-width: 0;
}

.trial-login-eyebrow {
    display: inline-flex;
    align-items: center;
    margin-bottom: 8px;
    color: var(--login-muted);
    font-size: 0.86rem;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.08;
    text-transform: uppercase;
}

.trial-login-head-copy h2 {
    margin: 0;
    color: var(--login-ink);
    font-family: var(--font-head, var(--pc-account-font-heading));
    font-size: clamp(1.7rem, 2.4vw, 2.25rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: 0;
}

.trial-login-head-copy p {
    max-width: 36rem;
    margin: 10px 0 0;
    color: var(--login-muted);
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.55;
}

.trial-login-card {
    min-height: 0;
    display: block;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 26px 30px 28px;
    border: 0;
    border-radius: 0;
    background: #ffffff;
}

.trial-login-form[hidden],
.trial-login-success[hidden],
.trial-login-feedback[hidden] {
    display: none !important;
}

.trial-login-feedback {
    margin: 0 0 16px;
    padding: 12px 14px;
    border: 1px solid #bfdbfe;
    border-radius: 14px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: .9rem;
    font-weight: 800;
    line-height: 1.45;
}

.trial-login-feedback.is-error {
    border-color: #fecaca;
    background: #fef2f2;
    color: #b91c1c;
}

.trial-login-feedback.is-success {
    border-color: #bbf7d0;
    background: #f0fdf4;
    color: #047857;
}

.trial-login-card .account-form-btn {
    margin-bottom: 14px;
}

.trial-login-card .cf-turnstile {
    display: flex;
    justify-content: center;
    margin: 2px 0 16px;
    overflow: hidden;
    max-width: 100%;
}

.trial-login-success {
    display: grid;
    justify-items: center;
    gap: 10px;
    padding: 8px 0 0;
    text-align: center;
}

.trial-login-success__icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #ffffff;
    background: linear-gradient(135deg, var(--login-green), var(--login-blue));
    box-shadow: 0 18px 32px -22px rgba(15, 23, 42, .5);
}

.trial-login-success strong {
    color: var(--login-ink);
    font-family: var(--pc-account-font-heading);
    font-size: 1.35rem;
    font-weight: 900;
}

.trial-login-success p {
    max-width: 32ch;
    margin: 0;
    color: var(--login-muted);
    font-weight: 650;
    line-height: 1.55;
}

.trial-login-start {
    margin-top: 8px;
    text-decoration: none;
}

@media (max-width: 1120px) {
    .trial-creator-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .trial-creator-title {
        max-width: 680px;
        font-size: clamp(2.05rem, 6vw, 3.05rem);
    }

    .trial-creator-panel {
        max-width: 720px;
    }
}

@media (max-width: 760px) {
    .trial-creator-hero {
        padding: 48px 0 58px;
    }

    .trial-creator-page .container {
        width: min(100% - 28px, 1240px);
    }

    .trial-creator-grid {
        justify-items: center;
        gap: 0;
        text-align: center;
    }

    .trial-creator-copy {
        display: contents;
    }

    .trial-creator-kicker {
        order: 1;
        justify-content: center;
        justify-self: center;
        margin-bottom: 18px;
    }

    .trial-creator-title {
        order: 2;
        justify-self: center;
        max-width: 100%;
        font-size: clamp(1.75rem, 7.8vw, 2.35rem);
        line-height: 1.14;
        text-align: center;
    }

    .trial-creator-panel {
        order: 3;
        width: min(100%, 340px);
        margin: 20px auto 0;
        justify-self: center;
        border-color: rgba(15, 23, 42, .09);
    }

    .trial-creator-panel-head {
        min-height: 42px;
        gap: 6px;
        padding: 0 12px;
    }

    .trial-creator-panel-head span {
        width: 7px;
        height: 7px;
    }

    .trial-creator-panel-head strong {
        margin-left: 5px;
        font-size: 11px;
    }

    .trial-creator-lead {
        order: 4;
        max-width: 34rem;
        margin: 26px auto 0;
        font-size: 1rem;
        line-height: 1.7;
        text-align: center;
    }

    .trial-creator-actions {
        order: 5;
        display: grid;
        width: 100%;
        max-width: 360px;
        margin: 28px auto 0;
        padding: 0;
        justify-self: center;
        justify-items: center;
        place-items: center;
    }

    .trial-creator-button {
        width: 100%;
        max-width: 360px;
        min-width: 0;
        padding-right: 20px;
        padding-left: 20px;
        justify-self: center;
        white-space: normal;
        line-height: 1.15;
    }

    .trial-creator-facts {
        order: 6;
        grid-template-columns: 1fr;
        width: min(100%, 420px);
        margin: 26px auto 0;
        justify-self: center;
    }

    .trial-creator-facts div {
        justify-content: center;
        text-align: center;
    }

    .trial-creator-workspace {
        grid-template-columns: 1fr;
        min-height: auto;
        gap: 10px;
        padding: 10px;
        background-size: 22px 22px;
    }

    .trial-creator-toolbar {
        grid-template-columns: repeat(4, 34px);
        justify-content: center;
        gap: 8px;
    }

    .trial-creator-toolbar i {
        width: 34px;
        height: 34px;
        font-size: .8rem;
        box-shadow: none;
    }

    .trial-creator-canvas {
        min-height: 172px;
        padding: 16px;
    }

    .trial-creator-canvas-label {
        margin-bottom: 16px;
        padding: 6px 9px;
        font-size: 11px;
    }

    .trial-creator-placeholder {
        height: 9px;
        margin-top: 9px;
    }

    .trial-creator-placeholder--wide {
        height: 14px;
    }

    .trial-creator-mini-actions {
        justify-content: center;
        gap: 8px;
        margin-top: 20px;
    }

    .trial-creator-mini-actions span {
        width: 36px;
        height: 30px;
    }

    .trial-creator-settings {
        display: none;
    }

    .trial-creator-panel-foot {
        min-height: 48px;
        gap: 12px;
        padding: 0 12px;
    }

    .trial-creator-panel-foot span {
        font-size: 11px;
    }

    .trial-creator-panel-foot strong {
        min-height: 28px;
        padding: 0 10px;
        font-size: 16px;
    }

    .trial-login-modal {
        padding: 14px;
        align-items: end;
    }

    .trial-login-dialog {
        width: 100%;
        max-width: calc(100vw - 28px);
        max-height: calc(100vh - 28px);
        max-height: calc(100dvh - 28px);
    }

    .trial-login-intro {
        grid-template-columns: 46px minmax(0, 1fr);
        gap: 12px;
        padding: 26px 56px 18px 18px;
    }

    .trial-login-head-icon {
        width: 46px;
        height: 46px;
        border-radius: 15px;
        font-size: 1rem;
    }

    .trial-login-head-copy h2 {
        font-size: clamp(1.45rem, 7vw, 1.9rem);
    }

    .trial-login-head-copy p {
        font-size: 0.9rem;
        line-height: 1.45;
    }

    .trial-login-card {
        padding: 22px 18px 22px;
    }

    .trial-login-card .form-tools {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }
}
