.protocol-open {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    margin-top: 1rem;
    padding: .8rem 1.05rem;
    border: 1px solid rgba(255, 255, 255, .38);
    border-radius: 999px;
    background: #fff;
    color: #061830;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    transition: transform .2s ease, background-color .2s ease, color .2s ease;
}

.protocol-open:hover,
.protocol-open:focus-visible {
    transform: translateY(-2px);
    background: var(--accent, #ff6b24);
    color: #061830;
}

.protocol-modal[hidden] {
    display: none;
}

body.protocol-modal-open {
    overflow: hidden;
}

.protocol-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: grid;
    place-items: center;
    padding: clamp(1rem, 3vw, 2.5rem);
}

.protocol-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    border: 0;
    background: rgba(3, 14, 31, .78);
    backdrop-filter: blur(8px);
    cursor: pointer;
}

.protocol-modal > section {
    position: relative;
    z-index: 1;
    width: min(1050px, 100%);
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    padding: clamp(1.35rem, 4vw, 3rem);
    border-radius: 28px;
    outline: none;
    background: #f7f3ea;
    color: #061830;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .32);
}

.protocol-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid rgba(6, 24, 48, .2);
    border-radius: 50%;
    background: #fff;
    color: #061830;
    font: inherit;
    font-size: 1.7rem;
    line-height: 1;
    cursor: pointer;
}

.protocol-modal h2 {
    max-width: 760px;
    margin: .55rem 3.5rem .75rem 0;
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: .98;
    letter-spacing: -.055em;
}

.protocol-intro {
    max-width: 820px;
    margin: 0 0 1.5rem;
    color: #405066;
    font-size: clamp(1rem, 1.7vw, 1.16rem);
    line-height: 1.65;
}

.protocol-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.protocol-grid article {
    padding: clamp(1.25rem, 3vw, 2rem);
    border-radius: 20px;
    background: #fff;
    color: #061830;
}

.protocol-grid article:first-child {
    background: #dceaff;
}

.protocol-grid small {
    display: inline-block;
    padding: .35rem .55rem;
    border-radius: 999px;
    background: #061830;
    color: #fff;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.protocol-grid h3 {
    margin: .85rem 0 .35rem;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
}

.protocol-grid p {
    margin: 0 0 1.2rem;
    color: #405066;
    line-height: 1.55;
}

.protocol-grid strong {
    display: block;
    margin-top: 1rem;
}

.protocol-grid ul {
    margin: .5rem 0 0;
    padding-left: 1.15rem;
    color: #26384f;
}

.protocol-grid li {
    margin: .45rem 0;
    line-height: 1.45;
}

.protocol-done {
    min-height: 50px;
    margin-top: 1.25rem;
    padding: .8rem 1.15rem;
    border: 0;
    border-radius: 999px;
    background: #061830;
    color: #fff;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.protocol-close:hover,
.protocol-close:focus-visible,
.protocol-done:hover,
.protocol-done:focus-visible {
    outline: 3px solid var(--accent, #ff6b24);
    outline-offset: 3px;
}

@media (max-width: 720px) {
    .protocol-modal {
        align-items: end;
        padding: .5rem;
    }

    .protocol-modal > section {
        max-height: calc(100vh - 1rem);
        border-radius: 22px;
    }

    .protocol-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .protocol-open {
        transition: none;
    }
}
