/* ============================================================
   Datasurf — brand tokens + auth pages
   ============================================================ */
:root {
  --blu:        #204587;
  --blu-deep:   #16294F;
  --blu-mid:    #1B3768;
  --blu-hover:  #2A56A6;
  --arancio:    #F47531;
  --arancio-hi: #FF8A4C;
  --foam:       #C9D8F2;
  --paper:      #F7F9FD;
  --text:       #17233B;
  --muted:      #5C6C87;
  --line:       #D9E1EE;
  --ok:         #4CD9A5;
  --ko:         #E4576B;
  --info-bg:    #EEF4FF;
  --info-line:  #B7CDF4;
  --info-txt:   #204587;

  --radius-sm:  8px;
  --radius-md:  10px;
  --radius-lg:  16px;
  --radius-xl:  22px;

  /* Font stack di Bootstrap 4/5 — nessun webfont, usa quello nativo del sistema.
     Unica variabile applicata a tutto: body, titoli, logo, ecc. */
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif,
               "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  --font-display: var(--font-body);   /* alias, mantenuto per compatibilità */

  --shadow-sm: 0 1px 2px rgba(23, 35, 59, .06);
  --shadow-md: 0 6px 20px rgba(23, 35, 59, .08);
  --shadow-lg: 0 18px 50px rgba(23, 35, 59, .18);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
[hidden] { display: none !important; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; }
button { font: inherit; }

/* ============================================================
   Layout auth (login / reset / 2FA)
   Mobile: form full width, promo sotto (in ordine dopo il form)
   Desktop >= 980px: split 460px | flex
   ============================================================ */
.auth-page { display: flex; flex-direction: column; min-height: 100vh; }

.login-side {
  display: flex; flex-direction: column;
  padding: 32px 22px 24px;
  background: var(--paper);
  order: 1;
}

.brand {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 6px;
}
.brand-logo { height: 34px; width: auto; display: block; user-select: none; }
.brand-name {
  font-family: var(--font-display); font-weight: 600;
  font-size: 20px; letter-spacing: -.02em; color: var(--blu);
}

.form-wrap {
  flex: 1; display: flex; flex-direction: column; justify-content: center;
  max-width: 380px; width: 100%; margin: 24px auto 0;
}
.form-wrap h1 {
  font-family: var(--font-display); font-size: 26px; font-weight: 600;
  letter-spacing: -.02em; margin-bottom: 6px;
}
.form-wrap .sub {
  color: var(--muted); font-size: 14.5px; margin-bottom: 22px; line-height: 1.5;
}

/* browser-compat info box */
.compat {
  display: flex; gap: 10px; align-items: flex-start;
  background: var(--info-bg); border: 1px solid var(--info-line);
  color: var(--info-txt); border-radius: var(--radius-sm);
  padding: 10px 12px; font-size: 12px; line-height: 1.5;
  margin-bottom: 18px;
}
.compat .ic { font-size: 15px; line-height: 1; }
.compat strong { display: block; margin-bottom: 2px; }
.compat img { width: 14px; vertical-align: middle; margin: 0 3px; }

/* form field */
.field { margin-bottom: 14px; }
.field label {
  display: block; font-size: 13px; font-weight: 600;
  margin-bottom: 6px; color: var(--text);
}
.field .control { position: relative; }
.field input,
.field select {
  width: 100%; padding: 12px 14px;
  font-size: 15px; font-family: var(--font-body); color: var(--text);
  border: 1.5px solid var(--line); border-radius: var(--radius-md);
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
  -webkit-appearance: none; appearance: none;
}
.field input::placeholder { color: #9AA7BE; }
.field input:focus, .field select:focus {
  outline: none; border-color: var(--blu);
  box-shadow: 0 0 0 3px rgba(32, 69, 135, .16);
}
.field input.upper { text-transform: uppercase; letter-spacing: .04em; }

.toggle-pass {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  background: none; border: none; cursor: pointer; color: var(--muted);
  font-size: 12.5px; font-weight: 600; padding: 6px 8px; border-radius: 6px;
}
.toggle-pass:hover { color: var(--blu); }
.toggle-pass:focus-visible { outline: 2px solid var(--blu); outline-offset: 1px; }

.row-between {
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px; margin: 2px 0 20px;
}
.remember {
  display: flex; align-items: center; gap: 8px;
  font-size: 13.5px; color: var(--muted); cursor: pointer;
}
.remember input { accent-color: var(--blu); width: 16px; height: 16px; }
.forgot {
  font-size: 13.5px; color: var(--blu); text-decoration: none; font-weight: 500;
}
.forgot:hover { text-decoration: underline; color: var(--arancio); }

.btn-primary {
  width: 100%; padding: 13px 18px; font-size: 15px; font-weight: 600;
  font-family: var(--font-body);
  color: #fff; background: var(--blu); border: none;
  border-radius: var(--radius-md); cursor: pointer;
  transition: background .15s, transform .1s, opacity .15s;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-primary:hover { background: var(--blu-hover); }
.btn-primary:active { transform: scale(.99); }
.btn-primary:focus-visible {
  outline: 3px solid rgba(244, 117, 49, .55); outline-offset: 2px;
}
.btn-primary[disabled], .btn-primary.disabled {
  opacity: .5; cursor: not-allowed;
}

.spinner {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2.5px solid rgba(255, 255, 255, .35);
  border-top-color: #fff;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* alerts */
.alert {
  display: flex; align-items: flex-start; gap: 8px;
  padding: 12px 14px; border-radius: var(--radius-md);
  font-size: 13.5px; line-height: 1.45; margin-top: 14px;
  border: 1px solid transparent;
}
.alert::before {
  content: ''; flex: 0 0 6px; height: 6px; margin-top: 8px;
  border-radius: 50%; background: currentColor;
}
.alert-ok { background: rgba(76, 217, 165, .12); border-color: rgba(76, 217, 165, .35); color: #167d5d; }
.alert-ko { background: rgba(228, 87, 107, .10);  border-color: rgba(228, 87, 107, .35); color: #a02334; }

.divider {
  display: flex; align-items: center; gap: 12px;
  color: var(--muted); font-size: 12px;
  margin: 22px 0 14px;
}
.divider::before, .divider::after {
  content: ''; flex: 1; height: 1px; background: var(--line);
}

.lang-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 18px; font-size: 13.5px;
}
.lang-row .lang { display: flex; gap: 12px; }
.lang-row a {
  color: var(--muted); text-decoration: none; cursor: pointer;
  padding: 4px 8px; border-radius: 6px;
}
.lang-row a:hover { color: var(--blu); background: rgba(32, 69, 135, .07); }
.lang-row a.current { color: var(--blu); font-weight: 600; }

.login-foot {
  font-size: 12px; color: var(--muted); text-align: center; line-height: 1.6;
  margin-top: 24px;
}
.login-foot a { color: var(--muted); text-decoration: none; }
.login-foot a:hover { text-decoration: underline; }

/* 2FA codice: 6 caselle */
.otp {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 8px; margin: 12px 0 8px;
}
.otp input {
  aspect-ratio: 1 / 1;
  text-align: center;
  font-family: var(--font-display); font-weight: 600;
  font-size: 24px; padding: 0;
}
@media (max-width: 380px) {
  .otp { gap: 6px; }
  .otp input { font-size: 20px; }
}

/* ============================================================
   Promo side
   ============================================================ */
.promo-side {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--blu-deep) 0%, var(--blu-mid) 55%, var(--blu) 100%);
  color: #fff; display: flex; flex-direction: column;
  padding: 32px 22px 26px; min-width: 0;
  order: 2;
  min-height: 520px;
}

.waves { position: absolute; inset: 0; pointer-events: none; opacity: .5; }
.waves svg { position: absolute; bottom: -8%; left: -10%; width: 120%; height: 70%; }
.wave { fill: none; stroke-width: 1.5; stroke-linecap: round; }
.w1 { stroke: rgba(201, 216, 242, .30); animation: drift 16s linear infinite; }
.w2 { stroke: rgba(201, 216, 242, .16); animation: drift 24s linear infinite reverse; }
.w3 { stroke: rgba(244, 117, 49, .14);  animation: drift 32s linear infinite; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-220px); } }

.glow {
  position: absolute; width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 117, 49, .13) 0%, transparent 62%);
  top: -180px; right: -140px; pointer-events: none;
}

