:root {
    --font-family: 'Montserrat', 'Roboto', sans-serif;
    --bg: #f6f8f7;
    --surface: #ffffff;
    --text: #505050;
    --muted: #4b5563;
    --primary: #0d2c80;
    --secondary: #194da2;
    --accent-soft: #e6f2e7;
    --border: #e5e7eb;
    --shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    --radius: 12px;
    --fade: rgba(13, 44, 128, 0.75);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-family: var(--font-family);
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

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

.site-header {
    background: var(--bg);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border);
}

.nav-shell {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
}

#logo {
    width: 220px;
}

.menu-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px;
    cursor: pointer;
    color: #444;
}

.menu-toggle .icon {
    width: 42px;
    height: 42px;
}

.menu-toggle .icon-close {
    display: none;
}

.menu-toggle.active .icon-menu {
    display: none;
}

.menu-toggle.active .icon-close {
    display: block;
}

.menu-bar {
    margin-left: auto;
}

.menu-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 0;
    margin: 0;
}

.menu-dropdown {
    position: relative;
}

.menu-dropdown__toggle {
    font-weight: 500;
    color: var(--muted);
    padding: 8px 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.menu-dropdown__toggle::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid var(--muted);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.menu-dropdown:hover .menu-dropdown__toggle::after,
.menu-dropdown:focus-within .menu-dropdown__toggle::after {
    transform: translateY(1px);
    border-top-color: var(--primary);
}

.menu-dropdown__list {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    list-style: none;
    margin: 0;
    padding: 8px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    gap: 6px;
    z-index: 10;
}

.menu-dropdown__list a {
    display: block;
    padding: 8px 10px;
    color: var(--text);
    border-radius: 8px;
}

.menu-dropdown__list a:hover,
.menu-dropdown__list a:focus-visible {
    color: var(--primary);
    background: #f2f5f9;
}

.menu-dropdown:hover .menu-dropdown__list,
.menu-dropdown:focus-within .menu-dropdown__list {
    display: flex;
    pointer-events: auto;
}

.menu-cta {
    display: flex;
    align-items: center;
}

.menu-cta .btn {
    padding: 6px 12px;
}

.menu-list a {
    font-weight: 500;
    color: var(--primary);
    padding: 8px 0;
    transition: color 0.2s ease;
}

.menu-list a:hover,
.menu-list a:focus-visible {
    color: var(--primary);
}

main {
    width: 100%;
    max-width: 1800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.hero {
    position: relative;
    width: 100vw;
    margin: 0 calc(50% - 50vw);
    padding: 175px 20px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    background: var(--bg);
}

.hero::before {
    content: '';
    position: absolute;
    inset: -3%;
    background-image: url("assets/hero.jpg");
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, var(--primary) 20%, rgba(255, 255, 255, 0.10));
    z-index: 0;
}

.hero__content {
    position: relative;
    width: 100%;
    padding: 40px 36px;
    z-index: 1;
    color: var(--bg);
}

.hero__eyebrow {
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
    font-weight: 700;
    margin: 0 0 12px;
}

.hero__title {
    margin: 0 0 16px;
    font-size: clamp(26px, 3.6vw, 34px);
    line-height: 1.2;
    color: rgb(49, 49, 49);
}

.hero .hero__lede {
    margin: 0 0 28px;
    font-size: 1.5em;
    line-height: 1.6;
    color: var(--bg);
}

.hero__actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-break {
    display: none;
}

.eyebrow {
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.1em;
    color: var(--primary);
    font-weight: 700;
    margin: 0 0 8px;
}

h1 {
    font-size: 3.25em;
    line-height: 1.2;
    margin: 0 0 14px;
}

h2 {
    font-size: 26px;
    line-height: 1.3;
    margin: 0 0 10px;
}

h3 {
    margin: 0 0 6px;
    font-size: 18px;
}

.lede,
.section-lede {
    color: var(--muted);
    margin: 0 0 18px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 120ms ease, box-shadow 120ms ease, background-color 120ms ease, color 120ms ease;
}

.btn:focus-visible {
    outline: 3px solid rgba(46, 125, 50, 0.25);
    outline-offset: 2px;
}

.btn--primary,
.btn.primary {
    background: #fff;
    color: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 10px 25px rgba(13, 44, 128, 0.12);
}

.btn--primary:hover,
.btn.primary:hover {
    transform: none;
    background: #f2f2f2;
    color: var(--primary);
    box-shadow: 0 12px 24px rgba(13, 44, 128, 0.12);
}

.btn--ghost,
.btn.ghost {
    border-color: #fff;
    color: #fff;
    background: var(--primary);
}

.btn--ghost:hover,
.btn.ghost:hover {
    border-color: var(--secondary);
    color: #fff;
    background: var(--secondary);
}

.menu-cta .btn--ghost {
    color: #fff;
}

.section-header {
    margin-bottom: 24px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 10px;
}

.card p {
    color: var(--muted);
    margin: 0 0 6px;
}

.card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.card ul li {
    padding-left: 18px;
    position: relative;
    color: var(--muted);
}

.card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 7px;
    height: 7px;
    border-radius: 2px;
    background: var(--primary);
}

