/* ENCRYPTION PAGE */

.encryption-page {
    --encryption-blue: #78b8ff;
    --encryption-violet: #a88cff;
    --encryption-ice: #d9e8ff;
    --encryption-border: rgba(255,255,255,0.11);
    --encryption-border-strong: rgba(120,184,255,0.28);
    --encryption-panel: rgba(9, 14, 29, 0.82);
    background:
            radial-gradient(circle at 10% 0%, rgba(120,184,255,0.24), transparent 32%),
            radial-gradient(circle at 85% 8%, rgba(168,140,255,0.18), transparent 30%),
            radial-gradient(circle at 50% 52%, rgba(120,184,255,0.08), transparent 34%),
            linear-gradient(180deg, #070b16 0%, #0a1020 46%, #070a14 100%);
    color: var(--text);
    overflow-x: hidden;
}

.encryption-shell {
    width: min(1220px, calc(100% - 32px));
    margin: 0 auto;
}

.encryption-shell main {
    display: grid;
    gap: 76px;
    padding-bottom: 54px;
}

.encryption-hero {
    min-height: calc(100vh - 78px);
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(540px, 1.1fr);
    gap: 36px;
    align-items: center;
    padding: 70px 0 28px;
}

.encryption-hero h1,
.encryption-section h2,
.encryption-final-cta h2 {
    margin: 0;
    color: var(--text);
    font-family: Georgia, "Times New Roman", serif;
    letter-spacing: -0.05em;
}

.encryption-hero h1 {
    max-width: 10.4ch;
    margin-top: 18px;
    font-size: clamp(2.8rem, 7vw, 5rem);
    line-height: 0.96;
}

.encryption-lede {
    max-width: 660px;
    margin: 24px 0 0;
    color: var(--encryption-ice);
    font-size: clamp(1.12rem, 2.05vw, 1.52rem);
    line-height: 1.44;
}

.encryption-note {
    max-width: 640px;
    margin: 18px 0 0;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.75;
}

.encryption-hero-card {
    position: relative;
    order: 2;
    min-width: 0;
    overflow: hidden;
    padding: 24px;
    border: 1px solid var(--encryption-border);
    border-radius: 38px;
    background:
            radial-gradient(circle at 20% 10%, rgba(120,184,255,0.14), transparent 30%),
            radial-gradient(circle at 78% 12%, rgba(168,140,255,0.18), transparent 24%),
            linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.02)),
            var(--encryption-panel);
    box-shadow: 0 34px 110px rgba(0,0,0,0.34);
}

.encryption-hero-card::before {
    content: "";
    position: absolute;
    inset: 22px;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 28px;
    pointer-events: none;
}

.encryption-panel-header {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 4px 4px 2px;
}

.encryption-panel-header span,
.encryption-panel-header em,
.encryption-hero-core span,
.encryption-hero-grid span,
.encryption-capability-strip span,
.encryption-path-grid > article > span,
.encryption-recovery-grid > article > span,
.encryption-boundary-grid > article > span,
.encryption-proof-grid > article > span {
    display: block;
    color: var(--text-muted);
    font-size: 0.72rem;
    font-style: normal;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.encryption-panel-header strong {
    display: block;
    margin-top: 4px;
    color: var(--text);
    font-size: 1rem;
}

.encryption-hero-core {
    position: relative;
    z-index: 1;
    grid-column: 1 / -1;
    width: min(100%, 360px);
    margin: 0 auto;
    padding: 28px;
    border: 1px solid var(--encryption-border-strong);
    border-radius: 30px;
    background:
            radial-gradient(circle at top left, rgba(120,184,255,0.14), transparent 34%),
            rgba(10,16,34,0.88);
}

.encryption-hero-core strong {
    display: block;
    margin-top: 8px;
    color: var(--text);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 0.96;
    letter-spacing: -0.07em;
}

.encryption-hero-core p,
.encryption-hero-card-note {
    margin: 12px 0 0;
    color: var(--text-muted);
    line-height: 1.65;
}

.encryption-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.encryption-hero-grid article {
    min-height: 188px;
    padding: 18px;
    border: 1px solid var(--encryption-border);
    border-radius: 24px;
    background:
            linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.018)),
            rgba(8,12,24,0.6);
}

