.cf-page .cf-hero {
    isolation:isolate;
}

.cf-page .sgp-hero-copy {
    position:relative;
    z-index:1;
}


.cf-page .cf-demo-wrap {
    margin:0;
    display:grid;
    align-content:center;
    gap:1rem;
    padding:clamp(1.2rem,4vw,3.4rem);
    color:#253b43;
    background-color:#eab898;
    background-image:repeating-linear-gradient(128deg,transparent 0 32px,#714c4218 33px 34px);
    min-width:0;
}

.cf-demo-wrap>figcaption {
    font-size:.86rem;
    color:inherit;
    text-align:center;
}

.cf-demo {
    width:min(100%,31rem);
    margin:auto;
    padding:clamp(1rem,3vw,1.8rem);
    border-radius:1.1rem;
    background:#fffdf8;
    color:#24434d;
    box-shadow:0 1.1rem 2.3rem #28171922;
    border:1px solid #fff3;
}

.cf-demo-head {
    display:flex;
    gap:.9rem;
    align-items:center;
    margin-bottom:1rem;
}

.cf-demo-badge {
    display:grid;
    place-items:center;
    color:#fffdf8;
    background:#24434d;
    width:2.55rem;
    height:2.55rem;
    border-radius:.75rem;
    font-weight:800;
}

.cf-demo-club {
    font-size:.88rem;
    font-weight:760;
}

.cf-demo-head p,.cf-demo-content p {
    margin:.15rem 0;
}

.cf-demo-progress {
    height:.38rem;
    width:100%;
    display:block;
    margin:.7rem 0 1rem;
    accent-color:#237f73;
}

.cf-demo-progress::-webkit-progress-bar {
    background:#e4e9e5;
    border-radius:1rem;
}

.cf-demo-progress::-webkit-progress-value {
    background:#277e71;
    border-radius:1rem;
}

.cf-demo-kicker {
    font-size:.84rem;
    color:#41606a;
}

.cf-demo h2 {
    font-size:clamp(1.34rem,3vw,1.85rem);
    line-height:1.14;
    color:#24434d;
    margin:0 0 .6rem;
}

.cf-demo-content {
    min-height:8rem;
}

.cf-demo label {
    display:block;
    font-weight:700;
    font-size:.9rem;
    margin-bottom:.35rem;
}

.cf-demo input,.cf-demo textarea {
    box-sizing:border-box;
    width:100%;
    background:#fff;
    color:#24434d;
    padding:.65rem;
    border-radius:.45rem;
    border:1px solid #789095;
    font:inherit;
}

.cf-demo textarea {
    resize:vertical;
    min-height:4.2rem;
}

.cf-demo-actions {
    display:flex;
    gap:.55rem;
    align-items:center;
    flex-wrap:wrap;
    margin-top:.75rem;
}

.cf-demo-actions button {
    font:inherit;
    font-size:.88rem;
    font-weight:730;
    padding:.58rem .82rem;
    border:1px solid #24434d;
    border-radius:.5rem;
    background:transparent;
    color:#24434d;
    cursor:pointer;
}

.cf-demo-actions button[data-next] {
    background:#24434d;
    color:#fffdf8;
}

.cf-demo-actions button[disabled] {
    opacity:.36;
    cursor:default;
}

.cf-demo :focus-visible {
    outline:3px solid #247c70;
    outline-offset:3px;
}

.cf-demo [hidden] {
    display:none!important;
}

.cf-page .cf-feature-grid {
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(min(100%,15rem),1fr));
    gap:1rem;
    margin-top:1.3rem;
}

.cf-page .cf-feature {
    border:1px solid var(--shop-line,#8c9ca070);
    border-radius:.95rem;
    padding:1.3rem;
    background:var(--shop-surface,transparent);
    min-width:0;
}

.cf-feature h3 {
    margin:0 0 .55rem;
}

.cf-feature p {
    margin:0;
}

.cf-page .cf-section {
    margin-top:clamp(1.3rem,4vw,3rem);
}

.cf-page .cf-install-code {
    display:inline-block;
    overflow-wrap:anywhere;
    padding:.35em .6em;
    border:1px solid currentColor;
    border-radius:.4rem;
}

.cf-page .cf-bottom {
    display:flex;
    justify-content:center;
    margin:2.5rem 0;
}

.cf-page .cf-guide p {
    max-width:68ch;
}

@media(max-width:749px) {
    .cf-page .cf-demo-wrap {
        min-height:0;
    }

    .cf-demo {
        width:100%;
    }

}

.cf-page [data-cf-sale][hidden] {
    display:none!important;
}

.cf-shop-card .cf-shop-visual {
    background-color: #eab898;
    background-image: repeating-linear-gradient(128deg, transparent 0 32px, #714c4218 33px 34px);
    color: #24434d;
}

.cf-shop-card .cf-shop-visual figcaption {
    color: inherit;
}

.cf-card-sample {
    display:grid;
    gap:.7rem;
    max-width:29rem;
    width:100%;
    margin:auto;
    padding:clamp(1rem,3.4vw,2rem);
    border-radius:1rem;
    background:#fffdf8;
    color:#24434d;
    box-shadow:0 .9rem 2.1rem #28171925;
    text-align:left;
    box-sizing:border-box;
}

.cf-card-sample strong {
    font-size:clamp(1.12rem,3vw,1.7rem);
    line-height:1.14;
}

.cf-card-progress {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:.4rem;
}

.cf-card-progress span {
    height:.32rem;
    border-radius:.5rem;
    background:#d6e0db;
}

.cf-card-progress span:first-child {
    background:#277e71;
}

.cf-card-step {
    font-size:.82rem;
    color:#3e5b65;
}

.cf-card-input {
    background:#fff;
    padding:.55rem .7rem;
    border:1px solid #789095;
    border-radius:.55rem;
}

.cf-card-next {
    justify-self:start;
    padding:.48rem .7rem;
    background:#24434d;
    color:#fffdf8;
    border-radius:.48rem;
    font-size:.85rem;
    font-weight:700;
}

/* The envelope body stays still while the flap turns around its top edge. */
[data-product-icon='contact-form'] {
    --hib-icon-gesture: none;
}

[data-product-icon='contact-form'] [data-icon-part='envelope-flap'] {
    transform-box: view-box;
    transform-origin: 128px 82px;
}

@media (prefers-reduced-motion: no-preference) {
    [data-product-icon='contact-form'] [data-icon-part='envelope-flap'] {
        transition: transform 320ms cubic-bezier(.3, .12, .24, 1);
    }

    :is(.cf-shop-card, .cf-hero):has(:focus-visible) [data-icon-part='envelope-flap'] {
        transform: scaleY(-.88);
    }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
    :is(.cf-shop-card, .cf-hero):hover [data-icon-part='envelope-flap'] {
        transform: scaleY(-.88);
    }
}
