/* ============================================================
   Scamalot — main.css
   Brand palette from design decisions (May 2026)
   Uses CSS custom properties throughout so dark mode can be
   added later by swapping the :root values.
   ============================================================ */

/* ── Custom Properties (Brand Palette) ─────────────────────── */
:root {
    --color-bg:       #F8F9FA;  /* off-white page background */
    --color-surface:  #FFFFFF;  /* cards, header, surfaces */
    --color-text:     #263238;  /* body text — never pure black */
    --color-brand:    #78909C;  /* primary blue-grey */
    --color-accent:   #F06292;  /* pink — CTAs, highlights */
    --color-warning:  #FFB300;  /* amber — scam warning states */
    --color-border:   #E0E4E7;  /* subtle borders */

    --font-heading:   'Montserrat', Verdana, system-ui, sans-serif; /* site headings */
    --font-serif:     Georgia, 'Times New Roman', serif;           /* prose / body content if needed */
    --font-sans:      system-ui, -apple-system, 'Segoe UI', sans-serif;

    --radius:         6px;
    --radius-lg:      10px;
    --shadow-sm:      0 1px 3px rgba(0,0,0,0.08);
    --shadow-md:      0 2px 8px rgba(0,0,0,0.10);

    --container-max:  1180px;
    --header-height:  64px;

    --transition:     0.18s ease;
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    background: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--color-accent); }

/* ── Container ──────────────────────────────────────────────── */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
    display: inline-block;
    padding: 0.6rem 1.4rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.4;
    cursor: pointer;
    border: 2px solid transparent;
    transition: opacity var(--transition), background var(--transition);
    white-space: nowrap;
}
.btn:hover { opacity: 0.86; }

.btn-sm { padding: 0.4rem 0.9rem; font-size: 0.8rem; }

.btn-accent        { background: var(--color-accent); color: #fff; border-color: var(--color-accent); }
.btn-brand         { background: var(--color-brand);  color: #fff; border-color: var(--color-brand); }
.btn-primary       { background: var(--color-accent); color: #fff; border-color: var(--color-accent); }
.btn-secondary     { background: transparent; color: var(--color-brand); border-color: var(--color-brand); }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }

/* ── Site Warning Banner ────────────────────────────────────── */
.site-warning {
    background: var(--color-warning);
    color: var(--color-text);
    text-align: center;
    padding: 0.45rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
}

/* ── Header ─────────────────────────────────────────────────── */
.site-header {
    background: var(--color-bg);
    border-bottom: 2px solid var(--color-brand);
    height: var(--header-height);
    position: sticky;
    top: 0;
    z-index: 200;
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    height: var(--header-height);
    gap: 1.5rem;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    flex-shrink: 0;
}

.site-logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 6px;
    /* Blend white JPEG background into any light surface — eliminates the box */
    mix-blend-mode: multiply;
}

.site-name {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: bold;
    color: var(--color-text);
    letter-spacing: -0.01em;
}

.site-nav {
    display: flex;
    gap: 1.25rem;
    margin-left: auto;
    align-items: center;
}

.site-nav a {
    text-decoration: none;
    color: var(--color-text);
    font-size: 0.875rem;
    font-weight: 500;
    transition: color var(--transition);
}

.site-nav a:hover { color: var(--color-accent); }

.header-actions {
    display: flex;
    gap: 0.6rem;
    flex-shrink: 0;
}

/* ── Sections (shared) ──────────────────────────────────────── */
.section {
    padding: 3rem 0;
}

.section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    color: var(--color-text);
}

.section-subhead {
    font-size: 0.875rem;
    color: var(--color-brand);
}

.see-all {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-accent);
    text-decoration: none;
}

.see-all:hover { text-decoration: underline; }

.no-content {
    color: var(--color-brand);
    font-size: 0.9rem;
    padding: 1rem 0;
}

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
    background: var(--color-brand);
    color: #fff;
    padding: 4rem 0;
}

.hero-inner {
    display: flex;
    align-items: center;
    gap: 3rem;
    justify-content: space-between;
}

.hero-text { flex: 1; }

.hero h1 {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.hero-logo {
    flex-shrink: 0;
    opacity: 0.95;
}

.hero-logo img {
    width: 140px;
    height: 140px;
    object-fit: contain;
    border-radius: var(--radius-lg);
}

/* ── Alert Cards ────────────────────────────────────────────── */
.alerts-section {
    background: var(--color-bg);
}

.alerts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.25rem;
}

