.trial-page {
    min-height: 72vh;
    padding: clamp(2rem, 4.5vw, 4rem) 0;
    background:
        radial-gradient(circle at 8% 12%, rgba(54, 199, 255, .14), transparent 28rem),
        radial-gradient(circle at 92% 18%, rgba(21, 78, 145, .13), transparent 30rem),
        linear-gradient(150deg, #f8fafc, #fff 55%, #f7fafc);
    color: #17314f;
}

.trial-layout {
    display: grid;
    gap: 1.5rem;
}

.trial-intro {
    position: relative;
    padding: .5rem 0;
}

.trial-eyebrow {
    display: inline-flex;
    margin-bottom: .7rem;
    color: var(--site-primary, #0f6fb3);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.trial-intro h1,
.trial-success h1,
.legal-document h1 {
    margin: 0;
    max-width: 15ch;
    color: #153963;
    font-size: clamp(2.15rem, 6vw, 4.2rem);
    line-height: 1.04;
    letter-spacing: -.045em;
}

.trial-lead {
    max-width: 42rem;
    margin: 1rem 0 0;
    color: #4d627a;
    font-size: clamp(1.02rem, 2vw, 1.22rem);
    line-height: 1.6;
}

.trial-no-charge {
    max-width: 42rem;
    margin: 1rem 0 0;
    padding: .9rem 1rem;
    border: 1px solid #b9ddcf;
    border-radius: 1rem;
    background: rgba(235, 250, 244, .88);
    color: #215c48;
    font-size: .92rem;
    line-height: 1.55;
}

.trial-trust {
    display: grid;
    gap: .5rem;
    margin: 1.25rem 0 0;
    padding: 0;
    list-style: none;
}

.trial-trust li {
    display: flex;
    align-items: center;
    gap: .65rem;
    color: #294763;
    font-weight: 700;
}

.trial-trust span {
    display: grid;
    width: 1.55rem;
    height: 1.55rem;
    place-items: center;
    border-radius: 50%;
    background: #eaf7f0;
    color: #13804c;
}

.trial-intro__visual {
    display: none;
}

.trial-card {
    padding: clamp(1.1rem, 3vw, 1.65rem);
    border: 1px solid rgba(27, 68, 108, .1);
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 25px 70px rgba(27, 61, 97, .13);
    backdrop-filter: blur(10px);
}

.trial-form {
    display: grid;
    gap: .75rem;
}

.trial-required {
    color: #b42318;
}

.trial-cuit-step {
    padding: 1rem;
    border: 1px solid #c9dded;
    border-radius: 1rem;
    background: linear-gradient(145deg, #f5faff, #fff);
}

.trial-step-heading,
.trial-details legend {
    display: flex;
    align-items: center;
    gap: .75rem;
    color: #173f65;
    font-weight: 800;
}

.trial-step-heading > span,
.trial-details legend > span {
    display: grid;
    width: 2rem;
    height: 2rem;
    flex: 0 0 2rem;
    place-items: center;
    border-radius: 50%;
    background: #1768ac;
    color: #fff;
}

.trial-step-heading small {
    display: block;
    margin-top: .2rem;
    color: #62798d;
    font-weight: 500;
}

.trial-cuit-control {
    margin-top: .9rem;
}

.trial-cuit-control > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .55rem;
}

.trial-cuit-control button {
    min-height: 2.85rem;
    padding: .65rem 1rem;
    border: 0;
    border-radius: .8rem;
    background: #1768ac;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 800;
}

.trial-cuit-control button:disabled {
    cursor: wait;
    opacity: .65;
}

.trial-cuit-status {
    min-height: 0;
    color: #236548;
    font-size: .82rem;
    font-weight: 700;
}

.trial-cuit-status:empty {
    display: none;
}

.trial-details {
    display: grid;
    min-width: 0;
    gap: .75rem;
    margin: .15rem 0 0;
    padding: 1rem;
    border: 1px solid #d8e4ee;
    border-radius: 1rem;
}

.trial-details legend {
    padding: 0 .35rem;
}

.trial-details:disabled {
    background: #f7f9fb;
    opacity: .72;
}

.trial-field {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: .3rem;
}

.trial-field label,
.trial-consent label {
    color: #244561;
    font-size: .91rem;
    font-weight: 750;
}

.trial-field input,
.trial-field select {
    width: 100%;
    min-height: 2.85rem;
    padding: .65rem .9rem;
    border: 1px solid #cbd7e2;
    border-radius: .8rem;
    background: #fff;
    color: #183b59;
    font: inherit;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.trial-field input:hover,
.trial-field select:hover {
    border-color: #92abc0;
}

.trial-field input:focus,
.trial-field select:focus {
    border-color: #1768ac;
    box-shadow: 0 0 0 4px rgba(23, 104, 172, .13);
    outline: none;
}

.trial-phone-control {
    display: grid;
    grid-template-columns: 8rem minmax(0, 1fr);
    gap: .5rem;
}

.trial-country-select {
    position: relative;
    min-width: 0;
}

.trial-country-select__toggle {
    display: flex;
    width: 100%;
    min-height: 2.85rem;
    align-items: center;
    gap: .45rem;
    padding: .5rem .65rem;
    border: 1px solid #cbd7e2;
    border-radius: .8rem;
    background: #fff;
    color: #183b59;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.trial-country-select__toggle:hover {
    border-color: #92abc0;
}

.trial-country-select__toggle:focus-visible,
.trial-country-select__toggle[aria-expanded="true"] {
    border-color: #1768ac;
    box-shadow: 0 0 0 4px rgba(23, 104, 172, .13);
    outline: none;
}

.trial-country-select__toggle img,
.trial-country-select__option img {
    width: 1.5rem;
    height: 1.5rem;
    flex: 0 0 1.5rem;
    border-radius: .18rem;
    object-fit: cover;
}

.trial-country-select__chevron {
    margin-left: auto;
    color: #58718a;
    font-size: .9rem;
    line-height: 1;
}

.trial-country-select__options {
    position: absolute;
    z-index: 30;
    top: calc(100% + .4rem);
    left: 0;
    width: min(18rem, calc(100vw - 3rem));
    max-height: 18rem;
    padding: .35rem;
    overflow-y: auto;
    border: 1px solid #cbd7e2;
    border-radius: .85rem;
    background: #fff;
    box-shadow: 0 18px 42px rgba(21, 57, 99, .18);
}

.trial-country-select__options[hidden] {
    display: none;
}

.trial-country-select__option {
    display: flex;
    width: 100%;
    align-items: center;
    gap: .65rem;
    padding: .55rem .6rem;
    border: 0;
    border-radius: .6rem;
    background: transparent;
    color: #244561;
    cursor: pointer;
    font: inherit;
    text-align: left;
}

.trial-country-select__option span {
    flex: 1;
}

.trial-country-select__option strong {
    color: #58718a;
    font-size: .82rem;
}

.trial-country-select__option:hover,
.trial-country-select__option:focus-visible,
.trial-country-select__option.is-selected {
    background: #edf6fc;
    outline: none;
}

.trial-country-select__option:focus-visible {
    box-shadow: inset 0 0 0 2px #1768ac;
}

.trial-field small {
    color: #6b7f91;
    font-size: .78rem;
    line-height: 1.35;
}

.trial-field__error {
    display: block;
    color: #b42318;
    font-size: .8rem;
    font-weight: 650;
}

.trial-field__error:empty {
    display: none;
}

.trial-field.has-error input,
.trial-field.has-error select {
    border-color: #d92d20;
}

.trial-field.has-error .trial-country-select__toggle {
    border-color: #d92d20;
}

.trial-consent {
    display: grid;
    grid-template-columns: 1.25rem 1fr;
    gap: .4rem .65rem;
    align-items: start;
}

.trial-consent input {
    width: 1.15rem;
    height: 1.15rem;
    margin-top: .15rem;
    accent-color: #1768ac;
}

.trial-consent.has-error input {
    outline: 2px solid #d92d20;
    outline-offset: 2px;
}

.trial-consent.has-error label {
    color: #8d2018;
}

.trial-consent label {
    font-weight: 500;
    line-height: 1.55;
}

.trial-consent a,
.trial-alert a {
    color: #0f5e9c;
    font-weight: 750;
    text-decoration: underline;
    text-underline-offset: .18em;
}

.trial-consent .trial-field__error {
    grid-column: 2;
}

.trial-submit {
    display: inline-flex;
    min-height: 3rem;
    align-items: center;
    justify-content: center;
    padding: .75rem 1.2rem;
    border: 0;
    border-radius: .9rem;
    background: linear-gradient(135deg, var(--site-primary, #0f6fb3), #0d78bd);
    box-shadow: 0 12px 28px rgba(15, 111, 179, .24);
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 800;
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.trial-submit:hover,
.trial-submit:focus-visible {
    box-shadow: 0 16px 32px rgba(15, 111, 179, .32);
    filter: saturate(1.08);
    outline: 3px solid rgba(23, 104, 172, .22);
    outline-offset: 3px;
    transform: translateY(-1px);
}

.trial-submit:active {
    transform: translateY(1px);
}

.trial-submit:disabled {
    box-shadow: none;
    cursor: not-allowed;
    filter: grayscale(.35);
    opacity: .65;
}

.trial-submit__loading {
    display: none;
    align-items: center;
    gap: .65rem;
}

.trial-submit.is-loading [data-trial-submit-label] {
    display: none;
}

.trial-submit.is-loading .trial-submit__loading {
    display: inline-flex;
}

.trial-spinner {
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(255, 255, 255, .45);
    border-top-color: #fff;
    border-radius: 50%;
    animation: trial-spin .7s linear infinite;
}

.trial-alert {
    margin-bottom: .75rem;
    padding: .75rem .9rem;
    border-radius: .8rem;
    line-height: 1.5;
}

.trial-alert[hidden] {
    display: none;
}

.trial-alert p {
    margin: 0 0 .35rem;
}

.trial-alert--error {
    border: 1px solid #f1b2ac;
    background: #fff1f0;
    color: #8d2018;
}

.trial-alert--support {
    border: 1px solid #b8d8ef;
    background: #edf7fd;
    color: #174d72;
}

.trial-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.trial-page--confirmation {
    display: grid;
    min-height: 78vh;
    place-items: center;
}

.trial-success {
    max-width: 48rem;
    margin: auto;
    padding: clamp(2rem, 6vw, 4rem);
    border: 1px solid rgba(27, 68, 108, .1);
    border-radius: 1.8rem;
    background: #fff;
    box-shadow: 0 28px 75px rgba(27, 61, 97, .14);
    text-align: center;
}

.trial-success h1 {
    max-width: none;
    font-size: clamp(2rem, 6vw, 3.65rem);
}

.trial-success > p {
    max-width: 38rem;
    margin: 1.15rem auto;
    color: #536a80;
    font-size: 1.07rem;
    line-height: 1.65;
}

.trial-success__email {
    display: inline-block;
    padding: .7rem 1rem;
    border-radius: 999px;
    background: #edf5fb;
    color: #174f7d;
}

.trial-success__hint {
    font-size: .92rem !important;
}

.trial-success__steps {
    display: grid;
    gap: .65rem;
    max-width: 34rem;
    margin: 1.4rem auto;
    padding: 0;
    list-style: none;
    text-align: left;
}

.trial-success__steps li {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .7rem .85rem;
    border: 1px solid #d7e5ef;
    border-radius: .85rem;
    background: #f8fbfd;
    color: #35536e;
}

.trial-success__steps span {
    display: grid;
    width: 1.8rem;
    height: 1.8rem;
    flex: 0 0 1.8rem;
    place-items: center;
    border-radius: 50%;
    background: #1768ac;
    color: #fff;
    font-weight: 800;
}

.trial-success__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
    justify-content: center;
    margin-top: 1.7rem;
}

.trial-envelope {
    position: relative;
    width: 9rem;
    height: 7rem;
    margin: 0 auto 1.5rem;
}

.trial-envelope__back,
.trial-envelope__front {
    position: absolute;
    inset: 1.6rem 0 0;
    border-radius: .5rem;
    background: #1d629b;
}

.trial-envelope__back {
    clip-path: polygon(0 0, 50% 55%, 100% 0, 100% 100%, 0 100%);
}

.trial-envelope__front {
    z-index: 3;
    background: linear-gradient(145deg, #2c7bb8, #174e80);
    clip-path: polygon(0 10%, 50% 58%, 100% 10%, 100% 100%, 0 100%);
}

.trial-envelope__paper {
    position: absolute;
    z-index: 2;
    top: 2.2rem;
    left: 1.3rem;
    width: 6.4rem;
    height: 4.5rem;
    padding-top: .65rem;
    border-radius: .35rem;
    background: #edf8ff;
    color: var(--site-primary, #0f6fb3);
    font-size: 1.5rem;
    font-weight: 800;
    animation: trial-letter 1.3s cubic-bezier(.2, .8, .2, 1) both;
}

.trial-particle {
    position: absolute;
    width: .48rem;
    height: .48rem;
    border-radius: 50%;
    background: #36c7ff;
    animation: trial-particle 1.5s ease-out infinite;
}

.trial-particle--one { left: .3rem; top: .8rem; }
.trial-particle--two { right: .5rem; top: .2rem; animation-delay: .25s; background: #2a78b4; }
.trial-particle--three { right: -.2rem; top: 2.2rem; animation-delay: .5s; background: #33a36f; }

.legal-document {
    max-width: 58rem;
}

.legal-document__header {
    margin-bottom: 2.5rem;
}

.legal-document h1 {
    max-width: none;
    font-size: clamp(2.1rem, 5vw, 3.7rem);
}

.legal-document__header > p,
.legal-section p {
    color: #50677d;
    line-height: 1.75;
}

.legal-draft {
    margin-top: 1.5rem;
    padding: .9rem 1rem;
    border: 1px solid #b8d8ef;
    border-radius: .75rem;
    background: #edf7fd;
    color: #174d72;
    font-weight: 700;
}

.legal-section {
    padding: 1.6rem 0;
    border-top: 1px solid #dce5ec;
}

.legal-section h2 {
    margin: 0 0 .6rem;
    color: #173f65;
    font-size: 1.22rem;
}

.legal-section p {
    margin: 0;
}

@keyframes trial-spin {
    to { transform: rotate(360deg); }
}

@keyframes trial-letter {
    0% { opacity: 0; transform: translateY(2.8rem) scale(.9); }
    70%, 100% { opacity: 1; transform: translateY(-1.7rem) scale(1); }
}

@keyframes trial-particle {
    0% { opacity: 0; transform: translateY(.8rem) scale(.3); }
    35% { opacity: .9; }
    100% { opacity: 0; transform: translateY(-2rem) scale(1); }
}

@media (min-width: 44rem) {
    .trial-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .trial-field--wide {
        grid-column: 1 / -1;
    }

    .trial-details {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 30rem) {
    .trial-cuit-control > div {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 64rem) {
    .trial-layout {
        grid-template-columns: minmax(0, .9fr) minmax(31rem, 1.1fr);
        gap: clamp(3rem, 7vw, 7rem);
        align-items: center;
    }

    .trial-intro__visual {
        position: relative;
        display: grid;
        width: 12rem;
        height: 12rem;
        margin: 2.4rem 0 0 1rem;
        place-items: center;
        border-radius: 2.2rem;
        background: linear-gradient(145deg, #1f6da8, #173f69);
        box-shadow: 0 22px 50px rgba(20, 64, 105, .23);
        color: #fff;
        font-size: 3rem;
        transform: rotate(-4deg);
    }

    .trial-orbit {
        position: absolute;
        border: 1px solid rgba(255, 255, 255, .3);
        border-radius: 50%;
    }

    .trial-orbit--one { width: 15rem; height: 6rem; transform: rotate(28deg); }
    .trial-orbit--two { width: 6rem; height: 15rem; transform: rotate(28deg); }
}

@media (prefers-reduced-motion: reduce) {
    .trial-page *,
    .trial-page *::before,
    .trial-page *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
