:root {
    --ink: #17202e;
    --muted: #647084;
    --line: #dde5ed;
    --brand: #0d8b77;
    --brand-dark: #076557;
    --accent: #e8563f;
    --gold: #f1b84b;
    --blue: #2f6fed;
    --soft: #f4f7fa;
    --panel: #ffffff;
    --shadow: 0 24px 80px rgba(23, 32, 46, .14);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at 10% 0%, rgba(13, 139, 119, .08), transparent 30%),
        linear-gradient(180deg, #fbfcfd 0%, #fff 42%);
}

h1,
h2,
h3,
.brand,
.button {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

.site-header,
.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: 1180px;
    margin: 0 auto;
    padding: 22px 24px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, .92);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
}

.site-nav a:not(.button):hover {
    color: var(--ink);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.05rem;
}

.brand-mark {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    color: white;
    background: var(--brand);
    border-radius: 8px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    color: var(--muted);
    font-weight: 650;
}

.language-switcher {
    display: inline-flex;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
}

.language-switcher a {
    padding: 6px 9px;
    font-size: .78rem;
}

.language-switcher .active {
    color: white;
    background: var(--ink);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 16px;
    color: white;
    background: var(--brand);
    border: 0;
    border-radius: 8px;
    font-weight: 800;
    cursor: pointer;
    transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.button:hover {
    background: var(--brand-dark);
    box-shadow: 0 10px 24px rgba(13, 139, 119, .22);
    transform: translateY(-1px);
}

.button.secondary,
.button.ghost {
    color: var(--ink);
    background: #eef3f6;
}

.button.large {
    min-height: 50px;
    padding: 13px 20px;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
    gap: 54px;
    align-items: center;
    max-width: 1180px;
    margin: 0 auto;
    min-height: 720px;
    padding: 86px 24px 42px;
}

.hero h1,
.page-hero h1 {
    max-width: 720px;
    margin: 0;
    font-size: clamp(2.5rem, 6vw, 5.6rem);
    line-height: .95;
    letter-spacing: 0;
}

.hero-copy {
    animation: fadeUp .7s ease both;
}

.lead,
.page-hero p {
    max-width: 660px;
    color: var(--muted);
    font-size: 1.2rem;
    line-height: 1.7;
}

.eyebrow {
    color: var(--brand-dark);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.hero-proof span,
.logo-cloud span {
    padding: 9px 12px;
    color: var(--muted);
    background: rgba(255, 255, 255, .75);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: .9rem;
    font-weight: 750;
}

.product-panel {
    overflow: hidden;
    min-height: 420px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.animated-panel {
    animation: panelFloat 6s ease-in-out infinite, fadeUp .7s ease .12s both;
}

.panel-top {
    display: flex;
    gap: 7px;
    padding: 14px;
    border-bottom: 1px solid var(--line);
}

.panel-top span {
    width: 10px;
    height: 10px;
    background: var(--line);
    border-radius: 50%;
}

.inbox-layout {
    display: grid;
    grid-template-columns: 150px 1fr;
    min-height: 370px;
}

.inbox-layout aside {
    padding: 18px;
    background: var(--soft);
    border-right: 1px solid var(--line);
}

.inbox-layout aside p {
    margin: 14px 0;
    padding: 10px;
    color: var(--muted);
    border-radius: 7px;
}

.inbox-layout aside .active {
    color: var(--ink);
    background: white;
}

.inbox-layout article {
    padding: 24px;
}

.conversation-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
}

.conversation-meta span {
    color: var(--muted);
    font-size: .86rem;
}

.message {
    max-width: 290px;
    margin: 0 0 16px;
    padding: 14px;
    border-radius: 8px;
    animation: messageIn .45s ease both;
}

.inbound {
    background: #edf5ff;
}

.outbound {
    margin-left: auto;
    color: white;
    background: var(--brand);
    animation-delay: .3s;
}

.message.delayed {
    animation-delay: .7s;
}

.reply-box {
    margin-top: 110px;
    padding: 15px;
    color: var(--muted);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.metrics,
.content-band,
.seo-section,
.page-hero,
.pricing-grid,
.auth-shell,
.dashboard,
.workflow-band,
.operator-band,
.story-grid,
.testimonial-band,
.contact-layout,
.logo-cloud,
.admin-page,
.final-cta,
.image-band,
.news-grid,
.legal-page,
.seo-copy {
    max-width: 1180px;
    margin: 0 auto;
    padding: 48px 24px;
}

.metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.metrics div {
    transform: translateY(18px);
    animation: fadeUp .6s ease both;
}

.metrics div:nth-child(2) {
    animation-delay: .12s;
}

.metrics div:nth-child(3) {
    animation-delay: .24s;
}

.metrics div,
.feature-grid article,
.price-card,
.auth-card,
.dashboard-grid article {
    padding: 24px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.metrics strong,
.price-card strong,
.dashboard-grid strong {
    display: block;
    font-size: 2rem;
}

.metrics span,
.feature-grid p,
.seo-section p,
.price-card li,
.dashboard p,
.empty-state {
    color: var(--muted);
    line-height: 1.65;
}

.content-band h2,
.seo-section h2 {
    font-size: 2.3rem;
    margin-top: 0;
}

.feature-grid,
.pricing-grid,
.dashboard-grid,
.story-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.feature-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-grid article,
.price-card,
.story-grid article {
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.feature-grid article:hover,
.price-card:hover,
.story-grid article:hover {
    border-color: rgba(13, 139, 119, .32);
    box-shadow: 0 18px 50px rgba(23, 32, 46, .09);
    transform: translateY(-3px);
}

.seo-section {
    margin-bottom: 36px;
    background: var(--soft);
    border-radius: 8px;
}

.workflow-band {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 34px;
    align-items: start;
}

.workflow-band h2,
.operator-band h2,
.final-cta h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.02;
}

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

.workflow-list li {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 10px 16px;
    padding: 18px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.workflow-list span {
    grid-row: span 2;
    color: var(--brand);
    font-weight: 900;
}

.workflow-list strong {
    font-size: 1.08rem;
}

.workflow-list p {
    margin: 0;
    color: var(--muted);
}

.operator-band {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 34px;
    align-items: center;
    background: #17202e;
    color: white;
    border-radius: 8px;
}

.image-band {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 34px;
    align-items: center;
}

.image-band.reverse {
    grid-template-columns: .95fr 1.05fr;
}

.image-band.reverse img {
    order: 2;
}

.image-band img,
.media-hero img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.image-band h2,
.seo-copy h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.05;
}

.image-band p,
.seo-copy p,
.legal-page p {
    color: var(--muted);
    line-height: 1.75;
}

.media-hero {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 34px;
    align-items: center;
}

.features-hero img {
    transform: rotate(.4deg);
}

.features-hero .pricing-notes span {
    background: white;
}

.seo-copy {
    background: #fff;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.security-detail,
.security-checklist {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 34px;
    align-items: start;
    max-width: 1180px;
    margin: 0 auto;
    padding: 48px 24px;
}

.security-detail h2,
.security-checklist h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.05;
}

.security-detail p {
    color: var(--muted);
    line-height: 1.7;
}

.security-control-list {
    display: grid;
    gap: 14px;
}

.security-control-list article {
    padding: 22px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.security-control-list h3 {
    margin: 0 0 8px;
}

.security-checklist {
    background: #17202e;
    color: white;
    border-radius: 8px;
}

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

.security-checklist li {
    position: relative;
    padding: 14px 14px 14px 42px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 8px;
}

.security-checklist li::before {
    content: "";
    position: absolute;
    left: 16px;
    top: 19px;
    width: 10px;
    height: 10px;
    background: var(--brand);
    border-radius: 50%;
}

.operator-copy p:not(.eyebrow) {
    color: rgba(255, 255, 255, .72);
    line-height: 1.7;
}

.agent-console {
    display: grid;
    gap: 12px;
}

.agent-console div {
    display: grid;
    grid-template-columns: 14px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 16px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 8px;
}

.agent-console small {
    color: rgba(255, 255, 255, .62);
}

.status-dot {
    width: 10px;
    height: 10px;
    background: var(--brand);
    border-radius: 50%;
    box-shadow: 0 0 0 6px rgba(13, 139, 119, .18);
}

.status-dot.amber {
    background: var(--gold);
    box-shadow: 0 0 0 6px rgba(241, 184, 75, .18);
}

.status-dot.blue {
    background: var(--blue);
    box-shadow: 0 0 0 6px rgba(47, 111, 237, .18);
}

.logo-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.story-grid article {
    padding: 28px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.story-grid span {
    color: var(--brand);
    font-weight: 850;
}

.testimonial-band,
.final-cta {
    text-align: center;
    background: var(--soft);
    border-radius: 8px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.news-card {
    overflow: hidden;
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    transition: transform .18s ease, box-shadow .18s ease;
}

.news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 50px rgba(23, 32, 46, .1);
}

.news-card img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.news-card div {
    padding: 18px;
}

.news-card time {
    color: var(--brand);
    font-size: .86rem;
    font-weight: 850;
}

.news-card h2 {
    margin: 8px 0;
    font-size: 1.15rem;
    line-height: 1.25;
}

.news-card p {
    color: var(--muted);
    line-height: 1.6;
}

.news-card a {
    color: var(--brand-dark);
    font-weight: 850;
}

.legal-page {
    max-width: 880px;
}

.legal-page h1 {
    margin: 0;
    font-size: clamp(2.4rem, 5vw, 4.4rem);
    line-height: 1;
}

.legal-intro {
    font-size: 1.18rem;
}

.legal-page article {
    padding: 22px 0;
    border-top: 1px solid var(--line);
}

.legal-page h2 {
    margin: 0 0 8px;
}

.testimonial-band blockquote {
    max-width: 820px;
    margin: 0 auto 12px;
    font-size: clamp(1.6rem, 3vw, 2.5rem);
    line-height: 1.18;
}

.final-cta {
    display: grid;
    place-items: center;
    gap: 18px;
    margin-bottom: 32px;
}

.split-band,
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 34px;
    align-items: start;
}

.mini-panel,
.contact-card {
    padding: 24px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 18px 50px rgba(23, 32, 46, .08);
}

.mini-panel span {
    color: var(--brand);
    font-weight: 850;
}

.mini-panel strong,
.contact-card strong {
    display: block;
    margin: 8px 0;
    font-size: 1.5rem;
}

.contact-layout h1 {
    margin: 0;
    font-size: clamp(2.4rem, 5vw, 4.8rem);
    line-height: 1;
}

.contact-layout p,
.mini-panel p,
.price-card p {
    color: var(--muted);
    line-height: 1.65;
}

.page-hero.compact h1 {
    font-size: clamp(2.4rem, 5vw, 4.3rem);
}

.pricing-hero {
    display: grid;
    place-items: start;
    gap: 12px;
}

.pricing-notes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.pricing-notes span,
.plan-badge {
    display: inline-flex;
    width: fit-content;
    padding: 8px 11px;
    color: var(--brand-dark);
    background: #e8f7f3;
    border: 1px solid rgba(13, 139, 119, .18);
    border-radius: 999px;
    font-size: .84rem;
    font-weight: 850;
}

.pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
}

.price-card {
    display: grid;
    align-content: start;
    gap: 14px;
    position: relative;
}

.price-card.featured {
    color: white;
    background: linear-gradient(145deg, rgba(13, 139, 119, .96), rgba(23, 32, 46, .98));
    border-color: rgba(13, 139, 119, .6);
    box-shadow: 0 24px 80px rgba(13, 139, 119, .22);
}

.price-card.featured .plan-badge {
    color: #17202e;
    background: var(--gold);
    border-color: transparent;
}

.price-card.featured p,
.price-card.featured li,
.price-card.featured span {
    color: rgba(255, 255, 255, .78);
}

.price-card h2 {
    margin: 0;
    font-size: 1.7rem;
}

.price-card ul {
    display: grid;
    gap: 10px;
    min-height: 150px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.price-card li {
    position: relative;
    padding-left: 26px;
}

.price-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .55em;
    width: 10px;
    height: 10px;
    background: var(--brand);
    border-radius: 50%;
}

.price-card.featured li::before {
    background: var(--gold);
}

.price-card span {
    color: var(--muted);
    font-size: 1rem;
}

.pricing-included,
.comparison-section,
.pricing-faq {
    display: grid;
    gap: 24px;
    max-width: 1180px;
    margin: 0 auto;
    padding: 48px 24px;
}

.pricing-included > div:first-child,
.comparison-section > div:first-child,
.pricing-faq > div:first-child {
    max-width: 720px;
}

.pricing-included h2,
.comparison-section h2,
.pricing-faq h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.05;
}

.comparison-section {
    grid-template-columns: .75fr 1.25fr;
    align-items: start;
}

.comparison-table-wrap {
    overflow-x: auto;
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 18px 50px rgba(23, 32, 46, .08);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
    padding: 15px 16px;
    text-align: left;
    border-bottom: 1px solid var(--line);
}

.comparison-table th {
    color: var(--muted);
    font-size: .82rem;
    text-transform: uppercase;
}

.comparison-table td:last-child {
    color: var(--brand-dark);
    font-weight: 850;
}

.pricing-faq {
    grid-template-columns: .7fr 1.3fr;
}

.faq-list {
    display: grid;
    gap: 14px;
}

.faq-list article {
    padding: 22px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.faq-list h3 {
    margin: 0 0 8px;
}

.faq-list p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.auth-shell {
    display: grid;
    place-items: center;
    min-height: 68vh;
}

.auth-card {
    width: min(100%, 460px);
}

.auth-card label {
    display: grid;
    gap: 8px;
    margin: 16px 0;
    font-weight: 700;
}

input {
    width: 100%;
    min-height: 46px;
    padding: 12px;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 8px;
    font: inherit;
}

textarea {
    width: 100%;
    padding: 12px;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 8px;
    font: inherit;
    resize: vertical;
}

.alert {
    padding: 12px;
    color: #8f1f14;
    background: #fff0ed;
    border: 1px solid #ffd0c8;
    border-radius: 8px;
}

.success {
    padding: 12px;
    color: #075f45;
    background: #eafaf3;
    border: 1px solid #bcebd7;
    border-radius: 8px;
}

.site-footer {
    border-top: 1px solid var(--line);
}

.site-footer p {
    margin: 6px 0 0;
    color: var(--muted);
}

.footer-links {
    display: flex;
    gap: 16px;
    color: var(--muted);
}

.chat-launcher {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 30;
    width: 58px;
    height: 58px;
    color: white;
    background: var(--accent);
    border: 0;
    border-radius: 50%;
    font-size: 1.35rem;
    font-weight: 900;
    box-shadow: 0 12px 30px rgba(233, 87, 63, .35);
    cursor: pointer;
    transition: transform .2s ease;
    animation: launcherPulse 2.8s ease-in-out infinite;
}

.chat-launcher:hover {
    transform: translateY(-2px) scale(1.03);
}

.chat-launcher-dot {
    position: absolute;
    top: 7px;
    right: 7px;
    width: 12px;
    height: 12px;
    background: #2de28a;
    border: 2px solid white;
    border-radius: 50%;
}

.chat-launcher-icon {
    display: block;
    transform: translateY(1px);
}

.chat-demo {
    position: fixed;
    right: 22px;
    bottom: 92px;
    z-index: 31;
    width: min(360px, calc(100vw - 32px));
    overflow: hidden;
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    animation: widgetIn .24s ease both;
}

.chat-head,
.chat-form {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px;
    border-bottom: 1px solid var(--line);
}

.chat-head {
    justify-content: flex-start;
    background: #17202e;
    color: white;
}

.chat-head small {
    display: block;
    color: rgba(255, 255, 255, .7);
    font-size: .8rem;
}

.chat-avatar {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    background: var(--brand);
    border-radius: 8px;
    font-weight: 900;
}

.chat-close {
    margin-left: auto;
    color: white;
    border: 0;
    background: transparent;
    font-size: 1.4rem;
    cursor: pointer;
}

.chat-messages {
    min-height: 210px;
    padding: 16px;
    background: var(--soft);
}

.chat-messages p {
    margin: 0;
    padding: 12px;
    background: white;
    border-radius: 8px;
}

.chat-messages .visitor-message {
    width: fit-content;
    max-width: 82%;
    margin: 12px 0 0 auto;
    color: white;
    background: var(--brand);
}

.chat-messages span {
    display: block;
    margin-bottom: 4px;
    font-weight: 800;
}

.chat-form {
    border-bottom: 0;
}

.quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.quick-replies button {
    padding: 8px 10px;
    color: var(--brand-dark);
    background: white;
    border: 1px solid rgba(13, 139, 119, .22);
    border-radius: 999px;
    cursor: pointer;
}

.chat-form button {
    min-height: 46px;
    padding: 0 14px;
    color: white;
    background: var(--brand);
    border: 0;
    border-radius: 8px;
}

.nav-toggle {
    display: none;
}

.admin-page {
    max-width: 1080px;
}

.admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
}

.admin-header h1 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.5rem);
}

.admin-table-wrap {
    overflow-x: auto;
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--line);
}