.alert-card {
    background: var(--color-surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 1.25rem;
    border-left: 3px solid var(--color-accent);
    transition: box-shadow var(--transition);
}

.alert-card:hover { box-shadow: var(--shadow-md); }

.alert-card__source {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--color-brand);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-bottom: 0.4rem;
}

.alert-card__title {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.alert-card__title a {
    text-decoration: none;
    color: var(--color-text);
}

.alert-card__title a:hover { color: var(--color-accent); }

.alert-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-bottom: 0.75rem;
}

.tag {
    display: inline-block;
    border-radius: 20px;
    font-size: 0.68rem;
    font-weight: 600;
    padding: 0.15rem 0.55rem;
    letter-spacing: 0.02em;
}

.tag--category { background: #EEF2F4; color: var(--color-brand); border: 1px solid var(--color-border); }
.tag--entity   { background: #FEE8EF; color: #C2185B; border: 1px solid #F8BBD0; }
.tag--channel  { background: #FFF8E1; color: #E65100; border: 1px solid #FFE0B2; }

.alert-card__meta {
    font-size: 0.78rem;
    color: var(--color-brand);
}

/* ── Trending / Cluster Cards ───────────────────────────────── */
.trending-section {
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.cluster-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
}

.cluster-card {
    background: var(--color-bg);
    border-radius: var(--radius);
    padding: 1.4rem;
    border-top: 3px solid var(--color-brand);
    box-shadow: var(--shadow-sm);
}

.cluster-card__count {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 0.2rem;
}

.cluster-card__label {
    font-weight: 700;
    font-size: 1rem;
    color: var(--color-text);
    margin-bottom: 0.3rem;
}

.cluster-card__entities {
    font-size: 0.8rem;
    color: var(--color-brand);
}

/* ── About Strip ────────────────────────────────────────────── */
.about-strip {
    background: var(--color-bg);
}

.about-strip__inner {
    max-width: 680px;
}

.about-strip h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.about-strip p {
    color: var(--color-text);
    margin-bottom: 0.9rem;
    font-size: 0.95rem;
}

.about-strip .btn { margin-top: 0.5rem; }

/* ── Newsletter ─────────────────────────────────────────────── */
.newsletter-section {
    background: var(--color-text);
    color: #fff;
    padding: 3rem 0;
    text-align: center;
}

.newsletter-section h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

.newsletter-section p {
    opacity: 0.75;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.newsletter-form {
    display: flex;
    gap: 0.6rem;
    justify-content: center;
    flex-wrap: wrap;
}

.newsletter-form input[type="email"] {
    padding: 0.6rem 1rem;
    border-radius: var(--radius);
    border: none;
    width: 300px;
    font-size: 0.9rem;
    outline: none;
}

.newsletter-form input[type="email"]:focus {
    box-shadow: 0 0 0 2px var(--color-accent);
}

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer {
    background: var(--color-text);
    color: rgba(255,255,255,0.85);
    padding-top: 3rem;
    font-size: 0.875rem;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 0.25rem;
}

.footer-tagline {
    opacity: 0.65;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

.footer-legal {
    opacity: 0.45;
    font-size: 0.78rem;
    line-height: 1.6;
}

.site-footer h3 {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.45;
    margin-bottom: 0.75rem;
    color: #fff;
}

.site-footer a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    display: block;
    margin-bottom: 0.45rem;
    transition: color var(--transition);
}

.site-footer a:hover { color: var(--color-accent); }

.footer-bottom {
    padding: 1rem 0;
    text-align: center;
    font-size: 0.78rem;
    opacity: 0.4;
}

/* ── Page Header (News, Education etc.) ────────────────────── */
.page-header {
    background: var(--color-brand);
    color: #fff;
    padding: 2.5rem 0;
    border-bottom: 3px solid var(--color-accent);
}

.page-header h1 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    opacity: 0.85;
    font-size: 0.95rem;
    max-width: 620px;
}

/* ── Category Filter Chips ──────────────────────────────────── */
.news-filters {
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    padding: 0.75rem 0;
}

.news-filters .container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.filter-chip {
    display: inline-block;
    padding: 0.3rem 0.85rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    border: 1.5px solid var(--color-border);
    color: var(--color-brand);
    background: var(--color-surface);
    transition: all var(--transition);
}

.filter-chip:hover,
.filter-chip--active {
    background: var(--color-brand);
    border-color: var(--color-brand);
    color: #fff;
}

/* ── Alert Card Summary (news page only) ────────────────────── */
.alert-card__summary {
    font-size: 0.82rem;
    color: var(--color-brand);
    line-height: 1.5;
    margin-bottom: 0.6rem;
}

/* ── Pagination ─────────────────────────────────────────────── */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    padding: 2rem 0 0;
}

.pagination__btn {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    border-radius: var(--radius);
    border: 1.5px solid var(--color-brand);
    color: var(--color-brand);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all var(--transition);
}

.pagination__btn:hover {
    background: var(--color-brand);
    color: #fff;
}

.pagination__info {
    font-size: 0.82rem;
    color: var(--color-brand);
}

/* ── Breadcrumb ─────────────────────────────────────────────── */
.breadcrumb {
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    padding: 0.6rem 0;
    font-size: 0.8rem;
}

.breadcrumb .container {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--color-brand);
    text-decoration: none;
}

.breadcrumb a:hover { color: var(--color-accent); }

.breadcrumb__sep { color: var(--color-border); }

.breadcrumb span[aria-current] {
    color: var(--color-text);
    font-weight: 500;
}

/* ── Alert Detail Page ──────────────────────────────────────── */
.alert-article {
    padding: 2.5rem 0 3rem;
}

.alert-article__inner {
    max-width: 740px;
}

.alert-article__meta-top {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.9rem;
}

.source-badge {
    display: inline-block;
    background: var(--color-brand);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
}

.alert-article__date {
    font-size: 0.82rem;
    color: var(--color-brand);
}

.alert-article__title {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    line-height: 1.25;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.alert-article__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 2rem;
}

/* ── Advice Box ─────────────────────────────────────────────── */
.advice-box {
    background: #FFF0F4;
    border: 2px solid #F48FB1;
    border-left: 6px solid var(--color-accent);
    border-radius: var(--radius);
    padding: 1.75rem 1.8rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 12px rgba(240,98,146,0.10);
}

.advice-box__label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.advice-box__label svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.advice-box__content {
    font-size: 1.02rem;
    line-height: 1.8;
    color: var(--color-text);
}

.advice-box__content p {
    margin-bottom: 1rem;
}

.advice-box__content p:last-child {
    margin-bottom: 0;
}

.advice-box__content strong {
    color: #B71C1C;
    font-weight: 700;
}

/* ── Article Body ───────────────────────────────────────────── */
.alert-article__summary {
    margin-bottom: 2rem;
}

.alert-article__summary h2 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
    color: var(--color-text);
}

