/*Home page styles*/

:root {
    --light-purple: #7d55c7;
    --green: #268a6c;
    --light-green: #4db78e; 
    

    --purple: #7d55c7;
    --purple-deep: #512683;
    --teal: #4db78e;
    --teal-deep: #268a6c;

    --bg: #F8F6FC;
    --card: #FFFFFF;
    --ink: #241A33;
    --ink-soft: #6A6078;
    --line: #E8E1F2;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    animation: rise .8s cubic-bezier(.2, .7, .2, 1) forwards;
}

.reveal.d3 {
    animation-delay: .24s;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.lede {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--ink-soft);
    max-width: 52ch;
    margin: 0 0 36px;
    line-height: 1.5;
}

.btn-ghost {
    color: var(--ink);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid var(--teal);
    padding-bottom: 2px;
    font-size: 1rem;
    text-decoration: none;
}

.resp-card.wide {
    grid-column: 1 / -1;
}

.btn-ghost:hover {
    color: var(--purple);
    text-decoration: none;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--teal-deep);
    margin: 0 0 22px;
}

.eyebrow::before {
    content: "";
    width: 16px;
    height: 2px;
    background: var(--teal);
    display: block;
}

h1.job-title {
    font-weight: 600;
    font-size: clamp(2.7rem, 6.6vw, 4.8rem);
    line-height: 1.0;
    letter-spacing: -.04em;
    margin: 0 0 24px;
    max-width: 14ch;
}

h1.job-title em {
    font-style: normal;
    font-weight: 600;
    color: var(--purple);
}

.reveal.d1 {
    animation-delay: .08s;
}

.inner {
    max-width: 1080px;
    margin: 0 auto;
}

.reveal.d3 {
    animation-delay: .24s;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    animation: rise .8s cubic-bezier(.2, .7, .2, 1) forwards;
}

.facts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--card);
    overflow: hidden;
    margin-top: 54px;
}

.facts > div {
    padding: 24px 26px;
    border-right: 1px solid var(--line);
}

.facts dt {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--teal-deep);
    margin: 0 0 7px;
}

.facts dd {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.35;
    color: var(--ink);
}

.about-panel {
    margin-top: 38px;
    background: var(--light-purple);
    color: #F3EFFB;
    border-radius: 18px;
    padding: 38px;
}

.about-panel h3 {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 22px;
}

.about-panel ul {
    margin: 0;
    padding: 0;
    list-style: none;
    columns: 2;
    column-gap: 44px;
}

.about-panel li {
    position: relative;
    padding: 0 0 0 28px;
    margin: 0 0 16px 0;
    line-height: 1.5;
    break-inside: avoid;
}

.about-panel li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 13px;
    height: 8px;
    border-left: 2px solid #9FE7CC;
    border-bottom: 2px solid #9FE7CC;
    transform: rotate(-45deg);
}

.whys {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 42px;
}

.why {
    display: flex;
    gap: 14px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 22px 24px;
    align-items: flex-start;
}

.why svg,
.why img {
    width: 24px;
    height: 24px;
    flex: none;
    color: var(--light-green);
    margin-top: 1px;
}

.why span {
    font-size: 1.02rem;
    line-height: 1.45;
}

.cta {
    margin: 78px 0 0;
    background: var(--purple);
    color: #F3EFFB;
    border-radius: 26px;
    padding: 64px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta h2 {
    font-size: clamp(2rem, 4.2vw, 2.8rem);
    letter-spacing: -.035em;
    margin: 0 0 16px;
    position: relative;
    color: #fff;
}

.cta p {
    font-size: 1.12rem;
    color: #E4DAF6;
    max-width: 48ch;
    margin: 0 auto 34px;
    position: relative;
}

.btn {
    display: inline-block;
    background: var(--purple);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    padding: 16px 34px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
    box-shadow: 0 10px 24px -10px rgba(120, 80, 192, .7);
}

.cta .btn {
    position: relative;
    background: var(--teal);
    box-shadow: 0 10px 24px -10px rgba(48, 176, 136, .8);
}

.btn:hover {
    background: var(--purple-deep);
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 16px 30px -10px rgba(120, 80, 192, .75);
}

.text-page .cta a.btn:hover,
.cta .btn:hover {
    background: var(--teal-deep);
    color: #fff;
}

.resp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin-top: 42px;
}

.resp-card h3 {
    font-size: 1.18rem;
    font-weight: 700;
    margin: 0 0 16px;
    letter-spacing: -.01em;
    display: flex;
    align-items: center;
    gap: 11px;
}

.resp-card h3 .dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--teal);
    flex: none;
}

.resp-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 30px 30px 26px;
    transition: transform .2s ease, box-shadow .2s ease;
}

.resp-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 40px -28px rgba(36, 26, 51, .45);
}

.resp-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.resp-card li {
    position: relative;
    padding: 0 0 0 24px;
    margin-bottom: 11px;
    font-size: 1.005rem;
    line-height: 1.5;
}

.resp-card li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 11px;
    width: 8px;
    height: 8px;
    border: 1.5px solid var(--purple);
    border-radius: 50%;
}

.note {
    margin-top: 24px;
    font-size: .96rem;
    color: var(--ink-soft);
    background: var(--card);
    border: 1px solid var(--line);
    border-left: 3px solid var(--teal);
    border-radius: 10px;
    padding: 16px 20px;
    line-height: 1.5;
}

@keyframes rise {
    0% {
        opacity: 0;
        transform: translateY(18px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 860px) {
    .resp-grid, .skills-grid {
        grid-template-columns: 1fr;
    }

    .facts {
        grid-template-columns: 1fr 1fr;
    }

    .about-panel ul {
        columns: 1;
    }

    .whys {
        grid-template-columns: 1fr;
    }
}
