html {
    scroll-behavior: smooth;
}

body {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

::selection {
    background: rgb(34 211 238 / 0.35);
}

/* Realistic training UI mocks. These are fictional clients inspired by common email and mobile messaging patterns. */
.mock-mail-shell {
    background: #f8fafc;
    color: #0f172a;
    border-radius: 22px;
    overflow: hidden;
    min-height: 680px;
    box-shadow: 0 24px 70px rgba(2, 6, 23, 0.28);
    border: 1px solid rgba(148, 163, 184, 0.35);
}

.mail-topbar {
    height: 64px;
    display: grid;
    grid-template-columns: 230px minmax(240px, 1fr) 170px;
    align-items: center;
    gap: 18px;
    padding: 0 18px;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}

.mail-brand,
.mail-actions-top,
.mail-toolbar-left,
.mail-toolbar-right,
.mail-meta-row,
.mail-subject-row {
    display: flex;
    align-items: center;
}

.mail-brand {
    gap: 12px;
}

.mail-hamburger {
    width: 22px;
    display: grid;
    gap: 4px;
}

.mail-hamburger span {
    height: 2px;
    border-radius: 999px;
    background: #64748b;
}

.mail-logo-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #ef4444, #f59e0b, #22c55e, #3b82f6);
    color: #ffffff;
    font-weight: 800;
    font-size: 15px;
}

.mail-brand-text {
    font-size: 20px;
    color: #475569;
    font-weight: 500;
}

.mail-search {
    height: 44px;
    border-radius: 999px;
    background: #eef2f7;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 18px;
    font-size: 14px;
}

.mail-search-icon {
    font-size: 19px;
    transform: rotate(-20deg);
}

.mail-actions-top {
    justify-content: flex-end;
    gap: 12px;
}

.mail-actions-top > span {
    width: 20px;
    height: 20px;
    border-radius: 999px;
    background: #e2e8f0;
}

.mail-avatar {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: #0f172a;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
}

.mail-layout {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    min-height: 616px;
}

.mail-sidebar {
    background: #f8fafc;
    border-right: 1px solid #e2e8f0;
    padding: 18px 12px;
}

.mail-compose {
    width: 148px;
    height: 48px;
    border-radius: 18px;
    background: #dbeafe;
    color: #1e3a8a;
    font-weight: 700;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.12);
}

.mail-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    color: #475569;
    font-size: 14px;
    margin-bottom: 4px;
}

.mail-nav-item.active {
    background: #fee2e2;
    color: #991b1b;
    font-weight: 700;
}

.mail-content {
    background: #ffffff;
    min-width: 0;
}

.mail-toolbar {
    height: 48px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    color: #64748b;
    font-size: 13px;
}

.mail-toolbar-left {
    gap: 16px;
}

.mail-checkbox {
    width: 16px;
    height: 16px;
    border: 1px solid #94a3b8;
    border-radius: 3px;
}

.mail-icon-button {
    color: #64748b;
    font-size: 17px;
}

.mail-message {
    padding: 26px 36px 34px;
}

.mail-subject-row {
    gap: 12px;
    align-items: start;
    margin-bottom: 22px;
}

.mail-subject-row h2 {
    font-size: 24px;
    line-height: 1.25;
    font-weight: 500;
    color: #111827;
}

.mail-label {
    margin-top: 5px;
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 6px;
    background: #e2e8f0;
    color: #475569;
    white-space: nowrap;
}

.mail-meta-row {
    margin-bottom: 18px;
    gap: 12px;
}

.mail-sender-avatar {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: #334155;
    color: #ffffff;
    display: grid;
    place-items: center;
    font-weight: 700;
}

.mail-meta-main {
    min-width: 0;
    flex: 1;
}

.mail-meta-line {
    display: flex;
    gap: 8px;
    align-items: baseline;
    flex-wrap: wrap;
    font-size: 14px;
}

.mail-meta-line strong {
    color: #111827;
}

.mail-from,
.mail-to-line,
.mail-time {
    color: #64748b;
    font-size: 12px;
}

.mail-preheader {
    background: #eff6ff;
    color: #1e40af;
    border: 1px solid #bfdbfe;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 14px;
    margin-bottom: 22px;
}

.mail-body {
    max-width: 720px;
    color: #1f2937;
    line-height: 1.7;
    font-size: 15px;
}

.mail-body p {
    margin-bottom: 14px;
}

.mail-cta-wrap {
    margin: 24px 0;
}

.mail-cta {
    border-radius: 8px;
    background: #2563eb;
    color: white;
    padding: 12px 22px;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.25);
}

.mail-link-preview {
    max-width: 650px;
    display: flex;
    gap: 12px;
    border: 1px solid #dbe3ef;
    background: #f8fafc;
    border-radius: 14px;
    padding: 12px;
    margin-top: 10px;
}

.mail-link-favicon {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    background: #dbeafe;
    color: #1d4ed8;
    display: grid;
    place-items: center;
    font-weight: 800;
}

.mail-link-preview p {
    color: #334155;
    font-size: 13px;
    font-weight: 700;
}

.mail-link-preview span {
    color: #2563eb;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 12px;
    word-break: break-all;
}

.mail-footer-note {
    margin-top: 24px;
    color: #94a3b8;
    font-size: 12px;
}

.phone-stage {
    min-height: 680px;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 20% 10%, rgba(34, 211, 238, 0.22), transparent 30%),
        radial-gradient(circle at 85% 90%, rgba(99, 102, 241, 0.18), transparent 30%),
        #020617;
    border-radius: 22px;
    overflow: hidden;
    padding: 26px;
}

.phone-frame {
    width: min(100%, 390px);
    height: 700px;
    background: #111827;
    border-radius: 54px;
    padding: 12px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(255,255,255,0.08);
    position: relative;
}

.phone-frame::before {
    content: "";
    position: absolute;
    top: 17px;
    left: 50%;
    transform: translateX(-50%);
    width: 118px;
    height: 33px;
    border-radius: 999px;
    background: #030712;
    z-index: 4;
}

.phone-screen {
    height: 100%;
    background: #f8fafc;
    border-radius: 43px;
    overflow: hidden;
    color: #111827;
    display: flex;
    flex-direction: column;
    position: relative;
}

.phone-statusbar {
    height: 48px;
    padding: 14px 28px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 700;
    color: #111827;
    z-index: 5;
}

.phone-status-icons {
    display: flex;
    align-items: center;
    gap: 5px;
}

.phone-status-icons span:nth-child(1) {
    width: 18px;
    height: 10px;
    border-radius: 3px;
    border: 1.8px solid #111827;
}