.alert-article__summary p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-text);
}

.alert-article__source-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--color-brand);
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
}

.alert-article__source-link a {
    font-weight: 600;
    color: var(--color-accent);
    text-decoration: none;
}

.alert-article__source-link a:hover { text-decoration: underline; }

/* ── Related Section ────────────────────────────────────────── */
.related-section {
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
}

.related-section__heading {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--color-text);
    margin-bottom: 1.25rem;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
    .site-nav { display: none; } /* TODO: add hamburger menu */

    .header-inner { gap: 1rem; }

    .hero-inner { flex-direction: column; gap: 2rem; }
    .hero-logo { display: none; }
    .hero h1 { font-size: 1.9rem; }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    .footer-brand-col { grid-column: 1 / -1; }
}

/* ── Education Page — In-page nav ───────────────────────────── */
.edu-page-nav {
    display: flex;
    gap: 1.25rem;
    margin-top: 1.25rem;
    flex-wrap: wrap;
}

.edu-page-nav a {
    color: rgba(255,255,255,0.85);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1.5px solid rgba(255,255,255,0.4);
    padding-bottom: 0.1rem;
    transition: color var(--transition), border-color var(--transition);
}

.edu-page-nav a:hover {
    color: #fff;
    border-color: #fff;
}

/* ── Education Page — Section backgrounds ────────────────────── */
.edu-guides-section {
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
}

.edu-examples-section {
    background: var(--color-bg);
}

/* ── Flip Cards (Guides & Tips) ──────────────────────────────── */
.flip-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.flip-card {
    perspective: 1200px;
    height: 210px;
    cursor: pointer;
    outline: none;
    border-radius: var(--radius);
}

.flip-card:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 3px;
}

.flip-card__inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.55s cubic-bezier(0.45, 0.05, 0.55, 0.95);
    border-radius: var(--radius);
}

.flip-card.is-flipped .flip-card__inner {
    transform: rotateY(180deg);
}

.flip-card__front,
.flip-card__back {
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    padding: 1.3rem 1.4rem;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-md);
}

.flip-card__front {
    background: var(--color-brand);
    color: #fff;
    border-left: 4px solid var(--color-accent);
}

.flip-card__back {
    background: var(--color-text);
    color: #fff;
    transform: rotateY(180deg);
}

.flip-card__eyebrow {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.6;
    flex-shrink: 0;
}

