/* Focused public page refinements. This layer keeps the light SwrlSite look
   while supporting the homepage product showcase and simpler pricing and work
   layouts. */

.public-page .home-feature-line {
    min-height: 1.45em;
    margin: 0 0 14px;
    color: var(--brand-ink);
    font-family: Inter, Arial, sans-serif;
    font-size: clamp(1.08rem, 1.8vw, 1.34rem);
    font-weight: 800;
    line-height: 1.35;
}

.public-page .home-feature-line span {
    display: inline-block;
    transition: opacity .16s ease, transform .16s ease;
}

.public-page .home-feature-line span.is-changing {
    opacity: 0;
    transform: translateY(4px);
}

.public-page .home-showcase {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(16, 16, 20, .11);
    border-radius: 27px;
    padding: 18px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 22px 64px rgba(42, 23, 72, .13);
    backdrop-filter: blur(14px);
}

.public-page .home-showcase::before {
    position: absolute;
    top: -5rem;
    right: -4rem;
    width: 14rem;
    height: 14rem;
    border-radius: 50%;
    content: "";
    background: radial-gradient(circle, rgba(135, 95, 170, .18), transparent 68%);
    pointer-events: none;
}

.public-page .home-showcase-top {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border-bottom: 1px solid var(--line);
    padding: 4px 3px 14px;
    color: #55515b;
    font-size: .8rem;
    font-weight: 800;
}

.public-page .home-showcase-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--ink);
}

.public-page .home-showcase-status::before {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    content: "";
    background: var(--green);
    box-shadow: 0 0 0 5px rgba(19, 163, 111, .12);
}

.public-page .home-showcase-stage {
    position: relative;
    min-height: 350px;
    margin-top: 14px;
}