.phone-status-icons span:nth-child(2) {
    width: 14px;
    height: 10px;
    border-radius: 2px;
    background: linear-gradient(to top, #111827 35%, transparent 35%);
    border: 1px solid #111827;
}

.phone-status-icons span:nth-child(3) {
    width: 20px;
    height: 10px;
    border: 1.7px solid #111827;
    border-radius: 3px;
    position: relative;
}

.phone-status-icons span:nth-child(3)::after {
    content: "";
    position: absolute;
    right: -4px;
    top: 3px;
    width: 2px;
    height: 4px;
    background: #111827;
    border-radius: 0 2px 2px 0;
}

.messages-header {
    padding: 6px 16px 12px;
    border-bottom: 1px solid #e5e7eb;
    display: grid;
    grid-template-columns: 38px 1fr 38px;
    align-items: center;
    background: rgba(248, 250, 252, 0.92);
    backdrop-filter: blur(20px);
}

.messages-back {
    color: #007aff;
    font-size: 34px;
    line-height: 1;
    font-weight: 300;
}

.messages-contact {
    text-align: center;
    display: grid;
    justify-items: center;
    gap: 5px;
}

.messages-avatar {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: linear-gradient(135deg, #94a3b8, #475569);
    color: white;
    display: grid;
    place-items: center;
    font-weight: 800;
}

.messages-contact p {
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
}

.messages-contact span {
    font-size: 11px;
    color: #64748b;
}

.messages-info {
    justify-self: end;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    border: 1.6px solid #007aff;
    color: #007aff;
    display: grid;
    place-items: center;
    font-size: 14px;
    font-weight: 700;
    font-family: Georgia, serif;
}

.messages-date {
    text-align: center;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 700;
    padding: 18px 0 8px;
}

.messages-thread {
    flex: 1;
    padding: 0 14px;
    overflow: hidden;
}

.sms-bubble {
    max-width: 290px;
    border-radius: 22px;
    padding: 12px 14px;
    font-size: 15px;
    line-height: 1.38;
    margin-bottom: 10px;
    position: relative;
}

.sms-bubble.incoming {
    background: #e5e5ea;
    color: #111827;
    border-bottom-left-radius: 7px;
}

.sms-bubble p:not(:last-child) {
    margin-bottom: 9px;
}

.sms-link-card {
    max-width: 290px;
    display: flex;
    gap: 9px;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 9px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.sms-link-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #f1f5f9;
    display: grid;
    place-items: center;
    color: #007aff;
    font-weight: 800;
}

.sms-link-card p {
    font-size: 13px;
    font-weight: 700;
}

.sms-link-card span {
    display: block;
    max-width: 210px;
    font-size: 11px;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sms-footer-text {
    color: #94a3b8;
    font-size: 11px;
    margin: 8px 0 0 4px;
}

.message-composer {
    margin: 0 12px 12px;
    display: grid;
    grid-template-columns: 30px 1fr 30px;
    gap: 8px;
    align-items: center;
}

.composer-plus,
.composer-mic {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: #e5e7eb;
    color: #64748b;
    display: grid;
    place-items: center;
    font-weight: 700;
}

.composer-input {
    height: 36px;
    border: 1px solid #d1d5db;
    border-radius: 999px;
    display: flex;
    align-items: center;
    padding: 0 14px;
    color: #94a3b8;
    font-size: 14px;
}

@media (max-width: 900px) {
    .mock-mail-shell {
        min-height: auto;
    }

    .mail-topbar {
        grid-template-columns: 1fr;
        height: auto;
        padding: 14px;
    }

    .mail-search,
    .mail-actions-top,
    .mail-sidebar {
        display: none;
    }

    .mail-layout {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .mail-message {
        padding: 22px 18px 28px;
    }

    .mail-subject-row h2 {
        font-size: 20px;
    }

    .phone-stage {
        min-height: auto;
        padding: 14px;
    }

    .phone-frame {
        width: 100%;
        max-width: 390px;
        height: 680px;
    }
}

/* PhishGuard Trainer: improved fictional webmail training view.
   It intentionally avoids real brand assets and logos while preserving a realistic webmail layout. */
.webmail-shell {
    min-height: 740px;
    background: #fff;
    color: #202124;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 26px 80px rgba(2, 6, 23, 0.32);
    border: 1px solid rgba(203, 213, 225, 0.8);
    font-family: Roboto, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.webmail-shell svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.webmail-topbar {
    height: 66px;
    display: grid;
    grid-template-columns: 240px minmax(280px, 1fr) 176px;
    align-items: center;
    gap: 18px;
    padding: 0 18px;
    background: #fff;
    box-shadow: inset 0 -1px 0 rgba(100, 121, 143, 0.18);
}

.webmail-brand,
.webmail-user-actions,
.webmail-toolbar-left,
.webmail-toolbar-right,
.webmail-subject-line,
.webmail-sender-line,
.webmail-sender-name-row {
    display: flex;
    align-items: center;
}

.webmail-brand {
    gap: 13px;
    min-width: 0;
}

.webmail-icon-button {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: inline-grid;
    place-items: center;
    color: #5f6368;
    transition: background-color .15s ease, color .15s ease;
}

.webmail-icon-button:hover {
    background: rgba(60, 64, 67, .08);
    color: #202124;
}

.webmail-logo {
    width: 36px;
    height: 28px;
    position: relative;
    border-radius: 6px;
    border: 2px solid #c5221f;
    background: #fff;
    overflow: hidden;
    flex: 0 0 auto;
}

.webmail-logo::before,
.webmail-logo::after,
.webmail-logo span::before,
.webmail-logo span::after {
    content: "";
    position: absolute;
    height: 3px;
    border-radius: 999px;
    transform-origin: center;
}

.webmail-logo::before {
    width: 24px;
    background: #ea4335;
    left: -2px;
    top: 8px;
    transform: rotate(36deg);
}

.webmail-logo::after {
    width: 24px;
    background: #4285f4;
    right: -2px;
    top: 8px;
    transform: rotate(-36deg);
}

.webmail-logo span::before {
    width: 17px;
    background: #fbbc04;
    left: -2px;
    bottom: 3px;
    transform: rotate(-38deg);
}

.webmail-logo span::after {
    width: 17px;
    background: #34a853;
    right: -2px;
    bottom: 3px;
    transform: rotate(38deg);
}

.webmail-wordmark {
    font-size: 22px;
    color: #5f6368;
    font-weight: 400;
    letter-spacing: -.2px;
}

.webmail-search {
    height: 48px;
    max-width: 760px;
    border-radius: 10px;
    background: #f1f3f4;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 16px;
    color: #5f6368;
    font-size: 15px;
}

.webmail-search svg {
    color: #5f6368;
}

.webmail-user-actions {
    justify-content: flex-end;
    gap: 6px;
}

.webmail-apps-grid {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: grid;
    grid-template-columns: repeat(3, 4px);
    grid-auto-rows: 4px;
    justify-content: center;
    align-content: center;
    gap: 3px;
}

.webmail-apps-grid:hover {
    background: rgba(60, 64, 67, .08);
}

.webmail-apps-grid i {
    width: 4px;
    height: 4px;
    border-radius: 999px;
    background: #5f6368;
}

.webmail-account {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: #1a73e8;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    margin-left: 6px;
}

.webmail-body {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    min-height: 674px;
    background: #fff;
}

.webmail-sidebar {
    background: #fff;
    padding: 18px 12px 20px 0;
    color: #3c4043;
}

.webmail-compose {
    height: 48px;
    min-width: 145px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 18px 8px;
    padding: 0 20px 0 16px;
    border-radius: 24px;
    background: #fff;
    color: #3c4043;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 1px 2px rgba(60,64,67,.3), 0 1px 3px 1px rgba(60,64,67,.15);
}

.webmail-compose svg {
    width: 22px;
    height: 22px;
    color: #1a73e8;
}

.webmail-nav {
    display: grid;
    gap: 2px;
}

.webmail-nav-item {
    height: 34px;
    border-radius: 0 18px 18px 0;
    display: grid;
    grid-template-columns: 44px 1fr auto;
    align-items: center;
    padding-right: 14px;
    color: #3c4043;
    font-size: 14px;
    cursor: default;
}

.webmail-nav-item svg {
    justify-self: center;
    color: #5f6368;
    width: 18px;
    height: 18px;
}

.webmail-nav-item strong {
    font-size: 12px;
}

.webmail-nav-item.active {
    background: #fce8e6;
    color: #d93025;
    font-weight: 700;
}

.webmail-nav-item.active svg {
    color: #d93025;
}

.webmail-main {
    min-width: 0;
    background: #fff;
    box-shadow: inset 1px 0 0 rgba(100, 121, 143, 0.08);
}

.webmail-toolbar {
    height: 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
    box-shadow: inset 0 -1px 0 rgba(100, 121, 143, 0.18);
    color: #5f6368;
    font-size: 12px;
}

.webmail-toolbar-left,
.webmail-toolbar-right {
    gap: 8px;
}

.webmail-checkbox {
    width: 16px;
    height: 16px;
    border: 2px solid #5f6368;
    border-radius: 2px;
    opacity: .72;
    margin: 0 12px;
}

.webmail-inbox-preview {
    border-bottom: 1px solid rgba(100,121,143,.18);
}

.webmail-row {
    min-height: 38px;
    display: grid;
    grid-template-columns: 34px 180px minmax(150px, 250px) minmax(150px, 1fr) 78px;
    align-items: center;
    gap: 12px;
    padding: 0 16px;
    box-shadow: inset 0 -1px 0 rgba(100,121,143,.12);
    font-size: 13px;
    color: #202124;
    background: #fff;
}

.webmail-row.selected {
    background: #f2f6fc;
}

.webmail-row.muted {
    color: #5f6368;
    background: #fafafa;
}

.webmail-row-star {
    color: #9aa0a6;
    font-size: 18px;
}

.webmail-row span,
.webmail-row em,
.webmail-row strong {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.webmail-row em {
    font-style: normal;
    color: #5f6368;
}

.webmail-row time {
    justify-self: end;
    color: #3c4043;
    font-size: 12px;
    font-weight: 600;
}

.webmail-message-card {
    max-width: 980px;
    padding: 16px 36px 40px;
}

.webmail-message-actions {
    height: 44px;
    display: flex;
    gap: 4px;
    align-items: center;
    color: #5f6368;
    margin-left: -10px;
}

.webmail-message-header {
    padding-top: 6px;
}

.webmail-subject-line {
    gap: 12px;
    align-items: flex-start;
    margin: 0 0 20px 48px;
}

.webmail-subject-line h2 {
    font-size: 22px;
    line-height: 1.28;
    color: #202124;
    font-weight: 400;
    letter-spacing: -.1px;
}

.webmail-subject-line span {
    margin-top: 3px;
    font-size: 12px;
    background: #e8eaed;
    color: #5f6368;
    padding: 2px 7px;
    border-radius: 4px;
    white-space: nowrap;
}

.webmail-sender-line {
    gap: 12px;
    margin-bottom: 18px;
}

.webmail-sender-avatar {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: #5f6368;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    flex: 0 0 auto;
}

.webmail-sender-meta {
    min-width: 0;
    flex: 1;
}

.webmail-sender-name-row {
    gap: 8px;
    flex-wrap: wrap;
}

.webmail-sender-name-row strong {
    color: #202124;
    font-size: 14px;
    font-weight: 700;
}

.webmail-sender-name-row small,
.webmail-to-me,
.webmail-message-time {
    color: #5f6368;
    font-size: 12px;
}

.webmail-to-me {
    margin-top: 2px;
}

.webmail-message-time {
    white-space: nowrap;
    align-self: flex-start;
    padding-top: 2px;
}

.webmail-alert-strip {
    margin-left: 52px;
    max-width: 760px;
    padding: 11px 13px;
    border-radius: 10px;
    background: #fef7e0;
    color: #7a4d00;
    border: 1px solid #fdd663;
    font-size: 13px;
    margin-bottom: 20px;
}

.webmail-email-content {
    margin-left: 52px;
    max-width: 760px;
    color: #202124;
    font-size: 14px;
    line-height: 1.7;
}

.webmail-email-content p {
    margin-bottom: 14px;
}

.webmail-email-cta {
    margin-left: 52px;
    margin-top: 24px;
}

.webmail-email-cta button {
    height: 42px;
    border-radius: 6px;
    background: #1a73e8;
    color: #fff;
    padding: 0 22px;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 1px 2px rgba(26, 115, 232, .25);
}

.webmail-link-card {
    margin: 22px 0 0 52px;
    max-width: 650px;
    border: 1px solid #dadce0;
    border-radius: 8px;
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 12px;
    padding: 12px;
    background: #fff;
}

.webmail-link-icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: #f1f3f4;
    color: #5f6368;
}

.webmail-link-card p {
    font-size: 13px;
    color: #202124;
    font-weight: 700;
    margin-bottom: 2px;
}

.webmail-link-card span {
    display: block;
    color: #1a73e8;
    font-size: 12px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    word-break: break-all;
}

.webmail-footer-note {
    margin: 24px 0 0 52px;
    color: #80868b;
    font-size: 12px;
}

@media (max-width: 1100px) {
    .webmail-topbar {
        grid-template-columns: 210px minmax(220px, 1fr) 136px;
    }

    .webmail-body {
        grid-template-columns: 210px minmax(0, 1fr);
    }

    .webmail-row {
        grid-template-columns: 26px 130px minmax(120px, 200px) minmax(100px, 1fr) 62px;
        gap: 8px;
    }
}

@media (max-width: 900px) {
    .webmail-shell {
        min-height: auto;
    }

    .webmail-topbar {
        grid-template-columns: 1fr auto;
        gap: 10px;
        height: auto;
        padding: 12px;
    }

    .webmail-search {
        grid-column: 1 / -1;
        order: 3;
        max-width: none;
    }

    .webmail-sidebar,
    .webmail-inbox-preview {
        display: none;
    }

    .webmail-body {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .webmail-message-card {
        padding: 12px 18px 30px;
    }

    .webmail-subject-line,
    .webmail-alert-strip,
    .webmail-email-content,
    .webmail-email-cta,
    .webmail-link-card,
    .webmail-footer-note {
        margin-left: 0;
    }

    .webmail-subject-line h2 {
        font-size: 20px;
    }

    .webmail-user-actions .webmail-icon-button,
    .webmail-apps-grid {
        display: none;
    }
}

/* PhishGuard Trainer: compact, equal-sized case viewport and realistic generic message clients. */
.case-viewport {
    min-height: 720px;
    display: grid;
    place-items: center;
}

.case-device {
    width: min(100%, 860px);
    height: 680px;
    display: grid;
    place-items: center;
}

.case-device-mail,
.case-device-sms {
    background:
        radial-gradient(circle at 16% 10%, rgba(34, 211, 238, 0.20), transparent 30%),
        radial-gradient(circle at 82% 88%, rgba(99, 102, 241, 0.18), transparent 32%),
        #020617;
    border-radius: 26px;
    overflow: hidden;
    padding: 26px;
}

.case-device-mail svg,
.case-device-sms svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mail-app-window {
    width: 100%;
    max-width: 820px;
    height: 620px;
    background: #fff;
    color: #202124;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(203, 213, 225, 0.95);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
    font-family: Roboto, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.mail-app-header {
    height: 68px;
    display: grid;
    grid-template-columns: 190px minmax(220px, 1fr) 150px;
    gap: 14px;
    align-items: center;
    padding: 0 18px;
    border-bottom: 1px solid #e5e7eb;
    background: #fff;
}

.mail-left-tools,
.mail-header-actions,
.mail-searchbar,
.mail-message-toolbar,
.mail-sender-row-v4,
.mail-sender-primary,
.mail-subject-line-v4,
.mail-mini-nav-item {
    display: flex;
    align-items: center;
}

.mail-left-tools { gap: 12px; min-width: 0; }
.mail-header-actions { gap: 4px; justify-content: flex-end; }

.mail-round-icon {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    display: inline-grid;
    place-items: center;
    color: #5f6368;
    flex: 0 0 auto;
}

.mail-round-icon:hover { background: #f1f3f4; }
.mail-round-icon svg { width: 20px; height: 20px; }
.mail-round-icon.compact { width: 34px; height: 34px; }
.mail-round-icon.compact svg { width: 18px; height: 18px; }

.mail-brand-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: #eef2ff;
    color: #2563eb;
    border: 1px solid #dbeafe;
    flex: 0 0 auto;
}

.mail-brand-icon svg { width: 22px; height: 22px; }
.mail-brand-name { font-size: 22px; color: #5f6368; font-weight: 400; letter-spacing: -.2px; }

.mail-searchbar {
    height: 48px;
    background: #f1f3f4;
    border-radius: 12px;
    gap: 12px;
    padding: 0 15px;
    color: #5f6368;
    font-size: 14px;
}
.mail-searchbar svg { width: 19px; height: 19px; }
.mail-searchbar span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.mail-account-badge {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: #1a73e8;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 700;
}

.mail-reading-area {
    height: calc(620px - 68px);
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    background: #fff;
}

.mail-mini-nav {
    padding: 18px 10px 18px 0;
    border-right: 1px solid #edf0f2;
    background: #fff;
}

.mail-mini-nav-item {
    height: 36px;
    border-radius: 0 18px 18px 0;
    gap: 12px;
    padding: 0 12px 0 18px;
    color: #5f6368;
    font-size: 14px;
}
.mail-mini-nav-item svg { width: 18px; height: 18px; flex: 0 0 auto; }
.mail-mini-nav-item.active { background: #fce8e6; color: #d93025; font-weight: 700; }

.mail-message-panel {
    min-width: 0;
    padding: 10px 30px 28px;
    overflow: hidden;
}

.mail-message-toolbar {
    height: 42px;
    gap: 4px;
    color: #5f6368;
    border-bottom: 1px solid #edf0f2;
    margin: 0 -30px 18px;
    padding: 0 22px;
}
.mail-toolbar-spacer { flex: 1; }
.mail-time { color: #5f6368; font-size: 12px; }

.mail-subject-line-v4 {
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 18px;
}
.mail-subject-line-v4 h2 {
    font-size: 23px;
    line-height: 1.25;
    font-weight: 400;
    color: #202124;
    letter-spacing: -.1px;
}
.mail-subject-line-v4 span {
    margin-top: 4px;
    font-size: 12px;
    color: #5f6368;
    background: #e8eaed;
    border-radius: 4px;
    padding: 2px 7px;
    white-space: nowrap;
}

.mail-sender-row-v4 { gap: 12px; margin-bottom: 16px; }
.mail-sender-avatar-v4 {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: #64748b;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    flex: 0 0 auto;
}
.mail-sender-meta-v4 { min-width: 0; flex: 1; }
.mail-sender-primary { gap: 8px; flex-wrap: wrap; }
.mail-sender-primary strong { font-size: 14px; color: #202124; }
.mail-sender-primary small,
.mail-sender-meta-v4 button { font-size: 12px; color: #5f6368; }

.mail-warning-strip {
    max-width: 650px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #fde68a;
    background: #fffbeb;
    color: #92400e;
    font-size: 13px;
    margin-bottom: 17px;
}

.mail-message-body-v4 {
    max-width: 690px;
    color: #202124;
    line-height: 1.65;
    font-size: 14px;
}
.mail-message-body-v4 p { margin-bottom: 12px; }

.mail-cta-v4 { margin-top: 20px; }
.mail-cta-v4 button {
    height: 42px;
    border-radius: 6px;
    background: #1a73e8;
    color: #fff;
    padding: 0 20px;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 1px 2px rgba(26, 115, 232, .22);
}

.mail-link-preview-v4 {
    margin-top: 18px;
    max-width: 620px;
    border: 1px solid #dadce0;
    border-radius: 9px;
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 12px;
    padding: 11px;
    background: #fff;
}
.mail-link-icon-v4 {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: #f1f3f4;
    color: #5f6368;
    display: grid;
    place-items: center;
}
.mail-link-icon-v4 svg { width: 20px; height: 20px; }
.mail-link-preview-v4 p { font-size: 13px; color: #202124; font-weight: 700; margin-bottom: 2px; }
.mail-link-preview-v4 span {
    display: block;
    color: #1a73e8;
    font-size: 12px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    word-break: break-all;
}

.sms-phone-shell {
    width: 385px;
    height: 640px;
    background: #0f172a;
    border-radius: 54px;
    padding: 11px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(255,255,255,0.08);
}
.sms-phone-screen {
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 43px;
    background: #f8fafc;
    color: #111827;
    display: flex;
    flex-direction: column;
}
/* iOS-like SMS status bar */
.sms-statusbar {
    position: relative;
    height: 54px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 16px 31px 0;
    font-size: 14px;
    font-weight: 700;
    color: #111827;
    z-index: 6;
}
.sms-time {
    font-size: 15px;
    font-weight: 750;
    line-height: 1;
    letter-spacing: 0;
    min-width: 44px;
    text-align: left;
}
.sms-system-icons {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5.5px;
    height: 14px;
    min-width: 70px;
    margin-left: auto;
}
.ios-cellular {
    width: 16px;
    height: 12px;
    display: flex;
    align-items: flex-end;
    gap: 1.85px;
}
.ios-cellular span {
    display: block;
    width: 2.8px;
    background: #111827;
    border-radius: 1.4px;
}
.ios-cellular span:nth-child(1) { height: 4.5px; }
.ios-cellular span:nth-child(2) { height: 6.8px; }
.ios-cellular span:nth-child(3) { height: 9.4px; }
.ios-cellular span:nth-child(4) { height: 12px; }
.ios-wifi {
    width: 18.5px;
    height: 14.25px;
    color: #111827;
    transform: translateY(0.25px);
}
.ios-wifi path {
    fill: currentColor;
    stroke: none;
}
.ios-battery {
    width: 26px;
    height: 14px;
    border-radius: 5.5px;
    background: #a3a3a3;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    overflow: visible;
    font-size: 10px;
    line-height: 1;
    font-weight: 850;
    letter-spacing: 0;
}
.ios-battery span {
    width: 21px;
    text-align: center;
    position: relative;
    z-index: 1;
}
.ios-battery::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 21px;
    border-radius: 5.5px 4.5px 4.5px 5.5px;
    background: #111827;
}
.ios-battery::after {
    content: "";
    position: absolute;
    right: -2.7px;
    top: 4.3px;
    width: 1.8px;
    height: 5.4px;
    border-radius: 0 2.5px 2.5px 0;
    background: #a3a3a3;
}
.sms-dynamic-island {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 104px;
    height: 34px;
    border-radius: 999px;
    background: #020617;
    z-index: 5;
}
.sms-conversation-header {
    height: 104px;
    display: grid;
    grid-template-columns: 42px 1fr 42px;
    align-items: center;
    border-bottom: 1px solid #e5e7eb;
    background: rgba(248, 250, 252, 0.92);
    backdrop-filter: blur(20px);
    padding: 8px 16px 12px;
}
.sms-back-icon { color: #007aff; font-size: 38px; line-height: 1; font-weight: 300; }
.sms-contact-card { display: grid; justify-items: center; gap: 4px; align-self: end; }
.sms-contact-avatar {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: linear-gradient(135deg, #94a3b8, #475569);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 800;
}
.sms-contact-card strong { font-size: 13px; line-height: 1; }
.sms-contact-card span { color: #64748b; font-size: 11px; }
.sms-info-icon {
    justify-self: end;
    align-self: end;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    border: 1.7px solid #007aff;
    color: #007aff;
    display: grid;
    place-items: center;
    font-family: Georgia, serif;
    font-weight: 700;
}
.sms-message-area { flex: 1; padding: 16px 14px 0; overflow: hidden; }
.sms-date-label { text-align: center; color: #94a3b8; font-size: 12px; font-weight: 700; margin-bottom: 12px; }
.sms-bubble-v4 {
    max-width: 286px;
    background: #e5e5ea;
    color: #111827;
    border-radius: 22px;
    border-bottom-left-radius: 7px;
    padding: 12px 14px;
    font-size: 15px;
    line-height: 1.38;
    margin-bottom: 10px;
}
.sms-bubble-v4 p:not(:last-child) { margin-bottom: 9px; }
.sms-link-preview-v4 {
    max-width: 286px;
    display: flex;
    gap: 9px;
    align-items: center;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 9px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}
.sms-link-thumb {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #f1f5f9;
    display: grid;
    place-items: center;
    color: #007aff;
    flex: 0 0 auto;
}
.sms-link-thumb svg { width: 20px; height: 20px; }
.sms-link-preview-v4 strong { display: block; font-size: 13px; }
.sms-link-preview-v4 span {
    display: block;
    max-width: 205px;
    font-size: 11px;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sms-quiet-footer { color: #94a3b8; font-size: 11px; margin: 8px 0 0 4px; }
.sms-composer-v4 {
    height: 52px;
    display: grid;
    grid-template-columns: 30px 1fr 30px;
    gap: 8px;
    align-items: center;
    padding: 0 12px 12px;
}
.sms-plus,
.sms-audio {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: #e5e7eb;
    color: #64748b;
    font-weight: 700;
}
.sms-audio svg { width: 16px; height: 16px; }
.sms-composer-v4 div {
    height: 36px;
    border-radius: 999px;
    border: 1px solid #d1d5db;
    color: #94a3b8;
    display: flex;
    align-items: center;
    padding: 0 14px;
    font-size: 14px;
}

@media (max-width: 900px) {
    .case-viewport { min-height: auto; }
    .case-device { height: auto; padding: 14px; }
    .mail-app-window { height: auto; min-height: 590px; }
    .mail-app-header { grid-template-columns: 1fr auto; height: auto; padding: 12px; }
    .mail-searchbar { grid-column: 1 / -1; order: 3; }
    .mail-header-actions .mail-round-icon { display: none; }
    .mail-reading-area { height: auto; grid-template-columns: 1fr; }
    .mail-mini-nav { display: none; }
    .mail-message-panel { padding: 10px 18px 28px; }
    .mail-message-toolbar { margin-left: -18px; margin-right: -18px; }
    .mail-subject-line-v4 h2 { font-size: 20px; }
    .sms-phone-shell { width: min(100%, 385px); height: 630px; }
}

.language-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgb(51 65 85);
    border-radius: 12px;
    padding: 7px 10px;
    color: #e2e8f0;
    font-size: 13px;
    font-weight: 700;
    background: rgba(15, 23, 42, 0.6);
    transition: background .18s ease, border-color .18s ease;
}
.language-toggle:hover {
    background: rgba(30, 41, 59, 0.88);
    border-color: rgb(71 85 105);
}
.language-flag {
    display: block;
    width: 24px;
    height: 16px;
    border-radius: 4px;
    object-fit: cover;
    box-shadow: 0 0 0 1px rgba(255,255,255,.18), 0 1px 2px rgba(0,0,0,.25);
    overflow: hidden;
}

/* PhishGuard visual system. Matches the standalone 404 route-check experience. */
:root {
    --pg-bg: #020617;
    --pg-panel: rgba(15, 23, 42, 0.82);
    --pg-panel-strong: rgba(15, 23, 42, 0.94);
    --pg-line: rgba(148, 163, 184, 0.22);
    --pg-line-strong: rgba(34, 211, 238, 0.32);
    --pg-text: #f8fafc;
    --pg-muted: #94a3b8;
    --pg-cyan: #22d3ee;
    --pg-cyan-strong: #67e8f9;
    --pg-amber: #fbbf24;
    --pg-rose: #fb7185;
    --pg-ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

body {
    background:
        linear-gradient(rgba(34, 211, 238, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(34, 211, 238, 0.035) 1px, transparent 1px),
        linear-gradient(135deg, rgba(34, 211, 238, 0.11), transparent 42%),
        var(--pg-bg);
    background-size: 44px 44px, 44px 44px, auto, auto;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
label:focus-within {
    outline: 3px solid rgba(103, 232, 249, 0.72);
    outline-offset: 4px;
}

#site-header {
    border-bottom-color: rgba(148, 163, 184, 0.18);
    background: rgba(2, 6, 23, 0.78);
    box-shadow: 0 18px 60px rgba(2, 6, 23, 0.28);
}

.header-inner {
    max-width: min(100%, 1280px);
    margin-inline: auto;
    padding-inline: 24px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--pg-text);
    text-decoration: none;
    letter-spacing: -0.01em;
    flex-shrink: 0;
    transition: opacity 160ms var(--pg-ease-out);
}

.brand-link:hover {
    opacity: 0.78;
}

.brand-link img {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    flex-shrink: 0;
    box-shadow: none;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 2px;
}

.header-end {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.mobile-menu-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(15, 23, 42, 0.78);
    color: var(--pg-text);
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 160ms var(--pg-ease-out), border-color 160ms var(--pg-ease-out);
}

.mobile-menu-btn:hover {
    background: rgba(34, 211, 238, 0.06);
    border-color: rgba(34, 211, 238, 0.32);
}

#site-header nav a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 0.875rem;
    color: #94a3b8;
    transition: background-color 160ms var(--pg-ease-out), color 160ms var(--pg-ease-out);
}

#site-header nav a:hover {
    background: rgba(15, 23, 42, 0.92);
    color: var(--pg-text);
}

#site-header nav a.nav-active {
    background: rgba(34, 211, 238, 0.08);
    color: var(--pg-cyan-strong);
}

#site-footer {
    border-top-color: rgba(148, 163, 184, 0.18);
    background: rgba(2, 6, 23, 0.34);
}

#app:focus {
    outline: none;
}

.brand-link img {
    box-shadow: none;
}

.language-toggle {
    border-color: rgba(148, 163, 184, 0.28);
    background: rgba(15, 23, 42, 0.78);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition:
        transform 140ms var(--pg-ease-out),
        background-color 160ms var(--pg-ease-out),
        border-color 160ms var(--pg-ease-out);
}

.language-toggle:hover {
    background: rgba(15, 23, 42, 0.98);
    border-color: rgba(34, 211, 238, 0.42);
}

.language-toggle:active,
.pg-button:active,
.scenario-card:active,
.report-link:active {
    transform: scale(0.98);
}

.app-section {
    width: min(100%, 1280px);
    margin-inline: auto;
    padding: 56px 24px;
}

.section-band {
    border-block-start: 1px solid rgba(148, 163, 184, 0.12);
}

.panel-heading {
    font-size: clamp(1.3rem, 2vw, 1.75rem);
    font-weight: 800;
    color: var(--pg-text);
    margin: 0 0 12px;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.panel-subheading {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--pg-text);
    margin: 0 0 16px;
    line-height: 1.3;
}

.panel-body {
    color: #cbd5e1;
    font-size: 1.03rem;
    line-height: 1.75;
    margin: 0;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 32px;
}

.section-heading h1,
.section-heading h2 {
    margin: 0 0 14px;
    color: var(--pg-text);
    font-size: clamp(1.85rem, 3vw, 3rem);
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: 0;
}

.section-heading p:not(.section-kicker) {
    color: #cbd5e1;
    font-size: 1.03rem;
    line-height: 1.75;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--pg-cyan-strong);
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.section-kicker::before {
    content: "";
    width: 26px;
    height: 1px;
    border-radius: 0;
    background: rgba(103, 232, 249, 0.72);
}

.hero-section {
    min-height: min(680px, calc(100vh - 76px));
    display: grid;
    grid-template-columns: minmax(0, 0.98fr) minmax(320px, 460px);
    align-items: center;
    gap: clamp(36px, 6vw, 76px);
    padding-top: 56px;
    padding-bottom: 40px;
}

.hero-copy {
    max-width: 690px;
    transform: translateY(-34px);
}

.hero-cta {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-copy h1 {
    margin: 0 0 24px;
    max-width: 100%;
    color: var(--pg-text);
    font-size: clamp(2.65rem, 5vw, 4.35rem);
    line-height: 1.03;
    font-weight: 950;
    letter-spacing: 0;
}

.hero-title-line {
    display: block;
}

.hero-title-threat {
    position: relative;
    display: inline-block;
    padding: 0.01em 0.18em 0.08em;
    border: 1px solid rgba(165, 243, 252, 0.7);
    border-radius: 0.18em;
    background:
        linear-gradient(180deg, #a5f3fc 0%, #22d3ee 58%, #0891b2 100%);
    color: #031018;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.48),
        inset 0 -0.08em 0 rgba(8, 47, 73, 0.22),
        0 0 0 1px rgba(34, 211, 238, 0.2),
        0 20px 58px rgba(34, 211, 238, 0.26);
    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.22);
}

@media (min-width: 981px) {
    .hero-title-line {
        white-space: nowrap;
    }
}

.hero-illustration {
    position: relative;
    min-height: 420px;
    display: grid;
    place-items: center;
    isolation: isolate;
}

.hero-illustration::before {
    content: "";
    position: absolute;
    width: min(92%, 500px);
    aspect-ratio: 1;
    border-radius: 999px;
    background:
        radial-gradient(circle at 50% 44%, rgba(103, 232, 249, 0.22), transparent 58%),
        radial-gradient(ellipse at 50% 82%, rgba(34, 211, 238, 0.2), transparent 62%);
    filter: blur(24px);
    opacity: 0.86;
    z-index: -1;
}

.hero-illustration::after {
    content: "";
    position: absolute;
    width: min(76%, 420px);
    height: 88px;
    left: 50%;
    bottom: 34px;
    border-radius: 999px;
    background: radial-gradient(ellipse at center, rgba(34, 211, 238, 0.42), rgba(34, 211, 238, 0.14) 42%, transparent 72%);
    filter: blur(20px);
    opacity: 0.72;
    transform: translateX(-50%);
    z-index: -1;
}

.hero-illustration picture {
    display: block;
    width: min(100%, 360px);
}

.hero-illustration img {
    width: min(100%, 360px);
    height: auto;
    display: block;
    filter:
        drop-shadow(0 34px 76px rgba(0, 0, 0, 0.34))
        drop-shadow(0 0 34px rgba(34, 211, 238, 0.18));
}

.hero-copy .section-kicker,
.hero-copy h1,
.hero-copy > p:not(.section-kicker),
.hero-copy .pg-button {
    animation: pg-rise-in 720ms var(--pg-ease-out) both;
}

.hero-copy .section-kicker {
    animation-delay: 70ms;
}

.hero-copy h1 {
    animation-delay: 140ms;
}

.hero-copy > p:not(.section-kicker) {
    animation-delay: 220ms;
}

.hero-copy .pg-button:first-child {
    animation-delay: 300ms;
}

.hero-copy .pg-button:last-child {
    animation-delay: 360ms;
}

.hero-illustration {
    animation: pg-rise-in 820ms var(--pg-ease-out) 260ms both;
}

.hero-illustration img {
    animation: pg-float-quiet 6.8s ease-in-out 1.2s infinite;
}

.hero-illustration::before {
    animation: pg-breathe-glow 5.6s ease-in-out 900ms infinite;
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(22px);
    transition:
        opacity 680ms var(--pg-ease-out),
        transform 680ms var(--pg-ease-out);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-console,
.hero-training-preview,
.panel,
.selection-panel,
.score-panel,
.result-detail,
.scenario-card,
.signal-card,
.ethics-panel {
    border: 1px solid var(--pg-line);
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(2, 6, 23, 0.84));
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
}

.hero-training-preview {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
}

.hero-training-preview::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.12), transparent 36%);
    pointer-events: none;
}

.phishing-explainer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 540px);
    gap: clamp(24px, 4vw, 52px);
    align-items: start;
}

.phishing-explainer-copy {
    max-width: 620px;
    margin-bottom: 0;
}

.phishing-explainer-copy > p:not(.section-kicker) {
    margin-bottom: 24px;
}

.phishing-summary {
    margin-top: 14px;
    max-width: 820px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(34, 211, 238, 0.08), transparent 46%),
        rgba(2, 6, 23, 0.42);
    padding: 18px;
}

.phishing-summary > span {
    display: block;
    margin-bottom: 8px;
    color: var(--pg-cyan-strong);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.phishing-summary p {
    margin: 0 0 14px;
    color: var(--pg-text);
    font-size: clamp(1rem, 1.16vw, 1.12rem);
    line-height: 1.62;
    font-weight: 700;
}

.risk-highlight {
    display: inline;
    padding: 0.08em 0.22em 0.12em;
    border-radius: 0.22em;
    border: 1px solid rgba(251, 191, 36, 0.38);
    background: rgba(251, 191, 36, 0.14);
    color: #fbbf24;
    box-shadow: 0 0 24px rgba(251, 191, 36, 0.12);
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

.phishing-summary ol {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: phishing-step;
}

.phishing-summary li {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.12);
    background: rgba(15, 23, 42, 0.56);
    color: #b8c4d6;
    font-size: 0.9rem;
    line-height: 1.45;
    padding: 12px;
}

.phishing-summary li::before {
    counter-increment: phishing-step;
    content: "0" counter(phishing-step);
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    border: 1px solid rgba(34, 211, 238, 0.32);
    background: rgba(34, 211, 238, 0.08);
    color: var(--pg-cyan-strong);
    font-size: 0.78rem;
    font-weight: 850;
    flex-shrink: 0;
}

.phishing-explainer-grid {
    display: grid;
    border: 1px solid var(--pg-line);
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(2, 6, 23, 0.84));
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.24);
    overflow: hidden;
}

.phishing-explain-card {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    column-gap: 16px;
    padding: 28px 18px;
    border-bottom: 1px solid var(--pg-line);
}

.phishing-explain-card:last-child {
    border-bottom: none;
}

.phishing-explain-card h3 {
    color: var(--pg-text);
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 8px;
    line-height: 1.3;
}

.phishing-explain-card p {
    color: var(--pg-muted);
    font-size: 0.9rem;
    line-height: 1.65;
    margin: 0;
}

.phishing-explain-index {
    grid-row: span 2;
    align-self: start;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid rgba(34, 211, 238, 0.32);
    background: rgba(34, 211, 238, 0.08);
    color: var(--pg-cyan-strong);
    font-weight: 850;
    font-size: 0.78rem;
    flex-shrink: 0;
}

.preview-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
    padding: 16px 18px;
    color: #cbd5e1;
    font-size: 13px;
}

.preview-body {
    position: relative;
    padding: 22px;
}

.preview-message {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 14px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 16px;
    background: rgba(2, 6, 23, 0.42);
    padding: 18px;
}

.preview-avatar {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(34, 211, 238, 0.12);
    color: var(--pg-cyan-strong);
    font-weight: 900;
}

.preview-sender {
    margin: 0 0 6px;
    color: #cbd5e1;
    font-size: 0.88rem;
    font-weight: 800;
}

.preview-message h2 {
    margin: 0 0 10px;
    color: var(--pg-text);
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    line-height: 1.25;
    font-weight: 900;
}

.preview-message p:not(.preview-sender) {
    margin: 0 0 12px;
    color: #94a3b8;
    font-size: 0.92rem;
    line-height: 1.6;
}

.preview-message span {
    color: var(--pg-cyan-strong);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.78rem;
    overflow-wrap: anywhere;
}

.preview-signals {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.preview-signal {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 13px;
    background: rgba(2, 6, 23, 0.34);
    padding: 12px 13px;
    color: #e2e8f0;
}

.preview-signal span {
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 900;
}

.preview-signal.is-alert span {
    background: rgba(251, 191, 36, 0.12);
    color: #fde68a;
}

.preview-signal.is-safe span {
    background: rgba(34, 197, 94, 0.12);
    color: #86efac;
}

.preview-signal strong {
    font-size: 0.92rem;
}

.preview-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 16px;
}

.preview-footer span {
    border: 1px solid rgba(34, 211, 238, 0.24);
    border-radius: 999px;
    background: rgba(34, 211, 238, 0.07);
    color: var(--pg-cyan-strong);
    font-size: 0.74rem;
    font-weight: 800;
    padding: 7px 10px;
}

.hero-console {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
}

.hero-console::before {
    content: "";
    position: absolute;
    inset: 0;
    height: 34%;
    background: linear-gradient(180deg, transparent, rgba(34, 211, 238, 0.10), transparent);
    animation: pg-scan 3.4s ease-in-out infinite;
    pointer-events: none;
}

.console-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
    padding: 16px 18px;
    color: #cbd5e1;
    font-size: 13px;
}

.traffic {
    display: flex;
    gap: 7px;
}

.traffic span {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #334155;
}

.traffic span:nth-child(1) { background: var(--pg-rose); }
.traffic span:nth-child(2) { background: var(--pg-amber); }
.traffic span:nth-child(3) { background: #22c55e; }

.console-body {
    padding: 24px;
}

.console-score {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.console-score span,
.console-row span {
    color: var(--pg-muted);
}

.console-score strong {
    color: var(--pg-cyan);
    font-size: 5rem;
    line-height: 0.85;
    font-weight: 950;
}

.console-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 13px 0;
    border-top: 1px solid rgba(148, 163, 184, 0.16);
}

.console-row strong {
    color: var(--pg-text);
}

.console-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.console-pills span,
.pill,
.scenario-type,
.scenario-difficulty {
    border: 1px solid rgba(34, 211, 238, 0.28);
    border-radius: 999px;
    background: rgba(34, 211, 238, 0.08);
    color: var(--pg-cyan-strong);
    font-size: 12px;
    font-weight: 800;
    padding: 7px 10px;
}

.pg-button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    padding: 13px 18px;
    font-weight: 800;
    text-decoration: none;
    transition:
        transform 140ms var(--pg-ease-out),
        background-color 160ms var(--pg-ease-out),
        border-color 160ms var(--pg-ease-out),
        color 160ms var(--pg-ease-out);
}

.pg-button.primary {
    border: 1px solid transparent;
    background: var(--pg-cyan);
    color: #06202a;
    box-shadow: 0 18px 44px rgba(34, 211, 238, 0.18);
}

.pg-button.primary:hover {
    background: var(--pg-cyan-strong);
}

.pg-button.secondary {
    border: 1px solid rgba(148, 163, 184, 0.34);
    background: rgba(15, 23, 42, 0.72);
    color: #e2e8f0;
}

.pg-button.secondary:hover {
    border-color: rgba(34, 211, 238, 0.42);
    background: rgba(15, 23, 42, 0.98);
}

.scenario-card,
.signal-card,
.panel,
.selection-panel,
.score-panel,
.result-detail,
.hero-training-preview,
.ethics-panel {
    border-radius: 18px;
}

.scenario-card {
    position: relative;
    display: block;
    min-height: 100%;
    overflow: hidden;
    padding: 22px;
    text-decoration: none;
    transition:
        transform 180ms var(--pg-ease-out),
        border-color 180ms var(--pg-ease-out),
        background-color 180ms var(--pg-ease-out);
}

.scenario-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 12%, rgba(103, 232, 249, 0.14) 46%, transparent 68%);
    opacity: 0;
    pointer-events: none;
    transform: translateX(-118%);
}

.scenario-card:hover {
    transform: translateY(-3px);
    border-color: rgba(34, 211, 238, 0.48);
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.98), rgba(2, 6, 23, 0.92));
}

.scenario-card:hover::after,
.scenario-card:focus-visible::after {
    animation: pg-card-scan 900ms var(--pg-ease-out);
}

.scenario-difficulty {
    border-color: rgba(251, 191, 36, 0.28);
    background: rgba(251, 191, 36, 0.08);
    color: #fde68a;
}

.learning-note {
    color: #94a3b8;
    font-size: 0.82rem;
    line-height: 1.65;
}

.learning-note span:first-child {
    color: #cbd5e1;
    font-weight: 800;
}

.signal-card {
    position: relative;
    padding: 22px;
}

.signal-dot {
    display: block;
    width: 34px;
    height: 2px;
    margin-bottom: 18px;
    border-radius: 0;
    background: rgba(103, 232, 249, 0.72);
}

.panel,
.selection-panel,
.score-panel,
.ethics-panel {
    padding: clamp(22px, 4vw, 32px);
}

.how-step-card {
    padding: 28px 24px;
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.4);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.how-step-num {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(34, 211, 238, 0.32);
    border-radius: 10px;
    background: rgba(34, 211, 238, 0.08);
    color: var(--pg-cyan-strong);
    font-size: 0.78rem;
    font-weight: 850;
    flex-shrink: 0;
}

.how-step-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--pg-text);
    margin: 0;
    line-height: 1.3;
}

