/* WeTokens opening screen, rebuilt as HTML/CSS from the approved Figma home frame. */
.demo-window { position: relative; }
.wt-intro {
  position: absolute;
  inset: 0;
  z-index: 30;
  overflow: hidden;
  color: #25222f;
  background: #f7f6fb;
  opacity: 1;
  transform: translateY(0);
  transition: opacity .3s ease, transform .3s ease;
}
.wt-intro[hidden] { display: none !important; }
.wt-intro.is-leaving { opacity: 0; transform: translateY(-7px); pointer-events: none; }
.wt-app-shell { display: grid; grid-template-columns: 178px minmax(0,1fr); height: 100%; background: linear-gradient(135deg,#faf9fe 0%,#f5f3fa 100%); }
.wt-app-sidebar { display: flex; flex-direction: column; min-width: 0; padding: 21px 13px 15px; background: rgba(239,237,245,.94); border-right: 1px solid #e7e4ed; }
.wt-brand-block { padding: 0 7px 24px; }
.wt-brand-line { display: flex; align-items: center; min-width: 0; gap: 8px; }
.wt-brand-line > img { width: 27px; height: 27px; border-radius: 8px; object-fit: cover; box-shadow: 0 4px 12px rgba(93,73,181,.2); }
.wt-brand-line strong { font-size: 16px; letter-spacing: -.35px; }
.wt-brand-line > span { margin-left: auto; color: #9b97a5; font-size: 8px; }
.wt-brand-block p { margin: 9px 0 0; color: #85808f; font-size: 8px; white-space: nowrap; }
.wt-nav { display: grid; gap: 5px; }
.wt-nav > span { position: relative; display: flex; align-items: center; gap: 10px; min-height: 37px; padding: 0 10px; border-radius: 9px; color: #686270; font-size: 11px; }
.wt-nav > span img { width: 15px; height: 15px; opacity: .72; }
.wt-nav > span.is-active { color: #5543bb; background: linear-gradient(90deg,rgba(112,89,227,.15),rgba(124,105,231,.07)); font-weight: 600; }
.wt-nav > span.is-active::before { content: ""; position: absolute; left: -13px; width: 3px; height: 22px; border-radius: 0 3px 3px 0; background: linear-gradient(#7e67ec,#5b45c5); }
.wt-account { display: grid; grid-template-columns: 17px 1fr 11px; align-items: center; gap: 9px; margin-top: auto; padding: 11px 9px; border-top: 1px solid #dedbe5; color: #65606c; }
.wt-account > img { width: 15px; height: 15px; opacity: .68; }
.wt-account > img:last-child { width: 9px; }
.wt-account span { display: grid; gap: 3px; min-width: 0; }
.wt-account strong { font-size: 10px; font-weight: 600; }
.wt-account small { color: #9b96a2; font-size: 7px; white-space: nowrap; }
.wt-app-main { position: relative; min-width: 0; padding: 35px 24px 22px; overflow: hidden; }
.wt-window-actions { position: absolute; top: 8px; right: 13px; display: flex; color: #aaa6b1; font: 11px/1 system-ui,sans-serif; }
.wt-window-actions span { display: grid; width: 23px; height: 17px; place-items: center; }
.wt-app-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 21px; }
.wt-app-header p { margin: 0 0 4px; color: #9a95a3; font-size: 8px; letter-spacing: .03em; }
.wt-app-header h3 { margin: 0; font-size: 22px; line-height: 1.2; letter-spacing: -.6px; }
.wt-header-pills { display: flex; align-items: center; gap: 7px; }
.wt-header-pills > span { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border: 1px solid #e6e2eb; border-radius: 8px; background: rgba(255,255,255,.72); color: #77717f; box-shadow: 0 2px 8px rgba(60,43,93,.025); font-size: 8px; white-space: nowrap; }
.wt-header-pills img { width: 12px; height: 12px; opacity: .65; }
.wt-header-pills i { width: 5px; height: 5px; border-radius: 50%; background: #57b67b; box-shadow: 0 0 0 3px rgba(87,182,123,.12); }
.wt-header-pills strong { color: #40394b; font-size: 9px; }
.wt-tools { min-width: 0; }
.wt-tools-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.wt-tools-heading > div { display: flex; align-items: baseline; gap: 10px; }
.wt-tools-heading strong { font-size: 12px; }
.wt-tools-heading span { color: #9893a1; font-size: 8px; }
.wt-tools-track { display: flex; gap: 10px; min-width: 0; padding: 1px 1px 8px; overflow: hidden; }
.wt-tool-card { position: relative; flex: 0 0 171px; min-width: 0; height: 180px; padding: 15px 14px 12px; overflow: hidden; border: 1px solid #e9e5ed; border-radius: 13px; background: rgba(255,255,255,.88); box-shadow: 0 10px 30px rgba(64,45,104,.045); }
.wt-tool-card::after { content: ""; position: absolute; inset: auto -24px -33px auto; width: 75px; height: 75px; border-radius: 50%; background: rgba(119,93,224,.05); }
.wt-tool-card.is-ready { border-color: #e4dff0; }
.wt-tool-title { display: grid; grid-template-columns: 34px minmax(0,1fr); grid-template-rows: 18px 13px; column-gap: 9px; align-items: center; }
.wt-tool-title > strong { min-width: 0; overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.wt-tool-title > i { color: #9a95a2; font-size: 7px; font-style: normal; }
.wt-tool-card.is-ready .wt-tool-title > i { color: #54a474; }
.wt-tool-icon { grid-row: 1/3; display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid #ece9f0; border-radius: 10px; background: #fff; box-shadow: 0 4px 12px rgba(49,34,84,.05); }
.wt-tool-icon img { width: 19px; height: 19px; object-fit: contain; }
.wt-tool-icon.wt-claude { background: #f4ebe3; }
.wt-tool-icon.wt-opencode { background: #25242a; }
.wt-tool-icon.wt-opencode img { filter: invert(1); }
.wt-tool-card dl { display: grid; gap: 8px; margin: 18px 0 0; }
.wt-tool-card dl > div { display: grid; gap: 3px; }
.wt-tool-card dt { color: #aaa5af; font-size: 7px; }
.wt-tool-card dd { display: flex; align-items: center; gap: 5px; min-width: 0; margin: 0; overflow: hidden; color: #625c69; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.wt-tool-card dd img { width: 11px; height: 11px; object-fit: contain; }
.wt-card-action { position: absolute; z-index: 1; right: 11px; bottom: 10px; display: inline-flex; align-items: center; gap: 4px; height: 23px; padding: 0 9px; border-radius: 7px; color: #fff; background: #312b3b; font-size: 8px; }
.wt-card-action img { width: 10px; height: 10px; filter: invert(1); }
.wt-card-action.is-install { color: #6251c7; background: #f0edff; }
.wt-card-action.is-install img { filter: none; opacity: .7; }
.wt-welcome { position: relative; display: grid; grid-template-columns: minmax(180px,.8fr) minmax(300px,1.2fr); align-items: center; min-height: 310px; margin-top: 14px; overflow: hidden; border: 1px solid #e8e4ed; border-radius: 15px; background: rgba(255,255,255,.78); box-shadow: 0 14px 38px rgba(62,43,100,.045); }
.wt-welcome::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 26% 50%,rgba(121,99,226,.12),transparent 31%),linear-gradient(105deg,rgba(247,244,255,.86),rgba(255,255,255,.35)); }
.wt-welcome-visual { position: relative; display: grid; width: 175px; height: 175px; place-items: center; margin: auto; }
.wt-welcome-visual > span { position: absolute; inset: 14%; border: 1px solid rgba(115,92,218,.16); border-radius: 33px; transform: rotate(30deg); }
.wt-welcome-visual > span:nth-child(2) { inset: 2%; border-color: rgba(115,92,218,.1); transform: rotate(58deg); }
.wt-welcome-visual > span:nth-child(3) { inset: 25%; background: rgba(120,96,222,.06); border: 0; transform: rotate(12deg); }
.wt-welcome-visual img { position: relative; width: 58px; height: 58px; border-radius: 17px; object-fit: cover; box-shadow: 0 14px 28px rgba(82,60,175,.22); }
.wt-welcome-copy { position: relative; max-width: 430px; padding: 34px 35px 34px 10px; }
.wt-welcome-copy h4 { margin: 0; max-width: 390px; font-size: 20px; line-height: 1.55; letter-spacing: -.45px; }
.wt-welcome-copy p { margin: 12px 0 19px; color: #9993a0; font-size: 9px; }
.wt-login-button { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 17px; border-radius: 9px; color: #fff; background: linear-gradient(135deg,#705bd7,#4f3ab6); box-shadow: 0 8px 18px rgba(87,67,185,.22); font-size: 10px; font-weight: 600; }
.wt-login-button img { width: 12px; height: 12px; filter: invert(1); }
.wt-intro.is-showing .wt-tool-card { animation: wtCardIn .42s both; }
.wt-intro.is-showing .wt-tool-card:nth-child(2) { animation-delay: .05s; }
.wt-intro.is-showing .wt-tool-card:nth-child(3) { animation-delay: .1s; }
.wt-intro.is-showing .wt-tool-card:nth-child(4) { animation-delay: .15s; }
.wt-intro.is-showing .wt-tool-card:nth-child(5) { animation-delay: .2s; }
.wt-intro.is-showing .wt-welcome-copy { animation: wtCopyIn .48s .16s both; }
@keyframes wtCardIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes wtCopyIn { from { opacity: 0; transform: translateX(8px); } to { opacity: 1; transform: translateX(0); } }
@media (min-width: 1180px) {
  .wt-tool-card { flex: 1 1 0; }
}
@media (min-width: 761px) and (max-width: 1050px) {
  .wt-app-shell { grid-template-columns: 154px minmax(0,1fr); }
  .wt-app-main { padding-inline: 18px; }
  .wt-brand-block p { font-size: 7px; letter-spacing: -.15px; }
  .wt-tool-card { flex-basis: 158px; }
  .wt-header-pills > span:nth-child(2) { display: none; }
  .wt-welcome { grid-template-columns: minmax(150px,.65fr) minmax(290px,1.35fr); }
}
@media (max-width:760px) {
  .wt-app-shell { display: flex; flex-direction: column; }
  .wt-app-sidebar { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; flex: 0 0 63px; padding: 10px 13px; border-right: 0; border-bottom: 1px solid #e6e3eb; }
  .wt-brand-block { padding: 0; }
  .wt-brand-line > img { width: 25px; height: 25px; }
  .wt-brand-line strong { font-size: 14px; }
  .wt-brand-line > span,.wt-brand-block p,.wt-account { display: none; }
  .wt-nav { display: flex; gap: 3px; }
  .wt-nav > span { width: 31px; min-height: 31px; padding: 0; justify-content: center; font-size: 0; }
  .wt-nav > span img { width: 14px; height: 14px; }
  .wt-nav > span.is-active::before { display: none; }
  .wt-app-main { flex: 1; padding: 20px 13px 14px; overflow: hidden; }
  .wt-window-actions { display: none; }
  .wt-app-header { display: block; margin-bottom: 15px; }
  .wt-app-header p { display: none; }
  .wt-app-header h3 { font-size: 19px; }
  .wt-header-pills { gap: 5px; margin-top: 10px; overflow: hidden; }
  .wt-header-pills > span { flex: 0 0 auto; height: 25px; padding-inline: 8px; }
  .wt-header-pills > span:nth-child(3) { display: none; }
  .wt-tools-heading > div span { display: none; }
  .wt-tools-track { margin-right: -13px; padding-right: 13px; overflow-x: auto; scrollbar-width: none; }
  .wt-tools-track::-webkit-scrollbar { display: none; }
  .wt-tool-card { flex-basis: 159px; height: 168px; padding: 13px 12px 10px; }
  .wt-tool-card dl { margin-top: 13px; }
  .wt-welcome { grid-template-columns: 88px minmax(0,1fr); min-height: 190px; margin-top: 8px; }
  .wt-welcome-visual { width: 88px; height: 120px; }
  .wt-welcome-visual img { width: 42px; height: 42px; border-radius: 13px; }
  .wt-welcome-copy { padding: 21px 16px 21px 2px; }
  .wt-welcome-copy h4 { font-size: 13px; line-height: 1.55; }
  .wt-welcome-copy p { margin: 8px 0 13px; font-size: 8px; }
  .wt-login-button { height: 29px; padding-inline: 12px; font-size: 9px; }
}
@media (max-width:420px) {
  .wt-app-main { padding-top: 15px; }
  .wt-header-pills > span:nth-child(2) { display: none; }
  .wt-tool-card { flex-basis: 151px; }
  .wt-welcome { grid-template-columns: 72px minmax(0,1fr); min-height: 176px; }
  .wt-welcome-visual { width: 72px; }
  .wt-welcome-copy h4 { font-size: 12px; }
}
@media (prefers-reduced-motion:reduce) {
  .wt-intro { transition: none; }
  .wt-intro.is-showing .wt-tool-card,.wt-intro.is-showing .wt-welcome-copy { animation: none; }
}
