html {
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

body {
    overflow-x: hidden;
    min-width: 0;
    width: 100%;
}

.site-header {
    overflow-x: clip;
}

main {
    overflow-x: clip;
    width: 100%;
    min-width: 0;
}

main img,
main video,
main svg {
    max-width: 100%;
    height: auto;
}

main pre {
    max-width: 100%;
    overflow-x: auto;
}

main .grid > *,
main .flex > * {
    min-width: 0;
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.pricing-card-shadow {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.pricing-card-shadow:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.billing-toggle-knob {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-gradient {
    background: radial-gradient(circle at 70% 30%, rgba(182, 237, 194, 0.3) 0%, rgba(250, 249, 246, 0) 60%);
}

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(226, 227, 223, 0.5);
}

.chat-mask {
    mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
}

.bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    width: 100%;
    min-width: 0;
}

@media (min-width: 768px) {
    .bento-grid {
        grid-template-columns: repeat(12, minmax(0, 1fr));
    }
}

.pricing-compare-table {
    width: 100%;
    min-width: 0;
    border-collapse: separate;
    border-spacing: 0;
}

.pricing-compare-table th,
.pricing-compare-table td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(226, 227, 223, 0.8);
    vertical-align: middle;
}

.pricing-compare-table th {
    text-align: left;
    font-weight: 600;
}

.pricing-compare-table .plan-col {
    text-align: center;
    width: 28%;
}

.pricing-compare-table .feature-col {
    width: 44%;
    min-width: 0;
}

.pricing-compare-table tr:last-child td {
    border-bottom: none;
}

.pricing-compare-table .category-row td {
    background: #f4f4f0;
    font-weight: 600;
    color: #064517;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(226, 227, 223, 0.8);
}

.pricing-compare-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 767px) {
    .pricing-compare-table {
        min-width: 560px;
    }
}

.pricing-included-table {
    width: 100%;
    min-width: 0;
    border-collapse: separate;
    border-spacing: 0;
}

.pricing-included-table th,
.pricing-included-table td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(226, 227, 223, 0.8);
    vertical-align: middle;
}

.pricing-included-table th {
    text-align: left;
    font-weight: 600;
}

.pricing-included-table .feature-col {
    width: 58%;
    min-width: 0;
}

.pricing-included-table .included-col {
    width: 42%;
    text-align: right;
}

.pricing-included-table tr:last-child td {
    border-bottom: none;
}

.pricing-included-table .category-row td {
    background: #f4f4f0;
    font-weight: 600;
    color: #064517;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(226, 227, 223, 0.8);
    text-align: left;
}

/* Responsive typography */
@media (max-width: 639px) {
    .text-display-lg {
        font-size: 2rem !important;
        line-height: 2.5rem !important;
    }

    .text-headline-lg {
        font-size: 1.5rem !important;
        line-height: 2rem !important;
    }

    .text-headline-md {
        font-size: 1.25rem !important;
        line-height: 1.75rem !important;
    }
}

@media (max-width: 767px) {
    .mega-menu-panel {
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
        width: calc(100vw - 2rem) !important;
        max-width: calc(100vw - 2rem) !important;
        margin-left: 1rem;
        margin-right: 1rem;
    }
}

/* Mobile nav drawer */
.mobile-nav-open {
    overflow: hidden;
}

#mobile-nav-panel {
    max-height: calc(100vh - 5rem);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* Coming soon — drowning in tickets illustration */
.coming-soon-scene {
    position: relative;
    width: min(100%, 420px);
    height: 320px;
    overflow: hidden;
    border-radius: 1.5rem;
    border: 1px solid rgba(55, 60, 58, 0.15);
    background: linear-gradient(180deg, #e8f4ea 0%, #b6edc2 45%, #7ec99a 100%);
    box-shadow: 0 12px 32px rgba(6, 69, 23, 0.12);
}

.coming-soon-water {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 12px,
        rgba(255, 255, 255, 0.06) 12px,
        rgba(255, 255, 255, 0.06) 24px
    );
    animation: coming-soon-wave 4s ease-in-out infinite;
}

.coming-soon-pile {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 55%;
    display: flex;
    flex-direction: column-reverse;
    gap: 4px;
    padding: 0 12px 8px;
}

