:root {
    --jacy-ink: #211b24;
    --jacy-muted: #6f6672;
    --jacy-plum: #55215f;
    --jacy-plum-dark: #3d1646;
    --jacy-plum-soft: #eee6f0;
    --jacy-paper: #ffffff;
    --jacy-white: #ffffff;
    --jacy-line: #ddd6dc;
    --jacy-shadow: 0 24px 60px rgba(61, 22, 70, 0.13);
}

html {
    scroll-behavior: smooth;
}

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

.jacy-hosting-storefront-page .page-header,
.jacy-hosting-storefront-page .entry-title {
    display: none;
}

.jacy-hosting-storefront-page .site-main,
.jacy-hosting-storefront-page .site-main > article,
.jacy-hosting-storefront-page .entry-content {
    max-width: none;
    margin: 0;
    padding: 0;
}

.jacy-storefront,
.jacy-storefront *,
.jacy-storefront *::before,
.jacy-storefront *::after {
    box-sizing: border-box;
}

.jacy-storefront {
    position: relative;
    left: 50%;
    width: 100vw;
    margin-left: -50vw;
    overflow: hidden;
    color: var(--jacy-ink);
    background: #fff;
    font-family: "Aptos", "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
    font-size: 1rem;
    line-height: 1.55;
}

.jacy-storefront::before {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;
    opacity: 0;
    background-image: radial-gradient(rgba(61, 22, 70, 0.16) 0.55px, transparent 0.55px);
    background-size: 7px 7px;
    mask-image: linear-gradient(to bottom, #000, transparent 42%);
}

.jacy-storefront__hero,
.jacy-storefront__plans-section,
.jacy-storefront__assurance,
.jacy-storefront__legacy-link {
    position: relative;
    width: min(100% - 2rem, 1360px);
    margin-inline: auto;
}

.jacy-storefront__hero {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(18rem, 0.65fr);
    gap: clamp(3rem, 8vw, 8rem);
    align-items: end;
    padding-block: clamp(5.5rem, 10vw, 9.5rem) clamp(5rem, 8vw, 7.5rem);
}

.jacy-storefront__kicker {
    margin: 0 0 1.4rem;
    color: var(--jacy-plum);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.jacy-storefront__hero h1 {
    max-width: 16ch;
    margin: 0;
    color: var(--jacy-ink);
    font-family: "Aptos Display", "Segoe UI Variable Display", "Segoe UI", sans-serif;
    font-size: clamp(3rem, 6.6vw, 6.9rem);
    font-weight: 650;
    letter-spacing: -0.065em;
    line-height: 0.92;
    text-wrap: balance;
}

.jacy-storefront__hero h1 span {
    color: var(--jacy-plum);
}

.jacy-storefront__intro {
    max-width: 59ch;
    margin: 2rem 0 1.5rem;
    color: var(--jacy-muted);
    font-size: clamp(1rem, 1.3vw, 1.2rem);
    line-height: 1.7;
    text-wrap: pretty;
}

.jacy-storefront__text-link,
.jacy-storefront__legacy-link a,
.jacy-storefront__assurance a {
    color: var(--jacy-plum);
    font-weight: 700;
    text-decoration-color: rgba(85, 33, 95, 0.35);
    text-underline-offset: 0.25em;
    transition: color 180ms ease, text-decoration-color 180ms ease;
}

.jacy-storefront__text-link:hover,
.jacy-storefront__legacy-link a:hover,
.jacy-storefront__assurance a:hover {
    color: var(--jacy-plum-dark);
    text-decoration-color: currentColor;
}

.jacy-storefront__proof {
    border-top: 1px solid var(--jacy-ink);
}

.jacy-storefront__proof div {
    display: grid;
    grid-template-columns: 7.5rem 1fr;
    gap: 1rem;
    align-items: baseline;
    padding: 1.35rem 0;
    border-bottom: 1px solid var(--jacy-line);
}

.jacy-storefront__proof strong {
    font-size: 1.05rem;
    font-variant-numeric: tabular-nums;
}

.jacy-storefront__proof span {
    color: var(--jacy-muted);
    font-size: 0.9rem;
}

.jacy-storefront__plans-section {
    padding-block: 1rem clamp(5.5rem, 8vw, 8.5rem);
}

.jacy-storefront__section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.45fr);
    gap: 3rem;
    align-items: end;
    margin-bottom: 2.5rem;
}