.promo-inner {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; height: 100%;
  max-width: 660px; margin: 0 auto; width: 100%;
}

.badge {
  display: inline-flex; align-items: center; gap: 7px; align-self: flex-start;
  font-size: 11.5px; font-weight: 700; letter-spacing: .14em; color: #fff;
  background: var(--arancio); padding: 6px 12px; border-radius: 999px;
  font-family: var(--font-display); margin-bottom: 6px;
}
.badge .dot {
  width: 7px; height: 7px; border-radius: 50%; background: #fff;
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

.slides { flex: 1; position: relative; min-height: 300px; }
.slide {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: center;
  opacity: 0; transform: translateY(14px);
  transition: opacity .55s ease, transform .55s ease;
  pointer-events: none;
}
.slide.active { opacity: 1; transform: translateY(0); pointer-events: auto; }

.eyebrow {
  font-family: var(--font-display); font-size: 12px; font-weight: 600;
  letter-spacing: .22em; color: var(--arancio-hi); margin-bottom: 12px;
}
.slide h2 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(24px, 3vw, 40px); line-height: 1.14;
  letter-spacing: -.025em; margin-bottom: 14px;
}
.slide h2 .hl { color: var(--arancio-hi); }
.slide p.lead {
  font-size: 15.5px; line-height: 1.65; color: var(--foam); max-width: 520px;
}
.trust {
  display: flex; gap: 14px; flex-wrap: wrap;
  font-size: 13px; color: var(--foam); margin-top: 18px;
}
.trust span { display: flex; align-items: center; gap: 6px; }
.trust .tick { color: var(--ok); font-weight: 700; }

