:root {
    --bg: #ffffff;
    --bg-soft: #ffffff;
    /* ألوان الشعار: الظل #134e4a → #042f2e */
    --text: #134e4a;
    --text-muted: #3d6f66;
    --green-50: #ecfdf5;
    --green-100: #cce8e3;
    --green-500: #14b8a6;
    --green-600: #0d9488;
    --green-700: #0f766e;
    --green-800: #115e59;
    --green-900: #042f2e;
    --border: #d4ebe6;
    --shadow: 0 10px 30px rgba(4, 47, 46, 0.06);
    --radius: 14px;
    --nav-h: 64px;
    --max: 1080px;
    --space: clamp(1rem, 3vw, 2rem);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

[hidden] {
    display: none !important;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Readex Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    min-height: 100vh;
    min-height: 100dvh;
    padding:
        calc(var(--nav-h) + var(--space) + env(safe-area-inset-top, 0px))
        var(--space)
        calc(var(--space) + env(safe-area-inset-bottom, 0px));
}

a { color: var(--green-800); text-decoration: none; }
a:hover { color: var(--green-600); }

h1, h2, h3, h4 {
    color: var(--green-900);
    font-weight: 700;
}

.container {
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
}

.site-nav {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 100;
    min-height: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
    padding-top: env(safe-area-inset-top, 0px);
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.site-nav__inner {
    position: relative;
    max-width: var(--max);
    width: 100%;
    margin: 0 auto;
    min-height: var(--nav-h);
    padding: 0 var(--space);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.nav-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--green-900);
    font-weight: 700;
    font-size: 0.92rem;
}

.nav-brand .nav-logo {
    height: 42px;
    width: auto;
    object-fit: contain;
    display: block;
}

.nav-toggle {
    min-width: 44px;
    min-height: 44px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--green-700);
    cursor: pointer;
    font: inherit;
}

.nav-panel {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    margin-top: 4px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 8px;
    box-shadow: var(--shadow);
    max-height: min(70vh, 420px);
    overflow: auto;
    z-index: 110;
    -webkit-overflow-scrolling: touch;
}

.nav-panel.is-open {
    display: grid;
    gap: 2px;
}

.nav-panel a {
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--green-800);
    font-size: 0.9rem;
    transition: background 0.2s ease, color 0.2s ease;
}

.nav-panel a:hover,
.nav-panel a.is-active {
    background: var(--green-50);
    color: var(--green-700);
}

/* شاشات عريضة: قائمة سطر واحد. أقل من ذلك: زر القائمة (يتجنب قصّ الروابط في Safari) */
@media (min-width: 1120px) {
    .nav-toggle { display: none; }
    .nav-panel {
        display: flex;
        position: static;
        margin-top: 0;
        border: 0;
        box-shadow: none;
        padding: 0;
        overflow: visible;
        flex-wrap: nowrap;
        justify-content: flex-end;
        gap: 2px;
        max-height: none;
        z-index: auto;
    }
    .nav-panel a {
        padding: 8px 10px;
        white-space: nowrap;
        font-size: 0.88rem;
    }
}

.page { padding-block: clamp(20px, 4vw, 36px); }

.hero-home {
    display: grid;
    gap: clamp(20px, 4vw, 32px);
    align-items: center;
    width: 100%;
}

@media (min-width: 860px) {
    .hero-home {
        grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
        gap: clamp(24px, 4vw, 48px);
    }
}

.hero-copy {
    display: grid;
    gap: 12px;
    min-width: 0;
}

.hero-logo-stage {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-width: 0;
    background: transparent;
}

.hero-logo-stage picture {
    display: block;
    line-height: 0;
}

.hero-logo {
    display: block;
    width: clamp(168px, 26vw, 300px);
    max-width: 100%;
    height: auto;
    margin-inline: auto;
    object-fit: contain;
    background: transparent;
    filter: drop-shadow(0 12px 28px rgba(4, 47, 46, 0.1));
    animation: heroLogoFloat 5s ease-in-out infinite;
}

@keyframes heroLogoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--green-50);
    border: 1px solid var(--green-100);
    color: var(--green-900);
    font-size: 0.82rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green-500);
    box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.2);
    animation: pulse 2s ease infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.55; }
}

h1 {
    font-size: clamp(1.7rem, 5vw, 2.4rem);
    line-height: 1.25;
    margin-bottom: 8px;
    color: var(--green-900);
}

.lead { color: var(--text); opacity: 0.92; max-width: 52ch; }

.subtitle { color: var(--green-700); font-size: 1.05rem; margin-bottom: 12px; font-weight: 600; }