.jacy-storefront__section-heading h2 {
    max-width: 13ch;
    margin: 0;
    font-family: "Aptos Display", "Segoe UI Variable Display", "Segoe UI", sans-serif;
    font-size: clamp(2.35rem, 4.6vw, 4.6rem);
    font-weight: 650;
    letter-spacing: -0.055em;
    line-height: 0.98;
    text-wrap: balance;
}

.jacy-storefront__section-heading > p {
    max-width: 45ch;
    margin: 0 0 0.5rem;
    color: var(--jacy-muted);
    text-wrap: pretty;
}

.jacy-storefront__plans {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 1rem;
    align-items: stretch;
}

.jacy-plan {
    position: relative;
    display: flex;
    grid-column: span 3;
    flex-direction: column;
    min-width: 0;
    padding: clamp(1.35rem, 2vw, 2rem);
    border: 1px solid var(--jacy-line);
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 1px 0 rgba(61, 22, 70, 0.04);
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.jacy-plan:hover {
    z-index: 2;
    transform: translateY(-0.35rem);
    border-color: rgba(85, 33, 95, 0.32);
    box-shadow: var(--jacy-shadow);
}

.jacy-plan--featured {
    border-color: var(--jacy-plum);
    background: #fff;
    color: var(--jacy-ink);
    box-shadow: 0 26px 70px rgba(61, 22, 70, 0.16);
}

.jacy-plan--featured:hover {
    border-color: var(--jacy-plum-dark);
    box-shadow: 0 32px 78px rgba(61, 22, 70, 0.30);
}

.jacy-plan__flag {
    position: absolute;
    top: 0;
    right: 1.4rem;
    padding: 0.46rem 0.75rem 0.52rem;
    color: #fff;
    background: var(--jacy-plum);
    font-size: 0.67rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.jacy-plan__header > p:first-child {
    min-height: 1.2rem;
    margin: 0 0 1rem;
    color: var(--jacy-muted);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.jacy-plan--featured .jacy-plan__header > p:first-child,
.jacy-plan--featured .jacy-plan__description,
.jacy-plan--featured .jacy-plan__features dt,
.jacy-plan--featured .jacy-plan__footer > p {
    color: var(--jacy-muted);
}

.jacy-plan h3 {
    margin: 0;
    font-size: clamp(1.35rem, 1.8vw, 1.75rem);
    font-weight: 750;
    letter-spacing: -0.035em;
}

.jacy-plan h3 span {
    display: block;
    color: var(--jacy-plum);
}

.jacy-plan--featured h3 span {
    color: var(--jacy-plum);
}

.jacy-plan__price {
    display: flex;
    gap: 0.7rem;
    align-items: flex-end;
    min-height: 6.5rem;
    margin-top: 1.65rem;
}

.jacy-plan__price strong {
    font-size: clamp(3.4rem, 4.7vw, 5rem);
    font-weight: 620;
    letter-spacing: -0.07em;
    line-height: 0.85;
    font-variant-numeric: tabular-nums;
}

.jacy-plan__price > span {
    padding-bottom: 0.3rem;
    color: var(--jacy-muted);
    font-size: 0.78rem;
    font-weight: 650;
    line-height: 1.25;
}

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

.jacy-plan__description {
    min-height: 6.2rem;
    margin: 1.6rem 0 0;
    color: var(--jacy-muted);
    font-size: 0.92rem;
    line-height: 1.6;
    text-wrap: pretty;
}

.jacy-plan__features {
    margin: 0 0 2rem;
    border-top: 1px solid var(--jacy-line);
}

.jacy-plan--featured .jacy-plan__features {
    border-color: var(--jacy-line);
}

.jacy-plan__features div {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.75rem;
    padding: 0.82rem 0;
    border-bottom: 1px solid var(--jacy-line);
}

.jacy-plan--featured .jacy-plan__features div {
    border-color: var(--jacy-line);
}

.jacy-plan__features dt,
.jacy-plan__features dd {
    margin: 0;
    font-size: 0.82rem;
}

.jacy-plan__features dt {
    color: var(--jacy-muted);
}

.jacy-plan__features dd {
    font-weight: 700;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.jacy-plan__footer {
    margin-top: auto;
}

.jacy-plan__footer > p {
    margin: 0 0 0.75rem;
    color: var(--jacy-muted);
    font-size: 0.78rem;
}

.jacy-plan__footer button {
    display: flex;
    width: 100%;
    min-height: 3.25rem;
    justify-content: space-between;
    align-items: center;
    padding: 0.9rem 1rem;
    border: 1px solid var(--jacy-plum);
    border-radius: 0.45rem;
    color: var(--jacy-white);
    background: var(--jacy-plum);
    font: inherit;
    font-size: 0.84rem;
    font-weight: 750;
    cursor: pointer;
    transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.jacy-plan__footer button:hover {
    border-color: var(--jacy-plum-dark);
    background: var(--jacy-plum-dark);
    transform: translateY(-2px);
}

.jacy-plan--featured .jacy-plan__footer button {
    border-color: var(--jacy-plum);
    color: #fff;
    background: var(--jacy-plum);
}

.jacy-plan--featured .jacy-plan__footer button:hover {
    color: #fff;
    background: var(--jacy-plum-dark);
}

.jacy-plan__footer button:active {
    transform: translateY(1px) scale(0.99);
}

.jacy-plan__footer button:focus-visible,
.jacy-storefront a:focus-visible {
    outline: 3px solid #c69bd0;
    outline-offset: 3px;
}

.jacy-storefront__assurance {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--jacy-ink);
    border-bottom: 1px solid var(--jacy-line);
}

.jacy-storefront__assurance > div {
    min-height: 15rem;
    padding: 2.1rem clamp(1.4rem, 3vw, 3rem) 3rem 0;
}

.jacy-storefront__assurance > div + div {
    padding-left: clamp(1.4rem, 3vw, 3rem);
    border-left: 1px solid var(--jacy-line);
}

.jacy-storefront__assurance-index {
    display: block;
    margin-bottom: 3.5rem;
    color: var(--jacy-plum);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.jacy-storefront__assurance h3 {
    margin: 0 0 0.65rem;
    font-size: 1.15rem;
    letter-spacing: -0.025em;
}

.jacy-storefront__assurance p {
    max-width: 36ch;
    margin: 0;
    color: var(--jacy-muted);
    font-size: 0.9rem;
}

.jacy-storefront__legacy-link {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    padding-block: 2rem 4rem;
    color: var(--jacy-muted);
    font-size: 0.86rem;
}

@media (max-width: 1120px) {
    .jacy-plan {
        grid-column: span 6;
    }

    .jacy-plan__description {
        min-height: 4.7rem;
    }
}

@media (max-width: 820px) {
    .jacy-storefront__hero,
    .jacy-storefront__section-heading {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .jacy-storefront__hero {
        align-items: start;
        padding-top: 4.5rem;
    }

    .jacy-storefront__proof {
        max-width: 34rem;
    }

    .jacy-storefront__section-heading > p {
        margin: 0;
    }

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

    .jacy-storefront__assurance > div {
        min-height: auto;
        padding: 2rem 0 2.3rem;
    }

    .jacy-storefront__assurance > div + div {
        padding-left: 0;
        border-top: 1px solid var(--jacy-line);
        border-left: 0;
    }

    .jacy-storefront__assurance-index {
        margin-bottom: 1.75rem;
    }
}

@media (max-width: 620px) {
    .jacy-storefront__hero,
    .jacy-storefront__plans-section,
    .jacy-storefront__assurance,
    .jacy-storefront__legacy-link {
        width: min(100% - 1.25rem, 1360px);
    }

    .jacy-storefront__hero {
        padding-block: 3.8rem 4.5rem;
    }

    .jacy-storefront__hero h1 {
        font-size: clamp(2.75rem, 14vw, 4.6rem);
    }

    .jacy-storefront__proof div {
        grid-template-columns: 6.5rem 1fr;
    }

    .jacy-storefront__plans {
        display: block;
    }

    .jacy-plan + .jacy-plan {
        margin-top: 0.85rem;
    }

    .jacy-plan__description {
        min-height: auto;
    }

    .jacy-storefront__legacy-link {
        flex-direction: column;
        gap: 0.35rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .jacy-plan,
    .jacy-plan__footer button,
    .jacy-storefront a {
        transition: none;
    }
}