.public-page .home-showcase-card {
    position: absolute;
    inset: 0;
    display: grid;
    align-content: center;
    gap: 14px;
    border-radius: 20px;
    padding: 20px;
    background: linear-gradient(145deg, #fffdf9, #f7f2eb);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(.985);
    transition: opacity .32s ease, transform .32s ease, visibility .32s ease;
    pointer-events: none;
}

.public-page .home-showcase-card.is-active {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
}

.public-page .showcase-call-row,
.public-page .showcase-lead-head {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    align-items: center;
    border: 1px solid rgba(16, 16, 20, .08);
    border-radius: 15px;
    padding: 13px;
    background: #fff;
}

.public-page .showcase-call-row small,
.public-page .showcase-call-row strong,
.public-page .showcase-lead-head small,
.public-page .showcase-lead-head strong {
    display: block;
}

.public-page .showcase-call-icon,
.public-page .showcase-avatar {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: #f0e8fa;
    color: var(--brand-ink);
    font: 850 .82rem Inter, Arial, sans-serif;
}

.public-page .showcase-state {
    border-radius: 999px;
    padding: 6px 9px;
    background: #e8f2ff;
    color: var(--blue-ink);
    font-size: .73rem;
    font-weight: 850;
}

.public-page .showcase-state.success {
    background: var(--mint);
    color: var(--green-ink);
}

.public-page .showcase-message {
    max-width: 86%;
    border-radius: 15px;
    padding: 11px 13px;
    color: #34313a;
    font-size: .91rem;
    line-height: 1.46;
}

.public-page .showcase-message.agent { background: #f0e8fa; }
.public-page .showcase-message.caller { justify-self: end; background: #e8f2ff; }

.public-page .showcase-result {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid rgba(19, 163, 111, .18);
    border-radius: 14px;
    padding: 12px 14px;
    background: var(--mint);
    color: #315747;
    font-size: .86rem;
    font-weight: 750;
}

.public-page .showcase-result.success {
    display: grid;
    justify-content: initial;
}

.public-page .showcase-result.success strong,
.public-page .showcase-result.success span { display: block; }

.public-page .showcase-calendar-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #4c4952;
}

.public-page .showcase-calendar-head strong { color: var(--ink); }

.public-page .showcase-slots {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.public-page .showcase-slots span {
    border: 1px solid var(--line);
    border-radius: 13px;
    padding: 13px 8px;
    background: #fff;
    text-align: center;
    font-weight: 800;
}

.public-page .showcase-slots span.selected {
    border-color: rgba(135, 95, 170, .45);
    background: #f0e8fa;
    color: var(--brand-ink);
}

.public-page .showcase-lead-head {
    grid-template-columns: auto 1fr;
}

.public-page .showcase-lead-list {
    display: grid;
    gap: 9px;
    margin: 0;
}

.public-page .showcase-lead-list div {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 12px;
    border-bottom: 1px solid var(--line);
    padding: 9px 0;
}

.public-page .showcase-lead-list dt {
    color: #6a6670;
    font-size: .78rem;
    font-weight: 800;
}

.public-page .showcase-lead-list dd {
    margin: 0;
    color: #37343d;
    font-weight: 700;
}

.public-page .showcase-browser-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 12px;
}

.public-page .showcase-browser-bar i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #c9c3ce;
}

.public-page .showcase-browser-bar i:nth-child(2) { background: #ff7b62; }
.public-page .showcase-browser-bar i:nth-child(3) { background: #27a77b; }

.public-page .showcase-browser-bar span {
    flex: 1;
    margin-left: 6px;
    overflow: hidden;
    color: #77727c;
    font-size: .72rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.public-page .showcase-site-preview {
    min-height: 175px;
    border-radius: 16px;
    padding: 22px;
    color: #fff;
    background: linear-gradient(135deg, #2878d8, #1d426e);
}

.public-page .showcase-site-preview small,
.public-page .showcase-site-preview strong,
.public-page .showcase-site-preview span { display: block; }

.public-page .showcase-site-preview strong {
    max-width: 310px;
    margin-top: 8px;
    font-size: 1.55rem;
    line-height: 1.08;
}

.public-page .showcase-site-preview span {
    width: fit-content;
    margin-top: 16px;
    border-radius: 999px;
    padding: 7px 11px;
    background: #fff;
    color: #1d426e;
    font-size: .75rem;
    font-weight: 850;
}

.public-page .home-showcase-dots {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
}

.public-page .home-showcase-dots button {
    width: 9px;
    height: 9px;
    border: 0;
    border-radius: 50%;
    padding: 0;
    background: #c9c3ce;
    cursor: pointer;
    transition: width .2s ease, background .2s ease;
}

.public-page .home-showcase-dots button.is-active {
    width: 25px;
    border-radius: 999px;
    background: var(--brand);
}

.public-page .home-custom-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 18px;
    border: 1px solid var(--line);
    border-radius: 17px;
    padding: 15px 18px;
    background: rgba(255, 255, 255, .58);
    color: #4f4b55;
    font-weight: 700;
}

.public-page .home-founder-compact {
    grid-template-columns: minmax(220px, 275px) minmax(0, 1fr);
}

.public-page .pricing-first-section {
    padding-top: clamp(54px, 7vw, 82px);
}

.public-page .pricing-page-title {
    max-width: 900px;
    margin: 0 0 14px;
    font-size: clamp(2.35rem, 4.3vw, 4.15rem);
    line-height: .98;
    letter-spacing: -.052em;
    text-wrap: balance;
}

.public-page .pricing-terms-note {
    padding: 8px 0 50px;
}

.public-page .pricing-terms-note p {
    margin: 0;
    color: #68646d;
    font-size: .88rem;
    line-height: 1.55;
}

.public-page .pricing-terms-note .text-link {
    margin-left: 5px;
    font-size: inherit;
}

.public-page .product-feature-card {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(310px, .95fr);
    gap: clamp(24px, 4vw, 42px);
    align-items: center;
    margin-bottom: 18px;
    padding: clamp(26px, 4vw, 38px);
}

.public-page .product-download-box {
    border: 1px solid rgba(135, 95, 170, .22);
    border-radius: 19px;
    padding: 20px;
    background: linear-gradient(145deg, #f7f0fc, #eef6ff);
}

.public-page .product-download-title {
    display: block;
    margin-bottom: 5px;
    color: var(--ink);
    font-family: Inter, Arial, sans-serif;
    font-size: 1.18rem;
}

.public-page .product-download-box > p {
    margin: 0;
    color: #5d5963;
}

.public-page .product-download-box .store-badges,
.public-page .clean-card .store-badges {
    position: static !important;
    inset: auto !important;
    display: flex !important;
    flex-wrap: wrap;
    gap: 10px;
    width: auto;
    margin: 16px 0 0 !important;
    transform: none !important;
}

.public-page .store-badge {
    min-height: 44px;
    border-width: 1px;
    padding: 10px 14px;
    background: #fff;
    font-size: .82rem;
}

.public-page .product-secondary-grid { margin-top: 18px; }

@media (max-width: 1040px) {
    .public-page .product-feature-card,
    .public-page .home-founder-compact {
        grid-template-columns: 1fr;
    }

    .public-page .home-founder-compact .clean-founder-media {
        max-width: 300px;
    }
}

@media (max-width: 720px) {
    .public-page .home-showcase-stage { min-height: 330px; }
    .public-page .home-showcase-card { padding: 16px; }
    .public-page .home-custom-line { align-items: flex-start; flex-direction: column; }
    .public-page .pricing-page-title { font-size: clamp(2.2rem, 10vw, 3rem); }
    .public-page .product-download-box .store-badges { display: grid !important; }
    .public-page .store-badge { width: 100%; }
}

@media (max-width: 480px) {
    .public-page .home-showcase { padding: 14px; border-radius: 21px; }
    .public-page .home-showcase-stage { min-height: 350px; }
    .public-page .showcase-slots { grid-template-columns: 1fr; }
    .public-page .showcase-lead-list div { grid-template-columns: 72px 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .public-page .home-showcase-card,
    .public-page .home-feature-line span {
        transition: none;
    }
}