/* ─── Language Switcher ───────────────────────────────────────── */
.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin-inline-start: auto;
    flex-shrink: 0;
}
.lang-switcher__globe {
    font-size: 1rem;
    line-height: 1;
    opacity: 0.65;
    margin-inline-end: 2px;
}
.lang-btn {
    padding: 4px 11px;
    border-radius: 99px;
    border: 1.5px solid var(--green-700);
    background: transparent;
    color: var(--green-700);
    cursor: pointer;
    font-size: 0.7rem;
    font-weight: 800;
    font-family: inherit;
    line-height: 1.4;
    letter-spacing: 0.04em;
    transition: background 0.15s, color 0.15s;
}
.lang-btn--active {
    background: var(--green-700);
    color: #fff;
}
.lang-btn:hover:not(.lang-btn--active) {
    background: var(--green-50);
}
/* LTR adjustments for English mode */
[dir="ltr"] body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Readex Pro', sans-serif;
}
[dir="ltr"] .hero-home { flex-direction: row-reverse; }
[dir="ltr"] .site-footer__meta { direction: ltr; }

.subtitle-note { color: var(--green-800); font-weight: 700; }

.fl-inline {
    display: inline;
    font-size: 0.72em;
    font-weight: 500;
    color: var(--green-700);
    opacity: 0.8;
    white-space: normal;
}

.freelance-logo {
    display: block;
    object-fit: contain;
    flex-shrink: 0;
}

.freelance-logo--hero {
    width: auto;
    height: 32px;
    max-width: 120px;
}

.freelance-logo--trust {
    width: auto;
    height: 52px;
    max-width: 200px;
    margin-bottom: 4px;
}

.freelance-logo--chip {
    width: auto;
    height: 26px;
    max-width: 88px;
}

.activity-badge {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
    padding: 8px 12px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid var(--green-100);
    color: var(--green-900);
    font-size: 0.84rem;
    line-height: 1.5;
    max-width: min(100%, 42rem);
}

.activity-badge strong { font-weight: 700; }

.activity-code,
.verify-code {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 6px;
    background: var(--green-50);
    color: var(--green-700);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    direction: ltr;
    unicode-bidi: isolate;
}

.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    border-radius: 10px;
    border: 1px solid transparent;
    font-weight: 600;
    font-size: 0.9rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #0f766e, #042f2e);
    color: #fff;
    box-shadow: 0 8px 20px rgba(4, 47, 46, 0.2);
}

.btn-secondary {
    background: #fff;
    color: var(--green-900);
    border-color: var(--green-100);
}

.btn:hover { transform: translateY(-1px); }

.quick-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    margin-top: 28px;
}

a.card {
    color: var(--text);
    display: block;
}

a.card:hover {
    color: var(--green-900);
}

.card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.card:hover {
    border-color: var(--green-100);
    transform: translateY(-2px);
}

.card h3 { font-size: 1rem; margin-bottom: 6px; color: var(--green-900); }
.card p { font-size: 0.9rem; color: var(--text-muted); }

.section-title {
    font-size: clamp(1.3rem, 3vw, 1.7rem);
    margin-bottom: 8px;
    color: var(--green-800);
}

.section-desc { color: var(--text-muted); margin-bottom: 18px; }

.site-footer {
    margin-top: 40px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.88rem;
}

.site-footer__meta {
    color: var(--text-muted);
    font-size: 0.88rem;
}

.site-footer a { color: var(--green-800); }

.site-footer__business {
    width: 100%;
    margin-bottom: 14px;
    padding: 12px 14px;
    border-radius: 10px;
    background: var(--green-50);
    border: 1px solid var(--border);
    font-size: 0.86rem;
    line-height: 1.55;
    color: var(--text-muted);
    text-align: center;
}

.site-footer__business p { margin: 0 0 6px; }
.site-footer__business p:last-child { margin-bottom: 0; }

.business-contact-card {
    margin: 24px 0;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: #fff;
}

.business-contact-card h2 {
    font-size: 1.1rem;
    color: var(--green-900);
    margin-bottom: 12px;
}

.business-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.business-contact-list li {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: baseline;
}

.business-contact-list strong {
    min-width: 7rem;
    color: var(--green-900);
}

.section-heading { margin-bottom: 20px; }
.section-heading h1,
.section-heading h2 {
    font-size: clamp(1.3rem, 3vw, 1.7rem);
    color: var(--green-900);
    margin-bottom: 6px;
}
.section-heading p { color: var(--text-muted); }

.services-grid,
.steps-grid,
.faq-grid {
    display: grid;
    gap: 14px;
}

@media (min-width: 700px) {
    .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 980px) {
    .services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .steps-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.service-card,
.step-card,
.faq-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: var(--shadow);
}

.service-card h3,
.step-card h3,
.faq-item h3 { font-size: 1rem; color: var(--green-900); margin-bottom: 6px; }
.service-card p,
.step-card p,
.faq-item p { font-size: 0.9rem; color: var(--text-muted); }

