:root {
    --jacy-home-ink: #211a24;
    --jacy-home-plum: #64206c;
    --jacy-home-paper: #ffffff;
    --jacy-home-muted: #776f79;
    --jacy-home-line: rgba(78, 30, 92, 0.15);
}

html:has(.jacy-home-hosting),
body.home {
    overflow-x: clip;
}

.jacy-home-hosting {
    position: relative;
    left: 50%;
    width: 100vw;
    margin-left: -50vw;
    overflow: hidden;
    color: var(--jacy-home-ink);
    background: #fff;
    font-family: "Lato", "Segoe UI", sans-serif;
}

.jacy-home-hosting::before {
    position: absolute;
    inset: 0;
    pointer-events: none;
    content: "";
    opacity: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.78' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.1'/%3E%3C/svg%3E");
}

.jacy-home-hosting__inner {
    position: relative;
    z-index: 1;
    width: min(1480px, calc(100% - 48px));
    margin: 0 auto;
    padding: clamp(88px, 9vw, 148px) 0 clamp(104px, 10vw, 166px);
}

.jacy-home-hosting__heading {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
    gap: clamp(52px, 8vw, 130px);
    align-items: end;
    margin-bottom: clamp(64px, 7vw, 106px);
}

.jacy-home-hosting__kicker {
    margin: 0 0 24px;
    color: var(--jacy-home-plum);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.jacy-home-hosting h2 {
    margin: 0;
    color: var(--jacy-home-ink);
    font-size: clamp(54px, 6.5vw, 100px);
    font-weight: 700;
    line-height: 0.92;
    letter-spacing: -0.058em;
    text-wrap: balance;
}

.jacy-home-hosting h2 span {
    color: var(--jacy-home-plum);
}

.jacy-home-hosting__intro {
    padding-top: 28px;
    border-top: 1px solid var(--jacy-home-ink);
}

.jacy-home-hosting__intro p {
    max-width: 560px;
    margin: 0;
    color: var(--jacy-home-muted);
    font-size: 17px;
    line-height: 1.7;
    text-wrap: pretty;
}

.jacy-home-hosting__intro a,
.jacy-home-hosting__footer a {
    display: inline-flex;
    gap: 22px;
    align-items: center;
    margin-top: 28px;
    color: var(--jacy-home-plum);
    font-size: 14px;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 6px;
}

.jacy-home-hosting__plans {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    border-top: 1px solid var(--jacy-home-line);
    border-bottom: 1px solid var(--jacy-home-line);
}

.jacy-home-plan {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 32px clamp(22px, 2.4vw, 38px) 38px;
    background: #fff;
    border-right: 1px solid var(--jacy-home-line);
    transition: transform 240ms ease, background 240ms ease, box-shadow 240ms ease;
}

.jacy-home-plan:first-child {
    border-left: 1px solid var(--jacy-home-line);
}

.jacy-home-plan:hover {
    position: relative;
    z-index: 2;
    background: #fff;
    box-shadow: 0 24px 55px rgba(49, 25, 52, 0.12);
    transform: translateY(-8px);
}

.jacy-home-plan--featured {
    margin: -24px 0;
    padding-top: 56px;
    padding-bottom: 62px;
    color: var(--jacy-home-ink);
    background: #fff;
    border: 2px solid var(--jacy-home-plum);
    border-radius: 4px 4px 24px 4px;
    box-shadow: 0 28px 70px rgba(49, 25, 52, 0.22);
}

.jacy-home-plan--featured:hover {
    background: #fff;
}

.jacy-home-plan__topline {
    display: flex;
    gap: 12px;
    justify-content: space-between;
    align-items: center;
    min-height: 22px;
    margin-bottom: 62px;
    color: var(--jacy-home-muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.jacy-home-plan--featured .jacy-home-plan__topline {
    color: var(--jacy-home-plum);
}

.jacy-home-plan__topline strong {
    font-size: inherit;
    font-weight: 700;
}

.jacy-home-plan h3 {
    margin: 0;
    color: var(--jacy-home-ink);
    font-size: clamp(22px, 2vw, 30px);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.jacy-home-plan h3 span {
    display: block;
    font-weight: 700;
}

.jacy-home-plan--featured h3 {
    color: var(--jacy-home-ink);
}

.jacy-home-plan__description {
    min-height: 74px;
    margin: 22px 0 28px;
    color: var(--jacy-home-muted);
    font-size: 14px;
    line-height: 1.6;
    text-wrap: pretty;
}

.jacy-home-plan--featured .jacy-home-plan__description {
    color: var(--jacy-home-muted);
}

.jacy-home-plan__price {
    display: flex;
    gap: 10px;
    align-items: flex-end;
    margin-bottom: 38px;
}

.jacy-home-plan__price strong {
    color: var(--jacy-home-ink);
    font-size: clamp(52px, 4.2vw, 72px);
    font-weight: 700;
    line-height: 0.8;
    letter-spacing: -0.06em;
    font-variant-numeric: tabular-nums;
}

.jacy-home-plan__price span {
    color: var(--jacy-home-muted);
    font-size: 11px;
    line-height: 1.3;
}

.jacy-home-plan--featured .jacy-home-plan__price strong {
    color: var(--jacy-home-ink);
}

.jacy-home-plan--featured .jacy-home-plan__price span {
    color: var(--jacy-home-muted);
}

.jacy-home-plan ul {
    display: grid;
    gap: 0;
    margin: 0 0 38px;
    padding: 0;
    list-style: none;
}

.jacy-home-plan li {
    padding: 13px 0;
    color: var(--jacy-home-ink);
    border-bottom: 1px solid var(--jacy-home-line);
    font-size: 13px;
    font-weight: 600;
}

.jacy-home-plan li:first-child {
    border-top: 1px solid var(--jacy-home-line);
}

.jacy-home-plan--featured li {
    color: var(--jacy-home-ink);
    border-color: var(--jacy-home-line);
}

.jacy-home-plan__button {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding: 17px 0 7px;
    color: var(--jacy-home-plum);
    border-bottom: 2px solid var(--jacy-home-plum);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: gap 220ms ease, color 220ms ease;
}

.jacy-home-plan__button:hover {
    gap: 28px;
    color: #812989;
}

.jacy-home-plan__button:focus-visible {
    outline: 3px solid rgba(100, 32, 108, 0.3);
    outline-offset: 5px;
}

.jacy-home-plan--featured .jacy-home-plan__button {
    color: var(--jacy-home-plum);
    border-color: var(--jacy-home-plum);
}

.jacy-home-hosting__footer {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-top: 52px;
}

.jacy-home-hosting__footer p {
    margin: 0;
    color: var(--jacy-home-muted);
    font-size: 14px;
}

.jacy-home-hosting__footer a {
    margin-top: 0;
}

@media (max-width: 1120px) {
    .jacy-home-hosting__plans {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1px;
        background: var(--jacy-home-line);
    }

    .jacy-home-plan,
    .jacy-home-plan:first-child {
        border: 0;
    }

    .jacy-home-plan--featured {
        margin: 0;
        border-radius: 0 0 24px 0;
    }
}

@media (max-width: 760px) {
    .jacy-home-hosting__heading {
        grid-template-columns: 1fr;
        gap: 46px;
    }

    .jacy-home-hosting__plans {
        grid-template-columns: 1fr;
    }

    .jacy-home-plan__description {
        min-height: 0;
    }

    .jacy-home-hosting__footer {
        display: block;
    }

    .jacy-home-hosting__footer a {
        margin-top: 20px;
    }
}

@media (max-width: 620px) {
    .jacy-home-hosting__inner {
        width: min(100% - 28px, 1480px);
    }

    .jacy-home-plan {
        padding-inline: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .jacy-home-plan,
    .jacy-home-plan__button {
        transition: none;
    }
}
