/* "How it works": light product page. One app window held in place while scroll moves it through the steps. */
:root {
  --bg: #f4f1ea; --paper: #fff; --line: #e5e0d4; --line-2: #eeeae1;
  --ink: #0f1630; --ink-soft: #4d5677; --muted: #6b7290;
  --gold: #f5c76b; --gold-d: #e7ad3c; --gold-soft: #fdf3dc;
  --green: #1a8f4c; --wa: #25d366; --warn: #b4610a; --warn-soft: #fff1df;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --text: "Inter", system-ui, -apple-system, sans-serif;
  --r: 14px;
  --shadow: 0 1px 2px rgba(15, 22, 48, 0.06), 0 12px 32px -12px rgba(15, 22, 48, 0.18);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.5 var(--text); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button { font: inherit; color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.i { width: 1em; height: 1em; flex: none; }
.muted { color: var(--muted); }
.small { font-size: 0.8em; }

/* ------------------------------------------------------------ stage -- */
.tour { position: relative; height: calc((var(--total) + 1) * 100svh); }
.stage {
  position: sticky; top: 0; height: 100svh; overflow: hidden;
  display: grid; grid-template-columns: minmax(300px, 380px) 1fr; gap: 40px;
  padding: 28px clamp(20px, 3vw, 44px);
}

/* guide: the help panel that is also the navigation */
.guide { display: flex; flex-direction: column; min-height: 0; padding-top: 4px; }
.guide__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: clamp(18px, 4svh, 40px); }
.guide__brand { color: var(--ink); display: block; line-height: 0; }
.lang-switch { display: flex; padding: 3px; border: 1px solid var(--line); border-radius: 99px; background: var(--paper); }
.lang-switch a { padding: 4px 10px; border-radius: 99px; font: 600 0.78rem/1 var(--text); text-decoration: none; color: var(--muted); }
.lang-switch a[aria-current] { background: var(--ink); color: #fff; }
.guide h1 { margin: 0; font: 700 clamp(1.9rem, 1.2rem + 1.6vw, 2.6rem)/1.02 var(--display); letter-spacing: -0.035em; }
.guide__lede { margin: 10px 0 clamp(14px, 3svh, 28px); color: var(--ink-soft); font-size: 1rem; }
.guide__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; min-height: 0; overflow: auto; scrollbar-width: none; }
.guide__steps li { border-radius: 12px; transition: background 0.25s; }
.guide__steps button {
  width: 100%; display: flex; align-items: center; gap: 12px; padding: 9px 10px; border: 0; background: none;
  text-align: left; cursor: pointer; border-radius: 12px; font-weight: 500; color: var(--ink-soft);
}
.guide__steps button:hover { color: var(--ink); }
.guide__steps button:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }
.guide__steps b {
  width: 26px; height: 26px; flex: none; display: grid; place-items: center; border-radius: 50%;
  border: 1.5px solid var(--line); background: var(--paper); font: 650 0.78rem/1 var(--display); color: var(--muted);
}
.guide__steps li.done b { background: var(--ink); border-color: var(--ink); color: var(--gold); }
.guide__steps li p { display: none; margin: 0; padding: 0 12px 12px 48px; color: var(--ink-soft); font-size: 0.93rem; line-height: 1.5; }
.guide__steps li[aria-current] { background: var(--paper); box-shadow: var(--shadow); }
.guide__steps li[aria-current] button { color: var(--ink); font-weight: 650; font-size: 1.05rem; padding-top: 12px; }
.guide__steps li[aria-current] b { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.guide__steps li[aria-current] p { display: block; animation: fadeUp 0.35s ease both; }
.guide__try {
  margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 99px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 600; font-size: 0.92rem;
}
.guide__try .i { color: var(--gold); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(4px); } }