.step-card strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--green-50);
    color: var(--green-700);
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.contact-cta {
    text-align: center;
    padding: 28px 20px;
    border-radius: var(--radius);
    background: #ffffff;
    border: 1px solid var(--green-100);
}

.contact-cta h1,
.contact-cta h2 { color: var(--green-900); margin-bottom: 8px; }
.contact-cta p { color: var(--text-muted); margin-bottom: 16px; }

.page-intro { margin-bottom: 24px; }

/* ——— الملكية الفكرية والثقة ——— */
.trust-section {
    margin-top: 32px;
    padding: clamp(20px, 4vw, 28px);
    border: 1px solid var(--green-100);
    border-radius: var(--radius);
    background: linear-gradient(180deg, var(--green-50) 0%, #fff 42%);
}

.trust-section__eyebrow {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--green-700);
    margin-bottom: 6px;
}

.trust-section__head { margin-bottom: 18px; }

.trust-section__head h2 {
    font-size: clamp(1.15rem, 3.2vw, 1.5rem);
    margin-bottom: 8px;
}

.trust-section__lead {
    color: var(--text-muted);
    font-size: 0.92rem;
    max-width: 62ch;
}

.trust-grid {
    list-style: none;
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
}

@media (min-width: 720px) {
    .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1100px) {
    .trust-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.trust-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px;
    box-shadow: var(--shadow);
    display: grid;
    gap: 10px;
    align-content: start;
}

.trust-card__icon {
    width: 48px;
    height: 48px;
}

.trust-card h3 {
    font-size: 0.98rem;
    color: var(--green-900);
}

.trust-card p {
    font-size: 0.86rem;
    color: var(--text-muted);
    line-height: 1.65;
}

.trust-card a { font-weight: 600; }

.trust-note {
    margin-top: 14px;
    font-size: 0.82rem;
    color: var(--text-muted);
    text-align: center;
}

.trust-bar {
    display: grid;
    gap: 8px;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}

@media (min-width: 640px) {
    .trust-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
    .trust-bar { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.trust-bar__chip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 10px;
    background: var(--green-50);
    border: 1px solid var(--green-100);
    font-size: 0.78rem;
    color: var(--green-900);
    line-height: 1.45;
}

.trust-bar__chip img,
.trust-bar__chip .freelance-logo {
    flex-shrink: 0;
}

.site-footer {
    flex-direction: column;
    align-items: stretch;
}

.site-footer__legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 14px;
    width: 100%;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
    font-size: 0.82rem;
    font-weight: 600;
}
.site-footer__legal a {
    color: var(--green-800);
}
.site-footer__legal a[aria-current="page"] {
    color: var(--green-900);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.site-footer__meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
}

.legal-page h1 {
    margin-bottom: 8px;
}
.legal-updated {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 20px;
}
.legal-section {
    margin-bottom: 22px;
}
.legal-section h2 {
    font-size: 1.05rem;
    margin-bottom: 8px;
}
.legal-list {
    padding-right: 1.2rem;
    margin: 8px 0;
}
.legal-list li {
    margin-bottom: 6px;
}
.legal-list--ordered {
    list-style: decimal;
}
.legal-disclaimer {
    margin-top: 28px;
    padding: 12px 14px;
    border-radius: var(--radius);
    background: var(--green-50);
    border: 1px solid var(--green-100);
    font-size: 0.84rem;
    color: var(--text-muted);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
}
.pricing-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    background: #fff;
    box-shadow: var(--shadow);
    position: relative;
}
.pricing-card--featured {
    border-color: var(--green-600);
    box-shadow: 0 12px 28px rgba(13, 148, 136, 0.12);
}
.pricing-card__tag {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 0.68rem;
    font-weight: 700;
    background: var(--green-600);
    color: #fff;
    padding: 3px 8px;
    border-radius: 999px;
}
.pricing-card h2 {
    font-size: 1.05rem;
    margin-bottom: 8px;
    padding-top: 4px;
}
.pricing-card__price {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--green-900);
}
.pricing-card__list {
    margin-top: 10px;
    padding-right: 1.1rem;
    font-size: 0.88rem;
    color: var(--text-muted);
}
.pricing-card__list li {
    margin-bottom: 4px;
}

.ip-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding: 8px 10px;
    border-radius: 10px;
    background: var(--green-50);
    border: 1px solid var(--green-100);
    font-size: 0.78rem;
    color: var(--green-900);
    line-height: 1.45;
}

.ip-badge img { flex-shrink: 0; }

/* ── بادجات الدومين للمشاريع الدولية ── */
.project-domain-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0 4px;
}

.domain-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    border: 1.5px solid transparent;
}

.domain-badge--us {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1d4ed8;
}

