/* Targeted visual corrections for the public website preview and Swrl Current heroes. */

/* A positioned canvas is a replaced element, so inset: 0 alone leaves it at its
   intrinsic 300x150 size. Explicit dimensions let the particle current fill the
   entire hero instead of collecting in the upper-left corner. */
.public-page .clean-hero > canvas,
.public-page .clean-page-hero > canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.public-page .clean-hero > .swrl-hero-poster,
.public-page .clean-page-hero > .swrl-poster {
    width: 100%;
    height: 100%;
    overflow: hidden;
    transition: opacity .35s ease;
}

/* Make the no-WebGL/mobile fallback occupy the hero as well. These layers are
   deliberately soft so the HTML remains the visual priority. */
.public-page .clean-hero > .swrl-hero-poster::before,
.public-page .clean-page-hero > .swrl-poster::before,
.public-page .clean-hero > .swrl-hero-poster::after,
.public-page .clean-page-hero > .swrl-poster::after {
    position: absolute;
    inset: -12%;
    content: "";
    pointer-events: none;
    background-image: radial-gradient(circle, rgba(135, 95, 170, .34) 0 2px, transparent 3.4px);
    background-size: 25px 25px;
    -webkit-mask-image: radial-gradient(ellipse 58% 68% at 24% 34%, #000 0 32%, transparent 74%);
    mask-image: radial-gradient(ellipse 58% 68% at 24% 34%, #000 0 32%, transparent 74%);
    animation: swrlPosterDrift 24s ease-in-out infinite alternate;
}

.public-page .clean-hero > .swrl-hero-poster::after,
.public-page .clean-page-hero > .swrl-poster::after {
    background-image: radial-gradient(circle, rgba(40, 120, 216, .24) 0 1.8px, transparent 3.2px);
    background-size: 31px 31px;
    -webkit-mask-image: radial-gradient(ellipse 56% 72% at 78% 52%, #000 0 28%, transparent 72%);
    mask-image: radial-gradient(ellipse 56% 72% at 78% 52%, #000 0 28%, transparent 72%);
    animation-duration: 31s;
    animation-direction: alternate-reverse;
}

@keyframes swrlPosterDrift {
    from { transform: translate3d(-1.5%, 1%, 0) rotate(-1deg) scale(1); }
    to { transform: translate3d(2.5%, -2%, 0) rotate(2deg) scale(1.035); }
}

/* swrl-3d currently marks the canvas live on the newer clean hero wrappers.
   Hide the fallback poster once that happens so the full-size live current is
   not competing with the static layer. */
@supports selector(section:has(> canvas.swrl-live)) {
    .public-page .clean-hero:has(> canvas.swrl-live) > .swrl-hero-poster,
    .public-page .clean-page-hero:has(> canvas.swrl-live) > .swrl-poster {
        opacity: 0;
    }
}

/* Keep both website mockups in the light SwrlSite language. The former dark
   blue panels also allowed inherited dark text to lose contrast. */
.page-free-websites .clean-browser-hero,
.page-home .showcase-site-preview {
    border: 1px solid rgba(40, 120, 216, .18);
    color: var(--ink);
    background:
        radial-gradient(circle at 88% 14%, rgba(135, 95, 170, .15), transparent 13rem),
        linear-gradient(145deg, #f7f1fc 0%, #edf6ff 58%, #fffaf0 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .86);
}

.page-free-websites .clean-browser-hero small,
.page-home .showcase-site-preview small {
    color: var(--brand-ink);
    font-weight: 800;
    letter-spacing: .045em;
}

.page-free-websites .clean-browser-hero strong,
.page-home .showcase-site-preview strong {
    color: var(--ink);
}

.page-free-websites .clean-browser-hero span,
.page-home .showcase-site-preview span {
    border: 1px solid rgba(40, 120, 216, .22);
    background: var(--blue);
    color: #fff;
    box-shadow: 0 8px 20px rgba(40, 120, 216, .18);
}

/* Shared honest market comparison: the red strike belongs to the outside
   market reference, never to a fabricated former SwrlSite price. */
.market-price-strike {
    color: #b42318;
    font-weight: 850;
    text-decoration-line: line-through;
    text-decoration-thickness: 3px;
    text-decoration-color: #b42318;
    text-decoration-skip-ink: none;
}

/* -------------------------------------------------------------------------
   Pricing page: one subtle free-site bridge, two centered paid choices, and a
   single dominant monthly price for the flagship AI receptionist.
   ------------------------------------------------------------------------- */
.page-pricing .pricing-main-heading {
    max-width: 880px;
    margin-inline: auto;
    text-align: center;
}

.page-pricing .pricing-main-heading > p:not(.eyebrow) {
    margin-inline: auto;
}

.page-pricing .pricing-free-strip {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    max-width: 1040px;
    margin: 0 auto clamp(46px, 6vw, 70px);
    border: 1px solid rgba(135, 95, 170, .22);
    border-radius: 18px;
    padding: 15px 17px;
    background: linear-gradient(135deg, rgba(247, 241, 252, .78), rgba(237, 246, 255, .66));
}

.page-pricing .pricing-free-strip-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: #fff;
    color: var(--brand-ink);
    box-shadow: 0 8px 20px rgba(42, 23, 72, .08);
}

.page-pricing .pricing-free-strip-icon svg {
    width: 25px;
    height: 25px;
}

.page-pricing .pricing-free-strip-copy small,
.page-pricing .pricing-free-strip-copy strong,
.page-pricing .pricing-free-strip-copy span {
    display: block;
}

.page-pricing .pricing-free-strip-copy small {
    margin-bottom: 2px;
    color: var(--brand-ink);
    font: 800 .72rem Inter, Arial, sans-serif;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.page-pricing .pricing-free-strip-copy strong {
    color: var(--ink);
    font: 800 1.05rem/1.25 Inter, Arial, sans-serif;
}

.page-pricing .pricing-free-strip-copy span {
    margin-top: 3px;
    color: #625d67;
    font-size: .84rem;
}

.page-pricing .pricing-free-strip .button {
    margin: 0;
    white-space: nowrap;
}

.page-pricing .pricing-paid-heading {
    max-width: 720px;
    margin: 0 auto 28px;
    text-align: center;
}

.page-pricing .pricing-paid-heading h2 {
    margin: 0 0 8px;
    font-size: clamp(1.9rem, 3.1vw, 2.8rem);
    line-height: 1.02;
    letter-spacing: -.043em;
}

.page-pricing .pricing-paid-heading p {
    margin: 0;
    color: #5d5863;
    font-size: 1rem;
}

.page-pricing #pricing-paid-grid {
    width: min(100%, 1040px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
    margin-inline: auto;
}

.page-pricing .pricing-choice-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: clamp(27px, 3.6vw, 36px);
    border-color: rgba(16, 16, 20, .11);
    background: rgba(255, 253, 249, .96);
}

.page-pricing .pricing-choice-card:first-child {
    border-color: rgba(135, 95, 170, .35);
}

.page-pricing .pricing-choice-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    border-radius: 17px;
    background: #f0e8fa;
    color: var(--brand-ink);
}

.page-pricing .pricing-choice-icon.growth {
    background: #e8f2ff;
    color: var(--blue-ink);
}

.page-pricing .pricing-choice-icon svg {
    width: 29px;
    height: 29px;
}

.page-pricing .pricing-choice-card h3 {
    margin-bottom: 4px;
    font-size: clamp(1.55rem, 2.4vw, 2rem);
    letter-spacing: -.035em;
}

.page-pricing .pricing-choice-card .clean-price {
    margin: 8px 0 12px;
}

.page-pricing .pricing-choice-lead {
    margin: 0;
    color: #49454f;
    font-size: 1.02rem;
    line-height: 1.55;
}

.page-pricing .pricing-value-list {
    display: grid;
    gap: 0;
    margin-top: 22px;
    border-top: 1px solid var(--line);
}

.page-pricing .pricing-value-list > div {
    display: grid;
    grid-template-columns: minmax(125px, .36fr) minmax(0, 1fr);
    gap: 15px;
    border-bottom: 1px solid var(--line);
    padding: 15px 0;
}

.page-pricing .pricing-value-list strong {
    color: var(--ink);
    font: 800 .91rem/1.35 Inter, Arial, sans-serif;
}

.page-pricing .pricing-value-list span {
    color: #625e67;
    font-size: .89rem;
    line-height: 1.45;
}

.page-pricing .pricing-card-fineprint {
    margin-top: 16px;
    font-size: .8rem;
    line-height: 1.45;
}

.page-pricing .pricing-choice-card .clean-card-actions {
    margin-top: auto;
    padding-top: 24px;
}

.page-pricing .pricing-choice-card .clean-card-actions .button {
    width: 100%;
    justify-content: center;
    text-align: center;
}

.page-pricing .pricing-ai-heading {
    max-width: 840px;
}

.page-pricing .pricing-ai-card {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
    gap: clamp(32px, 5vw, 62px);
    align-items: center;
    border-radius: 28px;
    padding: clamp(28px, 4.5vw, 48px);
    background:
        radial-gradient(circle at 90% 8%, rgba(40, 120, 216, .13), transparent 25rem),
        linear-gradient(145deg, #fffdf9, #f7f1fc 58%, #edf6ff);
}

.page-pricing .pricing-ai-copy h3 {
    margin: 0 0 7px;
    font-size: clamp(2rem, 3.45vw, 3.15rem);
    line-height: 1;
    letter-spacing: -.047em;
    text-wrap: balance;
}

.page-pricing .pricing-ai-copy .clean-price {
    margin: 18px 0 3px;
    font-size: clamp(2.6rem, 4.6vw, 4.1rem);
}

.page-pricing .pricing-ai-setup {
    margin: 4px 0 17px;
    color: #77717b;
    font-size: .77rem;
    line-height: 1.4;
}

.page-pricing .pricing-ai-copy .clean-note {
    width: fit-content;
    margin: 0 0 22px;
    padding: 11px 13px;
    font-size: .88rem;
}

.page-pricing .pricing-ai-benefits {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.page-pricing .pricing-ai-benefits > div {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3px 10px;
    align-items: center;
    border: 1px solid rgba(16, 16, 20, .08);
    border-radius: 14px;
    padding: 12px;
    background: rgba(255, 255, 255, .72);
}

.page-pricing .pricing-ai-benefits > div > span {
    grid-row: 1 / 3;
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: #f0e8fa;
    color: var(--brand-ink);
    font: 850 .69rem Inter, Arial, sans-serif;
}

.page-pricing .pricing-ai-benefits strong,
.page-pricing .pricing-ai-benefits small {
    display: block;
}

.page-pricing .pricing-ai-benefits strong {
    color: var(--ink);
    font: 800 .87rem Inter, Arial, sans-serif;
}

.page-pricing .pricing-ai-benefits small {
    color: #68636d;
    font-size: .76rem;
    line-height: 1.35;
}

.page-pricing .pricing-ai-scope {
    margin: 17px 0 0;
    color: #625d67;
    font-size: .82rem;
    line-height: 1.5;
}

.page-pricing .pricing-ai-copy .clean-card-actions {
    margin-top: 20px;
}

.page-pricing .pricing-scope-details {
    margin-top: 17px;
    color: #69646e;
    font-size: .79rem;
}

.page-pricing .pricing-scope-details summary {
    width: fit-content;
    cursor: pointer;
    color: var(--brand-ink);
    font-weight: 800;
}

.page-pricing .pricing-scope-details p {
    max-width: 660px;
    margin: 8px 0 0;
    line-height: 1.5;
}

.page-pricing .pricing-ai-visual {
    position: relative;
}

.page-pricing .pricing-phone-shell {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(16, 16, 20, .11);
    border-radius: 25px;
    padding: 17px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 24px 60px rgba(42, 23, 72, .15);
}

.page-pricing .pricing-phone-top {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 9px;
    align-items: center;
    border-bottom: 1px solid var(--line);
    padding: 1px 1px 13px;
}

.page-pricing .pricing-phone-top > span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 5px rgba(19, 163, 111, .12);
}

.page-pricing .pricing-phone-top small {
    color: #5e5963;
    font-weight: 750;
}

.page-pricing .pricing-phone-top b {
    border-radius: 999px;
    padding: 5px 8px;
    background: var(--mint);
    color: var(--green-ink);
    font-size: .68rem;
}

.page-pricing .pricing-phone-caller {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 11px;
    align-items: center;
    margin-top: 15px;
    border: 1px solid rgba(16, 16, 20, .07);
    border-radius: 14px;
    padding: 12px;
    background: #fffdf9;
}

.page-pricing .pricing-phone-caller > span {
    width: 39px;
    height: 39px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #f0e8fa;
    color: var(--brand-ink);
    font: 850 .78rem Inter, Arial, sans-serif;
}

.page-pricing .pricing-phone-caller small,
.page-pricing .pricing-phone-caller strong {
    display: block;
}

.page-pricing .pricing-phone-caller small {
    color: #77717a;
    font-size: .71rem;
}

.page-pricing .pricing-phone-caller strong {
    margin-top: 2px;
    font-size: .94rem;
}

.page-pricing .pricing-phone-message {
    max-width: 88%;
    margin-top: 11px;
    border-radius: 14px;
    padding: 10px 12px;
    color: #3f3a43;
    font-size: .82rem;
    line-height: 1.42;
}

.page-pricing .pricing-phone-message.agent { background: #f0e8fa; }
.page-pricing .pricing-phone-message.caller { margin-left: auto; background: #e8f2ff; }

.page-pricing .pricing-phone-result {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: center;
    margin-top: 13px;
    border: 1px solid rgba(19, 163, 111, .18);
    border-radius: 14px;
    padding: 12px;
    background: var(--mint);
}

.page-pricing .pricing-phone-result > span {
    width: 33px;
    height: 33px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: #fff;
    color: var(--green-ink);
    font-weight: 900;
}

.page-pricing .pricing-phone-result strong,
.page-pricing .pricing-phone-result small {
    display: block;
}

.page-pricing .pricing-phone-result strong { color: #244f3d; }
.page-pricing .pricing-phone-result small { margin-top: 2px; color: #527061; }

.page-pricing .pricing-ai-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 14px;
    color: #5d5863;
    font-size: .7rem;
    font-weight: 800;
}

.page-pricing .pricing-ai-flow span {
    border: 1px solid rgba(16, 16, 20, .08);
    border-radius: 999px;
    padding: 6px 8px;
    background: rgba(255, 255, 255, .8);
}

.page-pricing .pricing-ai-flow i {
    color: var(--brand-ink);
    font-style: normal;
}

/* -------------------------------------------------------------------------
   Free website page: the researched value story replaces the old free-vs-paid
   comparison cards. Paid choices remain on Pricing.
   ------------------------------------------------------------------------- */
.page-free-websites .free-value-section {
    background: linear-gradient(180deg, rgba(255, 255, 255, .2), rgba(247, 241, 252, .52));
}

.page-free-websites .free-value-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr);
    gap: clamp(30px, 5vw, 60px);
    align-items: center;
    border: 1px solid rgba(135, 95, 170, .3);
    border-radius: 28px;
    padding: clamp(28px, 4.5vw, 48px);
    background:
        radial-gradient(circle at 95% 5%, rgba(40, 120, 216, .12), transparent 24rem),
        linear-gradient(145deg, #fffdf9, #f7f1fc 62%, #edf6ff);
    box-shadow: 0 20px 56px rgba(42, 23, 72, .1);
}

.page-free-websites .free-value-copy h3 {
    margin: 0 0 20px;
    font-size: clamp(1.9rem, 3.25vw, 3rem);
    line-height: 1.03;
    letter-spacing: -.045em;
    text-wrap: balance;
}

.page-free-websites .free-value-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
}

.page-free-websites .free-value-grid > div {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4px 11px;
    align-items: center;
    border: 1px solid rgba(16, 16, 20, .08);
    border-radius: 15px;
    padding: 13px;
    background: rgba(255, 255, 255, .72);
}

.page-free-websites .free-value-icon {
    grid-row: 1 / 3;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #f0e8fa;
    color: var(--brand-ink);
}

.page-free-websites .free-value-grid > div:nth-child(even) .free-value-icon {
    background: #e8f2ff;
    color: var(--blue-ink);
}

.page-free-websites .free-value-icon svg {
    width: 21px;
    height: 21px;
}

.page-free-websites .free-value-grid strong,
.page-free-websites .free-value-grid small {
    display: block;
}

.page-free-websites .free-value-grid strong {
    color: var(--ink);
    font: 800 .9rem Inter, Arial, sans-serif;
}

.page-free-websites .free-value-grid small {
    color: #67616b;
    font-size: .78rem;
    line-height: 1.38;
}

.page-free-websites .free-value-boundary {
    margin: 18px 0 10px;
    color: #625d67;
    font-size: .82rem;
    line-height: 1.5;
}

.page-free-websites .free-value-price {
    border-left: 1px solid rgba(16, 16, 20, .1);
    padding-left: clamp(24px, 4vw, 44px);
}

.page-free-websites .free-value-others,
.page-free-websites .free-value-price > small {
    display: block;
    color: #625d67;
    font: 800 .73rem Inter, Arial, sans-serif;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.page-free-websites .free-value-price > .market-price-strike {
    display: block;
    margin: 6px 0 3px;
    font: 850 clamp(2.35rem, 4vw, 3.5rem)/1 Inter, Arial, sans-serif;
    letter-spacing: -.055em;
}

.page-free-websites .free-value-yours {
    margin: 24px 0 17px;
    border-top: 1px solid rgba(16, 16, 20, .1);
    padding-top: 20px;
}

.page-free-websites .free-value-yours span,
.page-free-websites .free-value-yours b,
.page-free-websites .free-value-yours small {
    display: block;
}

.page-free-websites .free-value-yours span {
    color: var(--brand-ink);
    font: 850 .74rem Inter, Arial, sans-serif;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.page-free-websites .free-value-yours b {
    margin-top: 4px;
    color: var(--brand-ink);
    font: 850 clamp(3.4rem, 6vw, 5rem)/.9 Inter, Arial, sans-serif;
    letter-spacing: -.075em;
}

.page-free-websites .free-value-yours small {
    margin-top: 7px;
    color: #5d5862;
    font-size: .82rem;
    font-weight: 750;
}

.page-free-websites .free-value-price .button {
    width: 100%;
    justify-content: center;
    text-align: center;
}

.page-free-websites .free-value-price > p {
    margin: 11px 0 0;
    color: #77717a;
    font-size: .7rem;
    line-height: 1.4;
}

@media (max-width: 1040px) {
    .page-pricing .pricing-ai-card,
    .page-free-websites .free-value-panel {
        grid-template-columns: 1fr;
    }

    .page-pricing .pricing-ai-visual {
        width: min(100%, 660px);
        margin-inline: auto;
    }

    .page-free-websites .free-value-price {
        border-top: 1px solid rgba(16, 16, 20, .1);
        border-left: 0;
        padding-top: 26px;
        padding-left: 0;
    }

    .page-free-websites .free-value-price .button {
        width: fit-content;
    }
}

@media (max-width: 760px) {
    .page-pricing .pricing-free-strip {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .page-pricing .pricing-free-strip .button {
        grid-column: 1 / -1;
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .page-pricing #pricing-paid-grid,
    .page-pricing .pricing-ai-benefits,
    .page-free-websites .free-value-grid {
        grid-template-columns: 1fr;
    }

    .page-pricing .pricing-value-list > div {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .page-pricing .pricing-ai-flow {
        flex-wrap: wrap;
    }
}

@media (max-width: 520px) {
    .page-pricing .pricing-free-strip {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .page-pricing .pricing-free-strip-icon {
        width: 40px;
        height: 40px;
    }

    .page-pricing .pricing-ai-card,
    .page-free-websites .free-value-panel {
        padding: 23px 18px;
        border-radius: 22px;
    }

    .page-pricing .pricing-ai-benefits > div,
    .page-free-websites .free-value-grid > div {
        padding: 11px;
    }

    .page-free-websites .free-value-price .button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .public-page .clean-hero > .swrl-hero-poster,
    .public-page .clean-page-hero > .swrl-poster {
        transition: none;
    }

    .public-page .clean-hero > .swrl-hero-poster::before,
    .public-page .clean-page-hero > .swrl-poster::before,
    .public-page .clean-hero > .swrl-hero-poster::after,
    .public-page .clean-page-hero > .swrl-poster::after {
        animation: none;
    }
}