.coming-soon-pile-layer {
    height: 28px;
    background: #fff;
    border: 1px solid rgba(55, 60, 58, 0.2);
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.coming-soon-pile-layer:nth-child(1) { width: 92%; margin: 0 auto; }
.coming-soon-pile-layer:nth-child(2) { width: 88%; margin: 0 auto; }
.coming-soon-pile-layer:nth-child(3) { width: 84%; margin: 0 auto; }

.coming-soon-agent {
    position: absolute;
    bottom: 38%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 4px;
    animation: coming-soon-bob 2.5s ease-in-out infinite;
    z-index: 2;
}

.coming-soon-head {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.coming-soon-face {
    font-size: 72px !important;
    color: #245d2c;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
    transform: rotate(-8deg);
}

.coming-soon-hand {
    color: #376847;
    animation: coming-soon-flail 1.2s ease-in-out infinite;
}

.coming-soon-hand .material-symbols-outlined {
    font-size: 36px !important;
    transform: scaleX(-1);
}

.coming-soon-hand-right {
    animation-delay: 0.6s;
}

.coming-soon-hand-right .material-symbols-outlined {
    transform: scaleX(1);
}

.coming-soon-bubble {
    position: absolute;
    top: -8px;
    right: -48px;
    background: #fff;
    color: #ba1a1a;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
    padding: 4px 8px;
    border-radius: 999px;
    border: 2px solid #ba1a1a;
    animation: coming-soon-bubble 2s ease-in-out infinite;
    white-space: nowrap;
}

.coming-soon-ticket {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 4px;
    background: #fff;
    border: 1px solid rgba(55, 60, 58, 0.2);
    border-radius: 6px;
    padding: 4px 8px;
    font-size: 10px;
    font-weight: 600;
    color: #41493f;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    z-index: 3;
    white-space: nowrap;
}

.coming-soon-ticket-1 { top: 12%; left: 8%; animation: coming-soon-float 5s ease-in-out infinite; }
.coming-soon-ticket-2 { top: 22%; right: 6%; animation: coming-soon-float 4.2s ease-in-out infinite 0.5s; }
.coming-soon-ticket-3 { top: 8%; right: 28%; animation: coming-soon-float 4.8s ease-in-out infinite 1s; }
.coming-soon-ticket-4 { top: 38%; left: 4%; animation: coming-soon-float 3.8s ease-in-out infinite 0.3s; }
.coming-soon-ticket-5 { top: 32%; right: 2%; animation: coming-soon-float 4.5s ease-in-out infinite 0.8s; }

.coming-soon-counter {
    position: absolute;
    bottom: 12px;
    right: 12px;
    font-size: 10px;
    font-weight: 700;
    color: rgba(6, 69, 23, 0.7);
    background: rgba(255, 255, 255, 0.85);
    padding: 4px 8px;
    border-radius: 6px;
    border: 1px solid rgba(55, 60, 58, 0.15);
    z-index: 4;
}

@keyframes coming-soon-bob {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

@keyframes coming-soon-flail {
    0%, 100% { transform: rotate(-15deg); }
    50% { transform: rotate(25deg); }
}

@keyframes coming-soon-float {
    0%, 100% { transform: translateY(0) rotate(-3deg); }
    50% { transform: translateY(-8px) rotate(3deg); }
}

@keyframes coming-soon-bubble {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

@keyframes coming-soon-wave {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.85; }
}

/* Landing split — small business vs SaaS */
.landing-split-card {
    position: relative;
    display: block;
    border-radius: 1.25rem;
    text-decoration: none;
    color: inherit;
    min-width: 0;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.landing-split-card:hover {
    transform: translateY(-6px);
}

.landing-split-card-glow {
    position: absolute;
    inset: -1px;
    border-radius: 1.35rem;
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
    z-index: 0;
}

.landing-split-card-glow--business {
    background: linear-gradient(135deg, rgba(182, 237, 194, 0.7), rgba(152, 213, 152, 0.35));
}

.landing-split-card-glow--saas {
    background: linear-gradient(135deg, rgba(6, 69, 23, 0.25), rgba(36, 93, 44, 0.15));
}

.landing-split-card:hover .landing-split-card-glow {
    opacity: 1;
}

.landing-split-card-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 420px;
    padding: 2rem;
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(226, 227, 223, 0.65);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.35s ease, border-color 0.35s ease;
}

.landing-split-card:hover .landing-split-card-inner {
    box-shadow: 0 20px 48px rgba(6, 69, 23, 0.12);
    border-color: rgba(55, 104, 71, 0.25);
}

.landing-split-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    margin-bottom: 1.5rem;
}

.landing-split-card-icon .material-symbols-outlined {
    font-size: 1.75rem !important;
}

.landing-split-card-icon--business {
    background: linear-gradient(135deg, #b6edc2 0%, #98d598 100%);
    color: #064517;
}

.landing-split-card-icon--saas {
    background: linear-gradient(135deg, #245d2c 0%, #064517 100%);
    color: #ffffff;
}

.landing-split-card-body {
    flex: 1;
}

.landing-split-card-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.landing-split-card-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 14px;
    line-height: 20px;
    color: #41493f;
}

.landing-split-card-features .material-symbols-outlined {
    font-size: 18px !important;
    color: #376847;
    flex-shrink: 0;
}

.landing-split-card-footer {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(226, 227, 223, 0.8);
}

.landing-split-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 14px;
    font-weight: 700;
    color: #064517;
}

.landing-split-card-arrow {
    font-size: 20px !important;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.landing-split-card:hover .landing-split-card-arrow {
    transform: translateX(4px);
}

@media (max-width: 767px) {
    .landing-split-card-inner {
        min-height: 0;
        padding: 1.5rem;
    }
}

/* Pricing calculator */
.pricing-seat-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(193, 201, 188, 0.9);
    background: #faf9f6;
    color: #064517;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.pricing-seat-btn:hover {
    background: #f4f4f0;
    border-color: #376847;
}

.pricing-seat-btn .material-symbols-outlined {
    font-size: 20px !important;
}

.pricing-seat-input {
    width: 3rem;
    text-align: center;
    font-weight: 700;
    font-size: 1rem;
    color: #1a1c1a;
    border: 1px solid rgba(193, 201, 188, 0.9);
    border-radius: 0.5rem;
    padding: 0.375rem 0.25rem;
    background: #ffffff;
    -moz-appearance: textfield;
}

.pricing-seat-input::-webkit-outer-spin-button,
.pricing-seat-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.pricing-calculator {
    position: sticky;
    top: 6rem;
}

/* Affiliate earnings calculator */
.affiliate-earnings-card {
    background: #faf9f6;
    border: 1px solid rgba(193, 201, 188, 0.9);
    border-radius: 0.75rem;
    padding: 1.5rem;
}

.affiliate-earnings-monthly {
    border-top: 3px solid #376847;
}

.affiliate-earnings-annual {
    border-top: 3px solid #064517;
}

/* Legal pages (Terms of Service, Privacy Policy) */
.legal-doc {
    color: #1a1c1a;
}

.legal-doc h2 {
    font-family: "Work Sans", sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 2rem;
    color: #064517;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    scroll-margin-top: 6rem;
}

.legal-doc h3 {
    font-family: "Work Sans", sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.75rem;
    color: #1a1c1a;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.legal-doc p,
.legal-doc li {
    font-size: 1rem;
    line-height: 1.625rem;
    color: #41493f;
}

.legal-doc p + p {
    margin-top: 0.75rem;
}

.legal-doc ul,
.legal-doc ol {
    margin-top: 0.75rem;
    padding-left: 1.5rem;
}

.legal-doc li + li {
    margin-top: 0.5rem;
}

.legal-doc dl {
    margin-top: 0.75rem;
}

.legal-doc dt {
    font-weight: 600;
    color: #1a1c1a;
    margin-top: 1rem;
}

.legal-doc dd {
    margin-left: 0;
    margin-top: 0.25rem;
    color: #41493f;
}

.legal-notice {
    background: #f4f4f0;
    border: 1px solid rgba(193, 201, 188, 0.6);
    border-radius: 0.75rem;
    padding: 1.25rem 1.5rem;
}

.legal-notice h2 {
    margin-top: 0;
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.legal-notice + .legal-notice {
    margin-top: 1rem;
}

.legal-part {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(6, 69, 23, 0.15);
}

.legal-part-heading {
    margin-top: 0;
    font-size: 1.25rem;
    line-height: 1.875rem;
    color: #376847;
}