@charset "utf-8";

/*
    Security and your data - /features/security.

    ? Five facts: a technician's view hides the books a per-role permission would hide anyway, every
    ? change leaves a trace, backups actually restore, data exports on request, and it is hosted in
    ? Canada. The hero dramatizes the one fact that is actually visual (the same schedule, two roles,
    ? one with prices and one without); the four remaining facts sit in a plain row list below - a
    ? trust page earns that treatment by being matter-of-fact, not by being dramatic about it.

    ? Same ground as the rest of the site (concrete, the brand's steel, red used the way a shop uses
    ? paint). Scoped under .security-page so the shared components keep their look elsewhere.
*/

.security-page {
    --sec-concrete: #e8ebee;
    --sec-paper: #f4f6f7;
    --sec-line: #cdd4da;
    --sec-ink: #151b21;
    --sec-steel: #1f272f;
    --sec-text: #36424d;
    --sec-muted: #55616c;
    --sec-red: #fb172b;
    --sec-red-dark: #d9101f;

    font-family: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-stretch: 100%;
    color: var(--sec-text);
}

.security-page .sec-hero-title,
.security-page .sec-section-title,
.security-page .fact-name {
    font-stretch: 76%;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0;
}

.security-page a:focus-visible {
    outline: 3px solid var(--sec-ink);
    outline-offset: 3px;
}

/*-------------------------------------------------------------------------------------------------
    Hero - dark, so the two-role view is the lightest thing on the first screen
-------------------------------------------------------------------------------------------------*/

.security-page .sec-hero {
    position: relative;
    background-color: var(--sec-ink);
    color: #c3ccd5;
    padding: clamp(48px, 7vw, 88px) 0 clamp(56px, 7vw, 88px);
}

.security-page .sec-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background-image: repeating-linear-gradient(90deg, var(--sec-red) 0 28px, transparent 28px 48px);
}

.security-page .sec-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
}

.security-page .sec-hero-eyebrow {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--sec-red);
    margin: 0 0 14px;
}

.security-page .sec-hero-title {
    margin: 0 0 24px;
    font-size: clamp(38px, 4.6vw, 62px);
    line-height: 1;
    color: #ffffff;
    max-width: 16ch;
    text-wrap: balance;
}

.security-page .sec-hero-lede {
    margin: 0 0 32px;
    font-size: 18px;
    line-height: 1.6;
    color: #c3ccd5;
    max-width: 50ch;
}

.security-page .sec-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.security-page .btn-sec-ghost,
.security-page .btn-sec-ghost:focus {
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.6);
    color: #ffffff;
}

.security-page .btn-sec-ghost:hover {
    background-color: #ffffff;
    border-color: #ffffff;
    color: var(--sec-ink);
}

/*  The two-role view ------------------------------------------------------------------------------ */

.security-page .perm-card {
    margin: 0 0 0 auto;
    width: 100%;
    max-width: 440px;
    background-color: var(--sec-paper);
    border-radius: 14px;
    padding: 18px 20px 20px;
    box-shadow: 0 40px 60px -36px rgba(0, 0, 0, 0.7);
}

.security-page .perm-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--sec-line);
    font-size: 15px;
    font-weight: 700;
    color: var(--sec-ink);
}

.security-page .perm-card-sub {
    font-size: 13px;
    font-weight: 600;
    color: var(--sec-muted);
}

.security-page .perm-role-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--sec-muted);
    margin: 0 0 8px;
}

.security-page .perm-role-label:not(:first-child) {
    margin-top: 16px;
}

.security-page .perm-rows {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/*  ? The one thing on the page that moves by itself: each role's rows fill in, once. */
.security-page .perm-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background-color: #ffffff;
    border: 1px solid var(--sec-line);
    border-radius: 10px;
    font-size: 14px;
    animation: perm-in 0.45s cubic-bezier(0.2, 0.7, 0.2, 1) both;
    animation-delay: calc(0.5s + var(--i, 0) * 0.7s);
}

.security-page .perm-row i {
    flex: none;
    color: var(--sec-red);
    font-size: 13px;
}

.security-page .perm-job {
    flex: 1;
    color: var(--sec-ink);
    font-weight: 600;
}

.security-page .perm-price {
    flex: none;
    font-weight: 700;
    color: var(--sec-red-dark);
}

.security-page .perm-row-hidden .perm-price {
    color: var(--sec-muted);
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.security-page .perm-card-caption {
    margin: 16px 0 0;
    font-size: 13px;
    color: var(--sec-muted);
}

@keyframes perm-in {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: none; }
}

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

    .security-page .perm-row {
        animation: none;
    }
}

/*-------------------------------------------------------------------------------------------------
    Shared section heading
-------------------------------------------------------------------------------------------------*/

.security-page .sec-section-title {
    margin: 0 0 18px;
    font-size: clamp(34px, 4.2vw, 50px);
    color: var(--sec-ink);
    text-wrap: balance;
}

.security-page .sec-section-lede {
    margin: 0;
    font-size: 18px;
    line-height: 1.55;
    color: var(--sec-muted);
    max-width: 54ch;
}

/*-------------------------------------------------------------------------------------------------
    What stays protected, by default - the four remaining facts
-------------------------------------------------------------------------------------------------*/

.security-page .sec-facts {
    background-color: var(--sec-concrete);
    padding: clamp(56px, 8vw, 104px) 0;
}

.security-page .sec-facts-inner {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: clamp(28px, 5vw, 80px);
    align-items: start;
}

.security-page .sec-facts-head {
    position: sticky;
    top: 110px;
}

.security-page .fact-rows {
    list-style: none;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid var(--sec-line);
}

.security-page .fact-rows li {
    margin: 0;
    padding: 24px 0;
    border-top: 1px solid var(--sec-line);
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

.security-page .fact-number {
    font-size: 20px;
    font-weight: 800;
    color: var(--sec-red);
    line-height: 1.4;
}

.security-page .fact-name {
    margin: 0 0 8px;
    font-size: clamp(20px, 2.1vw, 25px);
    color: var(--sec-ink);
}

.security-page .fact-text {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: var(--sec-text);
    max-width: 60ch;
}

/*-------------------------------------------------------------------------------------------------
    Responsive
-------------------------------------------------------------------------------------------------*/

@media (max-width: 991px) {

    .security-page .sec-hero-inner,
    .security-page .sec-facts-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .security-page .sec-hero-title {
        max-width: 20ch;
    }

    .security-page .perm-card {
        margin-left: 0;
    }

    .security-page .sec-facts-head {
        position: static;
    }

    .security-page .sec-facts-inner {
        gap: 28px;
    }
}

@media (max-width: 767px) {

    .security-page .sec-hero-actions .btn {
        width: 100%;
    }

    .security-page .fact-rows li {
        grid-template-columns: minmax(0, 1fr);
        gap: 6px;
    }

    .security-page .fact-number {
        display: none;
    }
}