.encryption-hero-grid h3,
.encryption-path-grid h3,
.encryption-recovery-grid h3,
.encryption-boundary-grid h3,
.encryption-proof-grid h3 {
    margin: 14px 0 10px;
    color: var(--text);
    font-size: clamp(1.38rem, 2.25vw, 1.95rem);
    line-height: 1.06;
    letter-spacing: -0.04em;
}

.encryption-hero-grid h3 {
    margin-top: 0;
}

.encryption-hero-grid p,
.encryption-path-grid p,
.encryption-recovery-grid p,
.encryption-boundary-grid p,
.encryption-proof-grid p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.68;
}

.encryption-hero-card-note {
    position: relative;
    z-index: 1;
    padding: 16px 18px 10px;
}

.encryption-capability-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid var(--encryption-border);
    border-radius: 30px;
    background: rgba(255,255,255,0.024);
}

.encryption-capability-strip article {
    min-height: 190px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    padding: 24px;
    border-right: 1px solid rgba(255,255,255,0.07);
    background:
            linear-gradient(135deg, rgba(120,184,255,0.09), transparent 52%),
            rgba(255,255,255,0.018);
}

.encryption-capability-strip article:last-child {
    border-right: 0;
}

.encryption-capability-strip strong {
    color: var(--text);
    font-size: 1.2rem;
    line-height: 1.24;
    letter-spacing: -0.025em;
}

.encryption-section {
    display: grid;
    gap: 26px;
}

.encryption-overview-section,
.encryption-recovery-section,
.encryption-proof-section {
    grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
    align-items: start;
}

.encryption-section-copy {
    position: sticky;
    top: 100px;
}

.encryption-section h2 {
    max-width: 840px;
    margin-top: 10px;
    font-size: clamp(2.55rem, 5vw, 5.1rem);
    line-height: 0.93;
}

.encryption-section p,
.encryption-wide-header p {
    color: var(--text-muted);
    line-height: 1.7;
}

.encryption-section-copy p,
.encryption-wide-header p {
    max-width: 680px;
    margin: 16px 0 0;
    font-size: 1.05rem;
}

.encryption-path-grid,
.encryption-recovery-grid,
.encryption-proof-grid {
    display: grid;
    gap: 14px;
}

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

.encryption-path-grid article,
.encryption-recovery-grid article,
.encryption-proof-grid article {
    min-height: 290px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px;
    border: 1px solid var(--encryption-border);
    border-radius: 30px;
    background:
            radial-gradient(circle at 10% 0%, rgba(120,184,255,0.10), transparent 34%),
            rgba(255,255,255,0.023);
}

.encryption-recovery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.encryption-recovery-grid article:nth-child(2) {
    background:
            linear-gradient(135deg, rgba(168,140,255,0.10), transparent 46%),
            rgba(255,255,255,0.024);
}

.encryption-recovery-grid article:nth-child(3) {
    background:
            linear-gradient(180deg, rgba(120,184,255,0.10), rgba(255,255,255,0.024)),
            rgba(255,255,255,0.02);
}

.encryption-wide-header {
    max-width: 920px;
}

.encryption-boundary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.encryption-boundary-grid article {
    min-height: 250px;
    padding: 24px;
    border: 1px solid var(--encryption-border);
    border-radius: 30px;
    background:
            linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.02)),
            rgba(8,13,26,0.7);
}

.encryption-boundary-alert {
    grid-column: 1 / -1;
    min-height: 0;
    background:
            radial-gradient(circle at top left, rgba(255,204,102,0.16), transparent 24%),
            linear-gradient(135deg, rgba(120,184,255,0.10), rgba(168,140,255,0.08)),
            rgba(10,15,29,0.88);
}

.encryption-boundary-alert h3 {
    font-size: clamp(1.6rem, 2.7vw, 2.3rem);
}

.encryption-proof-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.encryption-final-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    align-items: center;
    padding: 32px;
    border: 1px solid var(--encryption-border);
    border-radius: 36px;
    background:
            linear-gradient(135deg, rgba(120,184,255,0.14), rgba(168,140,255,0.10)),
            rgba(255,255,255,0.024);
}

.encryption-final-cta p {
    max-width: 720px;
}

.encryption-final-cta .cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
}

