.backdrop-blur {
    backdrop-filter: saturate(180%) blur(12px);
}

.social-link:hover {
    opacity: .75
}

.btn-scan {
    background: #6f42c1;
    border: none;
    color: #fff;
}

.btn-scan:hover {
    background: #5b32a8;
    color: #fff;
}

.hero-underline {
    position: relative;
    display: inline-block;
    line-height: 1;
}

.hero-underline img {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -0.35em;
    width: 100%;
    opacity: .9;
}

@font-face {
    font-family: "Funnel Display";
    src: local("Funnel Display"), url("../font/funnel_display/FunnelDisplay-VariableFont_wght.ttf") format("truetype");
    font-weight: 300 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Roboto Local";
    src: local("Roboto"), url("../font/roboto/Roboto-VariableFont_wdth_wght.ttf") format("truetype");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --font-body: "Roboto Local", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-heading: "Funnel Display", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --brand-primary: #6f42c1;
}

body {
    font-family: var(--font-body)
}

:where(h1,h2,h3,h4,h5,h6,.display-1,.display-2,.display-3,.display-4,.display-5,.display-6) {
    font-family: var(--font-heading);
    font-weight: 700;
}

/* Nav blur */
.backdrop-blur {
    backdrop-filter: saturate(180%) blur(12px)
}

/* Buttons */
.btn-scan {
    background: var(--brand-primary);
    border: none;
    color: #fff
}

.btn-scan:hover, .btn-scan:focus {
    background: #5b32a8;
    color: #fff
}

/* Hero background (class instead of inline style) */
.hero-bg {
    background: url('asset/img/hero-background-dmarc-checker.svg') no-repeat center/cover;
    padding-bottom: 8rem;
}

/* On very small screens, avoid overly tall hero */
@media (max-width: 575.98px) {
    .hero-min {
        min-height: 75vh
    }
}

/* Underline decoration (kept) */
.hero-underline {
    position: relative;
    display: inline-block;
    line-height: 1
}

.hero-underline img {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -0.35em;
    width: 100%;
    opacity: .9
}

/* Social hover */
.social-link:hover {
    opacity: .75
}

/* Sticky header offset for first section (unchanged layout) */
header.sticky-top.pt-3 + section {
    margin-top: -6rem;
    padding-top: 1rem
}

html {
    scroll-behavior: smooth
}

/* Avoid sticky header covering anchors */
#generator {
    scroll-margin-top: 96px
}

/* Monospace result wrap */
.mono-wrap {
    word-break: break-word;
    overflow-wrap: anywhere
}