/* Scoped trial chat. Override these custom properties to match the host brand. */
.wth-chat { --wth-chat-accent: var(--dark, #17201c); --wth-chat-ink: var(--ink, #151916); --wth-chat-muted: var(--muted, #5f645f); --wth-chat-surface: #fff; --wth-chat-line: var(--line, #dfe2dc); box-sizing: border-box; width: min(1120px, calc(100% - 40px)); margin: 48px auto; padding: clamp(20px, 4vw, 40px); border: 1px solid var(--wth-chat-line); border-radius: 2px; background: var(--wth-chat-surface); color: var(--wth-chat-ink); font-family: inherit; line-height: 1.6; text-align: left; }
.wth-chat *, .wth-chat *::before, .wth-chat *::after { box-sizing: border-box; }
.wth-chat [hidden] { display: none !important; }
.wth-chat__eyebrow { margin: 0 0 8px; color: #31531f; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.wth-chat h2 { margin: 0 0 12px; color: inherit; font-size: clamp(1.7rem, 4vw, 2.4rem); line-height: 1.18; letter-spacing: -.025em; }
.wth-chat__intro { margin: 0; max-width: 56ch; color: var(--wth-chat-muted); }
.wth-chat__quota { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; margin: 24px 0 16px; color: var(--wth-chat-muted); font-size: .82rem; }
.wth-chat__remaining { display: inline-flex; padding: 4px 12px; border: 1px solid var(--wth-chat-line); border-radius: 99px; color: var(--wth-chat-ink); font-variant-numeric: tabular-nums; }
.wth-chat__transcript { display: flex; flex-direction: column; gap: 16px; min-height: 160px; max-height: 480px; overflow-y: auto; overscroll-behavior: contain; padding: 20px 0; border-top: 1px solid var(--wth-chat-line); border-bottom: 1px solid var(--wth-chat-line); scrollbar-gutter: stable; }
.wth-chat__empty { margin: auto 0; padding: 24px 0; color: var(--wth-chat-muted); }
.wth-chat__message { max-width: 92%; padding: 14px 18px; border: 1px solid var(--wth-chat-line); border-radius: 18px; overflow-wrap: anywhere; }
.wth-chat__message--user { align-self: flex-end; background: #edf4e2; border-bottom-right-radius: 4px; }
.wth-chat__message--assistant { align-self: flex-start; background: #f5f7f4; border-bottom-left-radius: 4px; }
.wth-chat__speaker { display: block; margin: 0 0 5px; color: var(--wth-chat-muted); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.wth-chat__text { margin: 0; white-space: pre-wrap; }
.wth-chat__model { margin: 10px 0 0; color: var(--wth-chat-muted); font-size: .72rem; }
.wth-chat__sources { margin: 12px 0 0; padding-left: 18px; font-size: .85rem; }
.wth-chat__sources a { color: #31531f; text-decoration: underline; text-underline-offset: 3px; }
.wth-chat__sources a:hover { color: #17201c; }
.wth-chat__form { padding-top: 20px; }
.wth-chat__form label { display: block; margin: 0 0 8px; color: var(--wth-chat-ink); font-size: .86rem; font-weight: 600; }
.wth-chat textarea { display: block; width: 100%; min-height: 100px; max-height: 240px; resize: vertical; border: 1px solid var(--wth-chat-line); border-radius: 14px; padding: 14px 16px; background: #f7f8fa; color: var(--wth-chat-ink); font: inherit; line-height: 1.5; }
.wth-chat textarea::placeholder { color: #656c63; opacity: 1; }
.wth-chat__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.wth-chat__help { margin: 0; color: var(--wth-chat-muted); font-size: .74rem; }
.wth-chat__buttons { display: flex; gap: 8px; }
.wth-chat button { min-height: 44px; border: 1px solid transparent; border-radius: 11px; padding: 10px 18px; font: inherit; font-size: .85rem; font-weight: 650; cursor: pointer; }
.wth-chat__send { background: var(--wth-chat-accent); color: #fff; }
.wth-chat__send span { margin-left: 8px; }
.wth-chat__cancel { border-color: var(--wth-chat-line) !important; background: transparent; color: var(--wth-chat-ink); }
.wth-chat button:disabled { opacity: .6; cursor: wait; }
.wth-chat :focus-visible { outline: 3px solid #477828; outline-offset: 4px; }
.wth-chat__status { min-height: 1.6em; margin: 12px 0 0; color: var(--wth-chat-muted); font-size: .82rem; }
.wth-chat__status[data-error="true"] { color: #9e2634; }
.wth-chat[data-loading="true"] .wth-chat__send { animation: wth-chat-pulse 1.4s ease-in-out infinite; }
@keyframes wth-chat-pulse { 50% { opacity: .65; } }
@media (max-width: 540px) { .wth-chat { margin: 24px auto; border-radius: 2px; } .wth-chat__message { max-width: 100%; } .wth-chat__actions { align-items: stretch; flex-direction: column; } .wth-chat__buttons { justify-content: flex-end; } .wth-chat__transcript { max-height: 55vh; } }
@media (prefers-reduced-motion: reduce) { .wth-chat[data-loading="true"] .wth-chat__send { animation: none; } .wth-chat * { scroll-behavior: auto !important; } }

.wth-chat__policy, .wth-chat__privacy { color: var(--wth-chat-muted); font-size: .78rem; line-height: 1.65; max-width: 88ch; }
.wth-chat__policy { margin: 16px 0 0; }
.wth-chat__privacy { margin: 20px 0 0; padding-top: 16px; border-top: 1px solid var(--wth-chat-line); }
.wth-chat__remaining { background: var(--lime, #d8f36a); }

/* Preserve the live public VPN companion branding alongside the trial. */
.vpn-companion { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px; align-items: center; margin-block: 48px; padding: 28px; border: 1px solid var(--line, #dfe2dc); background: #fff; }
.vpn-companion-mark img { display: block; width: 42px; height: 42px; object-fit: contain; }
.vpn-companion-copy .eyebrow { margin-bottom: 10px; }
.vpn-companion-copy h2 { font-size: clamp(24px, 3vw, 36px); letter-spacing: -.8px; }
.vpn-companion-copy h2 small { font-size: .5em; white-space: nowrap; }
.vpn-companion-copy p:last-child { margin-bottom: 0; color: var(--muted, #5f645f); line-height: 1.6; }
@media (max-width: 760px) { .vpn-companion { grid-template-columns: 1fr; padding: 22px; } .vpn-companion .button { justify-self: start; } }
