/*
 * nico FITLOG front page foundation.
 * Styles are scoped to the front-page template to avoid affecting AFFINGER globally.
 */
.nico-fitlog-home {
    --nico-color-white: #ffffff;
    --nico-color-charcoal: #222222;
    --nico-color-forest-green: #0f5132;
    --nico-color-light-gray: #f5f6f5;
    --nico-color-border: #e5e7e5;

    background-color: var(--nico-color-white);
    color: var(--nico-color-charcoal);
}

.nico-fitlog-home__inner {
    box-sizing: border-box;
    width: min(100% - 2rem, 75rem);
    margin-inline: auto;
    padding-block: 3rem;
}

.nico-fitlog-home__hero {
    min-width: 0;
    padding-block: clamp(3rem, 10vw, 7rem);
}

.nico-fitlog-home__hero-content {
    max-width: 46rem;
}

.nico-fitlog-home__hero-header {
    min-width: 0;
}

.nico-fitlog-home__hero-title {
    margin: 0;
    color: var(--nico-color-charcoal);
    font-size: clamp(2.75rem, 12vw, 5.5rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1;
    overflow-wrap: anywhere;
}

.nico-fitlog-home__hero-tagline {
    margin: 1.25rem 0 0;
    color: var(--nico-color-charcoal);
    font-size: clamp(1.25rem, 5.5vw, 2.25rem);
    font-weight: 700;
    line-height: 1.5;
}

.nico-fitlog-home__hero-phrase {
    margin: 1.25rem 0 0;
    color: var(--nico-color-forest-green);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1.5;
}

.nico-fitlog-home__hero-phrase::before {
    display: inline-block;
    width: 1.5rem;
    height: 0.125rem;
    margin-right: 0.625rem;
    background-color: currentColor;
    content: "";
    vertical-align: middle;
}

.nico-fitlog-home__hero-intro {
    margin: 2.5rem 0 0;
    color: var(--nico-color-charcoal);
    font-size: 1rem;
    line-height: 1.9;
}

@media screen and (min-width: 48rem) {
    .nico-fitlog-home__inner {
        width: min(100% - 4rem, 75rem);
        padding-block: 5rem;
    }

    .nico-fitlog-home__hero-tagline {
        max-width: 34rem;
    }

    .nico-fitlog-home__hero-intro {
        font-size: 1.0625rem;
    }
}