.how-step-card p {
    font-size: 0.9rem;
    line-height: 1.65;
    color: #94a3b8;
    margin: 0;
}

#ethics {
    padding-bottom: 28px;
}

.ethics-panel {
    border-color: rgba(251, 191, 36, 0.34);
    background: linear-gradient(180deg, rgba(251, 191, 36, 0.10), rgba(15, 23, 42, 0.84));
}

.resource-list {
    display: grid;
    gap: 14px;
    color: #cbd5e1;
    line-height: 1.7;
    counter-reset: resource;
}

.resource-list li {
    list-style: none;
    position: relative;
    padding-left: 36px;
}

.resource-list li::before {
    counter-increment: resource;
    content: counter(resource);
    position: absolute;
    left: 0;
    top: 0.1rem;
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    border-radius: 7px;
    border: 1px solid rgba(34, 211, 238, 0.32);
    background: rgba(34, 211, 238, 0.08);
    color: var(--pg-cyan-strong);
    font-size: 0.78rem;
    font-weight: 850;
}

.report-link {
    display: block;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 12px;
    background: rgba(2, 6, 23, 0.34);
    padding: 14px;
    text-decoration: none;
    transition: transform 160ms var(--pg-ease-out), border-color 160ms var(--pg-ease-out), background-color 160ms var(--pg-ease-out);
}