.domain-badge--jp {
    background: #fff1f2;
    border-color: #fecdd3;
    color: #be123c;
}

.domain-badge--links {
    background: #fefce8;
    border-color: #fde68a;
    color: #92400e;
}

/* ——— ترتيب الجوال ——— */
@media (max-width: 859px) {
    .hero-home {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-logo-stage {
        order: -1;
    }

    .hero-logo {
        width: clamp(140px, 38vw, 220px);
    }

    .hero-copy .badge,
    .hero-copy .lead,
    .hero-copy .activity-badge {
        margin-inline: auto;
    }

    .hero-copy .actions {
        justify-content: center;
    }

    .quick-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

.pay-trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    padding: 12px 14px;
    margin-bottom: 16px;
    border-radius: var(--radius);
    background: var(--green-50);
    border: 1px solid var(--green-100);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--green-900);
}
.pay-layout {
    align-items: start;
}
.pay-plan-picker {
    display: grid;
    gap: 8px;
}
.pay-plan-option {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    background: #fff;
}
.pay-plan-option:has(input:checked) {
    border-color: var(--green-600);
    background: var(--green-50);
}
.pay-plan-option input {
    margin-top: 4px;
}
.pay-plan-option__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.pay-plan-option__desc {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin-top: 4px;
}
.pay-plan-group {
    border: none;
    margin: 0 0 14px;
    padding: 0;
    display: grid;
    gap: 8px;
}
.pay-plan-group legend {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--green-900);
    margin-bottom: 6px;
    padding: 0;
}
.pay-gateway {
    margin-top: 16px;
}
.pay-gateway-hint {
    font-size: 0.85rem;
    margin: 0 0 12px;
    line-height: 1.5;
}
.pay-gateway #moyasar-mount,
.pay-gateway .mysr-form-moyasarForm,
.pay-gateway--checkout .mysr-form,
.pay-gateway--checkout .mysr-form-moyasarForm {
    overflow: visible;
    max-height: none;
    min-height: 120px;
    width: 100%;
}
.pay-gateway--checkout {
    margin-top: 12px;
}
/* —— مساعد المنصة —— */
.assistant-root {
    position: fixed;
    z-index: 1200;
    inset-inline-end: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    font-size: 0.92rem;
}
.assistant-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    border-radius: 999px;
    padding: 10px 16px;
    background: linear-gradient(135deg, var(--green-700), var(--green-900));
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    box-shadow: var(--shadow);
}
.assistant-toggle:focus-visible {
    outline: 2px solid var(--green-500);
    outline-offset: 2px;
}
.assistant-panel {
    position: absolute;
    inset-inline-end: 0;
    bottom: calc(100% + 10px);
    width: min(360px, calc(100vw - 24px));
    max-height: min(70vh, 520px);
    display: flex;
    flex-direction: column;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: #fff;
    box-shadow: 0 16px 40px rgba(4, 47, 46, 0.15);
    overflow: hidden;
}
.assistant-panel__head {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    padding: 12px 14px;
    background: var(--green-50);
    border-bottom: 1px solid var(--border);
}
.assistant-panel__head .muted {
    font-size: 0.78rem;
    margin-top: 2px;
}
.assistant-close {
    border: none;
    background: transparent;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    color: var(--green-900);
    padding: 0 4px;
}
.assistant-log {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #fafdfc;
}
.assistant-msg {
    max-width: 92%;
    padding: 8px 10px;
    border-radius: 12px;
    line-height: 1.55;
}
.assistant-msg--bot {
    align-self: flex-start;
    background: #fff;
    border: 1px solid var(--border);
}
.assistant-msg--user {
    align-self: flex-end;
    background: var(--green-100);
    color: var(--green-900);
}
.assistant-msg__links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}
.assistant-link-chip {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--green-50);
    border: 1px solid var(--border);
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
}
.assistant-quick-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 8px 10px;
    border-top: 1px solid var(--border);
    background: #fff;
}
.assistant-quick {
    border: 1px solid var(--border);
    background: #fff;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 0.72rem;
    cursor: pointer;
    color: var(--green-800);
}
.assistant-form {
    display: flex;
    gap: 6px;
    padding: 10px;
    border-top: 1px solid var(--border);
    background: #fff;
}
.assistant-input {
    flex: 1;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 8px 10px;
    font: inherit;
}
.assistant-send {
    border: none;
    border-radius: 10px;
    padding: 8px 12px;
    background: var(--green-700);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.commerce-banner {
    margin: 24px 0;
    padding: 18px 20px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: linear-gradient(135deg, #f0fdfa 0%, #fff 60%);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.commerce-banner p {
    margin: 0;
    max-width: 52ch;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .badge-dot, .hero-logo { animation: none; }
    .btn, .card { transition: none; }
}
