/* ===================== Chat assistant ===================== */
.wc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wc-launch { position: fixed; z-index: 70; right: 22px; bottom: 22px; width: 58px; height: 58px; display: grid; place-items: center; border: 0; border-radius: 50%; color: #fff; background: var(--grad); box-shadow: 0 14px 30px -10px rgba(110, 107, 247, .65), 0 2px 6px rgba(23, 21, 31, .18); cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s; -webkit-tap-highlight-color: transparent; }
.wc-launch svg { width: 26px; height: 26px; grid-area: 1 / 1; transition: opacity .2s, transform .25s var(--ease); }
.wc-launch-x { grid-area: 1 / 1; display: grid; place-items: center; opacity: 0; transform: rotate(-60deg) scale(.6); transition: opacity .2s, transform .25s var(--ease); }
.wc-launch-x svg { width: 22px; height: 22px; }
.wc-open .wc-launch > svg { opacity: 0; transform: rotate(60deg) scale(.6); }
.wc-open .wc-launch-x { opacity: 1; transform: none; }
.wc-launch:active { transform: scale(.95); }
.wc-launch:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.wc-panel { position: fixed; z-index: 69; right: 22px; bottom: 94px; width: min(390px, calc(100vw - 44px)); height: min(600px, calc(100dvh - 130px)); display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 26px; box-shadow: 0 30px 70px -20px rgba(23, 21, 31, .35), 0 2px 8px rgba(23, 21, 31, .08); overflow: hidden; opacity: 0; visibility: hidden; transform: translateY(14px) scale(.98); transform-origin: bottom right; transition: opacity .22s var(--ease), transform .26s var(--ease), visibility 0s .26s; font-family: var(--font); }
.wc-panel.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .22s var(--ease), transform .26s var(--ease), visibility 0s; }
.wc-head { display: flex; align-items: center; gap: 12px; padding: 16px 16px 14px 18px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #F7F6FF, #fff); }
.wc-avatar { width: 38px; height: 38px; flex: none; border-radius: 50%; background: var(--grad); position: relative; }
.wc-avatar::after { content: ""; position: absolute; inset: 9px 6px; background: url("/assets/img/logo-white-320.png") center / contain no-repeat; }
.wc-title { display: grid; gap: 1px; flex: 1; min-width: 0; }
.wc-title b { font-size: 15px; color: var(--ink); }
.wc-title small { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-3); }
.wc-title small i { width: 7px; height: 7px; border-radius: 50%; background: #2FBF71; }
.wc-close { width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--ink-2); cursor: pointer; }
.wc-close:hover { background: var(--bg); }
.wc-close svg { width: 20px; height: 20px; }
.wc-list { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 18px 16px 10px; display: flex; flex-direction: column; gap: 10px; background: var(--bg); }
.wc-msg { max-width: 86%; padding: 11px 14px; border-radius: 18px; font-size: 14.5px; line-height: 1.5; color: var(--ink); overflow-wrap: anywhere; }
.wc-msg a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 2px; }
.wc-msg--assistant { align-self: flex-start; background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.wc-msg--user { align-self: flex-end; color: #fff; background: var(--ink); border-bottom-right-radius: 6px; }
.wc-msg--user a { color: #fff; }
.wc-typing { display: flex; gap: 4px; padding: 14px 16px; }
.wc-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); opacity: .35; animation: wc-dot 1s infinite ease-in-out; }
.wc-typing i:nth-child(2) { animation-delay: .15s; } .wc-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes wc-dot { 40% { opacity: 1; transform: translateY(-3px); } }
.wc-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.wc-chip { padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font: 600 13px/1 var(--font); cursor: pointer; }
.wc-chip:hover { border-color: var(--accent); color: var(--accent-deep); }
.wc-handoff { display: grid; gap: 8px; padding: 14px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.wc-handoff b { font-size: 14px; }
.wc-handoff input, .wc-handoff textarea { width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--ink); font: 400 15px/1.4 var(--font); resize: none; }
.wc-handoff input:focus, .wc-handoff textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
.wc-handoff small { font-size: 12px; color: var(--ink-3); }
.wc-handoff small a { color: var(--accent-deep); }
.wc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.wc-handoff-btn { padding: 12px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font: 700 14px/1 var(--font); cursor: pointer; }
.wc-handoff-btn:disabled { opacity: .6; }
.wc-form { display: flex; align-items: flex-end; gap: 8px; padding: 12px 12px 8px 16px; border-top: 1px solid var(--line); background: var(--surface); }
.wc-form textarea { flex: 1; min-height: 42px; max-height: 120px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); color: var(--ink); font: 400 15px/1.4 var(--font); resize: none; }
.wc-form textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
.wc-send { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--grad); color: #fff; cursor: pointer; }
.wc-send:disabled { opacity: .5; }
.wc-send svg { width: 20px; height: 20px; }
.wc-note { margin: 0; padding: 0 16px 12px; background: var(--surface); font-size: 11px; line-height: 1.4; color: var(--ink-3); }
@media (max-width: 700px) {
  .wc-launch { right: 16px; bottom: 16px; width: 54px; height: 54px; }
  .wc-panel { left: 0; right: 0; bottom: 0; width: 100%; height: min(86dvh, 100dvh - 70px); border-radius: 24px 24px 0 0; border-bottom: 0; transform: translateY(24px); transform-origin: bottom center; }
  .wc-open .wc-launch { opacity: 0; pointer-events: none; }
  .wc-form textarea, .wc-handoff input, .wc-handoff textarea { font-size: 16px; }   /* no zoom on iPhone */
  .wc-note { padding-bottom: max(12px, env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) { .wc-panel, .wc-launch, .wc-launch svg, .wc-launch-x { transition: none; } .wc-typing i { animation: none; opacity: .6; } }
@media print { .wc-launch, .wc-panel { display: none; } }
.wc-title small i.is-off { background: #C3BFCD; }
.wc-msg b { font-weight: 700; }
.wc-ticket { display: grid; gap: 14px; padding: 16px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 10px 24px -18px rgba(23, 21, 31, .4); }
.wc-ticket-head { display: flex; align-items: center; gap: 12px; }
.wc-ticket-head b { display: block; font-size: 15px; }
.wc-ticket-head small { font-size: 12px; color: var(--ink-3); letter-spacing: .02em; }
.wc-ticket-ic { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 50%; background: #E3F7EC; color: #1E9E5A; }
.wc-ticket-ic svg { width: 20px; height: 20px; }
.wc-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.wc-steps li { position: relative; display: flex; gap: 12px; padding: 0 0 14px; }
.wc-steps li:last-child { padding-bottom: 0; }
.wc-steps li::before { content: ""; position: absolute; left: 6px; top: 16px; bottom: 0; width: 2px; background: var(--line); }
.wc-steps li:last-child::before { display: none; }
.wc-steps li.is-done::before { background: #2FBF71; }
.wc-steps i { position: relative; z-index: 1; width: 14px; height: 14px; flex: none; margin-top: 2px; border-radius: 50%; border: 2px solid var(--line); background: var(--surface); }
.wc-steps .is-done i { border-color: #2FBF71; background: #2FBF71; }
.wc-steps .is-now i { border-color: var(--accent); background: var(--accent); box-shadow: 0 0 0 4px rgba(110, 107, 247, .18); }
@media (prefers-reduced-motion: no-preference) { .wc-steps .is-now i { animation: wc-pulse 1.8s ease-in-out infinite; } }
@keyframes wc-pulse { 50% { box-shadow: 0 0 0 7px rgba(110, 107, 247, .06); } }
.wc-steps span { display: grid; gap: 1px; }
.wc-steps b { font-size: 13.5px; }
.wc-steps small { font-size: 12px; color: var(--ink-3); }
.wc-steps li:not(.is-done):not(.is-now) b { color: var(--ink-2); }

/* ===================== Halloween week (home page only, Oct 27 – Nov 1; preview with ?halloween) ===================== */
html:not(.halloween) .hw-only, html:not(.halloween) .hw-bats { display: none !important; }
html.halloween .hw-hide { display: none !important; }
html.halloween {
  --bg: #0F0B15; --surface: #1B1524; --ink: #F6F1FA; --ink-2: #D3CADF; --ink-3: #A99DBA; --line: #2F2639;
  --lilac: #241B31; --sky: #1E1A31; --blush: #2B1826;
  --accent: #FF8A2A; --accent-deep: #FFA552;
  --grad: linear-gradient(100deg, #FF9A2E 0%, #FF5E62 48%, #B66BEA 100%);
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 40px 80px -40px rgba(0, 0, 0, .8);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3), 0 14px 30px -16px rgba(0, 0, 0, .7);
  color-scheme: dark;
}
html.halloween body { background: radial-gradient(120% 60% at 70% 0%, #2A1430 0%, #120D19 45%, #0F0B15 100%) fixed, #0F0B15; color: var(--ink); }
html.halloween .announce { background: linear-gradient(90deg, #3A1A0E, #3A1630 55%, #24163A); color: #FFE9D6; }
html.halloween .announce a { background: #FF8A2A; color: #1A0F08; }
html.halloween .site-header, html.halloween .site-header.is-scrolled { background: rgba(15, 11, 21, .92); }
html.halloween .site-header.is-scrolled { border-bottom-color: var(--line); }
html.halloween .nav-links a, html.halloween .nav-toggle { color: var(--ink); }
html.halloween .btn-dark { background: var(--grad); color: #160C10; }
html.halloween .btn-light, html.halloween .pill { background: var(--surface); color: var(--ink); border-color: var(--line); }
html.halloween .aurora i:nth-child(1) { background: #FF7A1A; }
html.halloween .aurora i:nth-child(2) { background: #7B2FBE; }
html.halloween .aurora i:nth-child(3) { background: #FF4D6D; opacity: .32; }
html.halloween .hw-emoji { font-size: 20px; line-height: 1; }
html.halloween .hero { position: relative; }
html.halloween .hw-bats { display: block; position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; color: #1A1222; }
.hw-bats .bat { position: absolute; width: 54px; filter: drop-shadow(0 0 10px rgba(255, 138, 42, .35)); }
.hw-bats .b1 { top: 12%; left: 46%; width: 60px; }
.hw-bats .b2 { top: 30%; left: 56%; width: 38px; opacity: .85; }
.hw-bats .b3 { top: 6%; right: 6%; width: 46px; opacity: .9; }
@media (prefers-reduced-motion: no-preference) {
  .hw-bats .bat { animation: hw-fly 6s ease-in-out infinite; }
  .hw-bats .b2 { animation-duration: 7.5s; animation-delay: -2s; }
  .hw-bats .b3 { animation-duration: 9s; animation-delay: -4s; }
}
@keyframes hw-fly { 0%, 100% { transform: translate(0, 0) rotate(-4deg); } 50% { transform: translate(14px, -12px) rotate(5deg); } }
@media (max-width: 900px) { .hw-bats .b1 { left: auto; right: 6%; top: 1.5%; width: 44px; } .hw-bats .b2 { left: auto; right: 24%; top: 4%; width: 30px; } .hw-bats .b3 { display: none; } }
/* Halloween: every light surface on the home page turns into a dark one */
html.halloween { --surface-2: #261E31; }
html.halloween :is(.pill, .btn-light, .nav-toggle, .float-card, .screen, .app-tabs, .strip, .ui-card, .chat-add, .benefit--white, .compare, .s-card, .qa, .cta-card, .v2-countdown, .v2-feat, .mentor, .toast-ic, .pipe-input, .wc-panel, .wc-msg--assistant, .wc-chip, .wc-handoff, .wc-ticket, .wc-form, .wc-note) { background: var(--surface) !important; }
html.halloween :is(.app-card, .app-card-tag, .mini, .closet-item, .outfit-box, .tag, .seg .is-on, .seg button.is-on, .planner-pick em, .thumb, .day-icon, .day-chip, .v2-thumb, .eng-thumb, [data-add].is-filled, .gen-label, .bubble--look .outfit-box, .wc-form textarea, .wc-handoff input, .wc-handoff textarea, .wc-list) { background: var(--surface-2) !important; }
html.halloween .nav-links a:hover { background: var(--surface); }
html.halloween .panel--lilac { background: linear-gradient(155deg, #251B36 0%, #1C1529 100%); }
html.halloween .panel--blush { background: linear-gradient(155deg, #2E1828 0%, #21131E 100%); }
html.halloween .v2-card { background: linear-gradient(150deg, #241A35 0%, #2B1727 55%, #35190F 100%); }
html.halloween .wc-head { background: linear-gradient(180deg, #221A2E, var(--surface)); }
html.halloween .ei--sun { background: #3A2A12; } html.halloween .ei--moon { background: #2C2140; } html.halloween .ei--rain { background: #15303A; }
html.halloween .fc-icon--ok, html.halloween .badge-ok { background: #173326; }
html.halloween .day--pink .day-art { background: radial-gradient(closest-side, #FF8A2A, transparent); }
html.halloween .aurora i { opacity: .26; }
html.halloween .wc-msg--user { background: var(--grad); color: #1A0F08; }
html.halloween .wc-msg--user a { color: #1A0F08; }
/* Halloween: dark pills (ink background, white text) become orange with dark text */
html.halloween :is(.app-btn, .step-num, .chip.is-on, .mini-btn, .week .is-on, .pipe-input i, .toast--ready, .pill--new, .wc-handoff-btn, .skip-link) { background: #FF8A2A !important; color: #1A0F08 !important; }
html.halloween :is(.qa[open] .qa-icon, .qa.is-open .qa-icon) { background: #FF8A2A; }
/* Halloween: soft glows drawn as gradients (no filter), so they stay soft everywhere */
html.halloween .aurora i { filter: none; opacity: .5; }
html.halloween .aurora i:nth-child(1) { background: radial-gradient(closest-side, rgba(255, 122, 26, .55), transparent); }
html.halloween .aurora i:nth-child(2) { background: radial-gradient(closest-side, rgba(123, 47, 190, .6), transparent); }
html.halloween .aurora i:nth-child(3) { background: radial-gradient(closest-side, rgba(255, 77, 109, .45), transparent); }
html.halloween .hw-bats { color: #5B4870; }
html.halloween .mentor img, html.halloween .status--mentor .status-logo img { filter: invert(1) brightness(1.6); }
html.halloween .benefit--accent { background: linear-gradient(155deg, #4B2384 0%, #2E1652 100%); }
/* Halloween contrast fixes (from an automatic text-vs-background check) */
html.halloween .mini-toast { background: #FF8A2A; color: #1A0F08; }
html.halloween .toast--ready small, html.halloween .toast--ready .muted { color: rgba(26, 15, 8, .72) !important; }
html.halloween .bubble--out { color: #1A0F08; }
html.halloween .day--accent { background: linear-gradient(155deg, #D9480F 0%, #9A3412 100%); }
html.halloween .week .is-on b, html.halloween .week .is-on { color: #1A0F08 !important; }
html.halloween .badge-ok { color: #5BE39A !important; }
html.halloween .chat-input span { color: rgba(255, 255, 255, .62) !important; }
html.halloween .fc-icon--ok { color: #5BE39A; }
/* Halloween: clothing photos are shot on white, so their tiles stay light */
html.halloween :is(.closet-item, .thumb, .outfit-box, .eng-thumb, .v2-thumb, .bubble--look .outfit-box) { background: #EEEBF4 !important; }
/* Halloween: second visual pass */
html.halloween .benefit--accent { --accent-deep: #6B35B8; }
html.halloween .day--pink { background: linear-gradient(155deg, #7B2FBE 0%, #46197A 100%); color: #fff; }
html.halloween .day--pink .day-art { background: radial-gradient(closest-side, #FF8A2A, transparent); }
html.halloween .statement-xl .w { color: #4A4058; }
html.halloween .statement-xl .w.is-lit { color: var(--ink); }
html.halloween .statement-xl .w.hl.is-lit { color: #FFA552; }
html.halloween .download-card { background: linear-gradient(180deg, #1C1426 0%, #120D19 100%); box-shadow: inset 0 0 0 1px var(--line); }

/* ===================== Chat launcher v2: the Wearly mark, an online dot and a label ===================== */
.wc-launch { width: auto; height: 60px; padding: 7px 22px 7px 7px; gap: 12px; display: flex; align-items: center; border-radius: 999px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 18px 40px -16px rgba(23, 21, 31, .45), 0 2px 6px rgba(23, 21, 31, .08); }
.wc-launch:hover { box-shadow: 0 22px 46px -16px rgba(110, 107, 247, .55), 0 2px 6px rgba(23, 21, 31, .08); }
.wc-launch-av { position: relative; width: 46px; height: 46px; flex: none; border-radius: 50%; background: var(--grad); }
.wc-launch-av::after { content: ""; position: absolute; inset: 0; background: url("/assets/img/logo-white-320.png") center / 70% auto no-repeat; transition: opacity .2s, transform .25s var(--ease); }
.wc-launch-av i { position: absolute; right: 0; bottom: 1px; width: 13px; height: 13px; border-radius: 50%; background: #2FBF71; border: 2.5px solid var(--surface); z-index: 1; }
.wc-launch-label { font: 800 15px/1 var(--font); letter-spacing: -.01em; white-space: nowrap; }
.wc-launch-x { position: absolute; left: 7px; top: 7px; width: 46px; height: 46px; display: grid; place-items: center; color: #fff; opacity: 0; transform: rotate(-60deg) scale(.6); }
.wc-launch .wc-launch-x svg { width: 22px; height: 22px; }
.wc-open .wc-launch-av::after { opacity: 0; transform: scale(.6); }
.wc-open .wc-launch-av i { opacity: 0; }
.wc-open .wc-launch-x { opacity: 1; transform: none; }
.wc-open .wc-launch { padding-right: 7px; }
.wc-open .wc-launch-label { display: none; }
.wc-panel { bottom: 96px; }
@media (max-width: 700px) {
  .wc-launch { height: 58px; padding: 6px; }
  .wc-launch-label { display: none; }
  .wc-launch-av { width: 46px; height: 46px; }
  .wc-launch-x { left: 6px; top: 6px; }
}

/* The invitation bubble */
.wc-teaser { position: fixed; z-index: 70; right: 22px; bottom: 96px; width: 270px; padding: 0; border-radius: 18px 18px 6px 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 24px 50px -20px rgba(23, 21, 31, .45); opacity: 0; transform: translateY(10px) scale(.97); transform-origin: bottom right; transition: opacity .3s var(--ease), transform .35s var(--ease); }
.wc-teaser.is-on { opacity: 1; transform: none; }
.wc-teaser-body { display: grid; gap: 4px; width: 100%; padding: 15px 40px 15px 16px; border: 0; background: none; text-align: left; color: var(--ink); font: 400 13.5px/1.45 var(--font); cursor: pointer; }
.wc-teaser-body b { font-size: 14.5px; }
.wc-teaser-body span { color: var(--ink-2); }
.wc-teaser-x { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--ink-3); cursor: pointer; }
.wc-teaser-x:hover { background: var(--bg); }
.wc-teaser-x svg { width: 16px; height: 16px; }
@media (prefers-reduced-motion: reduce) { .wc-teaser { transition: none; } }

/* Inside the contact page */
.wc-panel.wc-inline { position: relative; inset: auto; right: auto; bottom: auto; width: 100%; height: 600px; max-height: none; opacity: 1; visibility: visible; transform: none; z-index: auto; border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.contact-chat-head { margin: 0 0 14px; }
.contact-chat-head h2 { margin: 0 0 6px; font-size: clamp(24px, 3vw, 30px); letter-spacing: -.02em; }
.contact-chat-head p { margin: 0; color: var(--ink-2); }
.contact-mail { margin-top: clamp(36px, 5vw, 56px); }
.contact-mail .form-card { max-width: 760px; margin-inline: auto; }
@media (max-width: 700px) { .wc-panel.wc-inline { height: 560px; border-radius: var(--r-md); } }

html.halloween .wc-launch, html.halloween .wc-teaser { background: var(--surface); }
html.halloween .wc-launch-av i { border-color: var(--surface); }
.wc-form[hidden] { display: none; }


/* ===================== Round 7: phone first ===================== */
/* Lights without live blur: soft radial gradients look the same and cost nothing to scroll. */
@media (max-width: 900px), (hover: none) {
  .aurora i, .panel-glow, .benefit-glow, .v2-card::before, .day-art { filter: none !important; }
  .aurora i:nth-child(1) { background: radial-gradient(closest-side, var(--blue), transparent); }
  .aurora i:nth-child(2) { background: radial-gradient(closest-side, var(--violet), transparent); }
  .aurora i:nth-child(3) { background: radial-gradient(closest-side, var(--pink), transparent); }
  .panel--lilac .panel-glow { background: radial-gradient(closest-side, var(--pink), transparent); }
  .panel--night .panel-glow { background: radial-gradient(closest-side, var(--accent), transparent); }
  .panel--night .panel-glow + .panel-glow { background: radial-gradient(closest-side, var(--pink), transparent); }
  .panel--blush .panel-glow { background: radial-gradient(closest-side, var(--blue), transparent); }
  .benefit--night .benefit-glow { background: radial-gradient(closest-side, var(--violet), transparent); }
  .benefit--accent .benefit-glow { background: radial-gradient(closest-side, var(--pink), transparent); }
  .v2-card::before { background: radial-gradient(closest-side, var(--pink), transparent); opacity: .3; }
  html.halloween .aurora i:nth-child(1) { background: radial-gradient(closest-side, rgba(255, 122, 26, .55), transparent); }
  html.halloween .aurora i:nth-child(2) { background: radial-gradient(closest-side, rgba(123, 47, 190, .6), transparent); }
  html.halloween .aurora i:nth-child(3) { background: radial-gradient(closest-side, rgba(255, 77, 109, .45), transparent); }
  /* Blend modes force the phone to repaint every photo while scrolling. */
  .closet-item .photo, .mentor img, .status--mentor .status-logo img { mix-blend-mode: normal; }
  [data-outfit].is-generating .photo { filter: none; }
  .orb::before { filter: none; background: radial-gradient(closest-side, #AF6ADF, #6E6BF7 55%, transparent 72%); }
}
/* Endless animations stop while their section is off screen (set by site.js). */
.is-offscreen, .is-offscreen * { animation-play-state: paused !important; }

@media (max-width: 700px) {
  /* Demo widgets inside the benefit cards fill the card evenly */
  .benefit { align-items: stretch; }
  .benefit-ui, .decide, .pipeline, .toasts, .pipeline > li, .toast { width: 100%; max-width: none; }
  .benefit-ui { margin-top: 22px; }
  /* The stylist chat demo: no tall empty space under the messages */
  .chat-body { height: var(--chat-h, 380px); }
  /* Section rhythm: even, a little tighter */
  .section { padding-block: 64px; }
  /* Hero phone: smaller, cards placed beside it instead of on its status bar */
  .hero-visual { padding-block: 26px 8px; }
  .hero-visual .phone { width: min(278px, 74vw); }
  .float-card { max-width: 62%; padding: 8px 12px 8px 8px; font-size: 12.5px; gap: 9px; }
  .float-card small { font-size: 11.5px; }
  .hero .hero-visual { padding-top: 58px; }
  .fc-1 { top: 0; left: 0; }
  .fc-2 { display: flex; top: auto; bottom: 16%; right: 0; }
  .biz-phone .phone { width: min(270px, 72vw); }
  .bp-1 { top: 15%; left: 0; }
  .bp-2 { top: 44%; right: 0; }
  .bp-3 { bottom: 9%; left: 0; }
  /* Contact page chat: fits the screen without a big empty area */
  .wc-panel.wc-inline { height: min(520px, 72dvh); }
  /* Investors: the four facts as an even 2 x 2 */
  .status-grid--2 .status b { font-size: 17px; line-height: 1.25; }
}

/* Chat on phones: a sheet that slides up, with the page dimmed behind it */
.wc-backdrop { display: none; }
.wc-grab { display: none; }
@media (max-width: 700px) {
  .wc-launch { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); height: 54px; padding: 5px; box-shadow: 0 12px 28px -12px rgba(23, 21, 31, .45), 0 2px 6px rgba(23, 21, 31, .1); }
  .wc-launch-av { width: 44px; height: 44px; }
  .wc-launch-x { left: 5px; top: 5px; width: 44px; height: 44px; }
  .wc-backdrop { display: block; position: fixed; inset: 0; z-index: 68; background: rgba(23, 21, 31, .38); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility 0s .3s; -webkit-tap-highlight-color: transparent; }
  .wc-open .wc-backdrop { opacity: 1; visibility: visible; transition: opacity .3s var(--ease), visibility 0s; }
  .wc-panel { left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom)); width: auto; height: min(640px, 80dvh); border: 1px solid var(--line); border-radius: 26px; opacity: 1; transform: translateY(calc(100% + 24px)); transition: transform .42s cubic-bezier(.2, .9, .25, 1), visibility 0s .42s; box-shadow: 0 -10px 50px -12px rgba(23, 21, 31, .35); }
  .wc-panel.is-open { transform: none; transition: transform .42s cubic-bezier(.2, .9, .25, 1), visibility 0s; }
  .wc-panel.wc-inline { left: auto; right: auto; bottom: auto; transform: none; transition: none; box-shadow: var(--shadow-sm); }
  .wc-head { position: relative; padding-top: 20px; touch-action: none; }
  .wc-grab { display: block; position: absolute; left: 50%; top: 7px; width: 38px; height: 5px; margin-left: -19px; border-radius: 3px; background: var(--line); }
  .wc-open .wc-launch { opacity: 0; pointer-events: none; transform: scale(.8); }
  html.wc-lock, html.wc-lock body { overflow: hidden; overscroll-behavior: none; }
  .wc-teaser { right: 14px; left: auto; bottom: calc(80px + env(safe-area-inset-bottom)); width: min(270px, calc(100vw - 28px)); }
  .wc-form textarea { font-size: 16px; }   /* 16px stops iPhones from zooming into the field */
  #wc-email, #wc-note { font-size: 16px; }
}
@media (max-width: 700px) and (prefers-reduced-motion: reduce) { .wc-panel, .wc-panel.is-open, .wc-backdrop { transition: none; } }

/* No chat button over the open menu; the status line stays on one line on phones */
body.menu-open .wc-launch, body.menu-open .wc-teaser { opacity: 0; pointer-events: none; }
@media (max-width: 700px) { .wc-title small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } }
@media (max-width: 700px) { .wc-teaser { display: none; } }

/* ===================== v4: Ask Wearly in the site's own world ===================== */
@property --wc-a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.wc-launch { height: 58px; padding: 6px 22px 6px 6px; gap: 12px; border: 0; background: var(--ink); color: #fff; isolation: isolate;
  box-shadow: 0 20px 44px -18px rgba(76, 79, 224, .75), 0 2px 8px rgba(14, 13, 18, .25); transition: transform .5s var(--expo), box-shadow .4s; }
.wc-launch::before { content: ""; position: absolute; inset: -2px; z-index: -1; border-radius: inherit; padding: 2px; background: conic-gradient(from var(--wc-a), #5A6FFC, #AF6ADF, #FF66C4, #5A6FFC);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); animation: wcSpin 4s linear infinite; }
@keyframes wcSpin { to { --wc-a: 360deg; } }
.wc-launch:hover { transform: translateY(-2px); box-shadow: 0 26px 54px -18px rgba(175, 106, 223, .8), 0 2px 8px rgba(14, 13, 18, .25); }
.wc-launch-av { width: 46px; height: 46px; background: conic-gradient(from var(--wc-a), #5A6FFC, #AF6ADF, #FF66C4, #5A6FFC); animation: wcSpin 6s linear infinite; }
.wc-launch-av i { border-color: var(--ink); }
.wc-launch-label { font: 600 15px/1 var(--sans); letter-spacing: -.015em; color: #fff; }
.wc-teaser { border: 0; border-radius: 22px 22px 8px 22px; box-shadow: 0 30px 60px -24px rgba(60, 30, 140, .45), inset 0 0 0 1px rgba(14, 13, 18, .06); }
.wc-teaser-body { font-family: var(--sans); }
.wc-panel { border: 0; border-radius: 30px; box-shadow: 0 40px 90px -30px rgba(40, 20, 120, .5), inset 0 0 0 1px rgba(14, 13, 18, .06); font-family: var(--sans); }
.wc-head { border-bottom: 0; padding: 18px 18px 16px 20px; background: radial-gradient(120% 140% at 0% 0%, #DCD3FF, transparent 55%), radial-gradient(120% 140% at 100% 0%, #FFD3EA, transparent 55%), #F7F6FB; }
.wc-title b { font-weight: 650; letter-spacing: -.02em; }
.wc-list { background: var(--canvas); }
.wc-msg { font-family: var(--sans); border-radius: 20px; }
.wc-msg--assistant { border: 0; background: #fff; box-shadow: 0 1px 2px rgba(14, 13, 18, .05); }
.wc-chip { border: 0; background: #fff; box-shadow: inset 0 0 0 1px var(--hair); font-family: var(--sans); transition: box-shadow .3s, color .3s; }
.wc-chip:hover { box-shadow: inset 0 0 0 1.5px var(--violet); color: var(--ink); }
.wc-form { border-top: 0; padding: 12px 12px 8px 14px; }
.wc-form textarea { border: 0; border-radius: 999px; padding: 11px 16px; background: var(--canvas); font-family: var(--sans); }
.wc-send { border-radius: 50%; background: var(--ink); }
@media (prefers-reduced-motion: reduce) { .wc-launch::before, .wc-launch-av { animation: none; } }

/* ===================== v6: Ask Wearly, quiet glass pill with a living orb ===================== */
.wc-launch { height: 52px; padding: 6px 20px 6px 6px; gap: 11px; background: rgba(255, 255, 255, .78); color: var(--ink);
  -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6);
  box-shadow: 0 12px 34px -14px rgba(40, 20, 120, .45), inset 0 0 0 1px rgba(255, 255, 255, .7), 0 0 0 1px rgba(14, 13, 18, .06); }
.wc-launch::before { display: none; }
.wc-launch:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -14px rgba(110, 107, 247, .55), inset 0 0 0 1px rgba(255, 255, 255, .8), 0 0 0 1px rgba(14, 13, 18, .06); }
.wc-launch-av { width: 40px; height: 40px; background: radial-gradient(circle at 30% 30%, #FFB3E0, transparent 55%), radial-gradient(circle at 75% 70%, #6E7BFF, transparent 60%), conic-gradient(from var(--wc-a), #5A6FFC, #AF6ADF, #FF66C4, #5A6FFC);
  box-shadow: 0 0 18px -2px rgba(175, 106, 223, .7); animation: wcSpin 7s linear infinite; }
.wc-launch-av::after { inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M11 3.5l1.9 5.1 5.1 1.9-5.1 1.9L11 17.5l-1.9-5.1L4 10.5l5.1-1.9z'/%3E%3Cpath d='M18.5 15.5l.7 1.8 1.8.7-1.8.7-.7 1.8-.7-1.8-1.8-.7 1.8-.7z'/%3E%3C/svg%3E") center / 20px no-repeat; }
.wc-launch-av i { display: none; }
.wc-launch-label { color: var(--ink); font: 600 14.5px/1 var(--sans); }
.wc-launch-x { left: 6px; top: 6px; width: 40px; height: 40px; }
body.is-night .wc-launch { background: rgba(28, 27, 36, .72); box-shadow: 0 12px 34px -14px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(255, 255, 255, .12); }
body.is-night .wc-launch-label { color: #fff; }
.wc-open .wc-launch { padding-right: 6px; }
@media (max-width: 700px) { .wc-launch { height: 52px; padding: 6px; } }
/* the orb turns on the compositor: rotate the element, counter-rotate its sparkle */
.wc-launch-av { animation: wcTurn 7s linear infinite; background: radial-gradient(circle at 30% 30%, #FFB3E0, transparent 55%), radial-gradient(circle at 75% 70%, #6E7BFF, transparent 60%), conic-gradient(#5A6FFC, #AF6ADF, #FF66C4, #5A6FFC); }
.wc-launch-av::after { animation: wcTurn 7s linear infinite reverse; }
@keyframes wcTurn { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .wc-launch-av, .wc-launch-av::after { animation: none; } }
.wc-launch { transition: transform .5s var(--expo), opacity .3s, box-shadow .4s; }
.wc-launch.wc-tuck { transform: translateY(90px); opacity: 0; pointer-events: none; }
/* perf: one animation for the orb, the sparkle stays put */
.wc-launch-av { animation: none; overflow: hidden; background: none; }
.wc-launch-av::before { content: ""; position: absolute; inset: -25%; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #FFB3E0, transparent 50%), radial-gradient(circle at 75% 70%, #6E7BFF, transparent 55%), conic-gradient(#5A6FFC, #AF6ADF, #FF66C4, #5A6FFC); animation: wcTurn 7s linear infinite; }
.wc-launch-av::after { animation: none; z-index: 1; }
@media (prefers-reduced-motion: reduce) { .wc-launch-av::before { animation: none; } }
