/*
 * Webflow site-wide custom code — HEAD styles.
 *
 * Canonical source for the 2026 Webflow marketing site's Site Settings ->
 * Custom Code "Head Code" <style> block (Webflow site 6a3f0f590ca9a8fcf0e4fb5c).
 * Served on Vercel from the marketing app's public/ dir and referenced from
 * Webflow via a single <link> so the code lives here (versioned, reviewable)
 * instead of being pasted — and clobbered — in the Webflow UI.
 *
 * Edit here, not in Webflow. The Webflow head block only contains:
 *   <link rel="stylesheet" href="https://www.cnaught.com/webflow/head.css">
 */

/* ===== GLOBAL OVERFLOW GUARDRAILS (site-wide, every page) ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
}
html,
body {
    overflow-x: hidden;
    max-width: 100%;
    margin: 0;
}
img,
svg,
video,
iframe,
canvas {
    max-width: 100%;
}
img {
    height: auto;
}
body * {
    max-width: 100%;
}

/* Hide Webflow staging badge */
.w-webflow-badge {
    display: none !important;
}

/* ===== HEADER ===== */
.site-header {
    background-color: #fffefc !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
}
.hdr-nav {
    min-width: 0;
}
.hdr-brand {
    flex-shrink: 0;
}
.hdr-right {
    flex-wrap: nowrap;
    flex-shrink: 0;
}
.nav-group .nav-drop {
    top: 100%;
    padding-top: 18px;
    transition: none !important;
    transform: none !important;
}
.nav-group.open .nav-drop,
.nav-group:hover .nav-drop {
    opacity: 1;
    pointer-events: auto;
}
.nav-group.open .chevron,
.nav-group:hover .chevron {
    transform: rotate(180deg);
}
.hdr-navbtn:hover,
.hdr-login:hover {
    color: #d0533f;
}
.hdr-cta:hover {
    background: #696868;
}
.nav-drop-link:hover {
    background: #fbf8f3;
}

/* ===== FOOTER ===== */
.ft-link:hover {
    color: #ffffff;
}
.ft-legal-link:hover {
    color: rgba(255, 255, 255, 0.7);
}

/* ===== A11y focus ===== */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #d0533f;
    outline-offset: 2px;
    border-radius: 4px;
}
