/* ========================================
   TYPOGRAPHY
   ======================================== */

body {
    font-family: var(--font-primary);
    color: var(--dark-gray);
    line-height: 1.6;
    font-size: 16px;
}

/* Logo */
.logo-arabic {
    font-family: var(--font-arabic-display);
    font-size: 48px;
    font-weight: 700;
    color: var(--emerald);
    margin-bottom: 4px;
    text-shadow: 0 2px 4px color-mix(in srgb, var(--emerald) 10%, transparent);
}

.tagline {
    font-size: 14px;
    color: var(--medium-gray);
    margin-top: 8px;
    font-weight: 400;
}

/* Section titles */
.ecosystem-title {
    text-align: center;
    font-size: 32px;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 60px;
}

/* Center node */
.center-node-logo {
    width: 150px;
    height: 150px;
    margin-bottom: -8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.center-node-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.center-node-arabic {
    font-family: var(--font-arabic-display);
    font-size: 42px;
    font-weight: 700;
    color: var(--on-primary);
    margin-bottom: 0;
    line-height: 1;
}

.center-node-russian {
    font-size: 18px;
    font-weight: 400; /* 300 был единственным потребителем лёгкого веса Inter — вес убран из хостинга */
    color: rgba(255, 255, 255, 0.9);
}

/* Outer nodes */
.node-arabic {
    font-family: var(--font-arabic-display);
    font-size: 32px;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 6px;
    transition: color var(--transition-normal);
}

.node-sub {
    font-size: 15px;
    font-weight: 500;
    color: var(--medium-gray);
}


/* Search */
.search-hint {
    text-align: center;
    margin-top: 16px;
    font-size: 13px;
    color: var(--medium-gray);
}

/* Footer */
footer {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

footer p {
    line-height: 1.8;
}

/* RTL: hide node-sub in Arabic mode */
[lang="ar"] .node-sub {
    display: none;
}

[lang="ar"] .center-node-russian {
    display: none;
}