/* "Under attack" landing page: red hero band, report form and what-to-do column. */

.attack-hero {
    background: linear-gradient(135deg, var(--danger-color) 0%, var(--danger-color-dark) 100%);
    color: #fff;
    padding: 56px 0 48px;
}

.attack-hero__inner {
    max-width: 760px;
}

.attack-hero h1 {
    margin: 0 0 14px;
    color: #fff;
    font-size: clamp(1.85rem, 4vw, 2.6rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.attack-hero p.attack-hero__lead {
    margin: 0 0 10px;
    color: #fff;
    font-size: 1.1rem;
    line-height: 1.6;
}

.attack-hero p.attack-hero__note {
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    line-height: 1.5;
}

.attack-body {
    background: var(--background-color-section, #f4f6f9);
    padding: 40px 0 64px;
}

.attack-card {
    background: var(--text-color-alt-1, #fff);
    color: var(--text-color-dark, #333);
    border: 1px solid var(--border-color, #e9ecef);
    border-top: 3px solid var(--danger-color);
    box-shadow: var(--surface-light-card-shadow);
    padding: 28px 28px 24px;
    scroll-margin-top: 120px;
}

.attack-card h2,
.attack-side h2 {
    margin: 0 0 16px;
    color: var(--important-color, #1e336f);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.attack-field {
    margin: 0 0 20px;
    padding: 0;
    border: 0;
    min-width: 0;
}

.attack-field > label,
.attack-field > legend {
    display: block;
    width: auto;
    margin: 0 0 8px;
    padding: 0;
    color: var(--text-color-heading, #111);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
}

.attack-field input[type='text'],
.attack-field input[type='email'],
.attack-field input[type='tel'],
.attack-field textarea {
    display: block;
    width: 100%;
    border: 1px solid #ced4da;
    border-radius: 6px;
    padding: 11px 14px;
    color: var(--text-color-dark, #333);
    font-size: 0.95rem;
    line-height: 1.5;
    background: #fff;
}

.attack-field textarea {
    min-height: 130px;
    resize: vertical;
}

.attack-field input:focus,
.attack-field textarea:focus {
    border-color: var(--important-color, #1e336f);
    outline: 2px solid rgba(30, 51, 111, 0.2);
    outline-offset: 0;
}

.attack-field [aria-invalid='true'] {
    border-color: var(--danger-color);
}

.attack-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.attack-chip {
    position: relative;
    margin: 0;
    cursor: pointer;
}

.attack-chip input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    cursor: pointer;
}

.attack-chip span {
    display: inline-block;
    border: 1px solid #ced4da;
    border-radius: 6px;
    padding: 8px 14px;
    color: var(--text-color-dark, #333);
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.3;
    background: #fff;
}

.attack-chip input:checked + span {
    border-color: var(--danger-color);
    background: var(--danger-color);
    color: #fff;
}

.attack-chip input:focus-visible + span {
    outline: 2px solid var(--important-color, #1e336f);
    outline-offset: 2px;
}

.attack-files {
    display: block;
    width: 100%;
    border: 1px dashed #adb5bd;
    border-radius: 6px;
    padding: 14px;
    font-size: 0.9rem;
    background: var(--background-color-light-gray, #f8f9fa);
}

.attack-hint {
    margin: 6px 0 0;
    color: var(--text-color-muted, #5a6268);
    font-size: 0.82rem;
    line-height: 1.45;
}

.attack-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 16px;
}

.attack-error,
.attack-banner {
    margin: 6px 0 0;
    color: var(--danger-color-dark);
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.4;
}

.attack-banner {
    margin: 0 0 18px;
    border-left: 3px solid var(--danger-color);
    padding: 10px 14px;
    background: #fdecef;
}

.attack-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.attack-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 6px;
    padding: 13px 28px;
    background: var(--danger-color);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
}

.attack-submit:hover,
.attack-submit:focus {
    background: var(--danger-color-dark);
    color: #fff;
}

.attack-success p {
    margin: 0 0 16px;
    color: var(--text-color-dark, #333);
    font-size: 1rem;
    line-height: 1.6;
}

.attack-success a {
    color: var(--important-color, #1e336f);
    font-weight: 600;
    text-decoration: underline;
}

.attack-side {
    padding: 4px 0 0 12px;
}

.attack-side section + section {
    margin-top: 32px;
}

.attack-list {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: attack-step;
}

.attack-list li {
    position: relative;
    margin: 0 0 12px;
    padding-left: 30px;
    color: var(--text-color-dark, #333);
    font-size: 0.95rem;
    line-height: 1.5;
}

.attack-list--now li::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 6px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--danger-color);
}

.attack-list--next li {
    counter-increment: attack-step;
}

.attack-list--next li::before {
    content: counter(attack-step);
    position: absolute;
    top: 1px;
    left: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--important-color, #1e336f);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 22px;
    text-align: center;
}

@media (max-width: 991px) {
    .attack-side {
        padding: 32px 0 0;
    }
}

@media (max-width: 575px) {
    .attack-hero {
        padding: 40px 0 32px;
    }

    .attack-card {
        padding: 22px 18px 20px;
    }

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