@media (max-width: 1120px) {
    .encryption-hero,
    .encryption-overview-section,
    .encryption-recovery-section,
    .encryption-proof-section {
        grid-template-columns: 1fr;
    }

    .encryption-hero {
        min-height: 0;
    }

    .encryption-section-copy {
        position: static;
    }

    .encryption-capability-strip,
    .encryption-recovery-grid,
    .encryption-proof-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .encryption-shell {
        width: min(100% - 24px, 1220px);
    }

    .encryption-shell main {
        gap: 56px;
    }

    .encryption-hero {
        padding-top: 48px;
    }

    .encryption-hero h1 {
        max-width: none;
        font-size: clamp(3.15rem, 16vw, 4.85rem);
    }

    .encryption-hero-card {
        padding: 16px;
        border-radius: 28px;
    }

    .encryption-hero-card::before {
        inset: 16px;
        border-radius: 22px;
    }

    .encryption-hero-grid,
    .encryption-capability-strip,
    .encryption-path-grid,
    .encryption-recovery-grid,
    .encryption-boundary-grid,
    .encryption-proof-grid,
    .encryption-final-cta {
        grid-template-columns: 1fr;
    }

    .encryption-capability-strip article {
        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,0.07);
    }

    .encryption-capability-strip article:last-child {
        border-bottom: 0;
    }

    .encryption-section h2 {
        font-size: clamp(2.45rem, 12vw, 3.85rem);
    }

    .encryption-panel-header,
    .encryption-final-cta .cta-actions {
        justify-content: flex-start;
    }
}

.encryption-hero > *,
.encryption-final-cta > * {
    min-width: 0;
    max-width: 100%;
}

.encryption-page .encryption-hero {
    grid-template-columns: minmax(0, 0.92fr) minmax(520px, 1.08fr);
    gap: 34px;
    align-items: center;
}

.encryption-page .encryption-hero-copy {
    grid-column: auto;
    order: 1;
    min-width: 0;
    padding-top: 0;
}

.encryption-page .encryption-hero-card {
    grid-column: auto;
    order: 2;
    margin-top: 0;
}

.encryption-page .encryption-capability-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.encryption-page .encryption-capability-strip article:nth-child(odd),
.encryption-page .encryption-capability-strip article:nth-child(2) {
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.encryption-page .encryption-capability-strip article:nth-child(2n) {
    border-right: 0;
}

.encryption-page .encryption-capability-strip article:nth-last-child(-n+2) {
    border-bottom: 0;
}

.encryption-page .encryption-overview-section {
    grid-template-columns: minmax(0, 1fr);
}

.encryption-page .encryption-overview-section .encryption-section-copy {
    position: static;
    max-width: 920px;
}

.encryption-page .encryption-overview-section .encryption-path-grid {
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
}

.encryption-page .encryption-overview-section .encryption-path-grid article:first-child {
    grid-row: 1 / span 2;
    min-height: 100%;
    justify-content: space-between;
}

.encryption-page .encryption-overview-section .encryption-path-grid article:nth-child(2) {
    grid-column: 2 / 4;
}

@media (max-width: 1120px) {
.encryption-page .encryption-hero-copy,
.encryption-page .encryption-hero-card {
        grid-column: auto;
        margin-top: 0;
    }

.encryption-page .encryption-overview-section .encryption-path-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

.encryption-page .encryption-overview-section .encryption-path-grid article:first-child,
.encryption-page .encryption-overview-section .encryption-path-grid article:nth-child(2) {
        grid-row: auto;
        grid-column: auto;
        min-height: 290px;
    }
}

@media (max-width: 720px) {
.encryption-page .encryption-capability-strip,
.encryption-page .encryption-overview-section .encryption-path-grid {
        grid-template-columns: 1fr;
    }

.encryption-page .encryption-capability-strip article {
        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,0.075);
    }

.encryption-page .encryption-capability-strip article:last-child {
        border-bottom: 0;
    }
}

@media (max-width: 720px) {
.encryption-page .encryption-hero {
        grid-template-columns: 1fr;
    }

.encryption-page .encryption-hero-copy {
        padding-right: 0;
    }

.encryption-page .encryption-hero-card {
        width: 100%;
        margin: 0;
    }
}

@media (max-width: 560px) {
.encryption-hero h1 {
        max-width: 100%;
        font-size: clamp(2rem, 10.5vw, 3.35rem);
        line-height: 0.98;
        letter-spacing: -0.04em;
        overflow-wrap: break-word;
    }
}