.flip-card__question {
    font-family: var(--font-heading);
    font-size: 0.975rem;
    font-weight: 700;
    line-height: 1.35;
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0.5rem 0 0.25rem;
}

.flip-card__hint {
    font-size: 0.7rem;
    opacity: 0.55;
    letter-spacing: 0.02em;
    flex-shrink: 0;
}

.flip-card__answer {
    font-size: 0.84rem;
    line-height: 1.65;
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0.35rem 0 0.25rem;
    opacity: 0.92;
}

.edu-more-coming {
    font-size: 0.85rem;
    color: var(--color-brand);
    font-style: italic;
    padding-top: 0.25rem;
}

/* ── Education Page — Example filters (inline, not full-width bar) */
.edu-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.5rem;
}

/* ── Education Strip (homepage) ─────────────────────────────── */
.education-strip {
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

/* ── Example Cards (education list + homepage strip) ─────────── */
.example-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.25rem;
}

.example-card {
    background: var(--color-surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 1.25rem;
    border-left: 3px solid #1565c0; /* phishing blue default */
    transition: box-shadow var(--transition);
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.example-card--fake-sub {
    border-left-color: #7b1fa2;
}

.example-card:hover { box-shadow: var(--shadow-md); }

.example-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
}

.example-card__subject {
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
}

.example-card__subject a {
    text-decoration: none;
    color: var(--color-text);
}

.example-card__subject a:hover { color: var(--color-accent); }

.example-card__brand {
    font-size: 0.78rem;
    color: var(--color-brand);
    margin: 0;
}

.example-card__meta {
    font-size: 0.75rem;
    color: var(--color-brand);
    margin: 0;
    margin-top: auto;
    padding-top: 0.25rem;
}

/* Category tag variants for education */
.tag--phishing {
    background: #E3F2FD;
    color: #1565c0;
    border: 1px solid #90CAF9;
}

.tag--fake-sub {
    background: #F3E5F5;
    color: #7b1fa2;
    border: 1px solid #CE93D8;
}

/* ── Education Article Page ─────────────────────────────────── */
.edu-article {
    padding: 2.5rem 0 3rem;
}

.edu-article__inner {
    max-width: 740px;
}

.edu-article__brand-line {
    font-size: 0.875rem;
    color: var(--color-brand);
    margin-bottom: 2rem;
    margin-top: -0.5rem;
}

.edu-article__brand-line strong {
    color: var(--color-text);
}

/* ── Email Specimen ──────────────────────────────────────────── */
.email-specimen {
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius);
    margin-bottom: 2rem;
    overflow: hidden;
    background: var(--color-surface);
}

.email-specimen__label-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--color-brand);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.45rem 1.1rem;
}

.email-specimen__header {
    background: #F5F7F8;
    border-bottom: 1px solid var(--color-border);
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.email-specimen__field {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 0.5rem;
    align-items: baseline;
}

.email-specimen__field-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-brand);
    padding-top: 0.1rem;
}

.email-specimen__field-value {
    font-size: 0.85rem;
    color: var(--color-text);
    word-break: break-all;
}

.email-specimen__field-value--mono {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.8rem;
    color: #B71C1C; /* red — suspicious address */
}

.email-specimen__field-value--subject {
    font-weight: 600;
    font-family: var(--font-sans);
    word-break: break-word;
}

.email-specimen__body {
    padding: 1.25rem;
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--color-text);
    white-space: pre-wrap;
    border-top: 1px solid var(--color-border);
    background: var(--color-surface);
}

/* ── Red Flags ───────────────────────────────────────────────── */
.red-flags {
    margin-bottom: 2rem;
}

.red-flags__heading {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.red-flags__heading svg {
    color: var(--color-warning);
    flex-shrink: 0;
}

.red-flags__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.red-flags__item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    background: #FFFDE7;
    border: 1px solid #FFE082;
    border-left: 4px solid var(--color-warning);
    border-radius: var(--radius);
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    line-height: 1.55;
}

.red-flags__num {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--color-warning);
    flex-shrink: 0;
    min-width: 1.4rem;
    padding-top: 0.05rem;
}

@media (max-width: 600px) {
    .hero { padding: 2.5rem 0; }
    .hero h1 { font-size: 1.6rem; }

    .alerts-grid,
    .cluster-grid { grid-template-columns: 1fr; }

    .footer-inner { grid-template-columns: 1fr; }

    .section-header { flex-direction: column; align-items: flex-start; }
}

/* ── Report a Scam ──────────────────────────────────────────── */

.report-section {
    background: var(--color-bg);
    padding: 3rem 0 4rem;
}