.report-link:hover {
    transform: translateY(-1px);
    border-color: rgba(34, 211, 238, 0.34);
    background: rgba(15, 23, 42, 0.72);
}

.after-click-panel {
    margin-top: 32px;
}

.timeline-step {
    min-height: 100%;
    list-style: none;
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 12px;
}

.timeline-step span {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(34, 211, 238, 0.34);
    border-radius: 8px;
    background: rgba(34, 211, 238, 0.08);
    color: var(--pg-cyan-strong);
    font-weight: 850;
}

.timeline-step p {
    margin: 0;
    color: #cbd5e1;
}

.case-header {
    margin-bottom: 32px;
}

.case-header .back-link {
    margin-bottom: 20px;
}

.case-header h1 {
    max-width: 1100px;
    margin: 0 0 14px;
    color: var(--pg-text);
    font-size: clamp(2rem, 3.6vw, 3.4rem);
    line-height: 1.06;
    font-weight: 900;
}

.case-header > p:not(.section-kicker):not(.learning-note) {
    font-size: clamp(1.05rem, 1.45vw, 1.24rem);
    line-height: 1.75;
}

.case-header .learning-note {
    font-size: clamp(0.98rem, 1.22vw, 1.1rem);
    line-height: 1.7;
}

.back-link {
    display: flex;
    align-items: center;
    width: fit-content;
    color: var(--pg-cyan-strong);
    font-size: 0.9rem;
    font-weight: 800;
    text-decoration: none;
}

