/* LIRI Insight — product LP (employer-facing) */

.insight-page {
    --insight-ink: var(--color-ink, #26312b);
    --insight-soft: var(--color-brand-soft, #dceee4);
    --insight-paper: var(--color-paper, #fffdf8);
    color: var(--insight-ink);
}

.insight-page .section__inner,
.insight-hero__inner,
.insight-band__inner,
.insight-cta__inner {
    width: min(calc(100% - 40px), 1080px);
    margin-inline: auto;
}

.insight-hero {
    position: relative;
    isolation: isolate;
    padding: clamp(72px, 12vw, 120px) 0 clamp(56px, 8vw, 88px);
    overflow: hidden;
    background:
        radial-gradient(ellipse 90% 70% at 12% 0%, rgba(0, 123, 67, 0.16), transparent 58%),
        radial-gradient(ellipse 70% 50% at 92% 18%, rgba(230, 180, 34, 0.12), transparent 55%),
        linear-gradient(180deg, #f7fbf8 0%, var(--color-bg, #f4f8f5) 100%);
}

@keyframes insight-fade-up {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

/* Hero motion plays only after JS marks ready; content remains visible without JS. */
.insight-page.js-enhance .insight-hero.is-ready .insight-hero__brand {
    animation: insight-fade-up 0.7s ease both;
    animation-delay: 0.05s;
}

.insight-page.js-enhance .insight-hero.is-ready .insight-hero__eyebrow {
    animation: insight-fade-up 0.7s ease both;
    animation-delay: 0.14s;
}

.insight-page.js-enhance .insight-hero.is-ready .insight-hero__title {
    animation: insight-fade-up 0.7s ease both;
    animation-delay: 0.22s;
}

.insight-page.js-enhance .insight-hero.is-ready .insight-hero__lead {
    animation: insight-fade-up 0.7s ease both;
    animation-delay: 0.32s;
}

.insight-page.js-enhance .insight-hero.is-ready .insight-hero__actions {
    animation: insight-fade-up 0.7s ease both;
    animation-delay: 0.42s;
}

.insight-page.js-enhance .insight-hero.is-ready .insight-hero__note {
    animation: insight-fade-up 0.7s ease both;
    animation-delay: 0.5s;
}

@media (prefers-reduced-motion: reduce) {
    .insight-page.js-enhance .insight-hero.is-ready .insight-hero__brand,
    .insight-page.js-enhance .insight-hero.is-ready .insight-hero__eyebrow,
    .insight-page.js-enhance .insight-hero.is-ready .insight-hero__title,
    .insight-page.js-enhance .insight-hero.is-ready .insight-hero__lead,
    .insight-page.js-enhance .insight-hero.is-ready .insight-hero__actions,
    .insight-page.js-enhance .insight-hero.is-ready .insight-hero__note {
        animation: none !important;
    }
}

.insight-hero__brand {
    margin: 0 0 18px;
    font-family: Georgia, "Hiragino Mincho ProN", "Yu Mincho", serif;
    font-size: clamp(2rem, 5vw, 3.1rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.1;
    color: var(--color-brand-deep, #005e32);
}

.insight-hero__eyebrow {
    margin: 0 0 14px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-brand-deep, #005e32);
}

.insight-hero__title {
    margin: 0 0 18px;
    max-width: 18em;
    font-size: clamp(1.55rem, 3.6vw, 2.35rem);
    line-height: 1.35;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.insight-hero__lead {
    margin: 0 0 28px;
    max-width: 38em;
    font-size: 15px;
    line-height: 1.9;
    color: var(--color-text, #434343);
}

.insight-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.insight-hero__note {
    margin: 18px 0 0;
    font-size: 12px;
    color: var(--color-subtext, #66726c);
}

.insight-section {
    padding: clamp(48px, 8vw, 84px) 0;
}

.insight-section--soft {
    background: linear-gradient(180deg, rgba(220, 238, 228, 0.45), transparent 70%);
}

.insight-section--paper {
    background: var(--insight-paper);
    border-block: 1px solid var(--color-line, #dce6e0);
}

.insight-kicker {
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-brand-deep, #005e32);
}

.insight-heading {
    margin: 0 0 14px;
    font-size: clamp(1.35rem, 2.8vw, 1.9rem);
    line-height: 1.4;
    letter-spacing: 0.02em;
}

.insight-lead {
    margin: 0 0 28px;
    max-width: 42em;
    font-size: 15px;
    line-height: 1.85;
    color: var(--color-text, #434343);
}

.insight-problem-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.insight-problem {
    padding: 22px 20px 20px;
    border-top: 3px solid var(--color-brand, #007b43);
    background: rgba(255, 253, 248, 0.72);
}

.insight-problem__code {
    display: block;
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--color-brand-deep, #005e32);
}

.insight-problem h3 {
    margin: 0 0 10px;
    font-size: 1.05rem;
    line-height: 1.45;
}

.insight-problem p {
    margin: 0;
    font-size: 13px;
    line-height: 1.75;
    color: var(--color-subtext, #66726c);
}

.insight-not-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 28px;
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
}

.insight-not-list li,
.insight-does-list li {
    position: relative;
    padding-left: 1.15em;
    font-size: 14px;
    line-height: 1.7;
}

.insight-not-list li::before {
    content: "×";
    position: absolute;
    left: 0;
    color: #a35a4a;
    font-weight: 700;
}

.insight-does-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}

.insight-does-list li::before {
    content: "○";
    position: absolute;
    left: 0;
    color: var(--color-brand, #007b43);
    font-weight: 700;
}

.insight-flow {
    display: grid;
    gap: 22px;
}

.insight-flow__row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 14px;
    align-items: stretch;
}

.insight-flow__person,
.insight-flow__system {
    padding: 20px 18px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--color-line, #dce6e0);
}

.insight-flow__person h3,
.insight-flow__system h3 {
    margin: 0 0 10px;
    font-size: 0.98rem;
}

.insight-flow__steps {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 13px;
    line-height: 1.65;
    color: var(--color-text, #434343);
}

.insight-flow__steps li {
    display: flex;
    gap: 8px;
    align-items: baseline;
}

.insight-flow__steps span {
    flex: none;
    width: 1.4em;
    height: 1.4em;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: var(--insight-soft);
    color: var(--color-brand-deep, #005e32);
    font-size: 11px;
    font-weight: 700;
}

.insight-flow__arrow {
    align-self: center;
    font-size: 22px;
    color: var(--color-brand, #007b43);
    line-height: 1;
}

.insight-flow__system {
    border-color: color-mix(in srgb, var(--color-brand) 35%, var(--color-line));
    background: linear-gradient(180deg, #fff, #f3faf6);
}

.insight-flow__note {
    margin: 8px 0 0;
    font-size: 12px;
    line-height: 1.7;
    color: var(--color-subtext, #66726c);
}

.insight-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.insight-split__col {
    padding: 22px 20px;
    border-left: 3px solid var(--color-brand, #007b43);
    background: rgba(255, 255, 255, 0.55);
}

.insight-split__col h3 {
    margin: 0 0 12px;
    font-size: 1.05rem;
}

.insight-split__col ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.insight-split__col li {
    padding-left: 0.95em;
    position: relative;
    font-size: 14px;
    line-height: 1.7;
}

.insight-split__col li::before {
    content: "·";
    position: absolute;
    left: 0;
    color: var(--color-brand-deep, #005e32);
    font-weight: 700;
}

.insight-privacy {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.insight-privacy li {
    padding: 14px 16px;
    border: 1px solid var(--color-line, #dce6e0);
    background: #fff;
    font-size: 14px;
    line-height: 1.75;
}

.insight-steps {
    counter-reset: insight-step;
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.insight-steps li {
    counter-increment: insight-step;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    align-items: start;
    padding: 16px 0;
    border-bottom: 1px solid var(--color-line, #dce6e0);
}

.insight-steps li::before {
    content: counter(insight-step, decimal-leading-zero);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--color-brand-deep, #005e32);
    padding-top: 4px;
}

.insight-steps h3 {
    margin: 0 0 6px;
    font-size: 1rem;
}

.insight-steps p {
    margin: 0;
    font-size: 14px;
    line-height: 1.75;
    color: var(--color-subtext, #66726c);
}

.insight-pricing {
    padding: 22px 20px;
    border: 1px solid var(--color-line, #dce6e0);
    background: rgba(255, 255, 255, 0.7);
}

.insight-pricing p {
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.8;
}

.insight-pricing p:last-child {
    margin-bottom: 0;
}

.insight-cta {
    padding: clamp(56px, 9vw, 96px) 0;
    background:
        linear-gradient(135deg, rgba(0, 94, 50, 0.94), rgba(0, 123, 67, 0.9)),
        #005e32;
    color: #fff;
}

.insight-cta .insight-kicker,
.insight-cta .insight-heading,
.insight-cta .insight-lead {
    color: #fff;
}

.insight-cta .insight-lead {
    opacity: 0.92;
}

.insight-cta .button--outline {
    background: #fff;
    color: var(--color-brand-deep, #005e32);
    border-color: #fff;
}

.insight-cta .button--outline:hover,
.insight-cta .button--outline:focus-visible {
    background: var(--insight-soft);
}

.insight-page.js-enhance .insight-motion:not(.is-visible) {
    opacity: 0;
    transform: translateY(12px);
}

.insight-page.js-enhance .insight-motion {
    transition:
        opacity 0.55s ease,
        transform 0.55s ease;
}

.insight-page.js-enhance .insight-motion.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .insight-page.js-enhance .insight-motion {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

@media (max-width: 900px) {
    .insight-problem-grid,
    .insight-not-list,
    .insight-split,
    .insight-flow__row {
        grid-template-columns: 1fr;
    }

    .insight-flow__arrow {
        transform: rotate(90deg);
        justify-self: center;
    }
}

@media (max-width: 640px) {
    .insight-page .section__inner,
    .insight-hero__inner,
    .insight-band__inner,
    .insight-cta__inner {
        width: min(calc(100% - 24px), 1080px);
    }

    .insight-hero__actions {
        flex-direction: column;
        align-items: stretch;
    }
}