/* ---------------------------------------------------------- window -- */
.surface { position: relative; min-height: 0; display: flex; align-items: center; }
.win {
  width: 100%; height: min(100%, 760px); display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  box-shadow: 0 2px 4px rgba(15, 22, 48, 0.05), 0 30px 70px -30px rgba(15, 22, 48, 0.35);
}
.win__bar { display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; background: #f7f5f0; border-bottom: 1px solid var(--line); flex: none; }
.win__bar > i { width: 11px; height: 11px; border-radius: 50%; background: #e2ddd2; }
.win__url {
  margin-left: 14px; flex: 1; max-width: 420px; padding: 5px 12px; border-radius: 8px; background: var(--paper); border: 1px solid var(--line);
  font-size: 0.78rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.win__route { font-weight: 500; color: var(--ink); }
.win__ex { margin-left: auto; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.win__body { position: relative; flex: 1; min-height: 0; container-type: inline-size; font-size: 14px; }

.scr { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 0.4s ease, visibility 0s 0.4s; }
.scr.is-on { opacity: 1; visibility: visible; transition: opacity 0.4s ease; }

/* timed pieces */
[data-at], [data-show] { opacity: 0; transform: translateY(6px); transition: opacity 0.3s, transform 0.3s; }
[data-at].on, [data-show].on { opacity: 1; transform: none; }
[data-show]:not(.on) { position: absolute; pointer-events: none; }
[data-type] { display: none; }
[data-type].on { display: block; }
.tw[data-type] { display: inline; }
.tw .caret { display: inline-block; width: 1.5px; height: 1.05em; margin-left: 1px; vertical-align: -0.15em; background: var(--ink); opacity: 0; }
.tw.typing .caret { opacity: 1; animation: blink 0.9s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
[data-hide].off { display: none; }
.pressed { transform: scale(0.96); filter: brightness(0.92); }

/* onboarding screens (no sidebar, like the real setup) */
.scr--onb { overflow: auto; background: #f7f5f0; display: flex; flex-direction: column; align-items: center; padding: 0 20px 24px; }
.onb__band { align-self: stretch; margin: 0 -20px 22px; height: 54px; display: flex; align-items: center; padding: 0 22px; background: var(--ink); color: #fff; flex: none; }
.onb__band svg { width: 120px; height: 24px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 1px 2px rgba(15, 22, 48, 0.04); }
.card h3, .ph h3 { margin: 0; font: 700 1.35em/1.15 var(--display); letter-spacing: -0.02em; }
.card > .muted, .sub > .muted { margin: 4px 0 16px; }
.card--auth { width: min(100%, 380px); padding: 26px; display: grid; gap: 10px; position: relative; }
.card--auth .muted { margin: 0 0 6px; }
.btn-g { display: flex; align-items: center; justify-content: center; gap: 10px; height: 42px; border: 1px solid var(--line); border-radius: 10px; font-weight: 600; transition: transform 0.15s, filter 0.15s; }
.btn-g .g { width: 18px; height: 18px; }
.or { margin: 2px 0; display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 0.85em; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.f { display: grid; gap: 5px; font-size: 0.86em; font-weight: 500; color: var(--ink-soft); }
.f__in { display: block; min-height: 38px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 9px; background: var(--paper); color: var(--ink); font-size: 1.08em; font-weight: 400; }
.f__in--ghost { background: #fbfaf7; }
.btn-p { display: inline-flex; justify-content: center; align-items: center; height: 40px; padding: 0 18px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 600; transition: transform 0.15s, filter 0.15s; }
.btn-p--muted { opacity: 0.35; }
.btn-p--gold { background: var(--gold); color: var(--ink); }
.toast {
  position: absolute; left: 50%; bottom: -18px; translate: -50% 0; width: max-content; max-width: 92%;
  display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 500; box-shadow: var(--shadow);
}
.toast .i { color: var(--wa); width: 18px; height: 18px; }

.prog { list-style: none; display: flex; gap: 6px; margin: 0 0 16px; padding: 0; width: min(100%, 620px); }
.prog li { flex: 1; padding-top: 8px; border-top: 3px solid var(--line); font-size: 0.78em; font-weight: 600; color: var(--muted); opacity: 1; transform: none; }
.prog li.on { border-color: var(--ink); color: var(--ink); }
.card--setup { width: min(100%, 620px); padding: 24px; position: relative; display: grid; gap: 14px; }
.card--setup > .btn-p { justify-self: end; }
.sub { display: grid; align-content: start; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hours { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; }
.hours li { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border: 1px solid var(--line-2); border-radius: 9px; }
.hours b { width: 44px; }
.pill { padding: 3px 9px; border-radius: 7px; background: #f3f1ec; font-variant-numeric: tabular-nums; }
.rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.rows li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 10px; }
.rows li strong { flex: 1; }
.rows .price { font-weight: 600; font-variant-numeric: tabular-nums; }
.av { width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--gold-soft); color: var(--warn); font-weight: 650; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.checks li { display: flex; align-items: center; gap: 9px; }
.checks .i { color: var(--green); width: 17px; height: 17px; }
.connected { margin: 0; display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; background: #e9f8ef; border: 1px solid #c4ebd3; }
.connected strong { display: block; color: var(--green); }
.connected small { color: var(--ink-soft); font-size: 0.92em; }
.wa-dot { width: 36px; height: 36px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: #fff; }
.wa-dot .i { width: 19px; height: 19px; }

/* app screens (with the dark sidebar, like the real dashboard) */
.scr--app { display: grid; grid-template-columns: 196px 1fr; background: #f7f5f0; }
.app__side { background: var(--ink); color: #c9cde0; display: flex; flex-direction: column; gap: 2px; padding: 16px 10px; }
.app__logo { width: 118px; height: 23px; color: #fff; margin: 2px 8px 18px; }
.app__nav { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 9px; font-weight: 500; font-size: 0.95em; }
.app__nav .i { width: 16px; height: 16px; opacity: 0.8; }
.app__nav.is-on { background: rgba(245, 199, 107, 0.14); color: #fff; }
.app__nav.is-on .i { color: var(--gold); opacity: 1; }
.app__count { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--gold); color: var(--ink); font-size: 0.75em; display: grid; place-items: center; }
.app__foot { margin-top: auto; padding: 10px; font-size: 0.85em; display: grid; gap: 2px; }
.app__foot strong { color: #fff; }
.app__foot small { display: flex; align-items: center; gap: 6px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--wa); }
.app__mbar { display: none; }
.app__main { min-width: 0; overflow: hidden; padding: 22px 24px; display: flex; flex-direction: column; gap: 14px; }
.ph p { margin: 3px 0 0; }

.chatbox { flex: 1; min-height: 0; display: flex; flex-direction: column; overflow: hidden; }
.thread { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 16px; overflow: hidden; }
.b { margin: 0; max-width: 78%; padding: 9px 12px; border-radius: 12px; line-height: 1.45; }
.b--in { align-self: flex-end; background: var(--ink); color: #fff; border-bottom-right-radius: 4px; }
.b--ai { align-self: flex-start; background: #f3f1ec; border-bottom-left-radius: 4px; }
.b--staff { align-self: flex-end; background: var(--gold-soft); border: 1px solid #f3dfae; border-bottom-right-radius: 4px; }
.ai-tag { display: flex; align-items: center; gap: 4px; margin-bottom: 3px; font-size: 0.78em; font-weight: 650; color: var(--warn); }
.ai-tag .i { width: 12px; height: 12px; }
.ai-tag--staff { color: var(--ink-soft); }
.dots { align-self: flex-start; display: flex; gap: 4px; margin: 0; padding: 12px 14px; border-radius: 12px; background: #f3f1ec; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: #9aa0b8; animation: bounce 1.1s infinite; }
.dots i:nth-child(2) { animation-delay: 0.15s; } .dots i:nth-child(3) { animation-delay: 0.3s; }
@keyframes bounce { 30% { transform: translateY(-3px); opacity: 0.6; } }
.ready { margin: auto; display: flex; align-items: center; gap: 8px; color: var(--muted); }
.ready .i { color: var(--gold-d); }
.composer { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-top: 1px solid var(--line-2); }
.composer__in, .composer__ph { flex: 1; min-height: 22px; }
.composer__ph { color: var(--muted); }
.composer__ph[data-at] { transform: none; }
.send { width: 36px; height: 36px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; transition: transform 0.15s; }
.send .i { width: 16px; height: 16px; }

/* day agenda */
.day { flex: 1; min-height: 0; display: flex; flex-direction: column; overflow: hidden; }
.day__head { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 16px; border-bottom: 1px solid var(--line-2); }
.day__grid { --hh: clamp(34px, 7.2cqh, 54px); position: relative; flex: 1; margin: 10px 14px 14px 64px; min-height: calc(var(--hh) * 9); }
.day__h { position: absolute; left: -54px; right: 0; top: calc(var(--r) * var(--hh)); font-size: 0.76em; color: var(--muted); border-top: 1px solid var(--line-2); padding-top: 2px; font-variant-numeric: tabular-nums; }
.blk {
  position: absolute; left: 4px; right: 4px; top: calc(var(--s) * var(--hh) + 2px); height: calc(var(--l) * var(--hh) - 4px);
  margin: 0; padding: 5px 10px; border-radius: 8px; background: #eef0f7; border-left: 3px solid #b8bfd8;
  display: flex; flex-wrap: wrap; align-items: center; column-gap: 10px; row-gap: 0; overflow: hidden; font-size: 0.86em; line-height: 1.3;
}
.blk span { color: var(--ink-soft); }
.tag { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 99px; background: var(--gold-soft); color: var(--warn); font: 600 0.78em/1.4 var(--text); font-style: normal; white-space: nowrap; }
.tag .i { width: 11px; height: 11px; }
.tag--warn { background: var(--warn-soft); }
.blk--new { background: var(--gold); border-left-color: var(--gold-d); box-shadow: 0 8px 24px -8px rgba(231, 173, 60, 0.7); z-index: 2; }
.blk--new span { color: var(--ink); }
.blk--new .tag { background: var(--ink); color: var(--gold); }
.blk--new[data-step-at] { opacity: 0; transform: translateY(-30px) scale(0.96); transition: opacity 0.35s, transform 0.5s cubic-bezier(0.2, 1.4, 0.4, 1); }
.blk--new.on { opacity: 1; transform: none; }

/* conversations */
.app__main--split { display: grid; grid-template-columns: minmax(180px, 0.8fr) 1.6fr; grid-template-rows: auto 1fr; }
.app__main--split .ph { grid-column: 1 / -1; }
.convs { list-style: none; margin: 0; padding: 6px; overflow: hidden; }
.convs li { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 10px; }
.convs li.is-on { background: #f3f1ec; }
.convs .grow { flex: 1; min-width: 0; }
.convs strong, .convs small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.convs small { color: var(--muted); }
.conv { display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
.conv__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line-2); }
.conv__head small { display: block; color: var(--warn); }
.btn-s { display: grid; padding: 7px 12px; border-radius: 9px; border: 1px solid var(--ink); font-weight: 600; font-size: 0.88em; white-space: nowrap; }
.btn-s span { grid-area: 1 / 1; transition: opacity 0.2s; }
.btn-s span + span { opacity: 0; }
.btn-s.swapped { background: var(--ink); color: #fff; }
.btn-s.swapped span:first-child { opacity: 0; }
.btn-s.swapped span + span { opacity: 1; }
.note { align-self: center; display: flex; align-items: center; gap: 6px; margin: 2px 0; padding: 5px 10px; border-radius: 99px; background: var(--warn-soft); color: var(--warn); font-size: 0.82em; font-weight: 600; }

/* today */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stat { margin: 0; padding: 14px 16px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); }
.stat strong { display: block; font: 700 2em/1 var(--display); }
.stat span { font-size: 0.85em; color: var(--muted); }
.stat--warn strong { color: var(--warn); }
.alert { margin: 0; padding: 10px 14px; border-radius: 10px; background: var(--warn-soft); color: #7a3f00; }
.rows--today li { border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0; }
.rows--today time { width: 48px; font-weight: 600; font-variant-numeric: tabular-nums; }
.rows--today .grow { flex: 1; }
.rows--today small { display: block; color: var(--muted); }
.rows--today { padding: 0 6px 6px; }

/* narrow window: the dashboard's own mobile layout */
@container (max-width: 620px) {
  .scr--app { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .app__side { display: none; }
  .app__mbar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--ink); color: #fff; }
  .app__mbar span { margin-left: auto; opacity: 0.7; }
  .app__main { padding: 14px; gap: 10px; }
  .app__main--split { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .convs { display: none; }
  .grid2 { grid-template-columns: 1fr; }
  .prog li { min-width: 0; font-size: 0.7em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .stats { grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
  .stat { padding: 10px; }
  .stat strong { font-size: 1.5em; }
  .stat span { font-size: 0.72em; display: block; line-height: 1.25; }
  .blk .tag { font-size: 0.7em; }
  .blk:not(.blk--new) .tag { display: none; }
  .card--setup, .card--auth { padding: 18px; }
  .ph h3 { font-size: 1.2em; }
  .b { max-width: 88%; }
  .rows--today .tag { display: none; }
}

/* ----------------------------------------------------------- phone -- */
.phone {
  width: 300px; aspect-ratio: 9 / 19; padding: 10px; border-radius: 44px; background: #11131c;
  box-shadow: 0 0 0 1.5px #2b2f3d, 0 40px 80px -30px rgba(15, 22, 48, 0.6);
}
.phone__screen { height: 100%; border-radius: 35px; overflow: hidden; background: #efeae2; display: flex; flex-direction: column; font-size: 13.5px; }
.surface > .phone {
  position: absolute; right: -10px; bottom: 50%; translate: 0 50%; height: min(92%, 640px); width: auto;
  opacity: 0; transform: translateX(60px) rotate(2deg); transition: opacity 0.45s, transform 0.55s cubic-bezier(0.2, 0.9, 0.3, 1); pointer-events: none; z-index: 5;
}
.surface > .phone.is-on { opacity: 1; transform: none; }
.ps { display: flex; justify-content: space-between; padding: 12px 26px 6px; background: #f6f5f3; font-weight: 600; font-size: 0.85em; }
.ps__i { width: 22px; height: 11px; border-radius: 3px; border: 1.5px solid var(--ink); }
.wa-head { display: flex; align-items: center; gap: 10px; padding: 6px 14px 10px; background: #f6f5f3; border-bottom: 1px solid #e3ded6; }
.wa-head strong, .wa-head small { display: block; }
.wa-head small { color: var(--green); font-size: 0.85em; }
.wa-av { width: 34px; height: 34px; border-radius: 50%; flex: none; display: grid; place-items: center; background: #e9dccb; color: #6b4b2a; font: 700 1em/1 var(--display); }
.wa-thread { flex: 1; min-height: 0; overflow: auto; display: flex; flex-direction: column; gap: 6px; padding: 12px 10px; scrollbar-width: thin; }
.surface .wa-thread { justify-content: flex-end; overflow: hidden; }
.wa-day { align-self: center; margin: 0 0 4px; padding: 3px 10px; border-radius: 7px; background: #fff; color: #54656f; font-size: 0.8em; }
.m { margin: 0; max-width: 82%; padding: 6px 9px 7px; border-radius: 9px; line-height: 1.4; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08); overflow-wrap: anywhere; }
.m time { float: right; margin: 6px 0 -3px 8px; font-size: 0.72em; color: #667781; }
.m--out { align-self: flex-end; background: #d9fdd3; border-top-right-radius: 3px; }
.m--in { align-self: flex-start; background: #fff; border-top-left-radius: 3px; }
.m--note { align-self: center; max-width: 92%; background: #fff7e3; color: #7a4d00; font-size: 0.88em; text-align: center; box-shadow: none; }
.dots--in { background: #fff; }

/* ------------------------------------------------------------- live -- */
.live { padding: clamp(56px, 10vh, 110px) clamp(20px, 4vw, 48px) 40px; max-width: 1180px; margin: 0 auto; }
.live__head { max-width: 640px; }
.live h2 { margin: 0; font: 700 clamp(2rem, 1.3rem + 2vw, 3rem)/1.02 var(--display); letter-spacing: -0.035em; }
.live__head p { margin: 12px 0 0; font-size: 1.08rem; color: var(--ink-soft); }
.live__grid { margin-top: 32px; display: grid; grid-template-columns: 340px 1fr; gap: 28px; align-items: stretch; }
.phone--live { width: 340px; aspect-ratio: auto; height: 640px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 10px 0; }
.chips[hidden] { display: none; }
.chips button { padding: 7px 11px; border-radius: 99px; border: 1px solid #cfe9d6; background: #fff; color: #0d6b38; font-size: 0.86em; font-weight: 500; cursor: pointer; text-align: left; }
.chips button:hover { background: #effaf2; }
.wa-input { display: flex; gap: 8px; padding: 8px 10px 14px; }
.wa-input input { flex: 1; min-width: 0; height: 42px; padding: 0 14px; border: 0; border-radius: 99px; background: #fff; font: inherit; font-size: 16px; color: var(--ink); }
.wa-input input:focus-visible { outline: 2px solid var(--green); }
.wa-input button { width: 42px; height: 42px; flex: none; border: 0; border-radius: 50%; background: #00a884; color: #fff; display: grid; place-items: center; cursor: pointer; }
.wa-input button .i { width: 18px; height: 18px; }
.live__agenda { display: flex; flex-direction: column; min-height: 640px; transition: box-shadow 0.3s; }
.live__agenda.flash { animation: flash 1.4s ease; }
@keyframes flash { 0% { box-shadow: 0 0 0 0 rgba(245, 199, 107, 0.9); } 100% { box-shadow: 0 0 0 18px rgba(245, 199, 107, 0); } }
.day__grid--live { --hh: 54px; min-height: calc(var(--hh) * 10); }
.live__empty { position: absolute; inset: calc(var(--hh) * 3) 10px auto; margin: 0; text-align: center; color: var(--muted); }
.live__handed { margin: 0 16px 16px; display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 10px; background: var(--warn-soft); color: var(--warn); font-weight: 600; }
.live__handed[hidden] { display: none; }
.live__fine { margin: 16px 0 0; max-width: 760px; font-size: 0.85rem; color: var(--muted); }
.linkish { padding: 0; border: 0; background: none; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; color: var(--ink); }
.close { margin: clamp(64px, 12vh, 120px) auto 0; max-width: 560px; text-align: center; display: grid; justify-items: center; gap: 12px; }
.close h2 { font-size: clamp(2rem, 1.4rem + 2vw, 2.8rem); }
.close p { margin: 0; color: var(--ink-soft); font-size: 1.05rem; }
.btn-cta { margin-top: 8px; display: inline-flex; align-items: center; height: 54px; padding: 0 30px; border-radius: 99px; background: var(--gold); color: var(--ink); text-decoration: none; font: 650 1.08rem/1 var(--text); box-shadow: 0 10px 26px -12px rgba(231, 173, 60, 0.9); transition: transform 0.2s; }
.btn-cta:hover { transform: translateY(-2px); }
.btn-cta:focus-visible, .guide__try:focus-visible, .chips button:focus-visible, .linkish:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.foot { margin-top: 40px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; font-size: 0.85rem; color: var(--muted); }

/* ----------------------------------------------------------- mobile -- */
@media (max-width: 900px) {
  .stage { grid-template-columns: 1fr; grid-template-rows: auto 1fr; gap: 12px; padding: 12px 14px 14px; }
  .guide__top { margin-bottom: 10px; }
  .guide h1 { font-size: 1.35rem; }
  .guide__lede, .guide__try { display: none; }
  .guide__steps { overflow: visible; }
  .guide__steps li:not([aria-current]) { display: none; }
  .guide__steps li[aria-current] { margin-top: 8px; }
  .guide__steps li[aria-current] button { padding: 10px 12px 4px; font-size: 1rem; }
  .guide__steps li p { padding: 0 12px 12px 50px; font-size: 0.88rem; }
  .win { height: 100%; }
  .win__bar { height: 32px; }
  .win__bar > i { width: 8px; height: 8px; }
  .win__url { margin-left: 6px; font-size: 0.7rem; padding: 3px 8px; }
  .win__body { font-size: 13px; }
  .surface > .phone { right: 50%; translate: 50% 50%; height: 100%; transform: translateY(40px); }
  .live__grid { grid-template-columns: 1fr; justify-items: center; }
  .phone--live { width: min(100%, 360px); height: min(78svh, 620px); }
  .live__agenda { width: 100%; min-height: 0; }
  .day__grid--live { --hh: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