.back-link:hover {
    color: var(--pg-text);
}

.case-viewport {
    min-height: 720px;
    display: grid;
    place-items: center;
    border: 1px solid var(--pg-line);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.60), rgba(2, 6, 23, 0.46));
    padding: 18px;
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
}

.case-device-mail,
.case-device-sms {
    background:
        linear-gradient(rgba(34, 211, 238, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(34, 211, 238, 0.035) 1px, transparent 1px),
        linear-gradient(135deg, rgba(34, 211, 238, 0.11), transparent 42%),
        #020617;
    background-size: 44px 44px, 44px 44px, auto, auto;
}

.selection-panel {
    min-width: 0;
    margin: 0;
    padding: 24px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(2, 6, 23, 0.88));
}

.selection-panel legend {
    padding: 0;
}

.selection-title {
    display: block;
    float: left;
    width: 100%;
    margin: 0 0 12px;
    color: var(--pg-text);
    font-size: clamp(1.25rem, 1.7vw, 1.55rem);
    line-height: 1.25;
    font-weight: 800;
}

.selection-help {
    clear: both;
    margin: 0 0 24px;
    color: #a8b4c8;
    font-size: clamp(1rem, 1.25vw, 1.12rem);
    line-height: 1.7;
}

.element-option {
    position: relative;
    display: flex;
    gap: 12px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 14px;
    background: rgba(2, 6, 23, 0.54);
    padding: 15px;
    cursor: pointer;
    transition:
        transform 160ms var(--pg-ease-out),
        border-color 160ms var(--pg-ease-out),
        background-color 160ms var(--pg-ease-out);
}