.admin-table th {
    color: var(--muted);
    font-size: .82rem;
    text-transform: uppercase;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes messageIn {
    from {
        opacity: 0;
        transform: translateY(10px) scale(.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes widgetIn {
    from {
        opacity: 0;
        transform: translateY(14px) scale(.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes launcherPulse {
    0%, 100% {
        box-shadow: 0 12px 30px rgba(233, 87, 63, .35);
    }
    50% {
        box-shadow: 0 12px 42px rgba(233, 87, 63, .55);
    }
}

@media (max-width: 900px) {
    .hero,
    .metrics,
    .feature-grid,
    .pricing-grid,
    .dashboard-grid,
    .workflow-band,
    .operator-band,
    .story-grid,
    .split-band,
    .contact-layout,
    .image-band,
    .image-band.reverse,
    .media-hero,
    .news-grid,
    .security-detail,
    .security-checklist,
    .comparison-section,
    .pricing-faq {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 44px;
    }

    .product-panel {
        min-height: 340px;
    }

    .operator-band {
        border-radius: 0;
    }

    .image-band.reverse img {
        order: 0;
    }

    .site-header {
        align-items: flex-start;
    }

    .nav-toggle {
        display: grid;
        gap: 4px;
        width: 42px;
        height: 42px;
        padding: 10px;
        background: white;
        border: 1px solid var(--line);
        border-radius: 8px;
    }

    .nav-toggle span {
        height: 2px;
        background: var(--ink);
    }

    .site-nav {
        display: none;
        position: absolute;
        top: 78px;
        right: 24px;
        left: 24px;
        flex-direction: column;
        align-items: stretch;
        padding: 18px;
        background: white;
        border: 1px solid var(--line);
        border-radius: 8px;
    }

    .site-nav.open {
        display: flex;
    }

    .footer-links,
    .site-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Real-time chat widget (visitor) */

.chat-launcher.has-unread::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 6px;
    width: 10px;
    height: 10px;
    background: var(--gold);
    border: 2px solid white;
    border-radius: 50%;
}

.chat-messages {
    max-height: 340px;
    overflow-y: auto;
}

.chat-messages .ai-message {
    border-left: 3px solid var(--blue);
}

.chat-messages .system-message {
    color: var(--muted);
    font-style: italic;
    background: transparent;
}

.chat-typing {
    margin: 0;
    padding: 0 16px 10px;
    color: var(--muted);
    font-size: .82rem;
    font-style: italic;
    background: var(--soft);
}

/* Webmaster inbox app */

.inbox-app {
    max-width: 1180px;
    margin: 0 auto;
    padding: 32px 24px 64px;
}

.inbox-app-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.inbox-status {
    color: var(--muted);
    font-size: .86rem;
}

.inbox-app-body {
    position: relative;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 20px;
    min-height: 520px;
}

.inbox-conversation-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.inbox-conversation-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 10px;
    text-align: left;
    background: transparent;
    border: 0;
    border-radius: 7px;
    cursor: pointer;
}

.inbox-conversation-item:hover {
    background: var(--soft);
}

.inbox-conversation-item.active {
    background: var(--soft);
    box-shadow: inset 3px 0 0 var(--brand);
}

.inbox-conversation-item.unread strong::after {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-left: 8px;
    background: var(--accent);
    border-radius: 50%;
}

.inbox-conversation-item small {
    max-width: 100%;
    overflow: hidden;
    color: var(--muted);
    white-space: nowrap;
    text-overflow: ellipsis;
}

.inbox-conversation-status {
    color: var(--muted);
    font-size: .76rem;
    text-transform: capitalize;
}

.inbox-conversation {
    display: flex;
    flex-direction: column;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.inbox-actions {
    display: flex;
    gap: 8px;
}

.inbox-thread {
    flex: 1;
    min-height: 320px;
    max-height: 55vh;
    padding: 20px;
    overflow-y: auto;
}

.inbox-typing {
    margin: 0;
    padding: 0 20px 8px;
    color: var(--muted);
    font-size: .82rem;
    font-style: italic;
}

.inbox-reply {
    border-top: 1px solid var(--line);
    border-bottom: 0;
}

.inbox-placeholder {
    grid-column: 2;
    align-self: center;
    justify-self: center;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

@media (max-width: 560px) {
    .hero h1,
    .page-hero h1 {
        font-size: 2.45rem;
    }

    .inbox-layout {
        grid-template-columns: 1fr;
    }

    .inbox-layout aside {
        display: none;
    }

    .inbox-app-body {
        grid-template-columns: 1fr;
    }

    .inbox-placeholder {
        grid-column: 1;
    }
}
