/* Hero */

.hero {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.hero-intro-row {
    margin-bottom: 1.75rem;
}

.hero-intro-line {
    width: 24px;
    height: 2px;
    flex-shrink: 0;
    background-color: #0d6efd;
}

.hero-intro {
    color: #737373;
    font-size: 1.15rem;
    font-weight: 500;
}

.hero-avatar {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 50%;
    object-fit: cover;
    image-rendering: auto;
}

.hero-title {
    max-width: 1150px;
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: #000;
}

.hero-title-highlight {
    color: #0d6efd;
}

.hero-description {
    max-width: 750px;
    color: #737373;
    font-size: 1.3rem;
    line-height: 1.55;
}

.hero-cta {
    align-self: flex-start;
    min-height: 48px;
    padding: 0.625rem 1.5rem;
    font-weight: 600;
    border-radius: 8px;
    white-space: nowrap;
    transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.hero-cta:hover {
    background-color: #0b63e5;
    border-color: #0b63e5;
}

.hero-cta-note {
    color: #737373;
    font-size: 0.75rem;
}

/* Products */

.products-section {
    background-color: #f4f9fd;
    padding-top: 3rem;
    padding-bottom: 3.5rem;
}

.products-header {
    margin-bottom: 2rem;
}

.products-heading {
    color: #0b1641;
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.products-more-link {
    color: #0d6efd;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.products-more-link:hover {
    text-decoration: underline;
}

.product-card {
    height: 100%;
    background-color: #fff;
    border: 1px solid #dce3e9;
    border-radius: 16px;
    overflow-wrap: anywhere;
    transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.product-card:focus-within {
    border-color: #b6c6d6;
    box-shadow: 0 6px 18px rgba(11, 22, 65, 0.07);
}

@media (hover: hover) and (pointer: fine) {
    .product-card:hover {
        border-color: #b6c6d6;
        box-shadow: 0 6px 18px rgba(11, 22, 65, 0.07);
        transform: translateY(-2px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .product-card {
        transition: none;
    }

    .product-card:hover {
        transform: none;
    }
}

.product-category {
    color: #757575;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.product-logo {
    width: 60px;
    height: 60px;
    flex: 0 0 60px;
    border-radius: 10px;
    background-color: #f1f3f5;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #0b1641;
    font-size: 1.2rem;
    font-weight: 700;
}

.product-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #fff;
    padding: 7px;
}

.product-name {
    color: #171717;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.45;
}

.product-summary {
    color: #656565;
    font-size: 1rem;
    line-height: 1.55;
}

.product-reason {
    border-top: 1px solid #eee;
    margin-top: 1.25rem;
    margin-bottom: 1.5rem;
    padding-top: 1.125rem;
}

.product-reason-label {
    color: #656565;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.product-reason-copy {
    color: #171717;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
}

.product-research-link {
    color: #171717;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    padding-top: 0.5rem;
}

.product-research-link:hover {
    text-decoration: underline;
}

.product-research-link::after {
    border-radius: 16px;
}

.product-research-link:focus-visible::after {
    outline: 2px solid #0d6efd;
    outline-offset: 3px;
}

/* About */

.about-section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
}

.products-eyebrow,
.about-eyebrow {
    color: #6f748b;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.about-heading {
    color: #0b1641;
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.about-copy {
    max-width: 680px;
    color: #5f6477;
    font-size: 1.05rem;
    line-height: 1.55;
}

.about-image {
    width: 100%;
    max-width: 340px;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 10px;
}

.about-more-link {
    color: #0d6efd;
    font-weight: 600;
    text-decoration: none;
}

.about-more-link:hover {
    color: #0a58ca;
    text-decoration: underline;
}

/* Subscribe */

.subscribe-section {
    padding-top: 1rem;
    padding-bottom: 3.5rem;
}

.subscribe-box {
    background-color: #f4f9fd;
    border-radius: 10px;
    padding: 3.25rem 3rem;
}

.subscribe-content {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(420px, 6fr);
    column-gap: 5rem;
    align-items: center;
}

.subscribe-message {
    min-width: 0;
    max-width: 470px;
}

.subscribe-heading {
    color: #0b1641;
    font-size: 1.55rem;
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: -0.02em;
    max-width: 430px;
}

.subscribe-copy {
    color: #5f6477;
    font-size: 1.05rem;
    line-height: 1.55;
}

.subscribe-form {
    width: 100%;
    max-width: 520px;
    justify-self: end;
}

.subscribe-form .form-control,
.subscribe-form .btn {
    min-height: 58px;
}

.subscribe-form .form-control {
    padding-left: 1.25rem;
    font-size: 1rem;
}

.subscribe-form .btn {
    min-width: 165px;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    font-weight: 600;
}

.subscribe-confirmation {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
    outline: none;
}

.subscribe-confirmation-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    background-color: #e1edff;
    color: #0d6efd;
    font-size: 1.75rem;
}

.subscribe-confirmation .subscribe-heading {
    max-width: none;
    font-size: 1.8rem;
}

.subscribe-confirmation .subscribe-copy {
    color: #6b7c95;
    font-size: 1.25rem;
    line-height: 1.65;
}

/* Responsive */

/* Give the collection heading room above the cards on larger desktop viewports. */
@media (min-width: 1200px) and (min-height: 800px) {

    .hero {
        padding-bottom: 6rem;
    }

    .products-section {
        padding-top: 5rem;
    }

    .products-header {
        margin-bottom: 5rem;
    }
}

@media (max-width: 1199.98px) {

    .subscribe-content {
        grid-template-columns: minmax(0, 1fr) minmax(400px, 1fr);
        column-gap: 3rem;
    }

    .subscribe-form {
        max-width: 480px;
    }
}

@media (max-width: 991.98px) {

    .subscribe-content {
        grid-template-columns: 1fr;
        row-gap: 2rem;
    }

    .subscribe-message {
        max-width: 600px;
    }

    .subscribe-heading {
        max-width: 500px;
    }

    .subscribe-form {
        width: 100%;
        max-width: 520px;
        justify-self: start;
    }
}

@media (max-width: 767.98px) {

    .hero {
        padding-top: 1.5rem;
        padding-bottom: 1rem;
    }

    .hero-intro-row {
        margin-bottom: 1rem;
    }

    .hero-title {
        font-size: clamp(2.75rem, 11vw, 4rem);
        line-height: 1.08;
    }

    .hero-description {
        font-size: 1.15rem;
    }

    .products-section {
        padding-top: 2.25rem;
        padding-bottom: 2.5rem;
    }

    .products-header {
        margin-bottom: 1.5rem;
    }

    .products-heading {
        font-size: 1.8rem;
    }

    .about-section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .about-heading {
        font-size: 1.8rem;
    }

    .about-image {
        max-width: 280px;
    }

    .subscribe-section {
        padding-top: 0.5rem;
        padding-bottom: 2.5rem;
    }

    .subscribe-box {
        padding: 2rem 1.5rem;
    }

    .subscribe-content {
        row-gap: 1.5rem;
    }

    .subscribe-heading {
        font-size: 1.4rem;
    }

    .subscribe-copy {
        font-size: 1rem;
    }

    .subscribe-form {
        max-width: none;
    }

    .subscribe-form .input-group {
        display: flex;
        flex-direction: column;
    }

    .subscribe-form .form-control {
        width: 100%;
        border-radius: 0.375rem !important;
        margin-bottom: 0.75rem;
    }

    .subscribe-form .btn {
        width: 100%;
        border-radius: 0.375rem !important;
    }
}