.element-option::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: radial-gradient(circle at 18px 20px, rgba(103, 232, 249, 0.24), transparent 34%);
    opacity: 0;
    pointer-events: none;
}

.element-option:hover {
    transform: translateY(-1px);
    border-color: rgba(34, 211, 238, 0.42);
}

.element-option:has(input:checked) {
    border-color: var(--pg-cyan);
    background: rgba(34, 211, 238, 0.10);
    box-shadow: 0 16px 34px rgba(34, 211, 238, 0.08);
    animation: pg-option-pop 260ms var(--pg-ease-out);
}

.element-option:has(input:checked)::after {
    animation: pg-option-glow 520ms var(--pg-ease-out);
}

.element-option input {
    transition: transform 160ms var(--pg-ease-out);
}

.element-option input:checked {
    transform: scale(1.12);
}

.score-panel {
    background:
        linear-gradient(90deg, rgba(34, 211, 238, 0.16), transparent 38%),
        linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(2, 6, 23, 0.88));
}

.result-detail {
    padding: 20px;
}

@keyframes pg-scan {
    0%, 100% {
        transform: translateY(-80%);
    }

    50% {
        transform: translateY(235%);
    }
}

@keyframes pg-rise-in {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pg-float-quiet {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-8px) rotate(0.8deg);
    }
}