/* hub */
.hub-wrap { width: 100%; max-width: 580px; }
.hub-title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(20px, 2.2vw, 28px);
  letter-spacing: -.02em; margin-bottom: 8px;
}
.hub-title .hl { color: var(--arancio-hi); }
svg.hub { width: 100%; height: auto; display: block; }
.hub .link-line {
  stroke: rgba(255, 255, 255, .22); stroke-width: 1.5;
  stroke-dasharray: 5 7; animation: dashflow 1.6s linear infinite;
}
@keyframes dashflow { to { stroke-dashoffset: -12; } }
.hub .node-pill { fill: rgba(255, 255, 255, .07); stroke: rgba(255, 255, 255, .32); stroke-width: 1; }
.hub .node-txt  { fill: #fff; font-family: var(--font-display); font-size: 13px; font-weight: 500; }
.hub .center-ring   { fill: none; stroke: rgba(244, 117, 49, .35); stroke-width: 1.2; }
.hub .center-circle { fill: #fff; }
.hub .center-label  { fill: #fff; font-family: var(--font-display); font-size: 14px; font-weight: 600; letter-spacing: .04em; }

/* chat */
.chat {
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 18px; padding: 20px 22px; max-width: 540px;
  backdrop-filter: blur(6px); box-shadow: var(--shadow-lg); margin-top: 6px;
}
.msg { display: flex; gap: 11px; margin-bottom: 14px; }
.msg:last-child { margin-bottom: 0; }
.avatar {
  flex: 0 0 32px; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; font-size: 12px; font-weight: 700;
  font-family: var(--font-display);
}
.avatar.user { background: rgba(255, 255, 255, .16); color: #fff; }
.avatar.ai   { background: #fff; }
.avatar.ai svg { width: 18px; height: 18px; }
.bubble {
  font-size: 14.5px; line-height: 1.55; padding: 11px 15px;
  border-radius: 13px; max-width: 420px; min-height: 20px;
}
.bubble.user { background: rgba(255, 255, 255, .10); color: #fff; }
.bubble.ai   { background: rgba(244, 117, 49, .10); border: 1px solid rgba(244, 117, 49, .35); color: var(--foam); }
.caret {
  display: inline-block; width: 2px; height: 1em;
  background: var(--arancio-hi); vertical-align: -2px;
  animation: blink .8s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.mini-stats { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.stat {
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 9px; padding: 7px 12px; font-size: 12.5px; color: var(--foam);
  opacity: 0; transform: translateY(6px);
  transition: opacity .4s, transform .4s;
}
.stat.show { opacity: 1; transform: translateY(0); }
.stat b {
  display: block; font-family: var(--font-display);
  font-size: 17px; color: var(--arancio-hi);
}

/* ---------- Slide dashboard: mockup cruscotto ---------- */
.db-mock {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 18px;
  padding: 18px 20px;
  max-width: 540px;
  backdrop-filter: blur(6px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .35);
  margin-top: 6px;
}
.db-head {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  margin-bottom: 14px;
}
.db-head .db-title {
  font-family: var(--font-display); font-weight: 600;
  font-size: 14px; color: #fff;
  display: flex; align-items: center; gap: 8px;
}
.db-head .db-title::before {
  content: ''; width: 8px; height: 8px;
  border-radius: 50%; background: var(--ok);
  box-shadow: 0 0 0 3px rgba(76, 217, 165, .28);
  animation: pulse 1.8s ease-in-out infinite;
  flex: 0 0 8px;
}
.db-head .live {
  font-size: 10.5px; letter-spacing: .1em;
  font-weight: 700; font-family: var(--font-display);
  color: var(--ok);
}

.db-kpis {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}
.db-kpi {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 10px;
  padding: 10px 8px;
  text-align: center;
}
.db-kpi b {
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: 20px; letter-spacing: -.02em;
  color: var(--arancio-hi); line-height: 1.15; margin-bottom: 2px;
}
.db-kpi span {
  font-size: 11px; color: var(--foam);
}

.db-chart-wrap { margin-bottom: 14px; }
.db-chart {
  display: flex; align-items: flex-end;
  gap: 5px; height: 46px; padding: 4px 0;
}
.db-bar {
  flex: 1;
  background: linear-gradient(180deg, var(--arancio) 0%, rgba(244, 117, 49, .35) 100%);
  border-radius: 3px 3px 0 0;
  min-height: 4px;
  transform-origin: bottom;
  animation: db-bar-grow .7s cubic-bezier(.2, .8, .3, 1) both;
}
@keyframes db-bar-grow {
  from { transform: scaleY(.05); opacity: 0; }
  to   { transform: scaleY(1);   opacity: 1; }
}

.db-list-title {
  font-size: 11px; letter-spacing: .12em;
  font-family: var(--font-display); font-weight: 700;
  color: var(--foam); margin-bottom: 6px;
  text-transform: uppercase; opacity: .7;
}
.db-item {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 13px; padding: 6px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, .08);
}
.db-item:last-child { border-bottom: none; }
.db-item span { color: var(--foam); }
.db-item b {
  color: #fff; font-weight: 600;
  font-family: var(--font-display); font-size: 13.5px;
}

@media (max-width: 480px) {
  .db-mock { padding: 14px 16px; }
  .db-kpi b { font-size: 17px; }
}

/* ---------- Slide schedule: task pianificate ---------- */
.sched-mock {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 18px;
  padding: 18px 20px;
  max-width: 540px;
  backdrop-filter: blur(6px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .35);
  margin-top: 6px;
}
.sched-head {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  margin-bottom: 4px;
}
.sched-h-title {
  font-family: var(--font-display); font-weight: 600;
  font-size: 14px; color: #fff;
  display: flex; align-items: center; gap: 8px;
}
.sched-h-title::before {
  content: '✱'; color: var(--arancio-hi); font-size: 14px;
  font-weight: 700;
}
.sched-h-live {
  font-size: 10.5px; letter-spacing: .1em;
  font-weight: 700; font-family: var(--font-display);
  color: var(--ok);
  padding: 3px 8px; border-radius: 999px;
  background: rgba(76, 217, 165, .12);
  border: 1px solid rgba(76, 217, 165, .35);
}

.sched-list { display: flex; flex-direction: column; }
.sched-task {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, .08);
}
.sched-task:last-child { border-bottom: none; }

.sched-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(76, 217, 165, .22);
  animation: pulse 1.8s ease-in-out infinite;
  flex: 0 0 8px;
}
.sched-time {
  font-family: var(--font-display); font-weight: 700;
  font-size: 15px; color: var(--arancio-hi);
  letter-spacing: -.01em;
  font-variant-numeric: tabular-nums;
  min-width: 46px;
}
.sched-body { min-width: 0; }
.sched-title {
  font-family: var(--font-display); font-weight: 600;
  font-size: 13.5px; color: #fff;
  line-height: 1.3;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sched-desc {
  font-size: 12px; color: var(--foam);
  margin-top: 2px; line-height: 1.35;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sched-when {
  font-size: 10.5px; letter-spacing: .1em;
  font-family: var(--font-display); font-weight: 600;
  color: var(--foam); text-transform: uppercase;
  padding: 3px 8px; border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  white-space: nowrap;
  flex: 0 0 auto;
}

.sched-foot {
  margin-top: 8px; padding-top: 10px;
  border-top: 1px dashed rgba(255, 255, 255, .08);
  font-family: var(--font-display); font-weight: 600;
  font-size: 12px; letter-spacing: .04em;
  color: var(--arancio-hi);
  text-align: center;
}

@media (max-width: 480px) {
  .sched-mock { padding: 14px 16px; }
  .sched-task { gap: 10px; padding: 10px 0; grid-template-columns: auto auto 1fr; }
  .sched-when { grid-column: 3; justify-self: end; margin-top: 4px; font-size: 10px; }
  .sched-time { font-size: 14px; min-width: 42px; }
  .sched-title { font-size: 13px; }
  .sched-desc { display: none; }
}

/* CTA + dots */
.promo-bottom { position: relative; z-index: 2; margin-top: 20px; }
.cta-row {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-bottom: 18px;
}
.btn-cta {
  font-family: var(--font-display); font-size: 15px; font-weight: 600;
  padding: 12px 22px; border-radius: 11px; border: none; cursor: pointer;
  background: var(--arancio); color: #fff; text-decoration: none;
  display: inline-block;
  transition: transform .12s, box-shadow .2s, background .15s;
  box-shadow: 0 8px 26px rgba(244, 117, 49, .35);
}
.btn-cta:hover {
  background: var(--arancio-hi); transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(244, 117, 49, .45);
}
.btn-cta:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.btn-ghost {
  font-size: 14px; font-weight: 500; color: var(--foam); text-decoration: none;
  border-bottom: 1px solid rgba(201, 216, 242, .4); padding-bottom: 2px;
}
.btn-ghost:hover { color: #fff; border-color: var(--arancio-hi); }

.dots { display: flex; align-items: center; gap: 10px; }
.dot-btn {
  width: 34px; height: 4px; border-radius: 99px; border: none; cursor: pointer;
  background: rgba(255, 255, 255, .22); transition: background .2s;
  padding: 0; position: relative; overflow: hidden;
}
.dot-btn.active { background: rgba(255, 255, 255, .35); }
.dot-btn.active::after {
  content: ""; position: absolute; inset: 0; background: var(--arancio);
  transform-origin: left; animation: fill var(--dur, 7s) linear forwards;
}
.dot-btn:focus-visible { outline: 2px solid var(--arancio); outline-offset: 3px; }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ============================================================
   Toast
   ============================================================ */
.ds-toast-root {
  position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; gap: 8px; z-index: 9999;
  pointer-events: none;
}
.ds-toast {
  min-width: 240px; max-width: 92vw;
  padding: 12px 16px; border-radius: 12px; font-size: 14px;
  color: #fff; background: var(--text); box-shadow: var(--shadow-lg);
  opacity: 0; transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease;
  pointer-events: auto;
}
.ds-toast.show { opacity: 1; transform: translateY(0); }
.ds-toast--ok { background: #157e5b; }
.ds-toast--ko { background: #a02334; }

/* ============================================================
   Responsive
   ============================================================ */
@media (min-width: 980px) {
  .auth-page { flex-direction: row; }
  .login-side {
    flex: 0 0 460px;
    padding: 44px 56px 32px;
    order: 1;
  }
  .promo-side {
    flex: 1;
    padding: 40px 56px 32px;
    order: 2;
    min-height: 100vh;
  }
  .form-wrap { max-width: 340px; margin: 0 auto; }
  .form-wrap h1 { font-size: 28px; }
}

@media (max-width: 480px) {
  .login-side { padding: 26px 18px 18px; }
  .promo-side { padding: 28px 18px 24px; min-height: 460px; }
  .chat { padding: 16px; }
  .bubble { max-width: 100%; }
  .cta-row { gap: 12px; }
  .btn-cta { width: 100%; text-align: center; padding: 14px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .w1, .w2, .w3, .badge .dot { animation: none; }
  .slide { transition: opacity .3s; }
  .dot-btn.active::after { animation: none; transform: scaleX(1); }
  .hub .link-line { animation: none; }
  .hub .pulse { display: none; }
}
