/* ============================================================
   RoboSpati — Typography scale & helpers
   ============================================================ */

body { color: var(--body-color); }

/* ---- Display / hero ---- */
.display-hero {
    font-size: var(--fs-hero);
    font-weight: var(--fw-bold);
    line-height: var(--lh-tight);
    letter-spacing: -0.03em;
    color: var(--heading-color);
}

/* ---- Section titles ---- */
.section-title {
    font-size: var(--fs-section);
    font-weight: var(--fw-bold);
    line-height: var(--lh-heading);
    letter-spacing: -0.02em;
    color: var(--heading-color);
    margin-bottom: 1rem;
}

.section-sub {
    font-size: var(--fs-body);
    color: var(--body-color);
    max-width: 640px;
}

.section-text {
    font-size: var(--fs-body);
    color: var(--body-color);
    line-height: var(--lh-body);
}

/* ---- Section tag (small blue label) ---- */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-family: var(--font-heading);
    font-size: var(--fs-xs);
    font-weight: var(--fw-bold);
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--accent);
    margin-bottom: 1rem;
}
.section-tag::before {
    content: "";
    display: inline-block;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: var(--gradient-blue);
}

/* ---- Card titles ---- */
.card-title,
.card-title-lg {
    font-family: var(--font-heading);
    font-size: var(--fs-card);
    font-weight: var(--fw-bold);
    color: var(--heading-color);
    margin-bottom: .5rem;
}

/* ---- Lead paragraph ---- */
.text-lead {
    font-size: clamp(1.15rem, 2vw, 1.3rem);
    line-height: var(--lh-body);
    color: var(--body-color);
}

/* ---- Small / secondary text ---- */
.small, .text-small { font-size: var(--fs-small); }
.text-xs { font-size: var(--fs-xs); }

.text-muted {
    color: var(--muted) !important;
}
.text-body { color: var(--body-color) !important; }
.text-heading { color: var(--heading-color) !important; }

/* ---- Gradient text ---- */
.text-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.text-gradient-hero {
    background: linear-gradient(90deg, #8fd0ff 0%, #ffffff 55%, #8fd0ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.text-white { color: #fff !important; }

/* ---- Weight helpers ---- */
.fw-medium { font-weight: var(--fw-medium); }
.fw-bold { font-weight: var(--fw-bold); }
.fw-black { font-weight: var(--fw-black); }

/* ---- Vertical rhythm ---- */
.section-head { margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head .section-tag { margin-bottom: .9rem; }
.section-head .section-sub { margin-bottom: 0; }