.card-icon {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: #444;
}

.card-icon .heroicon {
    width: 66px;
    height: 66px;
}

.how-it-works .steps {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: stretch;
    position: relative;
}

.step-arrow {
    color: #fff;
    position: relative;
    flex: 1 1 220px;
    background: var(--primary);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 20px 48px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
    overflow: hidden;
    clip-path: polygon(0 0, 86% 0, 100% 50%, 86% 100%, 0 100%, 8% 50%);
}

.step-label {
    display: inline-block;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.step-arrow p {
    margin: 8px 0 0;
}

.security {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow);
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.security-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    background: #fbfdfc;
}

.security-card p {
    margin: 6px 0 0;
    color: var(--muted);
}

.contact {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow);
}

.contact--highlight {
    background: var(--secondary);
    color: var(--bg);
}

.contact--highlight p,
.contact--highlight li {
    color: var(--bg);
}

.contact--highlight .contact-points li::before {
    background: var(--bg);
}

.contact-shell {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.contact-points {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
    display: grid;
    gap: 10px;
}

.contact-points li {
    position: relative;
    padding-left: 18px;
    color: var(--muted);
}

.contact-points li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 7px;
    height: 7px;
    border-radius: 2px;
    background: var(--primary);
}

.contact-form {
    display: grid;
    gap: 10px;
}

.contact-form label {
    font-weight: 600;
    font-size: 14px;
    color: var(--text);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: #fdfdfd;
    font-size: 15px;
    font-family: inherit;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: 2px solid var(--accent-soft);
    border-color: var(--primary);
}

.contact-form button {
    width: auto;
    justify-self: start;
    padding-left: 18px;
    padding-right: 18px;
}

.site-footer {
    border-top: 1px solid var(--border);
    background: var(--bg);
    padding: 20px;
}

.footer-shell {
    width: 100%;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--muted);
    font-size: 14px;
}

.footer-shell a {
    color: blue;
}

.footer-links {
    display: flex;
    gap: 16px;
}

.footer-links a:hover {
    color: var(--primary);
}

@media (max-width: 1024px) {
    .hero {
        padding: 90px 16px;
    }

    .how-it-works .steps {
        flex-direction: column;
    }

    .step-arrow {
        clip-path: polygon(0 0, 100% 0, 100% 80%, 50% 100%, 0 80%, 0 0);
    }

    .grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .security-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-shell {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 1025px) {
    .hero-break {
        display: block;
    }
}

@media (max-width: 768px) {
    .nav-shell {
        padding: 12px 16px;
    }

    #logo {
        width: 180px;
    }

    .menu-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    .menu-bar {
        position: absolute;
        left: 0;
        right: 0;
        top: 62px;
        background: var(--surface);
        border-top: 1px solid var(--border);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.25s ease;
    }

    .menu-bar.active {
        max-height: 260px;
    }

    .menu-list {
        flex-direction: column;
        padding: 10px 16px;
        gap: 10px;
    }

    .menu-list a {
        padding: 10px 0;
    }

    .menu-dropdown {
        width: 100%;
    }

    .menu-dropdown__list {
        position: static;
        border: none;
        box-shadow: none;
        padding: 4px 0 0;
        gap: 4px;
    }

    .menu-dropdown__list a {
        padding: 8px 0;
    }

    .menu-cta {
        width: 100%;
    }

    .menu-cta .btn {
        width: 100%;
        justify-content: center;
    }

    main {
        padding: 24px 16px 60px;
        gap: 40px;
    }

    .hero {
        padding: 0;
    }

    .hero__title {
        font-size: clamp(22px, 6vw, 28px) !important;
        line-height: 1.2 !important;
    }

    .hero__lede {
        font-size: clamp(16px, 3.8vw, 20px) !important;
        line-height: 1.5 !important;
    }

    .hero--full h1 {
        font-size: 6vw;
    }

    .hero__content {
        padding: 28px 22px;
    }

    .how-it-works .steps {
        flex-direction: column;
    }

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

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

    .footer-shell {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .hero__actions {
        width: 100%;
        justify-content: flex-start;
        gap: 10px;
    }

    .hero__actions .btn {
        flex: 0 0 auto;
        text-align: center;
    }
}
