/* =====================================================================
   Hero: the plain-words description and the trust line under the buttons.
   The headline, buttons and robot keep their styles in index.css.
   ===================================================================== */

.hero .subtitle {
    color: #5a6482; /* darker than --text-light, easier to read on the light blue */
    text-wrap: pretty; /* no single word left on the last line */
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin: 22px 0 0;
    padding: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: #4a5568;
}

.hero-trust li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

/* a ticked circle in the site's blue */
.hero-trust li::before {
    content: "";
    flex: none;
    width: 18px;
    height: 18px;
    background: var(--primary-color);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M8.5 12.3l2.4 2.4 4.6-4.9'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M8.5 12.3l2.4 2.4 4.6-4.9'/%3E%3C/svg%3E") center / contain no-repeat;
}

.hero-trust a {
    color: var(--primary-color);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.hero-trust a:hover {
    color: var(--secondary-color);
}

.hero-trust a:focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
    border-radius: 4px;
}

/* the hero is centred from here down (index.css) */
@media (max-width: 1199px) {
    .hero-trust {
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .hero-trust {
        flex-direction: column;
        align-items: center;
        gap: 8px;
        font-size: 0.92rem;
    }
}
