﻿/* Normal Inter (variable weight 100–900) */
@font-face {
    font-family: 'Inter';
    src: url('/Fonts/Inter/Inter-Variable.ttf') format('truetype');
    font-weight: 100 900; /* full variable weight range */
    font-style: normal;
    font-display: swap;
}

/* Italic Inter (variable weight 100–900) */
@font-face {
    font-family: 'Inter';
    src: url('/Fonts/Inter/Inter-VariableItalic.ttf') format('truetype');
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}

body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

:root {
    --accent-color: #01ADF3; /* your custom color */
    --box-radius: 10px;
    --device-radius: 45px;
}

body a {
    color: var(--accent-color);
}

    body a:hover {
        color: var(--accent-color) !important;
    }


/*  MAIN NAVIGATION */
.navbar {
    font-size: 1.1rem;
}

    .navbar .navbar-nav .nav-link {
        font-size: 1.05rem; /* ~16.8px */
        font-weight: 500;
    }

/* Tight width zone: 576–767.98px */
@media (min-width: 576px) and (max-width: 767.98px) {
    .navbar .navbar-nav .nav-link {
        font-size: .95rem; /* reduce just enough to fit */
    }
    /* Optional: reduce horizontal padding a bit */
    .navbar .navbar-nav .nav-link {
        padding-left: .6rem;
        padding-right: .6rem;
    }
}

@media (max-width: 767.98px) {

    .navbar .navbar-nav .nav-link {
        font-size: 1.15rem; /* ~18.4px */
    }

    .navbar .navbar-collapse {
        padding-top: .5rem;
    }

    .navbar .navbar-nav {
        gap: .35rem;
    }

        .navbar .navbar-nav .nav-link {
            padding: .65rem .9rem;
            border-radius: var(--box-radius);
        }

            .navbar .navbar-nav .nav-link:not(.pill-active):hover {
                background: rgba(0,0,0,.04);
            }

            .navbar .navbar-nav .nav-link.pill-active {
                display: inline-flex;
                align-items: center;
                width: fit-content;
            }

        .navbar .navbar-nav .nav-item:last-child {
            display: flex;
            align-items: flex-start;
        }
}


.hero-container {
    background: radial-gradient( circle at center, rgba(255,255,255,0) 0%, rgba(255,255,255,0.6) 45%, rgba(255,255,255,0.85) 55%, #ffffff 60% ), conic-gradient( from 90deg at 1px 1px, rgba(198,198,198,0) 90deg, rgb(237,237,237) 0 ) center -1px / 50px 50px;
}

.container p {
    font-size: 1.1rem;
}

.container ul li a {
    font-size: 0.8rem;
}

.nav-link {
    font-weight: bold;
}

.title-container {
    margin-top: 50px;
}

    .title-container h2 {
        font-size: 1.5rem;
        margin-top: 30px;
        margin-bottom: 20px;
        color: rgb(107 114 128 / 1);
    }

.device-mockup-container {
    margin-left: 30px;
}

.media-container {
    position: relative;
    margin: auto;
    height: 650px;
}

    .media-container .image-overlay {
        z-index: 2;
        height: 601px;
        border-radius: var(--device-radius);
        margin-left: -13px;
        margin-top: -9px
    }

    .media-container .phone-overlay {
        z-index: 3;
        height: 650px;
    }

    .media-container > img,
    .media-container > video {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .media-container video {
        z-index: 1;
        height: 605px;
        border-radius: 45px;
        transform: translate(calc(-50% - 10px), -50%);
        margin-top: -6px;
    }


    .media-container .play-icon {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(calc(-50% - 15px), -50%);
        font-size: 70px;
        color: #000;
        z-index: 3;
    }

.app-image {
    border-radius: 45px;
    border: 8px solid #000000;
    box-shadow: 0 10px 15px 0 rgba(0, 0, 0, 0.2), 0 10px 20px 0 rgba(0, 0, 0, 0.19);
}

.feature-box {
    box-shadow: 0 6px 16px rgba(0,0,0,.1);
    height: 200px;
    border-radius: var(--box-radius);
    text-align: center;
}

    .feature-box h6 {
        letter-spacing: .2px;
    }

    .feature-box img {
        height: 100px;
        box-shadow: 0 6px 16px rgba(0,0,0,.2);
        border-radius: var(--box-radius);
    }

    .feature-box i {
        font-size: 40px;
    }

.external-sources-list li a {
    text-decoration: none;
}

    .external-sources-list li a:hover {
        text-decoration: underline;
    }

.article-card {
    border-radius: var(--box-radius);
    border: 1px solid #e5e7eb;
    background-color: #fff;
    overflow: hidden;
    height: 330px;
    display: flex;
    flex-direction: column;
    text-align: center;
    transition: transform 0.18s ease-out, box-shadow 0.18s ease-out, border-color 0.18s ease-out, background-color 0.18s ease-out;
}

.article-image-wrapper img {
    display: block;
    width: 100%;
    height: auto; /* keep aspect ratio */
}

.article-body {
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.article-title {
    display: -webkit-box;
    -webkit-line-clamp: 2; /* 2 or 3 lines, your choice */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Hover effect on the whole tile */
.article-tile:hover .article-card {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
    border-color: var(--accent-color);
    background-color: #ffffff;
}

.btn-outline-primary {
    border-color: var(--accent-color);
    color: var(--accent-color);
}
/* Button accent on hover */
.article-tile:hover .btn-outline-primary {
    background-color: var(--accent-color);
    color: #fff;
    border-color: var(--accent-color);
}

.footer-links .nav-link {
    color: #333;
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    transition: all .18s ease-in-out;
}

    /* hover effect */
    .footer-links .nav-link.link-accent:hover {
        background-color: rgba(13, 110, 253, .12);
        color: var(--lexi-accent);
    }

/* active (pill) effect */
.pill-active {
    background-color: var(--accent-color);
    color: #fff !important;
    border-radius: var(--box-radius)
}

    .pill-active:hover {
        color: #000000 !important;
    }

.article-list-card {
    transition: transform 0.18s ease-out, box-shadow 0.18s ease-out, border-color 0.18s ease-out, background-color 0.18s ease-out;
}

.article-list-tile:hover .article-list-card {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
    border-color: rgba(13, 110, 253, 0.35);
    background-color: #ffffff;
}

.article-detail .article-body p {
    line-height: 1.7;
    margin-bottom: 0;
}

.article-detail h2 {
    scroll-margin-top: 6rem; /* nicer anchor behavior if you ever link to sections */
}

/* subtle hover for the breadcrumb link */
nav[aria-label="Breadcrumb"] a:hover {
    color: var(--accent-color);
}

.btn-pill {
    border-radius: var(--device-radius);
    padding: 0.75rem 1.5rem;
    white-space: nowrap; /* prevent wrapping */
    font-weight: 600;
}

.btn-pill {
    background-color: var(--accent-color);
    border: var(--accent-color);
    transition: transform .12s ease, box-shadow .12s ease;
}

    .btn-pill:hover {
        transform: translateY(-1px);
        box-shadow: 0 8px 18px rgba(0,0,0,.12);
        color: #000 !important;
        background-color: var(--accent-color) !important;
    }

/*article listing*/

.container-narrow {
    max-width: 860px; /* ideal for article lists & long-form reading */
    margin-left: auto;
    margin-right: auto;
}

/* Slightly wider option if you prefer */
@media (min-width: 1200px) {
    .container-narrow {
        max-width: 800px;
    }
}
@media (min-width: 1400px) {
    .container-narrow {
        max-width: 820px;
    }
}