
/* ============================================================
   SENSTECH DESIGN SYSTEM
   TYPOGRAPHY
   ============================================================ */


/* ============================================================
   BASE HEADINGS
   ============================================================ */

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    margin-bottom: 0;

    color: var(--st-text-primary, #0B1220);
    font-family: var(--st-font-display, 'Plus Jakarta Sans', sans-serif);

    font-weight: 700;
    line-height: 1.2;
}


/* ============================================================
   DISPLAY / HERO
   ============================================================ */

.st-display,
.hero-title {
    font-family: var(--st-font-display, 'Plus Jakarta Sans', sans-serif);

    font-size: clamp(3.5rem, 7vw, 6.5rem);
    font-weight: 800;

    line-height: 0.96;
    letter-spacing: -0.045em;

    text-transform: uppercase;
}

.home .hero-title {
    color: #FFFFFF;
}


/* ============================================================
   SECTION HEADING
   ============================================================ */

.st-heading,
.about-title {
    font-family: var(--st-font-display, 'Plus Jakarta Sans', sans-serif);

    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;

    line-height: 1.02;
    letter-spacing: -0.04em;

    text-transform: uppercase;
}


/* ============================================================
   MEDIUM DISPLAY HEADING
   ============================================================ */

.st-heading-md {
    font-family: var(--st-font-display, 'Plus Jakarta Sans', sans-serif);

    font-size: clamp(2.25rem, 4vw, 3.5rem);
    font-weight: 800;

    line-height: 1.08;
    letter-spacing: -0.035em;
}


/* ============================================================
   UI / FUNCTIONAL HEADINGS
   ============================================================ */

h3,
h4,
h5,
h6,
.st-card-title {
    font-family: var(--st-font-display, 'Plus Jakarta Sans', sans-serif);

    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.02em;
}


/* ============================================================
   HERO TITLE ACCENT
   ============================================================ */

.hero-title-accent {
    color: var(--st-accent, #A3E635);
}


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

body {
    font-family: var(--st-font-body, 'Inter', sans-serif);

    color: var(--st-text-primary, #0B1220);
    background-color: var(--st-bg, #F8FAFC);
}

.st-lead,
.about-lead,
.home-caption {
    color: var(--st-text-secondary, #334155);

    font-family: var(--st-font-body, 'Inter', sans-serif);

    font-size: clamp(1rem, 1.35vw, 1.125rem);
    font-weight: 400;

    line-height: 1.8;
}

/* Hero copy needs contrast against the dark hero background */
.home .home-caption {
    color: rgba(255, 255, 255, 0.82);
}

.st-body {
    color: var(--st-text-secondary, #334155);

    font-family: var(--st-font-body, 'Inter', sans-serif);

    font-size: var(--st-text-base, 1rem);
    font-weight: 400;

    line-height: 1.8;
}

.st-body-sm {
    color: var(--st-text-secondary, #334155);

    font-family: var(--st-font-body, 'Inter', sans-serif);

    font-size: var(--st-text-sm, 0.875rem);
    font-weight: 400;

    line-height: 1.75;
}


/* ============================================================
   SMALL / META TEXT
   ============================================================ */

.st-small {
    color: var(--st-text-muted, #64748B);

    font-family: var(--st-font-body, 'Inter', sans-serif);

    font-size: var(--st-text-sm, 0.875rem);
    line-height: 1.6;
}


/* ============================================================
   SECTION KICKER
   ============================================================ */

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-bottom: var(--st-space-4, 1rem);

    color: var(--st-primary, #0F6A4A);

    font-family: var(--st-font-body, 'Inter', sans-serif);

    font-size: 0.72rem;
    font-weight: 700;

    line-height: 1;
    letter-spacing: 0.16em;

    text-transform: uppercase;
}

.section-kicker::before {
    content: '';

    width: 24px;
    height: 2px;

    flex: 0 0 24px;

    background: currentColor;
}

/* The kicker on the dark hero uses the lime accent */
.home .section-kicker {
    color: var(--st-accent, #A3E635);
}


/* ============================================================
   TEXT ACCENTS
   ============================================================ */

.text-brand,
.text-brand-green {
    color: var(--st-primary, #0F6A4A) !important;
}

.text-primary-brand {
    color: var(--st-text-primary, #0B1220) !important;
}

.text-secondary-brand {
    color: var(--st-text-secondary, #334155) !important;
}

.text-muted-brand {
    color: var(--st-text-muted, #64748B) !important;
}


/* ============================================================
   LINKS / INLINE TEXT
   ============================================================ */

.st-link {
    color: var(--st-primary, #0F6A4A);

    font-family: var(--st-font-body, 'Inter', sans-serif);

    font-size: 0.875rem;
    font-weight: 700;

    line-height: 1.5;
    text-decoration: none;

    transition: color var(--st-transition-fast, 180ms ease);
}

.st-link:hover {
    color: var(--st-primary-hover, #0B543B);
}


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

@media (max-width: 991.98px) {
    .st-display,
    .hero-title {
        font-size: clamp(3rem, 9vw, 5.25rem);
    }

    .st-heading,
    .about-title {
        font-size: clamp(2.5rem, 7vw, 4rem);
    }
}


@media (max-width: 575.98px) {
    .st-display,
    .hero-title {
        font-size: clamp(2.5rem, 12vw, 4rem);
        line-height: 0.98;
        letter-spacing: -0.04em;
    }

    .st-heading,
    .about-title {
        font-size: clamp(2.1rem, 10vw, 3.2rem);
        line-height: 1.04;
    }

    .st-heading-md {
        font-size: clamp(1.9rem, 8vw, 2.75rem);
    }

    .st-lead,
    .about-lead,
    .home-caption {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .section-kicker {
        font-size: 0.65rem;
        letter-spacing: 0.12em;
    }
}
