@font-face {
    font-family: 'Inter';
    font-style: italic;
    font-weight: 600;
    font-display: swap;
    src: url('Inter-SemiBoldItalic.woff2') format('woff2');
}

:root {
    --brand-blue:    #1a65c4;
    --brand-blue-dk: #1450a0;
    --body-bg:       #eef1f6;
    --card-border:   #ccd6e3;
    --text-main:     #2d3748;
    --text-muted:    #5a6a7e;
    --footer-text:   #a8c6e8;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--body-bg);
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
    margin: 0;
}

.page-content {
    flex: 1;
    overflow-y: auto;
}

/* ── Navbar ──────────────────────────────────────────── */
.site-navbar {
    background-color: var(--brand-blue);
    border-bottom: 3px solid var(--brand-blue-dk);
    padding: 0;
}

.site-navbar .navbar-brand {
    font-family: 'Inter', sans-serif;
    font-style: italic;
    font-weight: 600;
    color: #ffffff;
    font-size: 2rem;
    letter-spacing: 0.04em;
    padding: 0.75rem 0;
    text-decoration: none;
    align-self: center;
}

.site-navbar .navbar-brand:visited {
    color: #ffffff;
}

.site-navbar .navbar-brand:hover {
    color: rgba(255, 255, 255, 0.82);
}

.site-navbar ul li {
    display: flex;
}

.st-nav-link {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    padding: 0 1rem;
    border-radius: 0;
    text-decoration: none;
    transition: color 0.15s ease, background-color 0.15s ease;
    white-space: nowrap;
}

.st-nav-link:hover {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.13);
}

.st-nav-link.active {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.2);
}

/* ── Site description ────────────────────────────────── */
.site-description {
    padding-top: 2rem;
    padding-bottom: 1.8rem;
    border: none;
    border-bottom: none;
    background-color: var(--body-bg);
}

.site-description p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-main);
    max-width: 900px;
    margin: 0 auto;
}

/* ── Product section ─────────────────────────────────── */
.product-section {
    padding: 2rem 0 3rem;
}

.product-card {
    background: #ffffff;
    border: 1px solid var(--card-border);
    border-radius: 6px;
    padding: 1.8rem 2rem;
    box-shadow: 0 2px 10px rgba(26, 101, 196, 0.08);
    margin-bottom: 1.5rem;
}

.product-card-inner {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 992px) {
    .product-card-inner {
        flex-direction: row;
        align-items: stretch;
        gap: 2.5rem;
    }
}

.product-card-text {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card-text h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--brand-blue);
    margin-bottom: 0.65rem;
}

.product-card-text h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s ease;
}

.product-card-text h3 a:visited {
    color: inherit;
}

.product-card-text h3 a:hover {
    color: var(--brand-blue-dk);
    text-decoration: underline;
}

.product-card-text .description {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.3rem;
}

.product-card-text .btn-st-primary {
    margin-top: auto;
    align-self: flex-start;
}

.product-card-image {
    flex-shrink: 0;
    order: -1;
}

@media (min-width: 992px) {
    .product-card-image {
        order: 0;
    }
}

.product-card-image img {
    max-width: 420px;
    width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
}

/* ── Buttons ─────────────────────────────────────────── */
.btn-st-primary {
    display: inline-block;
    background-color: var(--brand-blue);
    color: #ffffff;
    border: 1.5px solid var(--brand-blue);
    padding: 0.48rem 1.35rem;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.025em;
    text-decoration: none;
    transition: background-color 0.18s ease, transform 0.12s ease;
    cursor: pointer;
    text-align: center;
}

.btn-st-primary:hover {
    background-color: #0d3d7a;
    border-color: #0d3d7a;
    color: #ffffff;
    transform: translateY(-1px);
}

.btn-st-outline {
    display: inline-block;
    background-color: transparent;
    color: var(--brand-blue);
    border: 1.5px solid var(--brand-blue);
    padding: 0.48rem 1.35rem;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.025em;
    text-decoration: none;
    transition: background-color 0.18s ease, color 0.18s ease, transform 0.12s ease;
    cursor: pointer;
    text-align: center;
}

.btn-st-outline:hover {
    background-color: var(--brand-blue);
    color: #ffffff;
    transform: translateY(-1px);
}

/* ── Footer ──────────────────────────────────────────── */
.site-footer {
    background-color: var(--brand-blue);
    padding: 0.9rem 0;
}

.site-footer p {
    color: var(--footer-text);
    font-size: 0.85rem;
    margin: 0;
    letter-spacing: 0.02em;
}