@keyframes pg-breathe-glow {
    0%, 100% {
        opacity: 0.54;
        transform: scale(0.96);
    }

    50% {
        opacity: 0.84;
        transform: scale(1.04);
    }
}

@keyframes pg-card-scan {
    0% {
        opacity: 0;
        transform: translateX(-118%);
    }

    24% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translateX(118%);
    }
}

@keyframes pg-option-pop {
    0% {
        transform: scale(1);
    }

    44% {
        transform: scale(1.018);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes pg-option-glow {
    0% {
        opacity: 0;
        transform: scale(0.94);
    }

    38% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: scale(1.08);
    }
}

@media (max-width: 980px) {
    .hero-section {
        grid-template-columns: 1fr;
        min-height: auto;
        gap: 28px;
    }

    .hero-copy h1 {
        max-width: 100%;
        font-size: clamp(2.45rem, 10vw, 4.2rem);
    }

    .hero-copy {
        transform: translateY(-14px);
    }

    .hero-illustration {
        min-height: 0;
        justify-items: start;
    }

    .hero-illustration img {
        width: min(70vw, 340px);
    }

    .hero-illustration picture {
        width: min(70vw, 340px);
    }

    .phishing-explainer {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .phishing-explainer-copy {
        max-width: 760px;
    }

    .phishing-summary ol {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .header-inner {
        height: auto;
        min-height: 60px;
        flex-wrap: wrap;
        padding-block: 10px;
        align-content: center;
        gap: 0 16px;
    }

    .header-end {
        margin-left: auto;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .header-nav {
        display: flex;
        flex-basis: 100%;
        order: 9;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        overflow: hidden;
        max-height: 0;
        transition: max-height 220ms var(--pg-ease-out), padding-block 220ms var(--pg-ease-out);
        padding-block: 0;
    }

    .header-nav.is-open {
        max-height: 280px;
        padding-block: 8px;
        border-block-start: 1px solid rgba(148, 163, 184, 0.12);
        margin-block-start: 8px;
    }

    #site-header nav a {
        padding: 11px 14px;
        font-size: 0.93rem;
        border-radius: 12px;
    }

    .app-section {
        padding: 42px 18px;
    }

    .hero-console {
        border-radius: 18px;
    }

    .hero-illustration {
        display: none;
    }

    .hero-copy {
        text-align: center;
        transform: none;
    }

    .hero-copy h1 {
        text-align: center;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-cta .pg-button {
        width: auto;
        padding-inline: 18px;
        font-size: 0.9rem;
    }

    .hero-illustration picture {
        width: min(72vw, 280px);
    }

    .phishing-explain-card {
        grid-template-columns: 32px minmax(0, 1fr);
        column-gap: 12px;
        padding: 20px 16px;
    }

    .phishing-explain-index {
        width: 32px;
        height: 32px;
        font-size: 0.72rem;
    }

    .phishing-summary {
        padding: 18px;
    }

    .console-score strong {
        font-size: 4rem;
    }

    .pg-button {
        width: 100%;
    }

    .section-heading h1,
    .section-heading h2,
    .case-header h1 {
        overflow-wrap: anywhere;
    }
}

@media (max-width: 540px) {
    .signal-card {
        padding: 16px 14px;
    }

    .signal-dot {
        width: 26px;
        margin-bottom: 12px;
    }

    .signal-card h3 {
        font-size: 0.85rem;
    }

    .signal-card p {
        font-size: 0.78rem;
        line-height: 1.55;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
