/* JÜB register landing page (/features/jub-nyilvantartas) - loaded only on the
   features.jub route. Builds on the shared features.css design tokens. */

.jub-landing .lead {
    color: #44536f;
    font-size: 17px;
    line-height: 1.6;
    max-width: 44em;
}

/* ---------- article sections ---------- */

.jub-section {
    padding: 36px 0;
    border-bottom: 1px solid #e6ebf5;
    scroll-margin-top: 110px;
    max-width: 52em;
}

.jub-section-title {
    font-size: clamp(22px, 2.8vw, 28px);
    font-weight: 700;
    color: #1c2a45;
    margin-bottom: 16px;
}

.jub-section-intro {
    font-size: 16px;
    color: #44536f;
    margin-bottom: 14px;
}

.jub-prose p {
    font-size: 15.5px;
    line-height: 1.7;
    color: #44536f;
    margin-bottom: 14px;
}

/* Defensive wrapping: a long token (URL or long compound word) never overflows
   the viewport on narrow screens. */
.jub-prose p,
.jub-faq-a,
.jub-steps li {
    overflow-wrap: anywhere;
}

.jub-prose p:last-child {
    margin-bottom: 0;
}

.jub-prose strong {
    color: #1c2a45;
    font-weight: 600;
}

/* numbered steps (section 2) */

.jub-steps {
    margin: 0;
    padding-left: 0;
    list-style: none;
    counter-reset: jub-step;
}

.jub-steps li {
    position: relative;
    padding: 0 0 16px 46px;
    font-size: 15.5px;
    line-height: 1.7;
    color: #44536f;
}

.jub-steps li:last-child {
    padding-bottom: 0;
}

.jub-steps li::before {
    counter-increment: jub-step;
    content: counter(jub-step);
    position: absolute;
    left: 0;
    top: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #eef3ff;
    color: #2743a6;
    font-size: 14px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.jub-steps li strong {
    color: #1c2a45;
    font-weight: 600;
}

/* ---------- Flowyer feature block (section 5) ---------- */

.jub-flowyer {
    max-width: none;
}

.jub-feature-list {
    max-width: 52em;
    margin-bottom: 36px;
}

.jub-feature-list .features-item {
    grid-template-columns: 280px minmax(0, 1fr);
}

@media (max-width: 767.98px) {
    .jub-feature-list .features-item {
        grid-template-columns: 1fr;
    }
}

/* screenshots */

.jub-shots {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 28px;
}

.jub-shot {
    margin: 0;
}

.jub-shot-ph {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    aspect-ratio: 4 / 3;
    border: 1px dashed #b9c4dd;
    border-radius: 12px;
    background: #f6f8fd;
    color: #8595b5;
}

.jub-shot-ph i {
    font-size: 30px;
}

.jub-shot-ph-label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.jub-shot figcaption {
    margin-top: 10px;
    font-size: 13.5px;
    line-height: 1.5;
    color: #6c7a95;
}

@media (max-width: 767.98px) {
    .jub-shots {
        grid-template-columns: 1fr;
        gap: 22px;
    }
}

.jub-related {
    font-size: 15px;
    color: #44536f;
    margin-bottom: 0;
}

.jub-related a {
    color: #2743a6;
    font-weight: 600;
}

/* ---------- FAQ accordion (section 6) ---------- */

.jub-faq {
    max-width: 52em;
}

.jub-faq-item {
    border-bottom: 1px solid #e6ebf5;
}

.jub-faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 2px;
    background: transparent;
    border: 0;
    text-align: left;
    font-size: 16.5px;
    font-weight: 600;
    color: #1c2a45;
    cursor: pointer;
}

.jub-faq-q:hover {
    color: #2743a6;
}

.jub-faq-chevron {
    flex: none;
    font-size: 14px;
    color: #6c7a95;
    transition: transform 0.2s ease;
}

.jub-faq-q:not(.collapsed) .jub-faq-chevron {
    transform: rotate(180deg);
}

.jub-faq-a {
    padding: 0 2px 20px;
    font-size: 15.5px;
    line-height: 1.7;
    color: #44536f;
}

.jub-faq-a a {
    color: #2743a6;
    font-weight: 600;
}