.report-form-wrap {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2.5rem;
    align-items: start;
    max-width: 980px;
    margin: 0 auto;               /* ← was missing, caused left-flush */
}

.report-form {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    border-top: 4px solid var(--color-accent);
    padding: 2.25rem 2.5rem;
    box-shadow: var(--shadow-md);
}

/* ── Form elements ──────────────────────────────────────────── */

.form-group {
    margin-bottom: 1.6rem;
}

.form-label {
    display: block;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--color-text);
    margin-bottom: 0.5rem;
    letter-spacing: 0.01em;
}

.form-required {
    color: var(--color-accent);
    margin-left: 3px;
}

.form-optional {
    font-size: 0.78rem;
    font-weight: 400;
    color: #90a4ae;
    margin-left: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Inputs, selects, textarea share the same base */
.form-select,
.form-input,
.form-textarea {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 1.5px solid #cfd8dc;
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--color-text);
    background: #fff;
    box-sizing: border-box;
    transition: border-color 0.18s, box-shadow 0.18s;
    appearance: none;
    -webkit-appearance: none;
}

/* Custom dropdown arrow */
.form-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2378909c' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

.form-select:focus,
.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(240,98,146,0.12);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.form-hint {
    font-size: 0.8rem;
    color: #90a4ae;
    margin-top: 0.35rem;
    line-height: 1.45;
}

.form-char-count {
    font-variant-numeric: tabular-nums;
    text-align: right;
}

.form-field-error {
    font-size: 0.83rem;
    color: #d32f2f;
    margin-top: 0.3rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.form-errors {
    background: #fff5f5;
    border: 1.5px solid #ffcdd2;
    border-radius: var(--radius);
    padding: 0.85rem 1.1rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: #c62828;
}

.form-static-value {
    font-size: 0.88rem;
    color: #78909c;
    padding: 0.6rem 1rem;
    background: #f5f7f8;
    border-radius: var(--radius);
    border: 1.5px solid var(--color-border);
    font-variant-numeric: tabular-nums;
}

/* Two-column row for the dropdowns */
.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-divider {
    border: none;
    border-top: 1px solid var(--color-border);
    margin: 1.75rem 0 1.6rem;
}

.form-actions {
    margin-top: 1.75rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.form-actions .btn {
    padding: 0.75rem 2rem;
    font-size: 1rem;
}

.form-privacy-note {
    font-size: 0.78rem;
    color: #90a4ae;
    margin: 0;
    line-height: 1.5;
}

.form-privacy-note a {
    color: var(--color-brand);
    text-decoration: none;
}
.form-privacy-note a:hover { text-decoration: underline; }

/* ── Report sidebar ─────────────────────────────────────────── */

.report-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: sticky;
    top: 1.5rem;
}

.report-info-box {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--color-accent);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.4rem;
    box-shadow: var(--shadow-sm);
}

.report-info-box h3 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 0.7rem;
    color: var(--color-text);
}

.report-info-box p {
    font-size: 0.875rem;
    color: #546e7a;
    margin: 0.5rem 0 0;
    line-height: 1.55;
}

.report-steps {
    font-size: 0.875rem;
    color: #546e7a;
    padding-left: 1.25rem;
    margin: 0;
    line-height: 2;
}

.report-info-box--urgent {
    border-left-color: var(--color-warning);
    background: #fffde7;
}

.report-info-box--urgent h3 { color: #e65100; }

/* ── Success / Coming Soon ──────────────────────────────────── */

.success-wrap {
    max-width: 520px;
    margin: 5rem auto;
    text-align: center;
    padding: 0 1rem;
}

.success-icon,
.coming-soon-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    font-size: 2.2rem;
    line-height: 72px;
    margin: 0 auto 1.5rem;
}

.success-icon {
    background: #e8f5e9;
    color: #2e7d32;
}

.coming-soon-icon {
    background: #fce4ec;
    color: var(--color-accent);
}

.success-wrap h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.success-message {
    font-size: 1.1rem;
    color: #546e7a;
    margin-bottom: 1rem;
}

.success-wrap p {
    color: #546e7a;
    line-height: 1.65;
    margin-bottom: 0.8rem;
}

.success-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

/* ── Responsive ─────────────────────────────────────────────── */

@media (max-width: 820px) {
    .report-form-wrap {
        grid-template-columns: 1fr;
    }
    .report-sidebar {
        order: -1;
        position: static;
    }
    .form-row-2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 500px) {
    .report-form {
        padding: 1.5rem 1.25rem;
    }
    .form-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .form-actions .btn {
        text-align: center;
    }
}
