/* Security scan page. Reuses the glass form from contact.css (enqueued
 * alongside this sheet on this view only) and adds what that form lacks:
 * the consent checkbox, the optional tag, the honeypot and the button.
 * Every selector is scoped to this view's own classes or ids. */

.fv2 .fv2-scan-intro {
    margin-bottom: 2.25rem;
}

.fv2 .fv2-scan-optional {
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
    color: hsl(176, 16%, 70%);
}

/* Off-screen rather than display:none, so bots that skip hidden fields
   still see it. */
.fv2 .fv2-scan-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.fv2 .fv2-scan-consent {
    display: flex;
    align-items: flex-start;
    gap: .7rem;
}

.fv2 .fv2-scan-consent input {
    flex: 0 0 auto;
    width: 1.15rem;
    height: 1.15rem;
    margin: .15rem 0 0;
    accent-color: var(--fv2-gold);
    cursor: pointer;
}

.fv2 .fv2-scan-consent input.error {
    outline: 2px solid hsl(6, 80%, 66%);
    outline-offset: 2px;
}

.fv2 .fv2-scan-consent label {
    font-family: var(--fv2-text);
    font-size: .95rem;
    line-height: 1.5;
    color: hsl(176, 24%, 86%);
    cursor: pointer;
}

#scan-form-submit {
    width: 100%;
    background: var(--fv2-gold);
    color: var(--fv2-ink);
    border: 1px solid var(--fv2-gold);
    border-radius: var(--fv2-radius);
    padding: 0.95rem;
    font-family: var(--fv2-head);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: var(--fv2-tracking);
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    margin-top: 0.35rem;
    min-height: 3.15rem;
}

#scan-form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px hsla(46, 65%, 52%, .3);
}

#scan-form-submit:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

#scan-form-submit .loader {
    height: 1.6rem;
    width: auto;
    vertical-align: middle;
}

/* ============================================================================
   CAMPAIGN TYPE: match the FBI-alert carousel
   ========================================================================= */
/* This page is the landing page for the security carousel, so its type
   follows the carousel rather than the rest of the site: gold, heavy,
   sentence-case serif headlines; white, widely spaced labels; white
   Montserrat body copy; a lock in a gold diamond between hairlines above
   each heading. Same two font families as the site, no new fonts. Scoped to
   this page's body class, so no other page changes. */

body.page-security-scan .fv2 .fv2-h2 {
    text-transform: none;
    letter-spacing: -.005em;
    font-weight: 800;
    line-height: 1.06;
    color: var(--fv2-gold);
    font-size: clamp(2.2rem, 5vw, 3.6rem);
}

body.page-security-scan .fv2 .fv2-pagehead .fv2-h2 {
    font-size: clamp(2.6rem, 6.4vw, 4.6rem);
    max-width: 16ch;
    margin-inline: auto;
}

body.page-security-scan .fv2 .fv2-eyebrow {
    color: var(--fv2-on-ink);
    font-weight: 600;
    font-size: clamp(.9rem, 1.4vw, 1.05rem);
    letter-spacing: .3em;
    margin-bottom: 1.2rem;
}

/* The ✦ stars give way to the lock badge below. */
body.page-security-scan .fv2 .fv2-eyebrow::before,
body.page-security-scan .fv2 .fv2-eyebrow::after {
    content: none;
}

body.page-security-scan .fv2 .fv2-lead,
body.page-security-scan .fv2 .fv2-card p {
    font-family: var(--fv2-head);
    font-weight: 500;
    color: var(--fv2-on-ink);
}

body.page-security-scan .fv2 .fv2-lead {
    font-size: clamp(1.1rem, 1.8vw, 1.3rem);
    line-height: 1.5;
}

body.page-security-scan .fv2 .fv2-card .fv2-h3 {
    color: var(--fv2-gold);
    font-weight: 700;
}

/* Lock in a gold diamond, flanked by hairlines, above each heading group.
   Drawn as a mask so the colour comes from the gold token. */
body.page-security-scan .fv2 .fv2-pagehead .fv2-container::before,
body.page-security-scan .fv2 .fv2-head-block::before,
body.page-security-scan .fv2 .fv2-scan-intro::before {
    content: "";
    display: block;
    width: min(360px, 80%);
    height: 70px;
    margin: 0 auto 1.1rem;
    background-color: var(--fv2-gold);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 360 70' fill='none' stroke='black'%3E%3Cpath d='M10 35H135M225 35H350' stroke-width='1.4' stroke-opacity='.8'/%3E%3Cpath d='M180 6L209 35L180 64L151 35Z' stroke-width='1.6'/%3E%3Crect x='171' y='33' width='18' height='14' rx='3' stroke-width='1.7'/%3E%3Cpath d='M175 33V29a5 5 0 0 1 10 0v4' stroke-width='1.7'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 360 70' fill='none' stroke='black'%3E%3Cpath d='M10 35H135M225 35H350' stroke-width='1.4' stroke-opacity='.8'/%3E%3Cpath d='M180 6L209 35L180 64L151 35Z' stroke-width='1.6'/%3E%3Crect x='171' y='33' width='18' height='14' rx='3' stroke-width='1.7'/%3E%3Cpath d='M175 33V29a5 5 0 0 1 10 0v4' stroke-width='1.7'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Cards sit on the dark band in both light and dark mode, so they are dark
   glass here (the site's raised-card colour is white in light mode, which
   would put white text on white). */
body.page-security-scan .fv2 .fv2-section--ink .fv2-card {
    background: color-mix(in srgb, var(--fv2-ink) 55%, transparent);
    border-color: var(--fv2-gold-muted);
}
